1 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12 for NaNs before doing comparisons on argument.
13 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16 2013-10-10 Will Newton <will.newton@linaro.org>
18 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19 passed to _int_memalign does not overflow.
21 2013-10-10 Torvald Riegel <triegel@redhat.com>
23 * scripts/bench.pl: Add include-sources directive.
24 * benchtests/README: Update documentation.
26 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30 instead of FP_INIT_ROUNDMODE.
31 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
36 copy class of input value.
37 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
38 not handle exceptions.
39 * soft-fp/negsf2.c (__negsf2): Likewise.
40 * soft-fp/negtf2.c (__negtf2): Likewise.
41 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43 2013-10-09 Joseph Myers <joseph@codesourcery.com>
45 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46 semicolon. From Linux kernel.
48 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
50 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
55 * manual/socket.texi: Added statement about buffer
58 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
60 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61 Use .p2align directive instead, throughout.
62 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
63 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
64 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
65 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
68 * sysdeps/x86_64/strchr.S: Likewise.
69 * sysdeps/x86_64/strrchr.S: Likewise.
71 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
75 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
77 * sysdeps/generic/math_private.h (__mpsin1): Remove
80 (__mpsin): New argument __range_reduce.
82 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83 (slow): Use __mpsin and __mpcos.
96 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
97 range_reduce. Merge in __mpsin1.
100 (__mpcos1): Likewise.
102 2013-10-07 Joseph Myers <joseph@codesourcery.com>
104 * locale/loadlocale.c (_nl_intern_locale_data): Use
106 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
107 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
108 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
109 obstack data is appropriately aligned.
110 (obstack_int32_grow_fast): Likewise.
111 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
112 * locale/programs/locfile.c (add_locale_uint32): Likewise.
113 (add_locale_uint32_array): Likewise.
115 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
117 * benchtests/Makefile: Remove ARGLIST and RET variables.
118 ($(objpfx)bench-%.c): Pass only function name to the script.
119 * benchtests/README: Update documentation.
120 * benchtests/acos-inputs: Add new directives.
121 * benchtests/acosh-inputs: Likewise.
122 * benchtests/asin-inputs: Likewise.
123 * benchtests/asinh-inputs: Likewise.
124 * benchtests/atan-inputs: Likewise.
125 * benchtests/atanh-inputs: Likewise.
126 * benchtests/cos-inputs: Likewise.
127 * benchtests/cosh-inputs: Likewise.
128 * benchtests/exp-inputs: Likewise.
129 * benchtests/log-inputs: Likewise.
130 * benchtests/pow-inputs: Likewise.
131 * benchtests/rint-inputs: Likewise.
132 * benchtests/sin-inputs: Likewise.
133 * benchtests/sinh-inputs: Likewise.
134 * benchtests/tan-inputs: Likewise.
135 * benchtests/tanh-inputs: Likewise.
136 * scripts/bench.pl: Add support for new directives.
138 2013-10-07 Alan Modra <amodra@gmail.com>
140 * README: Fix careless merge.
142 2013-10-05 Alan Modra <amodra@gmail.com>
144 * NEWS: Mention powerpc64le support and bugs fixed.
145 * README: Both big-endian and little-endian powerpc64 supported.
147 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
149 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
150 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
151 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
152 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
154 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
156 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
159 2013-10-04 Joseph Myers <joseph@codesourcery.com>
161 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
162 Move -mhard-float appending from
163 ports/sysdeps/powerpc/powerpc32/Makefile.
164 [$(with-fp) = yes] (ASFLAGS): Likewise.
165 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
166 * sysdeps/powerpc/nofpu: Move directory from
167 ports/sysdeps/powerpc/nofpu.
168 * sysdeps/powerpc/soft-fp: Move directory from
169 ports/sysdeps/powerpc/soft-fp.
170 * sysdeps/powerpc/powerpc32/405: Move directory from
171 ports/sysdeps/powerpc/powerpc32/405.
172 * sysdeps/powerpc/powerpc32/440: Move directory from
173 ports/sysdeps/powerpc/powerpc32/440.
174 * sysdeps/powerpc/powerpc32/464: Move directory from
175 ports/sysdeps/powerpc/powerpc32/464.
176 * sysdeps/powerpc/powerpc32/476: Move directory from
177 ports/sysdeps/powerpc/powerpc32/476.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
179 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
181 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
183 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
185 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
187 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
188 * README: Update for powerpc-*-linux-gnu software floating point
191 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
192 case to powerpc/powerpc32*.
193 * sysdeps/unix/sysv/linux/configure: Regenerated.
195 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
196 (_FPU_MASK_OM): Define as 0x04.
197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
205 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
208 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
211 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
214 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
216 * locale/iso-3166.def: Update iso-1366.def and related occurrences
218 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
220 * manual/threads.texi (Default Thread Attributes): Fix typo.
222 2013-10-04 Will Newton <will.newton@linaro.org>
224 * malloc/Makefile: Add tst-memalign.
225 * malloc/tst-memalign.c: New file.
227 * malloc/tst-posix_memalign.c: Add comments.
228 (do_test): Add comments and call free on all potentially
229 allocated pointers. Add space after cast.
231 * malloc/tst-pvalloc.c: Add comments.
232 (do_test): Add comments and call free on all potentially
233 allocated pointers. Remove duplicate check for NULL pointer.
234 Add space after cast.
236 * malloc/tst-valloc.c: Add comments.
237 (do_test): Add comments and call free on all potentially
238 allocated pointers. Remove duplicate check for NULL pointer.
239 Add space after cast.
241 2013-10-04 Alan Modra <amodra@gmail.com>
243 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
244 Use stdint types in rather than __attribute__((mode())).
245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
247 2013-10-04 Alan Modra <amodra@gmail.com>
249 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
250 Correct handling of unaligned relocs for little-endian.
251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
253 2013-10-04 Alan Modra <amodra@gmail.com>
255 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
256 * configure: Regenerate.
257 * nptl/shlib-versions: Powerpc*le starts at 2.18.
258 * shlib-versions: Likewise.
260 2013-10-04 Alan Modra <amodra@gmail.com>
262 * string/tester.c (test_memrchr): Increment reported test cycle.
264 2013-10-04 Alan Modra <amodra@gmail.com>
266 * string/test-memcpy.c (do_one_test): When reporting errors, print
267 string address and don't overrun end of string.
269 2013-10-04 Alan Modra <amodra@gmail.com>
271 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
272 insrdi. Make better use of reg selection to speed exit slightly.
273 Schedule entry path a little better. Remove useless "are we done"
274 checks on entry to main loop. Handle wrapping around zero address.
275 Correct main loop count. Handle single left-over word from main
276 loop inline rather than by using loop_small. Remove extra word
277 case in loop_small caused by wrong loop count. Add little-endian
279 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
280 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
283 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
284 support. Avoid rlwimi.
285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
287 2013-10-04 Alan Modra <amodra@gmail.com>
289 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
291 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
292 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
293 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
294 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
295 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
296 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
298 2013-10-04 Alan Modra <amodra@gmail.com>
300 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
301 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
303 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
304 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
305 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
306 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
307 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
308 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
309 use of regs. Use power7 mtocrf. Tidy function tails.
311 2013-10-04 Alan Modra <amodra@gmail.com>
313 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
314 Formatting. Consistently use rXXX register defines or rN defines.
315 Use early exit labels that avoid restoring unused non-volatile regs.
316 Make cr field use more consistent with rWORDn compares. Rename
317 regs used as shift registers for unaligned loop, using rN defines
318 for short lifetime/multiple use regs.
319 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
320 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
321 addi 1,1,64 to pop stack frame. Simplify return value code.
322 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
324 2013-10-04 Alan Modra <amodra@gmail.com>
326 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
327 support. Correct typos, formatting. Optimize tail. Use insrdi
329 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
330 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
331 little-endian support. Correct typos.
332 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
334 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
335 in loop and entry code to keep "and." results.
336 (strchr): Add little-endian support. Comment. Move cntlzd
338 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
340 2013-10-04 Alan Modra <amodra@gmail.com>
342 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
343 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
344 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
345 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
347 2013-10-04 Alan Modra <amodra@gmail.com>
349 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
350 (rTMP): Define as r11.
351 (strcmp): Add little-endian support. Optimise tail.
352 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
353 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
354 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
355 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
360 2013-10-04 Alan Modra <amodra@gmail.com>
362 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
363 little-endian support. Remove unnecessary "are we done" tests.
364 Handle "s" wrapping around zero and extremely large "size".
365 Correct main loop count. Handle single left-over word from main
366 loop inline rather than by using small_loop. Correct comments.
367 Delete "zero" tail, use "end_max" instead.
368 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
370 2013-10-04 Alan Modra <amodra@gmail.com>
372 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
373 support. Don't branch over align.
374 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
375 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
376 support. Rearrange tmp reg use to suit. Comment.
377 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
379 2013-10-04 Alan Modra <amodra@gmail.com>
381 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
383 2013-10-04 Alan Modra <amodra@gmail.com>
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
386 conditional form of branch and link when obtaining pc.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
389 2013-10-04 Alan Modra <amodra@gmail.com>
391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
396 2013-10-04 Alan Modra <amodra@gmail.com>
398 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
399 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
400 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
401 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
402 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
403 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
404 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
405 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
406 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
407 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
409 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
410 Alistair Popple <alistair@ozlabs.au.ibm.com>
411 Alan Modra <amodra@gmail.com>
414 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
415 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
416 _dl_hwcap access for little-endian.
417 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
418 destroy vmx regs when saving unaligned.
419 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
420 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
421 destroy vmx regs when saving unaligned.
423 2013-10-04 Alan Modra <amodra@gmail.com>
425 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
426 Don't use a union to pack hi/low value.
428 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
430 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
432 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
434 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
435 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
436 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
438 2013-10-04 Alan Modra <amodra@gmail.com>
440 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
441 constants to usual value for .cst8 section, and remove redundant
443 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
444 constant for 0x1p52. Load little-endian words of double from
445 correct stack offsets.
447 2013-10-04 Alan Modra <amodra@gmail.com>
449 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
450 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
451 words of double from correct stack offsets.
452 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
453 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
454 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
455 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
457 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
458 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
459 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
460 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
461 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
462 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
463 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
464 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
465 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
466 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
467 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
468 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
470 2013-10-04 Alan Modra <amodra@gmail.com>
472 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
473 64-bit int/double union.
474 (_FPU_SETCW): Likewise.
475 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
476 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
478 2013-10-04 Alan Modra <amodra@gmail.com>
480 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
481 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
483 2013-10-04 Alan Modra <amodra@gmail.com>
485 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
486 use vector int constants.
487 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
489 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
491 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
492 array with long long.
493 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
494 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
495 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
496 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
497 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
498 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
499 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
500 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
501 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
502 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
503 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
504 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
505 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
507 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
509 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
510 (__signbit): Likewise. Correct for little-endian.
511 (__signbitl): Call __signbit.
512 (lrint): Correct for little-endian.
513 (lrintf): Call lrint.
515 2013-10-04 Alan Modra <amodra@gmail.com>
517 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
518 union 32-bit int array member with 64-bit int array.
519 (t515, tm256): Double rather than long double.
520 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
522 2013-10-04 Alan Modra <amodra@gmail.com>
524 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
526 (IEEE854_LONG_DOUBLE_BIAS): Delete.
527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
528 version of math_ldbl.h.
530 2013-10-04 Alan Modra <amodra@gmail.com>
532 [BZ #15734], [BZ #15735]
533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
534 all uses of ieee875 long double macros and unions. Simplify test
535 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
536 ldbl_extract_mantissa value for ix,iy exponents. Properly
537 normalize after ldbl_extract_mantissa, and don't add hidden bit
538 already handled. Don't treat low word of ieee854 mantissa like
539 low word of IBM long double and mask off bit when testing for
541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
542 all uses of ieee875 long double macros and unions. Simplify tests
543 for 0.0L and inf. Correct double adjustment of k. Delete dead code
544 adjusting ha,hb. Simplify code setting kld. Delete two600 and
545 two1022, instead use their values. Recognise that tests for large
546 "a" and small "b" are mutually exclusive. Rename vars. Comment.
547 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
548 Rewrite all uses of ieee875 long double macros and unions. Simplify
549 test for 0.0L and nan. Correct negation.
550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
551 ieee875 long double macros and unions. Correct output for large
552 magnitude x. Correct absolute value calculation.
554 * math/libm-test.inc: Add tests for errors discovered in IBM long
555 double versions of fmodl, remainderl, erfl and erfcl.
557 2013-10-04 Alan Modra <amodra@gmail.com>
559 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
560 all uses of ieee854 long double macros and unions. Simplify tests
561 for long doubles that are fully specified by the high double.
562 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
564 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
565 Remove dead code too.
566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
567 (__ieee754_ynl): Likewise.
568 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
571 Remove dead code too.
572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
573 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
574 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
575 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
577 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
579 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
580 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
582 Comment on variable precision.
583 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
586 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
588 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
589 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
590 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
592 2013-10-04 Alan Modra <amodra@gmail.com>
594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
596 all uses of ieee854 long double macros and unions.
597 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
598 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
599 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
601 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
602 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
604 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
608 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
610 Simplify sign and nan test too.
611 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
613 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
614 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
616 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
620 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
621 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
622 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
624 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
626 2013-10-04 Alan Modra <amodra@gmail.com>
628 * stdio-common/printf_size.c (__printf_size): Don't use
629 union ieee854_long_double in fpnum union.
630 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
631 signbit macro to retrieve sign from long double.
632 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
633 retrieve sign from long double.
634 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
635 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
636 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
637 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
638 * math/test-misc.c (main): Don't use union ieee854_long_double.
640 2013-10-04 Alan Modra <amodra@gmail.com>
643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
644 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
645 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
646 calculation. Remove unnecessary test for denormal exponent.
647 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
648 Correct handling of denormals. Avoid undefined shift behaviour.
649 Correct normalisation of low mantissa when low double is denormal.
650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
651 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
652 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
653 Correct normalisation of low mantissa. Test for overflow of high
654 mantissa and normalise.
655 (ldbl_nearbyint): Use more readable constant for two52.
656 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
657 (__mpn_construct_long_double): Fix test for overflow of high
658 mantissa and correct normalisation. Avoid undefined shift.
660 2013-10-04 Alan Modra <amodra@gmail.com>
662 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
663 (union ibm_extended_long_double): Define as an array of ieee754_double.
664 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
665 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
666 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
667 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
669 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
671 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
672 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
673 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
674 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
676 2013-10-03 Joseph Myers <joseph@codesourcery.com>
678 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
679 page size instead of calling getpagesize.
681 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
682 (LOCFILE_ALIGN_MASK): Likewise.
683 (LOCFILE_ALIGN_UP): Likewise.
684 (LOCFILE_ALIGNED_P): Likewise.
685 * locale/programs/ld-collate.c (collate_output): Use the new
686 macros instead of __alignof__ (int32_t).
687 * locale/weight.h (findidx): Likewise.
689 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
692 * manual/string.texi: Fix strncat and wcsncat.
694 2013-10-03 Brooks Moses <bmoses@google.com>
697 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
698 * Makerules: ...here, and adjust associated comments.
700 2013-10-02 Will Newton <will.newton@linaro.org>
702 * malloc/Makefile: Add tst-pvalloc.
703 * malloc/tst-pvalloc.c: New file.
705 2013-10-02 Will Newton <will.newton@linaro.org>
707 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
708 improve test coverage.
710 2013-10-02 Will Newton <will.newton@linaro.org>
712 * malloc/Makefile: Add tst-posix_memalign.
713 * malloc/tst-posix_memalign.c: New file.
715 2013-10-01 Eric Blake <eblake@redhat.com>
717 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
718 Use __THROWNL rather than __THROW on static functions.
720 2013-09-30 Petr Machata <pmachata@redhat.com>
722 * elf/elf.h (R_AARCH64_ABS16): New macro.
723 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
724 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
725 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
726 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
727 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
728 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
729 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
730 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
731 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
732 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
733 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
734 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
735 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
736 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
737 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
738 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
739 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
740 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
741 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
742 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
743 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
744 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
745 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
746 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
747 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
748 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
749 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
750 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
751 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
752 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
753 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
754 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
755 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
756 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
757 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
758 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
759 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
760 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
761 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
762 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
763 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
764 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
765 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
766 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
767 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
768 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
769 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
770 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
771 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
772 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
773 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
774 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
775 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
776 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
777 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
778 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
779 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
780 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
781 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
782 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
783 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
784 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
785 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
786 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
787 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
788 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
789 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
790 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
791 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
792 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
793 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
794 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
795 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
796 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
797 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
798 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
799 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
800 (R_AARCH64_TLSDESC_LDR): Likewise.
801 (R_AARCH64_TLSDESC_ADD): Likewise.
802 (R_AARCH64_TLSDESC_CALL): Likewise.
804 2013-09-30 Andreas Schwab <schwab@suse.de>
807 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
808 the nss database lookup.
809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
812 2013-09-28 Mike Frysinger <vapier@gentoo.org>
814 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
816 2013-09-28 P. J. McDermott <pj@pehjota.net>
818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
819 ${Bash-specific parameter/pattern/string} parameter expansion.
820 * sysdeps/unix/make-syscalls.sh: Likewise.
822 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
824 * sysdeps/sh/stackguard-macros.h: New file.
826 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
830 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
831 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
832 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
833 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
835 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
838 Fix thread ID register.
840 2013-09-25 Joseph Myers <joseph@codesourcery.com>
842 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
843 [POSIX || UNIX98]: Require rather than permitting all symbols from
845 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
846 element of struct sched_param.
847 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
848 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
849 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
850 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
853 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
855 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
856 argument calculation.
858 2013-09-24 Joseph Myers <joseph@codesourcery.com>
860 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
862 [POSIX] (pthread_attr_t): Do not require type.
863 [POSIX] (pthread_cond_t): Likewise.
864 [POSIX] (pthread_condattr_t): Likewise.
865 [POSIX] (pthread_key_t): Likewise.
866 [POSIX] (pthread_mutex_t): Likewise.
867 [POSIX] (pthread_mutexattr_t): Likewise.
868 [POSIX] (pthread_once_t): Likewise.
869 [POSIX] (pthread_t): Likewise.
870 [POSIX-based standards] (pthread_atfork): Expect function.
872 2013-09-24 Joseph Myers <joseph@codesourcery.com>
873 Richard Sandiford <richard@codesourcery.com>
875 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
876 (swap_endianness_p): New extern variable.
877 (set_big_endian): New inline function.
878 (maybe_swap_uint32): Likewise.
879 (maybe_swap_uint32_array): Likewise.
880 (maybe_swap_uint32_obstack): Likewise.
881 * locale/programs/locfile.c: Include <stdbool.h>.
882 (swap_endianness_p): New variable.
883 (add_locale_uint32): Call maybe_swap_uint32.
884 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
885 (write_locale_data): Call maybe_swap_uint32_array.
886 * locale/programs/ld-collate.c (obstack_int32_grow): Call
888 (obstack_int32_grow_fast): Likewise.
889 (output_weightwc): Call maybe_swap_uint32_obstack.
890 (collate_output): Likewise.
891 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
892 (OPT_LITTLE_ENDIAN): Likewise.
893 (options): Add --little-endian and --big-endian options.
894 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
895 * locale/programs/locarchive.c: Include "locfile.h".
899 (create_archive): Use the new macros to access fields of
900 structures directly mapped from or written to locale archives.
901 (oldlocrecentcmp): Likewise.
902 (enlarge_archive): Likewise.
903 (insert_name): Likewise.
904 (add_alias): Likewise.
905 (add_locale): Likewise.
906 (delete_locales_from_archive): Likewise.
907 (show_archive_content): Likewise.
908 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
911 2013-09-24 Roland McGrath <roland@hack.frob.com>
913 * manual/freemanuals.texi: Updated from (newly) canonical copy at
914 http://www.gnu.org/doc/freemanuals.texi.
915 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
917 2013-09-24 Will Newton <will.newton@linaro.org>
919 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
922 2013-09-23 Joseph Myers <joseph@codesourcery.com>
924 * locale/hashval.h (compute_hashval): Interpret bytes of key as
927 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
929 * manual/threads.texi (POSIX Threads): Fix a typo.
931 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
934 * string/tst-strcoll-overflow.c: New test case.
935 * string/Makefile (xtests): Add tst-strcoll-overflow.
936 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
937 cache if string sizes may cause integer overflow.
940 * string/strcoll_l.c (coll_seq): New members rule, idx,
941 save_idx and back_us.
942 (get_next_seq_nocache): New function.
943 (do_compare_nocache): New function.
944 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
947 2013-09-23 Carlos O'Donell <carlos@redhat.com>
950 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
951 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
952 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
955 * elf/Makefile (tests): Add tst-ptrguard1.
956 (tests-static): Add tst-ptrguard1-static.
957 (tst-ptrguard1-ARGS): Define.
958 (tst-ptrguard1-static-ARGS): Define.
959 * elf/tst-ptrguard1.c: New file.
960 * elf/tst-ptrguard1-static.c: New file.
961 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
962 * sysdeps/i386/stackguard-macros.h: Likewise.
963 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
964 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
965 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
966 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
967 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
968 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
970 2013-09-23 Hector Marco <hecmargi@upv.es>
971 Ismael Ripoll <iripoll@disca.upv.es>
972 Carlos O'Donell <carlos@redhat.com>
975 * sysdeps/generic/stackguard-macros.h: Define
976 __pointer_chk_guard_local and POINTER_CHK_GUARD.
977 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
978 Define __pointer_chk_guard_local.
979 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
980 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
982 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
985 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
987 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
989 * include/string.h (__ffs): Declare as hidden.
990 * string/ffs.c (__ffs): Define as hidden.
991 * sysdeps/i386/ffs.c (__ffs): Likewise.
992 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
993 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
994 * sysdeps/s390/ffs.c (__ffs): Likewise.
995 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
997 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
999 * NEWS: Mention malloc probes.
1001 * malloc/arena.c (new_heap): New memory_heap_new probe.
1002 (grow_heap): New memory_heap_more probe.
1003 (shrink_heap): New memory_heap_less probe.
1004 (heap_trim): New memory_heap_free probe.
1005 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1006 (systrim): New memory_sbrk_less probe.
1007 * manual/probes.texi: Document them.
1009 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1010 * manual/probes.texi: Document it.
1012 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1013 (__libc_realloc): Add memory_realloc_retry probe.
1014 (__libc_memalign): Add memory_memalign_retry probe.
1015 (__libc_valloc): Add memory_valloc_retry probe.
1016 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1017 (__libc_calloc): Add memory_calloc_retry probe.
1018 * manual/probes.texi: Document them.
1020 * malloc/arena.c (get_free_list): Add probe
1021 memory_arena_reuse_free_list.
1022 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1023 and memory_arena_reuse.
1024 (arena_get2) [!PER_THREAD]: Likewise.
1025 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1026 memory_arena_reuse_realloc.
1027 * manual/probes.texi: Document them.
1029 * malloc/malloc.c (__libc_free): Add
1030 memory_mallopt_free_dyn_thresholds probe.
1031 (__libc_mallopt): Add multiple memory_mallopt probes.
1032 * manual/probes.texi: Document them.
1034 * malloc/malloc.c: Include stap-probe.h.
1035 (__libc_mallopt): Add memory_mallopt probe.
1036 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1037 * manual/probes.texi: New.
1038 * manual/Makefile (chapters): Add probes.
1039 * manual/threads.texi: Set next node.
1041 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1044 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1045 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1046 Add `Chinese' to `nan' entry name.
1048 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1050 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1051 (POLYNOMIAL): Likewise.
1052 (TAYLOR_SINCOS): Likewise.
1053 (TAYLOR_SLOW): Likewise.
1054 (__sin): Use TAYLOR_SINCOS.
1056 (slow): Use TAYLOR_SLOW.
1061 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1063 * stdlib/strtod_l.c: Fix buffer overrun.
1065 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1067 * benchtests/Makefile (bench): Add sincos.
1068 * benchtests/bench-sincos.c: New file.
1070 * math/libm-test.inc (cos_test_data): New test inputs.
1071 (sin_test_data): Likewise.
1073 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1081 (bsloww1): Likewise.
1082 (bsloww2): Likewise.
1084 (csloww1): Likewise.
1085 (csloww2): Likewise.
1087 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1092 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1096 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1098 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1099 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1100 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1101 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1102 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1103 * elf/cache.c (print_entry): Handle the new cache flags.
1105 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1106 Aldy Hernandez <aldyh@redhat.com>
1108 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1109 Change condition to [_SOFT_FLOAT].
1110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1122 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1125 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1128 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1130 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1131 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1132 (__longjmp): Use LOAD_GP to load saved GPRs.
1133 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1134 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1135 (__sigsetjmp): Use SAVE_GP to save GPRs.
1137 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1138 Do not append -msoft-float.
1139 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1141 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1143 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1145 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1149 (_FPU_GETCW): Use initial "__" on variable and field names but not
1150 on macro parameter name.
1151 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1152 parentheses around reference to macro parameter.
1154 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1156 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1158 (ctype_startup): Use uint32_t in cast and sizeof for
1161 2013-09-11 Jia Liu <proljc@gmail.com>
1163 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1165 [__FreeBSD__]: Likewise.
1167 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1170 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1171 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1172 (strchr): Remove __strchr_sse42 ifunc selection.
1173 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1174 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1176 2013-09-11 Will Newton <will.newton@linaro.org>
1178 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1179 parameter to RES. Remove hardcoded 1000 value.
1180 * benchtests/bench-skeleton.c (main): Pass RES parameter
1181 to TIMING_INIT and multiply result by 1000.
1183 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1187 2013-09-11 Andreas Schwab <schwab@suse.de>
1189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1191 (O_TMPFILE) [__USE_GNU]: Define.
1192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1195 2013-09-11 Will Newton <will.newton@linaro.org>
1198 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1201 2013-09-11 Will Newton <will.newton@linaro.org>
1204 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1207 2013-09-11 Will Newton <will.newton@linaro.org>
1210 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1213 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1215 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1216 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1218 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1221 2013-09-10 Allan McRae <allan@archlinux.org>
1224 * manual/arith.texi (Parsing of Floats): Clarify
1228 * manual/install.texi (Running make install): Mention
1230 * INSTALL: Regenerated.
1232 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1234 * csu/init-first.c (_init): Remove the !SHARED condition around
1235 FPU control word initialization.
1236 * elf/dl-support.c (_dl_fpu_control): New variable.
1237 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1238 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1239 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1240 * math/test-fpucw-static.c: New file.
1241 * math/test-fpucw-ieee.c: New file.
1242 * math/test-fpucw-ieee-static.c: New file.
1243 * math/Makefile (tests): Add `test-fpucw-ieee' and
1245 (tests-static): New variable.
1246 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1248 [($(build-shared),yes)]
1249 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1251 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1254 2013-09-09 Allan McRae <allan@archlinux.org>
1257 * manual/string.texi (Collation Functions): Fix typo in
1259 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1262 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1265 * libio/memstream.c (open_memstream): Fix memory leak.
1266 * libio/wmemstream.c (open_wmemstream): Likewise.
1269 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1271 2013-09-09 Will Newton <will.newton@linaro.org>
1273 * malloc/Makefile: Add tst-realloc to tests.
1274 * malloc/tst-realloc.c: New file.
1276 2013-09-09 Allan McRae <allan@archlinux.org>
1279 * COPYING: Update from GNU website to fix FSF address.
1280 * COPYING.LIB: Likewise.
1282 2013-09-06 David S. Miller <davem@davemloft.net>
1284 * po/zh_TW.po: Update Chinese (traditional) translation from
1285 translation project.
1287 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1288 Joseph Myers <joseph@codesourcery.com>
1290 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1292 (obstack_chunk_alloc): New macro.
1293 (obstack_chunk_free): Likewise.
1294 (record_offset): New function.
1295 (init_locale_data): Likewise.
1296 (align_locale_data): Likewise.
1297 (add_locale_empty): Likewise.
1298 (add_locale_raw_data): Likewise.
1299 (add_locale_raw_obstack): Likewise.
1300 (add_locale_string): Likewise.
1301 (add_locale_wstring): Likewise.
1302 (add_locale_uint32): Likewise.
1303 (add_locale_uint32_array): Likewise.
1304 (add_locale_char): Likewise.
1305 (start_locale_structure): Likewise.
1306 (end_locale_structure): Likewise.
1307 (start_locale_prelude): Likewise.
1308 (end_locale_prelude): Likewise.
1309 (write_locale_data): Take locale_file structure rather than an
1311 * locale/programs/locfile.h: Include "obstack.h".
1312 (struct locale_file): Change to store locale file contents instead
1314 (init_locale_data): New prototype.
1315 (align_locale_data): Likewise.
1316 (add_locale_empty): Likewise.
1317 (add_locale_raw_data): Likewise.
1318 (add_locale_raw_obstack): Likewise.
1319 (add_locale_string): Likewise.
1320 (add_locale_wstring): Likewise.
1321 (add_locale_uint32): Likewise.
1322 (add_locale_uint32_array): Likewise.
1323 (add_locale_char): Likewise.
1324 (start_locale_structure): Likewise.
1325 (end_locale_structure): Likewise.
1326 (start_locale_prelude): Likewise.
1327 (end_locale_prelude): Likewise.
1328 (write_locale_data): Update prototype.
1329 * locale/programs/3level.h (struct TABLE): Remove result field.
1330 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1331 Use new locale_file interface.
1332 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1333 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1334 * locale/programs/ld-address.c (address_output): Use new
1335 locale_file interface.
1336 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1338 (collate_finish): Don't call collseq_table_finalize.
1339 (collate_output): Use new locale_file interface.
1340 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1342 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1343 (TABLE): Move defines earlier in file.
1344 (ELEMENT): Likewise.
1345 (DEFAULT): Likewise.
1346 (wctrans_table_add): Move macro and inline function earlier in
1348 (struct wctype_table): Move type earlier in file.
1349 (add_locale_wctype_table): New static prototype.
1350 (struct locale_ctype_t): Use logical types instead of struct iovec
1351 pointers for members.
1352 (ctype_output): Use new locale_file interface.
1353 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1354 new locale_file interface.
1355 (allocate_arrays): Update for use of new locale_file interface.
1356 * locale/programs/ld-identification.c (identification_output): Use
1357 new locale_file interface.
1358 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1359 * locale/programs/ld-messages.c (messages_output): Likewise.
1360 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1361 * locale/programs/ld-name.c (name_output): Likewise.
1362 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1363 * locale/programs/ld-paper.c (paper_output): Likewise.
1364 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1365 * locale/programs/ld-time.c (time_output): Likewise.
1367 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1369 * benchtests/Makefile: Add memrchr benchmark.
1370 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1371 benchmark as memrchr.
1372 * benchtests/bench-memrchr-ifunc.c: New file.
1373 * benchtests/bench-memrchr.c: New file.
1375 2013-09-06 Will Newton <will.newton@linaro.org>
1377 * benchtests/Makefile (string-bench): Add memcpy.
1379 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1380 Cong Wang <amwang@redhat.com>
1382 * sysdeps/unix/sysv/linux/bits/in.h
1383 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1384 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1385 before __USE_KERNEL_IPV6_DEFS uses.
1386 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1388 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1389 sockaddr_in6, or ipv6_mreq.
1391 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1394 memory access for final bytes in some large inputs.
1395 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1397 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399 * string/test-memrchr.c: New file.
1400 * string/test-memrchr-ifunc.c: New file.
1401 * string/Makefile: Add new memrchr testcase.
1403 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1405 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1406 fanotify_init returns EPERM.
1408 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1410 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1412 (top level): Treat second token from macro or constant entries for
1413 allowed headers as allowed.
1414 * include/complex.h: Condition internal declarations on
1416 * include/fenv.h: Condition include of <stdbool.h> and internal
1417 declarations on [!_ISOMAC].
1419 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1422 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1424 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1426 * configure.in (--enable-versioning): Remove configure option.
1427 (libc_cv_asm_symver_directive): Remove configure test.
1428 (libc_cv_ld_version_script_option): Likewise.
1429 (VERSIONING): Remove variable and AC_SUBST.
1430 (DO_VERSIONING): Remove AC_DEFINE.
1431 * configure: Regenerated.
1432 * config.h.in (DO_VERSIONING): Remove macro.
1433 * Makerules [$(versioning) = yes]: Change conditionals to
1434 [$(build-shared) = yes].
1435 * config.make.in (versioning): Remove variable.
1436 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1437 [$(build-shared) = yes].
1438 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1439 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1440 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1441 [$(build-shared) = yes].
1442 * extra-lib.mk [$(versioning) = yes]: Likewise.
1443 * hurd/Makefile [$(versioning) = yes]: Likewise.
1444 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1446 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1448 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1449 [SHARED && !NO_HIDDEN].
1450 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1452 [SHARED && DO_VERSIONING]: Likewise..
1453 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1454 [$(build-shared) = yes].
1455 * manual/install.texi (--disable-versioning): Remove
1457 * INSTALL: Regenerated.
1458 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1460 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1461 [$(build-shared) = yes].
1462 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1463 * sysdeps/i386/i686/multiarch/strstr-c.c
1464 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1465 [SHARED && !NO_HIDDEN].
1466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1467 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1468 * sysdeps/powerpc/powerpc32/dl-machine.c
1469 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1470 * sysdeps/powerpc/powerpc32/sysdep.h
1471 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1472 to [SHARED && PIC && !NO_HIDDEN].
1473 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1474 conditional to [SHARED].
1476 2013-09-04 Will Newton <will.newton@linaro.org>
1478 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1479 * benchtests/bench-string.h: Include bench-timing.h instead
1480 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1481 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1482 call to HP_TIMING_DIFF_INIT.
1483 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1484 instead of hp-timing.h macros.
1485 * benchtests/bench-memchr.c: Likewise.
1486 * benchtests/bench-memcmp.c: Likewise.
1487 * benchtests/bench-memcpy.c: Likewise.
1488 * benchtests/bench-memmem.c: Likewise.
1489 * benchtests/bench-memmove.c: Likewise.
1490 * benchtests/bench-memset.c: Likewise.
1491 * benchtests/bench-rawmemchr.c: Likewise.
1492 * benchtests/bench-strcasecmp.c: Likewise.
1493 * benchtests/bench-strcasestr.c: Likewise.
1494 * benchtests/bench-strcat.c: Likewise.
1495 * benchtests/bench-strchr.c: Likewise.
1496 * benchtests/bench-strcmp.c: Likewise.
1497 * benchtests/bench-strcpy.c: Likewise.
1498 * benchtests/bench-strcpy_chk.c: Likewise.
1499 * benchtests/bench-strlen.c: Likewise.
1500 * benchtests/bench-strncasecmp.c: Likewise.
1501 * benchtests/bench-strncat.c: Likewise.
1502 * benchtests/bench-strncmp.c: Likewise.
1503 * benchtests/bench-strncpy.c: Likewise.
1504 * benchtests/bench-strnlen.c: Likewise.
1505 * benchtests/bench-strpbrk.c: Likewise.
1506 * benchtests/bench-strrchr.c: Likewise.
1507 * benchtests/bench-strspn.c: Likewise.
1508 * benchtests/bench-strstr.c: Likewise.
1510 2013-09-04 Will Newton <will.newton@linaro.org>
1512 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1514 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1518 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1519 * math/libm-test.inc (lgamma_test_data): Add more tests.
1520 * sysdeps/i386/fpu/libm-test-ulps: Update.
1521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1523 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1525 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1529 Add strcmp-sse2-unaligned
1530 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1532 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1534 * Versions.def (libc): Add GLIBC_2.19.
1536 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1538 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1539 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1541 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1544 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1545 intermediate calculations in recurrence.
1546 (__ieee754_ynf): Likewise.
1547 * math/libm-test.inc (jn_test_data): Do not allow spurious
1548 underflow exception. Add more tests.
1549 (yn_test_data): Add more tests.
1550 * sysdeps/i386/fpu/libm-test-ulps: Update.
1551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1553 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1555 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1557 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1559 * csu/init-first.c: Fix then/than typos.
1560 * locale/programs/ld-collate.c: Likewise.
1561 * locale/programs/linereader.h: Likewise.
1562 * manual/charset.texi: Likewise.
1563 * manual/filesys.texi: Likewise.
1564 * manual/stdio.texi: Likewise.
1565 * manual/string.texi: Likewise.
1566 * stdlib/fmtmsg.c: Likewise.
1567 * sysdeps/i386/stpncpy.S: Likewise.
1568 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1569 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1573 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1575 * elf/dl-open.c: Fix typos.
1576 * iconvdata/gbbig5.c: Likewise.
1577 * iconvdata/iso-2022-jp.c: Likewise.
1578 * iconv/gconv_int.h: Likewise.
1579 * iconv/loop.c: Likewise.
1580 * nis/rpcsvc/nis.h: Likewise.
1581 * resolv/ns_name.c: Likewise.
1582 * stdio-common/vfscanf.c: Likewise.
1583 * streams/stropts.h: Likewise.
1584 * sunrpc/rpc_thread.c: Likewise.
1585 * sysdeps/i386/strpbrk.S: Likewise.
1586 * sysdeps/ieee754/k_standard.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1589 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1590 * sysdeps/mach/hurd/profil.c: Likewise.
1591 * sysdeps/s390/dl-procinfo.h: Likewise.
1592 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1593 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1594 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1595 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1598 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1600 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1603 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1605 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1607 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1608 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1610 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1611 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1614 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1616 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1617 Roland McGrath <roland@hack.frob.com>
1619 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1620 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1622 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1624 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1625 __executable_start symbol instead of _start.
1627 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1629 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1630 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1632 * sysdeps/gnu/ldsodefs.h: ... this new file.
1634 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1635 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1636 instead of ELFOSABI_LINUX.
1638 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1639 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1640 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1641 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1643 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1644 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1647 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1648 (ibm_extended_long_double): Add ieee_nan member.
1649 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1650 (do_test): New function.
1652 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1654 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1655 functions, renamed from truncdfsf_test, trunctfsf_test,
1657 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1659 (do_test): Run all these.
1661 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1663 * argp/argp-help.c: Fix typos.
1664 * argp/argp-parse.c: Likewise.
1665 * debug/backtracesyms.c: Likewise.
1666 * elf/elf.h: Likewise.
1667 * malloc/malloc.c: Likewise.
1668 * nis/nis_print.c: Likewise.
1669 * resolv/res_comp.c: Likewise.
1670 * stdlib/stdlib.h: Likewise.
1671 * sunrpc/clnt_tcp.c: Likewise.
1672 * sunrpc/clnt_udp.c: Likewise.
1673 * sunrpc/clnt_unix.c: Likewise.
1674 * sysdeps/unix/bsd/ptsname.c: Likewise.
1675 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1683 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1685 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1687 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1690 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1693 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1694 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1695 ($(objpfx)bug-dl-leaf): New rule.
1696 ($(objpfx)bug-dl-leaf.so): Likewise.
1697 ($(objpfx)bug-dl-leaf.out): Likewise.
1698 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1699 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1700 * dlfcn/bug-dl-leaf.c: New test.
1701 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1702 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1703 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1704 (dlclose): Likewise.
1705 (dlmopen): Likewise.
1707 2013-08-27 Roland McGrath <roland@hack.frob.com>
1709 * include/netdb.h [!_ISOMAC]:
1710 Don't include <tls.h>.
1711 (h_errno, __libc_h_errno): Move declaration and macros out of
1714 * include/resolv.h [_RESOLV_H_]:
1715 Don't include <tls.h>.
1716 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1717 * resolv/res_libc.c: Don't include <tls.h>.
1718 (_res): Use __attribute__ ((nocommon)) in place of
1719 __attribute__ ((section (".bss"))).
1721 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1722 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1724 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1726 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1727 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1729 * resolv/res_mkquery.c: Include <sys/time.h>.
1731 * inet/ifreq.c: Moved to ...
1732 * sysdeps/unix/ifreq.c: ... here.
1733 * inet/ifreq.c: New file, true stub version.
1735 * socket/sa_len.c: New file.
1736 * socket/Makefile (aux): Add it.
1737 * sysdeps/unix/sysv/linux/Makefile
1738 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1739 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1740 and #include <socket/sa_len.c>.
1741 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1742 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1744 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1745 * bits/socket.h: ... here.
1747 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1748 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1749 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1751 2013-08-27 Andreas Schwab <schwab@suse.de>
1754 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1755 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1756 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1757 * string/test-strcasecmp.c (test_main): Run tests in several
1759 * string/test-strncasecmp.c (test_main): Likewise.
1761 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1762 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1763 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1764 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1765 (__strncasecmp_ssse3) [PIC]: Likewise.
1767 2013-08-26 Roland McGrath <roland@hack.frob.com>
1769 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1771 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1772 instead of explicitly declaring xdecrypt.
1773 * nis/nss_nis/nis-publickey.c: Likewise.
1775 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1778 * nscd/aicache.c: Include res_hconf.h.
1779 (addhstaiX): Initialize res_hconf.
1781 2013-08-26 Andreas Schwab <schwab@suse.de>
1783 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1784 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1786 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1788 * nscd/aicache.c (addhstaiX): Fix indentation.
1790 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1792 * configure.ac: Quote $build_pt_chown test.
1793 * configure: Regenerated.
1795 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1798 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1799 * math/s_cexpf.c (__cexpf): Likewise.
1800 * math/s_cexpl.c (__cexpl): Likewise.
1801 * math/libm-test.inc (cexp_test_data): Correct expected return
1802 value for NaN + i0. Add another test.
1804 2013-08-22 David S. Miller <davem@davemloft.net>
1806 * po/ca.po: Update Catalan translation from translation project.
1807 * po/uk.po: Add Ukrainian translations from translation project.
1809 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1812 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1813 is infinite, not alongside NaN test.
1814 * math/s_fdimf.c (__fdimf): Likewise.
1815 * math/s_fdiml.c (__fdiml): Likewise.
1816 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1819 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1821 * argp/argp-help.c: Fix typos.
1822 * crypt/speeds.c: Likewise.
1823 * csu/check_fds.c: Likewise.
1824 * elf/dl-load.c: Likewise.
1825 * elf/dl-open.c: Likewise.
1826 * elf/reldep3.c: Likewise.
1827 * elf/reldep.c: Likewise.
1828 * elf/sprof.c: Likewise.
1829 * iconv/iconv_charmap.c: Likewise.
1830 * iconv/skeleton.c: Likewise.
1831 * iconv/strtab.c: Likewise.
1832 * io/lockf64.c: Likewise.
1833 * libio/libioP.h: Likewise.
1834 * resolv/gai_notify.c: Likewise.
1835 * resolv/ns_name.c: Likewise.
1836 * resolv/ns_samedomain.c: Likewise.
1837 * resolv/res_send.c: Likewise.
1838 * stdlib/random.c: Likewise.
1839 * sunrpc/rpc/xdr.h: Likewise.
1840 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1841 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1842 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1843 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1844 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1845 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1848 * sysdeps/mach/hurd/check_fds.c: Likewise.
1849 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1850 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1852 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1853 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1854 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1855 * sysdeps/pthread/aio_notify.c: Likewise.
1856 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1857 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1858 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1859 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1860 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1862 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1864 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1865 version if bit_Slow_SSE4_2 is set.
1866 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1869 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1873 trampoline stack frame information.
1874 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1876 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1877 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1878 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1879 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1880 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1881 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1883 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1884 interrupting a syscall and set with option SA_SIGINFO.
1886 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1889 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1890 argument is infinite.
1891 * math/s_cprojf.c (__cprojf): Likewise.
1892 * math/s_cprojl.c (__cprojl): Likewise.
1893 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1894 * math/libm-test.inc (cproj_test_data): Add more tests.
1896 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1898 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1899 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1900 size. Use __ffs to determine corresponding shift.
1902 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1903 Roland McGrath <roland@hack.frob.com>
1905 * Makefile (INSTALL): Remove trailing blank lines from output of
1908 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1910 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1911 Align 32 bit compat elf_greg to 8 bytes.
1913 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1915 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1917 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1919 * string/strcoll_l.c (coll_seq): New structure.
1920 (get_next_seq_cached): New function.
1921 (get_next_seq): New function.
1922 (do_compare): New function.
1923 (STRCOLL): Use GNU style definition. Simplify implementation
1924 by using get_next_seq, get_next_seq_cached and do_compare.
1926 2013-08-16 Florian Weimer <fweimer@redhat.com>
1930 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1932 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1934 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1935 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1936 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1938 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1939 GETDENTS_64BIT_ALIGNED.
1940 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1941 * manual/filesys.texi (Reading/Closing Directory): Document
1942 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1944 * manual/conf.texi (Limits for Files): Add portability note to
1946 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1948 2013-08-13 Andreas Schwab <schwab@suse.de>
1951 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1953 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1954 LDBL_MAX_EXP >= 16384]: Add tests for it.
1956 2013-08-12 David S. Miller <davem@davemloft.net>
1958 * version.h (RELEASE): Set to "development".
1959 (VERSION): Set to "2.18.90".
1960 * NEWS: Add 2.19 section.
1962 2013-08-03 David S. Miller <davem@davemloft.net>
1964 * po/ko.po: Update Korean translation from translation project.
1966 2013-08-01 David S. Miller <davem@davemloft.net>
1968 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1969 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1972 2013-07-30 David S. Miller <davem@davemloft.net>
1974 * po/fr.po: Update French translation from translation project.
1976 2013-07-28 David S. Miller <davem@davemloft.net>
1978 * po/cs.po: Update Czech translation from translation project.
1980 * po/sv.po: Update Swedish translation from translation project.
1982 2013-07-27 David S. Miller <davem@davemloft.net>
1984 * po/eo.po: Update Esperanto translation from translation project.
1986 * po/vi.po: Update Vietnamese translation from translation project.
1988 * po/de.po: Update German translation from translation project.
1990 2013-07-26 David S. Miller <davem@davemloft.net>
1992 * po/bg.po: Update Bulgarian translation from translation project.
1994 * po/nl.po: Update Dutch translation from translation project.
1995 * po/pl.po: Update Polish translation from translation project.
1996 * po/ru.po: Update Russian translation from translation project.
1998 2013-07-24 David S. Miller <davem@davemloft.net>
2000 * po/libc.pot: Update.
2002 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2006 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2007 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2008 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2010 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2012 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2014 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2015 Andreas Schwab <schwab@suse.de>
2016 Roland McGrath <roland@hack.frob.com>
2017 Joseph Myers <joseph@codesourcery.com>
2018 Carlos O'Donell <carlos@redhat.com>
2021 * config.h.in: Define HAVE_PT_CHOWN.
2022 * config.make.in (build-pt-chown): New variable.
2023 * configure.in (--enable-pt_chown): New configure option.
2024 * configure: Regenerate.
2025 * login/Makefile: Include Makeconfig. Build pt_chown only if
2026 build-pt-chown is enabled.
2027 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2028 pt_chown to fix pty ownership.
2029 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2031 * manual/install.texi (Configuring and compiling): Mention
2032 --enable-pt_chown. Add @findex for grantpt.
2033 * INSTALL: Regenerate.
2035 2013-07-20 David S. Miller <davem@davemloft.net>
2037 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2038 difference between 32-bit and 64-bit.
2040 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2043 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2044 Avoid system header dependency with -ffreestanding.
2045 ($(objpfx)bits/syscall%d): Likewise.
2047 2013-07-13 David S. Miller <davem@davemloft.net>
2049 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2050 underflows from atanl/atan2l due to bug 15319.
2051 (casinh_test_data): Likewise.
2053 2013-07-07 David S. Miller <davem@davemloft.net>
2055 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2057 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2059 * sysdeps/i386/fpu/libm-test-ulps: Update.
2060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2062 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2064 * configure.in (--enable-lock-elision): Fix message text.
2065 * INSTALL: Regenerate.
2066 * configure: Regenerate.
2068 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2072 2013-07-03 Andreas Jaeger <aj@suse.de>
2074 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2076 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2077 (ptrace_peeksiginfo_args): Add.
2078 (__ptrace_peeksiginfo_flags): Add.
2079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2083 2013-07-03 Allan McRae <allan@archlinux.org>
2085 * sysdeps/i386/fpu/libm-test-ulps: Update.
2087 2013-07-02 David S. Miller <davem@davemloft.net>
2089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2091 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2095 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2097 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2100 2013-07-02 Andi Kleen <ak@linux.intel.com>
2102 * config.h.in (ENABLE_LOCK_ELISION): Add.
2103 * configure.in (--enable-lock-elision): Add option.
2104 * manual/install.texi: Document --enable lock elision.
2105 * configure: Regenerate
2106 * INSTALL: Regenerate.
2108 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2110 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2111 SSE4.2 strcasecmp for libc.a.
2112 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2114 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2117 * soft-fp/op-common.h (_FP_FMA): New macro.
2118 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2119 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2120 (_FP_MUL_MEAT_1_imm): ... here.
2121 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2122 (_FP_MUL_MEAT_1_wide): ... here.
2123 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2124 (_FP_MUL_MEAT_1_hard): ... here.
2125 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2126 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2127 (_FP_MUL_MEAT_2_wide): ... here.
2128 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2129 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2130 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2131 (_FP_MUL_MEAT_2_gmp): ... here.
2132 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2133 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2134 (_FP_MUL_MEAT_4_wide): ... here.
2135 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2136 (_FP_MUL_MEAT_4_gmp): ... here.
2137 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2138 (_FP_WFRACBITS_DW_S): Likewise.
2139 (_FP_WFRACXBITS_DW_S): Likewise.
2140 (_FP_HIGHBIT_DW_S): Likewise.
2141 (FP_FMA_S): Likewise.
2142 (_FP_FRAC_HIGH_DW_S): Likewise.
2143 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2144 (_FP_WFRACBITS_DW_D): Likewise.
2145 (_FP_WFRACXBITS_DW_D): Likewise.
2146 (_FP_HIGHBIT_DW_D): Likewise.
2147 (FP_FMA_D): Likewise.
2148 (_FP_FRAC_HIGH_DW_D): Likewise.
2149 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2150 (_FP_WFRACBITS_DW_E): Likewise.
2151 (_FP_WFRACXBITS_DW_E): Likewise.
2152 (_FP_HIGHBIT_DW_E): Likewise.
2153 (FP_FMA_E): Likewise.
2154 (_FP_FRAC_HIGH_DW_E): Likewise.
2155 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2156 (_FP_WFRACBITS_DW_Q): Likewise.
2157 (_FP_WFRACXBITS_DW_Q): Likewise.
2158 (_FP_HIGHBIT_DW_Q): Likewise.
2159 (FP_FMA_Q): Likewise.
2160 (_FP_FRAC_HIGH_DW_Q): Likewise.
2161 * soft-fp/fmasf4.c: New file.
2162 * soft-fp/fmadf4.c: Likewise.
2163 * soft-fp/fmatf4.c: Likewise.
2165 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2168 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2172 (index_Slow_SSE4_2): Likewise.
2173 (index_Prefer_PMINUB_for_stringop): Likewise.
2174 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2175 bit_Slow_SSE4_2 is set.
2176 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2177 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2179 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2181 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2182 rtld_global._dl_hwcap2.
2183 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2185 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2186 POWER8 feature descriptions defined in _dl_hwcap2.
2187 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2188 string handling for POWER8 feature bits.
2189 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2190 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2191 _dl_powerpc_cap_flags.
2192 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2193 * sysdeps/powerpc/rtld-global-offsets.sym
2194 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2195 _dl_hwcap2 in the rtld_global_ro structure.
2197 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2199 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2200 hardware capabilities in support of AT_HWCAP2.
2201 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2202 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2204 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2205 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2206 explicitly the unknown a_type display mechanism is used.
2207 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2208 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2210 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2211 to macro prototype for AT_HWCAP2 support.
2212 * sysdeps/i386/dl-procinfo.h: Likewise.
2213 * sysdeps/s390/dl-procinfo.h: Likewise.
2214 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2215 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2216 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2217 return -1 for unknown a_type display fallback.
2218 * sysdeps/sparc/dl-procinfo.h: Likewise.
2219 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2220 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2222 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2224 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2225 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2227 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2230 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2231 mprotect making __stack_prot writable.
2233 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2234 Joseph Myers <joseph@codesourcery.com>
2236 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2237 as being properly aligned.
2239 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2241 * dlfcn/modstatic5.c: New file.
2242 * dlfcn/tststatic5.c: New file.
2243 * dlfcn/Makefile (tests): Add tststatic5.
2244 (tests-static): Likewise.
2245 (modules-names): Add modstatic5.
2246 (tststatic5-ENV): New variable.
2247 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2250 * elf/dl-support.c (_dl_main_map): New variable.
2251 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2252 (_dl_nns, _dl_load_adds): Set to 1.
2253 (_dl_initial_searchlist): Refer to _dl_main_map.
2254 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2255 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2256 call to _dl_get_origin.
2257 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2259 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2260 * dlfcn/modstatic3.c: New file.
2261 * dlfcn/tststatic3.c: New file.
2262 * dlfcn/tststatic4.c: New file.
2263 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2264 (tests-static): Likewise.
2265 (modules-names): Add modstatic3.
2266 (tststatic3-ENV, tststatic4-ENV): New variables.
2267 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2268 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2270 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2272 * configure.in (CC): Require GCC version 4.4 or later.
2273 * configure: Regenerated.
2274 * manual/install.texi (Tools for Compilation): Update GCC version
2276 * INSTALL: Regenerated.
2278 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2281 * string/test-memcmp.c (check2): New.
2282 (main): Call check2.
2284 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2286 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2289 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2291 (dl_open_worker) [!SHARED]: ... here.
2293 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2295 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2297 2013-06-25 Richard Henderson <rth@redhat.com>
2299 * locale/programs/locarchive.c: Include <libc-internal.h>
2301 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2303 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2304 trailing whitespace removed.
2306 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2309 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2310 * locale/programs/locarchive.c: Include libc-mmap.h.
2311 (prepare_address_space): Take two new outputs (the mmap base and len).
2312 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2314 (create_archive): Declare new mmap base and len values for
2315 prepare_address_space, and store the result in ah.
2316 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2317 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2318 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2319 Declare new mmap base and len values for
2320 prepare_address_space, and store the result in new_ah.
2321 (open_archive): Declare new mmap base and len values for
2322 prepare_address_space, and store the result in ah.
2323 (close_archive): If ah->mmap_base is not NULL, use that and
2324 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2325 * sysdeps/generic/libc-mmap.h: New file.
2327 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2329 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2330 (ALIGN_UP): Likewise.
2331 (PTR_ALIGN_DOWN): Likewise.
2332 (PTR_ALIGN_UP): Likewise.
2334 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2336 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2337 entry mapped to PPC_PLATFORM_POWER8.
2338 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2340 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2341 (_dl_string_platform): Add case for exporting platform position for
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2344 search path to sysdeps/powerpc/powerpc32/power8 directory.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2346 search path to sysdeps/powerpc/powerpc64/power8 directory.
2347 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2349 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2352 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2354 * INSTALL: Regenerate.
2356 * nscd/connections.c (nscd_init): Fix comment.
2358 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2360 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2363 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2364 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2366 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2368 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2370 (DL_DST_REQ_STATIC): Remove macro.
2372 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2375 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2376 with a shift of 0 bits.
2378 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2380 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2383 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2386 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2388 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2390 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2391 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2392 accepts -fno-tree-loop-distribute-patterns.
2393 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2394 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2396 * string/memset.c (memset): Likewise.
2397 * string/test-memmove.c (simple_memmove): Disable loop transformation
2399 * string/test-memset.c (simple_memset): Likewise.
2400 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2401 * benchtests/bench-memset.c (simple_memset): Likewise.
2402 * configure: Regenerated.
2404 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2406 * math/test-misc.c (main): Ignore fesetround failure when failures
2407 of subsequent rounding tests would be ignored.
2410 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2411 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2412 * math/fegetenv.c (__fegetenv): Return 0.
2413 * math/fegetexcept.c (fegetexcept): Return 0.
2414 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2416 * math/feholdexcpt.c (feholdexcept): Return 0.
2417 * math/fesetenv.c (__fesetenv): Return 0.
2418 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2419 argument FE_TONEAREST.
2420 * math/feupdateenv.c (__feupdateenv): Return 0.
2421 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2423 2013-06-18 Roland McGrath <roland@hack.frob.com>
2425 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2426 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2427 ($(objpfx)rtld-%.os rules): Use them.
2429 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2431 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2434 2013-06-17 Roland McGrath <roland@hack.frob.com>
2436 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2437 length of target pattern, then descending length of dependency pattern.
2438 * configure.in (AWK): Require gawk 3.1.2 or newer.
2439 * manual/install.texi (Tools for Compilation): Say that we do.
2440 * configure: Regenerated.
2442 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2443 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2444 * scripts/sysd-rules.awk: ... this new script.
2445 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2446 than a glob-style pattern.
2448 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2450 * math/test-misc.c (main): Do not treat incorrectly rounded
2451 conversions as failure unless ROUNDING_TESTS passes.
2453 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2456 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2457 restore exception state around main square root computation, then
2458 check for inexactness explicitly.
2460 * math/libm-test.inc (fma_test_data): Add another test.
2462 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2464 * manual/threads.texi (Non-POSIX Extensions): New document
2465 node. Document pthread_getattr_default_np and
2466 pthread_setattr_default_np.
2468 * Versions.def (libpthread): Add GLIBC_2.18.
2469 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2478 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2489 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2492 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2494 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2495 H.J. Lu <hjl.tools@gmail.com>
2498 * sysdeps/x86_64/rtld-memset.c: Remove file.
2499 * sysdeps/x86_64/rtld-memset.S: New file.
2501 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2503 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2504 (test_in_one_mode): Take arguments for whether the rounding mode
2505 is supported for each floating-point type.
2506 (do_test): Pass new arguments to test_in_one_mode using
2509 2013-06-13 Roland McGrath <roland@hack.frob.com>
2511 * posix/tst-waitid.c (do_test): Distinguish different instances of
2512 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2513 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2514 before entering the kernel for waitpid.
2516 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2518 * NEWS: Fix note on clock function precision. Text by Roland
2521 2013-06-13 Roland McGrath <roland@hack.frob.com>
2523 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2524 it into place only when and if the sanity check passes.
2526 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2528 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2529 output for whether conversion result is exact. Take argument
2530 indicating whether type is IBM long double.
2531 (round_for_all): Change need_exact field to ibm_ld.
2532 * stdlib/tst-strtod-round.c (struct exactness): New type.
2533 (struct test): Change bool ld_ok field to struct exactness exact.
2534 (TEST): Update all definitions for change to field.
2535 (tests): Regenerate array contents.
2536 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2537 field value. Check for IBM long double here.
2538 (do_test): Update calls to test_in_one_mode.
2540 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2543 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2544 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2546 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2550 generated by the compiler on loop optimizations.
2551 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2552 general definitions.
2554 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2556 * math/bug-nextafter.c: Include <math-tests.h>.
2557 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2559 * math/bug-nexttoward.c: Include <math-tests.h>.
2560 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2562 * math/test-misc.c: Include <math-tests.h>.
2563 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2566 2013-06-12 Andreas Jaeger <aj@suse.de>
2568 * po/ia.po: Update Interlingua translation from translation
2571 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2573 * include/fenv.h: Include stdbool.h.
2574 (struct rm_ctx): New structure.
2575 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2577 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2578 (SET_RESTORE_ROUNDF): Likewise.
2579 (SET_RESTORE_ROUNDL): Likewise.
2580 (SET_RESTORE_ROUND_NOEX): Likewise.
2581 (SET_RESTORE_ROUND_NOEXF): Likewise.
2582 (SET_RESTORE_ROUND_NOEXL): Likewise.
2583 (SET_RESTORE_ROUND_53BIT): Likewise.
2584 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2585 (libc_feresetround_noexf_ctx): Likewise.
2586 (libc_feresetround_noexl_ctx): Likewise.
2587 (libc_feholdsetround_53bit_ctx): Likewise.
2588 (libc_feresetround_53bit_ctx): Likewise.
2589 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2590 (libc_feholdexcept_setround_sse_ctx): New function.
2591 (libc_fesetenv_sse_ctx): Likewise.
2592 (libc_feupdateenv_sse_ctx): Likewise.
2593 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2594 (libc_feholdexcept_setround_387_ctx): Likewise.
2595 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2596 (libc_feholdsetround_387_prec_ctx): Likewise.
2597 (libc_feholdsetround_387_ctx): Likewise.
2598 (libc_feholdsetround_387_53bit_ctx): Likewise.
2599 (libc_feholdsetround_sse_ctx): Likewise.
2600 (libc_feresetround_sse_ctx): Likewise.
2601 (libc_feresetround_387_ctx): Likewise.
2602 (libc_feupdateenv_387_ctx): Likewise.
2603 (libc_feholdexcept_setroundf_ctx): Define macro.
2604 (libc_fesetenvf_ctx): Likewise.
2605 (libc_feupdateenvf_ctx): Likewise.
2606 (libc_feholdsetroundf_ctx): Likewise.
2607 (libc_feresetroundf_ctx): Likewise.
2608 (libc_feholdexcept_setround_ctx): Likewise.
2609 (libc_fesetenv_ctx): Likewise.
2610 (libc_feupdateenv_ctx): Likewise.
2611 (libc_feholdsetround_ctx): Likewise.
2612 (libc_feresetround_ctx): Likewise.
2613 (libc_feholdexcept_setroundl_ctx): Likewise.
2614 (libc_feupdateenvl_ctx): Likewise.
2615 (libc_feholdsetroundl_ctx): Likewise.
2616 (libc_feresetroundl_ctx): Likewise.
2617 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2618 (libc_feresetround_53bit_ctx): Likewise.
2620 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2622 * locale/iso-639.def: Convert to UTF-8.
2624 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2626 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2627 (EXCEPTION_TESTS_double): Likewise.
2628 (EXCEPTION_TESTS_long_double): Likewise.
2629 (EXCEPTION_TESTS): Likewise.
2630 * math/libm-test.inc (test_exceptions): Only test exceptions if
2631 EXCEPTION_TESTS (FLOAT).
2633 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2635 * benchtests/Makefile (string-bench): Add strcpy_chk and
2637 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2638 * benchtests/bench-stpcpy_chk.c: New file.
2639 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2640 * benchtests/bench-strcpy_chk.c: New file.
2641 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2643 (do_test): Likewise.
2645 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2647 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2648 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2649 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2650 with tabs where appropriate.
2651 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2653 [PPC_PLATFORM_PPC440]: Likewise.
2654 [PPC_PLATFORM_PPC464]: Likewise.
2655 [PPC_PLATFORM_PPC476]: Likewise.
2656 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2657 ppc464, and ppc476 platform strings merging from ports/
2660 2013-06-11 Andreas Schwab <schwab@suse.de>
2663 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2664 (from_ucs4_idx): Regenerate.
2665 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2666 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2667 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2668 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2669 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2670 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2671 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2672 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2673 from FROM_LOOP and TO_LOOP specific macros.
2674 (BODY): Handle combining characters.
2675 * iconvdata/BIG5HKSCS.irreversible: Update.
2676 * iconvdata/BIG5HKSCS.precomposed: New file.
2677 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2679 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2681 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2683 * include/sys/time.h: Fix indentation and add copyright header.
2685 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2686 (do_test): Likewise.
2687 * string/test-memchr.c (do_one_test): Likewise.
2688 (do_test): Likewise.
2689 * string/test-memcmp.c (do_one_test): Likewise.
2690 (do_test): Likewise.
2691 * string/test-memcpy.c (do_one_test): Likewise.
2692 (do_test): Likewise.
2693 * string/test-memmem.c (do_one_test): Likewise.
2694 (do_test): Likewise.
2695 (do_random_tests): Likewise.
2696 * string/test-memmove.c (do_one_test): Likewise.
2697 (do_test): Likewise.
2698 * string/test-memset.c (do_one_test): Likewise.
2699 (do_test): Likewise.
2700 * string/test-rawmemchr.c (do_one_test): Likewise.
2701 (do_test): Likewise.
2702 * string/test-strcasecmp.c (do_one_test): Likewise.
2703 (do_test): Likewise.
2704 * string/test-strcasestr.c (do_one_test): Likewise.
2705 (do_test): Likewise.
2706 * string/test-strcat.c (do_one_test): Likewise.
2707 (do_test): Likewise.
2708 * string/test-strchr.c (do_one_test): Likewise.
2709 (do_test): Likewise.
2710 * string/test-strcmp.c (do_one_test): Likewise.
2711 (do_test): Likewise.
2712 * string/test-strcpy.c (do_one_test): Likewise.
2713 (do_test): Likewise.
2714 * string/test-string.h: Likewise.
2715 (test_init): Likewise.
2716 * string/test-strlen.c (do_one_test): Likewise.
2717 (do_test): Likewise.
2718 * string/test-strncasecmp.c (do_one_test): Likewise.
2719 (do_test): Likewise.
2720 * string/test-strncat.c (do_one_test): Likewise.
2721 (do_test): Likewise.
2722 * string/test-strncmp.c (do_one_test): Likewise.
2723 (do_test_limit): Likewise.
2724 (do_test): Likewise.
2725 * string/test-strncpy.c (do_one_test): Likewise.
2726 (do_test): Likewise.
2727 * string/test-strnlen.c (do_one_test): Likewise.
2728 (do_test): Likewise.
2729 * string/test-strpbrk.c (do_one_test): Likewise.
2730 (do_test): Likewise.
2731 * string/test-strrchr.c (do_one_test): Likewise.
2732 (do_test): Likewise.
2733 * string/test-strspn.c (do_one_test): Likewise.
2734 (do_test): Likewise.
2735 * string/test-strstr.c (do_one_test): Likewise.
2736 (do_test): Likewise.
2738 * benchtests/Makefile (string-bench): Add string benchmarks.
2739 * benchtests/bench-bcopy-ifunc.c: New file.
2740 * benchtests/bench-bcopy.c: New file.
2741 * benchtests/bench-bzero-ifunc.c: New file.
2742 * benchtests/bench-bzero.c: New file.
2743 * benchtests/bench-memccpy-ifunc.c: New file.
2744 * benchtests/bench-memccpy.c: New file.
2745 * benchtests/bench-memchr-ifunc.c: New file.
2746 * benchtests/bench-memchr.c: New file.
2747 * benchtests/bench-memcmp-ifunc.c: New file.
2748 * benchtests/bench-memcmp.c: New file.
2749 * benchtests/bench-memmem-ifunc.c: New file.
2750 * benchtests/bench-memmem.c: New file.
2751 * benchtests/bench-memmove-ifunc.c: New file.
2752 * benchtests/bench-memmove.c: New file.
2753 * benchtests/bench-mempcpy-ifunc.c: New file.
2754 * benchtests/bench-mempcpy.c: New file.
2755 * benchtests/bench-memset-ifunc.c: New file.
2756 * benchtests/bench-memset.c: New file.
2757 * benchtests/bench-rawmemchr-ifunc.c: New file.
2758 * benchtests/bench-rawmemchr.c: New file.
2759 * benchtests/bench-stpcpy-ifunc.c: New file.
2760 * benchtests/bench-stpcpy.c: New file.
2761 * benchtests/bench-stpncpy-ifunc.c: New file.
2762 * benchtests/bench-stpncpy.c: New file.
2763 * benchtests/bench-strcasecmp-ifunc.c: New file.
2764 * benchtests/bench-strcasecmp.c: New file.
2765 * benchtests/bench-strcasestr-ifunc.c: New file.
2766 * benchtests/bench-strcasestr.c: New file.
2767 * benchtests/bench-strcat-ifunc.c: New file.
2768 * benchtests/bench-strcat.c: New file.
2769 * benchtests/bench-strchr-ifunc.c: New file.
2770 * benchtests/bench-strchr.c: New file.
2771 * benchtests/bench-strchrnul-ifunc.c: New file.
2772 * benchtests/bench-strchrnul.c: New file.
2773 * benchtests/bench-strcmp-ifunc.c: New file.
2774 * benchtests/bench-strcmp.c: New file.
2775 * benchtests/bench-strcpy-ifunc.c: New file.
2776 * benchtests/bench-strcpy.c: New file.
2777 * benchtests/bench-strcspn-ifunc.c: New file.
2778 * benchtests/bench-strcspn.c: New file.
2779 * benchtests/bench-strlen-ifunc.c: New file.
2780 * benchtests/bench-strlen.c: New file.
2781 * benchtests/bench-strncasecmp-ifunc.c: New file.
2782 * benchtests/bench-strncasecmp.c: New file.
2783 * benchtests/bench-strncat-ifunc.c: New file.
2784 * benchtests/bench-strncat.c: New file.
2785 * benchtests/bench-strncmp-ifunc.c: New file.
2786 * benchtests/bench-strncmp.c: New file.
2787 * benchtests/bench-strncpy-ifunc.c: New file.
2788 * benchtests/bench-strncpy.c: New file.
2789 * benchtests/bench-strnlen-ifunc.c: New file.
2790 * benchtests/bench-strnlen.c: New file.
2791 * benchtests/bench-strpbrk-ifunc.c: New file.
2792 * benchtests/bench-strpbrk.c: New file.
2793 * benchtests/bench-strrchr-ifunc.c: New file.
2794 * benchtests/bench-strrchr.c: New file.
2795 * benchtests/bench-strspn-ifunc.c: New file.
2796 * benchtests/bench-strspn.c: New file.
2797 * benchtests/bench-strstr-ifunc.c: New file.
2798 * benchtests/bench-strstr.c: New file.
2800 * benchtests/Makefile: Disable parallel execution of targets.
2801 (string-bench): Add memcpy.
2802 (benchset): New variable to store a list of benchmark sets.
2803 (bench-func): Renamed from bench.
2804 (bench-set): New target.
2805 (bench): Depend on bench-func and bench-set.
2806 * benchtests/README: Add section on benchmark sets.
2807 * benchtests/bench-memcpy-ifunc.c: New file.
2808 * benchtests/bench-memcpy.c: New file.
2809 * benchtests/bench-string.h: New file.
2811 2013-06-11 Andreas Schwab <schwab@suse.de>
2814 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2815 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2816 values in the triple.
2817 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2818 terminator in the group key.
2820 2013-06-11 Andreas Jaeger <aj@suse.de>
2822 * po/zh_TW.po: Update Chinese (traditional) translation from
2823 translation project.
2825 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2827 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2828 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2829 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2830 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2831 (clock_getcpuclockid): Likewise.
2832 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2833 Add weak_alias and libc_hidden_def.
2834 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2835 * rt/clock_gettime.c (clock_gettime): Rename to
2836 __clock_gettime. Add weak_alias and libc_hidden_def.
2837 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2838 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2839 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2840 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2841 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2843 * rt/clock_settime.c (clock_settime): Rename to
2844 __clock_settime. Add weak_alias and libc_hidden_def.
2845 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2847 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2849 * mach/err_boot.sub: Remove trailing whitespace.
2850 * mach/err_ipc.sub: Likewise.
2851 * mach/err_mach.sub: Likewise.
2853 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2854 (ROUNDING_TESTS_double): Likewise.
2855 (ROUNDING_TESTS_long_double): Likewise.
2856 (ROUNDING_TESTS): Likewise.
2857 * math/libm-test.inc: Include <math-tests.h>.
2858 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2859 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2860 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2861 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2863 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2865 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2868 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2870 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2871 otherwise empty TRANS lines.
2872 * sysdeps/gnu/errlist.c: Regenerated.
2874 * catgets/gencat.c (error_print): Use (void) in function
2876 * crypt/crypt_util.c (__init_des): Likewise.
2877 * crypt/speeds.c (Stop): Likewise.
2879 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2880 * inet/ruserpass.c (token): Likewise.
2881 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2882 * intl/localealias.c (extend_alias_table): Likewise.
2883 * intl/plural-exp.c (init_germanic_plural): Likewise.
2884 * libio/fcloseall.c (__fcloseall): Likewise.
2885 * libio/genops.c (_IO_flush_all): Likewise.
2886 (_IO_flush_all_linebuffered): Likewise.
2887 (_IO_cleanup): Likewise.
2888 (_IO_iter_begin): Likewise.
2889 (_IO_iter_end): Likewise.
2890 (_IO_list_lock): Likewise.
2891 (_IO_list_unlock): Likewise.
2892 (_IO_list_resetlock): Likewise.
2893 * libio/getchar.c (getchar): Likewise.
2894 * libio/getchar_u.c (getchar_unlocked): Likewise.
2895 * libio/getwchar.c (getwchar): Likewise.
2896 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2897 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2898 * login/getpt.c (__getpt): Likewise.
2899 * login/tst-utmp.c (main): Likewise.
2900 * malloc/hooks.c (__malloc_check_init): Likewise.
2901 * malloc/malloc.c (__malloc_stats): Likewise.
2902 * malloc/mtrace.c (tr_break): Likewise.
2904 (muntrace): Likewise.
2905 * misc/fstab.c (endfsent): Likewise.
2906 * misc/getclktck.c (__getclktck): Likewise.
2907 * misc/getdtsz.c (__getdtablesize): Likewise.
2908 * misc/gethostid.c (gethostid): Likewise.
2909 * misc/getpagesize.c (__getpagesize): Likewise.
2910 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2911 (__get_nprocs): Likewise.
2912 (__get_phys_pages): Likewise.
2913 (__get_avphys_pages): Likewise.
2914 * misc/getttyent.c (getttyent): Likewise.
2915 (setttyent): Likewise.
2916 (endttyent): Likewise.
2917 * misc/getusershell.c (getusershell): Likewise.
2918 (endusershell): Likewise.
2919 (setusershell): Likewise.
2920 (initshells): Likewise.
2921 * misc/hsearch.c (__hdestroy): Likewise.
2922 * misc/sync.c (sync): Likewise.
2923 * misc/syslog.c (closelog_internal): Likewise.
2924 (closelog): Likewise.
2925 * misc/ttyslot.c (ttyslot): Likewise.
2926 * misc/vhangup.c (vhangup): Likewise.
2927 * posix/fork.c (__fork): Likewise.
2928 * posix/getegid.c (__getegid): Likewise.
2929 * posix/geteuid.c (__geteuid): Likewise.
2930 * posix/getgid.c (__getgid): Likewise.
2931 * posix/getpid.c (__getpid): Likewise.
2932 * posix/getppid.c (__getppid): Likewise.
2933 * posix/getuid.c (__getuid): Likewise.
2934 * posix/pause.c (pause): Likewise.
2935 * posix/setpgrp.c (setpgrp): Likewise.
2936 * posix/setsid.c (__setsid): Likewise.
2937 * posix/test-vfork.c (noop): Likewise.
2938 * resolv/gethnamaddr.c (_endhtent): Likewise.
2939 (_gethtent): Likewise.
2940 (ht_endhostent): Likewise.
2941 (gethostent): Likewise.
2942 (dns_service): Likewise.
2943 * stdlib/drand48.c (drand48): Likewise.
2944 * stdlib/lrand48.c (lrand48): Likewise.
2945 * stdlib/mrand48.c (mrand48): Likewise.
2946 * stdlib/rand.c (rand): Likewise.
2947 * stdlib/random.c (__random): Likewise.
2948 * stdlib/setenv.c (clearenv): Likewise.
2949 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2950 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2951 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2952 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2953 (__get_nprocs): Likewise.
2954 (__get_phys_pages): Likewise.
2955 (__get_avphys_pages): Likewise.
2956 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2957 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2958 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2959 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2960 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2961 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2962 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2963 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2964 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2965 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2966 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2967 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2968 * sysdeps/posix/clock.c (clock): Likewise.
2969 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2970 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2971 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2972 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2973 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2975 (__get_nprocs_conf): Likewise.
2976 (__get_phys_pages): Likewise.
2977 (__get_avphys_pages): Likewise.
2978 * time/clock.c (clock): Likewise.
2979 * time/tzset.c (__tzname_max): Likewise.
2981 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2983 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2984 (__bswap_32): Do not use "register".
2985 * crypt/crypt.c (_ufc_doit_r): Likewise.
2986 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2987 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2988 * gmon/gmon.c (__monstartup): Likewise.
2989 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2990 * hurd/hurdmalloc.c (more_memory): Likewise.
2993 (realloc): Likewise.
2994 (malloc_fork_prepare): Likewise.
2995 (malloc_fork_parent): Likewise.
2996 (malloc_fork_child): Likewise.
2997 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2998 (_svcauth_des): Likewise.
2999 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3000 * inet/inet_net.c (inet_network): Likewise.
3001 * inet/inet_netof.c (inet_netof): Likewise.
3002 * inet/rcmd.c (__validuser2_sa): Likewise.
3003 * io/fts.c (fts_open): Likewise.
3004 (fts_load): Likewise.
3005 (fts_close): Likewise.
3006 (fts_read): Likewise.
3007 (fts_children): Likewise.
3008 (fts_build): Likewise.
3009 (fts_stat): Likewise.
3010 (fts_sort): Likewise.
3011 (fts_alloc): Likewise.
3012 (fts_lfree): Likewise.
3013 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3014 (_IO_file_xsgetn): Likewise.
3015 (_IO_file_xsgetn_mmap): Likewise.
3016 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3017 (_IO_cookie_write): Likewise.
3018 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3019 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3020 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3021 * malloc/obstack.c (_obstack_begin): Likewise.
3022 (_obstack_begin_1): Likewise.
3023 (_obstack_newchunk): Likewise.
3024 (_obstack_allocated_p): Likewise.
3025 (obstack_free): Likewise.
3026 (_obstack_memory_used): Likewise.
3027 * misc/getttyent.c (getttynam): Likewise.
3028 (getttyent): Likewise.
3031 * misc/getusershell.c (initshells): Likewise.
3032 * misc/syslog.c (__vsyslog_chk): Likewise.
3033 * misc/ttyslot.c (ttyslot): Likewise.
3034 * nis/nis_hash.c (__nis_hash): Likewise.
3035 * posix/fnmatch_loop.c (FCT): Likewise.
3036 * posix/getconf.c (print_all): Likewise.
3038 * posix/getopt.c (exchange): Likewise.
3039 * posix/glob.c (globfree): Likewise.
3040 (prefix_array): Likewise.
3041 (__glob_pattern_type): Likewise.
3042 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3043 (NS_GET32): Likewise.
3044 (NS_PUT16): Likewise.
3045 (NS_PUT32): Likewise.
3046 * resolv/gethnamaddr.c (getanswer): Likewise.
3047 (gethostbyname2): Likewise.
3048 (gethostbyaddr): Likewise.
3049 (_gethtent): Likewise.
3050 (_gethtbyname2): Likewise.
3051 (_gethtbyaddr): Likewise.
3052 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3053 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3054 * resolv/res_init.c (__res_vinit): Likewise.
3055 (net_mask): Likewise.
3056 * resolv/res_mkquery.c (outchar): Likewise.
3058 * stdio-common/printf_fp.c (outchar): Likewise.
3060 * stdio-common/printf_fphex.c (outchar): Likewise.
3062 * stdio-common/printf_size.c (outchar): Likewise.
3064 * stdio-common/test_rdwr.c (main): Likewise.
3065 * stdio-common/tfformat.c (matches): Likewise.
3066 * stdio-common/vfprintf.c (outchar): Likewise.
3067 (printf_unknown): Likewise.
3068 (buffered_vfprintf): Likewise.
3069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3070 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3071 (ReadFile): Likewise.
3072 * stdlib/qsort.c (SWAP): Likewise.
3073 (_quicksort): Likewise.
3074 * stdlib/setenv.c (__add_to_environ): Likewise.
3075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3076 * stdlib/strtol_l.c (__strtol_l): Likewise.
3077 * stdlib/tst-strtod.c (main): Likewise.
3078 * stdlib/tst-strtol.c (main): Likewise.
3079 * stdlib/tst-strtoll.c (main): Likewise.
3080 * string/bits/string2.h (__strcmp_cc): Likewise.
3081 (__strcmp_cg): Likewise.
3082 (__strcspn_c1): Likewise.
3083 (__strcspn_c2): Likewise.
3084 (__strcspn_c3): Likewise.
3085 (__strspn_c1): Likewise.
3086 (__strspn_c2): Likewise.
3087 (__strspn_c3): Likewise.
3088 (__strsep_1c): Likewise.
3089 (__strsep_2c): Likewise.
3090 (__strsep_3c): Likewise.
3091 * string/memccpy.c (__memccpy): Likewise.
3092 * string/stpcpy.c (__stpcpy): Likewise.
3093 * string/strcmp.c (strcmp): Likewise.
3094 * string/strrchr.c (strrchr): Likewise.
3095 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3097 * sysdeps/mach/hurd/getcwd.c
3098 (_hurd_canonicalize_directory_name_internal): Likewise.
3099 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3100 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3101 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3102 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3103 Likewise, in both definitions.
3104 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3106 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3107 64] (__bswap_64): Likewise.
3108 * time/test_time.c (main): Likewise.
3109 * time/tzfile.c (__tzfile_read): Likewise.
3110 (__tzfile_compute): Likewise.
3111 * time/tzset.c (__tzset_parse_tz): Likewise.
3112 (tzset_internal): Likewise.
3113 (compute_change): Likewise.
3114 * wcsmbs/wcscat.c (__wcscat): Likewise.
3115 * wcsmbs/wcschr.c (wcschr): Likewise.
3116 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3117 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3118 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3119 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3120 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3121 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3122 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3123 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3124 * wcsmbs/wmemset.c (wmemset): Likewise.
3126 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3128 * scripts/config.guess: Update to version 2013-05-16.
3129 * scripts/config.sub: Update to version 2013-04-24.
3130 * scripts/install-sh: Update to version 2011-11-20.07.
3131 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3132 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3134 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3136 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3137 * elf/sln.c: Likewise.
3138 * hurd/hurd/ioctl.h: Likewise.
3139 * hurd/hurdmalloc.c: Likewise.
3140 * hurd/xattr.c: Likewise.
3141 * include/shlib-compat.h: Likewise.
3142 * inet/ruserpass.c: Likewise.
3143 * libio/iofgets_u.c: Likewise.
3144 * libio/iofgetws_u.c: Likewise.
3145 * locale/programs/ld-identification.c: Likewise.
3146 * locale/programs/ld-time.c: Likewise.
3147 * mach/msg-destroy.c: Likewise.
3148 * nss/nss_files/files-netgrp.c: Likewise.
3149 * resolv/res_data.c: Likewise.
3150 * soft-fp/op-1.h: Likewise.
3151 * soft-fp/op-2.h: Likewise.
3152 * soft-fp/op-4.h: Likewise.
3153 * soft-fp/op-common.h: Likewise.
3154 * stdio-common/printf_fphex.c: Likewise.
3155 * stdlib/strtod_l.c: Likewise.
3156 * sunrpc/rpc/clnt.h: Likewise.
3157 * sysdeps/generic/framestate.c: Likewise.
3158 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3159 * sysdeps/i386/bsd-setjmp.S: Likewise.
3160 * sysdeps/i386/__longjmp.S: Likewise.
3161 * sysdeps/i386/setjmp.S: Likewise.
3162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3180 * sysdeps/ieee754/support.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3182 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3183 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3184 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3185 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3186 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3187 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3188 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3189 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3190 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3191 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3192 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3193 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3194 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3195 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3196 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3197 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3200 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3202 * posix/transbug.c: Remove executable mode.
3204 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3206 * crypt/speeds.c: Remove trailing whitespace.
3207 * dlfcn/default.c: Likewise.
3208 * elf/ifuncdep2.c: Likewise.
3209 * elf/ifuncmain1.c: Likewise.
3210 * elf/ifuncmain1vis.c: Likewise.
3211 * elf/testobj.h: Likewise.
3212 * elf/tst-stackguard1.c: Likewise.
3213 * gmon/sys/gmon.h: Likewise.
3214 * hurd/hurdmsg.c: Likewise.
3215 * hurd/new-fd.c: Likewise.
3216 * hurd/ports-get.c: Likewise.
3217 * iconvdata/ibm1008_420.c: Likewise.
3218 * inet/tst-getni1.c: Likewise.
3219 * inet/tst-getni2.c: Likewise.
3220 * libio/ioungetc.c: Likewise.
3221 * libio/wfiledoalloc.c: Likewise.
3222 * manual/libm-err-tab.pl: Likewise.
3223 * math/w_dremf.c: Likewise.
3224 * misc/ftruncate.c: Likewise.
3225 * posix/bug-glob2.c: Likewise.
3226 * posix/tst-pcre.c: Likewise.
3227 * posix/wait4.c: Likewise.
3228 * resolv/README: Likewise.
3229 * resolv/res_debug.h: Likewise.
3230 * resolv/tst-inet_ntop.c: Likewise.
3231 * setjmp/bug269-setjmp.c: Likewise.
3232 * soft-fp/extended.h: Likewise.
3233 * soft-fp/op-1.h: Likewise.
3234 * soft-fp/op-2.h: Likewise.
3235 * soft-fp/op-4.h: Likewise.
3236 * soft-fp/op-8.h: Likewise.
3237 * soft-fp/testit.c: Likewise.
3238 * stdio-common/bug16.c: Likewise.
3239 * stdlib/random.c: Likewise.
3240 * sunrpc/rpcsvc/rquota.x: Likewise.
3241 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3246 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3248 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3249 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3250 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3251 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3252 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3270 * sysdeps/ieee754/s_lib_version.c: Likewise.
3271 * sysdeps/mach/hurd/check_fds.c: Likewise.
3272 * sysdeps/mach/hurd/getsockname.c: Likewise.
3273 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3274 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3275 * sysdeps/powerpc/bits/link.h: Likewise.
3276 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3277 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3278 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3279 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3280 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3281 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3282 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3283 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3284 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3285 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3286 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3287 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3288 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3289 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3290 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3291 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3295 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3297 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3299 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3300 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3301 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3302 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3303 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3305 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3306 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3307 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3309 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3310 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3311 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3312 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3314 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3315 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3316 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3317 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3319 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3320 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3321 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3323 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3324 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3328 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3329 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3330 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3331 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3332 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3335 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3336 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3338 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3339 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3340 * sysdeps/powerpc/sysdep.h: Likewise.
3341 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3342 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3343 * sysdeps/sh/dl-trampoline.S: Likewise.
3344 * sysdeps/sh/memset.S: Likewise.
3345 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3346 * sysdeps/sh/strlen.S: Likewise.
3347 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3348 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3349 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3350 * sysdeps/sparc/sparc32/rem.S: Likewise.
3351 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3352 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3353 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3354 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3355 * sysdeps/sparc/sparc32/urem.S: Likewise.
3356 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3357 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3358 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3359 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3360 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3361 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3362 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3363 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3364 * sysdeps/unix/bsd/times.c: Likewise.
3365 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3366 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3371 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3373 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3374 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3375 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3376 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3377 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3378 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3379 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3380 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3381 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3382 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3383 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3384 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3385 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3386 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3387 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3388 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3389 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3390 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3391 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3392 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3393 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3394 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3395 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3396 * sysdeps/x86_64/strcspn.S: Likewise.
3398 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3400 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3401 generated file. Regenerate properly from gen-translit.pl.
3402 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3403 locale/C-translit.h.
3405 2013-06-05 Andreas Schwab <schwab@suse.de>
3408 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3409 week as 6 instead of -1.
3410 * time/tst-strptime.c (day_tests): Add test case.
3412 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3414 * sysdeps/generic/math_private.h
3415 (libc_feholdexcept_setround_53bit): Replace with
3416 libc_feholdsetround_53bit.
3417 (libc_feupdateenv_53bit): Replace with
3418 libc_feresetround_53bit.
3419 (SET_RESTORE_ROUND_53BIT): Adjust.
3421 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3423 * string/test-strchrnul.c: Add copyright header.
3425 * posix/tst-getaddrinfo4.c: Increase test timeout.
3427 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3430 * math/libm-test.inc (MAX_EXP): Remove
3432 (ulp): Use MIN_EXP - MANT_DIG.
3433 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3435 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3437 * po/be.po: Revert last change.
3438 * po/zh_CN.po: Likewise.
3439 * po/header.pot: Likewise.
3441 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3443 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3444 link-libc-deps to empty as target-specific variable.
3445 * Makerules (link-libc-args): New variable.
3446 (libc-for-link): Likewise.
3447 (link-libc-deps): Likewise.
3448 (lib%.so): Depend on $(link-libc-deps). Link with
3450 (build-module): Link with $(link-libc-args).
3451 (build-module-asneeded): Likewise.
3452 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3454 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3455 target-specific variable.
3456 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3457 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3458 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3460 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3462 ($(objpfx)libpcprofile.so): Likewise.
3463 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3465 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3466 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3467 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3469 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3470 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3471 * login/Makefile ($(objpfx)libutil.so): Likewise.
3472 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3473 * math/Makefile ($(objpfx)libm.so): Likewise.
3474 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3475 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3476 variable instead of depending directly on libc.
3477 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3478 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3480 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3482 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3483 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3484 ($(objpfx)libanl.so): Likewise.
3485 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3487 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3489 * sysdeps/i386/fpu/Makefile: Remove file.
3490 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3491 ($(objpfx)libm.so): Remove dependency on ld.so.
3493 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3496 * nis/yp_xdr.c (XDRMAXNAME): Define.
3497 (XDRMAXRECORD): Define.
3498 (xdr_domainname): Use XDRMAXNAME.
3499 (xdr_mapname): Likewise.
3500 (xdr_peername): Likewise.
3501 (xdr_keydat): Use XDRMAXRECORD.
3502 (xdr_valdat): Likewise.
3504 2013-05-30 Jeff Law <law@redhat.com>
3507 * manual/errno.texi (ESTALE): Update to account for more than
3508 just NFS file systems.
3509 * sysdeps/gnu/errlist.c: Regenerated.
3511 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3514 * elf/Makefile (tests): Add tst-null-argv.
3515 (modules-names): Add tst-null-argv-lib.
3516 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3517 (tst-null-argv-ENV): Set environment for tst-null-argv.
3518 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3519 (RTLD_PROGNAME): New macro.
3520 * elf/tst-null-argv.c: New test case.
3521 * elf/tst-null-argv-lib.c: Library for test case.
3522 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3523 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3524 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3525 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3526 * elf/dl-init.c (call_init): Likewise.
3527 (_dl_init): Likewise.
3528 * elf/dl-load.c (print_search_path): Likewise.
3529 (_dl_map_object): Likewise.
3530 * elf/dl-lookup.c (do_lookup_x): Likewise.
3531 (add_dependency): Likewise.
3532 (_dl_lookup_symbol_x): Likewise.
3533 (_dl_debug_bindings): Likewise.
3534 * elf/dl-open.c (_dl_show_scope): Likewise.
3535 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3536 * elf/dl-version.c (match_symbol): Likewise.
3537 (_dl_check_map_versions): Likewise.
3538 * elf/rtld.c (dl_main): Likewise.
3539 (print_unresolved): Use RTLD_PROGNAME.
3540 (print_missing_version): Likewise.
3541 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3542 (elf_machine_rela): Likewise.
3543 * sysdeps/powerpc/powerpc32/dl-machine.c
3544 (__process_machine_rela): Likewise.
3545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3547 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3549 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3551 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3558 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3560 * po/be.po: Add descriptive title.
3561 * po/zh_CN.po: Likewise.
3562 * po/header.pot: Likewise.
3564 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3566 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3568 (enlarge_archive): Likewise.
3570 2013-05-28 Ben North <ben@redfrontdoor.org>
3572 * manual/arith.texi (frexp): It is the magnitude of the return
3573 value which lies in [0.5, 1), not the return value itself.
3575 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3579 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3581 * stdio-common/bug26.c (main): Correct fscanf template.
3583 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3584 declare _dl_skip_args.
3586 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3589 * manual/platform.texi: Add missing @end deftypefun.
3591 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3594 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3595 bit of mantissa of 2^16382.
3596 * math/libm-test.inc (hypot_test_data): Add more tests.
3598 * math/libm-test.inc: Add drem and pow10 to list of tested
3600 (pow10_test): New function.
3601 (drem_test): Likewise.
3602 (drem_test_tonearest): Likewise.
3603 (drem_test_towardzero): Likewise.
3604 (drem_test_downward): Likewise.
3605 (drem_test_upward): Likewise.
3606 (main): Call the new functions.
3608 * math/libm-test.inc (finite_test_data): Remove.
3609 (finite_test): Run tests from isfinite_test_data.
3610 (gamma_test_data): Remove.
3611 (gamma_test): Run tests from lgamma_test_data.
3612 * sysdeps/i386/fpu/libm-test-ulps: Update.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3615 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3617 * manual/platform.texi: Add PowerPC PPR function set documentation.
3618 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3621 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3623 * math/libm-test.inc (MAX_EXP): Define.
3625 (ulp): New function.
3626 (check_float_internal): Use ULPDIFF.
3627 (cpow_test): Disable failing test.
3628 (check_ulp): Test ulp() implemetnation.
3629 (main): Call check_ulp before starting tests.
3631 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3633 * math/gen-libm-test.pl (generate_testfile): Do not handle
3634 START_DATA and END_DATA.
3635 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3637 (acos_tonearest_test_data): Likewise.
3638 (acos_towardzero_test_data): Likewise.
3639 (acos_downward_test_data): Likewise.
3640 (acos_upward_test_data): Likewise.
3641 (acosh_test_data): Likewise.
3642 (asin_test_data): Likewise.
3643 (asin_tonearest_test_data): Likewise.
3644 (asin_towardzero_test_data): Likewise.
3645 (asin_downward_test_data): Likewise.
3646 (asin_upward_test_data): Likewise.
3647 (asinh_test_data): Likewise.
3648 (atan_test_data): Likewise.
3649 (atanh_test_data): Likewise.
3650 (atan2_test_data): Likewise.
3651 (cabs_test_data): Likewise.
3652 (cacos_test_data): Likewise.
3653 (cacosh_test_data): Likewise.
3654 (carg_test_data): Likewise.
3655 (casin_test_data): Likewise.
3656 (casinh_test_data): Likewise.
3657 (catan_test_data): Likewise.
3658 (catanh_test_data): Likewise.
3659 (cbrt_test_data): Likewise.
3660 (ccos_test_data): Likewise.
3661 (ccosh_test_data): Likewise.
3662 (ceil_test_data): Likewise.
3663 (cexp_test_data): Likewise.
3664 (cimag_test_data): Likewise.
3665 (clog_test_data): Likewise.
3666 (clog10_test_data): Likewise.
3667 (conj_test_data): Likewise.
3668 (copysign_test_data): Likewise.
3669 (cos_test_data): Likewise.
3670 (cos_tonearest_test_data): Likewise.
3671 (cos_towardzero_test_data): Likewise.
3672 (cos_downward_test_data): Likewise.
3673 (cos_upward_test_data): Likewise.
3674 (cosh_test_data): Likewise.
3675 (cosh_tonearest_test_data): Likewise.
3676 (cosh_towardzero_test_data): Likewise.
3677 (cosh_downward_test_data): Likewise.
3678 (cosh_upward_test_data): Likewise.
3679 (cpow_test_data): Likewise.
3680 (cproj_test_data): Likewise.
3681 (creal_test_data): Likewise.
3682 (csin_test_data): Likewise.
3683 (csinh_test_data): Likewise.
3684 (csqrt_test_data): Likewise.
3685 (ctan_test_data): Likewise.
3686 (ctan_tonearest_test_data): Likewise.
3687 (ctan_towardzero_test_data): Likewise.
3688 (ctan_downward_test_data): Likewise.
3689 (ctan_upward_test_data): Likewise.
3690 (ctanh_test_data): Likewise.
3691 (ctanh_tonearest_test_data): Likewise.
3692 (ctanh_towardzero_test_data): Likewise.
3693 (ctanh_downward_test_data): Likewise.
3694 (ctanh_upward_test_data): Likewise.
3695 (erf_test_data): Likewise.
3696 (erfc_test_data): Likewise.
3697 (exp_test_data): Likewise.
3698 (exp_tonearest_test_data): Likewise.
3699 (exp_towardzero_test_data): Likewise.
3700 (exp_downward_test_data): Likewise.
3701 (exp_upward_test_data): Likewise.
3702 (exp10_test_data): Likewise.
3703 (exp2_test_data): Likewise.
3704 (expm1_test_data): Likewise.
3705 (fabs_test_data): Likewise.
3706 (fdim_test_data): Likewise.
3707 (finite_test_data): Likewise.
3708 (floor_test_data): Likewise.
3709 (fma_test_data): Likewise.
3710 (fma_towardzero_test_data): Likewise.
3711 (fma_downward_test_data): Likewise.
3712 (fma_upward_test_data): Likewise.
3713 (fmax_test_data): Likewise.
3714 (fmin_test_data): Likewise.
3715 (fmod_test_data): Likewise.
3716 (fpclassify_test_data): Likewise.
3717 (frexp_test_data): Likewise.
3718 (gamma_test_data): Likewise.
3719 (hypot_test_data): Likewise.
3720 (ilogb_test_data): Likewise.
3721 (isfinite_test_data): Likewise.
3722 (isgreater_test_data): Likewise.
3723 (isgreaterequal_test_data): Likewise.
3724 (isinf_test_data): Likewise.
3725 (isless_test_data): Likewise.
3726 (islessequal_test_data): Likewise.
3727 (islessgreater_test_data): Likewise.
3728 (isnan_test_data): Likewise.
3729 (isnormal_test_data): Likewise.
3730 (issignaling_test_data): Likewise.
3731 (isunordered_test_data): Likewise.
3732 (j0_test_data): Likewise.
3733 (j1_test_data): Likewise.
3734 (jn_test_data): Likewise.
3735 (ldexp_test_data): Likewise.
3736 (lgamma_test_data): Likewise.
3737 (lrint_test_data): Likewise.
3738 (lrint_tonearest_test_data): Likewise.
3739 (lrint_towardzero_test_data): Likewise.
3740 (lrint_downward_test_data): Likewise.
3741 (lrint_upward_test_data): Likewise.
3742 (llrint_test_data): Likewise.
3743 (llrint_tonearest_test_data): Likewise.
3744 (llrint_towardzero_test_data): Likewise.
3745 (llrint_downward_test_data): Likewise.
3746 (llrint_upward_test_data): Likewise.
3747 (log_test_data): Likewise.
3748 (log10_test_data): Likewise.
3749 (log1p_test_data): Likewise.
3750 (log2_test_data): Likewise.
3751 (logb_test_data): Likewise.
3752 (logb_downward_test_data): Likewise.
3753 (lround_test_data): Likewise.
3754 (llround_test_data): Likewise.
3755 (modf_test_data): Likewise.
3756 (nearbyint_test_data): Likewise.
3757 (nextafter_test_data): Likewise.
3758 (nexttoward_test_data): Likewise.
3759 (pow_test_data): Likewise.
3760 (pow_tonearest_test_data): Likewise.
3761 (pow_towardzero_test_data): Likewise.
3762 (pow_downward_test_data): Likewise.
3763 (pow_upward_test_data): Likewise.
3764 (remainder_test_data): Likewise.
3765 (remainder_tonearest_test_data): Likewise.
3766 (remainder_towardzero_test_data): Likewise.
3767 (remainder_downward_test_data): Likewise.
3768 (remainder_upward_test_data): Likewise.
3769 (remquo_test_data): Likewise.
3770 (rint_test_data): Likewise.
3771 (rint_tonearest_test_data): Likewise.
3772 (rint_towardzero_test_data): Likewise.
3773 (rint_downward_test_data): Likewise.
3774 (rint_upward_test_data): Likewise.
3775 (round_test_data): Likewise.
3776 (scalb_test_data): Likewise.
3777 (scalbn_test_data): Likewise.
3778 (scalbln_test_data): Likewise.
3779 (signbit_test_data): Likewise.
3780 (sin_test_data): Likewise.
3781 (sin_tonearest_test_data): Likewise.
3782 (sin_towardzero_test_data): Likewise.
3783 (sin_downward_test_data): Likewise.
3784 (sin_upward_test_data): Likewise.
3785 (sincos_test_data): Likewise.
3786 (sinh_test_data): Likewise.
3787 (sinh_tonearest_test_data): Likewise.
3788 (sinh_towardzero_test_data): Likewise.
3789 (sinh_downward_test_data): Likewise.
3790 (sinh_upward_test_data): Likewise.
3791 (sqrt_test_data): Likewise.
3792 (tan_test_data): Likewise.
3793 (tan_tonearest_test_data): Likewise.
3794 (tan_towardzero_test_data): Likewise.
3795 (tan_downward_test_data): Likewise.
3796 (tan_upward_test_data): Likewise.
3797 (tanh_test_data): Likewise.
3798 (tgamma_test_data): Likewise.
3799 (trunc_test_data): Likewise.
3800 (y0_test_data): Likewise.
3801 (y1_test_data): Likewise.
3802 (yn_test_data): Likewise.
3803 (significand_test_data): Likewise.
3805 * math/gen-libm-test.pl (@functions): Remove variable.
3806 (generate_testfile): Don't handle START and END lines.
3807 * math/libm-test.inc (START): New macro.
3809 (END_COMPLEX): Likewise.
3810 (acos_test): Use END macro without arguments.
3811 (acos_test_tonearest): Likewise.
3812 (acos_test_towardzero): Likewise.
3813 (acos_test_downward): Likewise.
3814 (acos_test_upward): Likewise.
3815 (acosh_test): Likewise.
3816 (asin_test): Likewise.
3817 (asin_test_tonearest): Likewise.
3818 (asin_test_towardzero): Likewise.
3819 (asin_test_downward): Likewise.
3820 (asin_test_upward): Likewise.
3821 (asinh_test): Likewise.
3822 (atan_test): Likewise.
3823 (atanh_test): Likewise.
3824 (atan2_test): Likewise.
3825 (cabs_test): Likewise.
3826 (cacos_test): Use END_COMPLEX macro without arguments.
3827 (cacosh_test): Likewise.
3828 (carg_test): Use END macro without arguments.
3829 (casin_test): Use END_COMPLEX macro without arguments.
3830 (casinh_test): Likewise.
3831 (catan_test): Likewise.
3832 (catanh_test): Likewise.
3833 (cbrt_test): Use END macro without arguments.
3834 (ccos_test): Use END_COMPLEX macro without arguments.
3835 (ccosh_test): Likewise.
3836 (ceil_test): Use END macro without arguments.
3837 (cexp_test): Use END_COMPLEX macro without arguments.
3838 (cimag_test): Use END macro without arguments.
3839 (clog_test): Use END_COMPLEX macro without arguments.
3840 (clog10_test): Likewise.
3841 (conj_test): Likewise.
3842 (copysign_test): Use END macro without arguments.
3843 (cos_test): Likewise.
3844 (cos_test_tonearest): Likewise.
3845 (cos_test_towardzero): Likewise.
3846 (cos_test_downward): Likewise.
3847 (cos_test_upward): Likewise.
3848 (cosh_test): Likewise.
3849 (cosh_test_tonearest): Likewise.
3850 (cosh_test_towardzero): Likewise.
3851 (cosh_test_downward): Likewise.
3852 (cosh_test_upward): Likewise.
3853 (cpow_test): Use END_COMPLEX macro without arguments.
3854 (cproj_test): Likewise.
3855 (creal_test): Use END macro without arguments.
3856 (csin_test): Use END_COMPLEX macro without arguments.
3857 (csinh_test): Likewise.
3858 (csqrt_test): Likewise.
3859 (ctan_test): Likewise.
3860 (ctan_test_tonearest): Likewise.
3861 (ctan_test_towardzero): Likewise.
3862 (ctan_test_downward): Likewise.
3863 (ctan_test_upward): Likewise.
3864 (ctanh_test): Likewise.
3865 (ctanh_test_tonearest): Likewise.
3866 (ctanh_test_towardzero): Likewise.
3867 (ctanh_test_downward): Likewise.
3868 (ctanh_test_upward): Likewise.
3869 (erf_test): Use END macro without arguments.
3870 (erfc_test): Likewise.
3871 (exp_test): Likewise.
3872 (exp_test_tonearest): Likewise.
3873 (exp_test_towardzero): Likewise.
3874 (exp_test_downward): Likewise.
3875 (exp_test_upward): Likewise.
3876 (exp10_test): Likewise.
3877 (exp2_test): Likewise.
3878 (expm1_test): Likewise.
3879 (fabs_test): Likewise.
3880 (fdim_test): Likewise.
3881 (finite_test): Likewise.
3882 (floor_test): Likewise.
3883 (fma_test): Likewise.
3884 (fma_test_towardzero): Likewise.
3885 (fma_test_downward): Likewise.
3886 (fma_test_upward): Likewise.
3887 (fmax_test): Likewise.
3888 (fmin_test): Likewise.
3889 (fmod_test): Likewise.
3890 (fpclassify_test): Likewise.
3891 (frexp_test): Likewise.
3892 (gamma_test): Likewise.
3893 (hypot_test): Likewise.
3894 (ilogb_test): Likewise.
3895 (isfinite_test): Likewise.
3896 (isgreater_test): Likewise.
3897 (isgreaterequal_test): Likewise.
3898 (isinf_test): Likewise.
3899 (isless_test): Likewise.
3900 (islessequal_test): Likewise.
3901 (islessgreater_test): Likewise.
3902 (isnan_test): Likewise.
3903 (isnormal_test): Likewise.
3904 (issignaling_test): Likewise.
3905 (isunordered_test): Likewise.
3906 (j0_test): Likewise.
3907 (j1_test): Likewise.
3908 (jn_test): Likewise.
3909 (ldexp_test): Likewise.
3910 (lgamma_test): Likewise.
3911 (lrint_test): Likewise.
3912 (lrint_test_tonearest): Likewise.
3913 (lrint_test_towardzero): Likewise.
3914 (lrint_test_downward): Likewise.
3915 (lrint_test_upward): Likewise.
3916 (llrint_test): Likewise.
3917 (llrint_test_tonearest): Likewise.
3918 (llrint_test_towardzero): Likewise.
3919 (llrint_test_downward): Likewise.
3920 (llrint_test_upward): Likewise.
3921 (log_test): Likewise.
3922 (log10_test): Likewise.
3923 (log1p_test): Likewise.
3924 (log2_test): Likewise.
3925 (logb_test): Likewise.
3926 (logb_test_downward): Likewise.
3927 (lround_test): Likewise.
3928 (llround_test): Likewise.
3929 (modf_test): Likewise.
3930 (nearbyint_test): Likewise.
3931 (nextafter_test): Likewise.
3932 (nexttoward_test): Likewise.
3933 (pow_test): Likewise.
3934 (pow_test_tonearest): Likewise.
3935 (pow_test_towardzero): Likewise.
3936 (pow_test_downward): Likewise.
3937 (pow_test_upward): Likewise.
3938 (remainder_test): Likewise.
3939 (remainder_test_tonearest): Likewise.
3940 (remainder_test_towardzero): Likewise.
3941 (remainder_test_downward): Likewise.
3942 (remainder_test_upward): Likewise.
3943 (remquo_test): Likewise.
3944 (rint_test): Likewise.
3945 (rint_test_tonearest): Likewise.
3946 (rint_test_towardzero): Likewise.
3947 (rint_test_downward): Likewise.
3948 (rint_test_upward): Likewise.
3949 (round_test): Likewise.
3950 (scalb_test): Likewise.
3951 (scalbn_test): Likewise.
3952 (scalbln_test): Likewise.
3953 (signbit_test): Likewise.
3954 (sin_test): Likewise.
3955 (sin_test_tonearest): Likewise.
3956 (sin_test_towardzero): Likewise.
3957 (sin_test_downward): Likewise.
3958 (sin_test_upward): Likewise.
3959 (sincos_test): Likewise.
3960 (sinh_test): Likewise.
3961 (sinh_test_tonearest): Likewise.
3962 (sinh_test_towardzero): Likewise.
3963 (sinh_test_downward): Likewise.
3964 (sinh_test_upward): Likewise.
3965 (sqrt_test): Likewise.
3966 (tan_test): Likewise.
3967 (tan_test_tonearest): Likewise.
3968 (tan_test_towardzero): Likewise.
3969 (tan_test_downward): Likewise.
3970 (tan_test_upward): Likewise.
3971 (tanh_test): Likewise.
3972 (tgamma_test): Likewise.
3973 (trunc_test): Likewise.
3974 (y0_test): Likewise.
3975 (y1_test): Likewise.
3976 (yn_test): Likewise.
3977 (significand_test): Likewise.
3979 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3982 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3984 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3987 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3988 __ppc_mdoio and __ppc_mdoom.
3989 * manual/platform.texi: Document new functions __ppc_yield,
3990 __ppc_mdoio and __ppc_mdoom.
3992 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3994 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3995 (main): Mention "tls" pseudo-hwcap is legacy.
3996 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3998 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4000 * math/gen-libm-test.pl (parse_args): Output only string of
4001 arguments as text for test name, not full call or descriptions of
4002 tests for extra outputs.
4003 (generate_testfile): Do not pass function name to parse_args.
4004 Generate this_func variable from START.
4005 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4007 (struct test_ff_f_data): Likewise.
4008 (test_ff_f_data_nexttoward): Likewise.
4009 (struct test_fi_f_data): Likewise.
4010 (struct test_fl_f_data): Likewise.
4011 (struct test_if_f_data): Likewise.
4012 (struct test_fff_f_data): Likewise.
4013 (struct test_c_f_data): Likewise.
4014 (struct test_f_f1_data): Likewise. Remove field extra_name.
4015 (struct test_fF_f1_data): Likewise.
4016 (struct test_ffI_f1_data): Likewise.
4017 (struct test_c_c_data): Rename test_name field to arg_str.
4018 (struct test_cc_c_data): Likewise.
4019 (struct test_f_i_data): Likewise.
4020 (struct test_ff_i_data): Likewise.
4021 (struct test_f_l_data): Likewise.
4022 (struct test_f_L_data): Likewise.
4023 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4025 (COMMON_TEST_SETUP): New macro.
4026 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4027 (COMMON_TEST_CLEANUP): Likewise.
4028 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4029 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4031 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4032 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4034 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4035 (RUN_TEST_fff_f): Take argument string. Call new setup and
4037 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4038 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4040 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4041 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4043 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4044 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4046 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4047 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4049 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4050 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4052 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4053 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4055 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4056 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4058 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4059 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4061 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4062 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4064 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4065 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4067 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4068 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4070 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4071 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4073 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4074 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4076 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4077 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4079 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4080 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4082 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4084 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4086 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4087 to _sifields.sigfault.
4088 (si_addr_lsb): Define new macro.
4089 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4090 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4091 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4093 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4096 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4098 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4100 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4103 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4105 * math/gen-libm-test.pl (parse_args): Do not include expected
4106 result in test name.
4107 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4109 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4111 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4114 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4116 * benchtests/Makefile: Sort function entries.
4118 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4119 tanh, asinh, acosh, atanh.
4120 * benchtests/acos-inputs: New file.
4121 * benchtests/acosh-inputs: New file.
4122 * benchtests/asin-inputs: New file.
4123 * benchtests/asinh-inputs: New file.
4124 * benchtests/atanh-inputs: New file.
4125 * benchtests/cosh-inputs: New file.
4126 * benchtests/log-inputs: New file.
4127 * benchtests/sinh-inputs: New file.
4128 * benchtests/tanh-inputs: New file.
4130 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4133 * posix/tst-getaddrinfo4.c: New test.
4134 * posix/Makefile (tests): Add it.
4136 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4139 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4140 when no services were used.
4141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4142 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4144 2013-05-21 Andreas Schwab <schwab@suse.de>
4147 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4148 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4150 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4151 redundant variable declarations and reallocation of buffer when
4152 parsing as IPv6 address. Always set NSS status when called from
4153 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4154 buffer too small. Correct computation of needed size.
4155 * nss/Makefile (tests): Add test-digits-dots.
4156 * nss/test-digits-dots.c: New test.
4158 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4160 * benchtests/Makefile: Remove instructions for adding
4162 * benchtests/README: New file to explain how to execute and
4163 enhance the benchmark tests.
4165 2013-05-21 Andreas Schwab <schwab@suse.de>
4168 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4169 * setjmp/tst-sigsetjmp.c: New test.
4171 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4173 * sysdeps/x86_64/memset.S (memset): New implementation.
4174 (__bzero): Likewise.
4175 (__memset_tail): New function.
4177 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4179 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4180 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4181 __memcpy_sse2_unaligned ifunc selection.
4182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4183 Add memcpy-sse2-unaligned.S.
4184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4185 Add: __memcpy_sse2_unaligned.
4187 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4190 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4191 math_force_eval before restoring floating-point envrionment.
4192 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4197 (__nearbyintl): Use math_force_eval before restoring
4198 floating-point environment.
4199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4201 * math/gen-libm-test.pl (special_functions): Remove.
4202 (parse_args): Don't handle TEST_extra. Handle functions with no
4204 * math/libm-test.inc (struct test_sincos_data): Replace with
4205 struct test_fFF_11_data.
4206 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4207 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4208 (sincos_test_data): Change element type to struct
4209 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4210 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4211 RUN_TEST_LOOP_sincos.
4212 * math/README.libm-test: Don't mention special handling of
4213 individual functions.
4214 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4216 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4217 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4218 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221 * math/gen-libm-test.pl (get_variable): Remove function.
4222 (parse_args): Don't show pointer parameters to call in test
4223 names. Use "extra output N" in test names for extra outputs
4224 rather than naming variables.
4226 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4229 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4230 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4231 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4233 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4235 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4238 * math/gen-libm-test.pl (@tests): Remove variable.
4240 (new_test): Remove function.
4241 (show_exceptions): New function.
4242 (special_functions): Use show_exceptions instead of new_test.
4243 (parse_args): Likewise.
4244 (generate_testfile): Pass only function name in generated call to
4245 print_max_error or print_complex_max_error.
4246 (get_ulps): Do not handle complex tests specially.
4247 (output_test): Rename to ...
4248 (get_all_ulps_for_test): ... this. Return a string rather than
4249 printing to a file. Require ulps to be present.
4250 (output_ulps): Generate arrays rather than #defines.
4251 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4252 (struct ulp_data): New type.
4253 (BUILD_COMPLEX_ULP): Remove macro.
4254 (compare_ulp_data): New function.
4255 (find_ulps): Likewise.
4256 (find_test_ulps): Likewise.
4257 (find_function_ulps): Likewise.
4258 (find_complex_function_ulps): Likewise.
4259 (print_max_error): Determine allowed ulps using
4261 (print_complex_max_error): Determine allowed ulps using
4262 find_complex_function_ulps.
4263 (check_float_internal): Determine max ulps using find_test_ulps.
4264 (check_float): Do not take max_ulp parameter. Update call to
4265 check_float_internal.
4266 (check_complex): Likewise.
4267 (check_int): Do not take max_ulp parameter.
4268 (check_long): Likewise.
4269 (check_bool): Likewise.
4270 (check_longlong): Likewise.
4271 (struct test_f_f_data): Remove max_ulp field.
4272 (struct test_ff_f_data): Likewise.
4273 (struct test_ff_f_data_nexttoward): Likewise.
4274 (struct test_fi_f_data): Likewise.
4275 (struct test_fl_f_data): Likewise.
4276 (struct test_if_f_data): Likewise.
4277 (struct test_fff_f_data): Likewise.
4278 (struct test_c_f_data): Likewise.
4279 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4280 (struct test_fF_f1_data): Likewise.
4281 (struct test_ffI_f1_data): Likewise.
4282 (struct test_c_c_data): Remove max_ulp field.
4283 (struct test_cc_c_data): Likewise.
4284 (struct test_f_i_data): Likewise.
4285 (struct test_ff_i_data): Likewise.
4286 (struct test_f_l_data): Likewise.
4287 (struct test_f_L_data): Likewise.
4288 (struct test_sincos_data): Likewise.
4289 (RUN_TEST_f_f): Do not handle ulps.
4290 (RUN_TEST_LOOP_f_f): Likewise.
4291 (RUN_TEST_2_f): Likewise.
4292 (RUN_TEST_LOOP_2_f): Likewise.
4293 (RUN_TEST_fff_f): Likewise.
4294 (RUN_TEST_LOOP_fff_f): Likewise.
4295 (RUN_TEST_c_f): Likewise.
4296 (RUN_TEST_LOOP_c_f): Likewise.
4297 (RUN_TEST_f_f1): Likewise.
4298 (RUN_TEST_LOOP_f_f1): Likewise.
4299 (RUN_TEST_fF_f1): Likewise.
4300 (RUN_TEST_LOOP_fF_f1): Likewise.
4301 (RUN_TEST_fI_f1): Likewise.
4302 (RUN_TEST_LOOP_fI_f1): Likewise.
4303 (RUN_TEST_ffI_f1): Likewise.
4304 (RUN_TEST_LOOP_ffI_f1): Likewise.
4305 (RUN_TEST_c_c): Likewise.
4306 (RUN_TEST_LOOP_c_c): Likewise.
4307 (RUN_TEST_cc_c): Likewise.
4308 (RUN_TEST_LOOP_cc_c): Likewise.
4309 (RUN_TEST_f_i): Likewise.
4310 (RUN_TEST_LOOP_f_i): Likewise.
4311 (RUN_TEST_f_i_tg): Likewise.
4312 (RUN_TEST_LOOP_f_i_tg): Likewise.
4313 (RUN_TEST_ff_i_tg): Likewise.
4314 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4315 (RUN_TEST_f_b): Likewise.
4316 (RUN_TEST_LOOP_f_b): Likewise.
4317 (RUN_TEST_f_b_tg): Likewise.
4318 (RUN_TEST_LOOP_f_b_tg): Likewise.
4319 (RUN_TEST_f_l): Likewise.
4320 (RUN_TEST_LOOP_f_l): Likewise.
4321 (RUN_TEST_f_L): Likewise.
4322 (RUN_TEST_LOOP_f_L): Likewise.
4323 (RUN_TEST_sincos): Likewise.
4324 (RUN_TEST_LOOP_sincos): Likewise.
4326 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4330 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4331 main case of finite arguments, set rounding mode to FE_TONEAREST
4332 and discard exceptions.
4333 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4335 (remainder_tonearest_test_data): New variable.
4336 (remainder_test_tonearest): New function.
4337 (remainder_towardzero_test_data): New variable.
4338 (remainder_test_towardzero): New function.
4339 (remainder_downward_test_data): New variable.
4340 (remainder_test_downward): New function.
4341 (remainder_upward_test_data): New variable.
4342 (remainder_test_upward): New function.
4343 (main): Call the new test functions.
4345 * math/libm-test.inc (struct test_f_f1_data): Remove field
4347 (struct test_fF_f1_data): Likewise.
4348 (struct test_ffI_f1_data): Likewise.
4349 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4350 based on value of EXTRA_EXPECTED.
4351 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4352 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4353 EXTRA_VAR based on value of EXTRA_EXPECTED.
4354 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4355 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4356 EXTRA_VAR based on value of EXTRA_EXPECTED.
4357 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4358 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4359 EXTRA_VAR based on value of EXTRA_EXPECTED.
4360 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4361 * math/gen-libm-test.pl (parse_args): Don't output initializers
4362 for extra output values.
4364 * math/libm-test.inc (check_int): Expect result to be exactly
4365 equal to expected value and do not handle ulps.
4366 (check_long): Likewise.
4367 (check_longlong): Likewise.
4369 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4371 (cimag_test_data): Likewise.
4372 (conj_test_data): Likewise.
4373 (copysign_test_data): Likewise.
4374 (cproj_test_data): Likewise.
4375 (creal_test_data): Likewise.
4376 (fabs_test_data): Likewise.
4377 (fdim_test_data): Likewise.
4378 (finite_test_data): Likewise.
4379 (floor_test_data): Likewise.
4380 (fmax_test_data): Likewise.
4381 (fmin_test_data): Likewise.
4382 (fmod_test_data): Likewise.
4383 (fpclassify_test_data): Likewise.
4384 (frexp_test_data): Likewise.
4385 (ilogb_test_data): Likewise.
4386 (isfinite_test_data): Likewise.
4387 (isgreater_test_data): Likewise.
4388 (isgreaterequal_test_data): Likewise.
4389 (isinf_test_data): Likewise.
4390 (isless_test_data): Likewise.
4391 (islessequal_test_data): Likewise.
4392 (islessgreater_test_data): Likewise.
4393 (isnan_test_data): Likewise.
4394 (isnormal_test_data): Likewise.
4395 (issignaling_test_data): Likewise.
4396 (isunordered_test_data): Likewise.
4397 (ldexp_test_data): Likewise.
4398 (lrint_test_data): Likewise.
4399 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4400 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4401 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4402 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4403 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4404 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4406 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4407 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4408 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4409 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4411 (lrint_downward_test_data): Test for "inexact" exceptions.
4412 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4413 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4414 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4416 (lrint_upward_test_data): Test for "inexact" exceptions.
4417 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4419 (llrint_test_data): Test for "inexact" exceptions.
4420 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4421 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4422 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4423 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4424 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4425 (llrint_downward_test_data): Test for "inexact" exceptions.
4426 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4427 (llrint_upward_test_data): Test for "inexact" exceptions.
4428 (logb_test_data): Likewise.
4429 (logb_downward_test_data): Likewise.
4430 (nextafter_test_data): Likewise.
4431 (nexttoward_test_data): Likewise.
4432 (remainder_test_data): Likewise.
4433 (remquo_test_data): Likewise.
4434 (scalbn_test_data): Likewise.
4435 (scalbln_test_data): Likewise.
4436 (signbit_test_data): Likewise.
4437 (sqrt_test_data): Likewise.
4438 (significand_test_data): Likewise.
4440 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4443 * benchtests/bench-modf.c (struct args): Mark arg0 as
4445 * scripts/bench.pl: Mark members of struct args as volatile.
4447 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4450 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4451 negative infinity on POWER6 or lower.
4452 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4454 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4457 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4458 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4459 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4460 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4461 (_FP_SETQNAN): New macro.
4462 (_FP_SETQNAN_SEMIRAW): Likewise.
4463 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4464 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4465 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4466 (FP_EXTEND): Use _FP_FRAC_SNANP.
4467 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4468 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4475 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4477 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4478 with DIVIDE_BY_ZERO_EXCEPTION.
4479 (gamma_test_data): Likewise.
4480 (lgamma_test_data): Likewise.
4481 (log_test_data): Likewise.
4482 (log10_test_data): Likewise.
4483 (log2_test_data): Likewise.
4484 (tgamma_test_data): Likewise.
4486 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4487 (acos_test_tonearest): Likewise.
4488 (acos_test_towardzero): Likewise.
4489 (acos_test_downward): Likewise.
4490 (acos_test_upward): Likewise.
4491 (acosh_test): Likewise.
4492 (asin_test): Likewise.
4493 (asin_test_tonearest): Likewise.
4494 (asin_test_towardzero): Likewise.
4495 (asin_test_downward): Likewise.
4496 (asin_test_upward): Likewise.
4497 (asinh_test): Likewise.
4498 (atan_test): Likewise.
4499 (atanh_test): Likewise.
4500 (atan2_test): Likewise.
4501 (cabs_test): Likewise.
4502 (cacos_test): Likewise.
4503 (cacosh_test): Likewise.
4504 (casin_test): Likewise.
4505 (casinh_test): Likewise.
4506 (catan_test): Likewise.
4507 (catanh_test): Likewise.
4508 (cbrt_test): Likewise.
4509 (ccos_test): Likewise.
4510 (ccosh_test): Likewise.
4511 (cexp_test): Likewise.
4512 (clog_test): Likewise.
4513 (clog10_test): Likewise.
4514 (cos_test): Likewise.
4515 (cos_test_tonearest): Likewise.
4516 (cos_test_towardzero): Likewise.
4517 (cos_test_downward): Likewise.
4518 (cos_test_upward): Likewise.
4519 (cosh_test): Likewise.
4520 (cosh_test_tonearest): Likewise.
4521 (cosh_test_towardzero): Likewise.
4522 (cosh_test_downward): Likewise.
4523 (cosh_test_upward): Likewise.
4524 (cpow_test): Likewise.
4525 (csin_test): Likewise.
4526 (csinh_test): Likewise.
4527 (csqrt_test): Likewise.
4528 (ctan_test): Likewise.
4529 (ctan_test_tonearest): Likewise.
4530 (ctan_test_towardzero): Likewise.
4531 (ctan_test_downward): Likewise.
4532 (ctan_test_upward): Likewise.
4533 (ctanh_test): Likewise.
4534 (ctanh_test_tonearest): Likewise.
4535 (ctanh_test_towardzero): Likewise.
4536 (ctanh_test_downward): Likewise.
4537 (ctanh_test_upward): Likewise.
4538 (erf_test): Likewise.
4539 (erfc_test): Likewise.
4540 (exp_test): Likewise.
4541 (exp_test_tonearest): Likewise.
4542 (exp_test_towardzero): Likewise.
4543 (exp_test_downward): Likewise.
4544 (exp_test_upward): Likewise.
4545 (exp10_test): Likewise.
4546 (exp2_test): Likewise.
4547 (expm1_test): Likewise.
4548 (fmod_test): Likewise.
4549 (gamma_test): Likewise.
4550 (hypot_test): Likewise.
4551 (j0_test): Likewise.
4552 (j1_test): Likewise.
4553 (jn_test): Likewise.
4554 (lgamma_test): Likewise.
4555 (log_test): Likewise.
4556 (log10_test): Likewise.
4557 (log1p_test): Likewise.
4558 (log2_test): Likewise.
4559 (logb_test_downward): Likewise.
4560 (pow_test): Likewise.
4561 (pow_test_tonearest): Likewise.
4562 (pow_test_towardzero): Likewise.
4563 (pow_test_downward): Likewise.
4564 (pow_test_upward): Likewise.
4565 (remainder_test): Likewise.
4566 (remquo_test): Likewise.
4567 (sin_test): Likewise.
4568 (sin_test_tonearest): Likewise.
4569 (sin_test_towardzero): Likewise.
4570 (sin_test_downward): Likewise.
4571 (sin_test_upward): Likewise.
4572 (sincos_test): Likewise.
4573 (sinh_test): Likewise.
4574 (sinh_test_tonearest): Likewise.
4575 (sinh_test_towardzero): Likewise.
4576 (sinh_test_downward): Likewise.
4577 (sinh_test_upward): Likewise.
4578 (sqrt_test): Likewise.
4579 (tan_test): Likewise.
4580 (tan_test_tonearest): Likewise.
4581 (tan_test_towardzero): Likewise.
4582 (tan_test_downward): Likewise.
4583 (tan_test_upward): Likewise.
4584 (tanh_test): Likewise.
4585 (tgamma_test): Likewise.
4586 (y0_test): Likewise.
4587 (y1_test): Likewise.
4588 (yn_test): Likewise.
4590 * math/gen-libm-test.pl (adjust_arg): Remove function.
4591 (special_function): Remove argument $in_func. Only handle
4592 generating output for tables of tests, not inside functions.
4593 (parse_args): Likewise.
4594 (generate_testfile): Remove variable $in_func. Update call to
4596 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4597 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4598 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4599 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4600 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4601 (MAX_VALUE_INIT): Rename macro to max_value.
4602 (MIN_VALUE_INIT): Rename macro to min_value.
4603 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4604 (plus_zero): Remove variable.
4605 (minus_zero): Likewise.
4606 (plus_infty): Likewise.
4607 (minus_infty): Likewise.
4608 (qnan_value): Likewise.
4609 (max_value): Likewise.
4610 (min_value): Likewise.
4611 (min_subnorm_value): Likewise.
4613 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4615 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4616 uint64_t or uint32_t usage.
4617 * crypt/sha256-block.c: Likewise.
4618 * crypt/sha256-crypt.c: Likewise.
4619 * crypt/sha256.c: Likewise.
4620 * crypt/sha512-block.c: Likewise.
4621 * crypt/sha512-crypt.c: Likewise.
4622 * crypt/sha512.c: Likewise.
4623 * debug/backtrace-tst.c: Likewise.
4624 * debug/pcprofiledump.c: Likewise.
4625 * elf/cache.c: Likewise.
4626 * elf/dl-cache.c: Likewise.
4627 * elf/dl-misc.c: Likewise.
4628 * elf/dl-profile.c: Likewise.
4629 * elf/dl-support.c: Likewise.
4630 * elf/ldconfig.c: Likewise.
4631 * elf/sprof.c: Likewise.
4632 * iconv/dummy-repertoire.c: Likewise.
4633 * iconv/iconv_charmap.c: Likewise.
4634 * iconv/skeleton.c: Likewise.
4635 * iconvdata/8bit-generic.c: Likewise.
4636 * iconvdata/cp737.h: Likewise.
4637 * iconvdata/cp775.h: Likewise.
4638 * iconvdata/ibm1008.h: Likewise.
4639 * iconvdata/ibm1025.h: Likewise.
4640 * iconvdata/ibm1046.h: Likewise.
4641 * iconvdata/ibm1097.h: Likewise.
4642 * iconvdata/ibm1112.h: Likewise.
4643 * iconvdata/ibm1122.h: Likewise.
4644 * iconvdata/ibm1123.h: Likewise.
4645 * iconvdata/ibm1124.h: Likewise.
4646 * iconvdata/ibm1129.h: Likewise.
4647 * iconvdata/ibm1130.h: Likewise.
4648 * iconvdata/ibm1132.h: Likewise.
4649 * iconvdata/ibm1133.h: Likewise.
4650 * iconvdata/ibm1137.h: Likewise.
4651 * iconvdata/ibm1140.h: Likewise.
4652 * iconvdata/ibm1141.h: Likewise.
4653 * iconvdata/ibm1142.h: Likewise.
4654 * iconvdata/ibm1143.h: Likewise.
4655 * iconvdata/ibm1144.h: Likewise.
4656 * iconvdata/ibm1145.h: Likewise.
4657 * iconvdata/ibm1146.h: Likewise.
4658 * iconvdata/ibm1147.h: Likewise.
4659 * iconvdata/ibm1148.h: Likewise.
4660 * iconvdata/ibm1149.h: Likewise.
4661 * iconvdata/ibm1153.h: Likewise.
4662 * iconvdata/ibm1154.h: Likewise.
4663 * iconvdata/ibm1155.h: Likewise.
4664 * iconvdata/ibm1156.h: Likewise.
4665 * iconvdata/ibm1157.h: Likewise.
4666 * iconvdata/ibm1158.h: Likewise.
4667 * iconvdata/ibm1160.h: Likewise.
4668 * iconvdata/ibm1161.h: Likewise.
4669 * iconvdata/ibm1162.h: Likewise.
4670 * iconvdata/ibm1163.h: Likewise.
4671 * iconvdata/ibm1164.h: Likewise.
4672 * iconvdata/ibm1166.h: Likewise.
4673 * iconvdata/ibm1167.h: Likewise.
4674 * iconvdata/ibm12712.h: Likewise.
4675 * iconvdata/ibm1390.h: Likewise.
4676 * iconvdata/ibm1399.h: Likewise.
4677 * iconvdata/ibm16804.h: Likewise.
4678 * iconvdata/ibm4517.h: Likewise.
4679 * iconvdata/ibm4899.h: Likewise.
4680 * iconvdata/ibm4909.h: Likewise.
4681 * iconvdata/ibm4971.h: Likewise.
4682 * iconvdata/ibm5347.h: Likewise.
4683 * iconvdata/ibm803.h: Likewise.
4684 * iconvdata/ibm856.h: Likewise.
4685 * iconvdata/ibm901.h: Likewise.
4686 * iconvdata/ibm902.h: Likewise.
4687 * iconvdata/ibm9030.h: Likewise.
4688 * iconvdata/ibm9066.h: Likewise.
4689 * iconvdata/ibm921.h: Likewise.
4690 * iconvdata/ibm922.h: Likewise.
4691 * iconvdata/ibm9448.h: Likewise.
4692 * iconvdata/isiri-3342.h: Likewise.
4693 * iconvdata/jis0201.h: Likewise.
4694 * include/link.h: Likewise.
4695 * include/netdb.h: Likewise.
4696 * inet/check_native.c: Likewise.
4697 * inet/check_pf.c: Likewise.
4698 * inet/getipv4sourcefilter.c: Likewise.
4699 * inet/getnameinfo.c: Likewise.
4700 * inet/getsourcefilter.c: Likewise.
4701 * inet/htonl.c: Likewise.
4702 * inet/setipv4sourcefilter.c: Likewise.
4703 * inet/setsourcefilter.c: Likewise.
4704 * inet/test-inet6_opt.c: Likewise.
4705 * inet/tst-network.c: Likewise.
4706 * locale/C-collate.c: Likewise.
4707 * locale/C-ctype.c: Likewise.
4708 * locale/C-time.c: Likewise.
4709 * locale/C-translit.h: Likewise.
4710 * locale/loadarchive.c: Likewise.
4711 * locale/programs/3level.h: Likewise.
4712 * locale/programs/charmap.c: Likewise.
4713 * locale/programs/charmap.h: Likewise.
4714 * locale/programs/ld-address.c: Likewise.
4715 * locale/programs/ld-collate.c: Likewise.
4716 * locale/programs/ld-ctype.c: Likewise.
4717 * locale/programs/ld-identification.c: Likewise.
4718 * locale/programs/ld-measurement.c: Likewise.
4719 * locale/programs/ld-messages.c: Likewise.
4720 * locale/programs/ld-monetary.c: Likewise.
4721 * locale/programs/ld-name.c: Likewise.
4722 * locale/programs/ld-numeric.c: Likewise.
4723 * locale/programs/ld-paper.c: Likewise.
4724 * locale/programs/ld-telephone.c: Likewise.
4725 * locale/programs/ld-time.c: Likewise.
4726 * locale/programs/linereader.c: Likewise.
4727 * locale/programs/locale.c: Likewise.
4728 * locale/programs/locarchive.c: Likewise.
4729 * locale/programs/locfile.h: Likewise.
4730 * locale/programs/repertoire.c: Likewise.
4731 * locale/programs/simple-hash.c: Likewise.
4732 * locale/programs/simple-hash.h: Likewise.
4733 * malloc/memusage.c: Likewise.
4734 * malloc/memusagestat.c: Likewise.
4735 * nis/nis_defaults.c: Likewise.
4736 * nis/nis_hash.c: Likewise.
4737 * nis/nis_print.c: Likewise.
4738 * nis/nis_xdr.c: Likewise.
4739 * nscd/connections.c: Likewise.
4740 * nscd/hstcache.c: Likewise.
4741 * nscd/nscd_gethst_r.c: Likewise.
4742 * nscd/nscd_getserv_r.c: Likewise.
4743 * nscd/nscd_helper.c: Likewise.
4744 * nscd/servicescache.c: Likewise.
4745 * nss/makedb.c: Likewise.
4746 * nss/nss_db/db-XXX.c: Likewise.
4747 * nss/nss_db/db-initgroups.c: Likewise.
4748 * nss/nss_db/db-netgrp.c: Likewise.
4749 * nss/nss_files/files-network.c: Likewise.
4750 * nss/nss_files/files-parse.c: Likewise.
4751 * posix/bug-regex5.c: Likewise.
4752 * posix/fnmatch_loop.c: Likewise.
4753 * posix/regcomp.c: Likewise.
4754 * posix/regexec.c: Likewise.
4755 * posix/tst-rfc3484-2.c: Likewise.
4756 * posix/tst-rfc3484-3.c: Likewise.
4757 * posix/tst-rfc3484.c: Likewise.
4758 * resolv/nss_dns/dns-canon.c: Likewise.
4759 * resolv/nss_dns/dns-network.c: Likewise.
4760 * resolv/res_init.c: Likewise.
4761 * resolv/res_mkquery.c: Likewise.
4762 * resolv/tst-aton.c: Likewise.
4763 * stdlib/cxa_atexit.c: Likewise.
4764 * stdlib/cxa_finalize.c: Likewise.
4765 * stdlib/gen-fpioconst.c: Likewise.
4766 * stdlib/strtol_l.c: Likewise.
4767 * string/tst-endian.c: Likewise.
4768 * sunrpc/auth_des.c: Likewise.
4769 * sunrpc/clnt_udp.c: Likewise.
4770 * sunrpc/rtime.c: Likewise.
4771 * sunrpc/svcauth_des.c: Likewise.
4772 * sunrpc/xdr.c: Likewise.
4773 * sunrpc/xdr_intXX_t.c: Likewise.
4774 * sunrpc/xdr_rec.c: Likewise.
4775 * sysdeps/generic/ldconfig.h: Likewise.
4776 * sysdeps/generic/ldsodefs.h: Likewise.
4777 * sysdeps/generic/memusage.h: Likewise.
4778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4779 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4780 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4781 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4782 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4784 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4788 * sysdeps/posix/getaddrinfo.c: Likewise.
4789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4791 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4792 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4793 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4794 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4795 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4796 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4797 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4798 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4799 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4800 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4801 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4802 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4803 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4804 * sysdeps/x86_64/dl-tls.h: Likewise.
4805 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4806 * time/alt_digit.c: Likewise.
4807 * time/era.c: Likewise.
4808 * wcsmbs/tst-c16c32-1.c: Likewise.
4810 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4812 * math/libm-test.inc (struct test_sincos_data): New type.
4813 (RUN_TEST_LOOP_sincos): New macro.
4814 (sincos_test_data): New variable.
4815 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4817 2013-05-16 Richard Henderson <rth@redhat.com>
4819 * math/atest-exp2.c (LIMB64): New macro.
4820 (CONSTSZ): New macro.
4821 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4823 (print_mpn_fp): ... to function scope.
4824 (read_mpn_hex): Remove.
4826 (exp2_mpn): Use mp_log2.
4827 (main): Use mp_exp1.
4829 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4831 * math/libm-test.inc: Remove comment about not testing "inexact"
4833 (INEXACT_EXCEPTION): New macro.
4834 (NO_INEXACT_EXCEPTION): Likewise.
4835 (INVALID_EXCEPTION_OK): Update value.
4836 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4837 (OVERFLOW_EXCEPTION_OK): Likewise.
4838 (UNDERFLOW_EXCEPTION_OK): Likewise.
4839 (IGNORE_ZERO_INF_SIGN): Likewise.
4840 (ERRNO_UNCHANGED): Likewise.
4841 (ERRNO_EDOM): Likewise.
4842 (ERRNO_ERANGE): Likewise.
4843 (test_exceptions): Handle testing "inexact" exceptions.
4844 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4845 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4846 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4847 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4849 (rint_towardzero_test_data): Likewise.
4850 (rint_downward_test_data): Likewise.
4851 (rint_upward_test_data): Likewise.
4853 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4854 with OVERFLOW_EXCEPTION.
4855 (exp10_test_data): Likewise.
4856 (exp2_test_data): Likewise.
4857 (expm1_test_data): Likewise.
4858 (lgamma_test_data): Likewise.
4859 (pow_test_data): Likewise.
4860 (tgamma_test_data): Likewise.
4861 (yn_test_data): Remove duplicate test of overflow.
4863 * math/libm-test.inc (struct test_cc_c_data): New type.
4864 (RUN_TEST_LOOP_cc_c): New macro.
4865 (cpow_test_data): New variable.
4866 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4868 * math/libm-test.inc (struct test_f_L_data): New type.
4869 (RUN_TEST_LOOP_f_L): New macro.
4870 (llrint_test_data): New variable.
4871 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4872 (llrint_tonearest_test_data): New variable.
4873 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4874 (llrint_towardzero_test_data): New variable.
4875 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4876 (llrint_downward_test_data): New variable.
4877 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4878 (llrint_upward_test_data): New variable.
4879 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4880 (llround_test_data): New variable.
4881 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4883 2013-05-13 Peter Collingbourne <pcc@google.com>
4885 * math/atest-exp2.c (get_log2): Remove const attribute.
4887 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4889 * math/libm-test.inc (struct test_f_l_data): New type.
4890 (RUN_TEST_LOOP_f_l): New macro.
4891 (lrint_test_data): New variable.
4892 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4893 (lrint_tonearest_test_data): New variable.
4894 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4895 (lrint_towardzero_test_data): New variable.
4896 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4897 (lrint_downward_test_data): New variable.
4898 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4899 (lrint_upward_test_data): New variable.
4900 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4901 (lround_test_data): New variable.
4902 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4904 2013-05-15 Peter Collingbourne <pcc@google.com>
4906 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4907 (EXTRACT_WORDS64) Use where appropriate.
4908 (INSERT_WORDS64) Likewise.
4910 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4911 constraints with x constraints.
4912 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4914 * malloc/obstack.c (_obstack_compat): Add initializer.
4916 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4919 si_trapno and add si_addr_lsb to _sifields.sigfault.
4920 (si_trapno): Remove macro.
4921 (si_addr_lsb): Define new macro.
4922 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4924 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4926 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4927 instead of TEST_f_l.
4928 (llrint_test_tonearest): Likewise.
4929 (llrint_test_towardzero): Likewise.
4930 (llrint_test_downward): Likewise.
4931 (llrint_test_upward): Likewise.
4932 (llround_test): Likewise.
4934 * math/libm-test.inc (struct test_f_i_data): Add comment.
4935 (RUN_TEST_LOOP_f_b): New macro.
4936 (RUN_TEST_LOOP_f_b_tg): Likewise.
4937 (finite_test_data): New variable.
4938 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4939 (isfinite_test_data): New variable.
4940 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4941 (isinf_test_data): New variable.
4942 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4943 (isnan_test_data): New variable.
4944 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4945 (isnormal_test_data): New variable.
4946 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4947 (issignaling_test_data): New variable.
4948 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4949 (signbit_test_data): New variable.
4950 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4952 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4953 with INVALID_EXCEPTION.
4954 (acosh_test_data): Likewise.
4955 (asin_test_data): Likewise.
4956 (atanh_test_data): Likewise.
4957 (fmod_test_data): Likewise.
4958 (log_test_data): Likewise.
4959 (log10_test_data): Likewise.
4960 (log2_test_data): Likewise.
4961 (pow_test_data): Likewise.
4962 (sqrt_test_data): Likewise.
4963 (y0_test_data): Likewise.
4964 (y1_test_data): Likewise.
4965 (yn_test_data): Likewise.
4967 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4970 * math/libm-test.inc (struct test_ff_i_data): New type.
4971 (RUN_TEST_LOOP_ff_i_tg): New macro.
4972 (isgreater_test_data): New variable.
4973 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4974 (isgreaterequal_test_data): New variable.
4975 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4976 (isless_test_data): New variable.
4977 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4978 (islessequal_test_data): New variable.
4979 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4980 (islessgreater_test_data): New variable.
4981 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4982 (isunordered_test_data): New variable.
4983 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4985 2013-05-14 David S. Miller <davem@davemloft.net>
4987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4989 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4991 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4993 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4995 (struct test_f_i_data): Change type of max_ulp to int.
4997 * math/libm-test.inc (test_ffI_f1_data): New type.
4998 (RUN_TEST_LOOP_ffI_f1): New macro.
4999 (remquo_test_data): New variable.
5000 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5002 * setjmp/tst-setjmp-fp.c: New file.
5003 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5004 (link-libm): New variable.
5005 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5007 * math/libm-test.inc (struct test_f_i_data): New type.
5008 (RUN_TEST_LOOP_f_i): New macro.
5009 (RUN_TEST_LOOP_f_i_tg): Likewise.
5010 (fpclassify_test_data): New variable.
5011 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5012 (ilogb_test_data): New variable.
5013 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5015 * math/libm-test.inc (scalbln_test): Correct function name in END
5018 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5019 (RUN_TEST_LOOP_fI_f1): New macro.
5020 (frexp_test_data): New variable.
5021 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5023 * math/libm-test.inc (struct test_fF_f1_data): New type.
5024 (RUN_TEST_LOOP_fF_f1): New macro.
5025 (modf_test_data): New variable.
5026 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5028 * math/libm-test.inc (struct test_f_f1_data): New type.
5029 (RUN_TEST_LOOP_f_f1): New macro.
5030 (gamma_test_data): New variable.
5031 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5032 (lgamma_test_data): New variable.
5033 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5035 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5037 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5038 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5039 (main): Comment "tls" pseudo-hwcap.
5041 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5043 * math/libm-test.inc (struct test_fl_f_data): New type.
5044 (RUN_TEST_LOOP_fl_f): New variable.
5045 (scalbln_test_data): New variable.
5046 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5048 * math/libm-test.inc (struct test_fi_f_data): New type.
5049 (RUN_TEST_LOOP_fi_f): New macro.
5050 (ldexp_test_data): New variable.
5051 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5052 (scalbn_test_data): New variable.
5053 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5055 * math/libm-test.inc (struct test_c_f_data): New type.
5056 (RUN_TEST_LOOP_c_f): New macro.
5057 (cabs_test_data): New variable.
5058 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5059 (carg_test_data): New variable.
5060 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5061 (cimag_test_data): New variable.
5062 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5063 (creal_test_data): New variable.
5064 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5066 * math/libm-test.inc (struct test_if_f_data): New type.
5067 (RUN_TEST_LOOP_if_f): New macro.
5068 (jn_test_data): New variable.
5069 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5070 (yn_test_data): New variable.
5071 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5073 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5075 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5077 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5078 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5080 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5082 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5083 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5084 (bench-deps): Add bench-timing.h.
5085 * benchtests-bench-skeleton.c: Include bench-timing.h.
5086 (main): Use TIMING_* macros instead of clock_gettime.
5087 * benchtests/bench-timing.h: New file.
5090 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5091 Renamed from _LIB_VERSION.
5092 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5094 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5096 * math/libm-test.inc (struct test_fff_f_data): New type.
5097 (RUN_TEST_LOOP_fff_f): New macro.
5098 (fma_test_data): New variable.
5099 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5100 (fma_towardzero_test_data): New variable.
5101 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5102 (fma_downward_test_data): New variable.
5103 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5104 (fma_upward_test_data): New variable.
5105 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5107 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5108 (struct test_c_c_data): New type.
5109 (RUN_TEST_LOOP_c_c): New macro.
5110 (cacos_test_data): New variable.
5111 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5112 (cacosh_test_data): New variable.
5113 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5114 (casin_test_data): New variable.
5115 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5116 (casinh_test_data): New variable.
5117 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5118 (catan_test_data): New variable.
5119 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5120 (catanh_test_data): New variable.
5121 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5122 (ccos_test_data): New variable.
5123 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5124 (ccosh_test_data): New variable.
5125 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5126 (cexp_test_data): New variable.
5127 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5128 (clog_test_data): New variable.
5129 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5130 (clog10_test_data): New variable.
5131 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5132 (conj_test_data): New variable.
5133 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5134 (cproj_test_data): New variable.
5135 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5136 (csin_test_data): New variable.
5137 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5138 (csinh_test_data): New variable.
5139 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5140 (csqrt_test_data): New variable.
5141 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5142 (ctan_test_data): New variable.
5143 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5144 (ctan_tonearest_test_data): New variable.
5145 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5146 (ctan_towardzero_test_data): New variable.
5147 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5148 (ctan_downward_test_data): New variable.
5149 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5150 (ctan_upward_test_data): New variable.
5151 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5152 (ctanh_test_data): New variable.
5153 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5154 (ctanh_tonearest_test_data): New variable.
5155 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5156 (ctanh_towardzero_test_data): New variable.
5157 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5158 (ctanh_downward_test_data): New variable.
5159 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5160 (ctanh_upward_test_data): New variable.
5161 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5162 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5165 * math/libm-test.inc (struct test_ff_f_data): New type.
5166 (struct test_ff_f_data_nexttoward): Likewise.
5167 (RUN_TEST_LOOP_2_f): New macro.
5168 (RUN_TEST_LOOP_ff_f): Likewise.
5169 (atan2_test_data): New variable.
5170 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5171 (copysign_test_data): New variable.
5172 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5173 (fdim_test_data): New variable.
5174 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5175 (fmax_test_data): New variable.
5176 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5177 (fmin_test_data): New variable.
5178 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5179 (fmod_test_data): New variable.
5180 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5181 (hypot_test_data): New variable.
5182 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5183 (nextafter_test_data): New variable.
5184 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5185 (nexttoward_test_data): New variable.
5186 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5187 (pow_test_data): New variable.
5188 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5189 (pow_tonearest_test_data): New variable.
5190 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5191 (pow_towardzero_test_data): New variable.
5192 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5193 (pow_downward_test_data): New variable.
5194 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5195 (pow_upward_test_data): New variable.
5196 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5197 (remainder_test_data): New variable.
5198 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5199 (scalb_test_data): New variable.
5200 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5201 * sysdeps/i386/fpu/libm-test-ulps: Update.
5203 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5205 * math/libm-test.inc (fma_test): Use max_value instead of local
5207 (nextafter_test): Likewise.
5209 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5210 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5211 (acos_downward_test_data): New variable.
5212 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5213 (acos_upward_test_data): New variable.
5214 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5215 (acosh_test_data): New variable.
5216 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5217 (asin_test_data): New variable.
5218 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5219 (asin_tonearest_test_data): New variable.
5220 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5221 (asin_towardzero_test_data): New variable.
5222 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5223 (asin_downward_test_data): New variable.
5224 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5225 (asin_upward_test_data): New variable.
5226 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5227 (asinh_test_data): New variable.
5228 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5229 (atan_test_data): New variable.
5230 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5231 (atanh_test_data): New variable.
5232 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5233 (cbrt_test_data): New variable.
5234 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5235 (ceil_test_data): New variable.
5236 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5237 (cos_test_data): New variable.
5238 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5239 (cos_tonearest_test_data): New variable.
5240 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5241 (cos_towardzero_test_data): New variable.
5242 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5243 (cos_downward_test_data): New variable.
5244 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5245 (cos_upward_test_data): New variable.
5246 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5247 (cosh_test_data): New variable.
5248 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5249 (cosh_tonearest_test_data): New variable.
5250 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5251 (cosh_towardzero_test_data): New variable.
5252 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5253 (cosh_downward_test_data): New variable.
5254 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5255 (cosh_upward_test_data): New variable.
5256 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5257 (erf_test_data): New variable.
5258 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5259 (erfc_test_data): New variable.
5260 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5261 (exp_test_data): New variable.
5262 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5263 (exp_tonearest_test_data): New variable.
5264 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5265 (exp_towardzero_test_data): New variable.
5266 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5267 (exp_downward_test_data): New variable.
5268 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5269 (exp_upward_test_data): New variable.
5270 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5271 (exp10_test_data): New variable.
5272 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5273 (exp2_test_data): New variable.
5274 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5275 (expm1_test_data): New variable.
5276 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5277 (fabs_test_data): New variable.
5278 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5279 (floor_test_data): New variable.
5280 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5281 (j0_test_data): New variable.
5282 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5283 (j1_test_data): New variable.
5284 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5285 (log_test_data): New variable.
5286 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5287 (log10_test_data): New variable.
5288 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5289 (log1p_test_data): New variable.
5290 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5291 (log2_test_data): New variable.
5292 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5293 (logb_test_data): New variable.
5294 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5295 (logb_downward_test_data): New variable.
5296 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5297 (nearbyint_test_data): New variable.
5298 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5299 (rint_test_data): New variable.
5300 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5301 (rint_tonearest_test_data): New variable.
5302 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5303 (rint_towardzero_test_data): New variable.
5304 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5305 (rint_downward_test_data): New variable.
5306 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5307 (rint_upward_test_data): New variable.
5308 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5309 (round_test_data): New variable.
5310 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5311 (sin_test_data): New variable.
5312 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5313 (sin_tonearest_test_data): New variable.
5314 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5315 (sin_towardzero_test_data): New variable.
5316 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5317 (sin_downward_test_data): New variable.
5318 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5319 (sin_upward_test_data): New variable.
5320 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5321 (sinh_test_data): New variable.
5322 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5323 (sinh_tonearest_test_data): New variable.
5324 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5325 (sinh_towardzero_test_data): New variable.
5326 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5327 (sinh_downward_test_data): New variable.
5328 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5329 (sinh_upward_test_data): New variable.
5330 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5331 (sqrt_test_data): New variable.
5332 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5333 (tan_test_data): New variable.
5334 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5335 (tan_tonearest_test_data): New variable.
5336 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5337 (tan_towardzero_test_data): New variable.
5338 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5339 (tan_downward_test_data): New variable.
5340 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5341 (tan_upward_test_data): New variable.
5342 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5343 (tanh_test_data): New variable.
5344 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5345 (tgamma_test_data): New variable.
5346 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5347 (trunc_test_data): New variable.
5348 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5349 (y0_test_data): New variable.
5350 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5351 (y1_test_data): New variable.
5352 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5353 (significand_test_data): New variable.
5354 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5356 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5359 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5361 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5363 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5365 2013-05-10 Andreas Jaeger <aj@suse.de>
5368 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5369 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5371 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5373 * math/gen-libm-test.pl (adjust_arg): New function.
5374 (special_functions): Handle generating output in both functions
5376 (parse_args): Likewise.
5377 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5378 $in_func argument to parse_args.
5379 * math/libm-test.inc (struct test_f_f_data): New type.
5380 (IF_ROUND_INIT_): New macro.
5381 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5382 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5383 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5384 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5385 (ROUND_RESTORE_): Likewise.
5386 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5387 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5388 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5389 (ROUND_RESTORE_FE_UPWARD): Likewise.
5390 (RUN_TEST_LOOP_f_f): New macro.
5391 (acos_test_data): New variable.
5392 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5393 (acos_tonearest_test_data): New variable.
5394 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5396 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5398 * benchtests/bench-skeleton.c (startup): Fix coding style.
5400 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5403 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5404 negative infinity argument.
5405 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5406 negative infinity argument.
5407 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5408 negative infinity argument.
5409 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5412 2013-05-10 Florian Weimer <fweimer@redhat.com>
5414 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5415 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5416 * iconv/iconv_prog.c (main): Likewise.
5417 * locale/programs/charmap-dir.c (charmap_readdir)
5418 (fopen_uncompressed): Likewise.
5419 * locale/programs/locfile.c (siblings_uncached)
5420 (write_locale_data): Use lstat64 instead of lstat.
5421 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5424 2013-05-10 Andreas Jaeger <aj@suse.de>
5427 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5431 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5433 * elf/dl-close.c (_dl_close_worker): Add comments.
5435 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5440 (__ieee754_rem_pio2l): Update comments.
5443 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5445 (__ieee754_rem_pio2l): Update comments.
5447 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5448 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5450 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5453 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5454 (M_PI_34_LOG10El): Likewise.
5455 (M_PI2_LOG10El): Likewise.
5456 (M_PI4_LOG10El): Likewise.
5457 (M_PI_LOG10El): Likewise.
5459 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5463 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5465 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5466 (MINUS_ZERO_INIT): Likewise.
5467 (PLUS_INFTY_INIT): Likewise.
5468 (MINUS_INFTY_INIT): Likewise.
5469 (QNAN_VALUE_INIT): Likewise.
5470 (MAX_VALUE_INIT): Likewise.
5471 (MIN_VALUE_INIT): Likewise.
5472 (MIN_SUBNORM_VALUE_INIT): Likewise.
5473 (plus_zero): Initialize with PLUS_ZERO_INIT.
5474 (minus_zero): Initialize with MINUS_ZERO_INIT.
5475 (plus_infty): Initialize with PLUS_INFTY_INIT.
5476 (minus_infty): Initialize with MINUS_INFTY_INIT.
5477 (qnan_value): Initialize with QNAN_VALUE_INIT.
5478 (max_value): Initialize with MAX_VALUE_INIT.
5479 (min_value): Initialize with MIN_VALUE_INIT.
5480 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5482 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5483 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5484 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5485 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5487 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5488 (RUN_TEST_2_f): Likewise.
5489 (RUN_TEST_ff_f): Likewise.
5490 (RUN_TEST_fi_f): Likewise.
5491 (RUN_TEST_fl_f): Likewise.
5492 (RUN_TEST_fff_f): Likewise.
5493 (RUN_TEST_c_f): Likewise.
5494 (RUN_TEST_f_f1): Likewise.
5495 (RUN_TEST_fF_f1): Likewise.
5496 (RUN_TEST_fI_f1): Likewise.
5497 (RUN_TEST_ffI_f1): Likewise.
5498 (RUN_TEST_c_c): Likewise.
5499 (RUN_TEST_cc_c): Likewise.
5500 (RUN_TEST_f_i): Likewise.
5501 (RUN_TEST_f_i_tg): Likewise.
5502 (RUN_TEST_ff_i_tg): Likewise.
5503 (RUN_TEST_f_b): Likewise.
5504 (RUN_TEST_f_b_tg): Likewise.
5505 (RUN_TEST_f_l): Likewise.
5506 (RUN_TEST_f_L): Likewise.
5507 (RUN_TEST_sincos): Likewise.
5508 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5509 whether to show exceptions. Do not include ");\n" in return
5511 (special_functions): Output call to RUN_TEST_sincos instead of
5512 check_float calls. Update calls to new_test.
5513 (parse_args): Output call to single RUN_TEST_* macro instead of
5514 check_* calls and other assignments. Update calls to new_test.
5520 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5521 input to result for tgamma overflow.
5522 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5523 (gamma_coeff): New variable.
5524 (NCOEFF): New macro.
5525 (gamma_positive): New function.
5526 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5527 underflow here. Use gamma_positive instead of exp (lgamma) for
5529 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5530 (gamma_coeff): New variable.
5531 (NCOEFF): New macro.
5532 (gammaf_positive): New function.
5533 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5534 underflow here. Use gamma_positive instead of exp (lgamma) for
5536 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5537 (gamma_coeff): New variable.
5538 (NCOEFF): New macro.
5539 (gammal_positive): New function.
5540 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5541 underflow here. Use gamma_positive instead of exp (lgamma) for
5543 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5544 (gamma_coeff): New variable.
5545 (NCOEFF): New macro.
5546 (gammal_positive): New function.
5547 (__ieee754_gammal_r): Handle positive infinity, overflow and
5548 underflow here. Handle NaN the same as positive infinity. Remove
5549 check x < 0xffffffff for negative integers. Use gamma_positive
5550 instead of exp (lgamma) for other arguments.
5551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5552 (gamma_coeff): New variable.
5553 (NCOEFF): New macro.
5554 (gammal_positive): New function.
5555 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5556 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5560 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5561 * sysdeps/generic/math_private.h (__gamma_productf): New
5563 (__gamma_product): Likewise.
5564 (__gamma_productl): Likewise.
5565 * math/Makefile (libm-calls): Add gamma_product.
5566 * math/libm-test.inc (tgamma_test): Add more tests.
5567 * sysdeps/i386/fpu/libm-test-ulps: Update.
5568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5572 * benchtests/bench-skeleton.c (main): Preheat CPU.
5574 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5576 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5578 2013-05-07 Roland McGrath <roland@hack.frob.com>
5580 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5581 and _dl_skip_args_internal.
5583 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5585 * manual/message.texi (Message Translation): Talk about users.
5586 Message to key mapping impacts design.
5588 2013-05-06 Roland McGrath <roland@hack.frob.com>
5590 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5592 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5594 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5595 * sysdeps/wordsize-64/glob64.c: ... here.
5597 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5598 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5601 * debug/getlogin_r_chk.c: Moved to ...
5602 * login/getlogin_r_chk.c: ... here.
5603 * debug/Makefile (routines): Move getlogin_r_chk to ...
5604 * login/Makefile (routines): ... here.
5605 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5606 * login/Versions (libc: GLIBC_2.4): ... here.
5608 * io/poll.c (__poll): Renamed from poll.
5609 Add libc_hidden_def.
5610 (poll): Define as weak alias.
5612 * debug/ptsname_r_chk.c: Moved to ...
5613 * login/ptsname_r_chk.c: ... here.
5614 * debug/Makefile (routines): Move ptsname_r_chk to ...
5615 * login/Makefile (routines): ... here.
5616 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5617 * login/Versions (libc: GLIBC_2.4): ... here.
5619 * posix/getlogin.c: Moved to ...
5620 * login/getlogin.c: ... here.
5621 * posix/getlogin_r.c: Moved to ...
5622 * login/getlogin_r.c: ... here.
5623 * posix/getlogin_r.c: Moved to ...
5624 * login/getlogin_r.c: ... here.
5625 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5626 * login/Makefile (routines): ... here.
5627 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5628 * login/Versions (libc: GLIBC_2.0): ... here.
5630 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5631 (setrlimit): Define as weak alias.
5633 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5634 Call __ names for open, ftruncate, and close.
5635 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5636 (truncate): Define as weak alias.
5638 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5640 * math/gen-libm-test.pl (parse_args): Initialize x before each
5641 test of frexp, modf and remquo.
5643 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5646 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5650 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5652 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5654 2013-05-06 Roland McGrath <roland@hack.frob.com>
5656 * elf/dl-writev.h: New file.
5657 * elf/dl-misc.c: Include it.
5658 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5659 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5661 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5663 * math/libm-test.inc (noXFails): Remove variable.
5664 (noXPasses): Likewise.
5665 (BUILD_COMPLEX_INT): Remove macro.
5666 (print_screen): Remove xfail argument.
5667 (print_screen_max_error): Likewise.
5668 (update_stats): Likewise.
5669 (print_max_error): Likewise. Update calls to other affected
5671 (print_complex_max_error): Likewise.
5672 (test_single_exception): Update calls to print_screen.
5673 (test_single_errno): Likewise.
5674 (check_float_internal): Remove xfail argument. Update calls to
5675 other affected functions.
5676 (check_float): Likewise.
5677 (check_complex): Likewise.
5678 (check_int): Likewise.
5679 (check_long): Likewise.
5680 (check_bool): Likewise.
5681 (check_longlong): Likewise.
5682 (main): Don't print noXFails and noXPasses.
5683 * math/gen-libm-test.pl (top level): Don't mention expected
5684 failure handling in comment.
5685 (new_test): Don't handle expected failures.
5686 (parse_args): Don't mention expected failure handling in comment.
5687 (generate_testfile): Don't handle expected failures.
5688 (parse_ulps): Likewise.
5689 (print_ulps_file): Likewise.
5690 (get_failure): Remove function.
5691 (output_test): Don't handle expected failures.
5692 * make/README.libm-test: Don't mention expected failure handling.
5694 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5695 (minus_zero): Likewise.
5696 (plus_infty): Likewise.
5697 (minus_infty): Likewise.
5698 (qnan_value): Likewise.
5699 (max_value): Likewise.
5700 (min_value): Likewise.
5701 (min_subnorm_value): Likewise.
5702 (initialize): Do not initialize those variables dynamically.
5704 2013-05-03 Roland McGrath <roland@hack.frob.com>
5706 * io/open.c (__open_2): Moved to ...
5707 * io/open_2.c: ... this new file.
5708 * io/open64.c (__open64_2): Moved to ...
5709 * io/open64_2.c: ... this new file.
5710 * io/openat.c (__openat_2): Moved to ...
5711 * io/openat_2.c: ... this new file.
5712 * io/openat64.c (__openat64_2): Moved to ...
5713 * io/openat64_2.c: ... this new file.
5714 * io/Makefile (routines): Add them.
5715 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5716 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5717 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5718 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5719 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5720 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5721 (__openat64): Add hidden_ver.
5722 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5723 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5725 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5726 Separately conditionalize setting of GLRO(dl_sysinfo) so
5727 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5728 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5730 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5732 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5735 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5736 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5737 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5738 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5739 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5741 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5743 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5746 * math/libm-test.inc (hypot_test): Do not use
5747 IGNORE_ZERO_INF_SIGN.
5749 2013-05-03 Andreas Jaeger <aj@suse.de>
5751 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5753 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5754 (PF_MAX): Adjust for VSOCK change.
5756 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5760 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5763 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5764 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5765 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5767 2013-05-02 David S. Miller <davem@davemloft.net>
5769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5771 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5773 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5775 2013-05-01 Roland McGrath <roland@hack.frob.com>
5777 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5779 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5782 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5783 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5784 Use __attribute__ ((__gnu_inline__)).
5785 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5786 Don't use __attribute__ ((__gnu_inline__)).
5788 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5791 * math/s_catan.c (__catan): Handle small real or imaginary part of
5792 input specially to avoid spurious underflow.
5793 * math/s_catanf.c (__catanf): Likewise.
5794 * math/s_catanh.c (__catanh): Likewise.
5795 * math/s_catanhf.c (__catanhf): Likewise.
5796 * math/s_catanhl.c (__catanhl): Likewise.
5797 * math/s_catanl.c (__catanl): Likewise.
5798 * math/libm-test.inc (catan_test): Add more tests.
5799 (catanh_test): Likewise.
5800 * sysdeps/i386/fpu/libm-test-ulps: Update.
5801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5803 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5807 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5810 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5811 accurately for denominator in atan2.
5812 * math/s_catanf.c (__catanf): Likewise.
5813 * math/s_catanh.c (__catanh): Likewise.
5814 * math/s_catanhf.c (__catanhf): Likewise.
5815 * math/s_catanhl.c (__catanhl): Likewise.
5816 * math/s_catanl.c (__catanl): Likewise.
5817 * math/libm-test.inc (catan_test): Add more tests.
5818 (catanh_test): Likewise.
5819 * sysdeps/i386/fpu/libm-test-ulps: Update.
5820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5822 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5824 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5826 * benchtests/Makefile (bench): Remove slow benchmarks.
5827 * benchtests/atan-inputs: Add slow benchmark inputs.
5828 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5829 (BENCH_FUNC): Accept variant offset.
5831 * benchtests/bench-skeleton.c (main): Run benchmark for each
5833 * benchtests/cos-inputs: Add slow benchmark inputs.
5834 * benchtests/exp-inputs: Likewise.
5835 * benchtests/pow-inputs: Likewise.
5836 * benchtests/sin-inputs: Likewise.
5837 * benchtests/slowatan-inputs: Remove.
5838 * benchtests/slowatan.c: Remove.
5839 * benchtests/slowcos-inputs: Remove.
5840 * benchtests/slowcos.c: Remove.
5841 * benchtests/slowexp-inputs: Remove.
5842 * benchtests/slowexp.c: Remove.
5843 * benchtests/slowpow-inputs: Remove.
5844 * benchtests/slowpow.c: Remove.
5845 * benchtests/slowsin-inputs: Remove.
5846 * benchtests/slowsin.c: Remove.
5847 * benchtests/slowtan-inputs: Remove.
5848 * benchtests/slowtan.c: Remove.
5849 * benchtests/tan-inputs: Add slow benchmark inputs.
5850 * scripts/bench.pl: Parse comments and directives.
5852 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5854 ($(objpfx)bench-%.c): Remove *-ITER.
5855 * benchtests/bench-modf.c: Remove definition of ITER.
5856 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5857 (main): Loop for DURATION seconds instead of fixed number of
5859 * scripts/bench.pl: Don't expect iterations in parameters.
5861 2013-04-29 Roland McGrath <roland@hack.frob.com>
5863 * io/fchdir.c (__fchdir): Renamed from fchdir.
5864 (fchdir): Define as weak alias.
5866 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5868 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5869 (ERRNO_EDOM): Likewise.
5870 (ERRNO_ERANGE): Likewise.
5871 (noErrnoTests): New variable.
5872 (init_max_error): Set errno to 0.
5873 (test_single_errno): New function.
5874 (test_errno): Likewise.
5875 (check_float_internal): Call test_errno. Set errno to 0.
5876 (check_complex): Refer to errno tests in comment.
5877 (check_int): Call test_errno. Set errno to 0.
5878 (check_long): Likewise.
5879 (check_bool): Likewise.
5880 (check_longlong): Likewise.
5881 (cos_test): Use ERRNO_* flags for errno tests instead of
5883 (expm1_test): Likewise.
5884 (fmod_test): Likewise.
5885 (ilogb_test): Likewise.
5886 (lgamma_test): Likewise.
5887 (pow_test): Likewise.
5888 (remainder_test): Likewise.
5889 (sin_test): Likewise.
5890 (tan_test): Likewise.
5891 (yn_test): Likewise.
5892 (initialize): Set errno to 0.
5893 (main): Print number of errno tests.
5894 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5896 2013-04-29 Andreas Jaeger <aj@suse.de>
5899 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5903 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5904 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5908 * stdlib/random.c (__initstate): Return NULL if
5912 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5913 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5916 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5920 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5922 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5923 of individual tests.
5924 (casin_test): Likewise.
5925 (casinh_test): Likewise.
5927 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5930 * math/s_catan.c (__catan): Handle arguments with large real or
5931 imaginary part separately without squaring.
5932 * math/s_catanf.c (__catanf): Likewise.
5933 * math/s_catanh.c (__catanh): Likewise.
5934 * math/s_catanhf.c (__catanhf): Likewise.
5935 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5937 (__catanhl): Handle arguments with large real or imaginary part
5938 separately without squaring.
5939 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5941 (__catanl): Handle arguments with large real or imaginary part
5942 separately without squaring.
5943 * math/libm-test.inc (catan_test): Add more tests.
5944 (catanh_test): Likewise.
5945 * sysdeps/i386/fpu/libm-test-ulps: Update.
5946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5948 2013-04-27 Andreas Jaeger <aj@suse.de>
5951 * stdlib/stdlib.h: Update guards for qecvt.
5952 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5955 2013-04-27 Allan McRae <allan@archlinux.org>
5957 * sysdeps/i386/fpu/libm-test-ulps: Update.
5959 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5962 * math/s_catan.c: Include <float.h>.
5963 (__catan): Ensure underflow exception occurs for underflowed
5965 * math/s_catanf.c: Include <float.h>.
5966 (__catanf): Ensure underflow exception occurs for underflowed
5968 * math/s_catanh.c: Include <float.h>.
5969 (__catanh): Ensure underflow exception occurs for underflowed
5971 * math/s_catanhf.c: Include <float.h>.
5972 (__catanhf): Ensure underflow exception occurs for underflowed
5974 * math/s_catanhl.c: Include <float.h>.
5975 (__catanhl): Ensure underflow exception occurs for underflowed
5977 * math/s_catanl.c: Include <float.h>.
5978 (__catanl): Ensure underflow exception occurs for underflowed
5980 * math/libm-test.inc (catan_test): Add more tests.
5981 (catanh_test): Likewise.
5984 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5986 * math/s_ccoshf.c (__ccoshf): Likewise.
5987 * math/s_ccoshl.c (__ccoshl): Likewise.
5988 * math/s_csin.c (__csin): Likewise.
5989 * math/s_csinf.c (__csinf): Likewise.
5990 * math/s_csinh.c (__csinh): Likewise.
5991 * math/s_csinhf.c (__csinhf): Likewise.
5992 * math/s_csinhl.c (__csinhl): Likewise.
5993 * math/s_csinl.c (__csinl): Likewise.
5994 * math/libm-test.inc (ccos_test): Add more tests.
5995 (ccosh_test): Likewise.
5996 (csin_test): Likewise.
5997 (csinh_test): Likewise.
5999 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6002 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6003 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6004 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6005 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6006 powerpc/power5+/fpu folders.
6007 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6010 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6014 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6016 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6017 additions to variable.
6018 [$(config-machine) = x86_64] (modules-names): Likewise.
6019 ($(objpfx)tst-audit3): Remove dependency.
6020 ($(objpfx)tst-audit3.out): Likewise.
6021 ($(objpfx)tst-audit4): Likewise.
6022 ($(objpfx)tst-audit4.out): Likewise.
6023 ($(objpfx)tst-audit5): Likewise.
6024 ($(objpfx)tst-audit5.out): Likewise.
6025 ($(objpfx)tst-audit6): Likewise.
6026 ($(objpfx)tst-audit6.out): Likewise.
6027 ($(objpfx)tst-audit7): Likewise.
6028 ($(objpfx)tst-audit7.out): Likewise.
6029 (tst-audit3-ENV): Remove variable.
6030 (tst-audit4-ENV): Likewise.
6031 (tst-audit5-ENV): Likewise.
6032 (tst-audit6-ENV): Likewise.
6033 (tst-audit7-ENV): Likewise.
6034 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6035 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6036 addition to variable.
6037 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6038 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6039 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6040 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6041 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6042 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6043 tst-audit3, tst-audit4 and tst-audit5.
6044 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6045 tst-audit6 and tst-audit7.
6046 [$(subdir) = elf] (modules-names): Add audit modules for those
6048 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6049 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6050 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6051 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6052 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6053 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6054 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6055 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6056 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6057 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6058 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6059 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6060 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6061 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6062 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6063 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6065 [$(subdir) = elf && $(config-cflags-avx) = yes]
6066 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6067 [$(subdir) = elf && $(config-cflags-avx) = yes]
6068 (CFLAGS-tst-auditmod4a.c): Likewise.
6069 [$(subdir) = elf && $(config-cflags-avx) = yes]
6070 (CFLAGS-tst-auditmod4b.c): Likewise.
6071 [$(subdir) = elf && $(config-cflags-avx) = yes]
6072 (CFLAGS-tst-auditmod6b.c): Likewise.
6073 [$(subdir) = elf && $(config-cflags-avx) = yes]
6074 (CFLAGS-tst-auditmod6c.c): Likewise.
6075 [$(subdir) = elf && $(config-cflags-avx) = yes]
6076 (CFLAGS-tst-auditmod7b.c): Likewise.
6077 * elf/tst-audit3.c: Move to ...
6078 * sysdeps/x86_64/tst-audit3.c: ... here.
6079 * elf/tst-audit4.c: Move to ...
6080 * sysdeps/x86_64/tst-audit4.c: ... here.
6081 * elf/tst-audit5.c: Move to ...
6082 * sysdeps/x86_64/tst-audit5.c: ... here.
6083 * elf/tst-audit6.c: Move to ...
6084 * sysdeps/x86_64/tst-audit6.c: ... here.
6085 * elf/tst-audit7.c: Move to ...
6086 * sysdeps/x86_64/tst-audit7.c: ... here.
6087 * elf/tst-auditmod3a.c: Move to ...
6088 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6089 * elf/tst-auditmod3b.c: Move to ...
6090 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6091 * elf/tst-auditmod4a.c: Move to ...
6092 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6093 * elf/tst-auditmod4b.c: Move to ...
6094 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6095 * elf/tst-auditmod5a.c: Move to ...
6096 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6097 * elf/tst-auditmod5b.c: Move to ...
6098 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6099 * elf/tst-auditmod6a.c: Move to ...
6100 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6101 * elf/tst-auditmod6b.c: Move to ...
6102 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6103 * elf/tst-auditmod6c.c: Move to ...
6104 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6105 * elf/tst-auditmod7a.c: Move to ...
6106 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6107 * elf/tst-auditmod7b.c: Move to ...
6108 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6110 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6113 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6114 define unconditionally.
6115 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6116 define unconditionally.
6117 (INT8_C, INT16_C, etc.): Likewise.
6119 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6121 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6122 __ehdr_start with hidden visibility.
6124 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6126 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6128 * math/libm-test.inc (cos_test): Use accurate hex constants.
6129 (sincost_test): Likewise.
6131 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6133 * math/libm-test.inc (catan_test): Add more tests.
6134 (catanh_test): Likewise.
6136 * math/s_catanf.c (__catanf): Use suffixed floating-point
6138 * math/s_catanhf.c (__catanhf): Likewise.
6139 * math/s_catanhl.c (__catanhl): Likewise.
6140 * math/s_catanl.c (__catanl): Likewise.
6143 * math/s_catan.c (__catan): Calculate imaginary part of result
6144 with log1p not log unless computing log of number close to 0.
6145 * math/s_catanf.c (__catanf): Likewise.
6146 * math/s_catanl.c (__catanl): Likewise.
6147 * math/s_catanh.c (__catanh): Calculate real part of result with
6148 log1p not log unless computing log of number close to 0.
6149 * math/s_catanhf.c (__catanhf): Likewise.
6150 * math/s_catanhl.c (__catanhl): Likewise.
6151 * math/libm-test.inc (catan_test): Add more tests.
6152 (catanh_test): Likewise.
6153 * sysdeps/i386/fpu/libm-test-ulps: Update.
6154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6156 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6158 * benchtests/Makefile: Mention files in which fast and slow
6159 paths of math functions are implemented.
6161 2013-04-23 Roland McGrath <roland@hack.frob.com>
6163 * sysdeps/posix/timespec_get.c: New file.
6165 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6167 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6169 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6171 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6172 powerpc/power5/fpu folders.
6173 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6174 * benchtests/Makefile: Add modf testcase.
6175 * benchtests/bench-modf.c: New file: Benchmark test for mo
6177 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6180 * time/Makefile (tests): Add tst-strptime-whitespace.
6181 * time/strptime_l.c (get_number): Use ISSPACE.
6182 (__strptime_internal): Likewise.
6183 * time/tst-strptime-whitespace.c: New test case.
6185 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6187 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6189 (_nss_files_init): Set it here.
6191 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6193 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6194 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6197 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6199 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6201 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6206 2013-04-21 David S. Miller <davem@davemloft.net>
6208 * po/ru.po: Update Russion translation from translation project.
6210 2013-04-17 Adam Conrad <adconrad@0c3.net>
6212 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6215 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6217 * configure.in: Remove i386 configure warning. Remove i386 case.
6218 * configure: Regenerate.
6219 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6220 Add example to error message.
6221 * sysdeps/i386/configure: Regenerate.
6223 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6225 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6227 * benchtests/cos-inputs: New file.
6228 * benchtests/slowcos-inputs: New file.
6229 * benchtests/slowcos.c: New file.
6230 * benchtests/slowtan-inputs: New file.
6231 * benchtests/slowtan.c: New file.
6232 * benchtests/tan-inputs: New file.
6234 2013-04-16 Roland McGrath <roland@hack.frob.com>
6236 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6239 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6241 * benchtests/Makefile: Include cppflags-iterator.mk to add
6242 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6244 * Makefile.in (bench-clean): New target.
6245 * benchtests/Makefile (bench-clean): Likewise.
6247 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6249 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6251 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6253 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6255 2013-04-15 Andreas Schwab <schwab@suse.de>
6257 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6258 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6259 * nscd/pwdcache.c (cache_addpw): Likewise.
6260 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6263 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6265 * benchtests/Makefile (bench): Write all output to
6266 bench-out.tmp together.
6268 2013-04-15 Andreas Schwab <schwab@suse.de>
6270 * nscd/nscd.c (main): Don't fork again after closing files.
6272 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6274 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6276 * benchtests/Rules (bench-deps): Collect dependencies into a
6277 single variable. Add Makefile to dependencies.
6278 ($(objpfx)bench-%.c): Depend on bench-deps.
6280 2013-04-12 Roland McGrath <roland@hack.frob.com>
6281 Xavier Roche <roche+kml2@exalead.com>
6284 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6285 just that it's a file descriptor.
6286 * manual/llio.texi (Synchronizing AIO Operations): Update description
6287 for EBADF error from aio_fsync.
6289 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6291 * Rules (bench): Move target definition...
6292 * benchtests/Makefile: ... here.
6294 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6296 * math/libm-test.inc (cos_test): Fix PI/2 test.
6297 (sincos_test): Likewise.
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6299 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6301 2013-04-11 Andreas Schwab <schwab@suse.de>
6304 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6305 accept exponent character only when digits were seen.
6306 * stdio-common/Makefile (tests): Add bug26.
6307 * stdio-common/bug26.c: New file.
6310 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6313 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6315 * Makeconfig (rtld-prefix): Define built linker prefix.
6316 * Rules (run-bench): Use it.
6317 * math/Makefile (run-regen-ulps): Likewise.
6319 * Rules (bench): Remove eval.
6321 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6322 Roland McGrath <roland@hack.frob.com>
6323 Ondrej Bilka <neleai@seznam.cz>
6326 * time/getdate.c: Include ctype.h and alloca.h.
6327 (__getdate_r): Trim leading and trailing spaces of input.
6328 * time/tst-getdate.c (tests): Add tests with leading and
6331 2013-04-08 Roland McGrath <roland@hack.frob.com>
6334 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6335 when computing value.
6337 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6339 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6340 Use testrun.sh to run libm tests.
6343 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6345 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6348 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6350 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6352 * Makefile.in (regen-ulps): New target.
6353 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6354 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6355 [ifneq (no,$(PERL)] (regen-ulps): New target.
6356 [ifeq (no,$(PERL)] (regen-ulps): New target.
6357 * math/libm-test.inc (ulps_file_name): Define.
6358 (output_dir): New variable.
6359 (options): Add "output-dir" option.
6360 (parse_opt): Handle 'o' case.
6361 (main): If output_dir is non-NULL use it as a prefix
6363 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6365 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6368 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6369 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6370 fail configure if __sync_val_compare_and_swap is not inlined.
6371 * sysdeps/i386/configure: Regenerate.
6372 * configure.in: Build for i686 when configured for i386.
6373 * configure: Regenerate.
6374 * README: Remove i386 reference.
6376 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6378 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6381 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6383 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6384 (lmsnanval): New variables.
6385 (F): Add conversion tests.
6386 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6387 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6389 * stdio-common/tstdiomisc.c (F): Properly collect individual
6393 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6394 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6395 Instead, use input NaN values or generate a qNaN by arithmetic
6396 operation. Also fix bugs to comply with the standard.
6397 * math/libm-test.inc (remainder_test): Add more tests.
6400 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6402 input NaN values or generate a qNaN by arithmetic operation.
6404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6407 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6410 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6413 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6415 * math/s_cexpf.c (__cexpf): Likewise.
6416 * math/s_cexpl.c (__cexpl): Likewise.
6417 * math/libm-test.inc (cexp_test): Add more tests.
6419 2013-04-03 Andreas Schwab <schwab@suse.de>
6422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6423 order arrays from heap if bigger than alloca cutoff.
6425 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6427 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6428 (SNAN_TESTS_double): Refer to GCC PR56831.
6429 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6432 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6434 * Rules (bench): Move bench.out after the run is complete.
6436 * Rules (bench): Echo currently running benchmark.
6438 * benchtests/Makefile (bench): Add atan and slowatan.
6439 * benchtests/atan-inputs: New file.
6440 * benchtests/slowatan-inputs: New file.
6441 * benchtests/slowatan.c: New file.
6443 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6444 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6448 * sysdeps/unix/sysv/linux/kernel-features.h
6449 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6450 __ASSUME_XFS_RESTRICTED_CHOWN.
6451 * sysdeps/unix/sysv/linux/pathconf.c
6452 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6453 Save and restore errno.
6455 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6458 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6459 arguments using __kernel_casinh.
6460 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6461 arguments using __kernel_casinhf.
6462 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6463 arguments using __kernel_casinhl.
6464 * math/libm-test.inc (cacosh_test): Add more tests.
6465 * sysdeps/i386/fpu/libm-test-ulps: Update.
6466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6468 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6470 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6473 * bench/Makefile (bench): Add sin and slowsin.
6474 * benchtests/sin-inputs: New file.
6475 * benchtests/slowsin-inputs: New file.
6476 * benchtests/slowsin.c: New file.
6478 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6479 (bench): Add slowexp and slowpow.
6480 (exp-ITER): Increase iterations.
6481 (pow-ITER): Likewise.
6482 * benchtests/exp-inputs: Change input.
6483 * benchtests/pow-inputs: Likewise.
6484 * benchtests/slowexp-inputs: New file.
6485 * benchtests/slowexp.c: New file.
6486 * benchtests/slowpow-inputs: New file.
6487 * benchtests/slowpow.c: New file.
6489 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6491 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6493 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6494 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6495 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6496 * benchtests/Makefile: Add rint benchtest.
6497 * benchtests/rint-inputs: Input for rint benchtest.
6499 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6501 * Versions.def (libm): Add GLIBC_2.18.
6502 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6503 hidden libm prototypes.
6504 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6505 * math/Makefile (libm-calls): Add s_issignaling.
6506 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6507 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6508 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6510 * math/math.h [__USE_GNU] (issignaling): New macro.
6511 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6512 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6517 * manual/arith.texi (issignaling): New section.
6518 * manual/libm-err-tab.pl (@all_functions): Update comment.
6519 * math/gen-libm-test.pl (parse_args): Apply special handling for
6521 * math/libm-test.inc (print_float, issignaling_test): New
6523 (check_float_internal): Add issignaling checks.
6524 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6526 * sysdeps/powerpc/math-tests.h: New file.
6527 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6529 * math/test-snan.c (TEST_FUNC): Likewise.
6531 2013-03-30 David S. Miller <davem@davemloft.net>
6533 * po/de.po: Update from translation team.
6535 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6538 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6539 imaginary part less than 1.0 and real part less than 0.5
6541 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6542 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6543 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6544 (cacos_test): Add more tests.
6545 (casin_test): Likewise.
6546 (casinh_test): Likewise.
6547 * sysdeps/i386/fpu/libm-test-ulps: Update.
6548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6550 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6552 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6555 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6556 (__pow_mp): Replace ONE and MONE with their values.
6557 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6558 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6559 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6560 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6561 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6562 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6564 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6566 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6567 (__pow_mp): Replace ZERO and MZERO with their values.
6568 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6569 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6570 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6571 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6572 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6573 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6576 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6578 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6580 2013-03-28 Roland McGrath <roland@hack.frob.com>
6582 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6583 Declare with __attribute__ ((weak)).
6584 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6585 Call __call_tls_dtors only if it's not NULL.
6587 2013-03-28 Roland McGrath <roland@hack.frob.com>
6589 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6590 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6591 magic __ehdr_start linker symbol if it's defined.
6592 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6593 them up here if it was already done.
6595 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6596 (_dl_aux_init): Use const in cast when setting it.
6597 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6598 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6599 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6601 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6603 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6604 * csu/libc-tls.c: Nor here.
6605 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6607 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6608 (__libc_message): Never call vsyslog.
6610 2013-03-28 Alan Modra <amodra@gmail.com>
6612 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6614 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6617 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6624 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6627 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6628 Don't add gid passed as argument.
6630 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6632 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6635 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6636 imaginary part between 1.0 and 1.5 and real part less than 0.5
6638 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6639 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6640 * math/libm-test.inc (cacos_test): Add more tests.
6641 (casin_test): Likewise.
6642 (casinh_test): Likewise.
6643 * sysdeps/i386/fpu/libm-test-ulps: Update.
6644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6646 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6648 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6652 (__dbl_mp): Likewise.
6653 (add_magnitudes): Likewise.
6654 (sub_magnitudes): Likewise.
6662 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6664 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6665 (__dubcos): Likewise.
6666 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6667 (__ieee754_acos): Likewise.
6668 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6669 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6674 (my_log2): Likewise.
6675 (checkint): Likewise.
6676 * sysdeps/ieee754/dbl-64/e_remainder.c
6677 (__ieee754_remainder): Likewise.
6678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6681 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6683 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6684 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6685 MANTISSA_STORE_T to store computations on mantissa. Use
6686 macros for rounding and division.
6688 (__dbl_mp): Likewise.
6689 (add_magnitudes): Likewise.
6690 (sub_magnitudes): Likewise.
6693 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6694 powers of two in terms of TWOPOW macro.
6695 (mp_no): Make type of mantissa as MANTISSA_T.
6696 [!RADIXI]: Define RADIXI.
6697 [!TWO52]: Define TWO52.
6698 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6700 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6702 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6703 llroundl symbol when building for PPC32.
6705 2013-03-24 Mark H Weaver <mhw@netris.org>
6707 * manual/arith.texi (Normalization Functions): Fix prototypes for
6708 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6710 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6714 high value to check if expl overflow.
6715 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6716 to check for underflow and overflow.
6717 * math/libm-test.inc: Add exp test.
6719 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6722 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6725 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6730 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6732 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6733 wrap blocks consisting of several statements.
6735 * sysdeps/generic/math-tests.h: New file.
6736 * sysdeps/i386/fpu/math-tests.h: Likewise.
6737 * math/test-snan.c: Include it.
6738 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6740 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6744 (__ieee754_j0l): Do not improve calculations using cos of twice
6745 input for inputs above LDBL_MAX / 2.0L.
6746 (__ieee754_y0l): Likewise.
6747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6748 (__ieee754_j1l): Do not improve calculations using cos of twice
6749 input for inputs above LDBL_MAX / 2.0L.
6750 (__ieee754_y1l): Likewise.
6751 * math/libm-test.inc (j0_test): Add another test.
6752 (j1_test): Likewise.
6753 (y0_test): Likewise.
6754 (y1_test): Likewise.
6755 * sysdeps/i386/fpu/libm-test-ulps: Update.
6757 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6759 * Rules ($(objpfx)bench-%.c): Include code from a C source
6762 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6765 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6766 imaginary part 1.0 and real part less than 0.5 specially.
6767 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6768 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6769 * math/libm-test.inc (cacos_test): Add more tests.
6770 (casin_test): Likewise.
6771 (casinh_test): Likewise.
6772 * sysdeps/i386/fpu/libm-test-ulps: Update.
6773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6775 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6777 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6778 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6780 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6782 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6783 * config.make.in (config-cflags-sse4): Remove variable.
6784 (config-cflags-avx): Likewise.
6785 (config-cflags-sse2avx): Likewise.
6786 (config-cflags-novzeroupper): Likewise.
6787 (config-asflags-i686): Likewise.
6788 (have-mfma4): Likewise.
6789 (have-as-vis3): Likewise.
6791 * configure.in (MIG): Do not AC_SUBST.
6792 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6793 (libc_cv_cc_sse4): Do not AC_SUBST.
6794 (libc_cv_cc_avx): Likewise.
6795 (libc_cv_cc_sse2avx): Likewise.
6796 (libc_cv_cc_novzeroupper): Likewise.
6797 (libc_cv_cc_fma4): Likewise.
6798 (libc_cv_as_i686): Likewise.
6799 (libc_cv_sparc_as_vis3): Likewise.
6800 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6802 (config-asflags-i686): Likewise.
6803 (config-cflags-avx): Likewise.
6804 (config-cflags-sse2avx): Likewise.
6805 (have-mfma4): Likewise.
6806 (config-cflags-novzeroupper): Likewise.
6807 * sysdeps/mach/configure.in (MIG): Likewise.
6808 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6809 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6811 (config-cflags-avx): Likewise.
6812 (config-cflags-sse2avx): Likewise.
6813 (have-mfma4): Likewise.
6814 (config-cflags-novzeroupper): Likewise.
6815 * configure: Regenerated.
6816 * sysdeps/i386/configure: Likewise.
6817 * sysdeps/mach/configure: Likewise.
6818 * sysdeps/sparc/configure: Likewise.
6819 * sysdeps/x86_64/configure: Likewise.
6821 2013-03-20 Roland McGrath <roland@hack.frob.com>
6824 * locale/programs/localedef.c (options): Put N_ translation marker
6825 on argument names, not just descriptions.
6827 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6829 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6831 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6834 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6836 2013-03-19 Roland McGrath <roland@hack.frob.com>
6838 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6839 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6840 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6841 [!BEFORE_ABORT] (before_abort): New function.
6842 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6843 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6844 (writev_for_fatal): New function.
6845 (WRITEV_FOR_FATAL): New macro; call that.
6846 (backtrace_and_maps): New function.
6847 (BEFORE_ABORT): New macro; call that.
6848 (struct str_list): Type removed.
6849 (__libc_message, __libc_fatal): Functions removed.
6850 Include <sysdeps/posix/libc_fatal.c> instead.
6852 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6854 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6856 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6859 2013-03-19 Andreas Schwab <schwab@suse.de>
6861 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6862 * sysdeps/gnu/configure: Regenerate.
6864 * configure.in: Substitute libc_cv_rtlddir.
6865 * configure: Regenerate.
6866 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6867 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6868 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6869 * elf/Makefile (install-others, CFLAGS-interp.c)
6870 (ldso_install, common-ldd-rewrite): Likewise.
6871 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6872 $(inst_slibdir)/$(rtld-installed-name).
6873 * scripts/rellns-sh: Add -p option.
6874 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6877 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6879 * manual/nptl.texi: Renamed to ...
6880 * manual/threads.texi: ... this.
6881 * manual/Makefile (chapters): Update.
6883 2013-03-18 Roland McGrath <roland@hack.frob.com>
6886 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6887 on argument names, not just descriptions.
6888 * malloc/memusagestat.c (options): Likewise.
6889 * nss/getent.c (options): Likewise.
6891 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6894 * iconv/iconv_prog.c (options): Put N_ translation marker
6895 on argument names, not just descriptions.
6896 * iconv/iconvconfig.c (options): Likewise.
6898 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6900 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6901 implementation which is faster on all x86_64 architectures.
6902 Tested on AMD, Intel Nehalem, SNB, IVB.
6903 * sysdeps/x86_64/strnlen.S: Likewise.
6905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6906 Remove all multiarch strlen and strnlen versions.
6907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6908 Remove strlen and strnlen related parts.
6910 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6914 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6915 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6916 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6917 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6918 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6919 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6921 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6923 * manual/memory.texi (Malloc Tunable Parameters):
6924 Sort parameters alphabetically. Add comments for missing entries.
6926 2013-03-17 David S. Miller <davem@davemloft.net>
6928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6930 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6933 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6934 for arguments at most half maximum finite value.
6935 * math/libm-test.inc (j0_test): Add more tests.
6936 (j1_test): Likewise.
6937 (y0_test): Likewise.
6938 (y1_test): Likewise.
6939 * sysdeps/i386/fpu/libm-test-ulps: Update.
6940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6944 1 / x and functions P and Q for arguments above 0x1p256L.
6945 (__ieee754_y0l): Likewise.
6946 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6947 (__ieee754_y1l): Likewise.
6948 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6949 (j1_test): Likewise.
6950 (y0_test): Likewise.
6951 (y1_test): Likewise.
6953 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6955 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6958 2013-03-15 Roland McGrath <roland@hack.frob.com>
6960 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6961 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6962 zero since it's initialized to EXEC_PAGESIZE.
6964 * sysdeps/unix/sysv/linux/ldsodefs.h
6965 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6966 * sysdeps/generic/ldsodefs.h: ... here.
6968 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6970 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6972 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6974 * math/test-snan.c: Renamed from
6975 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6976 * math/Makefile (tests): Add test-snan.
6977 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6980 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6981 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6983 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6984 __builtin_nan family of functions.
6985 * math/libm-test.inc (initialize): Initialize qnan_value with
6986 __builtin_nan family of functions.
6987 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6989 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6991 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6992 storage class. Initialize qNaN_var and sNaN_var with
6993 __builtin_nan and __builtin_nans families of functions,
6996 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6997 (sqrt_test): Remove duplicate test with qNaN input.
6998 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6999 (round_test, signbit_test, significand_test): Note missing +/-Inf
7000 as well as qNaN tests.
7002 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7003 qNaN_var. Fix a few strings, too.
7004 * math/libm-test.inc (nan_value): Rename to qnan_value.
7005 * math/gen-libm-test.pl (%beautify): Adjust to that.
7006 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7007 * math/test-misc.c (main): Likewise.
7008 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7009 to __qnan_bytes, and __qnan_union, respectively.
7010 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7012 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7013 and lqnanval, respectively.
7014 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7015 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7016 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7017 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7019 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7020 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7023 * math/test-misc.c (main): Fix copy'n'pastos.
7024 * misc/tst-efgcvt.c (special): Likewise.
7026 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7027 Remove declarations.
7029 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7031 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7032 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7033 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7034 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7036 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7038 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7039 macro to return vdso values correctly in IFUNC implementations.
7040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7041 Optimization by using IFUNC.
7043 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7044 Richard Henderson <rth@redhat.com>
7045 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7047 * Makefile.in (bench): New target.
7048 * NEWS: Mention the benchmark framework.
7049 * Rules (bench): Likewise.
7050 (binaries-bench): Generate binaries for functions to
7052 * benchtests/Makefile: New makefile for benchmark tests.
7053 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7055 * benchtests/exp-inputs: New input file for EXP function.
7056 * benchtests/pow-inputs: New input file for POW function.
7057 * scripts/bench.pl: New script to generate source files for
7060 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7062 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7063 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7064 computations on mantissa. Use macros for rounding and
7067 (__dbl_mp): Likewise.
7068 (add_magnitudes): Likewise.
7069 (sub_magnitudes): Likewise.
7072 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7073 powers of two in terms of TWOPOW macro.
7074 (mp_no): Make type of mantissa as MANTISSA_T.
7075 [!RADIXI]: Define RADIXI.
7076 [!TWO52]: Define TWO52.
7077 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7079 * manual/nptl.texi (cindex): Modify threads to pthreads.
7081 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7083 * sysdeps/x86_64/preconfigure: Regenerated.
7085 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7088 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7090 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7091 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7093 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7094 * math/libm-test.inc (j0_test): Do not allow one spurious
7095 underflow exception.
7096 (y1_test): Likewise.
7098 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7100 * manual/Makefile (chapters): Add nptl.
7101 * manual/debug.texi (Debugging Support): Add link to Threads
7103 * manual/nptl.texi: New file.
7105 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7107 2013-03-14 Petr Baudis <pasky@ucw.cz>
7109 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7110 for non-NULL pointer before the memory validity test. Pointed
7111 out by Holger Brunck <holger.brunck@keymile.com>.
7113 2013-03-13 Andreas Schwab <schwab@suse.de>
7115 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7118 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7120 * timezone/zic.c: Update from tzcode 2013b.
7122 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7124 * manual/install.texi (Configuring and compiling):
7125 Mention i686 and i586.
7126 * INSTALL: Regenerate.
7128 2013-03-12 Roland McGrath <roland@hack.frob.com>
7130 * sysdeps/init_array/elf-init.c: New file.
7132 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7133 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7135 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7136 __gmon_start__ as global, but as static with a .preinit_array pointer.
7137 * sysdeps/init_array/gmon-start.c: New file. Use that.
7138 * sysdeps/init_array/crti.S: New file, empty except for comments.
7139 * sysdeps/init_array/crtn.S: Likewise.
7141 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7143 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7146 Remove Prefer_SSE_for_memop.
7147 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7148 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7149 HAS_PREFER_SSE_FOR_MEMOP.
7150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7153 Remove bzero, memset ifunc support.
7154 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7155 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7156 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7157 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7159 2013-03-11 Andreas Schwab <schwab@suse.de>
7162 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7165 (GLIBC_2.16): Remove pthread_atfork.
7167 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7169 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7170 (ptestcases.h): Likewise.
7172 2013-03-08 Roland McGrath <roland@hack.frob.com>
7174 * Makeconfig ($(common-objpfx)config.status): Depend on
7175 sysdeps/*/preconfigure{,.in} too.
7177 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7179 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7180 (__free_hook): Use void * instead of __malloc_ptr_t.
7181 (__malloc_hook): Likewise.
7182 (__realloc_hook): Likewise.
7183 (__memalign_hook): Likewise.
7184 (__after_morecore_hook): Likewise.
7185 * malloc/arena.c (save_malloc_hook): Likewise.
7186 (save_free_hook): Likewise.
7187 * malloc/hooks.c (malloc_hook_ini): Likewise.
7188 (realloc_hook_ini): Likewise.
7189 (memalign_hook_ini): Likewise.
7190 * malloc/malloc.c (malloc_hook_ini): Likewise.
7191 (realloc_hook_ini): Likewise.
7192 (memalign_hook_ini): Likewise.
7193 (__free_hook): Likewise.
7194 (__malloc_hook): Likewise.
7195 (__realloc_hook): Likewise.
7196 (__memalign_hook): Likewise.
7197 (__libc_malloc): Likewise.
7198 (__libc_free): Likewise.
7199 (__libc_realloc): Likewise.
7200 (__libc_memalign): Likewise.
7201 (__libc_valloc): Likewise.
7202 (__libc_pvalloc): Likewise.
7203 (__libc_calloc): Likewise.
7204 (__posix_memalign): Likewise.
7205 * malloc/morecore.c (__sbrk): Likewise.
7206 (__default_morecore): Likewise.
7208 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7210 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7211 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7214 * malloc/malloc.h (__malloc_size_t): Remove macro.
7215 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7217 (old_memalign_hook): Likewise.
7218 (old_realloc_hook): Likewise.
7219 (struct hdr): Likewise.
7221 (mallochook): Likewise.
7222 (memalignhook): Likewise.
7223 (reallochook): Likewise.
7224 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7225 (tr_old_realloc_hook): Likewise.
7226 (tr_old_memalign_hook): Likewise.
7227 (tr_mallochook): Likewise.
7228 (tr_reallochook): Likewise.
7229 (tr_memalignhook): Likewise.
7231 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7234 default_ldbl_pack and using as default implementation.
7235 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7237 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7238 redundant definition.
7239 (ldbl_insert_mantissa): Likewise.
7240 (ldbl_canonicalize): Likewise.
7241 (ldbl_nearbyint): Likewise.
7242 (ldbl_pack): Rename to ldbl_pack_ppc.
7243 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7244 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7245 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7247 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7250 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7251 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7252 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7254 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7255 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7256 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7258 2013-03-07 Andreas Jaeger <aj@suse.de>
7260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7263 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7265 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7266 Include mpa.h and declare __MPEXP.
7267 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7268 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7269 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7270 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7271 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7272 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7275 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7276 (__slowpow): Use long double EXPL and LOGL functions to
7278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7279 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7280 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7282 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7286 intermediate variable to calculate exponent.
7288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7292 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7293 [!NO__SQR]: Define __sqr.
7294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7295 and NO__SQR. Remove all code except __mul and __sqr. Include
7296 sysdeps/ieee754/dbl-64/mpa.c.
7297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7300 * posix/Makefile (tests): Add tst-pathconf.
7301 * posix/tst-pathconf.c: New test case.
7302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7304 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7306 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7308 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7310 2013-03-06 Andreas Jaeger <aj@suse.de>
7312 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7313 definition via __MAP_ANONYMOUS.
7315 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7316 it's not part of Linux headers.
7318 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7319 (MAP_HUGE_MASK): Define.
7321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7323 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7324 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7326 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7327 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7329 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7330 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7332 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7334 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7335 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7336 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7337 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7338 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7341 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7344 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7345 Handle f2fs and efivarfs.
7347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7350 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7351 (EFIVARFS_MAGIC): Add.
7352 (F2FS_LINK_MAX): Add.
7354 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7356 * stdio-common/vfprintf.c: Replace __builtin_expect with
7359 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7362 * sysdeps/generic/bp-sym.h: Remove file.
7363 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7364 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7365 <bp-sym.h> and <bp-asm.h>.
7366 (__longjmp): Don't use BP_SYM.
7367 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7369 (memcpy): Don't use BP_SYM.
7370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7371 <bp-sym.h> and <bp-asm.h>.
7372 (memcpy): Don't use BP_SYM.
7373 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7375 (memcpy): Don't use BP_SYM.
7376 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7378 (memset): Don't use BP_SYM.
7379 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7380 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7381 (__bzero): Don't use BP_SYM.
7382 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7383 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7384 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7385 <bp-sym.h> and <bp-asm.h>.
7386 (memcmp): Don't use BP_SYM. Remove comment about bounded
7388 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7389 <bp-sym.h> and <bp-asm.h>.
7390 (memcpy): Don't use BP_SYM.
7391 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7392 <bp-sym.h> and <bp-asm.h>.
7393 (memset): Don't use BP_SYM.
7394 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7395 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7396 (__bzero): Don't use BP_SYM.
7397 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7398 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7399 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7400 <bp-sym.h> and <bp-asm.h>.
7401 (strncmp): Don't use BP_SYM. Remove comment about bounded
7403 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7404 <bp-sym.h> and <bp-asm.h>.
7405 (memcpy): Don't use BP_SYM.
7406 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7407 <bp-sym.h> and <bp-asm.h>.
7408 (memset): Don't use BP_SYM.
7409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7411 (__bzero): Don't use BP_SYM.
7412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7415 <bp-sym.h> and <bp-asm.h>.
7416 (__memchr): Don't use BP_SYM.
7417 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7418 <bp-sym.h> and <bp-asm.h>.
7419 (memcmp): Don't use BP_SYM. Remove comment about bounded
7421 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7422 <bp-sym.h> and <bp-asm.h>.
7423 (memcpy): Don't use BP_SYM.
7424 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7425 <bp-sym.h> and <bp-asm.h>.
7426 (__mempcpy): Don't use BP_SYM.
7427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7428 <bp-sym.h> and <bp-asm.h>.
7429 (__memrchr): Don't use BP_SYM.
7430 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7431 <bp-sym.h> and <bp-asm.h>.
7432 (memset): Don't use BP_SYM.
7433 (__bzero): Likewise.
7434 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7435 <bp-sym.h> and <bp-asm.h>.
7436 (__rawmemchr): Don't use BP_SYM.
7437 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7438 <bp-sym.h> and <bp-asm.h>.
7439 (__STRCMP): Don't use BP_SYM.
7440 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7441 <bp-sym.h> and <bp-asm.h>.
7442 (strchr): Don't use BP_SYM.
7443 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7444 <bp-sym.h> and <bp-asm.h>.
7445 (__strchrnul): Don't use BP_SYM.
7446 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7447 <bp-sym.h> and <bp-asm.h>.
7448 (strlen): Don't use BP_SYM.
7449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7450 <bp-sym.h> and <bp-asm.h>.
7451 (strncmp): Don't use BP_SYM. Remove comment about bounded
7453 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7454 <bp-sym.h> and <bp-asm.h>.
7455 (__strnlen): Don't use BP_SYM.
7456 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7457 <bp-sym.h> and <bp-asm.h>.
7458 (__GI__setjmp): Don't use BP_SYM.
7459 (_setjmp): Likewise.
7460 (__sigsetjmp): Likewise.
7461 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7462 (L(start_addresses)): Don't use BP_SYM.
7464 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7466 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7467 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7468 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7469 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7470 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7472 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7473 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7474 about bounded pointers.
7475 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7476 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7477 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7479 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7480 about bounded pointers. Remove GKM FIXME comments.
7481 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7482 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7484 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7485 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7486 Remove GKM FIXME comments.
7487 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7488 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7489 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7491 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7492 about bounded pointers. Remove GKM FIXME comment.
7493 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7495 (strncmp): Don't use BP_SYM. Remove comment about bounded
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7498 <bp-sym.h> and <bp-asm.h>.
7499 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7501 <bp-sym.h> and <bp-asm.h>.
7502 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7505 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7507 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7510 2013-03-05 David S. Miller <davem@davemloft.net>
7512 * po/es.po: Update from translation team.
7514 2013-03-05 Andreas Jaeger <aj@suse.de>
7516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7517 <bits/mman-linux.h>.
7518 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7521 <bits/mman-linux.h> to end of file.
7522 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7525 <bits/mman-linux.h> to end of file.
7526 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7529 <bits/mman-linux.h> to end of file.
7531 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7532 (MCL_CURRENT, MCL_FUTURE): Define here.
7534 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7537 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7539 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7541 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7544 fourth parameter needed for rt_sigprocmask syscall.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7547 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7548 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7549 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7550 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7552 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7555 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7556 comment about bounded pointers.
7557 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7558 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7560 2013-03-04 Andreas Jaeger <aj@suse.de>
7562 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7566 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7568 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7572 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7576 __ieee754_sqrl instead of __sqrl.
7578 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7580 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7581 * sysdeps/powerpc/fpu_control.h: ... here.
7582 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7583 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7584 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7585 * sysdeps/powerpc/bits/mathinline.h: ... here.
7587 2013-03-01 Roland McGrath <roland@hack.frob.com>
7589 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7590 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7591 to just [NEED_DL_SYSINFO_DSO].
7592 * elf/dl-support.c: Likewise.
7593 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7594 * elf/rtld.c (dl_main): Likewise.
7595 * elf/setup-vdso.h (setup_vdso): Likewise.
7596 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7597 * sysdeps/unix/sysv/linux/dl-sysdep.c
7598 (_dl_discover_osversion): Likewise.
7600 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7602 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7603 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7605 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7607 * NEWS: Mention libm performance improvements and non-x86 PI
7610 * csu/libc-start.c (__pthread_initialize_minimal): Change
7612 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7614 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7617 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7618 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7619 <bp-sym.h> and <bp-asm.h>.
7620 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7621 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7623 (memcpy): Don't use BP_SYM.
7624 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7626 (__mpn_add_n): Don't use BP_SYM.
7627 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7628 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7630 (__mpn_addmul_1): Don't use BP_SYM.
7631 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7632 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7634 (_setjmp): Don't use BP_SYM.
7635 (__novmx_setjmp): Likewise.
7636 (__GI__setjmp): Likewise.
7637 (__vmx_setjmp): Likewise.
7638 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7640 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7641 (__bzero): Don't use BP_SYM.
7642 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7643 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7644 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7645 <bp-sym.h> and <bp-asm.h>.
7646 (memcpy): Don't use BP_SYM.
7647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7648 <bp-sym.h> and <bp-asm.h>.
7649 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7650 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7651 <bp-sym.h> and <bp-asm.h>.
7652 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7653 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7655 (__mpn_lshift): Don't use BP_SYM.
7656 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7657 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7659 (memset): Don't use BP_SYM.
7660 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7661 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7662 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7664 (__mpn_mul_1): Don't use BP_SYM.
7665 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7666 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7667 <bp-sym.h> and <bp-asm.h>.
7668 (memcmp): Don't use BP_SYM.
7669 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7670 <bp-sym.h> and <bp-asm.h>.
7671 (memcpy): Don't use BP_SYM.
7672 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7673 <bp-sym.h> and <bp-asm.h>.
7674 (memset): Don't use BP_SYM.
7675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7676 <bp-sym.h> and <bp-asm.h>.
7677 (strncmp): Don't use BP_SYM.
7678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7679 <bp-sym.h> and <bp-asm.h>.
7680 (memcpy): Don't use BP_SYM.
7681 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7682 <bp-sym.h> and <bp-asm.h>.
7683 (memset): Don't use BP_SYM.
7684 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7685 <bp-sym.h> and <bp-asm.h>.
7686 (__memchr): Don't use BP_SYM.
7687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7688 <bp-sym.h> and <bp-asm.h>.
7689 (memcmp): Don't use BP_SYM.
7690 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7691 <bp-sym.h> and <bp-asm.h>.
7692 (memcpy): Don't use BP_SYM.
7693 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7694 <bp-sym.h> and <bp-asm.h>.
7695 (__mempcpy): Don't use BP_SYM.
7696 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7697 <bp-sym.h> and <bp-asm.h>.
7698 (__memrchr): Don't use BP_SYM.
7699 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7700 <bp-sym.h> and <bp-asm.h>.
7701 (memset): Don't use BP_SYM.
7702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7703 <bp-sym.h> and <bp-asm.h>.
7704 (__rawmemchr): Don't use BP_SYM.
7705 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7706 <bp-sym.h> and <bp-asm.h>.
7707 (__STRCMP): Don't use BP_SYM.
7708 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7709 <bp-sym.h> and <bp-asm.h>.
7710 (strchr): Don't use BP_SYM.
7711 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7712 <bp-sym.h> and <bp-asm.h>.
7713 (__strchrnul): Don't use BP_SYM.
7714 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7715 <bp-sym.h> and <bp-asm.h>.
7716 (strlen): Don't use BP_SYM.
7717 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7718 <bp-sym.h> and <bp-asm.h>.
7719 (strncmp): Don't use BP_SYM.
7720 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7721 <bp-sym.h> and <bp-asm.h>.
7722 (__strnlen): Don't use BP_SYM.
7723 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7725 (__mpn_rshift): Don't use BP_SYM.
7726 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7727 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7728 <bp-sym.h> and <bp-asm.h>.
7729 (__sigsetjmp): Don't use BP_SYM.
7730 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7731 (L(start_addresses)): Don't use BP_SYM.
7733 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7735 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7736 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7737 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7738 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7740 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7741 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7742 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7743 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7745 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7747 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7748 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7750 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7752 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7753 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7754 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7756 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7758 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7760 (strncmp): Don't use BP_SYM,
7761 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7763 (__mpn_sub_n): Don't use BP_SYM.
7764 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7765 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7767 (__mpn_submul_1): Don't use BP_SYM.
7768 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7770 <bp-sym.h> and <bp-asm.h>.
7771 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7773 <bp-sym.h> and <bp-asm.h>.
7774 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7777 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7780 Use ZK to minimize writes to Z.
7781 (sub_magnitudes): Simplify code a bit.
7782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7783 Use ZK to minimize writes to Z.
7784 (sub_magnitudes): Simplify code a bit.
7786 2013-02-27 Roland McGrath <roland@hack.frob.com>
7788 * csu/gmon-start.c: Add special exception to license text.
7790 2013-02-27 Richard Henderson <rth@redhat.com>
7792 * scripts/config.guess: Update from config.git.
7793 * scripts/config.sub: Likewise.
7795 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7797 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7799 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7801 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7803 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7805 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7807 2013-02-26 Roland McGrath <roland@hack.frob.com>
7809 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7810 [$(build-shared = yes].
7812 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7814 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7815 (__mul): Reduce iterations for calculating mantissa.
7817 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7819 (__mpranred): Likewise.
7822 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7823 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7825 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7827 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7828 Define __attribute__.
7830 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7832 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7834 * posix/regex_internal.h (__attribute): Remove.
7835 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7836 (re_string_context_at): Likewise.
7837 (bitset_not): Use __attribute__ and mark function as possibly
7839 (bitset_merge): Likewise.
7840 (bitset_mask): Likewise.
7841 (re_string_char_size_at): Likewise.
7842 (re_string_wchar_at): Likewise.
7843 (re_string_elem_size_at): Likewise.
7845 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7847 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7851 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7856 (__dbl_mp): Likewise.
7857 (add_magnitudes): Likewise.
7858 (sub_magnitudes): Likewise.
7862 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7865 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7868 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7872 up changes with default code.
7873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7876 2013-02-24 Allan McRae <allan@archlinux.org>
7878 * manual/socket.texi (The Internet Namespace): Order menu items
7879 to match that in the file.
7881 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7882 node listing of the info page menu.
7884 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7887 * sysdeps/i386/bp-asm.h: Remove file.
7888 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7889 (PARMS): Do not use macros from bp-asm.h.
7893 (__mpn_add_n): Do not use BP_SYM
7894 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7896 (PARMS): Do not use macros from bp-asm.h.
7899 (__mpn_addmul_1): Do not use BP_SYM
7900 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7902 (PARMS): Do not use macros from bp-asm.h.
7904 (_setjmp): Likewise. Do not use BP_SYM.
7905 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7907 (PARMS): Do not use macros from bp-asm.h.
7909 (setjmp): Likewise. Do not use BP_SYM.
7910 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7912 (PARMS): Do not use macros from bp-asm.h.
7913 (__frexp): Do not use BP_SYM.
7915 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7917 (PARMS): Do not use macros from bp-asm.h.
7918 (__frexpf): Do not use BP_SYM.
7920 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7922 (PARMS): Do not use macros from bp-asm.h.
7923 (__frexpl): Do not use BP_SYM.
7925 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7927 (PARMS): Do not use macros from bp-asm.h.
7928 (__remquo): Do not use BP_SYM.
7930 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7932 (PARMS): Do not use macros from bp-asm.h.
7933 (__remquof): Do not use BP_SYM.
7934 (remquof): Likewise.
7935 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7937 (PARMS): Do not use macros from bp-asm.h.
7938 (__remquol): Do not use BP_SYM.
7939 (remquol): Likewise.
7940 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7942 (PARMS): Do not use macros from bp-asm.h.
7945 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7946 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7948 (PARMS): Do not use macros from bp-asm.h.
7949 (strlen): Do not use BP_SYM.
7950 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7952 (PARMS): Do not use macros from bp-asm.h.
7956 (__mpn_add_n): Do not use BP_SYM.
7957 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7959 (PARMS): Do not use macros from bp-asm.h.
7962 (__mpn_addmul_1): Do not use BP_SYM.
7963 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7966 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7968 (PARMS): Do not use macros from bp-asm.h.
7971 (__mpn_lshift): Do not use BP_SYM.
7972 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7974 (PARMS): Do not use macros from bp-asm.h.
7978 (memcpy): Likewise. Do not use BP_SYM.
7979 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7980 libc_hidden_def and weak_alias.
7981 (mempcpy): Do not use BP_SYM in weak_alias.
7982 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7984 (PARMS): Do not use macros from bp-asm.h.
7987 [!BZERO_P] (CHR): Likewise.
7988 (memset): Likewise. Do not use BP_SYM.
7989 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7991 (PARMS): Do not use macros from bp-asm.h.
7994 (__mpn_mul_1): Do not use BP_SYM.
7995 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7997 (PARMS): Do not use macros from bp-asm.h.
8000 (__mpn_rshift): Do not use BP_SYM.
8001 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8003 (PARMS): Do not use macros from bp-asm.h.
8006 (strchr): Likewise. Do not use BP_SYM.
8007 (index): Do not use BP_SYM in weak_alias.
8008 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8010 (PARMS): Do not use macros from bp-asm.h.
8013 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8014 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8016 (PARMS): Do not use macros from bp-asm.h.
8017 (strlen): Do not use BP_SYM.
8018 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8020 (PARMS): Do not use macros from bp-asm.h.
8024 (__mpn_sub_n): Do not use BP_SYM.
8025 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8027 (PARMS): Do not use macros from bp-asm.h.
8030 (__mpn_submul_1): Do not use BP_SYM.
8031 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8033 (PARMS): Do not use macros from bp-asm.h.
8037 (__mpn_add_n): Do not use BP_SYM.
8038 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8041 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8043 (PARMS): Do not use macros from bp-asm.h.
8046 (memcmp): Do not use BP_SYM.
8047 (bcmp): Do not use BP_SYM in weak_alias.
8048 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8050 (PARMS): Do not use macros from bp-asm.h.
8054 (memcpy): Likewise. Do not use BP_SYM.
8055 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8057 (PARMS): Do not use macros from bp-asm.h.
8061 (memmove): Likewise. Do not use BP_SYM.
8062 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8064 (PARMS): Do not use macros from bp-asm.h.
8068 (__mempcpy): Likewise. Do not use BP_SYM.
8069 (mempcpy): Do not use BP_SYM in weak_alias.
8070 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8072 (PARMS): Do not use macros from bp-asm.h.
8075 [!BZERO_P] (CHR): Likewise.
8076 (memset): Likewise. Do not use BP_SYM.
8077 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8079 (PARMS): Do not use macros from bp-asm.h.
8081 (strcmp): Do not use BP_SYM.
8082 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8084 (PARMS): Do not use macros from bp-asm.h.
8087 [USE_AS_STRTOK_R] (SAVE): Likewise.
8088 (FUNCTION): Likewise. Do not use BP_SYM.
8089 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8091 (strtok_r): Likewise.
8092 (__GI___strtok_r): Likewise.
8093 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8094 (PARMS): Do not use macros from bp-asm.h.
8097 (__mpn_lshift): Do not use BP_SYM.
8098 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8099 (PARMS): Do not use macros from bp-asm.h.
8102 (__memchr): Do not use BP_SYM.
8103 (memchr): Do not use BP_SYM in weak_alias.
8104 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8105 (PARMS): Do not use macros from bp-asm.h.
8108 (memcmp): Do not use BP_SYM.
8109 (bcmp): Do not use BP_SYM in weak_alias.
8110 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8111 (PARMS): Do not use macros from bp-asm.h.
8114 (__mpn_mul_1): Do not use BP_SYM.
8115 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8117 (PARMS): Do not use macros from bp-asm.h.
8120 (__rawmemchr): Do not use BP_SYM.
8121 (rawmemchr): Do not use BP_SYM in weak_alias.
8122 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8123 (PARMS): Do not use macros from bp-asm.h.
8126 (__mpn_rshift): Do not use BP_SYM.
8127 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8128 (PARMS): Do not use macros from bp-asm.h.
8130 (__sigsetjmp): Likewise. Do not use BP_SYM.
8131 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8132 (_start): Do not use BP_SYM.
8133 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8134 (PARMS): Do not use macros from bp-asm.h.
8137 (__stpcpy): Likewise. Do not use BP_SYM.
8138 (stpcpy): Do not use BP_SYM in weak_alias.
8139 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8141 (PARMS): Do not use macros from bp-asm.h.
8145 (__stpncpy): Likewise. Do not use BP_SYM.
8146 (stpncpy): Do not use BP_SYM in weak_alias.
8147 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8148 (PARMS): Do not use macros from bp-asm.h.
8151 (strchr): Likewise. Do not use BP_SYM.
8152 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8154 (PARMS): Do not use macros from bp-asm.h.
8157 (__strchrnul): Likewise. Do not use BP_SYM.
8158 (strchrnul): Do not use BP_SYM in weak_alias.
8159 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8161 (PARMS): Do not use macros from bp-asm.h.
8163 (strcspn): Do not use BP_SYM.
8164 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8166 (PARMS): Do not use macros from bp-asm.h.
8169 (strpbrk): Likewise. Do not use BP_SYM.
8170 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8172 (PARMS): Do not use macros from bp-asm.h.
8175 (strrchr): Likewise. Do not use BP_SYM.
8176 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8177 (PARMS): Do not use macros from bp-asm.h.
8179 (strspn): Do not use BP_SYM.
8180 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8181 (PARMS): Do not use macros from bp-asm.h.
8185 (FUNCTION): Likewise. Do not use BP_SYM.
8186 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8188 (strtok_r): Likewise.
8189 (__GI___strtok_r): Likewise.
8190 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8191 (PARMS): Do not use macros from bp-asm.h.
8195 (__mpn_sub_n): Do not use BP_SYM.
8196 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8198 (PARMS): Do not use macros from bp-asm.h.
8201 (__mpn_submul_1): Do not use BP_SYM.
8202 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8204 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8206 (PARMS): Do not use macros from bp-asm.h.
8211 (__clone): Do not use BP_SYM.
8212 (clone): Do not use BP_SYM in weak_alias.
8213 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8215 (PARMS): Do not use macros from bp-asm.h.
8217 (__mmap64): Do not use BP_SYM.
8218 (mmap64): Do not use BP_SYM in weak_alias.
8219 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8220 <bp-sym.h> and <bp-asm.h>.
8221 (PARMS): Do not use macros from bp-asm.h.
8222 (__posix_fadvise64_l64): Do not use BP_SYM.
8223 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8224 (PARMS): Do not use macros from bp-asm.h.
8226 (semtimedop): Do not use BP_SYM.
8227 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8230 2013-02-21 Allan McRae <allan@archlinux.org>
8232 * manual/message.texi (Charset conversion in gettext):
8233 Move @end statement to beginning of line.
8235 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8247 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8249 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8250 tail-call to the resolved function if pltexit isn't needed.
8252 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8255 or Y being zero as being unlikely.
8256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8259 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8261 * manual/nss.texi (System Databases and Name Service Switch):
8262 Remove frobnicate @pxref.
8264 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8266 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8267 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8269 2013-02-20 Petr Machata <pmachata@redhat.com>
8271 * elf/elf.h (R_ARM_TARGET1): New macro.
8272 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8273 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8274 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8275 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8276 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8277 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8278 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8279 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8280 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8281 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8282 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8283 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8284 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8285 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8286 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8287 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8288 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8289 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8290 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8291 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8292 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8293 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8294 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8295 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8296 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8297 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8298 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8299 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8300 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8301 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8302 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8303 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8304 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8305 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8306 (R_ARM_THM_GOT_BREL12): Likewise.
8307 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8308 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8309 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8310 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8311 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8312 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8313 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8314 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8315 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8317 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8319 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8320 __attribute_used__ to __attribute__ ((unused)).
8322 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8324 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8330 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8333 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8335 (ENTER): Remove both macro definitions.
8337 (CHECK_BOUNDS_LOW): Likewise.
8338 (CHECK_BOUNDS_HIGH): Likewise.
8339 (CHECK_BOUNDS_BOTH): Likewise.
8340 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8341 (RETURN_BOUNDED_POINTER): Likewise.
8342 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8343 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8344 (POP_ERRNO_LOCATION_RETURN): Likewise.
8345 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8346 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8347 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8349 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8350 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8351 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8352 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8353 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8354 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8355 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8356 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8357 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8358 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8359 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8360 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8361 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8362 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8364 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8365 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8367 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8368 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8369 * sysdeps/i386/i586/memset.S (memset): Likewise.
8370 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8371 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8372 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8374 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8375 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8376 Change uses of L(2) to L(out).
8377 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8378 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8379 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8380 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8381 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8383 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8384 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8386 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8387 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8388 (RETURN): Do not use macro LEAVE.
8389 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8390 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8391 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8392 * sysdeps/i386/i686/memset.S (memset): Likewise.
8393 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8394 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8395 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8396 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8398 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8399 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8400 L(1_2) and L(1_3) into L(1).
8401 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8402 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8403 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8404 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8405 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8406 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8407 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8408 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8409 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8411 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8412 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8413 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8414 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8415 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8416 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8417 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8418 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8419 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8420 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8421 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8422 * sysdeps/i386/strspn.S (strspn): Likewise.
8423 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8425 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8426 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8427 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8428 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8430 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8431 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8432 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8434 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8436 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8438 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8441 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8443 * math/atest-exp.c (exp_mpn): Remove ROUND.
8444 * math/atest-exp2.c (exp_mpn): Likewise.
8445 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8447 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8448 * stdlib/tst-tls-atexit-lib.c: Likewise.
8449 * stdlib/tst-tls-atexit.c: Likewise.
8451 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8453 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8454 and __attribute_alloc_size__.
8456 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8458 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8459 __attribute_alloc_size__.
8460 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8461 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8463 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8465 * include/programs/xmalloc.h: New file.
8466 * catgets/gencat.c: Include it.
8467 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8468 * elf/pldd.c: Likewise.
8469 * iconv/iconv_charmap.c: Likewise.
8470 * iconv/iconvconfig.c: Likewise.
8471 * iconv/strtab.c: Likewise.
8472 * locale/programs/locale.c: Likewise.
8473 * locale/programs/localedef.h: Likewise.
8474 * locale/programs/simple-hash.c: Likewise.
8475 * nscd/nscd.h: Likewise.
8476 * nss/makedb.c: Likewise.
8477 * sysdeps/generic/ldconfig.h: Likewise.
8479 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8481 * Versions.def: Add GLIBC_2.18.
8482 * include/link.h (struct link_map): New member l_tls_dtor_count.
8483 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8484 (__call_tls_dtors): Likewise.
8485 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8486 __cxa_thread_atexit_impl.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8503 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8504 (tests): Add test case tst-tls-atexit.
8505 (modules-names): Add shared library for tst-tls-atexit.
8506 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8507 (GLIBC_PRIVATE): Add __call_tls_dtors.
8508 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8510 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8511 * stdlib/tst-tls-atexit.c: New test case.
8512 * stdlib/tst-tls-atexit-lib.c: New test case.
8514 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8516 * elf/Versions (ld): Add _dl_find_dso_for_object.
8517 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8518 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8519 (dl_open_worker): Use _dl_find_dso_for_object.
8520 * elf/dl-sym.c (do_sym): Likewise.
8521 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8523 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8525 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8526 Syntactic changes only.
8527 (_dl_runtime_profile): Do a tail-call to the resolved function.
8529 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8532 * sysdeps/x86_64/bp-asm.h: Remove file.
8533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8534 <bp-sym.h> and <bp-asm.h>.
8535 (__clone): Do not use BP_SYM.
8536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8537 <bp-sym.h> and <bp-asm.h>.
8538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8539 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8541 (_setjmp): Do not use BP_SYM.
8542 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8544 (setjmp): Do not use BP_SYM.
8545 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8547 (mempcpy): Do not use BP_SYM in weak_alias.
8548 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8550 (strchr): Do not use BP_SYM.
8551 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8553 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8554 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8555 (_start): Do not use BP_SYM.
8556 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8558 (strcat): Do not use BP_SYM.
8559 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8561 (STRCMP): Do not use BP_SYM.
8562 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8564 (STRCPY): Do not use BP_SYM.
8565 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8567 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8569 (FUNCTION): Do not use BP_SYM.
8570 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8572 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8574 2013-02-17 Andreas Jaeger <aj@suse.de>
8576 * time/Versions: Sort entries.
8577 * string/Versions: Likewise.
8578 * resolv/Versions: Likewise.
8579 * posix/Versions: Likewise.
8580 * iconv/Versions: Likewise.
8581 * elf/Versions: Likewise.
8582 * wcsmbs/Versions: Likewise.
8584 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8586 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8587 loop termination condition.
8589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8590 variable to calculate EZ.
8593 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8594 the lower precision input.
8596 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8599 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8600 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8601 (run-via-rtld-prefix): Do not handle %-bp tests.
8602 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8603 (all-object-suffixes): Remove .ob.
8604 (bppfx): Remove variable.
8605 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8606 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8607 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8608 [$(build-bounded) = yes] (libtype.ob): Likewise.
8609 * Makerules (elide-routines.ob): Remove variable.
8610 (do-tests-clean): Do not handle *-bp.out.
8611 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8612 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8613 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8614 (tests): Do not include $(tests-bp.out).
8615 (xtests): Do not include $(xtests-bp.out).
8616 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8617 [$(build-bounded) = yes] ($(addprefix
8618 $(objpfx),$(binaries-bounded))): Remove rule.
8619 ($(objpfx)%-bp.out): Remove rule.
8620 * config.make.in (build-bounded): Remove variable.
8621 * crypt/Makefile [$(build-bounded) = yes]
8622 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8623 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8625 [$(build-bounded) = yes] (install-lib): Likewise.
8626 [$(build-bounded) = yes] (generated): Likewise.
8627 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8629 * intl/Makefile [$(build-bounded) = yes]
8630 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8631 * math/Makefile [$(build-bounded) = yes]
8632 ($(tests:%=$(objpfx)%-bp): Likewise.
8633 * misc/Makefile [$(build-bounded) = yes]
8634 ($(objpfx)tst-tsearch-bp): Likewise.
8635 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8636 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8638 * string/Makefile (o-objects.ob): Remove variable.
8639 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8640 (CFLAGS-.ob): Remove variable.
8641 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8642 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8643 both definitions of variable.
8644 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8645 (ASFLAGS-.ob): Remove variable.
8647 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8650 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8651 Remove __BOUNDED_POINTERS__ from condition.
8652 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8653 * string/bits/string2.h [!__NO_STRING_INLINES &&
8654 !__BOUNDED_POINTERS__]: Likewise.
8655 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8657 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8658 Remove conditional code.
8659 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8660 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8661 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8665 * csu/libc-start.c: Do not include <bp-sym.h>.
8666 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8667 * elf/dl-open.c: Do not include <bp-sym.h>.
8668 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8669 * math/fegetenv.c: Do not include <bp-sym.h>.
8670 (fegetenv): Do not use BP_SYM in versioned symbols.
8671 * nptl/sysdeps/pthread/bits/libc-lockP.h
8672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8675 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8677 (__pthread_mutex_destroy): Likewise.
8678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8679 (__pthread_mutex_lock): Likewise.
8680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8681 (__pthread_mutex_trylock): Likewise.
8682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8683 (__pthread_mutex_unlock): Likewise.
8684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8685 (__pthread_mutexattr_init): Likewise.
8686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8687 (__pthread_mutexattr_destroy): Likewise.
8688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8689 (__pthread_mutexattr_settype): Likewise.
8690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8691 (__pthread_rwlock_init): Likewise.
8692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8693 (__pthread_rwlock_destroy): Likewise.
8694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8695 (__pthread_rwlock_rdlock): Likewise.
8696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8697 (__pthread_rwlock_tryrdlock): Likewise.
8698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8699 (__pthread_rwlock_wrlock): Likewise.
8700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8701 (__pthread_rwlock_trywrlock): Likewise.
8702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8703 (__pthread_rwlock_unlock): Likewise.
8704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8705 (__pthread_key_create): Likewise.
8706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8707 (__pthread_setspecific): Likewise.
8708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8709 (__pthread_getspecific): Likewise.
8710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8713 (_pthread_cleanup_push_defer): Likewise.
8714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8715 (_pthread_cleanup_pop_restore): Likewise.
8716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8717 (pthread_setcancelstate): Likewise.
8718 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8720 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8721 (memchr): Do not use BP_SYM in weak_alias.
8722 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8723 (fegetenv): Do not use BP_SYM in versioned symbols.
8724 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8725 (fesetenv): Do not use BP_SYM in versioned symbols.
8726 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8727 (feupdateenv): Do not use BP_SYM in versioned symbols.
8728 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8729 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8730 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8731 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8732 (open64): Do not use BP_SYM in weak_alias.
8733 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8734 (fegetenv): Do not use BP_SYM in versioned symbols.
8735 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8736 (fesetenv): Do not use BP_SYM in versioned symbols.
8737 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8738 (feupdateenv): Do not use BP_SYM in versioned symbols.
8739 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8740 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8741 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8742 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8743 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8744 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8745 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8747 (__libc_start_main): Do not use BP_SYM.
8749 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8752 redundant return line.
8756 (sub_magnitudes): Likewise.
8762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8766 (sub_magnitudes): Likewise.
8773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8775 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8776 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8779 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8780 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8782 of __mul for squares.
8783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8790 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8793 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8795 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8796 prototype or function definition. Rename ubp_* variables and
8797 parameters. Remove argv definitions conditional on
8798 [__BOUNDED_POINTERS__].
8799 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8800 * elf/dl-runtime.c (_dl_fixup): Likewise.
8801 * include/set-hooks.h (RUN_HOOK): Likewise.
8802 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8804 * string/strcpy.c (strcpy): Do not use __unbounded.
8805 * sysdeps/generic/frame.h (struct layout): Likewise.
8806 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8807 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8808 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8809 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8810 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8811 (__backtrace): Likewise.
8812 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8814 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8815 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8816 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8818 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8819 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8820 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8821 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8822 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8823 Do not use __unbounded.
8824 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8825 Rename __unboundedrlimits parameter to rlimits in prototype.
8826 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8827 Do not use __unbounded.
8828 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8830 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8831 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8832 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8833 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8834 __ptrvalue or __unbounded.
8835 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8836 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8838 (__new_msgctl): Do not use __ptrvalue.
8839 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8841 (__libc_msgrcv): Do not use __ptrvalue.
8842 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8843 startup_info): Do not use __unbounded.
8844 (__libc_start_main): Likewise. Rename ubp_* variables and
8845 parameters. Remove argv definitions conditional on
8846 [__BOUNDED_POINTERS__].
8847 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8849 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8851 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8853 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8855 (__new_shmctl): Do not use __ptrvalue.
8856 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8857 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8859 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8861 (__libc_sigaction): Likewise.
8862 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8865 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8867 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8869 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8871 * string/mempcpy.c: Implement by calling memcpy.
8873 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8881 values in the mantissa.
8883 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8884 minimize writes to Z.
8885 (sub_magnitudes): Simplify code a bit.
8887 2013-02-12 Roland McGrath <roland@hack.frob.com>
8889 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8890 from the message. The linker prefixes all warnings with that already.
8892 2013-02-12 Andreas Schwab <schwab@suse.de>
8895 * posix/regexec.c (extend_buffers): Add parameter min_len.
8896 (check_matching): Pass minimum needed length.
8897 (clean_state_log_if_needed): Likewise.
8898 (get_subexp): Likewise.
8899 * posix/Makefile (tests): Add bug-regex34.
8900 (bug-regex34-ENV): Define.
8901 * posix/bug-regex34.c: New file.
8904 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8905 elements compare against the byte sequence of it, not its name.
8906 * posix/Makefile (tests): Add bug-regex35.
8907 (bug-regex35-ENV): Define.
8908 * posix/bug-regex35.c: New file.
8910 2013-02-11 Tom de Vries <tom@codesourcery.com>
8912 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8914 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8915 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8916 (CHECK_EOL): Add undef.
8918 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8920 * bits/stdlib-bsearch.h: New file.
8921 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8922 * stdlib/stdlib.h: Likewise.
8924 2013-02-11 Roland McGrath <roland@hack.frob.com>
8926 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8927 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8929 * manual/search.texi (Array Search Function): Add missing const in
8931 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8932 declaration to use rlim_t.
8933 (Basic Scheduling Functions): Remove erroneous const from
8934 sched_getparam prototype. Remove erroneous * from
8935 sched_get_priority_max and sched_get_priority_min prototypes.
8936 (Resource Usage): Fix summary @comment on vtimes to refer to
8937 sys/vtimes.h rather than vtimes.h.
8938 Add missing *s in vtimes prototype.
8939 (Limits on Resources): Fix ulimit prototype to return long int.
8940 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8941 prototypes to use long int rather than double.
8942 (BSD Random): Fix initstate and setstate to use char *, not void *.
8943 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8944 prototype to make second argument 'struct aiocb64 *const[]'.
8945 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8946 (Status of AIO Operations): Remove erroneous const in aio_return and
8947 aio_return64 prototypes.
8948 (Synchronizing I/O): Fix sync prototype to return void.
8949 * manual/startup.texi (Suboptions): Remove an erroneous const in
8950 getsubopt prototype.
8951 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8952 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8953 use size_t rather than int.
8954 (Scanning All Users): Likewise for getpwent_r.
8955 (Setting Groups): Add missing const to setgroups prototype.
8956 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8957 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8958 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8959 'const void *' rather than 'const char *'.
8960 (Host Address Functions): Likewise for inet_ntop.
8961 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8962 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8963 ssize_t for return value.
8964 (Sending Data): Likewise for send, sendto, sendmsg.
8965 (Socket Option Functions): Add a missing const in setsockopt prototype.
8966 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8967 use wchar_t for the argument.
8968 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8969 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8971 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8972 double/float/long double for second argument.
8973 Fix return types of significand, significandf, significandl.
8974 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8975 argument in fchmod prototype.
8976 (File Owner): Use uid_t and gid_t in fchown prototype.
8977 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8978 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8979 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8980 use 'const struct dirent **' as argument types to CMP function pointer
8982 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8983 (File Times): Fix summary magic @comment for struct utimbuf and utime
8984 to refer to utime.h, not time.h.
8985 * manual/string.texi (Argz Functions): Add missing const in
8986 argz_extract and argz_next prototypes.
8987 (Finding Tokens in a String): Likewise for basename.
8988 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8989 (Copying and Concatenation): Fix typo in wmemmove prototype.
8990 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8991 (Signal Stack): Remove erroneous const in sigstack prototype.
8992 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8994 (Simple Calendar Time): Likewise for stime.
8995 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8997 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8998 say sys/sysctl.h instead.
8999 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9000 and vsyslog prototypes.
9002 2013-02-11 Tom de Vries <tom@codesourcery.com>
9004 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9007 2013-02-11 Roland McGrath <roland@hack.frob.com>
9009 * misc/sys/mman.h: Fix typo in mremap comment.
9011 2013-02-08 Roland McGrath <roland@hack.frob.com>
9013 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9014 the '\0' terminator.
9016 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9019 * debug/segfault.c: Don't include <bp-checks.h>.
9020 * sysdeps/generic/bp-checks.h: Remove file.
9021 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9022 (__GETDENTS): Don't use CHECK_N.
9023 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9024 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9025 (__getgroups): Don't use CHECK_N.
9026 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9027 (setgroups): Don't use CHECK_N.
9028 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9029 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9030 (__libc_msgrcv): Don't use CHECK_N.
9031 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9032 (__libc_msgsnd): Don't use CHECK_N.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9035 (__libc_pread): Don't use CHECK_N.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9037 include <bp-checks.h>.
9038 (__libc_pread64): Don't use CHECK_N.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9040 include <bp-checks.h>.
9041 (__libc_pwrite): Don't use CHECK_N.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9043 include <bp-checks.h>.
9044 (__libc_pwrite64): Don't use CHECK_N.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9047 (__libc_pread): Don't use CHECK_N.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9049 include <bp-checks.h>.
9050 (__libc_pread64): Don't use CHECK_N.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9052 include <bp-checks.h>.
9053 (__libc_pwrite): Don't use CHECK_N.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9055 include <bp-checks.h>.
9056 (__libc_pwrite64): Don't use CHECK_N.
9057 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9058 (do_pread): Don't use CHECK_N.
9059 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9060 (do_pread64): Don't use CHECK_N.
9061 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9062 (do_pwrite): Don't use CHECK_N.
9063 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9064 (do_pwrite64): Don't use CHECK_N.
9065 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9066 (__libc_readv): Don't use CHECK_N.
9067 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9068 (semop): Don't use CHECK_N.
9069 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9071 (semtimedop): Don't use CHECK_N.
9072 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9073 (__libc_pread): Don't use CHECK_N.
9074 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9076 (__libc_pread64): Don't use CHECK_N.
9077 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9079 (__libc_pwrite): Don't use CHECK_N.
9080 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9082 (__libc_pwrite64): Don't use CHECK_N.
9083 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9085 (__libc_msgrcv): Don't use CHECK_N.
9086 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9087 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9088 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9089 (__libc_writev): Don't use CHECK_N.
9091 2013-02-08 Roland McGrath <roland@hack.frob.com>
9093 * string/strcpy.c: Removed unused variable.
9095 * Makeconfig (+sysdep-includes): Define with := rather than =.
9096 Use an existing include/ subdir of each sysdeps dir before it.
9098 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9100 * nscd/connection.c (register_traced_file): Comment function.
9101 [HAVE_INOTIFY] (union __inev): Define.
9102 [HAVE_INOTIFY] (inotify_check_files): New function.
9103 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9104 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9106 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9108 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9110 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9111 loaded if not already and that a failure is permanent.
9113 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9116 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9117 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9119 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9122 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9123 (CHECK_1_NULL_OK): Likewise.
9124 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9125 (__fxstat): Do not use CHECK_1.
9126 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9128 (___fxstat64): Do not use CHECK_1.
9129 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9131 (__fxstatat): Do not use CHECK_1.
9132 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9134 (__fxstatat64): Do not use CHECK_1.
9135 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9137 (__fxstat): Do not use CHECK_1.
9138 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9140 (__fxstatat): Do not use CHECK_1.
9141 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9143 (__getresgid): Do not use CHECK_1.
9144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9146 (__getresuid): Do not use CHECK_1.
9147 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9149 (__lxstat): Do not use CHECK_1.
9150 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9152 (__old_msgctl): Do not use CHECK_1.
9153 (__new_msgctl): Likewise.
9154 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9156 (__new_setrlimit): Do not use CHECK_1.
9157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9159 (__old_shmctl): Do not use CHECK_1.
9160 (__new_shmctl): Likewise.
9161 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9163 (__xstat): Do not use CHECK_1.
9164 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9165 (__lxstat): Do not use CHECK_1.
9166 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9168 (___lxstat64): Do not use CHECK_1.
9169 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9170 (__old_msgctl): Do not use CHECK_1.
9171 (__new_msgctl): Likewise.
9172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9174 (__gettimeofday): Do not use CHECK_1.
9175 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9176 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9177 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9179 (__gettimeofday): Do not use CHECK_1.
9180 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9181 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9182 (__new_shmctl): Do not use CHECK_1.
9183 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9185 (do_sigtimedwait): Do not use CHECK_1.
9186 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9188 (do_sigwaitinfo): Do not use CHECK_1.
9189 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9191 (msgctl): Do not use CHECK_1.
9192 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9194 (shmctl): Do not use CHECK_1.
9195 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9196 (ustat): Do not use CHECK_1.
9197 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9199 (__fxstat): Do not use CHECK_1.
9200 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9202 (__fxstatat): Do not use CHECK_1.
9203 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9205 (__lxstat): Do not use CHECK_1.
9206 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9208 (__xstat): Do not use CHECK_1.
9209 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9210 (__xstat): Do not use CHECK_1.
9211 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9212 (___xstat64): Do not use CHECK_1.
9215 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9217 (CHECK_BOUNDS_HIGH): Likewise.
9218 * string/strcpy.c: Do not include <bp-checks.h>.
9219 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9221 2013-02-07 Roland McGrath <roland@hack.frob.com>
9223 * nscd/nscd-client.h (__nscd_drop_map_ref):
9224 Add __attribute__ ((unused)).
9225 * nis/nss-nisplus.h (niserr2nss): Likewise.
9227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9228 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9230 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9231 Remove inline keyword.
9232 * include/rounding-mode.h (round_away): Likewise.
9233 * libio/wfileops.c (adjust_wide_data): Likewise.
9234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9235 (__m128i_strloadu_tolower): Likewise.
9236 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9237 (__m128i_strloadu_tolower): Likewise.
9238 * time/mktime.c (ydhms_diff): Likewise.
9239 * locale/elem-hash.h (elem_hash): Likewise.
9240 * locale/setlocale.c (setdata): Likewise.
9241 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9242 (re_string_wchar_at): Likewise.
9243 (bitset_not, bitset_merge, bitset_mask): Likewise.
9244 [!(__GNUC__ > 3)] (inline): Remove macro.
9245 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9246 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9247 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9248 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9249 * string/memcmp.c (memcmp_bytes): Likewise.
9250 * locale/programs/locarchive.c (compute_hashval): Likewise.
9251 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9252 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9253 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9254 * nss/getent.c (print_rpc, print_protocols): Likewise.
9255 (print_passwd, print_group, print_aliases): Likewise.
9256 * nis/nss-nisplus.h (niserr2nss): Likewise.
9257 * nscd/connections.c (restart_p): Likewise.
9258 Change return type to bool.
9260 2013-02-05 Roland McGrath <roland@hack.frob.com>
9262 * Makeconfig (all-Depend-files): Add existing
9263 $(sorted-subdirs:=/Depend) files.
9264 (all-subdirs): Remove nss.
9265 * sysdeps/unix/inet/Subdirs: Add it here instead.
9266 * hesiod/Depend: New file.
9268 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9269 instead of calling alloca.
9271 * io/lseek.c (__lseek): Rename to __libc_lseek.
9272 Define __lseek as an alias.
9274 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9276 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9278 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9279 else clause and remove check for non-standard endianness.
9281 2013-02-04 David S. Miller <davem@davemloft.net>
9283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9285 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9288 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9289 (__ubp_memchr): Remove prototype.
9290 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9291 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9292 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9293 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9294 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9296 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9297 (__ubp_memchr): Likewise.
9298 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9299 (__ubp_memchr): Likewise.
9300 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9301 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9302 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9303 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9305 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9306 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9307 (__getcwd): Do not use CHECK_STRING.
9308 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9310 (__real_chown): Do not use CHECK_STRING.
9311 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9313 (fchownat): Do not use CHECK_STRING.
9314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9316 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9318 (__lchown): Do not use CHECK_STRING.
9319 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9320 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9321 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9322 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9324 include <bp-checks.h>.
9325 (truncate64): Do not use CHECK_STRING.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9328 (__real_chown): Do not use CHECK_STRING.
9329 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9331 (__lchown): Do not use CHECK_STRING.
9332 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9334 (__chown): Do not use CHECK_STRING.
9335 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9337 (truncate64): Do not use CHECK_STRING.
9338 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9340 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9341 (__xmknod): Do not use CHECK_STRING.
9342 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9344 (__xmknodat): Do not use CHECK_STRING.
9345 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9346 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9348 2013-02-04 Andreas Schwab <schwab@suse.de>
9351 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9352 * include/netdb.h: Likewise for h_errno.
9353 * elf/tst-stackguard1.c: Include <tls.h>.
9355 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9357 * elf/link.h (struct link_map): Extend the l_addr comment.
9358 * include/link.h (struct link_map): Likewise.
9360 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9363 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9364 (BOUNDED_1): Remove macro.
9365 * debug/backtrace.c: Don't include <bp-checks.h>.
9366 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9367 (__backtrace): Likewise.
9368 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9370 (__backtrace): Don't use BOUNDED_1.
9371 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9373 (__backtrace): Don't use BOUNDED_1.
9374 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9375 (__backtrace): Don't use BOUNDED_1.
9376 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9377 (shmat): Don't use BOUNDED_N.
9379 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9382 * sysdeps/generic/bp-start.h: Remove file.
9383 * csu/libc-start.c: Don't include <bp-start.h>.
9384 (LIBC_START_MAIN): Set up __environ directly instead of using
9385 INIT_ARGV_and_ENVIRON.
9386 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9390 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9392 (CHECK_FCNTL): Likewise.
9393 (CHECK_N_PAGES): Likewise.
9396 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9398 (CHECK_SIGSET_NULL_OK): Likewise.
9399 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9401 (sigpending): Don't use CHECK_SIGSET.
9402 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9404 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9405 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9407 (do_sigsuspend): Don't use CHECK_SIGSET.
9408 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9410 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9411 (do_sigwait): Don't use CHECK_SIGSET.
9412 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9414 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9415 include <bp-checks.h>.
9416 (sigpending): Don't use CHECK_SIGSET.
9417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9418 include <bp-checks.h>.
9419 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9420 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9422 (sigpending): Don't use CHECK_SIGSET.
9423 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9428 * sysdeps/generic/bp-semctl.h: Remove file.
9429 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9430 <bp-checks.h> and <bp-semctl.h>.
9431 (__old_semctl): Don't use CHECK_SEMCTL.
9432 (__new_semctl): Likewise.
9433 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9435 (__old_semctl): Don't use CHECK_SEMCTL.
9436 (__new_semctl): Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9438 <bp-checks.h> and <bp-semctl.h>.
9439 (__old_semctl): Don't use CHECK_SEMCTL.
9440 (__new_semctl): Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9442 <bp-checks.h> and <bp-semctl.h>.
9443 (semctl): Don't use CHECK_SEMCTL.
9446 * Makerules (elide-bp-thunks): Remove variable.
9447 (elide-routines.oS): Don't use $(elide-bp-thunks).
9448 (elide-routines.os): Likewise.
9449 (elide-routines.o): Likewise.
9450 (elide-routines.op): Likewise.
9451 (elide-routines.og): Likewise.
9452 (objects): Don't use $(bp-thunks).
9453 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9455 (common-generated): Do not add s-proto-bp.d.
9456 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9459 Do not generate makefile rules for bounded-pointer thunks.
9460 * sysdeps/generic/bp-thunks.h: Remove file.
9461 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9462 * sysdeps/unix/s-proto-bp.S: Likewise.
9465 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9466 parts of result separately when argument is not close to line from
9467 -i to i and one part of argument is small.
9468 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9469 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9470 * math/libm-test.inc (cacos_test): Add more tests.
9471 (casin_test): Likewise.
9472 (casinh_test): Likewise.
9473 * sysdeps/i386/fpu/libm-test-ulps: Update.
9474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9476 2013-01-31 David S. Miller <davem@davemloft.net>
9478 * po/de.po: Update from translation team.
9480 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9482 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9484 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9486 * configure.in (_AC_PROG_CC_C89): New definition.
9487 * configure: Regenerate.
9489 * configure.in (AC_PROG_CPP): New definition.
9490 * configure: Regenerate.
9492 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9494 * debug/tst-backtrace.h: New file.
9495 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9496 (ret): Remove variable.
9498 (FAIL): Remove macro.
9499 (NO_INLINE): Likewise.
9500 (fn1): Use match function instead of strstr.
9501 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9502 (ret): Remove variable.
9504 (FAIL): Remove macro.
9505 (NO_INLINE): Likewise.
9506 (fn): Use match function instead of strstr.
9507 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9508 (ret): Remove variable.
9510 (FAIL): Remove macro.
9511 (NO_INLINE): Likewise.
9512 (handle_signal): Use match function instead of strstr.
9513 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9514 (ret): Remove variable.
9516 (FAIL): Remove macro.
9517 (NO_INLINE): Likewise.
9518 (handle_signal): Use match function instead of strstr.
9520 2013-01-23 Roland McGrath <roland@hack.frob.com>
9522 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9524 2013-01-23 David S. Miller <davem@davemloft.net>
9526 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9527 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9528 argument of CAS if possible.
9529 * sysdeps/sparc/sparc64/bits/atomic.h
9530 (__arch_compare_and_exchange_val_32_acq): Likewise.
9531 (__arch_compare_and_exchange_val_64_acq): Likewise.
9533 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9535 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9536 * sysdeps/posix/ulimit.c: ... this.
9538 * sysdeps/unix/bsd/ulimit.c: Remove file.
9540 2013-01-23 Adam Conrad <adconrad@0c3.net>
9542 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9543 (LDFLAGS-tst-array5): Likewise.
9545 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9548 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9549 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9550 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9551 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9553 2013-01-21 David S. Miller <davem@davemloft.net>
9555 * sysdeps/sparc/backtrace.c: New file.
9556 * sysdeps/sparc/sparc32/backtrace.h: New file.
9557 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9558 * sysdeps/sparc/sparc64/backtrace.h: New file.
9559 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9560 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9563 2013-01-21 Andreas Schwab <schwab@suse.de>
9566 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9569 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9575 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9576 Mark Mitchell <mark@codesourcery.com>
9577 Tom de Vries <tom@codesourcery.com>
9578 Paul Pluzhnikov <ppluzhnikov@google.com>
9580 * debug/tst-backtrace2.c: New file.
9581 * debug/tst-backtrace3.c: Likewise.
9582 * debug/tst-backtrace4.c: Likewise.
9583 * debug/tst-backtrace5.c: Likewise.
9584 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9585 (CFLAGS-tst-backtrace3.c): Likewise.
9586 (CFLAGS-tst-backtrace4.c): Likewise.
9587 (CFLAGS-tst-backtrace5.c): Likewise.
9588 (LDFLAGS-tst-backtrace2): Likewise.
9589 (LDFLAGS-tst-backtrace3): Likewise.
9590 (LDFLAGS-tst-backtrace4): Likewise.
9591 (LDFLAGS-tst-backtrace5): Likewise.
9592 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9593 tst-backtrace4 and tst-backtrace5.
9595 2013-01-18 Anton Blanchard <anton@samba.org>
9596 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9598 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9599 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9600 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9601 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9603 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9604 "+r" and remove output regs list as redundant. Add explicit inline
9605 asm to specify register of return val to work around compiler codegen
9606 bug. Remove (int) cast on return value. Add return type parameter to
9607 use in macro so that this macro does not truncate return value for
9609 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9610 pass to INTERNAL_VSYSCALL_NCS.
9611 (INLINE_VSYSCALL): Add 'long int' as return type to
9612 INTERNAL_VSYSCALL_NCS macro invocation.
9613 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9614 INTERNAL_VSYSCALL_NCS macro invocation.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9617 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9620 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9621 Fix application of SIMD FP exception mask.
9623 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9624 mp_no from a power of two.
9625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9626 __mpexp_twomm1. Use __pow_mp.
9628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9631 2013-01-17 David S. Miller <davem@davemloft.net>
9633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9635 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9638 * include/complex.h: Condition contents on [!_COMPLEX_H].
9639 (__kernel_casinhf): New prototype.
9640 (__kernel_casinh): Likewise.
9641 (__kernel_casinhl): Likewise.
9642 * math/Makefile (libm_calls): Add k_casinh.
9643 * math/k_casinh.c: New file.
9644 * math/k_casinhf.c: Likewise.
9645 * math/k_casinhl.c: Likewise.
9646 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9647 finite nonzero arguments.
9648 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9649 finite nonzero arguments.
9650 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9651 finite nonzero arguments.
9652 * math/s_casinh.c: Do not include <float.h>.
9653 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9654 * math/s_casinhf.c: Do not include <float.h>.
9655 (__casinhf): Move code for finite nonzero arguments to
9657 * math/s_casinhl.c: Do not include <float.h>.
9658 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9660 (__casinhl): Move code for finite nonzero arguments to
9662 * math/libm-test.inc (cacos_test): Add more tests.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update.
9664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9666 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9668 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9669 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9670 [!HAVE_MREMAP]: Remove [defined linux] case.
9671 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9673 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9675 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9677 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9679 * elf/elf.h (R_386_SIZE32): New relocation.
9680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9682 (elf_machine_rela): Likewise.
9683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9684 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9686 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9688 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9689 (FP_FAST_FMA): Do not define.
9690 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9691 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9692 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9693 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9694 !_SOFT_FLOAT]: Likewise.
9695 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9696 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9698 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9699 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9700 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9701 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9702 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9703 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9706 2013-01-16 Andreas Schwab <schwab@suse.de>
9709 * include/stdlib.h (__mktemp): Add declaration.
9710 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9711 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9713 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9715 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9717 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9718 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9719 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9721 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9722 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9724 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9726 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9727 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9728 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9730 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9731 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9733 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9735 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9737 2013-01-15 David S. Miller <davem@davemloft.net>
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9740 trunc{,f} to libm-sysdep_routes.
9741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9751 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9753 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9754 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9755 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9756 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9759 nearbyint{,f} to libm-sysdep_routes.
9760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9780 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9781 libc_feholdexcept and libc_fesetenv.
9783 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9785 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9787 2013-01-14 David S. Miller <davem@davemloft.net>
9789 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9790 (SPARC_ASM_VIS2_IFUNC): Likewise.
9791 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9793 use of 'siam' instruction.
9794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9827 routines to libm-sysdep_routines.
9828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9831 fdim/fdimf to libm-sysdep_routines.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9840 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9841 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9845 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9850 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9855 local variable MPTWO.
9856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9859 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9861 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9864 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9866 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9868 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9870 * manual/pattern.texi (glob_t): Document gl_flags.
9871 (glob64_t): Likewise.
9873 2013-01-11 David S. Miller <davem@davemloft.net>
9875 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9876 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9877 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9878 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9879 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9880 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9881 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9882 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9883 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9884 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9885 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9886 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9887 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9889 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9890 sparc V9 rather than using V8 code.
9891 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9892 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9896 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9899 2013-01-11 Roland McGrath <roland@hack.frob.com>
9901 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9902 not in the main loop.
9903 * configure: Regenerated.
9905 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9907 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9908 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9910 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9911 [!__GLIBC_HAVE_LONG_LONG] case.
9912 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9913 condition to just #else.
9914 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9915 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9916 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9917 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9919 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9920 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9921 #elif condition to just #else.
9922 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9923 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9924 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9925 #elif condition to just #else.
9927 2013-01-11 Steve Ellcey <sellcey@mips.com>
9929 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9930 (EF_MIPS_ARCH_64): Fix value.
9931 (EF_MIPS_ARCH_32R2): New.
9932 (EF_MIPS_ARCH_64R2): New.
9934 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9936 * Makeconfig (+link-pie-before-libc): New.
9937 (+link-pie-after-libc): Likewise.
9938 (+link-pie-tests): Likewise.
9939 (+link-pie): Rewritten.
9940 (link-before-libc): Remove $(config-LDFLAGS).
9941 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9942 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9943 (config-LDFLAGS): Renamed to ...
9944 (rtld-LDFLAGS): This.
9945 (rtld-tests-LDFLAGS): New macro.
9946 (link-libc-rpath-link): Likewise.
9947 (link-libc-tests-rpath-link): Likewise.
9948 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9949 (link-libc): Prepand $(link-libc-rpath-link).
9950 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9951 (test-program-prefix): New macro.
9952 (test-via-rtld-prefix): Likewise.
9953 (test-program-cmd): Likewise.
9954 (host-test-program-cmd): Likewise.
9955 * Makefile ($(common-objpfx)testrun.sh): Replace
9956 $(run-program-prefix) with $(test-program-prefix).
9957 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9959 ($(common-objpfx)shlib.lds): Likewise.
9960 (build-module-helper): Likewise.
9961 ($(common-objpfx)format.lds): Likewise.
9962 * Rules (binaries-pie-tests): New.
9963 (binaries-pie-notests): Likewise.
9964 (binaries-pie): Rewritten.
9965 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9966 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9967 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9968 (make-test-out): Replace $(host-built-program-cmd) with
9969 $(host-test-program-cmd).
9970 * config.make.in (build-hardcoded-path-in-tests): New variable.
9971 * configure.in (--enable-hardcoded-path-in-tests): New configure
9973 (hardcoded_path_in_tests): New AC_SUBST.
9974 * configure: Regenerated.
9975 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9976 $(built-program-cmd) with $(test-program-cmd).
9977 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9978 (test_program_cmd): This.
9979 * elf/Makefile ($(objpfx)order.out): Run test with
9980 $(test-program-prefix).
9981 ($(objpfx)order2.out): Likewise.
9982 ($(objpfx)tst-initorder.out): Likewise.
9983 ($(objpfx)tst-initorder2.out): Likewise.
9984 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9985 $(test-program-cmd).
9986 ($(objpfx)tst-array1-static.out): Likewise.
9987 ($(objpfx)tst-array2.out): Likewise.
9988 ($(objpfx)tst-array3.out): Likewise.
9989 ($(objpfx)tst-array4.out): Likewise.
9990 ($(objpfx)tst-array5.out): Likewise.
9991 ($(objpfx)tst-array5-static.out): Likewise.
9992 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9993 $(test-program-cmd).
9994 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9995 $(run-program-prefix) with $(test-program-prefix).
9996 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9997 (test_program_prefix): This.
9998 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9999 $(run-program-prefix) with $(test-program-prefix).
10000 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10001 (test_program_prefix): This.
10002 * iconvdata/tst-tables.sh: Likewise.
10003 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10004 $(run-program-prefix) with $(test-program-prefix).
10005 ($(objpfx)tst-translit.out): Likewise.
10006 ($(objpfx)tst-gettext2.out): Likewise.
10007 ($(objpfx)tst-gettext4.out): Likewise.
10008 ($(objpfx)tst-gettext6.out): Likewise.
10009 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10010 (test_program_prefix): This.
10011 * intl/tst-gettext2.sh: Likewise.
10012 * intl/tst-gettext4.sh Likewise.
10013 * intl/tst-gettext6.sh: Likewise.
10014 * intl/tst-translit.sh: Likewise.
10015 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10016 with $(test-program-cmd).
10017 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10018 $(run-program-prefix) with $(test-program-prefix).
10019 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10020 (test_program_prefix): This.
10021 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10022 $(run-program-prefix) with $(test-program-prefix).
10023 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10024 (test_program_prefix): This.
10025 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10026 * posix/Makefile ($(objpfx)globtest.out): Replace
10027 $(run-via-rtld-prefix) and $(test-wrapper) with
10028 $(test-program-prefix) and $(test-via-rtld-prefix).
10029 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10030 $(test-program-prefix).
10031 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10032 $(host-test-program-cmd).
10033 (tst-spawn-ARGS): Likewise.
10034 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10035 $(test-program-prefix).
10036 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10037 (test_via_rtld_prefix): This.
10038 (test_wrapper): Renamed to ...
10039 (test_program_prefix): This.
10040 (run_program_prefix): Replaced by test_program_prefix.
10041 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10042 (test_program_prefix): This.
10043 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10044 with $(host-test-program-cmd).
10045 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10046 $(run-program-prefix) with $(test-program-prefix).
10047 ($(objpfx)tst-printf.out): Likewise.
10048 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10049 $(test-program-cmd).
10050 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10051 (test_program_prefix): This.
10052 * stdio-common/tst-unbputc.sh: Likewise.
10053 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10054 $(run-program-prefix) with $(test-program-prefix).
10055 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10056 (test_program_prefix): This.
10057 * string/Makefile ($(objpfx)tst-svc.out): Replace
10058 $(built-program-cmd) with $(test-program-cmd).
10060 2013-01-11 Andreas Jaeger <aj@suse.de>
10063 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10064 value. Sync with Linux 3.7.
10066 2013-01-10 David S. Miller <davem@davemloft.net>
10068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10069 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10070 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10072 2013-01-10 Roland McGrath <roland@hack.frob.com>
10074 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10076 * configure: Regenerated.
10078 2013-01-10 David S. Miller <davem@davemloft.net>
10080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10081 sparc V9 rather than using V8 code.
10082 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10083 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10085 2013-01-10 Roland McGrath <roland@hack.frob.com>
10087 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10088 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10089 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10090 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10091 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10092 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10093 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10094 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10095 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10096 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10097 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10098 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10099 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10100 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10101 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10102 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10103 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10104 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10105 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10106 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10107 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10108 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10109 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10110 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10111 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10112 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10113 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10115 2013-01-10 David S. Miller <davem@davemloft.net>
10117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10119 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10121 * posix/Makefile (tests-static): New variable.
10122 (tests): Add $(tests-static).
10123 (tst-exec-static-ARGS): New variable.
10124 (tst-spawn-static-ARGS): Likewise.
10125 * posix/tst-exec-static.c: New file.
10126 * posix/tst-spawn-static.c: Likewise.
10127 * posix/tst-exec.c: Support run directly.
10128 * posix/tst-spawn.c: Likewise.
10130 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10132 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10134 * math/bits/mathcalls.h (llrint): Likewise.
10135 (llround): Likewise.
10136 * stdlib/stdlib.h (struct drand48_data): Likewise.
10137 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10138 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10141 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10143 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10144 (elf_greg_t): Likewise.
10145 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10146 (__jmp_buf): Likewise.
10147 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10149 (llrint): Likewise, for all definitions.
10150 (llrintl): Likewise.
10152 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10153 Remove [__GNUC__] condition.
10154 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10155 condition to just [__USE_ISOC99].
10156 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10158 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10161 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10162 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10164 (_POSIX_V6_ILP32_OFF32): Likewise.
10165 (_XBS5_ILP32_OFF32): Likewise.
10166 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10167 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10169 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10171 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10174 doubles __mpexp_twomm1. Adjust usage.
10175 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10178 2013-01-10 Andreas Schwab <schwab@suse.de>
10181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10182 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10184 2013-01-09 David S. Miller <davem@davemloft.net>
10187 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10188 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10189 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10190 TCP_FASTOPEN): Define.
10191 (tcp_repair_opt): New structure.
10192 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10194 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10195 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10196 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10197 (tcp_cookie_transactions): New structure.
10199 2013-01-09 Anton Blanchard <anton@samba.org>
10201 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10202 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10203 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10206 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10208 * include/features.h (__USE_ANSI): Remove.
10210 2013-01-09 Roland McGrath <roland@hack.frob.com>
10212 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10214 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10216 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10218 * sysdeps/s390/fpu/libm-test-ulps: Update.
10220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10222 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10226 (denorm): Likewise.
10227 (__mp_dbl): Likewise.
10228 (__dbl_mp): Likewise.
10229 (add_magnitudes): Likewise.
10230 (sub_magnitudes): Likewise.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10240 (denorm): Likewise.
10241 (__mp_dbl): Likewise.
10242 (__dbl_mp): Likewise.
10243 (add_magnitudes): Likewise.
10244 (sub_magnitudes): Likewise.
10250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10254 (denorm): Likewise.
10255 (__mp_dbl): Likewise.
10256 (__dbl_mp): Likewise.
10257 (add_magnitudes): Likewise.
10258 (sub_magnitudes): Likewise.
10265 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10267 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10268 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10269 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10270 2 && __USE_EXTERN_INLINES]: Likewise.
10272 2013-01-08 Andreas Jaeger <aj@suse.de>
10275 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10277 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10278 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10280 2013-01-07 Anton Blanchard <anton@samba.org>
10282 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10283 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10284 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10285 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10286 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10287 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10288 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10289 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10291 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10292 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10294 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10295 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10296 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10297 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10298 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10299 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10300 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10303 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10304 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10306 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10307 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10308 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10309 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10311 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10312 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10315 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10316 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10317 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10318 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10319 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10320 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10324 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10326 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10328 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10329 (__MALLOC_PMT): Likewise.
10330 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10331 [__GNUC__], only on [_LIBC].
10332 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10333 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10334 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10335 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10336 forward declaration.
10337 (realloc_hook_ini): Likewise.
10338 (memalign_hook_ini): Likewise.
10339 (__libc_memalign): Do not use __MALLOC_PMT in variable
10341 (__libc_valloc): Likewise.
10342 (__libc_pvalloc): Likewise.
10343 (__libc_calloc): Likewise.
10344 (__posix_memalign): Likewise.
10347 * math/s_casinh.c: Include <float.h>.
10348 (__casinh): Do not do computation with squaring and square root
10349 for large arguments.
10350 * math/s_casinhf.c: Include <float.h>.
10351 (__casinhf): Do not do computation with squaring and square root
10352 for large arguments.
10353 * math/s_casinhl.c: Include <float.h>.
10354 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10355 (__casinhl): Do not do computation with squaring and square root
10356 for large arguments.
10357 * math/libm-test.inc (casin_test): Add more tests.
10358 (casinh_test): Likewise.
10359 * sysdeps/i386/fpu/libm-test-ulps: Update.
10360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10362 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10364 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10365 (__x86_64_raw_data_cache_size): Likewise.
10366 (__x86_64_data_cache_size_half): Likewise.
10367 (__x86_64_raw_data_cache_size_half): Likewise.
10368 (__x86_64_shared_cache_size): Likewise.
10369 (__x86_64_raw_shared_cache_size): Likewise.
10370 (__x86_64_shared_cache_size_half): Likewise.
10371 (__x86_64_raw_shared_cache_size_half): Likewise.
10372 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10374 (__x86_data_cache_size): This.
10375 (__x86_64_raw_data_cache_size): Renamed to ...
10376 (__x86_raw_data_cache_size): This.
10377 (__x86_64_data_cache_size_half): Renamed to ...
10378 (__x86_data_cache_size_half): This.
10379 (__x86_64_raw_data_cache_size_half): Renamed to ...
10380 (__x86_raw_data_cache_size_half): This.
10381 (__x86_64_shared_cache_size): Renamed to ...
10382 (__x86_shared_cache_size): This.
10383 (__x86_64_raw_shared_cache_size): Renamed to ...
10384 (__x86_raw_shared_cache_size): This.
10385 (__x86_64_shared_cache_size_half): Renamed to ...
10386 (__x86_shared_cache_size_half): This.
10387 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10388 (__x86_raw_shared_cache_size_half): This.
10389 * sysdeps/x86_64/memcpy.S: Updated.
10390 * sysdeps/x86_64/memset.S: Likewise.
10391 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10393 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10395 2013-01-04 David S. Miller <davem@davemloft.net>
10397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10399 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10401 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10402 1 to avoid redefinition warning.
10403 (__USE_GNU): Don't define.
10404 (init_signaling_nan): Protoize.
10406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10408 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10410 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10412 (__cpymn): Likewise.
10413 (norm): Remove commented code.
10414 (denorm): Likewise.
10415 (__mp_dbl): Likewise.
10417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10418 (__cpymn): Likewise.
10419 (norm): Remove commented code.
10420 (denorm): Likewise.
10421 (__mp_dbl): Likewise.
10424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10425 mp_no value for 1.0 and 2.0.
10426 (norm): Use RADIXI instead of radixi.d.
10427 (denorm): Likewise.
10428 (__mul): Use 0.0 instead of zero.d.
10429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10430 mp_no value for 1.0 and 2.0.
10431 (norm): Use RADIXI instead of radixi.d.
10432 (denorm): Likewise.
10433 (__mul): Use 0.0 instead of zero.d.
10435 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10438 * math/s_casinh.c (__casinh): Reduce finite argument to first
10439 quadrant then set signs of results at the end.
10440 * math/s_casinhf.c (__casinhf): Likewise.
10441 * math/s_casinhl.c (__casinhl): Likewise.
10442 * math/libm-test.inc (casin_test): Add more tests.
10443 (casinh_test): Likewise.
10444 * sysdeps/i386/fpu/libm-test-ulps: Update.
10445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10447 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10449 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10451 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10453 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10455 (denorm): Likewise.
10456 (__mp_dbl): Likewise.
10459 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10460 and adjust the header comment.
10462 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10463 variable name from declaration.
10465 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10468 Initialize COMMON_CPUID_INDEX_7 element.
10469 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10470 (CPUID_RTM): Likewise.
10471 (HAS_RTM): Likewise.
10472 (COMMON_CPUID_INDEX_7): New enum.
10474 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10477 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10478 size is zero, record memory as freed.
10480 2013-01-03 Andreas Jaeger <aj@suse.de>
10482 * po/ia.po: Add new Interlingua translation.
10484 2012-01-03 Allan McRae <allan@archlinux.org>
10486 * locale/programs/localedef.c: Fix description of '--posix' flag.
10488 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10490 * NEWS: Update dates in second copyright notice.
10491 * README: Update copyright dates in example.
10492 * manual/libc.texinfo: Update copyright dates.
10493 * scripts/test-installation.pl: Update copyright date in --version
10496 * hurd/ctty-input.c: Fix copyright notice formatting.
10497 * hurd/ctty-output.c: Likewise.
10498 * hurd/dtable.c: Likewise.
10499 * hurd/hurd-raise.c: Likewise.
10500 * hurd/hurdprio.c: Likewise.
10501 * hurd/msgportdemux.c: Likewise.
10502 * misc/sys/file.h: Likewise.
10503 * misc/sys/ioctl.h: Likewise.
10504 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10505 * sysdeps/mach/hurd/chdir.c: Likewise.
10506 * sysdeps/mach/hurd/fchdir.c: Likewise.
10507 * sysdeps/mach/hurd/rename.c: Likewise.
10508 * sysdeps/mach/hurd/rmdir.c: Likewise.
10509 * sysdeps/mach/hurd/seekdir.c: Likewise.
10510 * sysdeps/mach/hurd/setsid.c: Likewise.
10511 * sysdeps/posix/wait3.c: Likewise.
10513 * All files with FSF copyright notices: Update copyright dates
10514 using scripts/update-copyrights.
10515 * intl/plural.c: Regenerated.
10516 * locale/programs/charmap-kw.h: Likewise.
10517 * locale/programs/locfile-kw.h: Likewise.
10519 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10521 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10525 calculation loop and add branch prediction.
10527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10528 check access beyond bounds of m1np.
10530 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10532 (__inv): Remove local variable MPTWO to use the global
10534 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10538 MP3HALFS static const.
10540 2013-01-01 David S. Miller <davem@davemloft.net>
10542 * po/ca.po: Update from translation team.
10544 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10546 * scripts/update-copyrights: New file.
10547 * Makeconfig: Reformat copyright notice.
10548 * ctype/ctype.h: Likewise.
10549 * debug/swprintf_chk.c: Likewise.
10550 * elf/dl-cache.c: Likewise.
10551 * elf/dl-debug.c: Likewise.
10552 * elf/dl-object.c: Likewise.
10553 * grp/initgroups.c: Likewise.
10554 * hurd/Makefile: Likewise.
10555 * hurd/hurd/signal.h: Likewise.
10556 * hurd/hurdfault.c: Likewise.
10557 * hurd/hurdioctl.c: Likewise.
10558 * hurd/hurdlookup.c: Likewise.
10559 * hurd/intr-msg.c: Likewise.
10560 * iconv/gconv_open.c: Likewise.
10561 * libio/swprintf.c: Likewise.
10562 * locale/lc-ctype.c: Likewise.
10563 * locale/nl_langinfo.c: Likewise.
10564 * mach/Machrules: Likewise.
10565 * mach/Makefile: Likewise.
10566 * malloc/obstack.h: Likewise.
10567 * manual/Makefile: Likewise.
10568 * manual/tsort.awk: Likewise.
10569 * misc/bits/stab.def: Likewise.
10570 * nis/nis_print_group_entry.c: Likewise.
10571 * nis/nis_table.c: Likewise.
10572 * nis/nss_compat/compat-pwd.c: Likewise.
10573 * nis/nss_compat/compat-spwd.c: Likewise.
10574 * po/Makefile: Likewise.
10575 * posix/fnmatch.c: Likewise.
10576 * posix/regex.h: Likewise.
10577 * resolv/Makefile: Likewise.
10578 * resolv/nss_dns/dns-network.c: Likewise.
10579 * resolv/res_hconf.c: Likewise.
10580 * scripts/gen-sorted.awk: Likewise.
10581 * soft-fp/soft-fp.h: Likewise.
10582 * stdio-common/printf.h: Likewise.
10583 * stdlib/monetary.h: Likewise.
10584 * stdlib/random.c: Likewise.
10585 * stdlib/random_r.c: Likewise.
10586 * sysdeps/generic/Makefile: Likewise.
10587 * sysdeps/gnu/Makefile: Likewise.
10588 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10598 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10616 * sysdeps/mach/hurd/errnos.awk: Likewise.
10617 * sysdeps/mach/hurd/fork.c: Likewise.
10618 * sysdeps/mach/hurd/getcwd.c: Likewise.
10619 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10620 * sysdeps/mach/hurd/mmap.c: Likewise.
10621 * sysdeps/mach/hurd/utimes.c: Likewise.
10622 * sysdeps/mach/hurd/xmknod.c: Likewise.
10623 * sysdeps/posix/profil.c: Likewise.
10624 * sysdeps/posix/readdir_r.c: Likewise.
10625 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10626 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10627 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10628 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10630 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10632 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10634 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10635 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10636 * sysdeps/pthread/lio_listio.c: Likewise.
10637 * sysdeps/sparc/dl-procinfo.h: Likewise.
10638 * sysdeps/unix/i386/sysdep.S: Likewise.
10639 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10640 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10641 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10642 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10644 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10645 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10646 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10647 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10648 * sysdeps/wordsize-32/divdi3.c: Likewise.
10649 * time/sys/time.h: Likewise.
10650 * wcsmbs/Makefile: Likewise.
10652 2013-01-01 David S. Miller <davem@davemloft.net>
10654 * po/fr.po: Update from translation team.
10656 * catgets/gencat.c: Update copyright year.
10657 * csu/version.c: Likewise.
10658 * debug/catchsegv.sh: Likewise.
10659 * debug/pcprofiledump.c: Likewise.
10660 * debug/xtrace.sh: Likewise.
10661 * elf/ldconfig.c: Likewise.
10662 * elf/ldd.bash.in: Likewise.
10663 * elf/pldd.c: Likewise.
10664 * elf/sotruss.ksh: Likewise.
10665 * elf/sprof.c: Likewise.
10666 * iconv/iconv_prog.c: Likewise.
10667 * iconv/iconvconfig.c: Likewise.
10668 * locale/programs/locale.c: Likewise.
10669 * locale/programs/localedef.c: Likewise.
10670 * login/programs/pt_chown.c: Likewise.
10671 * malloc/memusage.sh: Likewise.
10672 * malloc/memusagestat.c: Likewise.
10673 * malloc/mtrace.pl: Likewise.
10674 * nscd/nscd.c: Likewise.
10675 * nss/getent.c: Likewise.
10676 * nss/makedb.c: Likewise.
10677 * posix/getconf.c: Likewise.
10679 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10681 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10684 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10686 * math/bits/mathcalls.h (modf): Use __nonnull.
10688 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10690 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10691 (split): Use macro CN instead of the bare value.
10692 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10695 instead of the bare value.
10696 (power1): Likewise.
10698 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10702 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10704 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10706 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10708 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10709 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10711 2012-12-28 Andreas Jaeger <aj@suse.de>
10713 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10714 values are from Linux 3.7.
10716 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10717 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10719 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10721 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10724 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10726 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10727 variables with preprocessor constants.
10728 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10729 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10730 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10732 2012-12-27 Bruno Haible <bruno@clisp.org>
10735 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10738 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10741 and use variable directly.
10742 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10744 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10746 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10747 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10751 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10752 include directive. Remove local variable MPONE.
10753 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10754 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10755 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10757 2012-12-25 David S. Miller <davem@davemloft.net>
10759 * version.h (RELEASE): Set to "development".
10760 (VERSION): Set to "2.17.90".
10761 * NEWS: Add 2.18 section.
10763 2012-12-21 David S. Miller <davem@davemloft.net>
10765 * po/hr.po: Update from translation team.
10767 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10769 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10771 2012-12-19 Steve Ellcey <sellcey@mips.com>
10773 * NEWS: Mention new memcpy for MIPS.
10775 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10777 * manual/contrib.texi (Contributors): Spelling correction.
10779 2012-12-15 David S. Miller <davem@davemloft.net>
10781 * po/ru.po: Update from translation team.
10783 2012-12-13 David S. Miller <davem@davemloft.net>
10785 * NEWS: Mention IFUNC testsuite enhancements.
10787 * po/pl.po: Update from translation team.
10788 * po/bg.po: Likewise.
10790 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10791 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10793 2012-12-11 David S. Miller <davem@davemloft.net>
10795 * po/sv.po: Update from translation team.
10797 * po/vi.po: Update from translation team.
10799 * po/cs.po: Update from translation team.
10801 * po/de.po: Update from translation team.
10802 * po/eo.po: Likewise.
10803 * po/nl.po: Likewise.
10805 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10808 * manual/argp.texi (Argp Helper Functions): Move node to follow
10809 Argp Parsing State.
10812 * manual/conf.texi (Limits on File System Capacity): Mention if
10813 terminating null is included in the max size.
10815 2012-12-10 Andreas Jaeger <aj@suse.de>
10817 * po/cs.po: Update from translation team.
10819 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10821 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10822 void pointer and cast to uintptr_t.
10823 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10825 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10826 * sysdeps/s390/s390-64/memset.S: Likewise.
10828 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10831 * menual/message.texi (Message Translation): Fix typos.
10832 (Helper programs for gettext): Likewise.
10834 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10837 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10840 2012-12-07 David S. Miller <davem@davemloft.net>
10842 * po/libc.pot: Update.
10844 2012-12-07 Richard Henderson <rth@redhat.com>
10847 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10848 normal/normal case to before the switch.
10849 (_FP_DIV): Likewise.
10851 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10852 Mike Frysinger <vapier@gentoo.org>
10854 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10855 check for __NR_fadvise64_64.
10857 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10859 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10860 0, not just to plain "0" as a statement.
10861 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10864 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10866 * NEWS: Use sourceware.org in Bugzilla URL.
10868 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10871 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10873 * stdio-common/tst-put-error.c (do_test): Add newline to the
10874 padded test to ensure flush.
10876 2012-12-05 Jeff Law <law@redhat.com>
10878 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10880 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10882 * README: Don't refer to ports add-on as distributed separately.
10883 Mention AArch64 in list of systems supported in the ports add-on.
10885 * LICENSES: Add more non-FSF copyright and license notices.
10887 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10890 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10892 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10893 10000 as width of padded output.
10895 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10897 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10900 variable LX with __attribute__ ((unused)).
10901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10903 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10906 with __attribute__ ((unused)).
10908 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10910 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10912 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10914 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10915 (CFLAGS-nldbl-acos.c): New variable.
10916 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10917 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10918 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10919 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10920 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10921 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10922 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10923 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10924 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10925 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10926 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10927 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10928 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10929 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10930 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10931 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10932 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10933 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10934 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10935 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10936 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10937 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10938 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10939 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10940 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10941 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10942 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10943 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10944 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10945 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10946 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10947 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10948 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10949 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10950 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10951 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10952 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10953 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10954 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10955 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10956 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10957 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10958 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10959 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10960 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10961 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10962 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10963 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10964 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10965 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10966 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10967 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10968 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10969 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10970 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10971 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10972 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10973 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10974 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10975 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10976 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10977 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10978 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10979 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10980 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10981 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10982 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10983 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10984 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10985 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10986 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10987 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10988 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10989 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10990 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10991 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10992 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10993 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10994 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10995 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10996 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10997 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10998 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10999 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11000 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11001 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11002 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11003 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11004 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11005 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11006 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11007 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11008 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11009 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11010 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11011 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11012 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11015 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11019 whole low double instead of just low 47 bits when splitting values
11022 2012-12-03 Allan McRae <allan@archlinux.org>
11024 * manual/stdio.texi (Predefined Printf Handlers): Remove
11025 @hsep and @vsep usage.
11027 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11029 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11030 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11032 2012-12-03 Jeff Law <law@redhat.com>
11034 * time/sys/time.h (settimeofday): Do not mark TV argument
11037 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11039 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11040 when currently writing and seek to current position when not.
11041 * libio/Makefile (tests): Remove bug-fclose1.
11042 * libio/bug-fclose1.c: Delete.
11044 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11046 * manual/arith.texi (feenableexcept): Fix typo.
11047 (fedisableexcept): Likewise.
11049 2012-11-30 Roland McGrath <roland@hack.frob.com>
11051 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11052 second, differently-typed declaration, rather than a cast.
11054 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11056 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11057 * include/rpc/svc.h: ... here.
11059 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11062 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11063 depending n and resplen2 to catch cases where answer
11066 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11068 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11069 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11071 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11075 2012-11-29 Roland McGrath <roland@hack.frob.com>
11077 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11079 2012-11-28 Jeff Law <law@redhat.com>
11082 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11083 dataset_temporary. Track alloca usage into alloca_used.
11084 If dataset is large allocate and release it via malloc/free.
11086 2012-06-04 Florian Weimer <fweimer@redhat.com>
11089 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11091 2012-11-28 David S. Miller <davem@davemloft.net>
11093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11095 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11098 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11099 of pi/2 rounded to nearest to 64 bits.
11100 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11101 nearest to 64 bits.
11102 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11105 2012-11-28 Jeff Law <law@redhat.com>
11106 Martin Osvald <mosvald@redhat.com>
11109 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11110 * sunrpc/svc.c: Include time.h.
11111 (__svc_accept_failed): New function.
11112 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11113 any reason other than EINTR, call __svc_accept_failed.
11114 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11115 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11117 2012-11-28 Andreas Schwab <schwab@suse.de>
11119 * scripts/abilist.awk: Also handle indirect functions in .opd
11122 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11125 * sysdeps/x86/fpu/powl_helper.c: New file.
11126 * sysdeps/x86/fpu/Makefile: Likewise.
11127 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11129 (__ieee754_powl): Use __powl_helper for finite arguments except
11130 integer exponents below 8.
11131 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11133 (__ieee754_powl): Use __powl_helper for finite arguments except
11134 integer exponents below 8.
11135 * math/libm-test.inc (pow_test): Add more tests and enable some
11136 previously disabled tests.
11137 * sysdeps/i386/fpu/libm-test-ulps: Update.
11138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11140 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11141 Carlos O'Donell <carlos_odonell@mentor.com>
11143 * nss/makedb.c (is_prime): Assert that input is odd and greater
11144 than 4. Note that fact in a comment too.
11145 (next_prime): Add 4 to input.
11147 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11150 * libio/Makefile (tests): Add test case tst-fwrite-error.
11151 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11152 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11153 * libio/tst-fwrite-error.c: New test case.
11155 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11157 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11158 before casting to void *.
11159 * include/libc-internal.h (__pointer_type): New macro.
11160 (__integer_if_pointer_type_sub): Likewise.
11161 (__integer_if_pointer_type): Likewise.
11162 (cast_to_integer): Likewise.
11163 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11164 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11165 before casting to atomic64_t.
11166 (atomic_exchange_acq): Likewise.
11167 (__arch_exchange_and_add_body): Likewise.
11168 (__arch_add_body): Likewise.
11169 (atomic_add_negative): Likewise.
11170 (atomic_add_zero): Likewise.
11172 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11174 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11175 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11176 (add_fdes): Likewise.
11177 (linear_search_fdes): Likewise.
11178 (binary_search_unencoded_fdes): Likewise.
11180 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11182 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11184 2012-11-24 Adam Conrad <adconrad@0c3.net>
11186 * configure.in: Autodetect C++ header directories.
11187 * configure: Regenerated.
11189 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11191 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11193 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11197 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11199 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11200 LDBL_MANT_DIG == 106]: Disable some tests.
11201 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11203 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11207 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11208 input for small inputs. Return +/- pi/2 for large inputs.
11209 * math/libm-test.inc (atan_test): Add more tests.
11211 * sysdeps/generic/unwind-dw2-fde-glibc.c
11212 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11213 __attribute__ ((unused)).
11216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11217 x * y if x and y are nonzero and z is zero.
11220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11221 nonzero exponents with absolute value below 0x1p-117 to +/-
11225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11226 up arguments below 2**-450, not just those below 2**-500.
11227 * math/libm-test.inc (hypot_test): Add another test.
11230 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11231 Return a+b for ratio over 2**120, not 2**60.
11232 * math/libm-test.inc (hypot_test): Add another test.
11234 * math/libm-test.inc (clog_test): Use
11235 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11236 (clog10_test): Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11241 2012-11-22 Andreas Schwab <schwab@suse.de>
11243 * sysdeps/i386/fpu/libm-test-ulps: Update.
11245 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11247 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11248 printf output with newline.
11250 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11253 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11254 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11255 -z nodlopen, -z initfirst and -z execstack support.
11256 * configure: Regenerated.
11258 * elf/elf.h (DF_1_NODIRECT): New macro.
11259 (DF_1_IGNMULDEF): Likewise.
11260 (DF_1_NOKSYMS): Likewise.
11261 (DF_1_NOHDR): Likewise.
11262 (DF_1_EDITED): Likewise.
11263 (DF_1_NORELOC): Likewise.
11264 (DF_1_SYMINTPOSE): Likewise.
11265 (DF_1_GLOBAUDIT): Likewise.
11266 (DF_1_SINGLETON): Likewise.
11267 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11268 DT_1_SUPPORTED_MASK bits.
11269 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11271 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11273 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11275 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11277 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11280 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11281 (sendmmsg): Move declarations...
11282 * socket/sys/socket.h: ... here.
11283 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11284 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11286 * socket/recvmmsg.c: ... this new file.
11287 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11288 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11289 definition of __sendmmsg hidden.
11290 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11291 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11292 Move ENOSYS stub into and include it from...
11293 * socket/sendmmsg.c: ... this new file.
11294 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11295 (sysdep_routines): Move recvmmsg and sendmmsg...
11296 * socket/Makefile (routines): ... here.
11297 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11298 (GLIBC_PRIVATE): Add __sendmmsg.
11299 * include/sys/socket.h (__sendmmsg): Add declarations.
11300 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11303 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11305 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11306 variable I1 with __attribute__ ((unused)).
11307 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11309 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11311 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11312 DUMMY variables with __attribute__ ((unused)).
11314 * bits/byteswap.h: Include <bits/types.h>.
11315 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11317 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11319 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11320 string_t. Do not manually set errno.
11321 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11322 length with __strnlen. Make sure to both set errno and return it on
11325 2012-11-19 David S. Miller <davem@davemloft.net>
11327 With help from Joseph Myers.
11328 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11329 very large arguments properly.
11330 * math/libm-test.inc (atan_test): New tests.
11331 (atan2_test): New tests.
11332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11335 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11338 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11341 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11342 [POSIX] (EADDRNOTAVAIL): Likewise.
11343 [POSIX] (EAFNOSUPPORT): Likewise.
11344 [POSIX] (EALREADY): Likewise.
11345 [POSIX] (ECONNABORTED): Likewise.
11346 [POSIX] (ECONNREFUSED): Likewise.
11347 [POSIX] (ECONNRESET): Likewise.
11348 [POSIX] (EDESTADDRREQ): Likewise.
11349 [POSIX] (EDQUOT): Likewise.
11350 [POSIX] (EHOSTUNREACH): Likewise.
11351 [POSIX] (EIDRM): Likewise.
11352 [POSIX] (EISCONN): Likewise.
11353 [POSIX] (ELOOP): Likewise.
11354 [POSIX] (EMULTIHOP): Likewise.
11355 [POSIX] (ENETDOWN): Likewise.
11356 [POSIX] (ENETUNREACH): Likewise.
11357 [POSIX] (ENOBUFS): Likewise.
11358 [POSIX] (ENODATA): Likewise.
11359 [POSIX] (ENOLINK): Likewise.
11360 [POSIX] (ENOMSG): Likewise.
11361 [POSIX] (ENOPROTOOPT): Likewise.
11362 [POSIX] (ENOSR): Likewise.
11363 [POSIX] (ENOSTR): Likewise.
11364 [POSIX] (ENOTCONN): Likewise.
11365 [POSIX] (ENOTSOCK): Likewise.
11366 [POSIX] (EOPNOTSUPP): Likewise.
11367 [POSIX] (EOVERFLOW): Likewise.
11368 [POSIX] (EPROTO): Likewise.
11369 [POSIX] (EPROTONOSUPPORT): Likewise.
11370 [POSIX] (EPROTOTYPE): Likewise.
11371 [POSIX] (ESTALE): Likewise.
11372 [POSIX] (ETIME): Likewise.
11373 [POSIX] (ETXTBSY): Likewise.
11374 [POSIX] (EWOULDBLOCK): Likewise.
11375 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11376 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11377 [POSIX] (SEEK_CUR): Likewise.
11378 [POSIX] (SEEK_END): Likewise.
11379 [POSIX || UNIX98] (mode_t): Do not require.
11380 [POSIX] (off_t): Likewise.
11381 [POSIX] (pid_t): Likewise.
11382 [POSIX] (sys/stat.h): Do not allow header.
11383 [POSIX] (unistd.h): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11385 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11386 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11387 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11389 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11390 sigevent): Specify elements.
11391 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11393 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11394 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11396 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11397 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11398 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11399 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11400 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11401 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11402 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11403 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11405 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11406 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11407 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11408 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11409 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11411 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11413 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11415 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11417 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11418 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11419 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11420 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11421 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11422 Specify lower bound on value.
11423 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11424 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11425 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11427 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11429 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11430 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11432 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11434 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11435 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11436 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11437 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11438 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11439 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11440 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11441 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11442 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11443 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11444 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11445 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11446 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11447 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11448 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11449 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11451 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11453 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11454 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11455 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11456 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11457 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11458 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11460 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11461 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11462 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11463 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11464 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11465 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11466 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11468 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11469 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11470 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11471 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11472 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11473 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11474 specify as optional.
11475 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11476 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11477 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11478 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11479 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11480 [XPG3] (NL_LANGMAX): Likewise.
11481 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11482 [POSIX || XPG3] (NL_NMAX): Likewise.
11483 [POSIX || XPG3] (NL_SETMAX): Likewise.
11484 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11485 [XPG3] (NZERO): Likewise.
11486 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11487 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11488 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11489 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11490 (REG_ERANGE): Expect.
11491 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11493 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11494 Use (void) in prototype.
11495 [POSIX] (*_t): Allow.
11496 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11497 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11498 (WRDE_BADVAL): Expect.
11500 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11502 [XPG3 || XPG4] (O_RSYNC): Likewise.
11503 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11505 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11506 [XPG3 || XPG4] (sigqueue): Likewise.
11507 [XPG3 || XPG4] (sigtimedwait): Likewise.
11508 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11509 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11510 [XPG3 || XPG4] (vsnprintf): Likewise.
11511 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11513 [XPG3 || XPG4] (blksize_t): Likewise.
11514 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11516 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11517 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11518 [XPG3 || XPG4] (struct itimerspec): Likewise.
11519 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11520 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11521 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11522 [XPG3 || XPG4] (clockid_t): Likewise.
11523 [XPG3 || XPG4] (timer_t): Likewise.
11524 [XPG3 || XPG4] (clock_getres): Likewise.
11525 [XPG3 || XPG4] (clock_gettime): Likewise.
11526 [XPG3 || XPG4] (clock_settime): Likewise.
11527 [XPG3 || XPG4] (nanosleep): Likewise.
11528 [XPG3 || XPG4] (timer_create): Likewise.
11529 [XPG3 || XPG4] (timer_delete): Likewise.
11530 [XPG3 || XPG4] (timer_gettime): Likewise.
11531 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11532 [XPG3 || XPG4] (timer_settime): Likewise.
11533 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11534 [XPG3 || XPG4] (getlogin_r): Likewise.
11535 [XPG3 || XPG4] (pread): Likewise.
11536 [XPG3 || XPG4] (pthread_atfork): Likewise.
11537 [XPG3 || XPG4] (pwrite): Likewise.
11540 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11543 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11545 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11546 finalizing MALLSTREAM.
11548 * sysdeps/mach/hurd/syncfs.c: New file.
11550 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11553 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11554 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11555 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11556 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11557 (_nss_dns_gethostbyname4_r): Likewise.
11558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11559 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11561 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11564 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11566 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11568 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11569 * elf/cache.c (print_entry): Print ",AArch64" for
11572 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11573 * elf/cache.c (print_entry): Print ",hard-float" for
11576 2012-11-18 David S. Miller <davem@davemloft.net>
11578 With help from Joseph Myers.
11579 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11581 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11583 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11584 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11586 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11587 * math/libm-test.inc (y0_test): New tests.
11588 (y1_test): New tests.
11589 * sysdeps/i386/fpu/libm-test-ulps: Update.
11590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11593 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11595 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11597 * configure: Regenerated.
11599 2012-11-17 David S. Miller <davem@davemloft.net>
11602 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11603 nonzero exponents with absolute value below 0x1p-128 to +/-
11606 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11608 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11610 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11612 * posix/getconf-speclist.c: New file.
11613 * posix/posix-envs.def: Likewise.
11614 * posix/confstr.c (START_ENV_GROUP): New macro.
11615 (END_ENV_GROUP): Likewise.
11616 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11617 (KNOWN_PRESENT_ENV_STRING): Likewise.
11618 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11619 (UNKNOWN_ENVIRONMENT): Likewise.
11620 (confstr): Include posix-envs.def instead of handling
11621 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11622 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11623 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11624 (END_ENV_GROUP): Likewise.
11625 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11626 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11627 (UNKNOWN_ENVIRONMENT): Likewise.
11628 (__sysconf): Include posix-envs.def instead of handling associated
11629 cases directly here.
11630 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11631 preprocessing getconf-speclist.c rather than running getconf or
11632 generating empty file.
11634 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11636 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11638 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11641 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11643 2012-11-16 David S. Miller <davem@davemloft.net>
11645 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11646 smaller than LDBL_EPSILON/2.0L, just return xm1.
11648 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11650 * elf/tst-array1.c (init): Set constructor priority to 1000.
11651 (fini): Set destructor priority to 1000.
11652 * elf/tst-array2dep.c: Likewise.
11654 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11657 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11658 (_IO_new_file_xsputn): Also return EOF if none of the input
11659 data was written when overflow failed.
11660 * libio/iopadn.c (_IO_padn): Likewise.
11661 * libio/iowpadn.c (_IO_wpadn): Likewise.
11662 * stdio-common/tst-put-error.c: Add copyright notice.
11663 (do_test): Add case for printing padded string.
11664 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11665 _IO_padn returned error.
11666 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11667 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11670 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11672 * libio/libioP.h: Add comment note that the references to C++
11673 bits are now obsolete.
11675 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11677 * math/libm-test.inc (check_complex): Use asprintf.
11679 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11681 * debug/pcprofiledump.c (print_version): Update copyright year.
11682 * malloc/memusagestat.c (print_version): Likewise.
11684 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11687 * elf/Makefile (tests): Add tst-audit8.
11688 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11689 ($(objpfx)tst-audit8.out): New target.
11690 (tst-audit8-ENV): New variable.
11691 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11692 audit if l_reloc_result is NULL.
11693 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11694 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11695 * elf/tst-audit8.c: New file.
11697 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11699 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11700 * misc/Makefile (CFLAGS-select.c): Define.
11701 * posix/Makefile (CFLAGS-pause.c): Define.
11703 2012-11-13 David S. Miller <davem@davemloft.net>
11705 * crypt/Makefile: Move test targets after toplevel Rules
11706 inclusion. Grab any necessary sysdep routines when linking.
11707 * crypt/md5.c (md5_process_block): Remove define, we will always
11708 name it __md5_process_block.
11709 (md5_finish_ctx): Update md5_process_block call.
11710 (md5_stream): Likewise.
11711 (md5_process_bytes): Likewise.
11712 (md5_process_block): Rename to __md5_process_block and move to ...
11713 * crypt/md5-block.c: ... here.
11714 * crypt/sha256.c (sha256_process_block): Move to ...
11715 * crypt/sha256-block.c: ... here.
11716 * crypt/sha512.c (sha512_process_block): Move to ...
11717 * crypt/sha512-block.c: ... here.
11718 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11720 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11721 * sysdeps/sparc/sparc64/multiarch/Makefile
11722 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11724 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11725 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11727 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11728 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11729 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11730 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11731 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11732 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11733 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11734 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11735 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11737 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11738 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11740 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11742 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11744 * timezone/tzselect.ksh: Update from tzcode git revision
11745 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11746 * timezone/zdump.c: Likewise.
11747 * timezone/zic.c: Likewise.
11748 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11749 in TZVERSION setting, not $(PKGVERSION).
11750 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11751 REPORT_BUGS_TO settings.
11754 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11757 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11759 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11760 detection to immediately after _FP_ROUND().
11761 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11764 2012-11-11 David S. Miller <davem@davemloft.net>
11766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11768 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11769 __close rather than their public counterparts.
11771 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11773 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11775 [UNIX98] (sem_timedwait): Do not expect.
11776 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11777 [XPG4 || UNIX98] (sockatmark): Do not expect.
11778 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11779 (clock_getcpuclockid): Do not expect.
11780 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11781 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11783 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11784 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11785 [UNIX98] (vwscanf): Likewise.
11786 [UNIX98] (vswscanf): Likewise.
11788 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11790 * timezone/version.h: Remove file.
11791 * timezone/README: Do not refer to version.h.
11792 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11793 $(objpfx)version.h.
11794 ($(objpfx)zdump.o): Likewise.
11795 ($(objpfx)version.h): New target.
11797 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11799 * timezone/README: Don't mention modification to tzselect.ksh.
11800 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11801 work on unmodified tzselect.ksh. Substitute version numbers in
11804 * Makefile (format-me): Remove.
11805 (INSTALL): Adjust indentation. Use commands directly instead of
11806 using $(format-me).
11808 * aclocal.m4 (ACX_PKGVERSION): New macro.
11809 (ACX_BUGURL): Likewise.
11810 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11811 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11812 (REPORT_BUGS_TO): Likewise.
11813 * configure: Regenerated.
11814 * config.h.in (PKGVERSION): New macro.
11815 (REPORT_BUGS_TO): Likewise.
11816 * config.make.in (PKGVERSION): New variable.
11817 (PKGVERSION_TEXI): Likewise.
11818 (REPORT_BUGS_TO): Likewise.
11819 (REPORT_BUGS_TEXI): Likewise.
11820 * Makefile (format-me): Use -I$(common-objpfx)manual.
11821 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11822 ($(common-objpfx)manual/%): New target.
11823 (manual/%): Remove target.
11824 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11825 (print_version): Use PKGVERSION.
11826 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11827 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11828 and REPORT_BUGS_TO.
11829 ($(objpfx)xtrace): Likewise.
11830 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11831 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11832 (print_version): Use PKGVERSION.
11833 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11834 (do_version): Use PKGVERSION.
11835 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11837 (common-ldd-rewrite): Likewise.
11838 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11839 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11840 (print_version): Use PKGVERSION.
11841 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11842 * elf/pldd.c (argp_program_bug_address): Remove variable.
11843 (more_help): New function.
11844 (argp): Use more_help.
11845 (print_version): Use PKGVERSION.
11846 * elf/sln.c (main): Use PKGVERSION.
11847 (usage): Use REPORT_BUGS_TO.
11848 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11849 (top level): Use PKGVERSION.
11850 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11851 (print_version): Use PKGVERSION.
11852 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11853 (print_version): Use PKGVERSION.
11854 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11855 (print_version): Use PKGVERSION.
11856 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11857 (print_version): Use PKGVERSION.
11858 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11859 (print_version): Use PKGVERSION.
11860 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11861 (print_version): Use PKGVERSION.
11862 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11864 ($(objpfx)memusage): Likewise.
11865 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11866 (do_version): Use PKGVERSION.
11867 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11868 (print_version): Use PKGVERSION.
11869 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11870 ($PKGVERSION): New variable.
11871 ($REPORT_BUGS_TO): Likewise.
11872 (usage): Use $REPORT_BUGS_TO.
11873 (top level): Use $PKGVERSION.
11874 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11875 ($(objpfx)pkgvers.texi): New rule.
11876 ($(objpfx)stamp-pkgvers): Likewise.
11877 * manual/install.texi: Include pkgvers.texi.
11878 (--with-pkgversion): Document new configure option.
11879 (--with-bugurl): Likewise.
11880 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11881 than necessarily for this particular distribution. Use
11882 REPORT_BUGS_TO for where to report bugs.
11883 * INSTALL: Regenerated.
11884 * manual/libc.texinfo: Include pkgvers.texi.
11885 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11886 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11887 (print_version): Use PKGVERSION.
11888 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11889 (print_version): Use PKGVERSION.
11890 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11891 (print_version): Use PKGVERSION.
11892 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11893 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11895 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11896 (print_version): Use PKGVERSION.
11897 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11898 (print_version): Use PKGVERSION.
11899 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11902 * timezone/checktab.awk: Update from tzcode 2012i.
11903 * timezone/ialloc.c: Likewise.
11904 * timezone/private.h: Likewise.
11905 * timezone/scheck.c: Likewise.
11906 * timezone/tzfile.h: Likewise.
11907 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11908 (TZVERSION): Hardcode tzcode version number.
11909 * timezone/zdump.c: Update from tzcode 2012i.
11910 * timezone/zic.c: Likewise.
11911 * timezone/version.h: New file.
11912 * timezone/README: Describe version.h. Update upstream location.
11915 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11916 (mktemp): Enable declaration.
11917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11934 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11935 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11936 for copies of such integer values.
11937 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11938 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11940 2012-11-09 Andreas Jaeger <aj@suse.de>
11942 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11943 definitions and declarations that are provided by
11944 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11946 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11948 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11949 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11950 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11953 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11955 * elf/elf.h: Update comment before AArch64 relocations.
11957 2012-11-07 David S. Miller <davem@davemloft.net>
11959 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11960 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11961 (__start_context): Declare.
11962 (__makecontext_ret): Delete.
11963 (__makecontext): Hook up __start_context instead of
11965 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11966 (sysdep_routines): Add __start_context when in stdlib.
11968 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11970 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11971 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11972 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11974 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11975 (READELF): New variable. Use it instead of hardcoded "readelf".
11977 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11979 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11980 * sysdeps/x86/Makefile: Here.
11981 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11982 * sysdeps/x86/tst-xmmymm.sh: This.
11984 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11986 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11988 [UNIX98] (pthread_barrier_t): Do not expect.
11989 [UNIX98] (pthread_barrierattr_t): Likewise.
11990 [UNIX98] (pthread_spinlock_t): Likewise.
11991 [UNIX98] (pthread_barrier_destroy): Likewise.
11992 [UNIX98] (pthread_barrier_init): Likewise.
11993 [UNIX98] (pthread_barrier_wait): Likewise.
11994 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11995 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11996 [UNIX98] (pthread_barrierattr_init): Likewise.
11997 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11998 [UNIX98] (pthread_getcpuclockid): Likewise.
11999 [UNIX98] (pthread_mutex_timedlock): Likewise.
12000 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12001 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12002 [UNIX98] (pthread_sigmask): Likewise.
12003 [UNIX98] (pthread_spin_destroy): Likewise.
12004 [UNIX98] (pthread_spin_init): Likewise.
12005 [UNIX98] (pthread_spin_lock): Likewise.
12006 [UNIX98] (pthread_spin_trylock): Likewise.
12007 [UNIX98] (pthread_spin_unlock): Likewise.
12008 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12010 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12012 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12013 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12014 [XPG3 || XPG4] (pthread_key_t): Likewise.
12015 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12016 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12017 [XPG3 || XPG4] (pthread_once_t): Likewise.
12018 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12019 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12020 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12021 [XPG3 || XPG4] (pthread_t): Likewise.
12023 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12025 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12027 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12028 Change function return type to int.
12030 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12031 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12032 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12033 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12034 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12035 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12036 [!POSIX] (posix_madvise): Likewise.
12037 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12039 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12040 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12041 (mode_t): Likewise.
12042 (posix_mem_offset): Likewise.
12043 (posix_typed_mem_get_info): Likewise.
12044 (posix_typed_mem_open): Likewise.
12046 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12047 Change condition to [XOPEN2K8].
12049 * conform/conformtest.pl: Preprocess allow-header data with -x c
12050 instead of from stdin.
12051 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12052 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12053 [C99-based standards] (cerfc): Likewise.
12054 [C99-based standards] (cexp2): Likewise.
12055 [C99-based standards] (cexpm1): Likewise.
12056 [C99-based standards] (clog10): Likewise.
12057 [C99-based standards] (clog1p): Likewise.
12058 [C99-based standards] (clog2): Likewise.
12059 [C99-based standards] (clgamma): Likewise.
12060 [C99-based standards] (ctgamma): Likewise.
12061 [C99-based standards] (cerff): Likewise.
12062 [C99-based standards] (cerfcf): Likewise.
12063 [C99-based standards] (cexp2f): Likewise.
12064 [C99-based standards] (cexpm1f): Likewise.
12065 [C99-based standards] (clog10f): Likewise.
12066 [C99-based standards] (clog1pf): Likewise.
12067 [C99-based standards] (clog2f): Likewise.
12068 [C99-based standards] (clgammaf): Likewise.
12069 [C99-based standards] (ctgammaf): Likewise.
12070 [C99-based standards] (cerfl): Likewise.
12071 [C99-based standards] (cerfcl): Likewise.
12072 [C99-based standards] (cexp2l): Likewise.
12073 [C99-based standards] (cexpm1l): Likewise.
12074 [C99-based standards] (clog10l): Likewise.
12075 [C99-based standards] (clog1pl): Likewise.
12076 [C99-based standards] (clog2l): Likewise.
12077 [C99-based standards] (clgammal): Likewise.
12078 [C99-based standards] (ctgammal): Likewise.
12079 * conform/data/inttypes.h-data [C99-based standards]: Include
12080 stdint.h-data. Remove all expectations for stdint.h contents.
12081 [C99-based standards] (PRI*): Do not allow.
12082 [C99-based standards] (SCN*): Likewise.
12083 [C99-based standards] (*_t): Likewise.
12084 [C99-based-standards] (PRId8): Expect macro.
12085 [C99-based-standards] (PRIi8): Likewise.
12086 [C99-based-standards] (PRIo8): Likewise.
12087 [C99-based-standards] (PRIu8): Likewise.
12088 [C99-based-standards] (PRIx8): Likewise.
12089 [C99-based-standards] (PRIX8): Likewise.
12090 [C99-based-standards] (SCNd8): Likewise.
12091 [C99-based-standards] (SCNi8): Likewise.
12092 [C99-based-standards] (SCNo8): Likewise.
12093 [C99-based-standards] (SCNu8): Likewise.
12094 [C99-based-standards] (SCNx8): Likewise.
12095 [C99-based-standards] (PRIdLEAST8): Likewise.
12096 [C99-based-standards] (PRIiLEAST8): Likewise.
12097 [C99-based-standards] (PRIoLEAST8): Likewise.
12098 [C99-based-standards] (PRIuLEAST8): Likewise.
12099 [C99-based-standards] (PRIxLEAST8): Likewise.
12100 [C99-based-standards] (PRIXLEAST8): Likewise.
12101 [C99-based-standards] (SCNdLEAST8): Likewise.
12102 [C99-based-standards] (SCNiLEAST8): Likewise.
12103 [C99-based-standards] (SCNoLEAST8): Likewise.
12104 [C99-based-standards] (SCNuLEAST8): Likewise.
12105 [C99-based-standards] (SCNxLEAST8): Likewise.
12106 [C99-based-standards] (PRIdFAST8): Likewise.
12107 [C99-based-standards] (PRIiFAST8): Likewise.
12108 [C99-based-standards] (PRIoFAST8): Likewise.
12109 [C99-based-standards] (PRIuFAST8): Likewise.
12110 [C99-based-standards] (PRIxFAST8): Likewise.
12111 [C99-based-standards] (PRIXFAST8): Likewise.
12112 [C99-based-standards] (SCNdFAST8): Likewise.
12113 [C99-based-standards] (SCNiFAST8): Likewise.
12114 [C99-based-standards] (SCNoFAST8): Likewise.
12115 [C99-based-standards] (SCNuFAST8): Likewise.
12116 [C99-based-standards] (SCNxFAST8): Likewise.
12117 [C99-based-standards] (PRId16): Likewise.
12118 [C99-based-standards] (PRIi16): Likewise.
12119 [C99-based-standards] (PRIo16): Likewise.
12120 [C99-based-standards] (PRIu16): Likewise.
12121 [C99-based-standards] (PRIx16): Likewise.
12122 [C99-based-standards] (PRIX16): Likewise.
12123 [C99-based-standards] (SCNd16): Likewise.
12124 [C99-based-standards] (SCNi16): Likewise.
12125 [C99-based-standards] (SCNo16): Likewise.
12126 [C99-based-standards] (SCNu16): Likewise.
12127 [C99-based-standards] (SCNx16): Likewise.
12128 [C99-based-standards] (PRIdLEAST16): Likewise.
12129 [C99-based-standards] (PRIiLEAST16): Likewise.
12130 [C99-based-standards] (PRIoLEAST16): Likewise.
12131 [C99-based-standards] (PRIuLEAST16): Likewise.
12132 [C99-based-standards] (PRIxLEAST16): Likewise.
12133 [C99-based-standards] (PRIXLEAST16): Likewise.
12134 [C99-based-standards] (SCNdLEAST16): Likewise.
12135 [C99-based-standards] (SCNiLEAST16): Likewise.
12136 [C99-based-standards] (SCNoLEAST16): Likewise.
12137 [C99-based-standards] (SCNuLEAST16): Likewise.
12138 [C99-based-standards] (SCNxLEAST16): Likewise.
12139 [C99-based-standards] (PRIdFAST16): Likewise.
12140 [C99-based-standards] (PRIiFAST16): Likewise.
12141 [C99-based-standards] (PRIoFAST16): Likewise.
12142 [C99-based-standards] (PRIuFAST16): Likewise.
12143 [C99-based-standards] (PRIxFAST16): Likewise.
12144 [C99-based-standards] (PRIXFAST16): Likewise.
12145 [C99-based-standards] (SCNdFAST16): Likewise.
12146 [C99-based-standards] (SCNiFAST16): Likewise.
12147 [C99-based-standards] (SCNoFAST16): Likewise.
12148 [C99-based-standards] (SCNuFAST16): Likewise.
12149 [C99-based-standards] (SCNxFAST16): Likewise.
12150 [C99-based-standards] (PRId32): Likewise.
12151 [C99-based-standards] (PRIi32): Likewise.
12152 [C99-based-standards] (PRIo32): Likewise.
12153 [C99-based-standards] (PRIu32): Likewise.
12154 [C99-based-standards] (PRIx32): Likewise.
12155 [C99-based-standards] (PRIX32): Likewise.
12156 [C99-based-standards] (SCNd32): Likewise.
12157 [C99-based-standards] (SCNi32): Likewise.
12158 [C99-based-standards] (SCNo32): Likewise.
12159 [C99-based-standards] (SCNu32): Likewise.
12160 [C99-based-standards] (SCNx32): Likewise.
12161 [C99-based-standards] (PRIdLEAST32): Likewise.
12162 [C99-based-standards] (PRIiLEAST32): Likewise.
12163 [C99-based-standards] (PRIoLEAST32): Likewise.
12164 [C99-based-standards] (PRIuLEAST32): Likewise.
12165 [C99-based-standards] (PRIxLEAST32): Likewise.
12166 [C99-based-standards] (PRIXLEAST32): Likewise.
12167 [C99-based-standards] (SCNdLEAST32): Likewise.
12168 [C99-based-standards] (SCNiLEAST32): Likewise.
12169 [C99-based-standards] (SCNoLEAST32): Likewise.
12170 [C99-based-standards] (SCNuLEAST32): Likewise.
12171 [C99-based-standards] (SCNxLEAST32): Likewise.
12172 [C99-based-standards] (PRIdFAST32): Likewise.
12173 [C99-based-standards] (PRIiFAST32): Likewise.
12174 [C99-based-standards] (PRIoFAST32): Likewise.
12175 [C99-based-standards] (PRIuFAST32): Likewise.
12176 [C99-based-standards] (PRIxFAST32): Likewise.
12177 [C99-based-standards] (PRIXFAST32): Likewise.
12178 [C99-based-standards] (SCNdFAST32): Likewise.
12179 [C99-based-standards] (SCNiFAST32): Likewise.
12180 [C99-based-standards] (SCNoFAST32): Likewise.
12181 [C99-based-standards] (SCNuFAST32): Likewise.
12182 [C99-based-standards] (SCNxFAST32): Likewise.
12183 [C99-based-standards] (PRId64): Likewise.
12184 [C99-based-standards] (PRIi64): Likewise.
12185 [C99-based-standards] (PRIo64): Likewise.
12186 [C99-based-standards] (PRIu64): Likewise.
12187 [C99-based-standards] (PRIx64): Likewise.
12188 [C99-based-standards] (PRIX64): Likewise.
12189 [C99-based-standards] (SCNd64): Likewise.
12190 [C99-based-standards] (SCNi64): Likewise.
12191 [C99-based-standards] (SCNo64): Likewise.
12192 [C99-based-standards] (SCNu64): Likewise.
12193 [C99-based-standards] (SCNx64): Likewise.
12194 [C99-based-standards] (PRIdLEAST64): Likewise.
12195 [C99-based-standards] (PRIiLEAST64): Likewise.
12196 [C99-based-standards] (PRIoLEAST64): Likewise.
12197 [C99-based-standards] (PRIuLEAST64): Likewise.
12198 [C99-based-standards] (PRIxLEAST64): Likewise.
12199 [C99-based-standards] (PRIXLEAST64): Likewise.
12200 [C99-based-standards] (SCNdLEAST64): Likewise.
12201 [C99-based-standards] (SCNiLEAST64): Likewise.
12202 [C99-based-standards] (SCNoLEAST64): Likewise.
12203 [C99-based-standards] (SCNuLEAST64): Likewise.
12204 [C99-based-standards] (SCNxLEAST64): Likewise.
12205 [C99-based-standards] (PRIdFAST64): Likewise.
12206 [C99-based-standards] (PRIiFAST64): Likewise.
12207 [C99-based-standards] (PRIoFAST64): Likewise.
12208 [C99-based-standards] (PRIuFAST64): Likewise.
12209 [C99-based-standards] (PRIxFAST64): Likewise.
12210 [C99-based-standards] (PRIXFAST64): Likewise.
12211 [C99-based-standards] (SCNdFAST64): Likewise.
12212 [C99-based-standards] (SCNiFAST64): Likewise.
12213 [C99-based-standards] (SCNoFAST64): Likewise.
12214 [C99-based-standards] (SCNuFAST64): Likewise.
12215 [C99-based-standards] (SCNxFAST64): Likewise.
12216 [C99-based-standards] (PRIdMAX): Likewise.
12217 [C99-based-standards] (PRIiMAX): Likewise.
12218 [C99-based-standards] (PRIoMAX): Likewise.
12219 [C99-based-standards] (PRIuMAX): Likewise.
12220 [C99-based-standards] (PRIxMAX): Likewise.
12221 [C99-based-standards] (PRIXMAX): Likewise.
12222 [C99-based-standards] (SCNdMAX): Likewise.
12223 [C99-based-standards] (SCNiMAX): Likewise.
12224 [C99-based-standards] (SCNoMAX): Likewise.
12225 [C99-based-standards] (SCNuMAX): Likewise.
12226 [C99-based-standards] (SCNxMAX): Likewise.
12227 [C99-based-standards] (PRIdPTR): Likewise.
12228 [C99-based-standards] (PRIiPTR): Likewise.
12229 [C99-based-standards] (PRIoPTR): Likewise.
12230 [C99-based-standards] (PRIuPTR): Likewise.
12231 [C99-based-standards] (PRIxPTR): Likewise.
12232 [C99-based-standards] (PRIXPTR): Likewise.
12233 [C99-based-standards] (SCNdPTR): Likewise.
12234 [C99-based-standards] (SCNiPTR): Likewise.
12235 [C99-based-standards] (SCNoPTR): Likewise.
12236 [C99-based-standards] (SCNuPTR): Likewise.
12237 [C99-based-standards] (SCNxPTR): Likewise.
12238 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12240 * conform/data/stdint.h-data: Update comments to clarify
12242 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12244 [C99-based standards] (INT8_MAX): Likewise.
12245 [C99-based standards] (INT16_MIN): Likewise.
12246 [C99-based standards] (INT16_MAX): Likewise.
12247 [C99-based standards] (INT32_MIN): Likewise.
12248 [C99-based standards] (INT32_MAX): Likewise.
12249 [C99-based standards] (INT64_MIN): Likewise.
12250 [C99-based standards] (INT64_MAX): Likewise.
12251 [C99-based standards] (UINT8_MAX): Likewise.
12252 [C99-based standards] (UINT16_MAX): Likewise.
12253 [C99-based standards] (UINT32_MAX): Likewise.
12254 [C99-based standards] (UINT64_MAX): Likewise.
12255 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12256 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12257 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12258 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12259 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12260 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12261 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12262 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12263 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12264 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12265 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12266 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12267 [C99-based standards] (INT_FAST8_MIN): Likewise.
12268 [C99-based standards] (INT_FAST8_MAX): Likewise.
12269 [C99-based standards] (INT_FAST16_MIN): Likewise.
12270 [C99-based standards] (INT_FAST16_MAX): Likewise.
12271 [C99-based standards] (INT_FAST32_MIN): Likewise.
12272 [C99-based standards] (INT_FAST32_MAX): Likewise.
12273 [C99-based standards] (INT_FAST64_MIN): Likewise.
12274 [C99-based standards] (INT_FAST64_MAX): Likewise.
12275 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12276 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12277 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12278 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12279 [C99-based standards] (INTPTR_MIN): Likewise.
12280 [C99-based standards] (INTPTR_MAX): Likewise.
12281 [C99-based standards] (UINTPTR_MAX): Likewise.
12282 [C99-based standards] (INTMAX_MIN): Likewise.
12283 [C99-based standards] (INTMAX_MAX): Likewise.
12284 [C99-based standards] (UINTMAX_MAX): Likewise.
12285 [C99-based standards] (PTRDIFF_MIN): Likewise.
12286 [C99-based standards] (PTRDIFF_MAX): Likewise.
12287 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12288 [C99-based standards] (SIZE_MAX): Likewise.
12289 [C99-based standards] (WCHAR_MAX): Likewise.
12290 [C99-based standards] (WINT_MAX): Likewise.
12291 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12292 constraint on value.
12293 [C99-based standards] (WCHAR_MIN): Likewise.
12294 [C99-based standards] (WINT_MIN): Likewise.
12295 [C99-based standards] (*_t): Allow.
12296 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12297 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12298 Include math.h-data and complex.h-data. Remove all expectations
12299 of math.h and complex.h contents.
12300 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12302 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12303 (struct tm): Expect tag.
12304 [C99-based-standards] (wcstof): Expect function.
12305 [C99-based-standards] (wcstold): Likewise.
12306 [C99-based-standards] (wcstoll): Likewise.
12307 [C99-based-standards] (wcstoull): Likewise.
12308 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12309 macro-int-constant. Specify type.
12310 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12311 constraint on value.
12312 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12314 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12316 [ISO C standards]: Do not allow headers.
12317 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12318 wcs[abcdefghijklmnopqrstuvwxyz]*.
12319 [ISO C standards] (*_t): Do not allow.
12320 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12322 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12323 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12325 [ISO C standards]: Do not allow headers.
12326 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12327 is[abcdefghijklmnopqrstuvwxyz]*.
12328 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12329 to[abcdefghijklmnopqrstuvwxyz]*.
12330 [ISO C standards] (*_t): Do not allow.
12331 * conform/data/stdalign.h-data: New file.
12332 * conform/data/stdbool.h-data: Likewise.
12333 * conform/data/stdnoreturn.h-data: Likewise.
12335 2012-11-07 Roland McGrath <roland@hack.frob.com>
12338 * manual/filesys.texi (Directory Entries): Typo fix.
12339 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12341 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12343 * elf/elf.h (EM_AARCH64): New macro.
12344 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12345 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12346 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12347 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12348 (R_AARCH64_TLSDESC): Likewise.
12349 (NT_ARM_TLS): Likewise.
12350 (NT_ARM_HW_BREAK): Likewise.
12351 (NT_ARM_HW_WATCH): Likewise.
12353 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12356 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12357 (__ieee754_powl): Saturate nonzero exponents with absolute value
12358 below 0x1p-79 to +/- 0x1p-79.
12359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12360 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12361 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12362 nonzero exponents with absolute value below 0x1p-32 to +/-
12364 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12365 (__ieee754_powl): Saturate nonzero exponents with absolute value
12366 below 0x1p-79 to +/- 0x1p-79.
12367 * math/libm-test.inc (pow_test): Add more tests.
12369 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12371 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12372 _dl_s390_cap_flags with kernel. Increase string length.
12373 (_dl_s390_platforms): Add z196 and zEC12.
12375 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12377 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12378 Change XOPEN21K to XOPEN2K.
12380 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12382 * string/memmove.c: Use memcpy when possible.
12384 2012-11-06 Andreas Jaeger <aj@suse.de>
12386 * po/eo.po: Update from translation team.
12388 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12392 exponent and small x and y exponents, scale x or y up. Increase
12393 by 2 the exponent used in scaling up.
12394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12396 * math/libm-test.inc (fma_test): Add more tests.
12397 (fma_test_towardzero): Likewise.
12398 (fma_test_downward): Likewise.
12399 (fma_test_upward): Likewise.
12401 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12404 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12408 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12409 namespace for names of struct fields.
12410 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12412 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12413 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12415 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12418 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12420 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12422 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12426 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12429 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12433 definitely overflow as x * y not x * y + z.
12434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12436 * math/libm-test.inc (fma_test): Add more tests.
12437 (fma_test_towardzero): Likewise.
12438 (fma_test_downward): Likewise.
12439 (fma_test_upward): Likewise.
12441 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12445 * include/stub-tag.h: Remove file.
12446 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12448 * manual/maint.texi (Porting): Don't reference it.
12449 * Makerules ($(objpfx)stubs): Likewise.
12450 * dirent/closedir.c: Don't include <stub-tag.h>.
12451 * dirent/dirfd.c: Likewise.
12452 * dirent/fdopendir.c: Likewise.
12453 * dirent/getdents.c: Likewise.
12454 * dirent/getdents64.c: Likewise.
12455 * dirent/opendir.c: Likewise.
12456 * dirent/readdir.c: Likewise.
12457 * dirent/readdir64.c: Likewise.
12458 * dirent/readdir64_r.c: Likewise.
12459 * dirent/readdir_r.c: Likewise.
12460 * dirent/rewinddir.c: Likewise.
12461 * dirent/seekdir.c: Likewise.
12462 * dirent/telldir.c: Likewise.
12463 * gmon/profil.c: Likewise.
12464 * grp/setgroups.c: Likewise.
12465 * inet/if_index.c: Likewise.
12466 * io/access.c: Likewise.
12467 * io/chdir.c: Likewise.
12468 * io/chmod.c: Likewise.
12469 * io/chown.c: Likewise.
12470 * io/close.c: Likewise.
12471 * io/dup.c: Likewise.
12472 * io/dup2.c: Likewise.
12473 * io/dup3.c: Likewise.
12474 * io/euidaccess.c: Likewise.
12475 * io/faccessat.c: Likewise.
12476 * io/fchdir.c: Likewise.
12477 * io/fchmod.c: Likewise.
12478 * io/fchmodat.c: Likewise.
12479 * io/fchown.c: Likewise.
12480 * io/fchownat.c: Likewise.
12481 * io/fcntl.c: Likewise.
12482 * io/flock.c: Likewise.
12483 * io/fstatfs.c: Likewise.
12484 * io/fstatfs64.c: Likewise.
12485 * io/fstatvfs.c: Likewise.
12486 * io/fstatvfs64.c: Likewise.
12487 * io/futimens.c: Likewise.
12488 * io/fxstat.c: Likewise.
12489 * io/fxstat64.c: Likewise.
12490 * io/fxstatat.c: Likewise.
12491 * io/fxstatat64.c: Likewise.
12492 * io/getcwd.c: Likewise.
12493 * io/isatty.c: Likewise.
12494 * io/lchmod.c: Likewise.
12495 * io/lchown.c: Likewise.
12496 * io/link.c: Likewise.
12497 * io/linkat.c: Likewise.
12498 * io/lseek.c: Likewise.
12499 * io/lseek64.c: Likewise.
12500 * io/lxstat64.c: Likewise.
12501 * io/mkdir.c: Likewise.
12502 * io/mkdirat.c: Likewise.
12503 * io/mkfifo.c: Likewise.
12504 * io/mkfifoat.c: Likewise.
12505 * io/open.c: Likewise.
12506 * io/open64.c: Likewise.
12507 * io/openat.c: Likewise.
12508 * io/openat64.c: Likewise.
12509 * io/pipe.c: Likewise.
12510 * io/pipe2.c: Likewise.
12511 * io/poll.c: Likewise.
12512 * io/posix_fadvise.c: Likewise.
12513 * io/posix_fadvise64.c: Likewise.
12514 * io/posix_fallocate.c: Likewise.
12515 * io/posix_fallocate64.c: Likewise.
12516 * io/read.c: Likewise.
12517 * io/readlink.c: Likewise.
12518 * io/readlinkat.c: Likewise.
12519 * io/rmdir.c: Likewise.
12520 * io/sendfile.c: Likewise.
12521 * io/sendfile64.c: Likewise.
12522 * io/statfs.c: Likewise.
12523 * io/statfs64.c: Likewise.
12524 * io/statvfs.c: Likewise.
12525 * io/statvfs64.c: Likewise.
12526 * io/symlink.c: Likewise.
12527 * io/symlinkat.c: Likewise.
12528 * io/ttyname.c: Likewise.
12529 * io/ttyname_r.c: Likewise.
12530 * io/umask.c: Likewise.
12531 * io/unlink.c: Likewise.
12532 * io/unlinkat.c: Likewise.
12533 * io/utime.c: Likewise.
12534 * io/utimensat.c: Likewise.
12535 * io/write.c: Likewise.
12536 * io/xmknod.c: Likewise.
12537 * io/xmknodat.c: Likewise.
12538 * io/xstat.c: Likewise.
12539 * io/xstat64.c: Likewise.
12540 * login/getpt.c: Likewise.
12541 * login/grantpt.c: Likewise.
12542 * login/unlockpt.c: Likewise.
12543 * math/e_acoshl.c: Likewise.
12544 * math/e_acosl.c: Likewise.
12545 * math/e_asinl.c: Likewise.
12546 * math/e_atan2l.c: Likewise.
12547 * math/e_atanhl.c: Likewise.
12548 * math/e_coshl.c: Likewise.
12549 * math/e_expl.c: Likewise.
12550 * math/e_fmodl.c: Likewise.
12551 * math/e_gammal_r.c: Likewise.
12552 * math/e_hypotl.c: Likewise.
12553 * math/e_j0l.c: Likewise.
12554 * math/e_j1l.c: Likewise.
12555 * math/e_jnl.c: Likewise.
12556 * math/e_lgammal_r.c: Likewise.
12557 * math/e_log10l.c: Likewise.
12558 * math/e_log2l.c: Likewise.
12559 * math/e_logl.c: Likewise.
12560 * math/e_powl.c: Likewise.
12561 * math/e_rem_pio2l.c: Likewise.
12562 * math/e_sinhl.c: Likewise.
12563 * math/e_sqrtl.c: Likewise.
12564 * math/fclrexcpt.c: Likewise.
12565 * math/fedisblxcpt.c: Likewise.
12566 * math/feenablxcpt.c: Likewise.
12567 * math/fegetenv.c: Likewise.
12568 * math/fegetexcept.c: Likewise.
12569 * math/fegetround.c: Likewise.
12570 * math/feholdexcpt.c: Likewise.
12571 * math/fesetenv.c: Likewise.
12572 * math/fesetround.c: Likewise.
12573 * math/feupdateenv.c: Likewise.
12574 * math/fgetexcptflg.c: Likewise.
12575 * math/fraiseexcpt.c: Likewise.
12576 * math/fsetexcptflg.c: Likewise.
12577 * math/ftestexcept.c: Likewise.
12578 * math/k_cosl.c: Likewise.
12579 * math/k_rem_pio2l.c: Likewise.
12580 * math/k_sinl.c: Likewise.
12581 * math/k_tanl.c: Likewise.
12582 * math/s_asinhl.c: Likewise.
12583 * math/s_atanl.c: Likewise.
12584 * math/s_cbrtl.c: Likewise.
12585 * math/s_erfl.c: Likewise.
12586 * math/s_expm1l.c: Likewise.
12587 * math/s_log1pl.c: Likewise.
12588 * math/s_tanhl.c: Likewise.
12589 * misc/acct.c: Likewise.
12590 * misc/brk.c: Likewise.
12591 * misc/chflags.c: Likewise.
12592 * misc/chroot.c: Likewise.
12593 * misc/fchflags.c: Likewise.
12594 * misc/fgetxattr.c: Likewise.
12595 * misc/flistxattr.c: Likewise.
12596 * misc/fremovexattr.c: Likewise.
12597 * misc/fsetxattr.c: Likewise.
12598 * misc/fsync.c: Likewise.
12599 * misc/ftruncate.c: Likewise.
12600 * misc/futimes.c: Likewise.
12601 * misc/futimesat.c: Likewise.
12602 * misc/getdomain.c: Likewise.
12603 * misc/getdtsz.c: Likewise.
12604 * misc/gethostid.c: Likewise.
12605 * misc/gethostname.c: Likewise.
12606 * misc/getloadavg.c: Likewise.
12607 * misc/getpagesize.c: Likewise.
12608 * misc/getsysstats.c: Likewise.
12609 * misc/getxattr.c: Likewise.
12610 * misc/gtty.c: Likewise.
12611 * misc/ioctl.c: Likewise.
12612 * misc/lgetxattr.c: Likewise.
12613 * misc/listxattr.c: Likewise.
12614 * misc/llistxattr.c: Likewise.
12615 * misc/lremovexattr.c: Likewise.
12616 * misc/lsetxattr.c: Likewise.
12617 * misc/lutimes.c: Likewise.
12618 * misc/madvise.c: Likewise.
12619 * misc/mincore.c: Likewise.
12620 * misc/mlock.c: Likewise.
12621 * misc/mlockall.c: Likewise.
12622 * misc/mmap.c: Likewise.
12623 * misc/mprotect.c: Likewise.
12624 * misc/msync.c: Likewise.
12625 * misc/munlock.c: Likewise.
12626 * misc/munlockall.c: Likewise.
12627 * misc/munmap.c: Likewise.
12628 * misc/preadv.c: Likewise.
12629 * misc/preadv64.c: Likewise.
12630 * misc/ptrace.c: Likewise.
12631 * misc/pwritev.c: Likewise.
12632 * misc/pwritev64.c: Likewise.
12633 * misc/readv.c: Likewise.
12634 * misc/reboot.c: Likewise.
12635 * misc/remap_file_pages.c: Likewise.
12636 * misc/removexattr.c: Likewise.
12637 * misc/revoke.c: Likewise.
12638 * misc/select.c: Likewise.
12639 * misc/setdomain.c: Likewise.
12640 * misc/setegid.c: Likewise.
12641 * misc/seteuid.c: Likewise.
12642 * misc/sethostid.c: Likewise.
12643 * misc/sethostname.c: Likewise.
12644 * misc/setregid.c: Likewise.
12645 * misc/setreuid.c: Likewise.
12646 * misc/setxattr.c: Likewise.
12647 * misc/sstk.c: Likewise.
12648 * misc/stty.c: Likewise.
12649 * misc/swapoff.c: Likewise.
12650 * misc/swapon.c: Likewise.
12651 * misc/sync.c: Likewise.
12652 * misc/syncfs.c: Likewise.
12653 * misc/syscall.c: Likewise.
12654 * misc/truncate.c: Likewise.
12655 * misc/ualarm.c: Likewise.
12656 * misc/usleep.c: Likewise.
12657 * misc/ustat.c: Likewise.
12658 * misc/utimes.c: Likewise.
12659 * misc/vhangup.c: Likewise.
12660 * misc/writev.c: Likewise.
12661 * posix/_exit.c: Likewise.
12662 * posix/alarm.c: Likewise.
12663 * posix/execve.c: Likewise.
12664 * posix/fexecve.c: Likewise.
12665 * posix/fork.c: Likewise.
12666 * posix/fpathconf.c: Likewise.
12667 * posix/getaddrinfo.c: Likewise.
12668 * posix/getegid.c: Likewise.
12669 * posix/geteuid.c: Likewise.
12670 * posix/getgid.c: Likewise.
12671 * posix/getgroups.c: Likewise.
12672 * posix/getlogin.c: Likewise.
12673 * posix/getlogin_r.c: Likewise.
12674 * posix/getpgid.c: Likewise.
12675 * posix/getpid.c: Likewise.
12676 * posix/getppid.c: Likewise.
12677 * posix/getresgid.c: Likewise.
12678 * posix/getresuid.c: Likewise.
12679 * posix/getsid.c: Likewise.
12680 * posix/getuid.c: Likewise.
12681 * posix/glob64.c: Likewise.
12682 * posix/nanosleep.c: Likewise.
12683 * posix/pathconf.c: Likewise.
12684 * posix/pause.c: Likewise.
12685 * posix/posix_madvise.c: Likewise.
12686 * posix/pread.c: Likewise.
12687 * posix/pread64.c: Likewise.
12688 * posix/pwrite.c: Likewise.
12689 * posix/pwrite64.c: Likewise.
12690 * posix/sched_getaffinity.c: Likewise.
12691 * posix/sched_getp.c: Likewise.
12692 * posix/sched_gets.c: Likewise.
12693 * posix/sched_primax.c: Likewise.
12694 * posix/sched_primin.c: Likewise.
12695 * posix/sched_rr_gi.c: Likewise.
12696 * posix/sched_setaffinity.c: Likewise.
12697 * posix/sched_setp.c: Likewise.
12698 * posix/sched_sets.c: Likewise.
12699 * posix/sched_yield.c: Likewise.
12700 * posix/setgid.c: Likewise.
12701 * posix/setlogin.c: Likewise.
12702 * posix/setpgid.c: Likewise.
12703 * posix/setresgid.c: Likewise.
12704 * posix/setresuid.c: Likewise.
12705 * posix/setsid.c: Likewise.
12706 * posix/setuid.c: Likewise.
12707 * posix/sleep.c: Likewise.
12708 * posix/spawni.c: Likewise.
12709 * posix/sysconf.c: Likewise.
12710 * posix/times.c: Likewise.
12711 * posix/wait.c: Likewise.
12712 * posix/wait3.c: Likewise.
12713 * posix/wait4.c: Likewise.
12714 * posix/waitpid.c: Likewise.
12715 * resolv/gai_sigqueue.c: Likewise.
12716 * resource/getpriority.c: Likewise.
12717 * resource/getrlimit.c: Likewise.
12718 * resource/getrusage.c: Likewise.
12719 * resource/nice.c: Likewise.
12720 * resource/setpriority.c: Likewise.
12721 * resource/setrlimit.c: Likewise.
12722 * resource/ulimit.c: Likewise.
12723 * rt/aio_cancel.c: Likewise.
12724 * rt/aio_fsync.c: Likewise.
12725 * rt/aio_read.c: Likewise.
12726 * rt/aio_sigqueue.c: Likewise.
12727 * rt/aio_suspend.c: Likewise.
12728 * rt/aio_write.c: Likewise.
12729 * rt/clock_getres.c: Likewise.
12730 * rt/clock_gettime.c: Likewise.
12731 * rt/clock_nanosleep.c: Likewise.
12732 * rt/clock_settime.c: Likewise.
12733 * rt/lio_listio.c: Likewise.
12734 * rt/mq_close.c: Likewise.
12735 * rt/mq_getattr.c: Likewise.
12736 * rt/mq_notify.c: Likewise.
12737 * rt/mq_open.c: Likewise.
12738 * rt/mq_receive.c: Likewise.
12739 * rt/mq_send.c: Likewise.
12740 * rt/mq_setattr.c: Likewise.
12741 * rt/mq_timedreceive.c: Likewise.
12742 * rt/mq_timedsend.c: Likewise.
12743 * rt/mq_unlink.c: Likewise.
12744 * rt/shm_open.c: Likewise.
12745 * rt/shm_unlink.c: Likewise.
12746 * rt/timer_create.c: Likewise.
12747 * rt/timer_delete.c: Likewise.
12748 * rt/timer_getoverr.c: Likewise.
12749 * rt/timer_gettime.c: Likewise.
12750 * rt/timer_settime.c: Likewise.
12751 * setjmp/__longjmp.c: Likewise.
12752 * setjmp/setjmp.c: Likewise.
12753 * signal/kill.c: Likewise.
12754 * signal/killpg.c: Likewise.
12755 * signal/raise.c: Likewise.
12756 * signal/sigaction.c: Likewise.
12757 * signal/sigaltstack.c: Likewise.
12758 * signal/sigblock.c: Likewise.
12759 * signal/sigignore.c: Likewise.
12760 * signal/sigintr.c: Likewise.
12761 * signal/signal.c: Likewise.
12762 * signal/sigpause.c: Likewise.
12763 * signal/sigpending.c: Likewise.
12764 * signal/sigqueue.c: Likewise.
12765 * signal/sigreturn.c: Likewise.
12766 * signal/sigset.c: Likewise.
12767 * signal/sigsetmask.c: Likewise.
12768 * signal/sigstack.c: Likewise.
12769 * signal/sigsuspend.c: Likewise.
12770 * signal/sigtimedwait.c: Likewise.
12771 * signal/sigvec.c: Likewise.
12772 * signal/sigwait.c: Likewise.
12773 * signal/sigwaitinfo.c: Likewise.
12774 * signal/sysv_signal.c: Likewise.
12775 * socket/accept.c: Likewise.
12776 * socket/accept4.c: Likewise.
12777 * socket/bind.c: Likewise.
12778 * socket/connect.c: Likewise.
12779 * socket/getpeername.c: Likewise.
12780 * socket/getsockname.c: Likewise.
12781 * socket/getsockopt.c: Likewise.
12782 * socket/isfdtype.c: Likewise.
12783 * socket/listen.c: Likewise.
12784 * socket/recv.c: Likewise.
12785 * socket/recvfrom.c: Likewise.
12786 * socket/recvmsg.c: Likewise.
12787 * socket/send.c: Likewise.
12788 * socket/sendmsg.c: Likewise.
12789 * socket/sendto.c: Likewise.
12790 * socket/setsockopt.c: Likewise.
12791 * socket/shutdown.c: Likewise.
12792 * socket/sockatmark.c: Likewise.
12793 * socket/socket.c: Likewise.
12794 * socket/socketpair.c: Likewise.
12795 * stdio-common/ctermid.c: Likewise.
12796 * stdio-common/cuserid.c: Likewise.
12797 * stdio-common/remove.c: Likewise.
12798 * stdio-common/rename.c: Likewise.
12799 * stdio-common/renameat.c: Likewise.
12800 * stdio-common/tempname.c: Likewise.
12801 * stdlib/getcontext.c: Likewise.
12802 * stdlib/makecontext.c: Likewise.
12803 * stdlib/setcontext.c: Likewise.
12804 * stdlib/swapcontext.c: Likewise.
12805 * stdlib/system.c: Likewise.
12806 * streams/fattach.c: Likewise.
12807 * streams/fdetach.c: Likewise.
12808 * streams/getmsg.c: Likewise.
12809 * streams/getpmsg.c: Likewise.
12810 * streams/putmsg.c: Likewise.
12811 * streams/putpmsg.c: Likewise.
12812 * sysdeps/unix/bsd/getpt.c: Likewise.
12813 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12814 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12815 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12818 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12819 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12820 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12821 * sysvipc/msgctl.c: Likewise.
12822 * sysvipc/msgget.c: Likewise.
12823 * sysvipc/msgrcv.c: Likewise.
12824 * sysvipc/msgsnd.c: Likewise.
12825 * sysvipc/semctl.c: Likewise.
12826 * sysvipc/semget.c: Likewise.
12827 * sysvipc/semop.c: Likewise.
12828 * sysvipc/semtimedop.c: Likewise.
12829 * sysvipc/shmat.c: Likewise.
12830 * sysvipc/shmctl.c: Likewise.
12831 * sysvipc/shmdt.c: Likewise.
12832 * sysvipc/shmget.c: Likewise.
12833 * termios/tcdrain.c: Likewise.
12834 * termios/tcflow.c: Likewise.
12835 * termios/tcflush.c: Likewise.
12836 * termios/tcgetattr.c: Likewise.
12837 * termios/tcgetpgrp.c: Likewise.
12838 * termios/tcsendbrk.c: Likewise.
12839 * termios/tcsetattr.c: Likewise.
12840 * termios/tcsetpgrp.c: Likewise.
12841 * time/adjtime.c: Likewise.
12842 * time/clock.c: Likewise.
12843 * time/getitimer.c: Likewise.
12844 * time/gettimeofday.c: Likewise.
12845 * time/setitimer.c: Likewise.
12846 * time/settimeofday.c: Likewise.
12847 * time/stime.c: Likewise.
12848 * time/time.c: Likewise.
12850 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12852 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12855 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12857 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12859 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12863 FE_TONEAREST before applying Dekker multiplication and Knuth
12864 addition. Clear inexact exceptions and check for exact zero
12865 results afterwards.
12866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12867 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12869 * math/libm-test.inc (fma_test): Add more tests.
12870 (fma_test_towardzero): Likewise.
12871 (fma_test_downward): Likewise.
12872 (fma_test_upward): Likewise.
12873 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12875 (libc_fesetround): New macro.
12876 (libc_fesetroundf): Likewise.
12877 (libc_fesetroundl): Likewise.
12878 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12880 (libc_fesetround_387): Likewise.
12881 (libc_fesetroundf): New macro.
12882 (libc_fesetround): Likewise.
12883 (libc_fesetroundl): Likewise.
12884 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12886 (libc_fesetroundf): New macro.
12887 (libc_fesetround): Likewise.
12888 (libc_fesetroundl): Likewise.
12889 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12890 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12891 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12893 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12894 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12896 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12897 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12899 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12903 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12904 integer constant usable in #if and use that to give value to enum
12906 (FE_DIVBYZERO): Likewise.
12907 (FE_UNDERFLOW): Likewise.
12908 (FE_OVERFLOW): Likewise.
12909 (FE_INVALID): Likewise.
12910 (FE_INVALID_SNAN): Likewise.
12911 (FE_INVALID_ISI): Likewise.
12912 (FE_INVALID_IDI): Likewise.
12913 (FE_INVALID_ZDZ): Likewise.
12914 (FE_INVALID_IMZ): Likewise.
12915 (FE_INVALID_COMPARE): Likewise.
12916 (FE_INVALID_SOFTWARE): Likewise.
12917 (FE_INVALID_SQRT): Likewise.
12918 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12919 (FE_TONEAREST): Likewise.
12920 (FE_TOWARDZERO): Likewise.
12921 (FE_UPWARD): Likewise.
12922 (FE_DOWNWARD): Likewise.
12923 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12924 (FE_DIVBYZERO): Likewise.
12925 (FE_OVERFLOW): Likewise.
12926 (FE_UNDERFLOW): Likewise.
12927 (FE_INEXACT): Likewise.
12928 (FE_TONEAREST): Likewise.
12929 (FE_DOWNWARD): Likewise.
12930 (FE_UPWARD): Likewise.
12931 (FE_TOWARDZERO): Likewise.
12932 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12933 (FE_UNDERFLOW): Likewise.
12934 (FE_OVERFLOW): Likewise.
12935 (FE_DIVBYZERO): Likewise.
12936 (FE_INVALID): Likewise.
12937 (FE_TONEAREST): Likewise.
12938 (FE_TOWARDZERO): Likewise.
12939 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12940 (FE_OVERFLOW): Likewise.
12941 (FE_UNDERFLOW): Likewise.
12942 (FE_DIVBYZERO): Likewise.
12943 (FE_INEXACT): Likewise.
12944 (FE_TONEAREST): Likewise.
12945 (FE_TOWARDZERO): Likewise.
12946 (FE_UPWARD): Likewise.
12947 (FE_DOWNWARD): Likewise.
12948 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12949 (FE_DIVBYZERO): Likewise.
12950 (FE_OVERFLOW): Likewise.
12951 (FE_UNDERFLOW): Likewise.
12952 (FE_INEXACT): Likewise.
12953 (FE_TONEAREST): Likewise.
12954 (FE_DOWNWARD): Likewise.
12955 (FE_UPWARD): Likewise.
12956 (FE_TOWARDZERO): Likewise.
12958 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12960 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12962 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12964 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12965 commands. Quote $PWD.
12966 (blacklist_exports): Don't use remove_newlines. Replace "declare
12968 (remove_newlines): Remove.
12970 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12972 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12973 * stdlib/stdlib.h (atof): Moved to ...
12974 * include/bits/stdlib-float.h: Here. New file.
12975 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12976 * stdlib/bits/stdlib-float.h: New file.
12977 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12982 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12984 * conform/conformtest.pl (@headers): Add fenv.h.
12985 * conform/data/fenv.h-data: New file.
12986 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12987 include of <math/fenv.h>.
12989 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12990 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12991 && !UNIX98]. Enables tests for XOPEN2K8.
12992 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12993 POSIX2008]: Likewise.
12995 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12996 (struct rusage): Do not expect type or its members.
12999 * math/math.h (FP_NAN): Define macro to integer constant usable in
13000 #if and use that to give value to enum constant.
13001 (FP_INFINITE): Likewise.
13002 (FP_ZERO): Likewise.
13003 (FP_SUBNORMAL): Likewise.
13004 (FP_NORMAL): Likewise.
13006 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13008 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13009 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13012 2012-11-02 Roland McGrath <roland@hack.frob.com>
13014 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13015 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13016 autoconf-time if not.
13017 * configure.in: Remove AC_PREREQ.
13019 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13021 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13022 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13023 of the internal implementation.
13025 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13027 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13028 except include of <misc/sys/syslog.h>.
13030 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13033 function returns with a NULL context exit with zero.
13035 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13037 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13039 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13041 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13042 (run_program_cmd): This.
13043 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13044 (tst_langinfo): New variable. Use it.
13046 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13048 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13049 floating point opcodes.
13051 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13053 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13056 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13058 * sysdeps/mach/hurd/powerpc: Remove directory.
13059 * sysdeps/mach/powerpc: Likewise.
13061 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13063 * scripts/check-local-headers.sh: Ignore c++ headers.
13065 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13067 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13068 __libc_cleanup_region_start argument.
13070 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13075 x * y using scaling, not as x * y + z.
13076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13078 * math/libm-test.inc (fma_test): Add more tests.
13079 (fma_test_towardzero): Likewise.
13080 (fma_test_downward): Likewise.
13081 (fma_test_upward): Likewise.
13083 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13085 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13087 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13089 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13092 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13094 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13096 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13103 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13106 Fix the order of the list for glibc 2.17.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13110 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13114 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13117 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13118 for low part of x being zero before using __atanl (y).
13119 * math/libm-test.inc (atan2_test): Add another test.
13121 * manual/install.texi (Configuring and compiling): Document
13122 general use of test-wrapper and test-wrapper-env.
13123 * INSTALL: Regenerated.
13125 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13126 (__fma): Do not extract and scale down low bits on after-rounding
13127 systems when result rounded to normal precision would have normal
13129 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13130 (__fmal): Do not extract and scale down low bits on after-rounding
13131 systems when result rounded to normal precision would have normal
13133 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13134 (__fmal): Do not extract and scale down low bits on after-rounding
13135 systems when result rounded to normal precision would have normal
13137 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13139 (fma_test): Add more tests.
13140 (fma_test_towardzero): Likewise.
13141 (fma_test_downward): Likewise.
13142 (fma_test_upward): Likewise.
13144 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13146 * sysdeps/i386/tininess.h: Renamed to ...
13147 * sysdeps/x86/tininess.h: This.
13148 * sysdeps/x86_64/tininess.h: Removed.
13150 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13152 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13153 input. Use $(build-program-cmd).
13154 ($(objpfx)tst-array1-static.out): Likewise.
13155 ($(objpfx)tst-array2.out): Likewise.
13156 ($(objpfx)tst-array3.out): Likewise.
13157 ($(objpfx)tst-array4.out): Likewise.
13158 ($(objpfx)tst-array5.out): Likewise.
13159 ($(objpfx)tst-array5-static.out): Likewise.
13161 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13163 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13166 * nss/nsswitch.h (nss_interface_function): Provide new
13167 macro for use with NSS functions.
13168 * grp/initgroups.c: Use new macro.
13169 * nss/getXXbyYY.c: Likewise.
13170 * nss/getXXbyYY_r.c: Likewise.
13171 * nss/getXXent.c: Likewise.
13172 * nss/getXXent_r.c: Likewise.
13173 * sysdeps/posix/getaddrinfo.c: Likewise.
13175 2012-10-30 Andreas Jaeger <aj@suse.de>
13177 * po/ru.po: Update Russion translation from translation project.
13179 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13184 result and shift together with sticky bit instead of replicating
13185 round-to-nearest rounding.
13186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13187 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13188 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13189 missing underflow exceptions.
13190 (fma_test_towardzero): Add more tests.
13191 (fma_test_downward): Likewise.
13192 (fma_test_upward): Likewise.
13195 * sysdeps/generic/tininess.h: New file.
13196 * sysdeps/i386/tininess.h: Likewise.
13197 * sysdeps/sh/tininess.h: Likewise.
13198 * sysdeps/x86_64/tininess.h: Likewise.
13199 * stdlib/tst-strtod-underflow.c: Likewise.
13200 * stdlib/tst-tininess.c: Likewise.
13201 * stdlib/strtod_l.c: Include <tininess.h>.
13202 (round_and_return): Do not set errno for exact underflow cases.
13203 Force an underflow exception when setting errno for underflow.
13204 Determine underflow based on rounding to normal precision if
13205 TININESS_AFTER_ROUNDING.
13206 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13207 ERANGE for exact underflow cases.
13208 * stdlib/Makefile (tests): Add tst-tininess and
13209 tst-strtod-underflow.
13210 ($(objpfx)tst-tininess): Use $(link-libm).
13211 ($(objpfx)tst-strtod-underflow): Likewise.
13213 2012-10-30 Andreas Jaeger <aj@suse.de>
13216 * elf/Makefile (tests): Remove conditional for have-initfini-array
13217 since this is now always required and the variable does not exist
13219 (tests-static): Likewise.
13220 (modules-names): Likewise.
13222 * po/eo.po: Add Esperanto translation from translation project.
13224 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13225 merged with constructor/destructor.
13226 (init_array): Likewise.
13227 * elf/tst-array2dep.c (fini_array): Likewise.
13228 (init_array): Likewise.
13230 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13232 * manual/message.texi: Delete @cartouche tags.
13234 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13236 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13238 * sysdeps/mach/hurd/fsync.c: Likewise.
13240 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13241 [_POSIX_REALTIME_SIGNALS]: Change condition to
13242 [_POSIX_REALTIME_SIGNALS > 0].
13244 2012-10-27 Andreas Jaeger <aj@suse.de>
13246 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13247 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13249 [__WORDSIZE != 64]: Likewise.
13251 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13253 * iconvdata/tst-table.sh: Remove ${SHELL}.
13254 * iconvdata/tst-tables.sh: Likewise.
13256 2012-10-25 David S. Miller <davem@davemloft.net>
13258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13259 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13264 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13265 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13266 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13269 2012-10-25 Roland McGrath <roland@hack.frob.com>
13271 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13272 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13275 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13276 Jim Blandy <jimb@codesourcery.com>
13278 * scripts/cross-test-ssh.sh: New file.
13279 * manual/install.texi (Configuring and compiling): Document use of
13281 * INSTALL: Regenerated.
13283 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13285 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13288 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13290 * Makeconfig (run-program-prefix): Fix comment.
13292 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13293 Jim Blandy <jimb@codesourcery.com>
13295 * Makeconfig (test-wrapper): New variable,
13296 (test-wrapper-env): Likewise.
13297 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13298 (run-built-tests): Define to yes.
13299 (run-program-prefix): Use $(test-wrapper).
13300 (built-program-cmd): Likewise.
13301 * Rules (make-test-out): Use $(test-wrapper-env) and
13302 $(host-built-program-cmd).
13303 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13304 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13306 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13307 $(test-wrapper-env) to tst-rtld-load-self.sh.
13308 ($(objpfx)order2.out): Use $(test-wrapper).
13309 ($(objpfx)tst-initorder.out): Likewise.
13310 ($(objpfx)tst-initorder2.out): Likewise.
13311 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13312 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13313 (test_wrapper_env): New variable. Use it to run ld.so.
13314 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13315 Use it to run ld.so.
13316 (test_wrapper_env): Likewise.
13317 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13318 $(test-wrapper) to run-iconv-test.sh.
13319 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13320 (ICONV): Use $test_wrapper.
13321 * posix/Makefile ($(objpfx)globtest.out): Pass
13322 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13323 globtest.sh, not $(run-program-prefix).
13324 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13325 (test_wrapper): Likewise.
13326 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13327 set together with run_via_rtld_prefix.
13328 (run_program_prefix): Define in terms of test_wrapper and
13329 run_via_rtld_prefix.
13331 2012-10-24 Roland McGrath <roland@hack.frob.com>
13333 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13334 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13338 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13339 Declare __clock_getres, __clock_gettime, __clock_settime,
13340 __clock_nanosleep, and __clock_getcpuclockid.
13341 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13342 Remove librt_hidden_def (clock_gettime).
13343 * sysdeps/unix/clock_gettime.c: Likewise.
13344 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13346 * rt/clock_getres.c: Define __clock_getres as an alias.
13347 * sysdeps/posix/clock_getres.c: Likewise.
13348 * rt/clock_settime.c: Define __clock_settime as an alias.
13349 * sysdeps/unix/clock_settime.c: Likewise.
13350 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13351 * sysdeps/unix/clock_nanosleep.c: Likewise.
13352 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13353 * rt/clock-compat.c: New file.
13354 * rt/Makefile (librt-routines): Add clock-compat and move
13355 $(clock-routines) to ...
13356 (routines): ... here, new variable.
13357 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13358 Don't add get_clockfreq here.
13359 * rt/Versions (libc: GLIBC_2.17): New version set.
13360 Add clock_* symbols here.
13361 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13362 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13363 (GLIBC_2.17): Add clock_* symbols.
13364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13375 * NEWS: Mention the move.
13377 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13378 Use __open, __read, __close rather than their public counterparts.
13379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13380 (__get_clockfreq_via_cpuinfo): Likewise.
13381 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13382 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13384 * config.h.in (HAVE_IFUNC): New #undef.
13385 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13387 * configure: Regenerated.
13389 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13391 * configure.in: Move READELF check to start of file.
13392 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13393 libc_cv_asm_gnu_indirect_function in the process.
13394 * configure: Regenerated.
13396 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13398 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13399 send the output to /dev/null.
13400 (libc_cv_cc_with_libunwind): Likewise.
13401 (libc_cv_as_noexecstack): Likewise.
13402 * configure: Regenerate.
13404 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13406 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13408 * posix/globtest.sh (TMPDIR): Do not set.
13409 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13410 (testout): Likewise.
13412 2012-10-24 Andreas Jaeger <aj@suse.de>
13414 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13415 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13416 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13417 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13418 posix_fadvise64, posix_fallocate64.
13420 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13421 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13422 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13424 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13426 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13429 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13430 <bits/fcntl-linux.h>.
13431 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13434 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13435 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13436 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13437 [__WORDSIZE != 64]: Likewise.
13439 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13441 * Makeconfig (run-built-tests): New variable.
13442 * Rules [$(cross-compiling) = yes]: Change condition to
13443 [$(run-built-tests) = no].
13444 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13445 to [$(run-built-tests) = yes].
13446 * elf/Makefile [$(cross-compiling) = no]: Likewise
13447 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13448 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13449 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13450 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13451 * io/Makefile [$(cross-compiling) = no]: Likewise.
13452 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13453 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13454 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13455 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13456 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13457 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13458 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13459 * string/Makefile [$(cross-compiling) = no]: Likewise.
13461 * posix/Makefile ($(objpfx)globtest.out): Pass
13462 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13463 $(rtld-installed-name).
13464 * posix/globtest.sh (elf_objpfx): Remove variable.
13465 (rtld_installed_name): Likewise.
13466 (library_path): Likewise.
13467 (run_program_prefix): New variable. Use for running globtest
13470 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13471 Joseph Myers <joseph@codesourcery.com>
13473 * Makeconfig (host-built-program-cmd): New variable.
13474 * elf/Makefile (tst-stackguard1-ARGS): Use
13475 $(host-built-program-cmd).
13476 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13477 (tst-spawn-ARGS): Likewise.
13478 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13480 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13481 Jim Blandy <jimb@codesourcery.com>
13483 * Makeconfig (run-via-rtld-prefix): New variable.
13484 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13485 (built-program-cmd): Likewise.
13487 2012-10-22 Andreas Jaeger <aj@suse.de>
13489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13490 __O_RSYNC if it exists, otherwise to O_SYNC.
13492 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13493 Joseph Myers <joseph@codesourcery.com>
13495 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13497 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13499 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13502 2012-10-22 Andreas Jaeger <aj@suse.de>
13504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13509 bits/fcntl-linux.h.
13511 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13512 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13519 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13520 Joseph Myers <joseph@codesourcery.com>
13522 * config.make.in (NM): New variable.
13524 2012-10-21 Andreas Jaeger <aj@suse.de>
13526 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13527 definitions and declarations that are provided by
13528 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13530 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13533 * elf/Makefile (tests-static): Add tst-leaks1-static.
13534 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13535 ($(objpfx)tst-leaks1-static): New rule.
13536 ($(objpfx)tst-leaks1-static-mem): Likewise.
13537 (tst-leaks1-static-ENV): New macro.
13538 * elf/dl-open.c (dl_open_worker): Check the main application
13539 only if SHARED is defined.
13540 * elf/tst-leaks1-static.c: New file.
13542 2012-10-20 Andreas Jaeger <aj@suse.de>
13544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13545 generic values for Linux.
13546 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13547 and declarations that are provided by <bits/fcntl-linux.h> and
13548 include <bits/fcntl-linux.h>.
13549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13552 2012-10-20 Roland McGrath <roland@hack.frob.com>
13554 * io/fcntl.h: Move include of <bits/types.h> to the top and
13555 include it unconditionally.
13557 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13559 * wcsmbs/Makefile (tests-ifunc): New variable.
13560 (tests): Add $(tests-ifunc).
13561 * wcsmbs/test-wcschr-ifunc.c: New file.
13562 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13563 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13564 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13565 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13566 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13568 * string/Makefile (tests-ifunc): New variable.
13569 (tests): Add $(tests-ifunc).
13570 * string/test-memccpy.c (TEST_NAME): New macro.
13571 * string/test-memchr.c (TEST_NAME): Likewise.
13572 * string/test-memcmp.c (TEST_NAME): Likewise.
13573 * string/test-memcpy.c (TEST_NAME): Likewise.
13574 * string/test-memmem.c (TEST_NAME): Likewise.
13575 * string/test-memmove.c (TEST_NAME): Likewise.
13576 * string/test-memset.c (TEST_NAME): Likewise.
13577 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13578 * string/test-stpcpy.c (TEST_NAME): Likewise.
13579 * string/test-stpncpy.c (TEST_NAME): Likewise.
13580 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13581 * string/test-strcasestr.c (TEST_NAME): Likewise.
13582 * string/test-strcat.c (TEST_NAME): Likewise.
13583 * string/test-strchr.c (TEST_NAME): Likewise.
13584 * string/test-strcmp.c(TEST_NAME): Likewise.
13585 * string/test-strcpy.c (TEST_NAME): Likewise.
13586 * string/test-strcspn.c (TEST_NAME): Likewise.
13587 * string/test-strlen.c (TEST_NAME): Likewise.
13588 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13589 * string/test-strncmp.c (TEST_NAME): Likewise.
13590 * string/test-strncpy.c (TEST_NAME): Likewise.
13591 * string/test-strnlen.c (TEST_NAME): Likewise.
13592 * string/test-strpbrk.c (TEST_NAME): Likewise.
13593 * string/test-strrchr.c (TEST_NAME): Likewise.
13594 * string/test-strspn.c (TEST_NAME): Likewise.
13595 * string/test-strstr.c (TEST_NAME): Likewise.
13596 * string/test-bcopy-ifunc.c: New file.
13597 * string/test-bzero-ifunc.c: Likewise.
13598 * string/test-memccpy-ifunc.c: Likewise.
13599 * string/test-memchr-ifunc.c: Likewise.
13600 * string/test-memcmp-ifunc.c: Likewise.
13601 * string/test-memcpy-ifunc.c: Likewise.
13602 * string/test-memmem-ifunc.c: Likewise.
13603 * string/test-memmove-ifunc.c: Likewise.
13604 * string/test-mempcpy-ifunc.c: Likewise.
13605 * string/test-memset-ifunc.c: Likewise.
13606 * string/test-rawmemchr-ifunc.c: Likewise.
13607 * string/test-stpcpy-ifunc.c: Likewise.
13608 * string/test-stpncpy-ifunc.c: Likewise.
13609 * string/test-strcasecmp-ifunc.c: Likewise.
13610 * string/test-strcasestr-ifunc.c: Likewise.
13611 * string/test-strcat-ifunc.c: Likewise.
13612 * string/test-strchr-ifunc.c: Likewise.
13613 * string/test-strchrnul-ifunc.c: Likewise.
13614 * string/test-strcmp-ifunc.c: Likewise.
13615 * string/test-strcpy-ifunc.c: Likewise.
13616 * string/test-strcspn-ifunc.c: Likewise.
13617 * string/test-strlen-ifunc.c: Likewise.
13618 * string/test-strncasecmp-ifunc.c: Likewise.
13619 * string/test-strncat-ifunc.c: Likewise.
13620 * string/test-strncmp-ifunc.c: Likewise.
13621 * string/test-strncpy-ifunc.c: Likewise.
13622 * string/test-strnlen-ifunc.c: Likewise.
13623 * string/test-strpbrk-ifunc.c: Likewise.
13624 * string/test-strrchr-ifunc.c: Likewise.
13625 * string/test-strspn-ifunc.c: Likewise.
13626 * string/test-strstr-ifunc.c: Likewise.
13628 * debug/Makefile (tests-ifunc): New variable.
13629 (tests): Add $(tests-ifunc).
13630 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13631 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13632 * debug/test-stpcpy_chk-ifunc.c: New file.
13633 * debug/test-strcpy_chk-ifunc.c: Likewise.
13635 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13638 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13639 header is not read in.
13641 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13643 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13644 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13645 directly. Pass built executable to script as
13646 $(built-program-cmd).
13647 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13648 $testprogram without using LD_LIBRARY_PATH and $ldso.
13650 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13651 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13652 $(rtld-installed-name).
13653 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13654 (rtld_installed_name): Likewise.
13655 (library_path): Likewise.
13656 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13657 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13658 $(run-program-prefix) to tst-tables.sh.
13659 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13660 it to run tst-table-from and tst-table-to.
13661 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13662 Pass it to tst-table.sh.
13663 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13664 $(run-program-prefix) to tst-gettext.sh.
13665 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13667 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13669 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13670 to run tst-gettext.
13671 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13672 to run tst-gettext2.
13673 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13674 to run tst-translit.
13675 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13676 $(run-program-prefix) to tst-mtrace.sh.
13677 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13679 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13680 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13681 $(rtld-installed-name).
13682 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13683 (rtld_installed_name): Likewise.
13684 (run_program_prefix): New variable. Use it to run wordexp-test.
13686 * Makeconfig (ARCH): Remove all definitions.
13687 (machine): Likewise.
13688 [ARCH]: Remove conditional code.
13689 [!objdir]: Give error.
13690 [!objdir] (objpfx): Remove.
13691 [!objdir] (common-objpfx): Likewise.
13692 [!objdir] (common-objdir): Likewise.
13693 * configure.in (config_makefile): Remove. Hardcode Makefile in
13694 AC_CONFIG_FILES call.
13695 * configure: Regenerated.
13698 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13700 (testout): Likewise.
13702 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13703 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13704 $(rtld-installed-name).
13705 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13706 (rtld_installed_name): Likwise.
13707 (runit): Remove function.
13708 (run_getconf): New variable, Use it for running getconf binary.
13710 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13713 * string/test-memmem.c (check_result): New function.
13714 (do_one_test): Use it.
13715 (check1): New function.
13716 (test_main): Use it.
13718 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13720 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13722 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13724 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13725 (_G_LSEEK64): Likewise.
13726 (_G_MMAP64): Likewise.
13727 (_G_FSTAT64): Likewise.
13728 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13729 (_G_LSEEK64): Likewise.
13730 (_G_MMAP64): Likewise.
13731 (_G_FSTAT64): Likewise.
13732 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13733 unconditional. Call __mmap64 directly.
13734 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13735 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13736 __lseek64 directly.
13737 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13738 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13740 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13741 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13742 __lseek64 directly.
13743 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13744 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13745 __lseek64 directly.
13746 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13747 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13748 __lseek64 directly.
13749 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13750 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13751 __fxstat64 directly.
13752 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13753 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13755 (freopen64) [!_G_OPEN64]: Remove conditional code.
13756 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13758 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13759 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13761 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13762 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13764 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13765 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13767 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13768 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13770 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13771 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13773 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13774 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13776 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13778 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13781 * manual/memory.texi (Malloc Tunable Parameters): Add note
13782 about free list pointers overwriting some perturb bytes.
13783 Wording suggested by Roland McGrath.
13785 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13787 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13788 (lgamma_test): Likewise.
13789 (tgamma_test): Likewise.
13791 2012-10-16 Florian Weimer <fweimer@redhat.com>
13794 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13795 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13797 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13799 * NEWS: Mention BZ #14716.
13800 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13801 when removing AVAILABLE1_USES_J macro.
13803 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13805 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13806 (__bswap_64): __uint64_t for unsigned 64-bit int.
13808 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13810 * include/string.h (memmem): Declare libc hidden alias.
13811 * string/memmem.c (memmem): Define libc hidden alias.
13812 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13813 __read, __close instead of open, read, close.
13815 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13817 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13818 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13820 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13821 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13822 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13824 (__rawmemchr_sse2): Likewise.
13825 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13826 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13827 (__strchr_sse2): Likewise.
13828 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13829 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13830 (__strcasecmp_sse2): Likewise.
13831 (__strncasecmp_sse2): Likewise.
13832 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13833 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13834 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13835 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13836 (__strrchr_sse2): Likewise.
13837 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13839 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13840 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13841 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13842 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13843 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13844 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13845 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13846 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13847 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13848 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13849 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13850 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13851 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13852 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13853 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13854 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13855 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13856 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13857 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13858 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13859 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13860 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13861 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13862 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13863 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13864 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13865 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13866 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13867 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13868 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13870 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13872 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13873 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13874 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13875 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13877 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13879 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13880 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13881 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13882 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13884 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13885 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13886 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13887 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13888 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13889 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13890 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13891 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13892 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13893 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13894 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13895 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13896 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13897 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13898 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13899 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13900 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13901 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13902 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13903 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13905 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13906 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13907 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13908 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13909 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13910 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13911 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13912 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13914 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13915 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13916 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13917 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13918 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13919 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13920 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13921 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13922 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13923 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13924 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13926 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13927 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13928 * include/ifunc-impl-list.h: New file.
13929 * misc/ifunc-impl-list.c: Likewise.
13930 * misc/Makefile (routines): Add ifunc-impl-list.
13931 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13932 * string/test-string.h: Include <ifunc-impl-list.h>.
13933 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13934 impl_array): New variables.
13935 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13937 (test_init): Call __libc_ifunc_impl_list to initialize
13938 func_list if TEST_IFUNC and TEST_NAME are defined.
13940 * string/Makefile (strop-tests): Add bcopy and bzero.
13941 * string/test-bcopy.c: New file.
13942 * string/test-bzero.c: Likewise.
13943 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13945 * string/test-memset.c: Support bzero test if TEST_BZERO is
13947 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13949 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13951 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13954 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13956 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13957 * configure: Regenerated.
13959 * Makeconfig (+link-static-before-libc): Don't include
13960 $(link-static-libc).
13962 * libio/libio.h (_IO_pos_t): Remove.
13964 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13966 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13969 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13971 * crypt/crypt-entry.c: Include fips-private.h.
13972 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13973 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13974 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13975 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13977 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13979 * crypt/crypt-private.h: Include stdbool.h.
13980 (_ufc_setup_salt_r): Return bool.
13981 * crypt/crypt-entry.c: Include errno.h.
13982 (__crypt_r): Return NULL with EINVAL for bad salt.
13983 * crypt/crypt_util.c (bad_for_salt): New.
13984 (_ufc_setup_salt_r): Check that salt is long enough and within
13985 the specified alphabet.
13986 * crypt/badsalttest.c: New file.
13987 * crypt/Makefile (tests): Add it.
13988 ($(objpfx)badsalttest): New.
13990 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13992 * NEWS: Add entry for BZ #14602.
13994 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13996 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13998 * math/libm-test.inc: Update comment listing what functions and
14000 (isgreater_test): New function.
14001 (isgreaterequal_test): Likewise.
14002 (isless_test): Likewise.
14003 (islessequal_test): Likewise.
14004 (islessgreater_test): Likewise.
14005 (isunordered_test): Likewise.
14006 (main): Call the new functions.
14008 2012-10-09 Roland McGrath <roland@hack.frob.com>
14010 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14011 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14012 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14013 * sysdeps/i386/configure: Regenerated.
14014 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14015 * sysdeps/mach/configure: Regenerated.
14016 * sysdeps/mach/hurd/configure: Regenerated.
14017 * sysdeps/powerpc/configure: Regenerated.
14018 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14019 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14020 * sysdeps/s390/s390-32/configure: Regenerated.
14021 * sysdeps/s390/s390-64/configure: Regenerated.
14022 * sysdeps/sh/configure: Regenerated.
14023 * sysdeps/sparc/configure: Regenerated.
14024 * sysdeps/unix/sysv/linux/configure: Regenerated.
14025 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14026 * sysdeps/x86_64/configure: Regenerated.
14028 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14029 defined. Don't check if MAP is NULL.
14031 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14033 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14034 (_G_stat64): Likewise.
14035 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14036 (_G_stat64): Likewise.
14037 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14038 instead of struct _G_stat64.
14039 * libio/fileops.c (mmap_remap_check): Likewise.
14040 (decide_maybe_mmap): Likewise.
14041 (_IO_new_file_seekoff): Likewise.
14042 (_IO_file_stat): Likewise.
14043 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14045 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14046 instead of struct _G_stat64.
14047 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14049 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14052 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14054 (CHECK_EOL): New macro.
14055 (two_way_short_needle): Check beginning of haystack for EOL. Use
14057 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14058 Replace with CHECK_EOL.
14059 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14060 Replace with CHECK_EOL.
14062 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14064 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14066 * math/libm-test.inc: Update comment listing what functions and
14068 (finite_test): New function.
14069 (isinf_test): Likewise.
14070 (isnan_test): Likewise.
14071 (fpclassify_test): Test subnormal input.
14072 (isfinite_test): Likewise.
14073 (isnormal_test): Likewise.
14074 (main): Call the new functions.
14076 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14079 * Makerules (%.dynsym): Force C locale when running
14080 $(OBJDUMP) --dynamic-syms.
14082 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14084 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14087 2012-10-06 David S. Miller <davem@davemloft.net>
14089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14090 upper 32-bits of the length value in %o2 since we use branch-on-register
14091 tests which consider the entire 64-bit register.
14093 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14095 * string/test-strstr.c (check2): Add a test for page boundary.
14097 2012-10-05 David S. Miller <davem@davemloft.net>
14099 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14100 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14102 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14104 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14105 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14106 and bzero when HWCAP_SPARC_CRYPTO is present.
14108 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14111 * string/test-strstr.c (check2): New function.
14112 (test_main): Call check2.
14114 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14116 * string/bug-strcasestr1.c (do_test): Moved to ...
14117 * string/test-strcasestr.c (check1): Here. New function.
14118 (do_one_test): Break out result checking code into ...
14119 (check_result): This. New function.
14120 (do_one_test): Call check_result.
14121 (test_main): Call check1.
14122 * string/bug-strchr1.c (do_test): Moved to ...
14123 * string/test-strchr.c (check1): Here. New function.
14124 (do_one_test): Break out result checking code into ...
14125 (check_result): This. New function.
14126 (do_one_test): Call check_result.
14127 (test_main): Call check1.
14128 * string/bug-strstr1.c (main): Moved to ...
14129 * string/test-strstr.c (check1): Here. New function.
14130 (do_one_test): Break out result checking code into ...
14131 (check_result): This. New function.
14132 (do_one_test): Call check_result.
14133 (test_main): Call check1.
14134 * string/bug-strcasestr1.c: Removed.
14135 * string/bug-strchr1.c: Likewise.
14136 * string/bug-strstr1.c: Likewise.
14138 * elf/Makefile (dl-routines): Add hwcaps.
14139 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14140 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14141 (_dl_important_hwcaps): Moved to ...
14142 * elf/dl-hwcaps.c: Here. New file.
14143 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14146 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14147 if IS_IN_rtld isn't defined.
14149 * elf/dl-support.c (_dl_sysinfo_map): New.
14150 Include "get-dynamic-info.h" and "setup-vdso.h".
14151 (_dl_non_dynamic_init): Call setup_vdso.
14152 * elf/dynamic-link.h: Don't include <assert.h>.
14153 (elf_get_dynamic_info): Moved to ...
14154 * elf/get-dynamic-info.h: Here. New file.
14155 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14156 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14157 * elf/setup-vdso.h: Here. New file.
14158 * elf/rtld.c: Include "setup-vdso.h".
14159 (dl_main): Call setup_vdso.
14161 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14163 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14164 creal in comment listing functions tested. List finite, isinf,
14165 isnan, isless, islessequal, isgreater, isgreaterequal,
14166 islessgreater, isunordered, lgamma_r and pow10 as functions and
14167 macros not tested. Mention which functions not tested are aliases
14168 for other functions. Fix typo. Note that signs of NaNs are not
14171 * scripts/config.guess: Update from config.git.
14172 * scripts/config.sub: Likewise.
14174 2012-10-04 Roland McGrath <roland@hack.frob.com>
14176 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14177 * misc/madvise.c (madvise): Renamed to __madvise.
14178 Make madvise a weak alias.
14179 * include/sys/mman.h: Declare __madvise.
14180 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14181 * sysdeps/unix/syscalls.list
14182 (madvise): Make __madvise the strong name, and madvise a weak alias.
14183 * sysdeps/unix/sysv/linux/syscalls.list
14184 (madvise, mmap): Remove redundant entries.
14185 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14186 * malloc/malloc.c (mtrim): Likewise.
14187 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14189 2012-10-03 Roland McGrath <roland@hack.frob.com>
14191 * sysdeps/mach/hurd/dl-cache.c: File removed.
14192 * config.h.in (USE_LDCONFIG): New #undef.
14193 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14194 * configure: Regenerated.
14195 * elf/Makefile (dl-routines): Add dl-cache only under
14196 [$(use-ldconfig) = yes].
14197 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14198 cache on [USE_LDCONFIG].
14199 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14201 * elf/rtld.c (dl_main): Likewise.
14203 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14205 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14206 _SC_LEVEL4_CACHE_LINESIZE.
14208 2012-10-03 Roland McGrath <roland@hack.frob.com>
14210 * sysdeps/unix/bsd/confstr.h: File removed.
14212 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14214 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14217 2012-10-02 Roland McGrath <roland@hack.frob.com>
14219 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14220 Make 'mapoff' field ElfW(Off) rather than off_t.
14222 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14224 * nscd/Makefile: Remove nscd-cflags and all its users.
14225 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14226 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14229 * malloc.c (malloc_printerr): Clarify error message.
14231 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14235 Set bit_FMA_Usable if FMA is supported.
14236 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14238 (bit_FMA4_Usable): Updated.
14239 (index_FMA_Usable): New macro.
14240 (CPUID_FMA): Likewise
14241 (HAS_FMA): Defined with bit_FMA_Usable.
14243 2012-10-01 Roland McGrath <roland@hack.frob.com>
14245 * bits/types.h (__swblk_t): Type removed.
14246 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14247 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14249 (__SWBLK_T_TYPE): Likewise.
14250 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14251 (__SWBLK_T_TYPE): Likewise.
14252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14253 (__SWBLK_T_TYPE): Likewise.
14254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14255 (__SWBLK_T_TYPE): Likewise.
14257 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14258 Honza Horak <hhorak@redhat.com>
14260 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14261 (xdr_mapname): Use YPMAXMAP as maxsize.
14262 (xdr_peername): Use YPMAXPEER as maxsize.
14263 (xdr_keydat): Use YPAXRECORD as maxsize.
14264 (xdr_valdat): Use YPMAXRECORD as maxsize.
14266 2012-10-01 Roland McGrath <roland@hack.frob.com>
14268 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14270 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14271 * csu/init-first.c: ... here.
14272 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14273 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14274 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14276 * sysdeps/i386/init-first.c: File removed.
14277 * sysdeps/sh/init-first.c: File removed.
14279 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14283 if x * y might underflow to zero and z is zero.
14284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14286 * math/libm-test.inc (min_subnorm_value): New variable.
14287 (fma_test): Add more tests.
14288 (fma_test_towardzero): Likewise.
14289 (fma_test_downward): Likewise
14290 (fma_test_upward): Likewise.
14291 (initialize): Set min_subnorm_value.
14293 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14299 mode for addition resulting in exact zero.
14300 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14303 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14305 * math/libm-test.inc (fma_test): Add more tests.
14306 (fma_test_towardzero): New function.
14307 (fma_test_downward): Likewise.
14308 (fma_test_upward): Likewise.
14309 (main): Call the new functions.
14311 2012-09-28 David S. Miller <davem@davemloft.net>
14313 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14315 2012-09-28 Roland McGrath <roland@hack.frob.com>
14317 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14318 instead of SIGALRM.
14320 * sysdeps/gnu/_G_config.h: Moved to ...
14321 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14322 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14323 * sysdeps/generic/_G_config.h: ... here.
14325 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14327 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14329 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14330 Conditionalize target on [libnss_test1.so-version].
14332 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14334 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14335 (elfobjdir): Move out of conditionals.
14337 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14338 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14339 (__nss_lookup_function): Conditionalize label remove_from_tree on
14340 [!DO_STATIC_NSS || SHARED], matching its only use.
14342 2012-09-28 David S. Miller <davem@davemloft.net>
14344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14347 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14349 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14351 when HWCAP_SPARC_CRYPTO is present.
14353 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14355 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14357 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14360 * stdio-common/vfprintf.c (process_string_arg): Revert
14363 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14365 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14367 * stdio-common/tst-sprintf.c: Include <locale.h>
14368 (main): Test sprintf's handling of incomplete multibyte
14371 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14373 * elf/dl-runtime.c (VERSYMIDX): Removed.
14374 * elf/dl-version.c (VERSYMIDX): Likewise.
14375 * elf/do-rel.h (VERSYMIDX): Likewise.
14376 (VALIDX): Likewise.
14377 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14378 * elf/rtld.c (VALIDX): Likewise.
14379 (ADDRIDX): Likewise.
14380 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14381 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14382 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14383 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14384 (VALIDX): Likewise.
14385 (ADDRIDX): Likewise.
14387 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14389 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14391 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14394 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14396 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14397 addresses are in the same scope as 192.0.2/24.
14398 * posix/gai.conf: Document new scope table defaults.
14400 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14403 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14404 for ftell. Compute offsets from write pointers instead.
14405 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14407 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14410 * libio/Makefile (tests): New test case tst-fseek.
14411 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14412 combination works in wide mode.
14413 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14414 state when the external buffer state changes.
14416 2012-09-27 David S. Miller <davem@davemloft.net>
14419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14420 pass reloc->r_addend in as the 'high' argument to
14421 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14425 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14427 * rt/tst-aio2.c: Include <pthread.h>.
14428 * rt/tst-aio3.c: Likewise.
14430 2012-09-27 Steve Ellcey <sellcey@mips.com>
14432 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14434 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14436 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14437 contents on [SHARED].
14439 2012-09-26 Marek Polacek <polacek@redhat.com>
14443 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14444 for C++ and GCC <4.3 as well as for non GCC compilers.
14446 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14450 2012-09-25 Roland McGrath <roland@hack.frob.com>
14452 * Makefile.in (all, install): Declare with .PHONY.
14453 Reported by Michael Hope <michael.hope@linaro.org>.
14455 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14457 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14458 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14460 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14462 (sydep_routines): Add the new and the internal functions.
14463 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14464 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14466 (GLIBC_2.17): Add the new function.
14467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14468 (GLIBC_2.17): Likewise.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14470 (GLIBC_2.17): Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14472 (GLIBC_2.17): Likewise.
14473 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14475 2012-09-25 Alan Modra <amodra@gmail.com>
14477 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14478 Add release barrier before setting once_control to say
14479 initialisation is done. Add hints on lwarx. Use macro in
14481 (clear_once_control): Add release barrier.
14483 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14486 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14488 * math/s_clog10.c (__clog10): Likewise.
14489 * math/s_clog10f.c (__clog10f): Likewise.
14490 * math/s_clog10l.c (__clog10l): Likewise.
14491 * math/s_clogf.c (__clogf): Likewise.
14492 * math/s_clogl.c (__clogl): Likewise.
14493 * math/Makefile (libm-calls): Add x2y2m1.
14494 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14495 (__x2y2m1): Likewise.
14496 (__x2y2m1l): Likewise.
14497 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14498 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14501 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14502 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14503 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14504 * sysdeps/i386/fpu/libm-test-ulps: Update.
14505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14508 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14509 int as type of variable DEPTH.
14510 (glob): Use size_t instead of int as type of variables NEWCOUNT
14513 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14515 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14516 Add s_sincosf-sse2.
14517 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14518 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14519 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14520 macros for using routine as __sincosf_ia32.
14521 Use macro for function declaration and weak_alias.
14522 * sysdeps/i386/fpu/libm-test-ulps: Update.
14524 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14527 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14528 subnormal argument.
14529 * math/s_cexpf.c (__cexpf): Likewise.
14530 * math/s_csinf.c (__csinf): Likewise.
14531 * math/s_csinhf.c (__csinhf): Likewise.
14532 * math/s_ctanf.c (__ctanf): Likewise.
14533 * math/s_ctanhf.c (__ctanhf): Likewise.
14534 * math/s_ccosh.c (__ccoshf): Likewise.
14535 * math/s_cexp.c (__cexpl): Likewise.
14536 * math/s_csin.c (__csin): Likewise.
14537 * math/s_csinh.c (__csinh): Likewise.
14538 * math/s_ctan.c (__ctan): Likewise.
14539 * math/s_ctanh.c (ctanh): Likewise.
14540 * math/s_ccoshl.c (__ccoshl): Likewise.
14541 * math/s_cexpl.c (__cexpl): Likewise.
14542 * math/s_csinl.c (__csinl): Likewise.
14543 * math/s_csinhl.c (__csinhl): Likewise.
14544 * math/s_ctanl.c (__ctanl): Likewise.
14545 * math/s_ctanhl.c (__ctanhl): Likewise.
14547 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14549 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14550 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14551 (_IO_off_t): Define to __off_t, not _G_off_t.
14552 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14553 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14554 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14555 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14556 type of __dummy and __dummy2 fields.
14557 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14558 (_G_ssize_t): Likewise.
14559 (_G_off_t): Likewise.
14560 (_G_pid_t): Likewise.
14561 (_G_uid_t): Likewise.
14562 (_G_wchar_t): Likewise.
14563 (_G_wint_t): Likewise.
14564 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14565 (_G_ssize_t): Likewise.
14566 (_G_off_t): Likewise.
14567 (_G_pid_t): Likewise.
14568 (_G_uid_t): Likewise.
14569 (_G_wchar_t): Likewise.
14570 (_G_wint_t): Likewise.
14571 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14572 (_G_ssize_t): Likewise.
14573 (_G_off_t): Likewise.
14574 (_G_pid_t): Likewise.
14575 (_G_uid_t): Likewise.
14576 (_G_wchar_t): Likewise.
14577 (_G_wint_t): Likewise.
14579 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14581 * malloc/arena.c: Include malloc-sysdep.h.
14582 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14583 is sufficient to shrink the heap or an unmap is needed.
14584 * sysdeps/generic/malloc-sysdep.h: New file. Define
14585 new function check_may_shrink_heap.
14586 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14587 new function check_may_shrink_heap.
14589 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14591 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14594 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14596 * catgets/test-gencat.sh: Add "set -e".
14597 * elf/tst-pathopt.sh: Likewise.
14598 * grp/tst_fgetgrent.sh: Likewise.
14599 * iconvdata/run-iconv-test.sh: Likewise.
14600 * intl/tst-gettext.sh: Likewise.
14601 * intl/tst-gettext2.sh: Likewise.
14602 * intl/tst-gettext4.sh: Likewise.
14603 * intl/tst-gettext6.sh: Likewise.
14604 * intl/tst-translit.sh: Likewise.
14605 * io/ftwtest-sh: Likewise.
14606 * libio/test-freopen.sh: Likewise.
14607 * malloc/tst-mtrace.sh: Likewise.
14608 * posix/globtest.sh: Likewise.
14609 * posix/tst-getconf.sh: Likewise.
14610 * posix/wordexp-tst.sh: Likewise.
14611 * stdio-common/tst-printf.sh: Likewise.
14612 * stdio-common/tst-unbputc.sh: Likewise.
14613 * stdlib/tst-fmtmsg.sh: Likewise.
14614 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14615 * catgets/Makefile: Do not specify -e option when running
14616 testsuite shell scripts.
14617 * elf/Makefile: Likewise.
14618 * grp/Makefile: Likewise.
14619 * iconvdata/Makefile: Likewise.
14620 * intl/Makefile: Likewise.
14621 * io/Makefile: Likewise.
14622 * libio/Makefile: Likewise.
14623 * malloc/Makefile: Likewise.
14624 * posix/Makefile: Likewise.
14625 * stdio-common/Makefile: Likewise.
14626 * stdlib/Makefile: Likewise.
14627 * sysdeps/x86_64/Makefile: Likewise.
14629 * io/ftwtest-sh: Add copyright header.
14630 * posix/globtest.sh: Likewise.
14631 * posix/tst-getconf.sh: Likewise.
14632 * posix/wordexp-tst.sh: Likewise.
14633 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14635 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14638 * Makeconfig (+link): Defined as $(+link-static) if
14639 $(build-shared) isn't yes.
14640 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14642 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14644 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14647 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14648 new chunk size with MALLOC_ALIGN_MASK.
14650 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14653 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14655 (__printf_fphex): Determine rounding using get_rounding_mode and
14657 * stdio-common/tst-printf-round.c (struct hex_test): New
14659 (hex_tests): New variable.
14660 (test_hex_in_one_mode): New function.
14661 (do_test): Also run tests for hex float output.
14663 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14665 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14666 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14667 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14668 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14669 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14670 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14671 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14672 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14674 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14676 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14677 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14678 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14679 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14681 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14684 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14686 * elf/tst-rtld-load-self.sh: New test.
14687 * elf/Makefile: Run it.
14689 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14691 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14692 (tst-writev-ENV): Remove.
14693 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14695 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14697 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14699 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14701 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14703 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14705 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14706 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14707 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14710 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14713 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14714 * config.make.in (have-cpp-asm-debuginfo): Removed.
14715 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14716 * configure: Regenerated.
14718 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14721 * stdio-common/printf_fp.c: Include <stdbool.h> and
14723 (___printf_fp): Determine rounding using get_rounding_mode and
14725 * stdio-common/tst-printf-round.c: New file.
14726 * stdio-common/Makefile (tests): Add tst-printf-round.
14727 (link-libm): New variable.
14728 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14730 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14733 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14734 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14736 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14739 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14741 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14742 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14743 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14744 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14746 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14749 * include/rounding-mode.h: New file.
14750 * sysdeps/generic/get-rounding-mode.h: Likewise.
14751 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14752 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14753 (MAX_VALUE): New macro.
14754 (MIN_VALUE): Likewise.
14755 (overflow_value): New function.
14756 (underflow_value): Likewise.
14757 (round_and_return): Use overflow_value and underflow_value to
14758 determine return values in overflow and underflow cases. Use
14759 round_away to determine rounding depending on rounding mode.
14760 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14761 determine return values in overflow and underflow cases.
14762 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14763 (struct test_results): New structure.
14764 (struct test): Use struct test_results to store expected results
14765 for all rounding modes.
14766 (TEST): Include expected results for all rounding modes.
14767 (test_in_one_mode): New function.
14768 (do_test): Use test_in_one_mode to compute and check results.
14769 Check results for all rounding modes.
14770 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14773 2012-12-09 Allan McRae <allan@archlinux.org>
14775 * sysdeps/i386/fpu/libm-test-ulps: Update
14777 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14779 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14780 (_G_int32_t): Likewise.
14781 (_G_uint16_t): Likewise.
14782 (_G_uint32_t): Likewise.
14783 (_G_HAVE_BOOL): Likewise.
14784 (_G_HAVE_ATEXIT): Likewise.
14785 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14786 (_G_HAVE_IO_FILE_OPEN): Likewise.
14787 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14788 (_G_int32_t): Likewise.
14789 (_G_uint16_t): Likewise.
14790 (_G_uint32_t): Likewise.
14791 (_G_HAVE_BOOL): Likewise.
14792 (_G_HAVE_ATEXIT): Likewise.
14793 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14794 (_G_HAVE_IO_FILE_OPEN): Likewise.
14795 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14796 (_G_int32_t): Likewise.
14797 (_G_uint16_t): Likewise.
14798 (_G_uint32_t): Likewise.
14799 (_G_HAVE_BOOL): Likewise.
14800 (_G_HAVE_ATEXIT): Likewise.
14801 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14802 (_G_HAVE_IO_FILE_OPEN): Likewise.
14804 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14806 * csu/libc-tls.c: Update copyright years.
14808 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14810 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14811 [!_G_USING_THUNKS]: Remove conditional code.
14812 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14813 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14815 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14816 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14817 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14818 (_G_VTABLE_LABEL_PREFIX): Likewise.
14819 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14820 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14821 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14822 (_G_VTABLE_LABEL_PREFIX): Likewise.
14823 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14824 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14825 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14826 (_G_VTABLE_LABEL_PREFIX): Likewise.
14827 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14829 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14831 * libio/Makefile: Include ../Makeconfig before tests.
14832 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14833 only if $(build-shared) is yes.
14835 * iconv/gconv_db.c: Update copyright years.
14837 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14839 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14840 unwind info if defined PIC. Fix special cases description.
14841 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14843 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14845 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14847 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14849 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14851 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14854 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14855 (LDLIBS-tst-chk4): This.
14856 (LDFLAGS-tst-chk5): Renamed to ...
14857 (LDLIBS-tst-chk5): This.
14858 (LDFLAGS-tst-chk6): Renamed to ...
14859 (LDLIBS-tst-chk6): This.
14860 (LDFLAGS-tst-lfschk4): Renamed to ...
14861 (LDLIBS-tst-lfschk4): This.
14862 (LDFLAGS-tst-lfschk5): Renamed to ...
14863 (LDLIBS-tst-lfschk5): This.
14864 (LDFLAGS-tst-lfschk6): Renamed to ...
14865 (LDLIBS-tst-lfschk6): This.
14867 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14868 on $(common-objpfx)soversions.mk.
14870 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14873 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14876 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14878 * malloc/arena.c (arena_get_retry): New function that gets
14879 another arena for the caller to try its request on.
14880 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14881 current arena cannot fulfill the request.
14882 (__libc_memalign): Likewise.
14883 (__libc_memalign): Likewise.
14884 (__libc_pvalloc): Likewise.
14885 (__libc_calloc): Likewise.
14887 2012-09-05 John Tobey <john.tobey@gmail.com>
14890 * manual/arith.texi (Operations on Complex): Fix description
14891 of carg branch cut.
14893 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14896 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14900 * manual/memory.texi (Memory): Make order of menu items match
14903 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14905 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14906 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14907 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14909 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14911 * csu/libc-tls.c (static_dtv): Renamed to ...
14912 (_dl_static_dtv): This. Make it global.
14913 (_dl_initial_dtv): Removed.
14914 (__libc_setup_tls): Updated.
14915 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14916 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14919 2012-09-06 Petr Machata <pmachata@redhat.com>
14921 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14922 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14923 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14924 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14926 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14929 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14930 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14933 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14936 * Makeconfig (link-static-before-libc): Replace $(+prector)
14938 (link-static-after-libc): Replace $(+postctor) with
14940 (link-bounded): Replace $(+prector)/$(+postctor) with
14941 $(+prectorT)/$(+postctorT).
14942 (+prectorT): New macro.
14943 (+postctorT): Likewise.
14945 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14947 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14948 (round_str): Handle values above the maximum for IBM long double
14950 * stdlib/tst-strtod-round.c (tests): Regenerated.
14952 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14954 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14956 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14957 zarch_nohighgprs around the zarch optimized routines.
14958 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14959 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14960 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14963 2012-09-05 David S. Miller <davem@davemloft.net>
14965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14967 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14968 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14969 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14970 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14973 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14975 * malloc/arena.c: Fold copyright years.
14976 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14978 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14980 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14982 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14984 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14986 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14988 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14989 change internal state upon failure.
14991 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14993 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14994 * malloc/memusage.c (mmap): Likewise.
14995 (mmap64, mremap): Likewise. Adjust name in comment.
14997 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14999 * libio/fileops.c: Fix typos in comments.
15000 * libio/oldfileops.c: Likewise.
15001 * libio/wfileops.c: Likewise.
15003 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15006 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15007 (tst-malloc-usable-ENV): Set environment for test case.
15008 * malloc/hooks.c (malloc_check_get_size): New function to get
15010 * malloc/malloc.c (musable): Use malloc_check_get_size.
15011 * malloc/tst-malloc-usable.c: New test case.
15013 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15015 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15017 2012-09-05 Allan McRae <allan@archlinux.org>
15020 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15021 determine header location.
15022 * configure: Regenerated.
15024 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15026 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15028 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15029 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15031 (test): Regenerate.
15033 2012-09-04 David S. Miller <davem@davemloft.net>
15035 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15036 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15037 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15039 2012-09-04 Florian Weimer <fweimer@redhat.com>
15041 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15044 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15046 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15049 * libio/iogetdelim.c: Include <limits.h>.
15050 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15051 + len + 1 would overflow.
15053 2012-09-03 Andreas Jaeger <aj@suse.de>
15055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15056 * sysdeps/i386/fpu/libm-test-ulps: Update.
15058 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15060 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15061 Add s_sinf-sse2, s_conf-sse2.
15063 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15064 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15065 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15066 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15068 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15069 for using routine as __sinf_ia32.
15070 Use macro for function declaration and weak_alias.
15071 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15072 for using routine as __cosf_ia32.
15073 Use macro for function declaration and weak_alias.
15075 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15076 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15078 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15079 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15082 * math/libm-test.inc (cos_test): Add more test cases.
15083 (sin_test): Likewise.
15084 (sincos_test): Likewise.
15086 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15089 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15091 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15093 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15096 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15097 first element of the GOT.
15098 (elf_machine_load_address): Return the difference between
15099 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15101 2012-09-01 Allan McRae <allan@archlinux.org>
15104 * configure.in (AWK): Require gawk version 3.0 or later.
15105 * configure: Regenerated.
15107 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15109 * sysdeps/unix/sysv/linux/kernel-features.h
15110 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15111 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15112 [__NR_clock_getres]: Make code unconditional.
15113 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15114 (clock_getcpuclockid): Remove code left unreachable by removal of
15116 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15117 code unconditional.
15118 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15119 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15120 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15121 Make code unconditional.
15122 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15123 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15124 * sysdeps/unix/sysv/linux/clock_settime.c
15125 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15127 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15128 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15130 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15133 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15134 scripts/test-installation.pl.
15136 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15137 and $ld_so_version if it is set.
15139 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15142 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15143 failure if reading from procfs failed.
15144 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15146 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15148 * sysdeps/unix/sysv/linux/kernel-features.h
15149 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15150 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15151 Remove conditional code.
15152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15153 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15154 Remove conditional code.
15155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15156 * sysdeps/unix/sysv/linux/i386/fxstat.c
15157 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15159 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15160 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15162 * sysdeps/unix/sysv/linux/i386/lxstat.c
15163 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15165 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15166 Remove conditional code.
15167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15168 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15169 Remove conditional code.
15170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15171 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15172 <kernel-features.h>.
15173 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15175 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15176 Remove conditional code.
15177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15178 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15179 Remove conditional.
15181 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15184 * NEWS: Add fixed bug number.
15186 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15189 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15190 underflowing exponent in case of negative sign.
15191 * stdlib/tst-strtod-round-data: Add more tests.
15192 * stdlib/tst-strtod-round.c (tests): Regenerated.
15195 * stdlib/strtod_l.c (NDIG): Remove.
15196 (HEXNDIG): Likewise.
15197 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15198 smallest representable value.
15199 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15200 lie within an exact representation of 1/2 ulp of the result.
15201 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15203 (TENS_P9_IDX): Define unconditionally.
15204 (TENS_P9_SIZE): Likewise.
15205 (TENS_P10_IDX): Likewise.
15206 (TENS_P10_SIZE): Likewise.
15207 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15208 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15209 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15210 entries for 10^2^13 and 10^2^14.
15211 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15212 (TENS_P13_IDX): Define.
15213 (TENS_P13_SIZE): Likewise.
15214 (TENS_P14_IDX): Likewise.
15215 (TENS_P14_SIZE): Likewise.
15216 (_fpioconst_pow10): Change array size to
15217 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15219 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15220 1024]: Add entries for 10^2^13 and 10^2^14.
15221 [LAST_POW10 > _LAST_POW10]: Remove #error.
15222 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15223 (_fpioconst_pow10): Change array size to
15224 FPIOCONST_POW10_ARRAY_SIZE.
15225 * stdlib/gen-fpioconst.c: New file.
15226 * stdlib/gen-tst-strtod-round.c: Likewise.
15227 * stdlib/tst-strtod-round-data: Likewise.
15228 * stdlib/tst-strtod-round.c: Likewise.
15229 * stdlib/Makefile (tests): Add tst-strtod-round.
15232 * stdlib/strtod_l.c: Include <stdint.h>.
15233 (NDEBUG): Do not define.
15234 (round_and_return): Change EXPONENT parameter to type intmax_t.
15235 Rearrange calculations to avoid internal overflow possibilities.
15236 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15237 Rearrange calculations to avoid internal overflow possibilities.
15238 Assert that number fits inside MPNSIZE limbs.
15239 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15240 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15241 calculations and add assertions to avoid internal overflow
15242 possibilities. Add casts to avoid signed/unsigned operations.
15243 * stdlib/tst-strtod-overflow.c: New file.
15244 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15246 2012-08-25 Marek Polacek <polacek@redhat.com>
15248 * time/time.h: Fix some typos in comments.
15250 2012-08-23 Roland McGrath <roland@hack.frob.com>
15252 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15253 * posix/tst-rfc3484-2.c: Likewise.
15254 * posix/tst-rfc3484-3.c: Likewise.
15256 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15258 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15259 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15261 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15263 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15264 #include of fxstatat64.c.
15266 2012-08-22 Roland McGrath <roland@hack.frob.com>
15268 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15269 * shadow/getspent_r.c: Likewise.
15270 * shadow/getspnam.c: Likewise.
15271 * shadow/getspnam_r.c: Likewise.
15272 * gshadow/getsgent.c: Likewise.
15273 * gshadow/getsgent_r.c: Likewise.
15274 * gshadow/getsgnam.c: Likewise.
15275 * gshadow/getsgnam_r.c: Likewise.
15276 * inet/getnetbyad.c: Likewise.
15277 * inet/getnetbyad_r.c: Likewise.
15278 * inet/getnetbynm.c: Likewise.
15279 * inet/getnetbynm_r.c: Likewise.
15280 * inet/getnetent.c: Likewise.
15281 * inet/getnetent_r.c: Likewise.
15282 * inet/getproto.c: Likewise.
15283 * inet/getproto_r.c: Likewise.
15284 * inet/getprtent.c: Likewise.
15285 * inet/getprtent_r.c: Likewise.
15286 * inet/getprtname.c: Likewise.
15287 * inet/getprtname_r.c: Likewise.
15288 * inet/getrpcbyname.c: Likewise.
15289 * inet/getrpcbyname_r.c: Likewise.
15290 * inet/getrpcbynumber.c: Likewise.
15291 * inet/getrpcbynumber_r.c: Likewise.
15292 * inet/getrpcent.c: Likewise.
15293 * inet/getrpcent_r.c: Likewise.
15294 * inet/getaliasent.c: Likewise.
15295 * inet/getaliasent_r.c: Likewise.
15296 * inet/getaliasname.c: Likewise.
15297 * inet/getaliasname_r.c: Likewise.
15298 * nscd/getgrgid_r.c: Likewise.
15299 * nscd/getgrnam_r.c: Likewise.
15300 * nscd/gethstbyad_r.c: Likewise.
15301 * nscd/gethstbynm3_r.c: Likewise.
15302 * nscd/getpwnam_r.c: Likewise.
15303 * nscd/getpwuid_r.c: Likewise.
15304 * nscd/getsrvbynm_r.c: Likewise.
15305 * nscd/getsrvbypt_r.c: Likewise.
15306 * nscd/gai.c: Likewise.
15308 * configure.in (build_nscd): New substituted variable, set
15309 by --disable-build-nscd and defaults to $use_nscd.
15310 * configure: Regenerated.
15311 * config.make.in (build-nscd): New substituted variable.
15312 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15313 Change conditional to require [$(build-nscd) = yes] as well.
15314 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15317 * configure.in (use_nscd): New substituted variable, set by
15318 --disable-nscd. If enabled, define USE_NSCD.
15319 * configure: Regenerated.
15320 * config.h.in: Add USE_NSCD.
15321 * config.make.in (use-nscd): New substituted variable.
15322 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15323 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15324 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15325 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15326 (CFLAGS-getgrnam_r.c): Likewise.
15327 (CFLAGS-initgroups.c): Likewise.
15328 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15329 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15331 * inet/getnetgrent_r.c
15332 (nscd_setnetgrent): New function, broken out of ...
15333 (setnetgrent): ... here. Call it.
15334 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15335 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15336 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15337 * nscd/Makefile (routines, aux): Move definitions after include of
15338 Makeconfig. Conditionalize on [$(use-nscd) != no].
15339 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15340 Conditionalize on [USE_NSCD].
15341 (is_nscd, nscd_init_cb): Likewise.
15342 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15343 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15344 * nss/nss_db/db-init.c: Likewise.
15345 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15347 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15348 (make_request): Use it.
15349 (cache_valid_p): New function.
15350 (__check_pf): Use it.
15351 * NEWS: Add item for --disable-nscd.
15353 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15355 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15356 to support sed >= 4.2.1-20-ga9bf076.
15357 * configure: Regenerated.
15359 2012-08-22 Roland McGrath <roland@hack.frob.com>
15361 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15362 Conditionalize whole body on [IREL].
15364 2012-08-22 Jeff Law <law@redhat.com>
15367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15368 if the family is PF_UNSPEC.
15370 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15372 * Makerules (lib-version): Rename from V.
15373 (install-lib-nosubdir): Change V to lib-version.
15375 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15378 * powerpc32/power6/wcschr.c: New file.
15379 * powerpc32/power6/wcscpy.c: New file.
15380 * powerpc32/power6/wcsrchr.c: New file.
15381 * powerpc64/power6/wcschr.c: New file.
15382 * powerpc64/power6/wcscpy.c: New file.
15383 * powerpc64/power6/wcsrchr.c: New file.
15385 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15387 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15388 (two_way_short_needle): Use it.
15389 * string/strstr.c (AVAILABLE1_USES_J): Define.
15390 * string/strcasestr.c: Likewise.
15392 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15394 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15397 * NEWS: Add an entry.
15398 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15399 define their defaults.
15400 (two_way_short_needle): Detect end-of-string on-the-fly.
15401 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15402 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15403 * string/bug-strcasestr1.c: New test.
15404 * string/Makefile: Run it.
15406 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15409 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15410 the first character.
15412 2012-08-21 Roland McGrath <roland@hack.frob.com>
15414 * csu/elf-init.c (__libc_csu_irel): Function removed.
15415 * csu/libc-start.c (apply_irel): New function.
15416 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15418 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15420 * sysdeps/unix/sysv/linux/kernel-features.h
15421 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15422 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15423 <kernel-features.h>.
15424 [__NR_fadvise64_64]: Make code unconditional.
15425 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15426 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15427 !__NR_fadvise64_64)]: Likewise.
15428 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15429 !__NR_fadvise64_64))]: Likewise.
15430 [__NR_fadvise64]: Make code unconditional.
15431 [!__NR_fadvise64]: Remove conditional code.
15432 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15433 <kernel-features.h>.
15434 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15436 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15439 not include <kernel-features.h>.
15440 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15442 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15444 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15445 include <kernel-features.h>.
15446 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15448 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15451 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15453 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15454 slight instruction rearrangements per scrollpipe analysis.
15455 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15457 2012-08-20 Roland McGrath <roland@hack.frob.com>
15459 * manual/syslog.texi (syslog; vsyslog, closelog):
15460 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15461 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15463 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15464 DSOCAPS to match condition on defining it.
15466 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15468 * sysdeps/unix/sysv/linux/kernel-features.h
15469 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15471 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15472 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15474 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15475 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15477 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15478 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15480 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15481 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15483 * sysdeps/unix/sysv/linux/kernel-features.h
15484 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15485 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15487 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15488 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15489 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15490 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15491 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15492 Make code unconditional.
15493 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15494 (__mmap64) [!__NR_mmap2]: Likewise.
15495 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15496 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15497 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15498 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15499 [__NR_mmap2]: Make code unconditional.
15500 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15501 (__mmap64) [!__NR_mmap2]: Likewise.
15503 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15505 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15507 2012-08-18 Andreas Jaeger <aj@suse.de>
15509 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15511 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15513 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15514 * include/unistd.h (__have_sock_cloexec): Likewise.
15515 (__have_pipe2): Likewise.
15516 (__have_dup3): Likewise.
15518 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15521 * include/unistd.h (__have_pipe2): Change define into an extern int.
15522 (__have_dup3): Likewise.
15523 * socket/have_sock_cloexec.c: Include fcntl.h.
15524 (__have_pipe2): New variable.
15525 (__have_dup3): Likewise.
15527 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15529 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15531 2012-08-17 Marek Polacek <polacek@redhat.com>
15533 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15534 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15536 2012-08-17 Roland McGrath <roland@hack.frob.com>
15538 * configure.in: Add AC_SUBST for sysheaders.
15539 * configure: Regenerated.
15540 * config.make.in (sysheaders): New substituted variable.
15542 * sysdeps/unix/mkfifo.c: Moved ...
15543 * sysdeps/posix/mkfifo.c: ... here.
15544 * sysdeps/unix/mkfifoat.c: Moved ...
15545 * sysdeps/posix/mkfifoat.c: ... here.
15547 * sysdeps/unix/utime.c: Moved ...
15548 * sysdeps/posix/utime.c: ... here.
15550 * sysdeps/unix/time.c: Moved ...
15551 * sysdeps/posix/time.c: ... here.
15552 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15555 * sysdeps/unix/nice.c: Moved ...
15556 * sysdeps/posix/nice.c: ... here.
15558 * sysdeps/unix/alarm.c: Moved ...
15559 * sysdeps/posix/alarm.c: ... here.
15561 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15563 2012-08-17 Jeff Law <law@redhat.com>
15565 * intl/Makefile (codeset_mo): New variable.
15566 ($(codeset_mo)): New target.
15567 (tst-codeset.out): Depend on that. Remove explicit rule.
15568 (tst-gettext3.out, tst-gettext5.out): Likewise.
15569 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15570 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15571 * intl/tst-codeset.sh: Remove.
15572 * intl/tst-gettext3.sh: Likewise.
15573 * intl/tst-gettext5.sh: Likewise.
15575 2012-08-17 Roland McGrath <roland@hack.frob.com>
15577 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15578 * sysdeps/unix/syscalls.list: ... here.
15580 * sysdeps/posix/getaddrinfo.c
15581 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15582 (gaiconf_init, gaiconf_reload): Use them.
15583 [!_STATBUF_ST_NSEC]
15584 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15585 Define using time_t rather than struct timespec.
15587 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15588 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15590 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15592 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15593 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15596 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15597 __libc_cleanup_push argument.
15599 * bits/param.h: New file.
15600 * misc/sys/param.h: New file.
15601 * include/sys/param.h: New file.
15602 * misc/Makefile (headers): Add bits/param.h.
15603 * sysdeps/generic/sys/param.h: File removed.
15604 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15605 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15606 * sysdeps/mach/hurd/bits/param.h: New file.
15607 * sysdeps/mach/hurd/sys/param.h: File removed.
15609 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15612 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15614 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15615 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15618 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15619 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15620 rather than -D_IO_MTSAFE_IO conditionally.
15621 * stdio-common/Makefile (CPPFLAGS): Likewise.
15622 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15623 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15624 Use $(libio-mtsafe).
15625 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15626 of -D_IO_MTSAFE_IO.
15627 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15628 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15629 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15630 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15631 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15632 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15633 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15634 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15635 (CFLAGS-fread_u_chk.c): Likewise.
15636 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15637 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15638 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15639 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15640 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15641 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15642 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15643 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15644 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15646 * libio/Makefile: Test [$(libc-reentrant) = yes]
15647 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15650 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15651 * sysdeps/pthread/configure: File removed.
15652 * sysdeps/pthread/Makeconfig: New file.
15653 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15654 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15656 2012-08-16 Gary Benson <gbenson@redhat.com>
15658 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15659 unmapping the first object in a namespace.
15661 2012-08-16 Roland McGrath <roland@hack.frob.com>
15663 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15664 (__internal_setnetgrent): ... this. Add internal_function to
15665 definition. Add libc_hidden_def.
15666 (setnetgrent): Update caller.
15667 (internal_endnetgrent): Renamed to ...
15668 (__internal_endnetgrent): ... this. Add internal_function to
15669 definition. Add libc_hidden_def.
15670 (endnetgrent): Update caller.
15671 (internal_getnetgrent_r): Renamed to ...
15672 (__internal_getnetgrent_r): ... this. Add internal_function to
15673 definition. Add libc_hidden_def.
15674 (__getnetgrent_r): Update caller.
15675 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15677 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15679 * stdlib/longlong.h: Update from GCC.
15681 2012-08-16 Roland McGrath <roland@hack.frob.com>
15683 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15684 on _QL, which is set by umul_ppmm but never used.
15685 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15686 variables, which are set by GMP macros but never used.
15687 * stdio-common/_itowa.c (_itowa): Likewise.
15688 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15689 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15691 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15693 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15694 struct La_sh_regs is not constant.
15695 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15696 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15697 and struct La_sparc64_regs are not constant.
15699 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15701 * sysdeps/unix/sysv/linux/kernel-features.h
15702 (__ASSUME_POSIX_TIMERS): Remove.
15703 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15705 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15706 Make code unconditional.
15707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15708 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15709 Make code unconditional.
15710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15711 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15712 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15713 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15714 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15715 Make code unconditional.
15716 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15717 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15718 (__libc_missing_posix_timers): Remove.
15720 2012-08-15 Roland McGrath <roland@hack.frob.com>
15722 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15723 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15725 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15727 * elf/dl-sym.c: Include <stdlib.h>.
15729 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15730 constants, which avoids warnings in 32-bit builds.
15732 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15733 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15735 * misc/lseek.c: File moved to ...
15736 * io/lseek.c: ... here.
15738 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15740 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15741 shifting LEN more than 31 bits at once.
15743 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15746 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15747 segmentation fault for a case of two empty input strings.
15748 * string/test-strncasecmp.c (check1): Renamed to...
15749 (bz12205): ...this.
15750 (bz14195): Add new testcase for two empty input strings and N > 0.
15751 (test_main): Call new testcase, adapt for renamed function.
15753 2012-08-15 Andreas Jaeger <aj@suse.de>
15756 * crypt/md5test2.c: New test, based on test supplied by Serge
15757 Belyshev <belyshev@depni.sinp.msu.ru>.
15758 * crypt/Makefile (xtests): Add md5test-giant..
15759 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15761 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15764 * crypt/md5.c (md5_process_block): Don't assume the buffer
15765 length is less than 2**32.
15766 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15767 length is less than 2**64.
15769 2012-08-15 Roland McGrath <roland@hack.frob.com>
15771 * string/str-two-way.h: Include <sys/param.h>.
15772 (MAX): Macro removed.
15774 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15775 Move #define and #undef of memmove to just before and after
15776 including <string.h>.
15778 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15779 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15780 and after including <string.h>. Move declarations of
15781 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15782 to before #include "string/memmove.c".
15784 * include/dirent.h: Declare __getdirentries.
15786 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15787 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15789 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15791 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15792 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15793 * sysdeps/i386/configure: Regenerated.
15794 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15795 STABS_CURRENT_FILE, and STABS_FUN.
15796 (END): Remove call to STABS_FUN_END.
15797 (STABS_CURRENT_FILE1): Delete.
15798 (STABS_CURRENT_FILE): Likewise.
15799 (STABS_FUN): Likewise.
15800 (STABS_FUN_END): Likewise.
15801 (STABS_FUN2): Likewise.
15802 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15803 * sysdeps/x86_64/configure: Regenerated.
15805 2012-08-14 Roland McGrath <roland@hack.frob.com>
15807 * elf/dl-open.c: Include <atomic.h>.
15808 * elf/dl-lookup.c: Likewise.
15810 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15812 * sysdeps/unix/sysv/linux/kernel-features.h
15813 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15814 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15816 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15818 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15819 condition on __ASSUME_CLONE_THREAD_FLAGS.
15821 2012-08-14 Andreas Jaeger <aj@suse.de>
15823 * sysdeps/i386/fpu/libm-test-ulps: Update.
15825 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15827 * include/atomic.h (atomic_exchange_and_add): Split into ...
15828 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15831 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15835 2012-08-13 Jeff Law <law@redhat.com>
15837 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15838 null byte in the output string.
15840 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15842 * sysdeps/unix/sysv/linux/kernel-features.h
15843 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15844 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15845 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15846 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15847 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15848 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15849 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15851 2012-08-09 Jeff Law <law@redhat.com>
15854 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15855 When avoid_arena is set, don't retry in the that arena. Pick the
15856 next one, whatever it might be.
15857 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15858 (arena_lock): Pass in new parameter to arena_get2.
15859 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15861 (__libc_malloc): Unify retrying after main arena failure with
15862 __libc_memalign version.
15863 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15865 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15868 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15869 to __redirect_strstr.
15870 (__strstr_sse42): Use typeof __redirect_strstr.
15871 (__strstr_ia32): Likewise.
15872 (__libc_strstr): New prototype.
15873 (strstr): Renamed to ...
15874 (__libc_strstr): This.
15875 (strstr): New strong alias of __libc_strstr.
15876 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15877 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15880 (__libc_time): New prototype.
15881 (time_ifunc): Replace time with __libc_time.
15882 (time): New strong alias and hidden definition of __libc_time.
15883 (__GI_time): Remove strong alias.
15884 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15885 Include <stddef.h>.
15886 (memmove): Redefined to __redirect_memmove.
15887 (__memmove_sse2): Use typeof __redirect_memmove.
15888 (__memmove_ssse3): Likewise.
15889 (__memmove_ssse3_back): Likewise.
15890 (__libc_memmove): New prototype.
15891 (memmove): Renamed to ...
15892 (__libc_memmove): This.
15893 (memmove): New strong alias of __libc_memmove.
15895 2012-08-08 Mark Salter <msalter@redhat.com>
15898 (R_MN10300_TLS_GD): Define.
15899 (R_MN10300_TLS_LD): Likewise.
15900 (R_MN10300_TLS_LDO): Likewise.
15901 (R_MN10300_TLS_GOTIE): Likewise.
15902 (R_MN10300_TLS_IE): Likewise.
15903 (R_MN10300_TLS_LE): Likewise.
15904 (R_MN10300_TLS_DTPMOD): Likewise.
15905 (R_MN10300_TLS_DTPOFF): Likewise.
15906 (R_MN10300_TLS_TPOFF): Likewise.
15907 (R_MN10300_SYM_DIFF): Likewise.
15908 (R_MN10300_ALIGN): Likewise.
15909 (R_MN10300_NUM): Update.
15911 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15916 2012-08-08 Roland McGrath <roland@hack.frob.com>
15918 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15920 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15921 sysdeps/unix -> sysdeps/posix move.
15922 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15924 2012-08-07 Allan McRae <allan@archlinux.org>
15927 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15928 (SUNOS_CPP): Likewise.
15929 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15931 (open_input): Call CPP using execvp.
15933 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15935 * sysdeps/unix/sysv/linux/kernel-features.h
15936 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15937 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15938 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15939 (__ASSUME_WAITID_SYSCALL): Likewise.
15940 * sysdeps/unix/sysv/linux/dl-execstack.c
15941 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15942 code unconditional.
15943 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15945 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15946 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15947 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15949 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15951 [__ASSUME_WAITID_SYSCALL]: Likewise.
15952 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15954 2012-08-07 Roland McGrath <roland@hack.frob.com>
15956 * sysdeps/unix/closedir.c: Renamed to ...
15957 * sysdeps/posix/closedir.c: ... here.
15958 * sysdeps/unix/dirfd.c: Renamed to ...
15959 * sysdeps/posix/dirfd.c: ... here.
15960 * sysdeps/unix/dirstream.h: Renamed to ...
15961 * sysdeps/posix/dirstream.h: ... here.
15962 * sysdeps/unix/fdopendir.c: Renamed to ...
15963 * sysdeps/posix/fdopendir.c: ... here.
15964 * sysdeps/unix/opendir.c: Renamed to ...
15965 * sysdeps/posix/opendir.c: ... here.
15966 * sysdeps/unix/readdir.c: Renamed to ...
15967 * sysdeps/posix/readdir.c: ... here.
15968 * sysdeps/unix/readdir_r.c: Renamed to ...
15969 * sysdeps/posix/readdir_r.c: ... here.
15970 * sysdeps/unix/rewinddir.c: Renamed to ...
15971 * sysdeps/posix/rewinddir.c: ... here.
15972 * sysdeps/unix/seekdir.c: Renamed to ...
15973 * sysdeps/posix/seekdir.c: ... here.
15974 * sysdeps/unix/telldir.c: Renamed to ...
15975 * sysdeps/posix/telldir.c: ... here.
15976 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15977 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15978 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15979 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15981 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15982 * bits/fcntl.h: ... here.
15984 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15986 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15987 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15988 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15989 (struct flock): Move l_start, l_len to the beginning.
15990 Use __pid_t for l_pid.
15991 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15992 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15993 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15994 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15995 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15996 [__USE_LARGEFILE64] (struct flock64): New type.
15997 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15999 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16000 * bits/dirent.h: ... here.
16002 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16003 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16005 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16007 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16008 Change from 2.6.0 to 2.6.16.
16009 * sysdeps/unix/sysv/linux/configure: Regenerated.
16010 * sysdeps/unix/sysv/linux/kernel-features.h
16011 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16012 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16014 (__ASSUME_UTIMES): Likewise.
16015 (__ASSUME_CLONE_STOPPED): Remove.
16016 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16017 architectures, not kernel version.
16018 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16019 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16020 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16021 (__ASSUME_WAITID_SYSCALL): Likewise.
16022 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16023 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16024 * README: State 2.6.16 as minimum Linux kernel version. Do not
16025 refer to older versions.
16027 2012-08-06 Roland McGrath <roland@hack.frob.com>
16029 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16030 Define alphasort64 as an alias.
16031 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16032 Define versionsort64 as an alias.
16033 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16034 Define scandir64 as an alias.
16035 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16036 Define scandirat64 as an alias.
16037 * dirent/alphasort64.c (alphasort64):
16038 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16039 * dirent/versionsort64.c: Likewise.
16040 * dirent/scandir64.c: Likewise.
16041 * dirent/scandirat64.c: Likewise.
16042 * sysdeps/wordsize-64/alphasort.c: File removed.
16043 * sysdeps/wordsize-64/alphasort64.c: File removed.
16044 * sysdeps/wordsize-64/scandir.c: File removed.
16045 * sysdeps/wordsize-64/scandir64.c: File removed.
16046 * sysdeps/wordsize-64/scandirat.c: File removed.
16047 * sysdeps/wordsize-64/scandirat64.c: File removed.
16048 * sysdeps/wordsize-64/versionsort.c: File removed.
16049 * sysdeps/wordsize-64/versionsort64.c: File removed.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16059 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16061 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16063 [defined __arch64__ || defined __sparcv9]
16064 (__INO_T_MATCHES_INO64_T): New macro.
16065 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16066 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16067 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16068 * sysdeps/unix/sysv/linux/bits/dirent.h
16069 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16070 (_DIRENT_MATCHES_DIRENT64): New macro.
16072 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16073 Define lockf64 as an alias.
16074 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16075 Define fseeko64 as an alias.
16076 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16077 Define ftello64 as an alias.
16078 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16079 Define _IO_fgetpos64 and fgetpos64 as aliases.
16080 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16081 Define _IO_fsetpos64 and fsetpos64 as aliases.
16082 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16083 Conditionalize body on this.
16084 * libio/fseeko64.c: Likewise.
16085 * libio/ftello64.c: Likewise.
16086 * libio/iofgetpos64.c: Likewise.
16087 * libio/iofsetpos64.c: Likewise.
16088 * sysdeps/wordsize-64/lockf.c: File removed.
16089 * sysdeps/wordsize-64/lockf64.c: File removed.
16090 * sysdeps/wordsize-64/fseeko.c: File removed.
16091 * sysdeps/wordsize-64/fseeko64.c: File removed.
16092 * sysdeps/wordsize-64/ftello.c: File removed.
16093 * sysdeps/wordsize-64/ftello64.c: File removed.
16094 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16095 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16096 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16097 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16098 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16100 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16101 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16102 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16103 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16104 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16106 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16107 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16109 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16111 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16112 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16113 [defined __arch64__ || defined __sparcv9]
16114 (__OFF_T_MATCHES_OFF64_T): New macro.
16115 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16116 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16118 (__OFF_T_MATCHES_OFF64_T): New macro.
16120 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16122 * stdlib/secure-getenv.c (__secure_getenv): Replace
16123 GLIBC_2_16 with GLIBC_2_17.
16125 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16127 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16128 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16130 2012-08-03 David S. Miller <davem@davemloft.net>
16132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16134 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16138 (__ASSUME_CORRECT_SI_PID): Likewise.
16139 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16140 (__ASSUME_TMPFS_NAME): Likewise.
16141 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16142 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16143 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16144 (HAVE_AUX_SECURE): Make definition unconditional.
16145 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16146 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16148 2012-08-03 Roland McGrath <roland@hack.frob.com>
16150 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16151 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16152 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16153 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16154 __eloop_threshold instead of SYMLOOP_MAX.
16156 * sysdeps/generic/eloop-threshold.h: New file.
16157 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16159 * elf/chroot_canon.c (chroot_canon): Likewise.
16161 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16164 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16165 Change to 2.6.0 everywhere.
16166 * sysdeps/unix/sysv/linux/configure: Regenerated.
16167 * sysdeps/unix/sysv/linux/kernel-features.h
16168 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16169 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16171 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16172 (__ASSUME_FUTEX_REQUEUE): Remove.
16173 (__ASSUME_STATFS64): Define unconditionally.
16174 (__ASSUME_AT_SECURE): Likewise.
16175 (__ASSUME_CORRECT_SI_PID): Likewise.
16176 (__ASSUME_TGKILL): Define without depending on kernel version for
16178 (__ASSUME_UTIMES): Likewise.
16179 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16181 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16182 (__ASSUME_TMPFS_NAME): Likewise.
16183 * README: Update reference to Linux kernel versions.
16185 2012-08-02 Marek Polacek <polacek@redhat.com>
16188 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16189 libc_cv_asm_type_prefix with %.
16190 * configure: Regenerated.
16191 * include/libc-symbols.h: Remove comment about
16192 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16193 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16194 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16195 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16196 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16197 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16198 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16199 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16200 * elf/tst-unique2mod1.c: Likewise.
16201 * elf/tst-unique1mod2.c: Likewise.
16202 * elf/tst-unique1mod1.c: Likewise.
16203 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16204 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16205 Replace ASM_TYPE_DIRECTIVE with .type.
16206 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16207 * sysdeps/i386/sysdep.h: Likewise.
16208 * sysdeps/x86_64/sysdep.h: Likewise.
16209 * sysdeps/sh/sysdep.h: Likewise.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16211 Do not define ASM_TYPE_DIRECTIVE.
16212 * sysdeps/powerpc/sysdep.h: Likewise.
16213 * sysdeps/powerpc/powerpc32/sysdep.h:
16214 Replace ASM_TYPE_DIRECTIVE with .type.
16215 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16216 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16217 * sysdeps/i386/fpu/e_powf.S: Likewise.
16218 * sysdeps/i386/fpu/e_expl.S: Likewise.
16219 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16221 * sysdeps/i386/fpu/e_pow.S: Likewise.
16222 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16224 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16225 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16226 * sysdeps/i386/fpu/e_log2.S: Likewise.
16227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16229 * sysdeps/i386/fpu/e_powl.S: Likewise.
16230 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16231 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16232 * sysdeps/i386/fpu/e_logl.S: Likewise.
16233 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16234 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16235 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16236 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16237 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16238 * sysdeps/i386/fpu/e_log.S: Likewise.
16239 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16240 * sysdeps/i386/fpu/e_logf.S: Likewise.
16241 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16243 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16244 * sysdeps/i386/fpu/e_log10.S: Likewise.
16245 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16246 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16247 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16248 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16249 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16251 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16252 * sysdeps/i386/i686/strtok.S: Likewise.
16253 * sysdeps/i386/i386-mcount.S: Likewise.
16254 * sysdeps/i386/strtok.S: Likewise.
16255 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16256 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16257 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16258 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16259 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16260 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16261 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16262 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16263 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16264 * sysdeps/x86_64/_mcount.S: Likewise.
16265 * sysdeps/x86_64/strtok.S: Likewise.
16266 * sysdeps/sh/_mcount.S: Likewise.
16268 2012-08-01 Roland McGrath <roland@hack.frob.com>
16270 * libio/iofopen.c: Include <fcntl.h>.
16271 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16272 (_IO_fopen64, fopen64): Define as aliases.
16273 * libio/iofopen64.c: Include <fcntl.h>.
16274 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16275 Conditionalize body on this.
16276 * sysdeps/wordsize-64/iofopen.c: File removed.
16277 * sysdeps/wordsize-64/iofopen64.c: File removed.
16279 2012-08-01 Marek Polacek <polacek@redhat.com>
16281 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16282 Use dlfcn directly instead of a variable.
16283 (binfmt-subdir): Do not define.
16286 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16289 Remove all definitions.
16290 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16291 <kernel-features.h>.
16292 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16293 (miss_F_GETOWN_EX): Remove all definitions.
16294 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16296 [!__ASSUME_FCNTL64]: Remove conditional code.
16297 [__ASSUME_FCNTL64]: Make code unconditional.
16298 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16299 <kernel-features.h>.
16300 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16301 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16302 (lockf64) [__NR_fcntl64]: Make code unconditional.
16303 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16305 * sysdeps/unix/sysv/linux/kernel-features.h
16306 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16307 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16308 Make code unconditional.
16309 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16310 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16312 [__NR_vfork]: Make code unconditional.
16313 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16314 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16316 [__NR_vfork]: Make code unconditional.
16317 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16318 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16320 2012-08-01 Roland McGrath <roland@hack.frob.com>
16322 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16323 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16325 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16326 Define mkstemp64 as an alias.
16327 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16328 Define mkstemps64 as an alias.
16329 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16330 Define mkostemp64 as an alias.
16331 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16332 Define mkostemps64 as an alias.
16333 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16334 Conditionalize body on this.
16335 * misc/mkostemp64.c: Likewise.
16336 * misc/mkostemps64.c: Likewise.
16337 * misc/mkstemps64.c: Likewise.
16338 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16339 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16340 * sysdeps/wordsize-64/mkostemp.c: File removed.
16341 * sysdeps/wordsize-64/mkstemp.c: File removed.
16342 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16344 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16348 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16349 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16350 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16351 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16353 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16354 compat_symbol macros from <shlib-compat.h> rather than the underlying
16355 default_symbol_version and symbol_version macros, so that DEFAULT
16356 lines in shlib-versions are respected.
16357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16359 2012-08-01 Florian Weimer <fweimer@redhat.com>
16361 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16362 Declare with warn_unused_result.
16363 (setgid, setregid, setegid, setresgid): Likewise.
16364 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16366 * WUR-REPORT: Remove set*id functions.
16368 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16370 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16372 2012-07-31 Roland McGrath <roland@hack.frob.com>
16375 * include/sys/socket.h (__libc_accept, __libc_accept4):
16376 Add attribute_hidden.
16377 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16379 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16381 * inet/getnetgrent_r.c (setup): Likewise.
16383 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16385 2012-07-31 David S. Miller <davem@davemloft.net>
16387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16389 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16392 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16393 value between 1.0 and 2.0 and smaller part has absolute value less
16395 * math/s_clog10.c (__clog10): Likewise.
16396 * math/s_clog10f.c (__clog10f): Likewise.
16397 * math/s_clog10l.c (__clog10l): Likewise.
16398 * math/s_clogf.c (__clogf): Likewise.
16399 * math/s_clogl.c (__clogl): Likewise.
16400 * math/libm-test.inc (clog_test): Add more tests.
16401 (clog10_test): Likewise.
16402 * sysdeps/i386/fpu/libm-test-ulps: Update.
16403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16405 2012-07-31 Florian Weimer <fweimer@redhat.com>
16407 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16408 Exit with zero in case no suitable GID is found, and write a
16409 message to standard error.
16411 2012-07-30 Roland McGrath <roland@hack.frob.com>
16413 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16415 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16416 (MAXPATHLEN): Removed.
16417 (NOGROUP, NODEV): New macros.
16418 (setbit, clrbit, isset, isclr): New macros.
16419 (howmany, roundup, powerof2): New macros.
16420 (DEV_BSIZE): New macro.
16422 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16423 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16425 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16426 definition on [!__NO_LONG_DOUBLE_MATH].
16428 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16429 PTR_MANGLE and PTR_DEMANGLE.
16431 * socket/accept4.c (accept4): Rename to __libc_accept4.
16432 Define accept4 as a weak alias.
16434 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16435 on [_DIRENT_HAVE_D_TYPE].
16436 * io/ftw.c (ftw_dir): Likewise.
16438 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16440 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16442 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16443 Use the BSD numbers rather than the arbitrary ones we had.
16444 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16445 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16446 (SIGXCPU, SIGXFSZ): New macros.
16449 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16450 initializer on [_LIBC_REENTRANT].
16452 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16453 definitions inside [_POSIX_MAPPED_FILES].
16455 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16457 * dirent/opendir.c: Include <fcntl.h>.
16459 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16460 (__libc_getspecific): Likewise.
16461 (__libc_key_create): Likewise.
16463 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16464 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16465 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16466 (tmpfile64): Define as alias.
16467 * sysdeps/wordsize-64/tmpfile.c: File removed.
16468 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16469 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16470 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16472 * stdio-common/vfscanf.c: Include <stdbool.h>.
16473 * nss/makedb.c: Likewise.
16474 * stdio-common/_i18n_number.h: Likewise.
16475 * argp/argp-help.c: Likewise.
16476 * posix/wordexp.c: Likewise.
16477 * sysdeps/posix/spawni.c: Likewise.
16478 * nss/nss_files/files-initgroups.c: Likewise.
16479 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16480 * nss/nss_files/files-initgroups.c: Likewise.
16481 * nss/nss_db/db-netgrp.c: Likewise.
16482 * nss/nss_db/db-initgroups.c: Likewise.
16483 * io/fchmodat.c: Include <sys/stat.h>.
16485 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16486 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16488 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16491 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16492 Add multiple inclusion protection.
16494 2012-07-27 David S. Miller <davem@davemloft.net>
16496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16498 2012-07-27 Gary Benson <gbenson@redhat.com>
16501 * elf/rtld.c: Include <stap-probe.h>.
16502 (dl_main): Added static probes "init_start" and "init_complete".
16503 * elf/dl-load.c: Include <stap-probe.h>.
16504 (lose): Take new parameter "nsid".
16505 Added static probe "map_failed".
16506 (_dl_map_object_from_fd): Pass namespace id to lose.
16507 Added static probe "map_start".
16508 (open_verify): Pass namespace id to lose.
16509 * elf/dl-open.c: Include <stap-probe.h>.
16510 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16511 and "reloc_complete".
16512 * elf/dl-close.c: Include <stap-probe.h>.
16513 (_dl_close_worker): Added static probes "unmap_start" and
16515 * elf/rtld-debugger-interface.txt: New file documenting the above.
16517 2012-07-26 Roland McGrath <roland@hack.frob.com>
16519 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16520 rather than a string variable.
16521 * sunrpc/rpc_main.c (h_output): Likewise.
16522 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16524 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16526 * inet/check_native.c: New file.
16528 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16531 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16532 if larger part has absolute value 1.0.
16533 * math/s_clog10.c (__clog10): Likewise.
16534 * math/s_clog10f.c (__clog10f): Likewise.
16535 * math/s_clog10l.c (__clog10l): Likewise.
16536 * math/s_clogf.c (__clogf): Likewise.
16537 * math/s_clogl.c (__clogl): Likewise.
16538 * math/libm-test.inc (clog_test): Add more tests.
16539 (clog10_test): Likewise.
16540 * sysdeps/i386/fpu/libm-test-ulps: Update.
16541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16543 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16544 (pltexit): Likewise.
16545 (La_regs): Likewise.
16546 (La_retval): Likewise.
16547 (int_retval): Likewise.
16548 Update #error for removed macros to refer only to definitions in
16550 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16552 (pltexit): Likewise.
16553 (La_regs): Likewise.
16554 (La_retval): Likewise.
16555 (int_retval): Likewise.
16556 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16558 (pltexit): Likewise.
16559 (La_regs): Likewise.
16560 (La_retval): Likewise.
16561 (int_retval): Likewise.
16562 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16564 (pltexit): Likewise.
16565 (La_regs): Likewise.
16566 (La_retval): Likewise.
16567 (int_retval): Likewise.
16568 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16570 (pltexit): Likewise.
16571 (La_regs): Likewise.
16572 (La_retval): Likewise.
16573 (int_retval): Likewise.
16574 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16576 (pltexit): Likewise.
16577 (La_regs): Likewise.
16578 (La_retval): Likewise.
16579 (int_retval): Likewise.
16580 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16582 (pltexit): Likewise.
16583 (La_regs): Likewise.
16584 (La_retval): Likewise.
16585 (int_retval): Likewise.
16586 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16587 macro definitions in tst-audit.h.
16588 * sysdeps/i386/tst-audit.h: New file.
16589 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16590 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16591 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16592 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16593 * sysdeps/sh/tst-audit.h: Likewise.
16594 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16595 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16596 * sysdeps/x86_64/tst-audit.h: Likewise.
16598 2012-07-26 Andreas Jaeger <aj@suse.de>
16600 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16603 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16604 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16605 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16607 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16608 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16609 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16611 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16614 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16616 (si_call_addr, si_syscall, si_arch): Define new macro.
16617 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16619 (si_call_addr, si_syscall, si_arch): Define new marcro.
16620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16622 (si_call_addr, si_syscall, si_arch): Define new macro.
16623 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16625 (si_call_addr, si_syscall, si_arch): Define new macro.
16627 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16631 Change to 2.4.21 where previously 2.4.1.
16632 * sysdeps/unix/sysv/linux/configure: Regenerated.
16633 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16634 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16635 Linux kernel version.
16636 (__ASSUME_STD_AUXV): Remove.
16637 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16639 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16640 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16641 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16642 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16643 (__ASSUME_NETLINK_SUPPORT): Likewise.
16644 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16645 (__no_netlink_support): Remove conditional definition.
16646 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16648 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16649 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16650 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16651 (if_nameindex_ioctl): Remove.
16652 (if_nameindex_netlink): Do not handle __no_netlink_support.
16653 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16655 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16656 Remove conditional code.
16657 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16659 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16661 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16662 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16663 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16665 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16666 [!__ASSUME_STD_AUXV]: Remove conditional code.
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16668 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16669 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16671 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16672 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16674 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16676 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16677 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16679 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16681 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16684 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16687 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16688 code unconditional.
16689 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16691 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16693 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16696 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16698 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16701 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16702 code unconditional.
16703 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16705 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16707 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16710 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16711 code unconditional.
16712 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16714 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16716 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16719 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16721 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16722 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16723 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16724 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16725 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16726 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16727 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16728 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16729 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16730 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16731 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16732 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16733 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16734 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16735 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16736 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16737 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16739 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16741 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16742 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16743 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16745 2012-07-25 Florian Weimer <fweimer@redhat.com>
16747 * Versions.def: Add GLIBC_2.17.
16748 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16749 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16750 Introduce __libc_secure_getenv.
16751 * stdlib/Versions (2.17): Add secure_getenv
16752 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16753 * stdlib/secure-getenv.c: Rename __secure_getenv to
16754 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16755 symbol __secure_getenv for GLIBC_2.0.
16756 * stdlib/tst-secure-getenv.c: New.
16757 * stdlib/Makefile (tests): Add testcase.
16758 * manual/startup.texi (Environment Access): Document
16760 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16761 __libc_secure_getenv.
16762 * inet/ruserpass.c (ruserpass): Likewise.
16763 * malloc/mtrace.c (mtrace): Likewise.
16764 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16765 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16766 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16767 * sysdeps/posix/tempname.c: Likewise. Evaluate
16768 HAVE_SECURE_GETENV.
16769 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16770 __secure_getenv to __libc_secure_getenv.
16771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16778 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16784 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16786 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16787 (struct La_i86_retval): Likewise.
16788 (struct La_x86_64_regs): Likewise.
16789 (struct La_x86_64_retval): Likewise.
16790 (struct La_x32_regs): Likewise.
16791 (struct La_x32_retval): Likewise.
16792 (struct La_ppc32_regs): Likewise.
16793 (struct La_ppc32_retval): Likewise.
16794 (struct La_ppc64_regs): Likewise.
16795 (struct La_ppc64_retval): Likewise.
16796 (struct La_sh_regs): Likewise.
16797 (struct La_sh_retval): Likewise.
16798 (struct La_s390_32_regs): Likewise.
16799 (struct La_s390_32_retval): Likewise.
16800 (struct La_s390_64_regs): Likewise.
16801 (struct La_s390_64_retval): Likewise.
16802 (struct La_sparc32_regs): Likewise.
16803 (struct La_sparc32_retval): Likewise.
16804 (struct La_sparc64_regs): Likewise.
16805 (struct La_sparc64_retval): Likewise.
16806 (struct audit_ifaces): Remove architecture-specific pltenter and
16808 * sysdeps/i386/ldsodefs.h: New file.
16809 * sysdeps/powerpc/ldsodefs.h: Likewise.
16810 * sysdeps/s390/ldsodefs.h: Likewise.
16811 * sysdeps/sh/ldsodefs.h: Likewise.
16812 * sysdeps/sparc/ldsodefs.h: Likewise.
16813 * sysdeps/x86_64/ldsodefs.h: Likewise.
16815 2012-07-25 Marek Polacek <polacek@redhat.com>
16818 * math/libm-test.inc (yn_test): Add another test.
16819 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16820 to ERANGE when the result is +-Inf.
16821 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16822 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16823 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16824 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16826 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16828 * conform/data/time.h-data (NULL): Use macro-constant. Require
16830 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16832 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16834 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16836 * configure.in <sysdeps resolving>: Correct printing
16838 * configure: Regenerate.
16840 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16842 * math/w_ilogb.c: Include <limits.h>.
16843 * math/w_ilogbl.c: Likewise.
16845 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16847 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16848 va_copy. Document allowing for unavailable va_copy only as
16849 pre-C99 compatibility.
16850 * manual/string.texi (Copying and Concatenation): Use va_copy
16851 instead of __va_copy in concat example.
16853 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16855 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16856 (__sendto): Use create_address_port. Initialize APORT and deallocate
16859 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16860 with O_NOLINK passed to __file_name_lookup.
16862 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16863 with O_NOLINK passed to __file_name_lookup.
16865 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16866 negative N or less than NGIDS.
16868 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16869 type to string_t. Set ERANGE as errno and return it if NAME is not big
16870 enough. Use memcpy instead of strncpy.
16872 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16874 * elf/Makefile (check-data): Remove.
16875 (localplt.data): New vpath directive.
16876 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16877 instead of $(check-data).
16878 * scripts/data/localplt-generic.data: Move to ...
16879 * sysdeps/generic/localplt.data: ... here.
16880 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16881 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16882 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16885 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16888 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16891 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16894 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16897 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16901 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16903 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16904 PPC32 and PPC64 files.
16905 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16906 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16908 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16910 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16911 __makecontext_ret to ...
16912 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16913 ... here and call exit if uc_link is NULL. New file.
16914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16915 __makecontext_ret.S.
16916 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16917 __makecontext_ret to ...
16918 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16919 ... here and call exit if uc_link is NULL. New file.
16920 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16921 __makecontext_ret.S.
16923 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16925 * elf/elf.h (R_390_IRELATIVE): New definition.
16926 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16927 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16928 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16929 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16930 (elf_machine_lazy_rel): Likewise.
16931 * sysdeps/s390/dl-irel.h: New file.
16932 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16933 * sysdeps/s390/s390-64/memset.S: New asm code.
16934 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16935 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16936 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16937 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16938 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16939 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16941 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16942 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16943 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16944 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16945 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16946 * sysdeps/s390/s390-32/memset.S: New asm code.
16947 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16949 2012-07-17 Marek Polacek <polacek@redhat.com>
16952 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16953 * sysdeps/s390/s390-64/configure.in: Likewise.
16954 * sysdeps/sparc/configure.in: Likewise.
16955 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16956 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16957 * sysdeps/i386/configure.in: Likewise.
16958 * sysdeps/x86_64/configure.in: Likewise.
16959 * sysdeps/sh/configure.in: Likewise.
16960 * sysdeps/s390/s390-32/configure: Regenerated.
16961 * sysdeps/s390/s390-64/configure: Likewise.
16962 * sysdeps/x86_64/configure: Likewise.
16963 * sysdeps/sh/configure: Likewise.
16964 * sysdeps/powerpc/powerpc64/configure: Likewise.
16965 * sysdeps/powerpc/powerpc32/configure: Likewise.
16966 * sysdeps/sparc/configure: Likwise.
16967 * sysdeps/i386/configure: Likewise.
16969 * elf/dl-open.c: Comment fixes.
16971 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16973 * Makefile [CXX] (check-data): Remove.
16974 [CXX] (c++-types.data): New vpath directive.
16975 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16976 vpath. Do not allow for C++ type data being missing.
16977 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16978 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16979 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16980 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16981 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16982 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16983 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16986 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16989 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16992 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16995 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16998 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17001 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17004 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17007 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17008 definitions to architecture-specific files.
17009 (TLS_IE): Likewise.
17010 (TLS_LD): Likewise.
17011 (TLS_GD): Likewise.
17012 * sysdeps/i386/tls-macros.h: New file.
17013 * sysdeps/powerpc/tls-macros.h: Likewise.
17014 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17015 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17016 * sysdeps/sh/tls-macros.h: Likewise.
17017 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17018 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17019 * sysdeps/x86_64/tls-macros.h: Likewise.
17021 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17024 zero value for regular exit case.
17026 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17027 (__start_context): Preserve zero value for regular exit case.
17029 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17030 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17032 * manual/setjmp.texi (setcontext): Clarify normal process
17033 termination when uc_link is the null pointer.
17034 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17037 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17039 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17040 preprocessor. Test for each exception mask separately.
17042 2012-07-16 Andreas Jaeger <aj@suse.de>
17044 * po/ru.po: Update from translation team.
17046 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17048 * conform/data/string.h-data (NULL): Use macro-constant. Require
17050 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17051 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17052 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17053 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17054 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17056 2012-07-13 Andreas Jaeger <aj@suse.de>
17058 * po/fr.po: Update from translation team.
17060 2012-07-12 Marek Polacek <polacek@redhat.com>
17063 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17067 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17071 Change to 2.4.1 where previously 2.4.0.
17072 * sysdeps/unix/sysv/linux/configure: Regenerated.
17073 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17074 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17076 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17077 (__ASSUME_AT_CLKTCK): Remove.
17078 (__ASSUME_AT_PAGESIZE): Likewise.
17079 (__ASSUME_AT_XID): Likewise.
17080 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17081 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17082 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17084 (HAVE_AUX_PAGESIZE): Likewise.
17085 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17086 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17087 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17089 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17093 the temporary buffer used to invoke __gethostbyname2_r,
17094 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17095 host_data / struct gaih_addrtuple.
17096 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17097 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17098 header file nss/nsswitch.h.
17099 * nss/nsswitch.h (global scope): Add definition of implementation
17100 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17101 resolv/nss_dns/dns-host.c).
17103 2012-07-11 Andreas Jaeger <aj@suse.de>
17105 * po/fr.po: Update from translation team.
17107 * po/sv.po: Update from translation team
17108 * po/fr.po: Another update from translation team.
17110 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17112 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17113 for subnormals or multiply small sinh result by itself.
17114 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17117 2012-07-11 David S. Miller <davem@davemloft.net>
17119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17121 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17124 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17125 (INTERNAL_MARK): Shift it here.
17127 2012-07-10 Marek Polacek <polacek@redhat.com>
17130 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17131 libc_cv_asm_global_directive with .globl.
17132 * configure: Regenerated.
17133 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17135 * sysdeps/i386/configure: Regenerated.
17136 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17138 * sysdeps/x86_64/configure: Regenerated.
17139 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17140 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17141 * elf/tst-unique2mod2.c: Likewise.
17142 * elf/tst-unique2mod1.c: Likewise.
17143 * elf/tst-unique1mod2.c: Likewise.
17144 * elf/tst-unique1mod1.c: Likewise.
17145 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17146 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17147 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17148 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17149 * sysdeps/mach/sysdep.h: Likewise.
17150 * sysdeps/i386/sysdep.h: Likewise.
17151 * sysdeps/i386/i386-mcount.S: Likewise.
17152 * sysdeps/x86_64/_mcount.S: Likewise.
17153 * sysdeps/x86_64/sysdep.h: Likewise.
17154 * sysdeps/sh/_mcount.S: Likewise.
17155 * sysdeps/sh/sysdep.h: Likewise.
17156 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17157 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17158 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17159 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17160 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17161 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17162 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17163 * locale/localeinfo.h: Likewise.
17164 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17165 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17167 2012-07-09 Roland McGrath <roland@hack.frob.com>
17170 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17172 * manual/message.texi (The Uniforum approach): Likewise.
17173 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17174 (glibc iconv Implementation): Likewise.
17176 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17179 * math/s_clog.c (__clog): Avoid scaling a value down where that
17180 could result in underflow.
17181 * math/s_clog10.c (__clog10): Likewise.
17182 * math/s_clog10f.c (__clog10f): Likewise.
17183 * math/s_clog10l.c (__clog10l): Likewise.
17184 * math/s_clogf.c (__clogf): Likewise.
17185 * math/s_clogl.c (__clogl): Likewise.
17186 * math/libm-test.inc (clog_test): Add more tests.
17187 (clog10_test): Likewise.
17188 * sysdeps/i386/fpu/libm-test-ulps: Update.
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17191 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17194 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17195 by 7 not 8 to examine high bit of fractional part.
17198 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17199 for call to __mcount_internal.
17200 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17201 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17202 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17204 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17207 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17208 approximation for values within 0x1p-13f of an odd multiple of
17210 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17211 exception. Add more tests.
17212 * sysdeps/i386/fpu/libm-test-ulps: Update.
17215 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17216 inputs and return -1 for them. Do not check for +Inf in case not
17217 reachable for +Inf.
17218 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17219 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17220 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17221 and return -1 for them. Do not check for +Inf in case not
17222 reachable for +Inf.
17223 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17225 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17226 and return -1 for them. Do not check for +Inf in case not
17227 reachable for +Inf.
17228 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17229 spurious underflow.
17230 * sysdeps/i386/fpu/libm-test-ulps: Update.
17231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17233 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17235 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17237 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17241 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17242 could result in spurious underflow. Scale down values above
17243 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17244 * math/s_csqrtf.c (__csqrtf): Likewise.
17245 * math/s_csqrtl.c (__csqrtl): Likewise.
17246 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17247 spurious underflow.
17248 * sysdeps/i386/fpu/libm-test-ulps: Update.
17249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17251 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17253 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17255 * catgets/xopen-msg.awk: New file.
17256 * catgets/xopen-msg.sed: Removed.
17258 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17260 * intl/po2test.awk: New file.
17261 * intl/po2test.sed: Removed.
17263 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17266 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17267 or multiply small sinh result by itself.
17268 * math/s_ctanf.c (__ctanf): Likewise.
17269 * math/s_ctanh.c (__ctanh): Likewise.
17270 * math/s_ctanhf.c (__ctanhf): Likewise.
17271 * math/s_ctanhl.c (__ctanhl): Likewise.
17272 * math/s_ctanl.c (__ctanl): Likewise.
17273 * math/libm-test.inc (ctan_test_tonearest): New function.
17274 (ctan_test_towardzero): Likewise.
17275 (ctan_test_downward): Likewise.
17276 (ctan_test_upward): Likewise.
17277 (ctanh_test_tonearest): Likewise.
17278 (ctanh_test_towardzero): Likewise.
17279 (ctanh_test_downward): Likewise.
17280 (ctanh_test_upward): Likewise.
17281 (main): Call these new functions.
17282 * sysdeps/i386/fpu/libm-test-ulps: Update.
17283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17285 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17287 * .gitignore: Delete /ports entry.
17289 2012-07-03 Andreas Jaeger <aj@suse.de>
17291 * po/bg.po: Update from translation team.
17292 * po/cs.po: Likewise.
17293 * po/de.po: Likewise.
17294 * po/hr.po: Likewise.
17295 * po/nl.pl: Likewise.
17296 * po/pl.po: Likewise.
17297 * po/vi.po: Likewise.
17299 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17301 * Makeconfig [!+link] (+link-before-libc): New variable.
17302 [!+link] (+link-after-libc): Likewise.
17303 [!+link] (+link-tests): Likewise.
17304 [!+link] (+link): Define in terms of $(+link-before-libc) and
17305 $(+link-after-libc).
17306 [!+link-static] (+link-static-before-libc): New variable.
17307 [!+link-static] (+link-static-after-libc): Likewise.
17308 [!+link-static] (+link-static-tests): Likewise.
17309 [!+link-static] (+link-static): Define in terms of
17310 $(+link-static-before-libc) and $(+link-static-after-libc).
17311 [build-shared] (link-libc-before-gnulib): New variable.
17312 [build-shared] (link-libc-tests): Likewise.
17313 [build-shared] (link-libc): Define in terms of
17314 $(link-libc-before-gnulib).
17315 [!build-shared] (link-libc-tests): New variable.
17316 (link-libc-static-tests): New variable.
17317 [!gnulib] (gnulib-arch): New variable.
17318 [!gnulib] (gnulib-tests): Likewise.
17319 [!gnulib] (static-gnulib-arch): Likewise.
17320 [!gnulib] (static-gnulib-tests): Likewise.
17321 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17322 Define with "=" instead of ":=".
17323 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17324 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17325 * Rules (binaries-all-notests): New variable.
17326 (binaries-all-tests): Likewise.
17327 (binaries-static-notests): Likewise.
17328 (binaries-static-tests): Likewise.
17329 (binaries-all): Define using $(binaries-all-notests) and
17330 $(binaries-all-tests).
17331 (binaries-static): Define using $(binaries-static-notests) and
17332 $(binaries-static-tests).
17333 (binaries-shared-tests): New variable.
17334 (binaries-shared-notests): Likewise.
17335 (binaries-shared): Remove variable.
17336 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17337 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17338 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17339 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17340 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17341 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17342 * elf/Makefile (sln-modules): New variable.
17343 (extra-objs): Add $(sln-modules:=.o).
17344 (ldconfig-modules): Add static-stubs.
17345 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17346 * elf/static-stubs.c: New file.
17349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17350 by 7 not 8 to examine high bit of fractional part. Use volatile
17351 variables when splitting into final array of floats if
17352 __FLT_EVAL_METHOD__ != 0.
17353 * math/libm-test.inc (cos_test): Add another test.
17354 (sin_test): Likewise.
17355 * sysdeps/i386/fpu/libm-test-ulps: Update.
17358 * math/libm-test.inc (cosh_test): Add more tests.
17360 * version.h (RELEASE): Set to "development".
17361 (VERSION): Set to "2.16.90".
17363 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17365 * NEWS: Update copyright. Remove last-updated date.
17366 Mention math library bug fixes and timezone data changes.
17367 * README: Mention GNU/Hurd, x32, and HPPA support status.
17369 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17371 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17373 2012-06-27 Andreas Jaeger <aj@suse.de>
17375 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17377 2012-06-25 Andreas Jaeger <aj@suse.de>
17379 * sysdeps/s390/fpu/libm-test-ulps: Update.
17381 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17382 Thomas Schwinge <thomas@codesourcery.com>
17384 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17385 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17389 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17391 * sysdeps/mach/start.c: Remove file.
17392 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17393 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17394 * sysdeps/sh/init-first.c: Likewise.
17396 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17397 registers for frame unwinding purposes, add CFI directives.
17398 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17399 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17400 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17403 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17404 __fortify_fail returning.
17405 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17407 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17408 sysdeps/sh/____longjmp_chk.S.
17409 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17410 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17411 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17412 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17414 * sysdeps/sh/abort-instr.h: New file.
17415 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17416 process in case exit returns.
17418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17419 initialize the GOT register before use.
17421 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17422 calculation of ARGC > 4.
17424 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17425 meaningful names to some local labels.
17427 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17428 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17430 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17431 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17432 (__arch_compare_and_exchange_val_16_acq): Likewise.
17433 (__arch_compare_and_exchange_val_32_acq): Likewise.
17434 (atomic_exchange_and_add): Fix gUSA sequence.
17435 (atomic_add): Likewise.
17436 (atomic_add_negative): Likewise.
17437 (atomic_add_zero): Likewise.
17438 (atomic_bit_test_set): Likewise.
17440 2012-06-22 Andreas Schwab <schwab@redhat.com>
17443 * include/link.h (struct link_map): Add l_free_initfini.
17444 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17446 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17447 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17448 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17451 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17453 * configure.in: Use AC_LANG_SOURCE.
17454 * configure: Regenerate.
17456 2012-06-22 Roland McGrath <roland@hack.frob.com>
17458 * configure.in (libc_cv_localstatedir): New substituted variable.
17459 * configure: Regenerated.
17460 * config.make.in (localstatedir): New variable, substituted from
17461 libc_cv_localstatedir.
17462 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17463 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17464 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17465 * sysdeps/gnu/configure: Regenerated.
17467 2012-06-21 Jeff Law <law@redhat.com>
17470 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17471 free. Simplify list management for _LIBC case.
17473 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17477 Clear sign bit of 64-bit integer value before comparing against
17480 * sysdeps/mach/configure: Regenerated.
17482 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17485 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17487 2012-06-21 Jeff Law <law@redhat.com>
17490 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17491 uint16_t for elements in the "seen" array to avoid char overflows.
17492 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17493 * elf/dl-open.c (dl_open_worker): Likewise.
17495 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17497 * scripts/list-sources.sh: Scan PORTS for translations.
17498 * po/libc.pot: Regenerated.
17500 2012-06-21 Andreas Jaeger <aj@suse.de>
17503 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17505 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17506 * bits/byteswap-16.h (__bswap_16): Likewise.
17507 * bits/byteswap.h (__bswap_constant_16): Likewise.
17509 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17512 * sysdeps/i386/fpu_control.h: Removed.
17513 * sysdeps/x86_64/fpu_control.h: Moved to ...
17514 * sysdeps/x86/fpu_control.h: Here.
17516 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17517 (_FPU_SETCW): Likewise.
17519 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17522 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17523 * sysdeps/x86/fpu/bits/mathinline.h: This.
17524 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17528 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17529 functions if __x86_64__ is defined.
17531 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17533 * string/endian.h: Add !__ASSEMBLER__ condition for including
17534 conversion interfaces.
17536 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17540 of ABS(x) in calculating zero to negative powers other than odd
17542 * math/libm-test.inc (pow_test): Add more tests.
17544 2012-06-15 Andreas Jaeger <aj@suse.de>
17546 * manual/contrib.texi (Contributors): Update entry of Liubov
17547 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17550 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17552 * string/string.h: Add __wur to GNU version of strerror_r.
17554 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17557 * string/Makefile (tests): Add tst-strtok_r.
17558 * string/tst-strtok_r.c: New file.
17559 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17560 RAX_LP/RDX_LP on SAVE_PTR.
17562 2012-06-14 Roland McGrath <roland@hack.frob.com>
17564 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17566 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17568 * libm_test.inc (csqrt_test): Allow more spurious underflow
17570 (j0_test): Likewise.
17571 (j1_test): Likewise.
17572 (y0_test): Likewise.
17573 (y1_test): Likewise.
17575 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17577 * po/Makefile (libc.pot): Use UTF-8 charset.
17579 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17582 Suppress sign-conversion warning from FD_SET.
17583 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17584 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17585 not unsigned long int.
17586 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17588 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17592 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17593 __extern_always_inline instead of __extern_inline.
17594 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17595 (__signbit): Likewise.
17596 (__signbitl): Support C++ namespace.
17597 (lrintf): New inline function.
17599 (llrintf): Likewise.
17600 (llrint): Likewise.
17610 (floorf): Likewise.
17611 (nearbyint): Likewise.
17612 (nearbyintf): Likewise.
17614 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17617 non-default versions.
17619 2012-06-11 Roland McGrath <roland@hack.frob.com>
17622 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17624 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17626 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17627 (FE_UPWARD, FE_DOWNWARD): Don't define.
17628 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17629 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17631 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17633 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17634 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17636 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17638 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17640 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17641 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17643 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17646 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17647 * sysdeps/i386/fpu/Implies: New file.
17648 * sysdeps/x86_64/fpu/Implies: Likewise.
17649 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17650 * sysdeps/x86/fpu/bits/fenv.h: This.
17652 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17655 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17658 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17659 character 0xffff that matches the last element of the
17662 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17667 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17670 values higher than 25.6283.
17672 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17675 subnormal exponent extraction and add some __builtin_expect.
17676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17677 Fix for subnormal mantissa calculation.
17679 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17681 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17682 cpu2 is -1 and errno is not ENOSYS.
17684 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17687 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17688 * sysdeps/x86/bits/string.h: This.
17689 * sysdeps/x86_64/bits/string.h: Removed.
17691 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17692 if not compiling for x86-64, but compiling for >= i486.
17694 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17695 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17697 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17698 New macro from Linux kernel 3.4.0.
17699 (FP_XSTATE_MAGIC2): Likewise.
17700 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17701 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17702 (struct _fpx_sw_bytes): New struct.
17703 (struct _xsave_hdr): Likewise.
17704 (struct _ymmh_state): Likewise.
17705 (struct _xstate): Likewise.
17707 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17708 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17710 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17711 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17712 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17714 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17715 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17716 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17717 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17718 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17719 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17721 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17724 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17725 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17726 (sysdep_headers): Include sys/platform/ppc.h.
17727 * sysdeps/powerpc/test-gettimebase.c: Test for
17728 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17729 * manual/Makefile (appendices): Include platform.texi.
17730 * manual/contrib.texi (Contributors): Update @node pointers.
17731 * manual/maint.texi (Maintenance): Likewise.
17732 (Platform): New node.
17733 * manual/platform.texi: New file. Document the new features.
17735 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17736 Jakub Jelinek <jakub@redhat.com>
17739 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17740 where __builtin_expect is unavailable.
17742 2012-06-03 David S. Miller <davem@davemloft.net>
17744 * stdlib/longlong.h: Updated from GCC.
17746 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17749 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17750 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17753 (GLIBC_2.16): Likewise.
17755 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17757 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17759 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17762 (default-abi): New variable.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17764 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17766 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17768 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17770 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17773 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17774 definition. Document in comment.
17776 2012-06-01 David S. Miller <davem@davemloft.net>
17778 * stdlib/longlong.h: Updated from GCC.
17780 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17783 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17784 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17785 sys/debugreg.h sys/io.h here.
17786 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17787 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17789 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17790 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17791 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17792 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17793 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17794 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17796 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17797 Define only if __x86_64__ is defined.
17799 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17802 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17803 Use int64_t for variable i.
17804 * math/libm-test.inc (fmod_test): Add more tests.
17806 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17807 z computation is not scheduled after fetestexcept.
17808 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17809 Use math_force_eval instead of asm to ensure calculation scheduled
17810 before exception test.
17811 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17812 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17814 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17817 computation is not scheduled after fetestexcept.
17819 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17823 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17825 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17827 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17828 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17830 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17833 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17835 (__WCHAR_MIN): Support __WORDSIZE == 64.
17836 (__WCHAR_MAX): Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17839 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17842 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17843 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17846 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17847 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17849 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17850 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17852 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17853 Defined to 1 if __x86_64__ isn't defined.
17854 (_STAT_VER_LINUX_OLD): New.
17855 (st_atime): Remove duplicate.
17856 (st_mtime): Likewise.
17857 (st_ctime): Likewise.
17859 2012-05-31 David S. Miller <davem@davemloft.net>
17861 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17864 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17866 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17870 * elf/dl-reloc.c: Include <_itoa.h>.
17871 (_dl_reloc_bad_type): Remove use of INTUSE.
17872 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17873 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17874 * stdio-common/psiginfo.c (psiginfo): Likewise.
17875 * stdio-common/psignal.c (psignal): Likewise.
17876 * string/strsignal.c (strsignal): Likewise.
17877 * include/signal.h (_sys_siglist): Declare hidden proto.
17878 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17879 INTVARDEF with libc_hidden_data_def.
17880 * stdio-common/itoa-udigits.c: Likewise.
17881 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17882 (_itoa_lower_digits_internal): Remove declaration.
17883 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17884 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17885 (_sys_sigabbrev_internal): Remove aliases.
17886 (_sys_siglist): Define hidden alias.
17888 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17893 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17896 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17897 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17899 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17900 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17901 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17902 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17904 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17906 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17907 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17908 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17910 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17918 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17920 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17922 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17923 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17924 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17925 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17926 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17927 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17929 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17930 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17932 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17933 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17935 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17937 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17939 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17940 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17942 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17944 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17945 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17946 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17948 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17950 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17952 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17954 * math/math.h (M_El): Use two more decimal places.
17955 (M_LOG2El): Likewise.
17956 (M_LOG10El): Likewise.
17957 (M_LN2l): Likewise.
17958 (M_LN10l): Likewise.
17960 (M_PI_2l): Likewise.
17961 (M_PI_4l): Likewise.
17962 (M_1_PIl): Likewise.
17963 (M_2_PIl): Likewise.
17964 (M_2_SQRTPIl): Likewise.
17965 (M_SQRT2l): Likewise.
17966 (M_SQRT1_2l): Likewise.
17968 2012-05-31 David S. Miller <davem@davemloft.net>
17970 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17971 values between float registers.
17972 * sysdeps/sparc/sparc64/memset.S: Likewise.
17973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17975 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17977 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17978 -D_FORTIFY_SOURCE=1.
17979 (CPPFLAGS-tst-longjmp_chk.c): Define.
17980 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17981 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17982 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17983 CFLAGS-tst-wchar-h.c.
17985 2012-05-31 Marek Polacek <polacek@redhat.com>
17988 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17989 __endmntent_internal): Remove declaration.
17990 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17991 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17992 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17994 2012-05-30 David S. Miller <davem@davemloft.net>
17996 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17997 (___Q_simulate_exceptions): Use real FP ops rather than writing
17999 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18002 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18005 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18006 * sysdeps/x86/bits/xtitypes.h: This.
18008 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18009 * sysdeps/x86/bits/wordsize.h: This.
18011 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18012 * sysdeps/x86/bits/huge_vall.h: This.
18014 * sysdeps/i386/bits/select.h: Removed.
18015 * sysdeps/x86_64/bits/select.h: Renamed to ...
18016 * sysdeps/x86/bits/select.h: This.
18018 * sysdeps/i386/bits/setjmp.h: Removed.
18019 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18020 * sysdeps/x86/bits/setjmp.h: This.
18022 * sysdeps/i386/bits/mathdef.h: Removed.
18023 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18024 * sysdeps/x86/bits/mathdef.h: This.
18026 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18029 * include/sys/socket.h (__connect_internal)
18030 (__libc_sa_len_internal): Remove declaration.
18031 (__connect, __libc_sa_len): Declare hidden_proto.
18032 (SA_LEN): Remove use of INTUSE.
18033 * socket/connect.c: Add libc_hidden_def.
18034 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18035 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18036 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18038 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18039 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18040 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18041 of adding _internal alias.
18043 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18046 * sysdeps/i386/bits/link.h: Removed.
18047 * sysdeps/i386/bits/linkmap.h: Likewise.
18048 * sysdeps/x86_64/bits/link.h: Renamed to ...
18049 * sysdeps/x86/bits/link.h: This.
18050 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18051 * sysdeps/x86/bits/linkmap.h: This.
18053 * sysdeps/i386/bits/endian.h: Removed.
18054 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18055 * sysdeps/x86/bits/endian.h: This.
18057 * sysdeps/i386/bits/byteswap.h: Removed.
18058 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18059 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18060 * sysdeps/x86/bits/byteswap.h: This.
18061 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18062 * sysdeps/x86/bits/byteswap-16.h: This.
18063 * sysdeps/i386/Implies: Add x86.
18064 * sysdeps/x86_64/Implies: Likewise.
18066 2012-05-30 David S. Miller <davem@davemloft.net>
18068 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18069 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18070 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18071 (FP_TRAPPING_EXCEPTIONS): Define.
18072 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18073 (FP_TRAPPING_EXCEPTIONS): Define.
18074 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18075 subnormals only when inexact has been signalled or underflow
18076 exceptions are enabled.
18077 (_FP_PACK_CANONICAL): Likewise.
18079 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18082 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18083 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18085 2012-05-30 Richard Henderson <rth@twiddle.net>
18087 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18088 with #ifndef NOT_IN_libc.
18090 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18091 marked to avoid plt entry.
18093 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18096 * Makeconfig (default-abi): New macro.
18097 (abi-includes): Likewise.
18098 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18099 $(abi-$(default-abi)-lib-soname) for soname if defined.
18100 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18102 * Makefile (installed-stubs): Likewise.
18103 * include/stubs-biarch.h: Removed.
18104 * scripts/lib-names.awk: Only handle one library at a time.
18105 * scripts/soversions.awk: Remove WORDSIZE support.
18106 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18108 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18110 (syscall-list-default-condition): Likewise.
18111 (syscall-list-default-condition): Likewise.
18112 (syscall-list-includes): Likewise.
18113 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18114 syscall-list-* with abi-*. Handle undefined abi-variants.
18115 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18116 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18117 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18119 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18120 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18122 (syscall-list-32-options): Likewise.
18123 (syscall-list-32-condition): Likewise.
18124 (syscall-list-64-options): Likewise.
18125 (syscall-list-64-condition): Likewise.
18126 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18128 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18131 (abi-64-ld-soname): New macro.
18132 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18133 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18136 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18137 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18139 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18141 * sysdeps/unix/sysv/linux/kernel-features.h
18142 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18143 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18144 include <kernel-features.h>.
18145 [!__NR_ftruncate64]: Remove conditional code.
18146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18147 [__NR_ftruncate64]: Make code unconditional.
18148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18149 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18150 include <kernel-features.h>.
18151 [!__NR_ftruncate64]: Remove conditional code.
18152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18153 [__NR_ftruncate64]: Make code unconditional.
18154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18156 include <kernel-features.h>.
18157 [!__NR_ftruncate64]: Remove conditional code.
18158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18159 [__NR_ftruncate64]: Make code unconditional.
18160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18162 include <kernel-features.h>.
18163 [!__NR_ftruncate64]: Remove conditional code.
18164 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18165 [__NR_ftruncate64]: Make code unconditional.
18166 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18168 * configure.in (libc_cv_fpie): Weaken to a compile test using
18169 LIBC_TRY_CC_OPTION.
18170 * configure: Regenerated.
18172 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18187 2012-05-27 David S. Miller <davem@davemloft.net>
18189 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18191 (__Q_simulate_exceptions): Return void. Change to simulate
18192 exceptions by writing into the %fsr.
18193 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18194 (__Qp_handle_exceptions): Likewise.
18196 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18197 __Qp_handle_exceptions.
18198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18199 __Qp_handle_exceptions.
18200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18201 as unused and give dummy FP_RND_NEAREST initializer.
18202 (FP_INHIBIT_RESULTS): Define.
18203 (___Q_simulate_exceptions): Update declaration.
18204 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18206 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18207 as unused and give dummy FP_RND_NEAREST initializer.
18208 (__Qp_handle_exceptions): Update declaration.
18209 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18212 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18214 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18215 the temporary FPU control word.
18216 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18217 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18218 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18219 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18220 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18221 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18222 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18223 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18224 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18225 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18226 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18228 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18230 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18233 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18235 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18236 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18237 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18238 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18240 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18241 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18244 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18246 * po/h.po: Update from translation team.
18248 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18250 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18252 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18253 handling of denormals.
18254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18255 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18257 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18260 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18263 2012-05-26 Marek Polacek <polacek@redhat.com>
18266 * math/libm-test.inc (fma_test): Don't always expect underflow
18269 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18272 * elf/tst-execstack.c: Include stackinfo.h.
18273 (do_test): Adjust test case to ensure that pthread_getattr_np
18274 behaviour remains the same after marking stack executable.
18276 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18278 * sysdeps/unix/sysv/linux/kernel-features.h
18279 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18280 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18282 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18283 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18284 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18286 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18287 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18289 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18291 * configure.in: Define the default includes to being none.
18292 * configure: Regenerated.
18294 2012-05-25 Roland McGrath <roland@hack.frob.com>
18296 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18297 * sysdeps/x86_64/setjmp.S: Likewise.
18298 * sysdeps/i386/bsd-setjmp.S: Likewise.
18299 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18300 * sysdeps/i386/setjmp.S: Likewise.
18301 * sysdeps/i386/__longjmp.S: Likewise.
18302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18303 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18305 * include/stap-probe.h: New file.
18306 * configure.in: Handle --enable-systemtap.
18307 * configure: Regenerated.
18308 * config.h.in (USE_STAP_PROBE): New #undef.
18309 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18310 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18311 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18313 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18317 to 2.4.0 where earlier.
18318 * sysdeps/unix/sysv/linux/configure: Regenerated.
18319 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18320 <kernel-features.h>.
18321 [__ASSUME_32BITUIDS]: Make code unconditional.
18322 [!__ASSUME_32BITUIDS]: Remove conditional code.
18323 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18324 <kernel-features.h>.
18325 [__ASSUME_32BITUIDS]: Make code unconditional.
18326 [!__ASSUME_32BITUIDS]: Remove conditional code.
18327 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18328 [__ASSUME_32BITUIDS]: Make code unconditional.
18329 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18330 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18331 <kernel-features.h>.
18332 [__ASSUME_32BITUIDS]: Make code unconditional.
18333 [!__ASSUME_32BITUIDS]: Remove conditional code.
18334 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18335 <kernel-features.h>.
18336 [__ASSUME_32BITUIDS]: Make code unconditional.
18337 [!__ASSUME_32BITUIDS]: Remove conditional code.
18338 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18339 <kernel-features.h>.
18340 [__ASSUME_32BITUIDS]: Make code unconditional.
18341 [!__ASSUME_32BITUIDS]: Remove conditional code.
18342 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18343 <kernel-features.h>.
18344 [__ASSUME_32BITUIDS]: Make code unconditional.
18345 [!__ASSUME_32BITUIDS]: Remove conditional code.
18346 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18347 <kernel-features.h>.
18348 [__ASSUME_32BITUIDS]: Make code unconditional.
18349 [!__ASSUME_32BITUIDS]: Remove conditional code.
18350 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18351 <kernel-features.h>.
18352 [__ASSUME_32BITUIDS]: Make code unconditional.
18353 [!__ASSUME_32BITUIDS]: Remove conditional code.
18354 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18355 <kernel-features.h>.
18356 [__ASSUME_32BITUIDS]: Make code unconditional.
18357 [!__ASSUME_32BITUIDS]: Remove conditional code.
18358 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18359 <kernel-features.h>.
18360 [__ASSUME_32BITUIDS]: Make code unconditional.
18361 [!__ASSUME_32BITUIDS]: Remove conditional code.
18362 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18363 <kernel-features.h>.
18364 [__ASSUME_32BITUIDS]: Make code unconditional.
18365 [!__ASSUME_32BITUIDS]: Remove conditional code.
18366 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18367 <kernel-features.h>.
18368 [__ASSUME_32BITUIDS]: Make code unconditional.
18369 [!__ASSUME_32BITUIDS]: Remove conditional code.
18370 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18371 <kernel-features.h>.
18372 [__NR_setresgid] (__setresgid): Do not declare.
18373 [__ASSUME_32BITUIDS]: Make code unconditional.
18374 [!__ASSUME_32BITUIDS]: Remove conditional code.
18375 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18376 <kernel-features.h>.
18377 [__NR_setresuid] (__setresuid): Do not declare.
18378 [__ASSUME_32BITUIDS]: Make code unconditional.
18379 [!__ASSUME_32BITUIDS]: Remove conditional code.
18380 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18381 <kernel-features.h>.
18382 [__ASSUME_32BITUIDS]: Make code unconditional.
18383 [!__ASSUME_32BITUIDS]: Remove conditional code.
18384 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18385 <kernel-features.h>.
18386 [__ASSUME_32BITUIDS]: Make code unconditional.
18387 [!__ASSUME_32BITUIDS]: Remove conditional code.
18388 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18389 <kernel-features.h>.
18390 [__ASSUME_32BITUIDS]: Make code unconditional.
18391 [!__ASSUME_32BITUIDS]: Remove conditional code.
18392 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18393 <kernel-features.h>.
18394 [__ASSUME_32BITUIDS]: Make code unconditional.
18395 [!__ASSUME_32BITUIDS]: Remove conditional code.
18396 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18397 <kernel-features.h>.
18398 [__ASSUME_32BITUIDS]: Make code unconditional.
18399 [!__ASSUME_32BITUIDS]: Remove conditional code.
18400 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18401 <kernel-features.h>.
18402 [__ASSUME_32BITUIDS]: Make code unconditional.
18403 [!__ASSUME_32BITUIDS]: Remove conditional code.
18404 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18405 <kernel-features.h>.
18406 [__ASSUME_32BITUIDS]: Make code unconditional.
18407 [!__ASSUME_32BITUIDS]: Remove conditional code.
18408 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18409 <kernel-features.h>.
18410 [__ASSUME_32BITUIDS]: Make code unconditional.
18411 [!__ASSUME_32BITUIDS]: Remove conditional code.
18412 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18413 <kernel-features.h>.
18414 [__ASSUME_32BITUIDS]: Make code unconditional.
18415 [!__ASSUME_32BITUIDS]: Remove conditional code.
18416 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18417 <kernel-features.h>.
18418 [__ASSUME_32BITUIDS]: Make code unconditional.
18419 [!__ASSUME_32BITUIDS]: Remove conditional code.
18420 * sysdeps/unix/sysv/linux/kernel-features.h
18421 (__ASSUME_SETRESUID_SYSCALL): Remove.
18422 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18423 (__ASSUME_32BITUIDS): Likewise.
18424 (__ASSUME_LDT_WORKS): Likewise.
18425 (__ASSUME_O_DIRECTORY): Likewise.
18426 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18427 architecture but not kernel version.
18428 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18429 (__ASSUME_MMAP2_SYSCALL): Likewise.
18430 (__ASSUME_STAT64_SYSCALL): Likewise.
18431 (__ASSUME_IPC64): Likewise.
18432 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18433 <kernel-features.h>.
18434 [__ASSUME_32BITUIDS]: Make code unconditional.
18435 [!__ASSUME_32BITUIDS]: Remove conditional code.
18436 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18437 <kernel-features.h>.
18438 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18439 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18440 132096]: Remove conditional code.
18441 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18442 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18443 <kernel-features.h>.
18444 [__ASSUME_32BITUIDS]: Make code unconditional.
18445 [!__ASSUME_32BITUIDS]: Remove conditional code.
18446 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18447 <kernel-features.h>.
18448 [__ASSUME_32BITUIDS]: Make code unconditional.
18449 [!__ASSUME_32BITUIDS]: Remove conditional code.
18450 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18451 <kernel-features.h>.
18452 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18454 (__setresgid): Do not declare.
18455 [__ASSUME_32BITUIDS]: Make code unconditional.
18456 [!__ASSUME_32BITUIDS]: Remove conditional code.
18457 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18458 <kernel-features.h>.
18459 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18461 (__setresuid): Do not declare.
18462 [__ASSUME_32BITUIDS]: Make code unconditional.
18463 [!__ASSUME_32BITUIDS]: Remove conditional code.
18464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18465 <kernel-features.h>.
18466 [__ASSUME_32BITUIDS]: Make code unconditional.
18467 [!__ASSUME_32BITUIDS]: Remove conditional code.
18468 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18469 <kernel-features.h>.
18470 [__ASSUME_32BITUIDS]: Make code unconditional.
18471 [!__ASSUME_32BITUIDS]: Remove conditional code.
18473 2012-05-25 Richard Henderson <rth@twiddle.net>
18475 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18476 dl_hwcap to ifunc resolver.
18477 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18479 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18480 dl_hwcap to ifunc resolver.
18481 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18483 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18486 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18487 for |x| <= 2**-26, not 2**-57.
18488 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18491 2012-05-24 Jeff Law <law@redhat.com>
18493 * stdio-common/Makefile (tests): Add bug25.
18494 * stdio-common/bug25.c: New test.
18496 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18499 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18500 multiple of MALLOC_ALIGNMENT in size.
18501 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18503 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18505 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18507 (FILENAME_MAX): Use macro-int-constant.
18508 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18509 (_IOFBF): Use macro-int-constant.
18510 (_IOLBF): Likewise.
18511 (_IONBF): Likewise.
18512 (SEEK_CUR): Likewise.
18513 (SEEK_END): Likewise.
18514 (SEEK_SET): Likewise.
18515 (TMP_MAX): Likewise.
18516 (EOF): Use macro-int-constant. Require < 0.
18517 (NULL): Use macro-constant. Require == 0.
18518 (stdin): Require type to be FILE *.
18519 (stdout): Likewise.
18520 (stderr): Likewise.
18521 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18522 macro-int-constant.
18523 (EXIT_SUCCESS): Likewise.
18524 (NULL): Use macro-constant. Require == 0.
18525 (RAND_MAX): Use macro-int-constant.
18526 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18527 [C99-based standards] (strtof): Require function.
18528 [C99-based standards] (strtold): Likewise.
18529 [C99-based standards] (strtoll): Likewise.
18530 [C99-based standards] (strtoull): Likewise.
18531 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18532 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18533 [ISO || ISO99 || ISO11] (math.h): Likewise.
18534 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18535 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18538 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18541 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18542 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18543 * intl/dgettext.c (DCGETTEXT): Likewise.
18544 * intl/gettext.c (DCGETTEXT): Likewise.
18545 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18546 * posix/regex_internal.h (gettext): Likewise.
18547 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18548 Remove declaration.
18549 * include/argz.h (__argz_count_internal)
18550 (__argz_stringify_internal): Remove declaration.
18551 (__argz_count, __argz_stringify): Declare hidden proto.
18552 * intl/dcgettext.c: Remove use of INTDEF.
18553 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18554 * string/argz-stringify.c: Likewise.
18555 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18556 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18557 Declare hidden proto.
18558 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18559 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18560 Declare hidden proto.
18561 * include/stdio.h (__asprintf_internal): Don't declare.
18562 (__asprintf): Don't define as macro. Declare hidden proto.
18563 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18564 (__fsetlocking): Declare hidden proto.
18565 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18566 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18568 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18569 (_IO_setlinebuf): Remove use of INTUSE.
18570 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18571 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18572 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18573 Remove declaration.
18574 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18575 (_IO_do_flush): Remove use of INTUSE.
18576 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18577 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18578 (_IO_adjust_column, _IO_least_wmarker)
18579 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18580 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18581 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18582 (_IO_default_doallocate, _IO_wdefault_doallocate)
18583 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18584 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18585 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18586 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18587 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18588 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18589 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18590 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18591 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18592 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18593 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18594 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18595 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18597 (_IO_flush_all_internal, _IO_adjust_column_internal)
18598 (_IO_default_uflow_internal, _IO_default_finish_internal)
18599 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18600 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18601 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18602 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18603 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18604 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18605 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18606 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18607 (_IO_file_close_internal, _IO_file_close_it_internal)
18608 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18609 (_IO_file_init_internal, _IO_file_attach_internal)
18610 (_IO_file_fopen_internal, _IO_file_read_internal)
18611 (_IO_file_sync_internal, _IO_file_seek_internal)
18612 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18613 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18614 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18615 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18616 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18617 (_IO_list_all_internal, _IO_link_in_internal)
18618 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18619 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18620 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18621 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18622 (_IO_do_write_internal, _IO_padn_internal)
18623 (_IO_getline_info_internal, _IO_getline_internal)
18624 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18625 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18626 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18627 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18628 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18629 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18630 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18631 with libc_hidden_ver, remove use of INTUSE.
18632 * libio/genops.c: Likewise.
18633 * libio/freopen.c: Likewise.
18634 * libio/freopen64.c: Likewise.
18635 * libio/iofclose.c: Likewise.
18636 * libio/iofdopen.c: Likewise.
18637 * libio/iofflush.c: Likewise.
18638 * libio/iofflush_u.c: Likewise.
18639 * libio/iofgets.c: Likewise.
18640 * libio/iofgets_u.c: Likewise.
18641 * libio/iofopen.c: Likewise.
18642 * libio/iofopncook.c: Likewise.
18643 * libio/iofread.c: Likewise.
18644 * libio/iofread_u.c: Likewise.
18645 * libio/ioftell.c: Likewise.
18646 * libio/iofwrite.c: Likewise.
18647 * libio/iogetline.c: Likewise.
18648 * libio/iogets.c: Likewise.
18649 * libio/iogetwline.c: Likewise.
18650 * libio/iopadn.c: Likewise.
18651 * libio/iopopen.c: Likewise.
18652 * libio/ioseekoff.c: Likewise.
18653 * libio/ioseekpos.c: Likewise.
18654 * libio/iosetbuffer.c: Likewise.
18655 * libio/iosetvbuf.c: Likewise.
18656 * libio/ioungetc.c: Likewise.
18657 * libio/ioungetwc.c: Likewise.
18658 * libio/iovdprintf.c: Likewise.
18659 * libio/iovsprintf.c: Likewise.
18660 * libio/iovsscanf.c: Likewise.
18661 * libio/memstream.c: Likewise.
18662 * libio/obprintf.c: Likewise.
18663 * libio/oldfileops.c: Likewise.
18664 * libio/oldiofclose.c: Likewise.
18665 * libio/oldiofdopen.c: Likewise.
18666 * libio/oldiofopen.c: Likewise.
18667 * libio/oldiopopen.c: Likewise.
18668 * libio/oldstdfiles.c: Likewise.
18669 * libio/putc.c: Likewise.
18670 * libio/setbuf.c: Likewise.
18671 * libio/setlinebuf.c: Likewise.
18672 * libio/stdfiles.c: Likewise.
18673 * libio/strops.c: Likewise.
18674 * libio/vasprintf.c: Likewise.
18675 * libio/vscanf.c: Likewise.
18676 * libio/vsnprintf.c: Likewise.
18677 * libio/vswprintf.c: Likewise.
18678 * libio/wfiledoalloc.c: Likewise.
18679 * libio/wfileops.c: Likewise.
18680 * libio/wgenops.c: Likewise.
18681 * libio/wmemstream.c: Likewise.
18682 * libio/wstrops.c: Likewise.
18683 * libio/__fpurge.c: Likewise.
18684 * libio/__fsetlocking.c: Likewise.
18685 * assert/assert.c: Likewise.
18686 * debug/fgets_chk.c: Likewise.
18687 * debug/fgets_u_chk.c: Likewise.
18688 * debug/fread_chk.c: Likewise.
18689 * debug/fread_u_chk.c: Likewise.
18690 * debug/gets_chk.c: Likewise.
18691 * debug/obprintf_chk.c: Likewise.
18692 * debug/vasprintf_chk.c: Likewise.
18693 * debug/vdprintf_chk.c: Likewise.
18694 * debug/vsnprintf_chk.c: Likewise.
18695 * debug/vsprintf_chk.c: Likewise.
18696 * malloc/mtrace.c: Likewise.
18697 * misc/error.c: Likewise.
18698 * misc/syslog.c: Likewise.
18699 * stdio-common/asprintf.c: Likewise.
18700 * stdio-common/fxprintf.c: Likewise.
18701 * stdio-common/getw.c: Likewise.
18702 * stdio-common/isoc99_fscanf.c: Likewise.
18703 * stdio-common/isoc99_scanf.c: Likewise.
18704 * stdio-common/isoc99_vfscanf.c: Likewise.
18705 * stdio-common/isoc99_vscanf.c: Likewise.
18706 * stdio-common/isoc99_vsscanf.c: Likewise.
18707 * stdio-common/printf-prs.c: Likewise.
18708 * stdio-common/printf_fp.c: Likewise.
18709 * stdio-common/printf_fphex.c: Likewise.
18710 * stdio-common/printf_size.c: Likewise.
18711 * stdio-common/putw.c: Likewise.
18712 * stdio-common/scanf.c: Likewise.
18713 * stdio-common/sprintf.c: Likewise.
18714 * stdio-common/tmpfile.c: Likewise.
18715 * stdio-common/vfprintf.c: Likewise.
18716 * stdio-common/vfscanf.c: Likewise.
18717 * stdlib/strfmon_l.c: Likewise.
18718 * sunrpc/openchild.c: Likewise.
18719 * sunrpc/xdr_stdio.c: Likewise.
18720 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18721 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18723 2012-05-24 Roland McGrath <roland@hack.frob.com>
18725 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18727 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18728 in the third column, to generate for the shared library an IFUNC
18729 that uses _dl_vdso_vsym.
18730 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18731 * Makeconfig (object-suffixes-noshared): New variable.
18733 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18734 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18735 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18736 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18739 * include/sys/time.h (__gettimeofday): Remove macro.
18740 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18741 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18743 (__gettimeofday): Add libc_hidden_def.
18744 (gettimeofday): Add libc_hidden_weak.
18745 * sysdeps/mach/gettimeofday.c: Likewise.
18746 * sysdeps/posix/gettimeofday.c: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18748 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18749 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18750 (__gettimeofday_internal): Remove strong_alias.
18751 (__gettimeofday): Add libc_hidden_def.
18752 (gettimeofday): Add libc_hidden_weak.
18753 * sysdeps/unix/syscalls.list (gettimeofday):
18754 Remove __gettimeofday_internal alias.
18756 2012-05-24 Daniel Jacobowitz <drow@false.org>
18757 H.J. Lu <hongjiu.lu@intel.com>
18760 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18761 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18762 (largebin_index_32_big): New.
18763 (largebin_index): Use it for 16-byte alignment.
18764 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18765 correction with front_misalign.
18767 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18795 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18796 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18798 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18802 * math/libm-test.inc (exp_test): Add test from bug 14036.
18803 (pow_test): Add test from bug 10846.
18805 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18807 (special_function): Do not include flags in test name.
18808 (parse_args): Likewise.
18809 * sysdeps/i386/fpu/libm-test-ulps: Update.
18810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18811 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18812 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18815 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18817 * math/libm-test.inc ("Philosophy"): Update comment about
18819 (UNDERFLOW_EXCEPTION): New macro.
18820 (UNDERFLOW_EXCEPTION_OK): Likewise.
18821 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18822 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18823 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18824 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18825 (INVALID_EXCEPTION_OK): Update value.
18826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18827 (OVERFLOW_EXCEPTION_OK): Likewise.
18828 (IGNORE_ZERO_INF_SIGN): Likewise.
18829 (test_exceptions): Handle underflow exceptions.
18830 (acos_test): Update for underflow exception expectations.
18831 (cexp_test): Likewise.
18832 (clog_test): Likewise.
18833 (clog10_test): Likewise.
18834 (csqrt_test): Likewise.
18835 (ctan_test): Likewise.
18836 (ctanh_test): Likewise.
18837 (exp_test): Likewise.
18838 (exp10_test): Likewise.
18839 (exp2_test): Likewise.
18840 (expm1_test): Likewise.
18841 (fma_test): Likewise.
18842 (j0_test): Likewise.
18843 (jn_test): Likewise.
18844 (nexttoward_test): Likewise.
18845 (pow_test): Likewise.
18846 (scalbn_test): Likewise.
18847 (scalbln_test): Likewise.
18848 (tan_test): Likewise.
18849 (y1_test): Likewise.
18850 * sysdeps/i386/fpu/libm-test-ulps: Update.
18851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18853 2012-05-23 David S. Miller <davem@davemloft.net>
18855 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18856 (__libc_sigaction): Remove unused local variables.
18858 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18860 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18862 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18864 mktime: avoid signed integer overflow
18865 * time/mktime.c (__mktime_internal): Do not mishandle the case
18866 where diff == INT_MIN.
18868 mktime: simplify computation of average
18869 * time/mktime.c (ranged_convert): Use new time_t_avg function
18870 instead of rolling our own (probably-slower) code.
18872 mktime: do not assume signed right shift propagates sign bit
18873 * time/mktime.c (isdst_differ): New static function.
18874 (__mktime_internal): No need to normalize tm_isdst now.
18875 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18878 mktime: merge another wrapv change from gnulib
18879 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18880 from some compilers.
18882 mktime: remove incorrect attempt at unusual arithmetics
18883 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18884 The code didn't really work on such machines anyway.
18885 (TYPE_MINIMUM): Assume two's complement.
18886 (twos_complement_arithmetic): Verify that long_int and time_t
18887 are two's complement (or unsigned, in the latter case).
18889 mktime: check signed shifts on long_int and time_t, too
18890 * time/mktime.c (SHR): Check that shifts work as desired
18891 on the types long_int and time_t too, as SHR is used on
18894 mktime: do not assume 'long' is wide enough
18895 * time/mktime.c (verify): Move decl up.
18896 (long_int): New type.
18897 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18898 to remove assumption in the code that 'long' is wide enough to
18899 store year values. This assumption is not true on x32 and on
18900 some non-glibc platforms.
18902 mktime: merge wrapv change from gnulib
18903 * time/mktime.c (WRAPV): New macro.
18904 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18905 (guess_time_tm, __mktime_internal): Do not assume that signed
18906 integer overflow wraps around; modern compilers generate code
18907 where this assumption is no longer valid.
18909 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18911 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18912 Replace "jmp L(pseudo_end)" with "ret".
18913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18916 2012-05-23 Andreas Jaeger <aj@suse.de>
18918 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18919 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18921 2012-05-23 Andreas Jaeger <aj@suse.de>
18922 Maximilian Attems <max@stro.at>
18924 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18927 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18929 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18930 code so that pseudo_end is just ret and the stack pointer is
18931 correct also for static library in error case.
18933 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18935 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18936 move to syscalls.list.
18937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18942 * manual/install.texi (Running make install): Do not mention Linux
18943 kernel version for which pt_chown is not needed.
18944 (Linux): Do not mention problems with nscd with 2.0 kernels.
18945 * INSTALL: Regenerated.
18947 2012-05-23 Andreas Jaeger <aj@suse.de>
18949 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18950 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18952 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18953 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18954 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18955 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18956 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18957 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18959 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18961 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18962 * sysdeps/unix/sysv/linux/bits/in.h
18963 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18965 2012-05-22 Roland McGrath <roland@hack.frob.com>
18967 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18968 (PREPARE_VERSION): Just use assert instead, it will be elided
18969 under [NDEBUG] anyway.
18971 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18973 * sysdeps/unix/sysv/linux/Makefile: Include
18974 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18975 (sysdep_routines): Remove sysctl.
18976 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18977 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18978 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18979 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18980 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18982 2012-05-22 Andreas Jaeger <aj@suse.de>
18984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18985 that pseudo_end is just ret and the stack pointer is correct also
18986 for static library in error case.
18988 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18991 * nss/nsswitch.c (defconfig_entries): New variable.
18992 (__nss_database_lookup): Don't leak defconfig entries.
18993 (nss_parse_service_list): Don't leak on error paths.
18994 (free_database_entries): New function.
18995 (free_defconfig): New function.
18996 (free_mem): Move common code to free_database_entries.
18998 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19000 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19002 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19004 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19005 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19008 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19009 (INTERNAL_SYSCALL_TYPES): Likewise.
19010 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19011 (LOAD_REGS_TYPES_[1-6]): Likewise.
19012 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19013 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19015 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19017 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19018 copysignl for GLIBC_2_0.
19019 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19020 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19022 logbl for GLIBC_2_0.
19023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19024 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19026 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19029 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19031 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19034 * time/mktime.c: Update copyright years.
19036 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19038 mktime: merge comment-quoting-style change from gnulib
19039 * time/mktime.c: Quote 'like this' in comments.
19040 The GNU coding standards suggest that we no longer quote `like this',
19041 as "`" and "'" are typically rendered asymmetrically nowadays.
19042 The typical gnulib style is to quote 'like this' when quoting
19043 code, and "like this" when quoting English.
19045 * time/mktime.c (compile-command): Add "-I.".
19047 mktime: merge mktime-internal.h change from gnulib
19048 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19050 mktime: merge time_r change from gnulib
19051 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19053 mktime: merge DEBUG change from gnulib
19054 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19055 case system <time.h> has a #define.
19057 mktime: merge <sys/types.h> change from gnulib
19058 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19059 since <time.t> is now guaranteed to define time_t.
19061 mktime: merge HAVE_CONFIG_H change from gnulib
19062 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19064 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19069 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19071 (struct rusage): Use anonymous union to pad each field to
19074 2012-05-21 David S. Miller <davem@davemloft.net>
19076 * Makefules (o-iterator): Remove .s cases.
19077 (compile-command.s): Delete.
19078 (COMPILE.s): Delete.
19079 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19081 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19083 * configure.in (libc_cv_predef_stack_protector): Only consider
19084 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19085 * configure: Regenerated.
19087 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19090 New macro. Use R*LP on int and pointer.
19091 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19092 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19093 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19094 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19096 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19097 [__WORDSIZE_TIME64_COMPAT32] instead of
19098 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19099 (struct utmp): Likewise.
19100 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19101 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19103 (__WORDSIZE_TIME64_COMPAT32): This.
19104 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19105 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19106 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19107 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19108 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19109 (__WORDSIZE_TIME64_COMPAT32): New macro.
19111 2012-05-21 Andreas Jaeger <aj@suse.de>
19113 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19114 only if [SHARED]. Add prototype for __wcschr_ia32.
19116 2012-05-21 Roland McGrath <roland@hack.frob.com>
19118 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19119 of %rbp unmolested in the jmp_buf while mangling the low bits.
19120 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19121 unmolested high bits of %rbp while demangling the low bits.
19122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19124 2012-05-21 Andreas Jaeger <aj@suse.de>
19126 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19127 * sunrpc/svc_simple.c: Use it for registerrpc.
19128 * sunrpc/xcrypt.c: Use it for passwd2des.
19130 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19132 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19134 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19135 Don't define if [__SYSCALL_WORDSIZE != 32].
19136 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19139 2012-05-21 Bruno Haible <bruno@clisp.org>
19140 Andreas Jaeger <aj@suse.de>
19142 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19143 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19144 inptr and inend for must_buffer_ch.
19145 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19146 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19147 * stdio-common/Makefile (tests): Remove bug15.
19148 (bug15-ENV): Remove macro.
19149 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19152 2012-05-19 Andreas Jaeger <aj@suse.de>
19153 Roland McGrath <roland@hack.frob.com>
19155 * manual/contrib.texi: Completely rewritten. It contains now an
19156 alphabetical list of contributors and their contributions.
19158 2012-05-21 Richard Henderson <rth@twiddle.net>
19160 * misc/getauxval.c (__getauxval): Use unsigned long int.
19161 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19162 (getauxval): Use unsigned long int.
19164 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19166 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19168 2012-05-21 Roland McGrath <roland@hack.frob.com>
19170 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19171 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19172 __alignof__ (long double).
19174 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19178 2012-05-20 Richard Henderson <rth@twiddle.net>
19180 * misc/getauxval.c: New file.
19181 * misc/sys/auxv.h: New file.
19182 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19183 (routines): Add getauxval.
19184 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19185 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19186 * elf/dl-sysdep.c (_dl_auxv): Remove.
19187 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19188 * elf/dl-support.c (_dl_auxv): New variable.
19189 (_dl_aux_init): Initialize it.
19190 * manual/startup.texi (Auxiliary Vector): New node.
19191 * sysdeps/generic/bits/hwcap.h: New file.
19192 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19193 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19194 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19195 * sysdeps/sparc/sysdep.h: ... here. Include it.
19196 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19209 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19213 2012-05-19 David S. Miller <davem@davemloft.net>
19215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19217 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19220 * math/s_ccosh.c: Include <float.h>
19221 (__ccosh): Avoid internal overflow calculating sinh and cosh
19222 values before multiplying by sin and cos values.
19223 * math/s_ccoshf.c: Likewise.
19224 * math/s_ccoshl.c: Likewise.
19225 * math/s_csin.c: Likewise.
19226 * math/s_csinf.c: Likewise.
19227 * math/s_csinl.c: Likewise.
19228 * math/s_csinh.c: Likewise.
19229 * math/s_csinhf.c: Likewise.
19230 * math/s_csinhl.c: Likewise.
19231 * math/libm-test.inc (ccos_test): Add more tests.
19232 (ccosh_test): Likewise.
19233 (csin_test): Likewise.
19234 (csinh_test): Likewise.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update.
19236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19238 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19240 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19241 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19243 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19245 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19247 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19248 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19249 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19250 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19251 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19252 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19253 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19254 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19255 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19256 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19257 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19258 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19259 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19260 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19261 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19262 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19263 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19264 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19265 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19266 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19267 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19268 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19269 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19270 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19271 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19272 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19273 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19274 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19275 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19276 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19277 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19279 2012-05-18 Andreas Jaeger <aj@suse.de>
19281 * csu/.gitignore: Delete.
19283 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19285 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19286 (timex): Use __syscall_slong_t.
19288 2012-05-18 Andreas Jaeger <aj@suse.de>
19289 Carlos O'Donell <carlos_odonell@mentor.com>
19291 * manual/install.texi (Configuring and compiling): Update
19292 description about files modified in the source directory.
19293 * INSTALL: Regenerated.
19295 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19297 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19298 value. Use "or" to set return value to -1.
19299 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19300 negate return value.
19302 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19304 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19305 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19306 failure if the compiler has Graphite support disabled.
19307 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19309 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19310 CFLAGS-memmove.c): Likewise.
19311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19314 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19316 * sysdeps/x86_64/x32/_itoa.h: New file.
19318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19319 getdents system call only if kernel and user dirents have the
19320 same d_ino and d_off.
19322 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19323 LLONG_MAX != LONG_MAX.
19324 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19325 (_fitoa_word): Likewise.
19327 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19329 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19330 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19331 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19334 include <bits/wordsize.h>. Check __x86_64__ instead of
19336 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19337 if __x86_64__ is defined. Use anonymous union on fpstate.
19339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19342 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19344 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19345 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19346 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19347 Refer to _rtld_local_ro instead of _rtld_global_ro.
19348 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19350 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19352 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19354 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19355 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19356 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19358 * sysdeps/powerpc/powerpc32/dl-machine.c
19359 (__elf_machine_runtime_setup) [PROF]: Don't reference
19362 2012-05-18 Andreas Jaeger <aj@suse.de>
19364 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19365 function only available for GCCs before 3.4 since GCC 3.4
19366 introduced a builtin.
19368 (llrintf): Likewise.
19369 (llrint): Likewise.
19376 (nearbyint): Likewise.
19377 (nearbyintf): Likewise.
19381 (floorf): Likewise.
19383 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19385 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19386 on both fields and cast pointer to __syscall_ulong_t.
19388 * bits/types.h (__fsword_t): New type.
19389 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19390 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19392 (__FSWORD_T_TYPE): Likewise.
19393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19394 (__FSWORD_T_TYPE): Likewise.
19395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19396 (__FSWORD_T_TYPE): Likewise.
19397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19398 (__FSWORD_T_TYPE): Likewise.
19399 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19400 __SWORD_TYPE with __fsword_t.
19401 (statfs64): Likewise.
19403 2012-05-17 David S. Miller <davem@davemloft.net>
19405 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19407 2012-05-17 Andreas Jaeger <aj@suse.de>
19409 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19412 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19414 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19416 2012-05-17 Andreas Jaeger <aj@suse.de>
19418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19421 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19423 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19425 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19427 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19428 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19430 2012-05-17 Andreas Jaeger <aj@suse.de>
19431 Carlos O'Donell <carlos_odonell@mentor.com>
19434 * sysdeps/x86_64/multiarch/init-arch.h
19435 (bit_YMM_Usable): Rename to...
19436 (bit_AVX_Usable): ... this.
19437 (bit_FMA4_Usable): New macro.
19438 (bit_XMM_state): New macro.
19439 (bit_YMM_state): New macro.
19440 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19441 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19442 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19443 (CPUID_OSXSAVE): New macro.
19444 (CPUID_AVX): New macro.
19445 (CPUID_FMA4): New macro.
19446 (index_YMM_Usable): Rename to...
19447 (index_AVX_Usable): ... this.
19448 (HAS_AVX): Use HAS_ARCH_FEATURE.
19449 (HAS_FMA4): Likewise.
19450 (HAS_YMM_USABLE): Remove.
19451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19452 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19454 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19455 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19456 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19457 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19458 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19460 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19462 * math/libm-test.c: Support platforms without multiple rounding modes.
19463 * math/bug-nextafter.c: Support platforms without FP exceptions.
19464 * math/bug-nexttoward.c: Likewise.
19465 * math/test-fenv.c: Likewise.
19466 * math/test-misc.c: Likewise.
19467 * stdlib/bug-getcontext.c: Likewise.
19469 2012-05-17 Andreas Jaeger <aj@suse.de>
19471 * manual/examples/search.c (critter_cmp): Change signature to
19473 * manual/string.texi (Collation Functions): Likewise.
19475 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19477 * bits/types.h: Fold copyright years.
19478 * bits/typesizes.h: Likewise.
19479 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19483 * time/time.h: Likewise.
19485 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19488 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19489 in instead of returning them. Return void.
19490 (__libc_mallinfo): Accumulate over all arenas.
19491 (__malloc_stats): Adjust for change in int_mallinfo interface.
19493 2012-05-16 Roland McGrath <roland@hack.frob.com>
19496 * configure.in (NM): Add AC_CHECK_TOOL for it.
19497 (libc_extra_cflags): New substituted variable.
19498 Check for -fstack-protector being used implicitly.
19499 * configure: Regenerated.
19500 * config.make.in (config-extra-cflags): New variable,
19501 gets @libc_extra_cflags@.
19502 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19505 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19506 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19507 * configure: Regenerated.
19508 * config.make.in (CPPUNDEFS): New substituted variable.
19509 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19510 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19511 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19513 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19515 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19516 (mq_attr): Use __syscall_slong_t.
19518 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19520 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19521 Check __x86_64__ instead of __WORDSIZE.
19522 (_STAT_VER_LINUX): Likewise.
19523 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19524 __syscall_ulong_t and __syscall_slong_t.
19525 (stat64): Likewise.
19527 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19531 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19533 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19537 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19540 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19541 include <bits/wordsize.h>. Check __x86_64__ instead of
19543 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19545 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19547 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19548 include <bits/wordsize.h>. Check __x86_64__ instead of
19550 (user_regs_struct): Use "__extension__ unsigned long long"
19551 instead of "unsigned long" if __x86_64__ is defined.
19552 (user): Likewise. Pad after pointer field if __ILP32__ is
19555 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19557 * configure.in (makeinfo): Require version 4.5 or later. Allow
19559 * configure: Regenerated.
19560 * manual/install.texi (texinfo): Increase version requirement to
19562 * INSTALL: Regenerated.
19564 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19566 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19568 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19570 * sysdeps/x86_64/x32/ffs.c: New file.
19572 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19574 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19575 defined. Use __syscall_ulong_t.
19576 (shminfo): Use __syscall_ulong_t.
19577 (shm_info): Likewise.
19579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19582 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19584 (msgqnum_t): Use __syscall_ulong_t.
19585 (msglen_t): Likewise.
19586 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19589 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19590 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19592 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19594 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19595 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19597 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19600 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19601 include <bits/wordsize.h>. Check __x86_64__ instead of
19604 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19605 "unsigned long long int" if __x86_64__ is defined.
19606 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19608 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19609 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19610 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19612 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19614 (GET_PC): Cast to uintptr_t first.
19615 (GET_FRAME): Likewise.
19616 (GET_STACK): Likewise.
19618 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19619 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19620 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19621 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19622 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19623 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19624 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19625 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19626 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19627 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19628 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19629 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19630 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19631 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19632 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19633 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19634 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19635 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19636 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19637 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19638 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19639 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19640 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19641 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19642 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19645 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19646 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19648 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19650 * Makerules (+depfiles): Also collect depfiles from .oS in
19652 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19653 .oS, $(libnldbl-routines)).
19655 * Makerules (native-compile-mkdep-flags): Define.
19656 * sunrpc/Makefile (extra-objs): Add $(addprefix
19657 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19658 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19659 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19660 calling $(make-target-directory).
19662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19664 * bits/types.h (__snseconds_t): Removed.
19665 * time/time.h (struct timespec): Replace __snseconds_t with
19667 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19668 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19671 (__SNSECONDS_T_TYPE): Likewise.
19672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19673 (__SNSECONDS_T_TYPE): Likewise.
19674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19675 (__SNSECONDS_T_TYPE): Likewise.
19677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19679 * sysdeps/mach/hurd/bits/typesizes.h
19680 (__SYSCALL_SLONG_TYPE): New macro.
19681 (__SYSCALL_ULONG_TYPE): Likewise.
19683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19685 * bits/types.h (__syscall_slong_t): New type.
19686 (__syscall_ulong_t): Likewise.
19688 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19689 (__SYSCALL_ULONG_TYPE): Likewise.
19690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19691 (__SYSCALL_SLONG_TYPE): Likewise.
19692 (__SYSCALL_ULONG_TYPE): Likewise.
19693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19694 (__SYSCALL_SLONG_TYPE): Likewise.
19695 (__SYSCALL_ULONG_TYPE): Likewise.
19696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19697 (__SYSCALL_SLONG_TYPE): Likewise.
19698 (__SYSCALL_ULONG_TYPE): Likewise.
19700 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19702 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19703 Add sigaltstack-offsets.sym.
19704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19705 <sigaltstack-offsets.h>.
19706 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19707 longjmp_msg pointer.
19708 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19709 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19711 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19713 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19715 * elf/stackguard-macros.h: Remove file.
19716 * sysdeps/generic/stackguard-macros.h: New file.
19717 * sysdeps/i386/stackguard-macros.h: Likewise.
19718 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19719 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19720 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19721 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19722 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19723 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19724 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19725 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19726 <elf/stackguard-macros.h>.
19729 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19730 __aligned__ in attribute.
19731 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19732 (gregset_t): Likewise.
19734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19736 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19737 * sysdeps/x86_64/64/Implies-after: Here. New file.
19738 * sysdeps/x86_64/x32/Implies-after: New file.
19740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19742 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19743 and access return value for _dl_profile_fixup. Use R10_LP to
19746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19748 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19752 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19753 * sysdeps/x86_64/x32/sysdep.h: New file.
19755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19757 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19758 * sysdeps/x86_64/setjmp.S: Likewise.
19760 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19762 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19763 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19764 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19765 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19766 remove unused global constant.
19768 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19770 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19771 include of <not-cancel.h>.
19773 2012-05-15 Roland McGrath <roland@hack.frob.com>
19775 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19777 2012-05-15 Jeff Law <law@redhat.com>
19778 Andreas Jaeger <aj@suse.de>
19781 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19783 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19784 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19785 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19786 code changing __hst_map_handle.map.
19788 2012-05-15 Roland McGrath <roland@hack.frob.com>
19790 * configure.in (sysnames): Look for Implies-before and Implies-after
19792 * configure: Regenerated.
19794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19796 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19797 8-byte data alignment with LP_SIZE alignment.
19799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19801 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19806 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19810 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19811 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19812 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19814 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19818 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19819 (stackinfo_sub_sp): Likewise.
19821 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19828 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19833 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19838 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19842 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19843 into R11_LP and load __x86_64_shared_cache_size_half into
19846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19848 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19851 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19859 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19860 powerpc32/power7/fpu/s_logb.c via #include.
19861 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19862 powerpc32/power7/fpu/s_logbf.c via #include.
19863 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19864 powerpc32/power7/fpu/s_logbl.c via #include.
19866 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19868 * README.libm: Remove file.
19870 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19872 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19873 count for x32. Use R*_LP and omit operand-size suffix.
19875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19877 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19878 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19879 * sysdeps/x86_64/x32/shlib-versions: New file.
19881 2012-05-14 Roland McGrath <roland@hack.frob.com>
19883 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19884 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19885 Use _dl_fatal_printf instead.
19887 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19889 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19890 set if not set by the user. Do not allow for being unset.
19891 * sysdeps/unix/sysv/linux/configure: Regenerated.
19893 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19895 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19896 the `q' suffix from lea and replace .quad with ASM_ADDR.
19898 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19901 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19903 (PTR_DEMANGLE): Likewise.
19905 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19907 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19909 (ASM_ADDR): Likewise.
19910 (RAX_LP): Likewise.
19911 (RBP_LP): Likewise.
19912 (RBX_LP): Likewise.
19913 (RCX_LP): Likewise.
19914 (RDI_LP): Likewise.
19915 (RSI_LP): Likewise.
19916 (RSP_LP): Likewise.
19919 (R10_LP): Likewise.
19920 (R10_LP): Likewise.
19921 (R11_LP): Likewise.
19922 (R12_LP): Likewise.
19923 (R13_LP): Likewise.
19924 (R14_LP): Likewise.
19925 (R15_LP): Likewise.
19927 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19929 * sysdeps/x86_64/x32/dl-machine.h: New file.
19931 2012-05-14 Andreas Jaeger <aj@suse.de>
19933 * manual/Makefile (subdir): Remove export of subdir.
19934 (all): Remove target.
19935 (.PHONY): Remove all from list.
19936 (mkinstalldirs): Remove.
19937 (.PHONY): Remove installdirs from list.
19938 ($(inst_infodir)/libc.info): Use make-target-directory.
19939 (installdirs): Remove.
19940 (subdir_%): Remove.
19941 (glibc-targets): Remove.
19944 ($(objpfx)stubs ../po/manual.pot): Remove.
19945 ($(objpfx)stamp%): Remove.
19946 (make-target-directory): Remove.
19947 (subdir_install): Remove.
19948 (routines): Remove.
19955 * manual/.gitignore: Remove, it's not needed anymore.
19956 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19958 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19960 (texis): Renamed to $(objpfx)texis.
19961 (texis-path): New, contains path to generated files.
19962 (chapters.%): Use texis-path for complete path, add extra argument
19964 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19965 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19966 (summary,texi, stamp-summary): Use complete path of
19967 files. Generate files in build dir.
19968 (dir-add.texi): Build in build dir.
19969 (libm-err.texi,stamp-libm-err): Likewise.
19970 (version.texi, stamp-version): Likewise.
19971 (.%c.texi): Likewise.
19972 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19973 (mostlyclean): Remove target.
19974 (realclean): Remove target.
19975 (generated): Add new variable with contents from mostlyclean and
19976 realclean, remove entries duplicated in common-mostlyclean, add
19977 stamp-libm-err and stamp-version.
19978 (generated-dirs): Add libc directory.
19979 ($(inst_infodir)/libc.info): Install files from build dir.
19981 * manual/install.texi (Configuring and compiling): Adjust since
19982 the info files are not part of the tar ball anymore.
19984 2012-05-14 Andreas Jaeger <aj@suse.de>
19986 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19989 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19992 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19993 to 2.2.0 where earlier.
19994 * sysdeps/unix/sysv/linux/configure: Regenerated.
19995 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19996 Remove conditional code.
19997 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19998 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19999 Remove conditional code.
20000 [!__NR_lchown]: Likewise.
20001 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20002 [__NR_lchown]: Likewise.
20003 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20004 comment referencing __ASSUME_LCHOWN_SYSCALL.
20005 * sysdeps/unix/sysv/linux/i386/sigaction.c
20006 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20007 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20008 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20009 Remove conditional code.
20010 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20011 (__protocol_available): Remove #if 0 code.
20012 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20014 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20015 * sysdeps/unix/sysv/linux/kernel-features.h
20016 (__ASSUME_GETCWD_SYSCALL): Don't define.
20017 (__ASSUME_REALTIME_SIGNALS): Likewise.
20018 (__ASSUME_PREAD_SYSCALL): Likewise.
20019 (__ASSUME_PWRITE_SYSCALL): Likewise.
20020 (__ASSUME_POLL_SYSCALL): Likewise.
20021 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20022 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20024 (__ASSUME_SIOCGIFNAME): Don't define.
20025 (__ASSUME_MSG_NOSIGNAL): Likewise.
20026 (__ASSUME_SENDFILE): Define unconditionally.
20027 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20028 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20030 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20031 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20032 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20033 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20034 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20035 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20036 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20038 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20050 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20056 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20061 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20062 Remove conditional code.
20063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20064 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20065 Remove conditional code.
20066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20067 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20068 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20069 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20070 Remove conditional code.
20071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20072 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20073 Remove conditional code.
20074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20075 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20076 Remove conditional code.
20077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20078 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20079 Remove conditional code.
20080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20081 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20082 Remove conditional code.
20083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20084 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20085 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20087 * sysdeps/unix/sysv/linux/sigaction.c
20088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20090 * sysdeps/unix/sysv/linux/sigpending.c
20091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20093 * sysdeps/unix/sysv/linux/sigprocmask.c
20094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20096 * sysdeps/unix/sysv/linux/sigsuspend.c
20097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20099 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20100 (__libc_missing_rt_sigs): Remove.
20101 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20102 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20103 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20104 Remove conditional code.
20105 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20106 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20108 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20109 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20110 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20111 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20113 2012-05-14 Andreas Jaeger <aj@suse.de>
20115 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20116 it's not used in glibc.
20117 (__coshm1): Likewise.
20118 (__acosh1p): Likewise.
20121 * manual/string.texi (Copying and Concatenation): Add missing
20122 variable in concat example.
20123 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20128 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20129 __builtin_clzl with __builtin_clzll.
20131 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20134 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20137 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20139 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20140 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20141 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20142 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20144 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20146 * NEWS: Update ia64 info.
20148 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20150 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20153 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20155 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20156 * sysdeps/unix/syscalls.list (dup3): Likewise.
20157 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20158 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20160 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20162 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20163 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20165 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20167 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20169 (TLS_IE): Use mov/add instead of movq/addq to load thread
20171 (TLS_GD_PREFIX): New.
20174 2012-05-11 David S. Miller <davem@davemloft.net>
20176 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20177 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20178 (_FPU_SETCW): Likewise.
20180 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20182 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20183 is 32-byte aligned.
20185 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20188 * iconvdata/gb18030.c: Update tables.
20189 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20190 characters specially.
20191 (BODY for TO_LOOP): Add encoding of missing ranges.
20193 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20196 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20197 * sysdeps/mach/hurd/dup3.c: Likewise.
20198 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20199 * sysdeps/powerpc/memmove.c:: Likewise.
20201 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20204 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20206 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20208 * elf/elf.h (R_X86_64_RELATIVE64): New.
20209 (R_X86_64_NUM): Updated.
20210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20211 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20212 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20213 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20214 tst-quad1pie tst-quad2pie
20215 (modules-names): Add tst-quadmod1 tst-quadmod2.
20216 ($(objpfx)tst-quad1): New dependency.
20217 ($(objpfx)tst-quad2): Likewise.
20218 ($(objpfx)tst-quad1pie): Likewise.
20219 ($(objpfx)tst-quad2pie): Likewise.
20220 * sysdeps/x86_64/tst-quad1.c: New file.
20221 * sysdeps/x86_64/tst-quad1pie.c: New file.
20222 * sysdeps/x86_64/tst-quad2.c: Likewise.
20223 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20224 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20225 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20226 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20227 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20229 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20231 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20232 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20233 * streams/stropts.h (t_scalar_t): Define type.
20235 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20236 (_PATH_PRESERVE): Set to "/var/lib".
20237 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20239 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20242 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20243 if __dir_mkfile succeeded.
20245 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20246 checking for _hurd_dtablesize. Unlock it right after having
20247 finished _hurd_dtable allocation.
20249 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20251 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20252 * sysdeps/mach/hurd/configure: Regenerated.
20253 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20254 special-casing to...
20255 * sysdeps/gnu/configure.in: ... this new file.
20256 * sysdeps/unix/sysv/linux/configure: Regenerated.
20257 * sysdeps/gnu/configure: New generated file.
20259 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20260 for Linux: use nsec instead of usec, as well as:
20261 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20262 members of type struct timespec.
20263 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20265 (struct stat64): Likewise.
20266 (_STATBUF_ST_NSEC): New macro.
20267 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20269 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20270 __strtoul_internal rather than strtoul.
20272 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20274 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20279 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20280 which preserves existing values.
20281 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20283 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20285 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20286 TIMEOUT values. Return EINVAL for NFDS values either negative or
20287 greater than FD_SETSIZE.
20289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20291 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20292 allocated, call __vm_protect to finish enabling the existing space, and
20293 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20294 allocate the remainder.
20296 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20298 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20299 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20303 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20304 sysdeps/mach/hurd/readlink.c.
20306 * posix/tst-sysconf.c (posix_options): Only use
20307 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20308 _POSIX_SYNCHRONIZED_IO when they are defined
20309 * sysdeps/mach/hurd/bits/posix_opt.h:
20310 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20311 (_XOPEN_REALTIME): Undefine macro.
20312 (_XOPEN_REALTIME_THREADS): Undefine macro.
20313 (_XOPEN_SHM): Undefine macro.
20314 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20316 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20318 (_POSIX_ASYNC_IO): Undefine macro.
20319 (_POSIX_PRIORITIZED_IO): Undefine macro.
20320 (_POSIX_SPIN_LOCKS): Define macro to -1.
20322 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20323 SA_NODEFER, SA_RESETHAND.
20324 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20325 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20330 * elf/Makefile (pldd-modules): Define unconditionally.
20332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20334 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20336 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20338 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20339 Return ENOENT when name is empty.
20340 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20342 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20344 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20346 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20348 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20350 Fix mlock in all cases except non-readable pages.
20351 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20352 instead of VM_PROT_ALL as parameter to __vm_wire function.
20354 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20355 (__mkdir): When path is `/', just fail with EEXIST.
20356 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20360 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20361 <sys/uio.h> (for writev).
20362 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20363 and <sys/param.h> (for MIN).
20365 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20367 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20368 REQUESTED_TIME. Properly set the remaining time and return EINTR
20371 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20373 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20374 Depend on against $(link-rpcuserlibs).
20376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20378 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20379 (__libc_stack_end): Do not use attribute_relro.
20380 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20381 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20382 to libthread-provided value.
20383 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20386 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20389 * bits/libc-lock.h (__libc_once_get): New macro.
20390 * sysdeps/mach/bits/libc-lock.h: Likewise.
20391 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20393 instead of using implementation details.
20395 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20396 * libio/freopen.c: Likewise.
20397 * libio/freopen64.c: Likewise.
20398 * misc/syslog.c: Likewise.
20399 * nscd/connections.c: Likewise.
20400 * nscd/netgroupcache.c: Likewise.
20401 * sysdeps/posix/getcwd.c: Likewise.
20403 2012-05-10 Roland McGrath <roland@hack.frob.com>
20405 * math/w_ilogbf.c: Add #include <limits.h>.
20407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20409 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20410 path instead of returning without unlocking.
20412 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20413 immediate-write ioctls.
20414 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20418 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20419 __builtin_frame_address instead of making assumptions about the
20420 location of the return address relative to DATA. Force early load of
20421 the return address.
20422 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20423 __builtin_frame_address.
20426 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20427 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20428 implement dup3 and do some further code clean-ups.
20429 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20430 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20434 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20436 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20437 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20438 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20439 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20440 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20443 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20444 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20445 when handler == SIG_ERR, not when handler != SIG_ERR.
20447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20449 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20450 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20453 accept4 for GNU Hurd.
20454 * include/sys/socket.h (__libc_accept4): New prototype.
20455 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20456 to implement __libc_accept4.
20457 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20459 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20461 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20462 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20463 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20464 signal-defines.sym.
20466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20468 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20470 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20472 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20473 assertion on O_CLOEXEC flag.
20474 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20475 * hurd/intern-fd.c: Likewise.
20476 * hurd/port2fd.c: Likewise.
20478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20481 * bits/in.h (IPV6_PKTINFO): Define new macro.
20482 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20484 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20489 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20491 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20492 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20495 * math/libm-test.inc (logb_test) : Additional logb tests.
20497 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20498 Andreas Jaeger <aj@suse.de>
20500 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20501 * configure: Regenerated.
20502 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20503 * config.make.in (link-obsolete-rpc): New substituted variable.
20504 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20505 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20506 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20507 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20508 so that libc.a contains the symbols.
20509 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20510 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20511 * sunrpc/auth_none.c: Likewise.
20512 * sunrpc/auth_unix.c: Likewise.
20513 * sunrpc/authdes_prot.c: Likewise.
20514 * sunrpc/authuxprot.c: Likewise.
20515 * sunrpc/clnt_gen.c: Likewise.
20516 * sunrpc/clnt_perr.c: Likewise.
20517 * sunrpc/clnt_raw.c: Likewise.
20518 * sunrpc/clnt_simp.c: Likewise.
20519 * sunrpc/clnt_tcp.c: Likewise.
20520 * sunrpc/clnt_udp.c: Likewise.
20521 * sunrpc/clnt_unix.c: Likewise.
20522 * sunrpc/des_crypt.c: Likewise.
20523 * sunrpc/des_soft.c: Likewise.
20524 * sunrpc/get_myaddr.c: Likewise.
20525 * sunrpc/key_call.c: Likewise.
20526 * sunrpc/key_prot.c: Likewise.
20527 * sunrpc/netname.c: Likewise.
20528 * sunrpc/pm_getmaps.c: Likewise.
20529 * sunrpc/pm_getport.c: Likewise.
20530 * sunrpc/pmap_clnt.c: Likewise.
20531 * sunrpc/pmap_prot.c: Likewise.
20532 * sunrpc/pmap_prot2.c: Likewise.
20533 * sunrpc/pmap_rmt.c: Likewise.
20534 * sunrpc/publickey.c: Likewise.
20535 * sunrpc/rpc_cmsg.c: Likewise.
20536 * sunrpc/rpc_common.c: Likewise.
20537 * sunrpc/rpc_dtable.c: Likewise.
20538 * sunrpc/rpc_prot.c: Likewise.
20539 * sunrpc/rpc_thread.c: Likewise.
20540 * sunrpc/rtime.c: Likewise.
20541 * sunrpc/svc.c: Likewise.
20542 * sunrpc/svc_auth.c: Likewise.
20543 * sunrpc/svc_raw.c: Likewise.
20544 * sunrpc/svc_run.c: Likewise.
20545 * sunrpc/svc_tcp.c: Likewise.
20546 * sunrpc/svc_udp.c: Likewise.
20547 * sunrpc/svc_unix.c: Likewise.
20548 * sunrpc/svcauth_des.c: Likewise.
20549 * sunrpc/xcrypt.c: Likewise.
20550 * sunrpc/xdr.c: Likewise.
20551 * sunrpc/xdr_array.c: Likewise.
20552 * sunrpc/xdr_float.c: Likewise.
20553 * sunrpc/xdr_intXX_t.c: Likewise.
20554 * sunrpc/xdr_mem.c: Likewise.
20555 * sunrpc/xdr_rec.c: Likewise.
20556 * sunrpc/xdr_ref.c: Likewise.
20557 * sunrpc/xdr_sizeof.c: Likewise.
20558 * sunrpc/xdr_stdio.c: Likewise.
20560 2012-05-10 Roland McGrath <roland@hack.frob.com>
20562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20563 change. Update copyright years.
20565 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20567 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20569 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20570 Joseph Myers <joseph@codesourcery.com>
20571 Paul Pluzhnikov <ppluzhnikov@google.com>
20574 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20576 [cross-compiling] (extra-libs): Likewise.
20577 [cross-compiling] (extra-libs-others): Likewise.
20578 [cross-compiling] (librpcsvc-routines): Likewise.
20579 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20580 [cross-compiling] (omit-deps): Likewise.
20581 (sunrpc-CPPFLAGS): New variable.
20582 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20583 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20584 (cross-rpcgen-objs): New variable.
20585 (extra-objs): Append $(cross-rpcgen-objs).
20586 ($(cross-rpcgen-objs)): New rule.
20587 ($(objpfx)cross-rpcgen): Likewise.
20588 (rpcgen-cmd): Define to use $(built-program-file). Expand
20590 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20591 ($(objpfx)x%.stmp): Likewise.
20592 * sunrpc/proto.h [IS_IN_build] (_): Define.
20593 [IS_IN_build] (_libc_intl_domainname): Likewise.
20595 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20598 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20599 and R_X86_64_TPOFF64.
20601 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20603 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20604 sysdeps/unix/sysv/syscalls.list.
20607 * sysdeps/unix/sysv/syscalls.list: Remove file.
20609 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20612 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20613 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20614 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20615 (__LC_IDENTIFICATION): Make these macros useful in #if
20616 expressions, as required by C99.
20618 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20620 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20621 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20624 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20626 * stdlib/longlong.h: Updated from GCC.
20628 2012-05-09 Andreas Jaeger <aj@suse.de>
20630 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20631 default is first entry.
20632 (run_mode): Set type.
20633 (main): Remove informal message about syslog.
20634 (options): Fix typo.
20637 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20640 (llrintf): Likewise.
20641 (llrint): Likewise.
20644 (nearbyint): Likewise.
20645 (nearbyintf): Likewise.
20647 2012-05-09 Andreas Jaeger <aj@suse.de>
20648 Pedro Alves <palves@redhat.com>
20650 * nscd/nscd.c (run_mode): Use enum.
20651 (main): Cleanup coding style issue.
20653 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20654 Andreas Jaeger <aj@suse.de>
20656 * nscd/nscd.c (go_background): Replaced with...
20657 (run_mode): ... this.
20658 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20659 (options): Add -F --foreground.
20660 (main): Implement it.
20661 (parse_opt): Parse it.
20663 2012-05-09 Andreas Jaeger <aj@suse.de>
20666 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20667 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20668 -Wconversion warning.
20669 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20672 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20674 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20676 (LC_ALL): Use macro-int-constant.
20677 (LC_COLLATE): Likewise.
20678 (LC_CTYPE): Likewise.
20679 (LC_MESSAGES): Likewise.
20680 (LC_MONETARY): Likewise.
20681 (LC_NUMERIC): Likewise.
20682 (LC_TIME): Likewise.
20683 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20684 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20686 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20688 [C99-based standards] (float_t): Expect type.
20689 [C99-based standards] (double_t): Expect type.
20690 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20692 [C99-based standards] (HUGE_VALL): Likewise.
20693 [C99-based standards] (INFINITY): Likewise.
20694 [C99-based standards] (NAN): Likewise.
20695 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20696 [C99-based standards] (FP_NAN): Likewise.
20697 [C99-based standards] (FP_NORMAL): Likewise.
20698 [C99-based standards] (FP_SUBNORMAL): Likewise.
20699 [C99-based standards] (FP_ZERO): Likewise.
20700 [C99-based standards] (FP_FAST_FMA): Use
20701 optional-macro-int-constant. Specify type. Require == 1.
20702 [C99-based standards] (FP_FAST_FMAF): Likewise.
20703 [C99-based standards] (FP_FAST_FMAL): Likewise.
20704 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20705 [C99-based standards] (FP_ILOGBNAN): Likewise.
20706 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20708 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20709 [C99-based standards] (math_errhandling): Specify type.
20710 [ISO99 || ISO11] (signgam): Do not allow.
20711 [non-C99-based standards] (copysignf): Do not allow.
20712 [non-C99-based standards] (exp2f): Likewise.
20713 [non-C99-based standards] (log2f): Likewise.
20714 [non-C99-based standards] (modff): Allow.
20715 [non-C99-based standards] (erff): Do not allow.
20716 [non-C99-based standards] (erfcf): Likewise.
20717 [non-C99-based standards] (gammaf): Likewise.
20718 [non-C99-based standards] (hypotf): Likewise.
20719 [non-C99-based standards] (j0f): Likewise.
20720 [non-C99-based standards] (j1f): Likewise.
20721 [non-C99-based standards] (jnf): Likewise.
20722 [non-C99-based standards] (lgammaf): Likewise.
20723 [non-C99-based standards] (tgammaf): Likewise.
20724 [non-C99-based standards] (y0f): Likewise.
20725 [non-C99-based standards] (y1f): Likewise.
20726 [non-C99-based standards] (ynf): Likewise.
20727 [non-C99-based standards] (isnanf): Likewise.
20728 [non-C99-based standards] (acoshf): Likewise.
20729 [non-C99-based standards] (asinhf): Likewise.
20730 [non-C99-based standards] (atanhf): Likewise.
20731 [non-C99-based standards] (cbrtf): Likewise.
20732 [non-C99-based standards] (expm1f): Likewise.
20733 [non-C99-based standards] (ilogbf): Likewise.
20734 [non-C99-based standards] (log1pf): Likewise.
20735 [non-C99-based standards] (logbf): Likewise.
20736 [non-C99-based standards] (nextafterf): Likewise.
20737 [non-C99-based standards] (remainderf): Likewise.
20738 [non-C99-based standards] (rintf): Likewise.
20739 [non-C99-based standards] (scalbf): Likewise.
20740 [non-C99-based standards] (copysignl): Likewise.
20741 [non-C99-based standards] (exp2l): Likewise.
20742 [non-C99-based standards] (log2l): Likewise.
20743 [non-C99-based standards] (modfl): Allow.
20744 [non-C99-based standards] (erfl): Do not allow.
20745 [non-C99-based standards] (erfcl): Likewise.
20746 [non-C99-based standards] (gammal): Likewise.
20747 [non-C99-based standards] (hypotl): Likewise.
20748 [non-C99-based standards] (j0l): Likewise.
20749 [non-C99-based standards] (j1l): Likewise.
20750 [non-C99-based standards] (jnl): Likewise.
20751 [non-C99-based standards] (lgammal): Likewise.
20752 [non-C99-based standards] (tgammal): Likewise.
20753 [non-C99-based standards] (y0l): Likewise.
20754 [non-C99-based standards] (y1l): Likewise.
20755 [non-C99-based standards] (ynl): Likewise.
20756 [non-C99-based standards] (isnanl): Likewise.
20757 [non-C99-based standards] (acoshl): Likewise.
20758 [non-C99-based standards] (asinhl): Likewise.
20759 [non-C99-based standards] (atanhl): Likewise.
20760 [non-C99-based standards] (cbrtl): Likewise.
20761 [non-C99-based standards] (expm1l): Likewise.
20762 [non-C99-based standards] (ilogbl): Likewise.
20763 [non-C99-based standards] (log1pl): Likewise.
20764 [non-C99-based standards] (logbl): Likewise.
20765 [non-C99-based standards] (nextafterl): Likewise.
20766 [non-C99-based standards] (remainderl): Likewise.
20767 [non-C99-based standards] (rintl): Likewise.
20768 [non-C99-based standards] (scalbl): Likewise.
20769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20770 [non-C99-based standards] (FP_*): Do not allow.
20771 [C99-based standards] (FP_*): Change to
20772 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20773 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20775 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20776 (SIG_ERR): Likewise.
20777 [X/Open-based standards] (SIG_HOLD): Likewise.
20778 (SIG_IGN): Likewise.
20779 (SIGABRT): Use macro-int-constant. Specify type. Require
20781 (SIGFPE): Likewise.
20782 (SIGILL): Likewise.
20783 (SIGINT): Likewise.
20784 (SIGSEGV): Likewise.
20785 (SIGTER): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20804 [X/Open-based standards] (SIGTRAP): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20807 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20809 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20812 2012-05-08 Ian Wienand <ianw@vmware.com>
20815 * time/tzset.c (__tzset_parse_tz): Update default rules for
20816 daylight time changes in the Energy Policy Act of 2005.
20818 2012-05-09 Andreas Jaeger <aj@suse.de>
20821 * elf/ldconfig.c (parse_conf): Change string to make clear that
20822 ldconfig only issued a warning if ld.so.conf does not exist.
20824 2012-05-08 David S. Miller <davem@davemloft.net>
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20827 movxtod instead of popping the value on the stack.
20829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20831 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20833 * config.h.in: Add HAVE_ARM_PCS_VFP.
20835 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20838 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20839 checking but the checks are disabled for any reason.
20841 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20843 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20844 and ELF64_R_TYPE with ELFW(R_TYPE).
20846 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20848 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20849 (ulimit): Likewise.
20851 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20852 (settimeofday): Likewise.
20854 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20856 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20857 a struct th_u2 inside the union, and move tu_block/tu_code into
20858 a new th_u3 union of tu_block/tu_code inside of that. Move
20859 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20860 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20861 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20862 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20863 (th_stuff): Change to th_u1.tu_stuff.
20865 (th_msg): Change to th_u1.th_u2.tu_data.
20867 2012-05-07 David S. Miller <davem@davemloft.net>
20869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20872 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20873 (SETUP_PIC_REG): Use it.
20874 (SETUP_PIC_REG_LEAF): Use it.
20876 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20880 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20882 (EXPL_FINITE): Likewise.
20883 (FLDLOG): Likewise.
20884 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20885 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20887 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20889 (EXPL_FINITE): Likewise.
20890 (FLDLOG): Likewise.
20891 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20892 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20894 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20895 test of -max_value argument for long double.
20896 * sysdeps/i386/fpu/libm-test-ulps: Update.
20897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20899 2012-05-06 David S. Miller <davem@davemloft.net>
20901 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20902 quad soft-float symbols whose references which are compiler
20904 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20906 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20912 (EXPL_FINITE): Likewise.
20913 (FLDLOG): Likewise.
20916 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20917 Adjust comments for base varying.
20918 (__expl_finite): Change alias to EXPL_FINITE.
20919 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20921 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20922 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20924 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20925 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20927 (EXPL_FINITE): Likewise.
20928 (FLDLOG): Likewise.
20931 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20932 Adjust comments for base varying.
20933 (__expl_finite): Change alias to EXPL_FINITE.
20934 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20939 * math/libm-test.inc (check_float_internal): Correct ulp
20940 calculation for subnormal expected results.
20942 2012-05-06 Andreas Jaeger <aj@suse.de>
20944 * Makeconfig (+math-flags): New, set to -frounding-math.
20945 (+cflags): Add +math-flags so that all of glibc gets compiled with
20948 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20950 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20952 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20958 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20959 (__ieee754_expl): Allow for and saturate large arguments.
20960 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20961 (u_threshold): Likewise.
20962 (__exp): Call __ieee754_exp before checking for overflow and
20964 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20965 (u_threshold): Likewise.
20966 (__expf): Call __ieee754_expf before checking for overflow and
20968 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20969 (u_threshold): Likewise.
20970 (__expl): Call __ieee754_expl before checking for overflow and
20972 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20973 (__ieee754_expl): Allow for and saturate large arguments.
20974 * math/libm-test.inc (exp_test): Add another test. Do not allow
20975 missing overflow exception on overflow.
20976 (expm1_test): Do not allow missing overflow exception on overflow.
20978 * sysdeps/i386/fpu/e_expl.c: Move to ...
20979 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20980 rather than using inline asm.
20981 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20982 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20983 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20985 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20988 (signal): Likewise.
20992 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20994 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20995 sysdeps/unix/common/syscalls.list.
20996 (fchmod): Likewise.
20997 (fchown): Likewise.
20998 (ftruncate): Likewise.
20999 (getrusage): Likewise.
21000 (gettimeofday): Likewise.
21001 (setpgid): Likewise.
21002 (setregid): Likewise.
21003 (setreuid): Likewise.
21004 (sigaction): Likewise.
21005 (truncate): Likewise.
21006 (vhangup): Likewise.
21007 * sysdeps/unix/common/syscalls.list: Remove file.
21008 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21009 * sysdeps/unix/sysv/linux/Implies: Likewise.
21011 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21013 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21015 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21019 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21022 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21025 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21028 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21031 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21034 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21037 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21041 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21045 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21048 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21052 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21056 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21058 * sysdeps/unix/common/bits/dirent.h: Remove file.
21059 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21061 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21062 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21063 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21064 * sysdeps/unix/bsd/isatty.c: Likewise.
21065 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21066 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21067 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21069 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21073 long double comparison inaccuracies.
21074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21077 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21079 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21080 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21082 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21085 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21086 nonzero digits before rounding a hex value.
21087 * stdlib/tst-strtod.c (tests): Add another test.
21089 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21091 * sysdeps/s390/fpu/libm-test-ulps: Update.
21093 2012-05-03 Andreas Jaeger <aj@suse.de>
21095 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21096 does not get optimized out.
21097 (malloc_opt_barrier): New.
21099 2012-05-03 Andreas Jaeger <aj@suse.de>
21100 Roland McGrath <roland@hack.frob.com>
21102 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21103 intermediate file deletion.
21104 (generated): Add .symlist files.
21106 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21109 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21110 Redirect under this condition.
21111 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21112 [__USE_GNU] (__dprintf_chk): Not under this condition.
21113 [__USE_GNU] (__vdprintf_chk): Likewise.
21114 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21115 under this condition.
21116 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21117 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21118 [__USE_XOPEN2K8] (vdprintf): Likewise.
21119 [__USE_GNU] (__dprintf_chk): Not under this condition.
21120 [__USE_GNU] (__vdprintf_chk): Likewise.
21121 [__USE_GNU] (dprintf): Likewise.
21122 [__USE_GNU] (vdprintf): Likewise.
21124 2012-05-03 Roland McGrath <roland@hack.frob.com>
21126 * elf/Makefile (common-generated): Set this instead of generated for
21127 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21128 $(all-built-dso)-derived lists.
21130 2012-05-03 Andreas Jaeger <aj@suse.de>
21132 * sysdeps/i386/fpu/libm-test-ulps: Update.
21135 * FAQ.in: Likewise.
21136 * scripts/gen-FAQ.pl: Likewise.
21137 * manual/install.texi (Installation): Point to online location of
21139 * Makefile (files-for-dist): Remove FAQ.
21142 2012-05-02 Allan McRae <allan@archlinux.org>
21144 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21145 (LDFLAGS-reldepmod5.so): Likewise.
21146 (LDFLAGS-reldep6mod1.so): Likewise.
21147 (LDFLAGS-reldep6mod4.so): Likewise.
21148 (LDFLAGS-reldep8mod3.so): Likewise.
21149 (LDFLAGS-unload4mod1.so): Likewise.
21150 (LDFLAGS-unload4mod2.so): Likewise.
21151 (LDFLAGS-tst-initorder): Likewise.
21152 (LDFLAGS-tst-initordera2.so): Likewise.
21153 (LDFLAGS-tst-initordera3.so): Likewise.
21154 (LDFLAGS-tst-initordera4.so): Likewise.
21155 (LDFLAGS-tst-initorderb2.so): Likewise.
21156 (LDFLAGS-noload): Likewise.
21157 (LDFLAGS-next): Likewise.
21158 (LDFLAGS-order2mod1.so): Likewise.
21159 (LDFLAGS-order2mod2.so): Likewise.
21160 (LDFLAGS-tst-initorder2): Likewise.
21161 (LDFLAGS-tst-initorder2a.so): Likewise.
21162 (LDFLAGS-tst-initorder2b.so): Likewise.
21163 (LDFLAGS-tst-initorder2c.so): Likewise.
21164 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21166 2012-05-02 David S. Miller <davem@davemloft.net>
21168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21170 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21173 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21175 2012-05-02 Andreas Jaeger <aj@suse.de>
21177 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21178 since we manipulate rounding mode.
21179 (CPPFLAGS-test-idouble.c): Likewise.
21180 (CPPFLAGS-test-ifloat.c): Likewise.
21181 (CFLAGS-test-ldouble.c): Likewise.
21182 (CFLAGS-test-double.c): Likewise.
21183 (CFLAGS-test-float.c): Likewise.
21184 (CFLAGS-test-misc.c): Likewise.
21185 (CFLAGS-test-test-fenv.c): Likewise.
21187 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21191 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21192 comparisons to determine direction to adjust input.
21194 2012-05-01 Roland McGrath <roland@hack.frob.com>
21196 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21197 output to the target.
21199 * scripts/localplt.awk: New file.
21200 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21201 (check-localplt-CFLAGS): Variable removed.
21202 ($(all-built-dso:=.jmprel)): New static pattern rule.
21203 (generated): Add those targets.
21204 (localplt-built-dso): New variable.
21205 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21207 * elf/check-localplt.c: File removed.
21209 * scripts/check-execstack.awk: New file.
21210 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21211 (check-execstack-CFLAGS): Variable removed.
21212 ($(objpfx)check-execstack.h): Target removed.
21213 ($(objpfx)execstack-default): New target.
21214 (generated): Add that instead of check-execstack.h.
21215 ($(all-built-dso:=.phdr)): New static pattern rule.
21216 (generated): Add those targets.
21217 * elf/check-execstack.c: File removed.
21219 * scripts/check-textrel.awk: New file.
21220 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21221 (check-textrel-CFLAGS): Variable removed.
21222 (all-built-dso): Use := to define.o
21223 ($(all-built-dso:=.dyn)): New static pattern rule.
21224 (generated): Add those targets.
21225 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21226 * config.make.in (READELF): New substituted variable.
21227 * elf/check-textrel.c: File removed.
21229 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21231 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21233 * conform/data/ctype.h-data [C99-based standards] (isblank):
21235 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21236 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21237 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21238 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21239 Specify type. Require positive value.
21240 (EILSEQ): Likewise.
21241 (ERANGE): Likewise.
21242 [ISO || POSIX] (EILSEQ): Do not expect.
21243 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21244 Specify type. Require positive value.
21245 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21246 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21247 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21248 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21249 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21251 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21252 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21254 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21256 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21257 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21258 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21263 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21265 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21266 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21267 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21268 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21269 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21270 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21271 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21272 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21273 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21274 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21275 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21276 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21277 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21278 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21279 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21280 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21281 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21282 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21283 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21284 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21285 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21286 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21287 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21288 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21289 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21290 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21291 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21292 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21293 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21294 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21295 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21296 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21297 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21298 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21299 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21300 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21301 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21302 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21303 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21304 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21305 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21306 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21307 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21308 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21309 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21310 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21311 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21312 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21313 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21314 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21315 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21316 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21317 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21319 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21320 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21321 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21323 (FLT_ROUNDS): Expect as macro, not constant.
21324 (FLT_MANT_DIG): Use macro-int-constant.
21325 (DBL_MANT_DIG): Likewise.
21326 (LDBL_MANT_DIG): Likewise.
21327 (FLT_DIG): Likewise.
21328 (DBL_DIG): Likewise.
21329 (LDBL_DIG): Likewise.
21330 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21331 (DBL_MIN_EXP): Likewise.
21332 (LDBL_MIN_EXP): Likewise.
21333 (FLT_MAX_EXP): Use macro-int-constant.
21334 (DBL_MAX_EXP): Likewise.
21335 (LDBL_MAX_EXP): Likewise.
21336 (FLT_MAX_10_EXP): Likewise.
21337 (DBL_MAX_10_EXP): Likewise.
21338 (LDBL_MAX_10_EXP): Likewise.
21339 (FLT_MAX): Use macro-constant.
21340 (DBL_MAX): Likewise.
21341 (LDBL_MAX): Likewise.
21342 (FLT_EPSILON): Use macro-constant. Give upper bound.
21343 (DBL_EPSILON): Likewise.
21344 (LDBL_EPSILON): Likewise.
21345 (FLT_MIN): Likewise.
21346 (DBL_MIN): Likewise.
21347 (LDBL_MIN): Likewise.
21348 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21349 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21350 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21351 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21352 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21353 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21354 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21355 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21356 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21357 [ISO11] (FLT_TRUE_MIN): Likewise.
21358 [ISO11] (LDBL_TRUE_MIN): Likewise.
21359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21360 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21361 (SCHAR_MIN): Use macro-int-constant. Specify type.
21362 (SCHAR_MAX): Likewise.
21363 (UCHAR_MAX): Likewise.
21364 (CHAR_MIN): Likewise.
21365 (CHAR_MAX): Likewise.
21366 (MB_LEN_MAX): Use macro-int-constant.
21367 (SHRT_MIN): Use macro-int-constant. Specify type.
21368 (SHRT_MAX): Likewise.
21369 (USHRT_MAX): Likewise.
21370 (INT_MAX): Likewise.
21371 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21373 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21375 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21377 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21378 bound negative. Suffix upper bound with "L".
21379 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21381 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21383 [C99-based standards] (LLONG_MAX): Likewise.
21384 [C99-based standards] (ULLONG_MAX): Likewise.
21385 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21387 [ISO11] (max_align_t): Require type.
21388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21390 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21391 from $CFLAGS, without defining away __attribute__ calls.
21392 (checknamespace): Use $CFLAGS_namespace.
21394 * conform/conformtest.pl (@keywords): Only include C99 keywords
21395 for standards based on C99 or C11.
21397 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21399 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21402 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21403 usability of symbols in #if.
21405 * conform/conformtest.pl: If macro or constant types start
21406 "promoted:", expect the symbol to be of the following type
21407 promoted by the integer promotions.
21409 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21410 in one place. Also handle "macro-constant".
21412 * conform/conformtest.pl: Only accept expected macro values with
21413 "==". Parse all "macro" lines in one place.
21414 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21416 * conform/conformtest.pl: Handle braced types on "constant" lines
21417 instead of handling "typed-constant".
21418 * conform/data/signal.h-data: Use "constant" instead of
21421 * conform/conformtest.pl: Handle "optional-" at start of lines in
21422 one place rather than duplicating several cases. Handle each
21423 format of "macro" line with initial "optional-".
21425 * conform/conformtest.pl: Only accept expected constant or
21426 optional-constant values with "==". Parse all "constant" lines in
21427 one place. Parse all "optional-constant" lines in one place.
21428 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21429 * conform/data/fmtmsg.h-data: Likewise.
21430 * conform/data/netinet/in.h-data: Likewise.
21431 * conform/data/tar.h-data: Likewise.
21432 * conform/data/limits.h-data: Use "==" form on "constant" and
21433 "optional-constant" lines.
21435 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21436 Use -std=c99 for XOPEN2K.
21437 (@knownproblems): Remove.
21438 (newtoken): Don't check %isknown.
21440 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21441 Do not expect macro.
21442 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21443 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21445 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21446 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21454 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21455 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21458 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21459 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21472 [XPG3] (acosh): Likewise.
21473 [XPG3] (asinh): Likewise.
21474 [XPG3] (atanh): Likewise.
21475 [XPG3] (cbrt): Likewise.
21476 [XPG3] (expm1): Likewise.
21477 [XPG3] (ilogb): Likewise.
21478 [XPG3] (log1p): Likewise.
21479 [XPG3] (logb): Likewise.
21480 [XPG3] (nextafter): Likewise.
21481 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21482 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21483 [XPG3] (remainder): Likewise.
21484 [XPG3] (rint): Likewise.
21485 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21486 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21487 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21488 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21489 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21490 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21491 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21492 [UNIX98 || XOPEN2K] (scalb): Expect.
21493 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21494 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21495 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21496 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21497 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21498 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21500 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21501 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21502 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21503 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21505 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21506 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21507 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21509 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21510 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21511 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21512 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21513 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21514 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21515 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21516 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21517 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21518 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21519 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21520 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21521 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21522 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21523 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21524 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21525 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21526 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21527 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21528 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21529 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21530 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21531 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21532 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21533 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21534 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21535 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21536 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21537 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21538 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21542 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21543 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21546 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21547 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21551 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21552 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21553 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21558 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21559 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21560 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21561 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21562 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21563 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21564 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21565 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21566 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21567 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21568 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21569 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21570 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21571 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21572 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21573 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21574 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21575 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21576 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21577 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21578 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21579 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21580 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21581 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21582 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21583 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21584 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21585 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21586 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21587 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21588 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21589 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21590 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21591 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21592 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21593 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21595 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21596 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21597 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21598 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21599 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21600 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21601 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21602 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21604 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21605 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21606 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21607 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21608 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21609 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21610 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21611 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21612 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21613 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21614 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21615 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21616 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21617 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21618 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21619 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21620 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21621 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21622 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21623 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21624 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21625 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21626 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21627 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21628 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21629 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21631 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21632 _XOPEN_SOURCE_EXTENDED for XPG4.
21634 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21636 * Makeconfig (localtime): Remove variable.
21637 (inst_localtime-file): Likewise.
21639 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21660 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21664 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21665 comparisons to determine direction to adjust input.
21666 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21667 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21668 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21672 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21677 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21679 * math/libm-test.inc (nexttoward_test): Add more tests.
21681 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21684 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21685 in version GLIBC_2.1, not GLIBC_2.0.
21686 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21689 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21692 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21694 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21695 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21696 * math/libm-test.inc (acos_test): Add more tests.
21697 (asin_test): Likewise.
21698 * sysdeps/i386/fpu/libm-test-ulps: Update.
21699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21702 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21704 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21705 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21706 * math/libm-test.inc (acos_test_tonearest): New function.
21707 (acos_test_towardzero): Likewise.
21708 (acos_test_downward): Likewise.
21709 (acos_test_upward): Likewise.
21710 (asin_test_tonearest): Likewise.
21711 (asin_test_towardzero): Likewise.
21712 (asin_test_downward): Likewise.
21713 (asin_test_upward): Likewise.
21714 (main): Call the new functions.
21715 * sysdeps/i386/fpu/libm-test-ulps: Update.
21716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21720 * math/e_exp10.c: Include <float.h>.
21721 (__ieee754_exp10): Handle underflow here rather than multiplying
21722 large negative argument by M_LN10.
21723 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21725 * math/e_exp10l.c: Include <float.h>.
21726 (__ieee754_exp10l): Handle underflow here rather than multiplying
21727 large negative argument by M_LN10l.
21728 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21729 spurious overflow exception on underflow.
21731 2012-04-29 Marek Polacek <polacek@redhat.com>
21733 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21734 (__fortify_function): New macro.
21735 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21736 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21737 __extern_always_inline.
21738 * libio/bits/stdio2.h: Likewise.
21739 * libio/bits/stdio.h: Likewise.
21740 * string/string.h: Likewise.
21741 * string/bits/string3.h: Likewise.
21742 * include/stdio.h: Likewise.
21743 * stdlib/bits/stdlib.h: Likewise.
21744 * stdlib/stdlib.h: Likewise.
21745 * rt/bits/mqueue2.h: Likewise.
21746 * rt/mqueue.h: Likewise.
21747 * posix/bits/unistd.h: Likewise.
21748 * posix/unistd.h: Likewise.
21749 * io/bits/poll2.h: Likewise.
21750 * io/bits/fcntl2.h: Likewise.
21751 * io/fcntl.h: Likewise.
21752 * io/sys/poll.h: Likewise.
21753 * misc/bits/syslog.h: Likewise.
21754 * misc/bits/syslog-ldbl.h: Likewise.
21755 * misc/sys/syslog.h: Likewise.
21756 * socket/bits/socket2.h: Likewise.
21757 * socket/sys/socket.h: Likewise.
21758 * debug/tst-chk1.c: Likewise.
21759 * wcsmbs/bits/wchar2.h: Likewise.
21760 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21761 * wcsmbs/wchar.h: Likewise.
21763 2012-04-29 Andreas Jaeger <aj@suse.de>
21765 * Makerules (tests): Remove enable-check-abi protection.
21766 (check-abi-warn): Remove.
21767 (check-abi-%): Remove check-abi-warn usage.
21769 * configure.in: Remove check-abi configure option.
21770 * configure: Regenerated.
21771 * config.make.in (enable-check-abi): Remove.
21773 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21776 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21777 double functions to double *_finite functions.
21780 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21781 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21783 * stdio-common/Makefile (tests): Add tst-sprintf3.
21784 * stdio-common/tst-sprintf3.c: New file.
21786 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21787 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21789 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21791 * conform/conformtest.pl: Remove duplicate typed-constant
21794 2012-04-28 David S. Miller <davem@davemloft.net>
21796 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21797 (check-abi-%): Remove AWK script prerequisite and explicit
21799 (check-abi): Rewrite to just diff the symlist with the abilist.
21800 (config-tls, config-abi-config): Delete, no longer used.
21801 (update-abi-%): Remove AWK script and explicit abilist directory.
21802 (update-abi): Rewrite to simply compare and conditionally copy the
21803 symlist and the sysdep abilist file. Remove update-abi-config
21805 * abilist/ld.abilist: Remove.
21806 * abilist/libBrokenLocale.abilist: Remove.
21807 * abilist/libanl.abilist: Remove.
21808 * abilist/libcrypt.abilist: Remove.
21809 * abilist/libdl.abilist: Remove.
21810 * abilist/librt.abilist: Remove.
21811 * abilist/libthread_db.abilist: Remove.
21812 * abilist/libutil.abilist: Remove.
21813 * scripts/extract-abilist.awk: Remove.
21814 * scripts/merge-abilist.awk: Remove.
21815 * sysdeps/generic/libcidn.abilist: New file.
21816 * sysdeps/generic/libnss_compat.abilist: New file.
21817 * sysdeps/generic/libnss_db.abilist: New file.
21818 * sysdeps/generic/libnss_dns.abilist: New file.
21819 * sysdeps/generic/libnss_files.abilist: New file.
21820 * sysdeps/generic/libnss_hesiod.abilist: New file.
21821 * sysdeps/generic/libnss_nis.abilist: New file.
21822 * sysdeps/generic/libnss_nisplus.abilist: New file.
21823 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21824 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21825 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21827 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21828 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21829 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21830 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21831 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21832 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21833 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21834 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21835 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21837 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21838 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21839 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21840 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21842 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21843 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21844 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21845 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21846 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21847 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21849 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21850 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21851 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21853 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21956 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21957 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21958 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21961 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21962 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21963 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21964 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21965 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21966 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21967 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21968 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21969 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22021 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22023 * conform/conformtest.pl: Fix typo in handling typed-constant from
22026 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22028 * README: Cut down references to pre-2.6 Linux kernels and
22029 Linuxthreads. Update lists of configurations in libc and ports
22030 and sort alphabetically. Say "or newer" with Linux kernel version
22033 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22035 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22038 * math/libm-test.inc (logb_test_downward): New test to expose
22039 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22042 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22045 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22047 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22048 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22050 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22052 * sysdeps/unix/i386/brk.S: Remove file.
22053 * sysdeps/unix/i386/dl-brk.S: Likewise.
22054 * sysdeps/unix/i386/pipe.S: Likewise.
22055 * sysdeps/unix/i386/sigreturn.S: Likewise.
22056 * sysdeps/unix/i386/syscall.S: Likewise.
22057 * sysdeps/unix/i386/vfork.S: Likewise.
22058 * sysdeps/unix/i386/wait.S: Likewise.
22060 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22061 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22063 * configure.in (arm*-none*): Do not allow without
22064 --enable-hacker-mode.
22065 (netbsd*): Remove case setting base_os.
22066 (386bsd*): Likewise.
22067 (freebsd*): Likewise.
22070 (sunos*): Likewise.
22071 (ultrix*): Likewise.
22072 (newsos*): Likewise.
22073 (dynix*): Likewise.
22079 (minix*): Likewise.
22080 (irix4*): Likewise.
22081 (irix6*): Likewise.
22082 (solaris[2-9]*): Likewise.
22084 * configure: Regenerated.
22086 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22089 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22090 overflow or cancellation in calculating denominator.
22091 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22093 down expression to avoid unexpected rounding in newer GCCs.
22094 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22096 2012-04-26 David S. Miller <davem@davemloft.net>
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22099 long-double compat symbols.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22114 2012-04-25 David S. Miller <davem@davemloft.net>
22116 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22117 HWCAP_* values only after the memory barriers have been defined.
22118 (atomic_full_barrier): Define.
22119 (atomic_read_barrier): Define.
22120 (atomic_write_barrier): Define.
22122 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22124 * shlib-versions: Add libgcc_s version information.
22125 * sysdeps/generic/libgcc_s.h: Remove.
22126 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22128 * sysdeps/gnu/unwind-resume.c: Likewise.
22129 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22131 2012-04-25 David S. Miller <davem@davemloft.net>
22133 * sysdeps/unix/sparc/brk.S: Delete.
22134 * sysdeps/unix/sparc/dl-brk.S: Delete.
22135 * sysdeps/unix/sparc/pipe.S: Delete.
22136 * sysdeps/unix/sparc/sysdep.S: Delete.
22137 * sysdeps/unix/sparc/sysdep.h: Delete.
22138 * sysdeps/unix/sparc/vfork.S: Delete.
22139 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22140 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22142 ret_ERRVAL, r0, r1, MOVE): Define.
22143 (JUMPTARGET): Remove.
22144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22145 sysdeps/unix/sparc/sysdep.h
22146 (ENTRY, END): Remove.
22147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22149 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22151 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22152 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22155 * timezone/README: Update upstream location and email address for
22157 * timezone/zdump.c: Update from tzcode 2012b.
22158 * timezone/zic.c: Likewise.
22160 * configure.in (libc_cv_as_needed): Remove test.
22161 * configure: Regenerated.
22162 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22163 conditional definition.
22164 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22165 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22166 * config.make.in (have-as-needed): Remove variable.
22168 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22169 Paul Pluzhnikov <ppluzhnikov@google.com>
22171 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22174 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22176 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22177 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22178 * sysdeps/sh/strlen.S: Likewise.
22180 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22182 * sysdeps/unix/fork.S: Remove file.
22183 * sysdeps/unix/i386/fork.S: Likewise.
22184 * sysdeps/unix/sparc/fork.S: Likewise.
22186 * sysdeps/unix/system.c: Remove file.
22187 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22189 * sysdeps/unix/getegid.S: Remove file.
22190 * sysdeps/unix/geteuid.S: Likewise.
22192 2012-04-24 Roland McGrath <roland@hack.frob.com>
22194 * scripts/check-localplt.awk: New file.
22195 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22197 * scripts/data/localplt-generic.data: Add a comment.
22199 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22200 NODE when __dir_mkfile failed.
22201 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22202 Reported by Ludovic Courtès <ludo@gnu.org>.
22204 2012-04-24 Andreas Jaeger <aj@suse.de>
22206 * Makerules (common-clean): Also remove gen-as-const-headers
22209 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22211 * Makerules (native-compile): Do not change working directory for
22212 build. Use $(OUTPUT_OPTION) in command.
22213 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22215 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22218 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22219 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22220 * math/libm-test.inc (floor_test): Add more tests.
22221 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22223 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22225 * sysdeps/unix/getdents.c: Remove file.
22226 * sysdeps/unix/sysv/getdents.c: Likewise.
22227 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22229 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22230 sysdeps/unix/mman/syscalls.list.
22232 (mprotect): Likewise.
22234 (munmap): Likewise.
22235 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22236 * sysdeps/unix/mman/syscalls.list: Remove.
22237 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22239 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22240 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22241 * configure: Regenerated.
22242 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22243 $(libgcc_s_suffix).
22244 * config.make.in (libgcc_s_suffix): Remove variable.
22246 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22248 * sysdeps/unix/sysv/gethostname.c: Move to ...
22249 * sysdeps/posix/gethostname.c: ... here.
22251 * sysdeps/unix/execve.S: Remove file.
22253 * sysdeps/unix/_exit.S: Remove file.
22255 2012-04-23 Andreas Jaeger <aj@suse.de>
22258 * manual/Makefile: Remove make dist support, there's no
22259 need for a stand-alone documentation tar ball.
22260 (TEXI2DVI): Define always, it's not in Makeconfig.
22263 (edition): Removed.
22264 (glibc-doc-$(edition).tar): Removed
22268 (ETAGS): Remove, it's in Makeconfig.
22269 (move-if-change): Remove, it's in Makeconfig.
22271 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22274 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22275 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22276 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22277 (strtod_l, strtof_l, strtold_l): Remove __wur.
22278 It is not necessarily an error to ignore strtol's return value.
22279 One can reliably look at the stored endptr to decide whether
22280 the number had valid syntax.
22282 2012-04-21 Andreas Jaeger <aj@suse.de>
22285 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22287 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22289 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22290 * sysdeps/unix/sysv/Versions: Remove file.
22292 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22297 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22300 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22301 version from __vm86.
22303 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22305 * sysdeps/unix/common/lxstat.c: Remove file.
22306 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22308 * sysdeps/unix/sysv/Makefile: Remove file.
22310 * sysdeps/unix/sysv/direct.h: Remove file.
22312 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22313 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22314 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22315 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22316 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22317 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22318 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22320 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22322 * sysdeps/unix/xmknod.c: Remove file.
22323 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22325 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22327 * sysdeps/unix/sysv/i386/time.S: Remove file.
22329 * sysdeps/unix/fxstat.c: Remove file.
22330 * sysdeps/unix/xstat.c: Likewise.
22331 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22333 * sysdeps/unix/sysv/sigaction.c: Remove file.
22335 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22336 (sysdep_headers): Remove variable.
22337 [termio.h not in sysdep_headers] (generated): Likewise.
22338 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22339 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22340 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22341 * sysdeps/unix/sysv/tcflow.c: Likewise.
22342 * sysdeps/unix/sysv/tcflush.c: Likewise.
22343 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22344 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22345 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22346 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22347 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22349 * sysdeps/unix/siglist.c: Remove file.
22351 * sysdeps/unix/getppid.S: Remove file.
22353 * sysdeps/unix/mkdir.c: Remove file.
22354 * sysdeps/unix/rmdir.c: Likewise.
22356 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22358 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22360 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22361 errlist-compat value.
22363 2012-04-18 David S. Miller <davem@davemloft.net>
22365 * sysdeps/generic/memcopy.h (reg_char): Delete.
22366 * debug/strcat_chk.c: Use char, not reg_char.
22367 * debug/strcpy_chk.c: Likewise.
22368 * debug/strncat_chk.c: Likewise.
22369 * debug/strncpy_chk.c: Likewise.
22370 * string/memchr.c: Likewise.
22371 * string/memrchr.c: Likewise.
22372 * string/rawmemchr.c: Likewise.
22373 * string/strcat.c: Likewise.
22374 * string/strchr.c: Likewise.
22375 * string/strchrnul.c: Likewise.
22376 * string/strcmp.c: Likewise.
22377 * string/strcpy.c: Likewise.
22378 * string/strncat.c: Likewise.
22379 * string/strncmp.c: Likewise.
22380 * string/strncpy.c: Likewise.
22382 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22384 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22385 __builtin_memcopy is called when src and dest ranges are known to not
22388 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22390 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22391 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22392 fwd_align_merge macro call.
22393 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22394 bwd_align_merge macro call.
22395 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22397 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22399 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22400 bwd_align_merge macros.
22401 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22402 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22403 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22405 2012-04-18 David S. Miller <davem@davemloft.net>
22407 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22409 2012-04-18 Andreas Jaeger <aj@suse.de>
22412 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22413 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22414 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22416 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22417 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22418 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22420 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22421 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22422 Adjust for changed ldbl-128 files.
22424 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22425 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22426 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22428 2012-04-17 David S. Miller <davem@davemloft.net>
22430 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22432 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22434 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22435 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22436 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22437 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22438 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22439 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22441 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22444 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22445 * math/libm-test.inc: Add ilogb errno and exception tests.
22446 * math/w_ilogb.c: New file: ilogb wrapper.
22447 * math/w_ilogbf.c: New file: ilogbf wrapper.
22448 * math/w_ilogbl.c: New file: ilogbl wrapper.
22449 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22450 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22451 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22452 exception being thrown with 0.0 as argument.
22453 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22454 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22455 exception being thrown with 0.0 as argument.
22456 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22457 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22458 exception being thrown with 0.0 as argument.
22459 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22460 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22461 exception being thrown with 0.0 as argument.
22462 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22463 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22464 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22465 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22466 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22467 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22468 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22469 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22470 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22472 2012-04-17 Petr Baudis <pasky@ucw.cz>
22474 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22477 2012-04-16 Marek Polacek <polacek@redhat.com>
22479 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22481 2012-04-16 Marek Polacek <polacek@redhat.com>
22483 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22484 operands of fdivp instruction.
22486 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22488 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22489 * elf/tst-auditmod3b.c: Likewise.
22490 * elf/tst-auditmod4b.c: Likewise.
22491 * elf/tst-auditmod5b.c: Likewise.
22492 * elf/tst-auditmod6b.c: Likewise.
22493 * elf/tst-auditmod6c.c: Likewise.
22494 * elf/tst-auditmod7b.c: Likewise.
22495 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22496 * sysdeps/x86_64/preconfigure.in: Likewise.
22497 * sysdeps/x86_64/preconfigure: Regenerated.
22499 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22501 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22504 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22506 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22507 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22509 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22512 * locale/iso-639.def: Fix gl language name. Spotted by
22515 2012-04-12 Roland McGrath <roland@hack.frob.com>
22518 * libio/libio.h (__io_write_fn): Update comment.
22520 2012-04-12 Petr Baudis <pasky@ucw.cz>
22523 * stdio.texi (Hook Functions): The user provided writer function
22524 is not allowed to return -1.
22526 2012-04-11 David S. Miller <davem@davemloft.net>
22528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22530 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22532 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22533 Add a leading slash to rtkaio.
22535 2012-04-11 Jim Meyering <meyering@redhat.com>
22538 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22539 It is not necessarily an error to ignore fwrite's return
22540 value. One can reliably use ferror to test for errors after
22543 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22545 * bits/types.h (__snseconds_t): New type.
22546 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22548 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22550 (__SNSECONDS_T_TYPE): Likewise.
22551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22552 (__SNSECONDS_T_TYPE): Likewise.
22553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22554 (__SNSECONDS_T_TYPE): Likewise.
22556 2012-04-10 Andreas Jaeger <aj@suse.de>
22559 * manual/time.texi (Processor Time): Return type of times is
22560 elapsed real time since an arbitrary point in the past.
22561 (CPU Time): Move CLK_TCK from here...
22562 (Processor Time): ...to here. Correct description.
22563 * manual/conf.texi (Constants for Sysconf): Correct description of
22566 2012-04-10 David S. Miller <davem@davemloft.net>
22569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22570 where the is a gap between DT_REL(A) and DT_JMPREL.
22572 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22574 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22575 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22576 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22578 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22580 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22581 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22582 (dl_main): Handle --inhibit-cache.
22583 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22585 * elf/dl-load.c (_dl_map_object): Use it.
22586 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22588 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22591 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22592 (__ieee754_powl): Saturate large exponents rather than testing for
22593 overflow of y*log2(x).
22594 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22595 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22599 * math/s_ctan.c: Include <float.h>.
22600 (__ctan): Avoid internal overflow or cancellation in calculating
22602 * math/s_ctanf.c: Likewise.
22603 * math/s_ctanl.c: Likewise.
22604 * math/s_ctanh.c: Likewise.
22605 * math/s_ctanhf.c: Likewise.
22606 * math/s_ctanhl.c: Likewise.
22607 * math/libm-test.inc (ctan_test): Add more tests.
22608 (ctanh_test): Likewise.
22609 * sysdeps/i386/fpu/libm-test-ulps: Update.
22610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22612 2012-04-09 Andreas Jaeger <aj@suse.de>
22615 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22616 is an optional BSD extension.
22619 * manual/stdio.texi (Opening Streams): Document additional fopen
22622 2012-04-09 Roland McGrath <roland@hack.frob.com>
22624 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22625 %eax without telling the compiler.
22627 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22630 * manual/install.texi: Use sourceware.org.
22632 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22635 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22636 (__ieee754_pow): Generate overflow and underflow using huge*huge
22637 and tiny*tiny rather than just returning constant infinity or zero
22638 for large exponents.
22639 * math/libm-test.inc (pow_test): Require overflow exceptions for
22640 applicable cases of large exponents.
22643 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22644 (__ieee754_pow): Use iterative multiplication algorithm only for
22645 integer exponents with absolute value below 1024. Check for odd
22646 integer exponents when using algorithm for real exponents.
22647 * math/libm-test.inc (pow_test): Add more tests.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22650 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22653 * math/libm-test.inc (exp_test): Do not allow overflow exception
22656 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22659 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22660 instead of __kernel_standard_f.
22662 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22664 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22665 * sysdeps/x86_64/memset_chk.S: Likewise.
22667 2012-04-08 Andreas Jaeger <aj@suse.de>
22670 * manual/startup.texi (Environment Access): Describe return value
22671 for putenv and setenv.
22674 * manual/filesys.texi (Directory Entries): Add description for
22678 * manual/filesys.texi (Directory Entries): Clarify that it's file
22679 system not operating system in the description of DT_UNKNOWN.
22682 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22684 2012-04-08 Stephen Compall <s11@member.fsf.org>
22687 * manual/llio.texi (Opening and Closing Files): Add cross
22688 reference to explain mode argument.
22690 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22692 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22693 * sysdeps/x86_64/memset_chk.S: Likewise.
22695 2012-04-07 David S. Miller <davem@davemloft.net>
22697 * elf/elf.h (R_SPARC_WDISP10): Define.
22698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22700 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22701 R_SPARC_SIZE64 and R_SPARC_H34.
22703 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22705 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22706 conditions and remove no longer applicable assertion.
22708 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22710 * bits/byteswap.h: Include <features.h>.
22711 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22712 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22714 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22716 * bits/byteswap.h (__bswap_16): Removed.
22717 Include <bits/byteswap-16.h> to get __bswap_16.
22718 * sysdeps/i386/bits/byteswap.h: Likewise.
22719 * sysdeps/s390/bits/byteswap.h: Likewise.
22720 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22721 * bits/byteswap-16.h: New file.
22722 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22723 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22724 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22725 * string/Makefile (headers): Add bits/byteswap-16.h.
22727 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22730 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22732 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22733 * nss/tst-nss-static.c: New.
22735 2012-04-06 Robert Millan <rmh@gnu.org>
22738 * manual/llio.texi (File Position Primitive): lseek
22739 refers to WHENCE when it really means OFFSET.
22741 2012-04-06 Andreas Jaeger <aj@suse.de>
22743 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22744 strncmp declarations.
22746 * abilist/libc.abilist: Add __poll and __ppoll.
22748 2012-04-05 David S. Miller <davem@davemloft.net>
22750 * scripts/check-local-headers.sh: Accept a host triplet in the
22751 path matched by the exclude regexp.
22753 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22755 * sysdeps/powerpc/powerpc32/dl-machine.h
22756 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22757 * sysdeps/s390/s390-32/dl-machine.h
22758 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22759 * sysdeps/sparc/sparc32/dl-machine.h
22760 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22761 * sysdeps/sparc/sparc64/dl-machine.h
22762 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22764 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22766 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22767 undefined symbol errors.
22769 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22772 2012-04-05 Michael Matz <matz@suse.de>
22775 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22777 2012-04-05 Andreas Jaeger <aj@suse.de>
22780 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22783 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22785 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22786 which ROUND is no valid rounding mode.
22788 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22790 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22792 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22794 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22796 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22797 an exception using FPU order intentionally.
22799 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22801 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22802 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22803 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22804 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22806 2012-04-05 Simon Josefsson <simon@josefsson.org>
22809 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22810 EINVAL when BUFLEN is too smal.
22812 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22815 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22816 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22818 2012-04-03 Andreas Jaeger <aj@suse.de>
22821 * manual/setjmp.texi (System V contexts): Fix sentence.
22824 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22825 New macro for this case.
22826 [!__GNUC__] (__bswap_64): New inline function for this case.
22827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22828 * bits/byteswap.h: Likewise.
22829 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22830 ull, guard with __GLIBC_HAVE_LONG_LONG.
22832 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22833 __GLIBC_HAVE_LONG_LONG.
22835 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22836 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22838 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22841 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22842 inptr and inend, rather than using last_ch.
22844 2012-04-02 David S. Miller <davem@davemloft.net>
22846 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22847 * stdio-common/printf-parse.h (read_int): Change return type to
22848 'int', return -1 on INT_MAX overflow.
22849 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22850 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22851 overflows INT_MAX. Check for overflow of in-format-string precision
22852 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22853 SIZE_MAX not INT_MAX for integer overflow test.
22854 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22855 skip the construct in the format string but do not record anything.
22856 * stdio-common/bug22.c: Adjust to test both width/prevision
22857 INT_MAX overflow as well as total length INT_MAX overflow. Check
22858 explicitly for proper errno values.
22860 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22862 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22864 * string/test-strcmp.c [! WIDE]: Likewise.
22865 * time/tst-mktime2.c: Likewise for INT_MAX.
22866 * string/test-string.h: #include <sys/param.h> for MIN.
22868 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22869 * sysdeps/i386/init-first.c (init): Likewise.
22870 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22871 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22872 * sysdeps/sh/init-first.c (init): Likewise.
22874 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22876 * po/ru.po: Update from translation team.
22877 * po/vi.po: Likewise.
22879 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22881 * resolv/nss_dns/dns-host.c: Merge copyright years.
22883 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22886 Optimize memcpy with prefetch if
22887 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22888 src, dst pointers have unequal 16 byte alignments.
22890 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22893 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22894 from a CNAME entry and return the minimum ttl for the query.
22895 (gaih_getanswer_slice): Likewise.
22897 2012-03-30 Jeff Law <law@redhat.com>
22899 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22901 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22902 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22904 * resolv/nss_dns/dns-host.c: Update copyright year.
22906 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22908 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22909 requests to save a system call. Fix check that all bytes are sent.
22911 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22912 comments for sendmmsg.
22914 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22917 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22918 with only 1 character between 0x0041 and 0x01b0.
22919 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22920 * wcsmbs/tst-mbsnrtowcs.c: New file.
22922 2012-03-29 David S. Miller <davem@davemloft.net>
22924 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22925 small copies by hand.
22927 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22930 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22931 _nss_compat_initgroups_dyn): Fall back to malloc/free
22932 for large group memberships.
22934 2012-03-28 David S. Miller <davem@davemloft.net>
22936 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22937 that branches into memcpy.
22938 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22939 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22940 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22941 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22944 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22945 implementation too.
22946 * sysdeps/sparc/mempcpy.S: New file.
22948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22949 the IFUNC routine in the libc case.
22950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22953 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22954 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22955 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22956 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22957 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22958 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22959 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22961 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22962 loop to 256 bytes instead of 64 bytes and fix test signedness.
22964 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22965 * sysdeps/sparc/sparc32/Makefile: rather than here...
22966 * sysdeps/sparc/sparc64/Makefile: and here.
22968 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22970 * malloc/mallocbug.c: Avoid warnings about unused variables.
22972 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22975 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22976 in the right place. Discard and retry query if response is
22977 larger than input buffer size.
22979 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22984 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22985 x for large integer exponent.
22986 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22987 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22988 sign of result as needed afterwards.
22989 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22990 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22991 result for underflowing pow the same as for overflow.
22992 (__kernel_standard_l): Handle powl overflow and underflow here
22993 rather than calling __kernel_standard.
22994 * math/libm-test.inc (pow_test): Add more tests.
23009 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23010 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23011 (__kernel_standard_l): New function.
23012 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23014 * math/w_acosl.c (__acosl): Likewise.
23015 * math/w_asinl.c (__asinl): Likewise.
23016 * math/w_atan2l.c (__atan2l): Likewise.
23017 * math/w_atanhl.c (__atanhl): Likewise.
23018 * math/w_coshl.c (__coshl): Likewise.
23019 * math/w_exp10l.c (__exp10l): Likewise.
23020 * math/w_exp2l.c (__exp2l): Likewise.
23021 * math/w_fmodl.c (__fmodl): Likewise.
23022 * math/w_hypotl.c (__hypotl): Likewise.
23023 * math/w_j0l.c (__j0l, __y0l): Likewise.
23024 * math/w_j1l.c (__j1l, __y1l): Likewise.
23025 * math/w_jnl.c (__jnl, __ynl): Likewise.
23026 * math/w_lgammal.c (__lgammal): Likewise.
23027 * math/w_log10l.c (__log10l): Likewise.
23028 * math/w_log2l.c (__log2l): Likewise.
23029 * math/w_logl.c (__logl): Likewise.
23030 * math/w_powl.c (__powl): Likewise.
23031 * math/w_remainderl.c (__remainderl): Likewise.
23032 * math/w_scalbl.c (sysv_scalbl): Likewise.
23033 * math/w_sinhl.c (__sinhl): Likewise.
23034 * math/w_sqrtl.c (__sqrtl): Likewise.
23035 * math/w_tgammal.c (__tgammal): Likewise.
23036 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23037 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23038 * math/libm-test.inc (acos_test): Add more tests.
23039 (acosh_test): Likewise.
23040 (asin_test): Likewise.
23041 (atanh_test): Likewise.
23042 (exp_test): Likewise.
23043 (exp10_test): Likewise.
23044 (exp2_test): Likewise.
23045 (expm1_test): Likewise.
23046 (lgamma_test): Likewise.
23047 (log_test): Likewise.
23048 (log10_test): Likewise.
23049 (log1p_test): Likewise.
23050 (log2_test): Likewise.
23051 (pow_test): Do not allow some spurious overflow exceptions.
23052 (sqrt_test): Add more tests.
23053 (tgamma_test): Likewise.
23054 (y0_test): Likewise.
23055 (y1_test): Likewise.
23056 (yn_test): Likewise.
23058 2012-03-27 Anton Blanchard <anton@samba.org>
23060 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23063 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23066 2012-03-27 David S. Miller <davem@davemloft.net>
23068 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23070 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23071 have-as-vis3 check.
23073 2012-03-27 Andreas Jaeger <aj@suse.de>
23075 * sysdeps/x86_64/elf/configure.in: Moved to ...
23076 * sysdeps/x86_64/configure.in: ... here.
23077 * sysdeps/x86_64/elf/start.S: Moved to ...
23078 * sysdeps/x86_64/start.S: ... here.
23079 * sysdeps/x86_64/elf/configure: Delete.
23081 * sysdeps/x86_64/configure.in: Merge contents from
23082 sysdeps/i386/configure.in (without i686 check).
23084 * sysdeps/i386/elf/Versions: Merge into ...
23085 * sysdeps/i386/Versions: ... this.
23086 * sysdeps/i386/elf/Versions: Delete file.
23087 * sysdeps/i386/elf/start.S: Moved to ...
23088 * sysdeps/i386/start.S: ...here.
23089 * sysdeps/i386/elf/configure.in: Merge into...
23090 * sysdeps/i386/configure.in: ...here.
23091 * sysdeps/i386/elf/configure.in: Delete file.
23092 * sysdeps/i386/elf/configure: Delete file.
23094 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23095 * debug/backtracesyms.c: ... here.
23096 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23097 * debug/backtracesymsfd.c: ... here.
23098 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23099 * sysdeps/generic/ifunc-sel.h: ... here.
23101 * sysdeps/unix/i386/start.c: Delete file.
23102 * sysdeps/unix/sparc/start.c: Delete file.
23103 * sysdeps/unix/start.c: Delete file.
23105 * sysdeps/sh/elf/configure.in: Moved to ...
23106 * sysdeps/sh/configure.in: ... here.
23107 * sysdeps/sh/elf/start.S: Moved to ...
23108 * sysdeps/sh/start.S: ... here.
23109 * sysdeps/sh/elf/configure: Delete file.
23111 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23112 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23113 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23114 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23115 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23116 * sysdeps/powerpc/powerpc64/start.S: here.
23117 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23118 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23119 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23120 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23121 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23123 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23124 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23125 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23126 * sysdeps/powerpc/powerpc32/start.S: ... here.
23127 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23128 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23129 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23131 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23132 * sysdeps/powerpc/ifunc-sel.h: ... here.
23133 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23134 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23136 * sysdeps/sparc/elf/configure.in: Moved to ...
23137 * sysdeps/sparc/configure.in: ... here.
23138 * sysdeps/sparc/elf/configure: Delete file.
23139 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23140 * sysdeps/sparc/sparc32/start.S: ... here.
23141 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23142 * sysdeps/sparc/sparc64/start.S: ... here.
23143 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23144 * sysdeps/sparc/sparc32/Makefile: ... this.
23145 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23146 * sysdeps/sparc/sparc64/Makefile: ... this.
23148 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23149 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23150 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23151 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23152 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23153 * sysdeps/s390/s390-32/setjmp.S: ... here.
23154 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23155 * sysdeps/s390/s390-32/configure.in: ... here.
23156 * sysdeps/s390/s390-32/elf/configure: Delete file.
23157 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23158 * sysdeps/s390/s390-32/start.S: ... here.
23160 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23161 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23162 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23163 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23164 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23165 * sysdeps/s390/s390-64/setjmp.S: ... here.
23166 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23167 * sysdeps/s390/s390-64/configure.in: ... here
23168 * sysdeps/s390/s390-64/elf/configure: Delete file.
23169 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23170 * sysdeps/s390/s390-64/start.S: ... here.
23171 * sysdeps/s390/s390-64/elf/configure: Delete.
23173 * configure.in: Remove support for elf directories in sysdeps.
23175 * configure: Regenerated.
23176 * sysdeps/i386/configure: Regenerated.
23177 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23178 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23179 * sysdeps/s390/s390-32/configure: Regenerated.
23180 * sysdeps/s390/s390-64/configure: Regenerated.
23181 * sysdeps/sh/configure: Regenerated.
23182 * sysdeps/sparc/configure: Regenerated.
23183 * sysdeps/x86_64/configure: Regenerated.
23185 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23190 denormal result into account.
23192 2012-03-25 Roland McGrath <roland@hack.frob.com>
23194 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23195 Reported by Allan McRae <allan@archlinux.org>.
23197 2012-03-23 Jeff Law <law@redhat.com>
23199 * nss/getnssent.c (__nss_getent): Fix typo.
23201 2012-03-23 David S. Miller <davem@davemloft.net>
23203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23205 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23207 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23208 to pad to uint64_t for each field.
23209 (dl_tls_index): Replace unsigned long with uint64_t.
23211 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23212 Paul Pluzhnikov <ppluzhnikov@google.com>
23215 * grp/Makefile (otherlibs): Don't set it.
23216 * inet/Makefile (otherlibs): Likewise.
23217 * login/Makefile (otherlibs): Likewise.
23218 * nscd/Makefile (otherlibs): Likewise.
23219 * posix/Makefile (otherlibs): Likewise.
23220 * pwd/Makefile (otherlibs): Likewise.
23221 * rt/Makefile (otherlibs): Likewise.
23222 * sunrpc/Makefile (otherlibs): Likewise.
23223 * nss/Makefile (otherlibs): Likewise.
23224 Add libnss_files to routines and static-only-routines.
23225 ($(objpfx)getent): Remove rule.
23226 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23227 static-only-routines.
23229 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23232 * math/s_cexp.c: Include <float.h>.
23233 (__cexp): Handle exp result overflowing not necessarily
23234 overflowing both real and imaginary parts of result.
23235 * math/s_cexpf.c: Likewise.
23236 * math/s_cexpl.c: Likewise.
23237 * math/libm-test.inc (cexp_test): Add more tests.
23238 * sysdeps/i386/fpu/libm-test-ulps: Update.
23239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23241 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23243 * include/link.h (ELFW): New macro.
23244 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23245 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23247 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23249 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23252 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23254 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23256 (struct La_x32_retval): Likewise.
23258 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23260 * sysdeps/x86_64/preconfigure.in: New file.
23261 * sysdeps/x86_64/preconfigure: New generated file.
23263 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23266 * math/e_exp2l.c: Include <float.h>.
23267 (__ieee754_exp2l): Handle overflow and underflow cases
23268 separately. Only pass fractional part of argument to
23270 * math/libm-test.inc (exp2_test): Add more tests.
23272 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23273 negating x to take absolute value.
23274 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23276 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23277 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23279 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23280 computing low part if x was negated.
23281 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23283 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23285 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23286 la_x32_gnu_pltexit.
23287 (pltexit): Cast int_retval to ptrdiff_t.
23288 * elf/tst-auditmod3b.c: Likewise.
23289 * elf/tst-auditmod4b.c: Likewise.
23290 * elf/tst-auditmod5b.c: Likewise.
23291 * elf/tst-auditmod6b.c: Likewise.
23292 * elf/tst-auditmod6c.c: Likewise.
23293 * elf/tst-auditmod7b.c: Likewise.
23295 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23296 and x32_gnu_pltexit.
23298 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23299 __ELF_NATIVE_CLASS.
23300 (La_x32_regs): New macro.
23301 (La_x32_retval): Likewise.
23302 (la_x32_gnu_pltenter): New function prototype.
23303 (la_x32_gnu_pltexit): Likewise.
23305 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23312 * configure.in (libc_cv_cc_nofma): Check for option to disable
23313 generation of FMA instructions.
23314 * configure: Regenerate.
23315 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23316 * sysdeps/ieee754/dbl-64/Makefile: New file.
23317 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23318 Remove brandred-fma4.
23319 (CFLAGS-brandred-fma4.c): Remove.
23320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23326 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23328 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23329 LLONG_MAX != LONG_MAX.
23330 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23331 (_fitoa_word): Likewise.
23332 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23333 LLONG_MAX != LONG_MAX.
23334 * stdio-common/_itowa.h: Include <_itoa.h>.
23335 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23336 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23337 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23338 only if not defined.
23339 (_ITOA_WORD_TYPE): Likewise.
23340 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23341 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23343 2012-03-21 David S. Miller <davem@davemloft.net>
23345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23347 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23349 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23350 of x86_64 when setting libc_cv_slibdir, libdir and
23352 * sysdeps/unix/sysv/linux/configure: Regenerated.
23354 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23356 * manual/lang.texi (Old Varargs): Remove section.
23357 (How Variadic): Update menu.
23358 (va_start): Do not mention varargs.h.
23360 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23361 Joseph Myers <joseph@codesourcery.com>
23363 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23365 * configure: Regenerated.
23367 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23369 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23370 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23373 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23376 * Makefile (files-for-dist): Remove NOTES.
23377 (NOTES): Remove rule.
23378 * README: Don't refer to NOTES.
23379 * manual/creature.texi: Don't include macros.texi.
23380 * manual/intro.texi (creature.texi): Remove comment referring to
23383 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23384 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23385 * configure: Regenerated.
23386 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23387 LIBC_TRY_CC_OPTION.
23388 (libc_cv_as_i686): Likewise.
23389 (libc_cv_cc_avx): Likewise.
23390 (libc_cv_cc_sse2avx): Likewise.
23391 (libc_cv_cc_fma4): Likewise.
23392 (libc_cv_cc_novzeroupper): Likewise.
23393 * sysdeps/i386/configure: Regenerated.
23396 * sysdeps/i386/fpu/s_cexp.S: Remove.
23397 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23398 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23399 * math/libm-test.inc (cexp_test): Add more tests.
23400 * sysdeps/i386/fpu/libm-test-ulps: Update.
23401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23403 2012-03-21 Allan McRae <allan@archlinux.org>
23405 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23407 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23410 * math/w_exp2.c: Do not include <float.h>.
23411 (o_threshold, u_threshold): Remove.
23412 (__exp2): Calculate result before checking finiteness and calling
23414 * math/w_exp2f.c: Likewise.
23415 * math/w_exp2l.c: Likewise.
23416 * math/libm-test.inc (exp2_test): Require overflow exception for
23420 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23421 range of signed 64-bit integers before using fistpll. Remove
23422 checks for whether integers fit in mantissa bits.
23423 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23424 the range of signed 32-bit integers before using fistpl. Remove
23425 checks for whether integers fit in mantissa bits.
23426 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23427 (__ieee754_powl): Test for y outside the range of signed 64-bit
23428 integers before using fistpll. Reduce 64-bit values to 63-bit
23430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23431 divide-by-zero is raised for zero to large negative powers.
23432 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23433 (__ieee754_powl): Test for y outside the range of signed 64-bit
23434 integers before using fistpll. Reduce 64-bit values to 63-bit
23436 * math/libm-test.inc (pow_test): Add more tests.
23438 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23440 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23441 <stdio-common/_itoa.h>.
23442 * debug/segfault.c: Likewise.
23443 * elf/dl-cache.c: Likewise.
23444 * elf/dl-minimal.c: Likewise.
23445 * elf/dl-misc.c: Likewise.
23446 * elf/dl-sysdep.c: Likewise.
23447 * elf/dl-version.c: Likewise.
23448 * elf/rtld.c: Likewise.
23449 * hurd/hurdsock.c: Likewise.
23450 * hurd/lookup-retry.c: Likewise.
23451 * malloc/malloc.c: Likewise.
23452 * malloc/mtrace.c: Likewise.
23453 * nscd/nscd_getgr_r.c: Likewise.
23454 * nscd/nscd_getpw_r.c: Likewise.
23455 * nscd/nscd_getserv_r.c: Likewise.
23456 * posix/getopt_init.c: Likewise.
23457 * posix/wordexp.c: Likewise.
23458 * stdio-common/_itoa.c: Likewise.
23459 * stdio-common/printf_fphex.c: Likewise.
23460 * stdio-common/vfprintf.c: Likewise.
23461 * string/_strerror.c: Likewise.
23462 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23463 * sysdeps/i386/i686/hp-timing.h: Likewise.
23464 * sysdeps/mach/_strerror.c: Likewise.
23465 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23466 * sysdeps/mach/hurd/sethostid.c: Likewise.
23467 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23468 * sysdeps/mach/xpg-strerror.c: Likewise.
23469 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23471 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23472 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23473 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23474 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23475 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23476 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23477 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23478 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23479 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23480 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23481 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23482 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23483 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23484 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23485 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23486 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23487 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23488 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23489 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23491 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23493 * stdio-common/_itoa.h: Moved to ...
23494 * sysdeps/generic/_itoa.h: Here.
23496 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23498 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23499 instead of "_itoa.h" and "_itowa.h".
23500 * stdio-common/vfprintf.: Likewise.
23502 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23504 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23506 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23507 (__signbit): Likwise.
23508 (llrintf): Likwise.
23511 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23513 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23516 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23518 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23519 OVERFLOW_EXCEPTION_OK.
23520 * math/libm-test.inc ("Philosophy"): Update comment about
23522 (OVERFLOW_EXCEPTION): Define.
23523 (OVERFLOW_EXCEPTION_OK): Likewise.
23524 (INVALID_EXCEPTION_OK): Renumber.
23525 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23526 (IGNORE_ZERO_INF_SIGN): Likewise.
23527 (test_exceptions): Handle FE_OVERFLOW.
23528 (exp10_test): Expect overflow exceptions.
23529 (exp2_test): Likewise.
23530 (expm1_test): Likewise.
23531 (nextafter_test): Likewise.
23532 (pow_test): Likewise.
23533 (scalbn_test): Likewise.
23534 (scalbln_test): Likewise.
23536 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23538 * sysdeps/x86_64/bits/atomic.h
23539 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23541 (atomic_exchange_acq): Likewise.
23542 (__arch_exchange_and_add_body): Likewise.
23543 (__arch_add_body): Likewise.
23544 (atomic_add_negative): Likewise.
23545 (atomic_add_zero): Likewise.
23547 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23549 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23550 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23552 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23554 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23555 Check __x86_64__ instead of __WORDSIZE.
23557 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23559 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23561 2012-03-19 David S. Miller <davem@davemloft.net>
23563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23565 * sysdeps/sparc/fpu/fenv_private.h: New file.
23566 * sysdeps/sparc/fpu/math_private.h: Use it.
23567 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23569 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23570 (libc_feholdexcept_setroundl): Remove.
23571 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23573 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23574 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23576 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23578 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23579 int64_t instead of long int.
23580 (INSERT_WORDS64): Likwise.
23582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23584 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23585 _Unwind_GetCFA return to _Unwind_Ptr first.
23587 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23590 * math/s_clog.c: Include <float.h>.
23591 (__clog): Scale large or subnormal inputs.
23592 * math/s_clogf.c: Likewise.
23593 * math/s_clogl.c: Likewise.
23594 * math/s_clog10.c: Include <float.h>.
23595 (M_LOG10_2): Define.
23596 (__clog10): Scale large or subnormal inputs.
23597 * math/s_clog10f.c: Likewise.
23598 * math/s_clog10l.c: Likewise.
23599 * math/libm-test.inc (clog_test): Add more tests.
23600 (clog10_test): Likewise.
23601 * sysdeps/i386/fpu/libm-test-ulps: Update.
23602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23605 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23607 * math/libm-test.inc (atan2_test): Add another test.
23609 * Makerules (common-objdir-compile): Remove.
23610 * sysdeps/unix/Makefile (config-generated): Do not add
23611 $(unix-generated) to variable.
23612 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23613 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23615 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23617 [generic bits/local_lim.h] (before-compile): Do not append to
23619 [generic bits/local_lim.h] (common-generated): Likewise.
23620 [generic sys/param.h] (before-compile): Do not append to variable.
23621 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23622 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23623 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23624 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23626 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23627 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23628 [generic sys/param.h] ($(addprefix
23629 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23630 [generic sys/param.h] (common-generated): Do not append to
23632 [generic sys/param.h] (sysdep_headers): Likewise.
23633 [generic bits/errno.h] (before-compile): Do not append to
23635 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23637 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23638 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23639 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23640 [generic bits/errno.h] (common-generated): Do not append to
23642 [generic bits/ioctls.h] (before-compile): Do not append to
23644 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23646 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23647 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23648 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23650 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23651 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23652 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23653 [generic bits/ioctls.h] (common-generated): Do not append to
23655 [generic sys/syscall.h] (syscall.h): Remove variable.
23656 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23658 [generic sys/syscall.h] (before-compile): Do not append to
23660 [generic sys/syscall.h] (common-generated): Likewise.
23661 * sysdeps/unix/errnos-tmpl.c: Remove file.
23662 * sysdeps/unix/errnos.awk: Likewise.
23663 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23664 * sysdeps/unix/ioctls.awk: Likewise.
23665 * sysdeps/unix/mk-local_lim.c: Likewise.
23666 * sysdeps/unix/snarf-ioctls: Likewise.
23668 2012-03-19 Richard Henderson <rth@twiddle.net>
23670 * sysdeps/i386/fpu/fenv_private.h: New file.
23671 * sysdeps/i386/fpu/math_private.h: Use it.
23672 (math_opt_barrier, math_force_eval): Remove.
23673 (libc_feholdexcept_setround_53bit): Remove.
23674 (libc_feupdateenv_53bit): Remove.
23675 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23676 (math_opt_barrier, math_force_eval): Remove.
23677 (libc_feholdexcept): Remove.
23678 (libc_feholdexcept_setround): Remove.
23679 (libc_fetestexcept, libc_fesetenv): Remove.
23680 (libc_feupdateenv_test): Remove.
23681 (libc_feupdateenv, libc_feholdsetround): Remove.
23682 (libc_feresetround): Remove.
23684 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23685 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23687 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23688 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23689 (libc_feupdateenv_testl): New.
23690 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23691 (libc_feupdateenv_testf): New.
23692 (libc_feupdateenv): Use libc_feupdateenv_test.
23693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23694 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23696 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23697 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23698 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23699 (libc_feresetround_noex): New.
23700 (libc_feresetround_noexf): New.
23701 (libc_feresetround_noexl): New.
23702 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23703 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23704 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23705 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23710 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23711 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23712 SET_RESTORE_ROUND_NOEX.
23713 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23714 SET_RESTORE_ROUND_NOEXF.
23715 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23716 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23717 (libc_feholdsetroundf): New.
23718 (libc_feresetround, libc_feresetroundf): New.
23720 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23721 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23722 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23724 * sysdeps/generic/math_private.h: Include <fenv.h>.
23725 (default_libc_feholdexcept): New.
23726 (default_libc_feholdexcept_setround): New.
23727 (default_libc_fesetenv, default_libc_feupdateenv): New.
23728 (libc_feholdexcept): Only define if undefined.
23729 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23730 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23731 (libc_feholdexcept_setroundl): Likewise.
23732 (libc_feholdexcept_setround_53bit): Likewise.
23733 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23734 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23735 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23736 (libc_feupdateenv_53bit): Likewise.
23737 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23738 (libc_feholdexcept): Convert from macro to inline function.
23739 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23740 (libc_fesetenv, libc_feupdateenv): Likewise.
23742 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23743 not previously defined.
23744 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23745 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23746 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23747 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23748 * sysdeps/ieee754/flt-32/math_private.h: New file.
23749 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23750 math_private.h below SET_FLOAT_WORD.
23751 (__isnan, __isinf_ns, __finite): Remove.
23752 (__isnanf, __isinf_nsf, __finitef): Remove.
23754 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23758 2012-03-17 David S. Miller <davem@davemloft.net>
23761 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23764 2012-03-16 David S. Miller <davem@davemloft.net>
23766 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23770 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23772 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23773 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23774 sysdep_routines when subdir is sysvipc.
23775 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23776 __getshmlba helper.
23778 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23780 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23782 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23785 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23787 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23788 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23789 (__lround): Renamed to ...
23790 (__llround): This. Replace long int with long long int.
23791 Define lround functions as aliases of llround functions.
23792 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23794 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23796 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23797 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23798 adresses to uintptr_t. Replace "long int" and "unsigned long
23799 int" with "greg_t" on va_arg.
23801 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23803 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23804 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23806 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23807 Move e_machine check before EI_CLASS check. Handle x32
23808 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23809 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23810 SKIP_EM_IA_64 and include
23811 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23813 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23814 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23815 (add_system_dir): New macro.
23817 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23818 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23820 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23831 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23833 * math/w_j0f.c (j0f): Likewise.
23835 * math/w_j0l.c (__j0l): Likewise.
23837 * math/w_j1.c (j1): Likewise.
23839 * math/w_j1f.c (j1f): Likewise.
23841 * math/w_j1l.c (__j1l): Likewise.
23843 * math/w_jn.c (jn): Likewise.
23845 * math/w_jnf.c (jnf): Likewise.
23847 * math/w_jnl.c (__jnl): Likewise.
23849 * math/libm-test.inc (j0_test): Add more tests.
23850 (j1_test): Likewise.
23851 (jn_test): Likewise. Add trailing semicolon to existing test.
23852 (y0_test): Likewise.
23853 (y1_test): Likewise.
23854 * sysdeps/i386/fpu/libm-test-ulps: Update.
23855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23859 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23860 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23861 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23862 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23863 (__tanl): Set errno for infinite argument.
23864 * sysdeps/i386/fpu/mptan.c: Remove.
23865 * sysdeps/i386/fpu/s_tan.S: Likewise.
23866 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23867 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23868 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23869 * math/libm-test.inc (tan_test): Add more tests and enable more
23870 tests for double and long double.
23871 * sysdeps/i386/fpu/libm-test-ulps: Update.
23872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23874 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23876 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23877 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23879 2012-03-16 Roland McGrath <roland@hack.frob.com>
23881 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23882 * configure.in: Use it for both main tree and add-ons.
23883 * configure: Regenerated.
23885 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23887 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23889 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23891 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23895 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23896 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23901 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23903 != 0 for prec == 2.
23904 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23905 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23906 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23907 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23908 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23909 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23910 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23911 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23912 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23913 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23914 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23915 * math/libm-test.inc (cos_test): Add more tests and enable more
23916 tests for long double.
23917 (sin_test): Likewise.
23918 (sincos_test): Likewise.
23919 * sysdeps/i386/fpu/libm-test-ulps: Update.
23920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23922 2012-03-16 David S. Miller <davem@davemloft.net>
23924 * sysdeps/sparc/fpu/math_private.h: New file.
23926 2012-03-15 David S. Miller <davem@davemloft.net>
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23942 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23943 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23945 * sysdeps/sparc/sparc-ifunc.h: New file.
23946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23984 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23985 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23991 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23993 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23997 2012-03-15 Andreas Jaeger <aj@suse.de>
24000 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24001 ieee754/flt-32 implementation for sin, cos and sincos.
24002 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24003 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24004 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24005 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24006 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24007 ieee754/flt-32 implementation for tan.
24009 * math/libm-test.inc (cos_test): Enable some large input tests for
24011 (sin_test): Likewise.
24012 (sincos_test): Likewise.
24013 (tan_test): Add tests for large input.
24015 * sysdeps/i386/fpu/libm-test-ulps: Update.
24017 2012-03-15 Andreas Jaeger <aj@suse.de>
24020 * math/libm-test.inc (cos_test): Add more test cases.
24021 (sin_test): Likewise.
24022 (sincos_test): Likewise.
24024 2012-03-15 Andreas Jaeger <aj@suse.de>
24027 * math/libm-test.inc (cos_test): Add a test case for large input
24029 (sin_test): Likewise.
24030 (sincos_test): Likewise.
24032 2012-03-15 Andreas Jaeger <aj@suse.de>,
24033 Joseph Myers <joseph@codesourcery.com>
24036 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24037 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24038 * sysdeps/i386/fpu/branred.c: Likewise.
24039 * sysdeps/i386/fpu/dosincos.c: Likewise.
24040 * sysdeps/i386/fpu/mpa.c: Likewise.
24041 * sysdeps/i386/fpu/s_cos.S: Likewise.
24042 * sysdeps/i386/fpu/s_sin.S: Likewise.
24043 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24044 * sysdeps/i386/fpu/sincos32.c: Likewise.
24046 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24048 (libc_feupdateenv_53bit): Define.
24049 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24051 (libc_feupdateenv_53bit): Define.
24053 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24054 53 bit (without extend i386 double precision).
24056 * math/libm-test.inc (sincos_test): Add tests for large input.
24060 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24062 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24066 2012-03-15 David S. Miller <davem@davemloft.net>
24068 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24069 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24070 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24071 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24096 fmin/fmax sysdep routines.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24099 2012-03-14 David S. Miller <davem@davemloft.net>
24101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24178 * sysdeps/sparc/configure.in: New file.
24179 * sysdeps/sparc/configure: Generate.
24180 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24181 * configure: Regenerate.
24182 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24183 * config.make.in (have-as-vis3): New.
24184 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24185 available use -Av9d instead of -Av9a.
24186 * sysdeps/sparc/sparc64/Makefile: Likewise.
24187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24202 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24203 fzeros/fnegs to load 0x80000000 into a float register instead of
24205 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24207 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24211 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24212 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24213 ($(inst_includedir)/bits/syscall.h): Remove rule.
24214 ($(objpfx)bits/syscall.d): Include instead of
24215 $(objpfx)syscall-list.d.
24216 (generated): Change syscall-list.h and syscall-list.d to
24217 bits/syscall.h and bits/syscall.d.
24219 2012-03-14 Roland McGrath <roland@hack.frob.com>
24222 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24224 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24227 * math/s_csqrt.c: Include <float.h>.
24228 (__csqrt): Scale large or subnormal inputs.
24229 * math/s_csqrtf.c: Likewise.
24230 * math/s_csqrtl.c: Likewise.
24231 * math/libm-test.inc (csqrt_test): Add more tests.
24232 * sysdeps/i386/fpu/libm-test-ulps: Update.
24233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24236 * math/libm-test.inc (hypot_test): Add more tests.
24238 2012-03-13 David S. Miller <davem@davemloft.net>
24241 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24242 double-precision for the calculation instead of scaling.
24244 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24247 manipulate bits before adding and subtracting TWO52[sx].
24248 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24249 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24251 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24253 2012-03-13 David S. Miller <davem@davemloft.net>
24255 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24256 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24258 rtld-global-offsets.h
24259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24261 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24264 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24266 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24267 'err' in the ifdef scope in which it is actually used.
24269 * nss/nss_db/db-init.c: Include string.h
24271 2012-03-12 David S. Miller <davem@davemloft.net>
24273 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24274 masking out of the most significant byte of random value used.
24275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24276 Fix coding style in previous change.
24278 * sysdeps/unix/sysv/linux/kernel-features.h
24279 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24280 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24282 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24285 2012-03-11 David S. Miller <davem@davemloft.net>
24287 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24288 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24290 for 'resultvar' otherwise things get truncated on 64-bit.
24292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24293 Fix masking out of the most significant byte of random value used.
24295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24297 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24301 2012-03-09 David S. Miller <davem@davemloft.net>
24303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24304 variables with appropriate CPP guards.
24305 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24306 frame pointer, not the stack pointer. Correct layout comments. Fix test
24307 on resulting framesize and the management of the outregs buffer for pltexit.
24308 Preserve floating point return values across _dl_call_pltexit call.
24309 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24310 framesize and the management of the outregs buffer for pltexit.
24311 Preserve floating point return values across _dl_call_pltexit
24313 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24314 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24315 (print_exit): Fix format string for return register value.
24317 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24319 * sunrpc/Makefile (others): Add rpcgen.
24320 ($(objpfx)rpcgen): Remove special build rule and dependency on
24322 * sunrpc/rpcgen.c: New file.
24324 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24327 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24328 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24329 * sysdeps/i386/crti.S: Likewise.
24330 * sysdeps/i386/crtn.S: Likewise.
24331 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24332 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24333 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24335 * sysdeps/sh/crti.S: Likewise.
24336 * sysdeps/sh/crtn.S: Likewise.
24337 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24340 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24342 * locale/programs/locfile-kw.gperf: Likewise.
24343 * locale/programs/charmap-kw.h: Regenerated.
24344 * locale/programs/locfile-kw.h: Likewise.
24347 * intl/plural.y: Replace FSF snail mail address with URL.
24348 * intl/plural.c: Regenerated.
24350 2012-03-09 Richard Henderson <rth@twiddle.net>
24352 * include/math_private.h: Remove file.
24353 * math/math_private.h: Move file ...
24354 * sysdeps/generic/math_private.h: ... here.
24356 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24357 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24358 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24360 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24361 and <math_private.h>.
24362 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24363 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24364 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24365 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24366 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24367 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24368 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24369 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24370 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24371 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24373 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24374 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24376 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24378 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24379 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24380 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24381 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24383 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24384 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24386 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24387 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24388 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24389 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24392 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24394 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24395 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24396 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24397 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24398 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24399 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24400 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24401 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24402 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24403 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24404 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24405 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24406 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24407 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24408 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24409 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24410 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24411 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24412 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24413 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24414 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24415 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24416 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24417 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24418 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24419 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24420 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24421 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24422 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24423 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24425 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24426 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24427 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24428 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24429 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24430 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24432 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24433 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24434 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24435 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24436 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24437 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24441 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24442 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24443 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24444 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24445 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24446 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24449 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24450 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24451 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24452 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24453 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24454 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24455 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24456 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24457 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24458 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24459 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24460 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24461 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24462 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24463 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24464 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24465 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24466 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24467 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24468 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24469 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24470 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24471 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24472 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24473 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24474 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24475 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24476 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24477 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24478 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24479 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24480 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24481 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24482 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24483 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24485 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24486 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24487 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24488 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24489 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24490 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24491 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24492 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24493 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24494 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24495 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24496 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24497 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24498 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24499 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24500 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24501 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24503 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24504 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24505 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24506 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24507 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24508 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24509 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24510 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24511 * sysdeps/ieee754/k_standard.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24554 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24627 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24631 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24632 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24634 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24639 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24644 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24660 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24661 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24662 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24672 * sysdeps/ieee754/s_lib_version.c: Likewise.
24673 * sysdeps/ieee754/s_matherr.c: Likewise.
24674 * sysdeps/ieee754/s_signgam.c: Likewise.
24675 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24676 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24677 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24678 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24679 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24680 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24681 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24682 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24683 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24684 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24685 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24686 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24687 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24688 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24689 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24690 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24691 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24692 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24693 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24694 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24695 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24697 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24699 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24700 * sunrpc/rpc_main.c: Likewise.
24701 * sunrpc/rpc_svcout.c: Likewise.
24703 2012-03-09 David S. Miller <davem@davemloft.net>
24705 * include/math_private.h: New file.
24707 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24709 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24710 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24711 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24712 from <bits/socket_type.h>.
24713 (enum __socket_type): Don't define here.
24714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24716 bits/socket_type.h.
24719 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24720 checking __USE_GNU.
24722 * Makerules ($(inst_includedir)/%.h): New rule.
24723 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24724 (install-others): Remove variable setting.
24725 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24727 2012-03-08 Richard Henderson <rth@twiddle.net>
24729 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24730 from macro to inline function; merge with the
24731 !__LIBC_INTERNAL_MATH_INLINES version.
24732 (__ieee754_sqrtf): Likewise.
24734 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24735 to inline function.
24736 (__rintf, __floor, __floorf): Likewise.
24738 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24739 macro to inline function.
24740 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24742 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24743 not <math/math_private.h>.
24745 2012-03-08 David S. Miller <davem@davemloft.net>
24747 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24749 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24751 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24753 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24755 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24756 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24758 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24760 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24761 be defined individually, they must be defined as a block. Define
24762 S for printing a string instead of hidint the different by using a
24763 macro for adding the 'l'.
24764 * stdio-common/tst-fphex-wide.c: Adjust.
24766 2012-03-07 Marek Polacek <polacek@redhat.com>
24768 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24770 2012-03-08 Marek Polacek <polacek@redhat.com>
24773 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24774 * stdio-common/tst-fphex.c: Define a few macros to make the
24775 test reusable. Use them.
24776 * stdio-common/tst-fphex-wide.c: New file.
24778 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24781 * manual/macros.texi (gnusystems): New macro.
24782 (nongnusystems): Likewise.
24783 (gnulinuxhurdsystems): Likewise.
24784 (gnuhurdsystems): Likewise..
24785 (gnulinuxsystems): Likewise.
24786 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24787 variants of the GNU system, not "GNU system".
24788 * manual/conf.texi: Likewise.
24789 * manual/errno.texi: Likewise. Update example of errno macro
24791 * manual/filesys.texi: Likewise.
24792 (getumask): Document as specific to GNU/Hurd.
24793 * manual/install.texi: Likewise. Reword some references to
24795 * manual/intro.texi: Likewise.
24796 * manual/io.texi: Likewise.
24797 (File Name Portability): Detail which constraints are inapplicable
24798 to all GNU systems and which are only inapplicable to GNU/Hurd.
24799 * manual/job.texi: Likewise.
24800 * manual/llio.texi: Likewise.
24801 (O_NOCTTY): Document as present on GNU/Linux.
24802 * manual/maint.texi: Likewise.
24803 * manual/memory.texi: Likewise.
24804 * manual/pattern.texi: Likewise.
24805 * manual/pipe.texi: Likewise.
24806 * manual/process.texi: Likewise.
24807 * manual/resource.texi: Likewise.
24808 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24810 * manual/setjmp.texi: Likewise.
24811 * manual/signal.texi: Likewise.
24812 * manual/startup.texi: Likewise.
24813 * manual/stdio.texi: Likewise.
24814 * manual/terminal.texi: Likewise.
24815 (ONLCR): Document as POSIX.
24816 (OXTABS): Document availability on GNU/Linux as XTABS.
24817 (ONOEOT): Document availability separately from other bits.
24818 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24819 * manual/time.texi: Likewise.
24820 * manual/users.texi: Likewise.
24821 * INSTALL: Regenerated.
24822 * sysdeps/gnu/errlist.c: Regenerated.
24824 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24825 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24826 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24828 * configure: Regenerated.
24830 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24832 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24833 default includes instead of AC_HEADER_CHECK.
24834 * sysdeps/i386/configure: Regenerated.
24837 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24838 * math/s_cacoshf.c (__cacoshf): Likewise.
24839 * math/s_cacoshl.c (__cacoshl): Likewise.
24840 * math/s_casinh.c (__casinh): Set signs of result from argument.
24841 * math/s_casinhf.c (__casinhf): Likewise.
24842 * math/s_casinhl.c (__casinhl): Likewise.
24843 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24844 (casinh_test): Add more tests.
24845 * sysdeps/i386/fpu/libm-test-ulps: Update.
24846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24848 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24850 * po/zh_TW.po: Update from translation team.
24852 * login/Makefile (distribute): Remove variable.
24853 * catgets/Makefile: Likewise.
24854 * mach/Makefile: Likewise.
24855 * malloc/Makefile: Likewise.
24856 * misc/Makefile: Likewise.
24857 * iconv/Makefile: Likewise.
24858 * nscd/Makefile: Likewise.
24859 * hurd/Makefile: Likewise.
24860 * manual/Makefile: Likewise.
24861 * locale/Makefile: Likewise.
24862 * intl/Makefile: Likewise.
24863 * conform/Makefile: Likewise.
24864 * nss/Makefile: Likewise.
24865 * time/Makefile: Likewise.
24866 * soft-fp/Makefile: Likewise.
24867 * dirent/Makefile: Likewise.
24868 * gmon/Makefile: Likewise.
24869 * po/Makefile: Likewise.
24870 * rt/Makefile: Likewise.
24871 * socket/Makefile: Likewise.
24872 * math/Makefile: Likewise.
24873 * signal/Makefile: Likewise.
24874 * debug/Makefile: Likewise.
24875 * elf/Makefile: Likewise.
24876 * timezone/Makefile: Likewise.
24877 * stdlib/Makefile: Likewise.
24878 * iconvdata/Makefile: Likewise.
24879 * sunrpc/Makefile: Likewise.
24880 * io/Makefile: Likewise.
24881 * argp/Makefile: Likewise.
24882 * inet/Makefile: Likewise.
24883 * hesiod/Makefile: Likewise.
24884 * grp/Makefile: Likewise.
24885 * csu/Makefile: Likewise.
24886 * wctype/Makefile: Likewise.
24887 * crypt/Makefile: Likewise.
24888 * libio/Makefile: Likewise.
24889 * string/Makefile: Likewise.
24890 * nis/Makefile: Likewise.
24891 * resolv/Makefile: Likewise.
24892 * stdio-common/Makefile: Likewise.
24893 * wcsmbs/Makefile: Likewise.
24894 * dlfcn/Makefile: Likewise.
24895 * posix/Makefile: Likewise.
24898 * timezone/Makefile: Don't install timezone files, just the programs
24901 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24903 * nss/databases.def: Add missing gshadow entry.
24905 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24907 2012-03-06 Marek Polacek <polacek@redhat.com>
24910 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24911 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24912 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24913 * stdio-common/tst-long-dbl-fphex.c: New file.
24915 2012-03-06 David S. Miller <davem@davemloft.net>
24917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24918 (set_obp_int): New function.
24919 (get_obp_int): New function.
24920 (__get_clockfreq_via_dev_openprom): Likewise.
24921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24922 Avoid unused variable warnings on 'val' and use builtin_expect.
24923 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24925 (INLINE_CLONE_SYSCALL): Likewise.
24927 2012-03-05 David S. Miller <davem@davemloft.net>
24929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24931 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24935 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24936 only for |x| >= 40.
24937 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24939 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24941 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24942 Replace gettimeofday with __vdso_gettimeofday.
24944 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24945 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24946 __vdso_clock_gettime and __vdso_getcpu.
24948 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24949 time with __vdso_time.
24951 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24953 * manual/lang.texi (size_t): Note types to which size_t may be
24954 equivalent with the GNU C Library, but do not describe when
24955 differences between them are significant.
24957 2012-03-05 Andreas Jaeger <aj@suse.de>
24959 * sysdeps/i386/fpu/libm-test-ulps: Update.
24961 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24964 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24965 (__ieee754_pow): Save and restore rounding mode and use
24966 round-to-nearest for main computations.
24967 * math/libm-test.inc (pow_test_tonearest): New function.
24968 (pow_test_towardzero): Likewise.
24969 (pow_test_downward): Likewise.
24970 (pow_test_upward): Likewise.
24971 (main): Call the new functions.
24972 * sysdeps/i386/fpu/libm-test-ulps: Update.
24973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24976 * math/libm-test.inc (cosh_test_tonearest): New function.
24977 (cosh_test_towardzero): Likewise.
24978 (cosh_test_downward): Likewise.
24979 (cosh_test_upward): Likewise.
24980 (sinh_test_tonearest): Likewise.
24981 (sinh_test_towardzero): Likewise.
24982 (sinh_test_downward): Likewise.
24983 (sinh_test_upward): Likewise.
24984 (main): Call the new functions.
24985 * sysdeps/i386/fpu/libm-test-ulps: Update.
24986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24988 2012-03-05 Tom de Vries <tom@codesourcery.com>
24990 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24991 default stack guard is set in last bytes.
24992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24994 2012-03-05 Kees Cook <keescook@chromium.org>
24996 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24999 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25000 possibly allocate from heap instead of stack.
25001 * stdio-common/bug-vfprintf-nargs.c: New file.
25002 * stdio-common/Makefile (tests): Add nargs overflow test.
25004 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25008 2012-03-03 Marek Polacek <polacek@redhat.com>
25010 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25011 * math/math_private.h: Likewise.
25012 * stdlib/tst-strtod.c: Likewise.
25013 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25014 * sysdeps/x86_64/bits/atomic.h: Likewise.
25016 2012-03-02 David S. Miller <davem@davemloft.net>
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25022 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25023 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25024 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25025 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25027 2012-03-02 Roland McGrath <roland@hack.frob.com>
25030 * manual/examples/README: New file, says the example source files
25031 can be used under GPL>=2.
25032 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25033 line containing just "*/".
25034 * manual/examples/add.c: Add copyright header (GPL>=2).
25035 * manual/examples/argp-ex1.c: Likewise.
25036 * manual/examples/argp-ex2.c: Likewise.
25037 * manual/examples/argp-ex3.c: Likewise.
25038 * manual/examples/argp-ex4.c: Likewise.
25039 * manual/examples/atexit.c: Likewise.
25040 * manual/examples/db.c: Likewise.
25041 * manual/examples/dir.c: Likewise.
25042 * manual/examples/dir2.c: Likewise.
25043 * manual/examples/execinfo.c: Likewise.
25044 * manual/examples/filecli.c: Likewise.
25045 * manual/examples/filesrv.c: Likewise.
25046 * manual/examples/fmtmsgexpl.c: Likewise.
25047 * manual/examples/genpass.c: Likewise.
25048 * manual/examples/inetcli.c: Likewise.
25049 * manual/examples/inetsrv.c: Likewise.
25050 * manual/examples/isockad.c: Likewise.
25051 * manual/examples/longopt.c: Likewise.
25052 * manual/examples/memopen.c: Likewise.
25053 * manual/examples/memstrm.c: Likewise.
25054 * manual/examples/mkfsock.c: Likewise.
25055 * manual/examples/mkisock.c: Likewise.
25056 * manual/examples/mygetpass.c: Likewise.
25057 * manual/examples/pipe.c: Likewise.
25058 * manual/examples/popen.c: Likewise.
25059 * manual/examples/rprintf.c: Likewise.
25060 * manual/examples/search.c: Likewise.
25061 * manual/examples/select.c: Likewise.
25062 * manual/examples/setjmp.c: Likewise.
25063 * manual/examples/sigh1.c: Likewise.
25064 * manual/examples/sigusr.c: Likewise.
25065 * manual/examples/stpcpy.c: Likewise.
25066 * manual/examples/strdupa.c: Likewise.
25067 * manual/examples/strftim.c: Likewise.
25068 * manual/examples/strncat.c: Likewise.
25069 * manual/examples/subopt.c: Likewise.
25070 * manual/examples/swapcontext.c: Likewise.
25071 * manual/examples/termios.c: Likewise.
25072 * manual/examples/testopt.c: Likewise.
25073 * manual/examples/testpass.c: Likewise.
25074 * manual/examples/timeval_subtract.c: Likewise.
25077 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25079 * manual/timeval_subtract.c.texi: ... here, new file.
25081 2012-03-02 David S. Miller <davem@davemloft.net>
25083 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25085 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25088 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25089 (__sin): Save and restore rounding mode and use round-to-nearest
25090 for all computations.
25091 (__cos): Save and restore rounding mode and use round-to-nearest
25092 for all computations.
25093 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25095 (tan): Save and restore rounding mode and use round-to-nearest for
25097 * math/libm-test.inc (cos_test_tonearest): New function.
25098 (cos_test_towardzero): Likewise.
25099 (cos_test_downward): Likewise.
25100 (cos_test_upward): Likewise.
25101 (sin_test_tonearest): Likewise.
25102 (sin_test_towardzero): Likewise.
25103 (sin_test_downward): Likewise.
25104 (sin_test_upward): Likewise.
25105 (tan_test_tonearest): Likewise.
25106 (tan_test_towardzero): Likewise.
25107 (tan_test_downward): Likewise.
25108 (tan_test_upward): Likewise.
25109 (main): Call the new functions.
25110 * sysdeps/i386/fpu/libm-test-ulps: Update.
25111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25114 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25115 small n, then large n, before computing and testing k+n.
25116 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25121 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25122 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25123 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25124 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25125 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25126 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25127 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25129 * math/libm-test.inc (scalbn_test): Add more tests.
25130 (scalbln_test): Likewise.
25132 * manual/filesys.texi (mode_t): Describe constraints on size and
25133 signedness, not exact equivalence to a particular type.
25135 (ino64_t): Likewise.
25137 (nlink_t): Likewise.
25138 (blkcnt_t): Likewise.
25139 (blkcnt64_t): Likewise.
25140 * manual/llio.texi (off_t): Likewise.
25143 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25144 (__ieee754_exp): Save and restore rounding mode and use
25145 round-to-nearest for all computations.
25146 * math/libm-test.inc (exp_test_tonearest): New function.
25147 (exp_test_towardzero): Likewise.
25148 (exp_test_downward): Likewise.
25149 (exp_test_upward): Likewise.
25150 (main): Call the new functions.
25151 * sysdeps/i386/fpu/libm-test-ulps: Update.
25152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25154 2012-03-01 Chris Demetriou <cgd@google.com>
25156 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25157 have predictable order.
25159 2012-03-01 David S. Miller <davem@davemloft.net>
25161 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25163 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25164 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25165 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25166 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25168 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25169 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25170 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25172 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25173 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25174 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25175 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25176 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25181 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25182 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25184 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25185 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25186 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25187 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25188 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25189 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25190 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25191 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25192 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25193 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25194 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25197 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25200 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25201 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25202 * sysdeps/sparc/elf/configure: Regenerated.
25204 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25206 * configure.in (AS, LD): Require binutils 2.20 or later.
25207 * configure: Regenerated.
25208 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25209 as required minimum version.
25210 * INSTALL: Regenerated.
25214 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25215 before squaring exponent.
25216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25217 bottom long double and 27 bits of top long double before squaring
25219 * math/libm-test.inc (erfc_test): Add more tests.
25220 * sysdeps/i386/fpu/libm-test-ulps: Update.
25221 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25224 2012-03-01 Kai Tietz <ktietz@redhat.com>
25226 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25227 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25228 containing bit-fields.
25229 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25230 * soft-fp/single.h (_FP_UNION_S): Likewise.
25231 * soft-fp/double.h (_FP_UNION_D): Likewise.
25233 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25236 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25237 not include ../strcmp.S.
25238 [USE_AS_STRNCASECMP_L]: Likewise.
25239 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25240 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25241 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25242 (__strncasecmp_l_ia32): Define as alias to
25243 __strncasecmp_l_nonascii.
25246 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25247 * sysdeps/i386/fpu/libm-test-ulps: Update.
25248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25250 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25253 2012-02-29 Jeff Law <law@redhat.com>
25255 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25256 out of bounds read.
25258 2012-02-29 Marek Polacek <polacek@redhat.com>
25261 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25262 * elf/Makefile: Add rules to run tst-unused-dep.out.
25264 2012-02-28 David S. Miller <davem@davemloft.net>
25266 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25267 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25270 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25271 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25273 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25275 * math/libm-test.inc (llround_test): Move one test from
25276 lround_test. Use TEST_f_L in moved test.
25277 (lround_test): Move misplaced test to llround_test. Add testcase
25280 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25282 * sysdeps/x86_64/fpu/e_expf.S: New file.
25283 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25285 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25288 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25289 of remain_len that may cause incomplete multi-byte character and
25291 * posix/bug-regex33.c: New file.
25292 * posix/Makefile (tests): Add bug-regex33.
25294 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25296 * manual/macros.texi: New file.
25297 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25298 * manual/libc.texinfo: Include macros.texi.
25299 * manual/creatute.texi: Likewise.
25300 * manual/install.texi: Likewise.
25301 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25302 @glibcadj{} in references to the GNU C Library.
25303 * manual/charset.texi: Likewise.
25304 * manual/conf.texi: Likewise.
25305 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25306 when not using those macros.
25307 * manual/creature.texi: Likewise.
25308 * manual/crypt.texi: Likewise.
25309 * manual/errno.texi: Likewise.
25310 * manual/filesys.texi: Likewise.
25311 * manual/header.texi: Likewise.
25312 * manual/install.texi: Likewise.
25313 * manual/intro.texi: Likewise.
25314 * manual/io.texi: Likewise.
25315 * manual/job.texi: Likewise.
25316 * manual/lang.texi: Likewise.
25317 * manual/libc.texiinfo: Likewise.
25318 * manual/llio.texi: Likewise.
25319 * manual/locale.texi: Likewise.
25320 * manual/maint.texi: Likewise.
25321 * manual/math.texi: Likewise.
25322 * manual/memory.texi: Likewise.
25323 * manual/message.texi: Likewise.
25324 * manual/nss.texi: Likewise.
25325 * manual/pattern.texi: Likewise.
25326 * manual/process.texi: Likewise.
25327 * manual/resource.texi: Likewise.
25328 * manual/search.texi: Likewise.
25329 * manual/setjmp.texi: Likewise.
25330 * manual/signal.texi: Likewise.
25331 * manual/socket.texi: Likewise.
25332 * manual/startup.texi: Likewise.
25333 * manual/stdio.texi: Likewise.
25334 * manual/string.texi: Likewise.
25335 * manual/sysinfo.texi: Likewise.
25336 * manual/syslog.texi: Likewise.
25337 * manual/terminal.texi: Likewise.
25338 * manual/time.texi: Likewise.
25339 * manual/users.texi: Likewise.
25340 * INSTALL: Regenerated.
25341 * NOTES: Regenerated.
25342 * sysdeps/gnu/errlist.c: Regenerated.
25344 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25346 * include/dirent.h: Include <dirstream.h> before
25349 2012-02-28 David S. Miller <davem@davemloft.net>
25351 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25352 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25353 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25354 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25356 2012-02-27 David S. Miller <davem@davemloft.net>
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25360 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25361 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25364 frame pointer instead of stack pointer relative arg slot.
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25366 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25367 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25369 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25372 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25374 2012-02-27 David S. Miller <davem@davemloft.net>
25376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25380 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25381 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25382 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25383 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25385 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25387 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25388 later. Allow versions 5-9.
25389 * configure: Regenerated.
25390 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25391 required minimum version and 4.6 as recommended version. Do not
25392 mention bugs in GCC 2.7 and 2.8.
25393 * INSTALL: Regenerated.
25395 2012-02-27 David S. Miller <davem@davemloft.net>
25397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25401 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25402 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25403 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25404 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25406 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25407 manipulate bits before adding and subtracting TWO112[sx].
25408 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25410 2012-02-27 Roland McGrath <roland@hack.frob.com>
25413 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25414 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25415 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25416 being in POSIX, because they are in 1003.1-2008.
25418 * rt/tst-aio.c: Include <fcntl.h>.
25419 * rt/tst-aio7.c: Likewise.
25420 * rt/tst-aio64.c: Likewise.
25422 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25424 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25426 * manual/install.texi (--with-headers): Describe headers as
25427 interface headers, not private headers.
25428 (Specific advice for GNU/Linux systems): Describe use of headers
25429 from "make headers_install", not private headers from older
25431 * INSTALL: Regenerated.
25432 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25434 * sysdeps/unix/sysv/linux/configure: Regenerated.
25436 * manual/llio.texi (fclean): Remove documentation.
25438 * manual/Makefile (libc-texi-generated): New variable. Include
25440 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25441 $(libc-texi-generated), not duplicated list of files.
25442 (version.texi, stamp-version): New rules.
25443 (realclean): Remove $(libc-texi-generated), not individual files
25444 from that list. Do not remove dir-add.texinfo.
25445 * manual/libc.texinfo: Comment out uses of edition numbers and
25446 references to printed manual. Remove last-updated dates.
25447 (EDITION): Comment out.
25449 (VERSION, UPDATED): Remove.
25450 (version.texi): Include.
25452 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25454 * sysdeps/posix/spawni.c: Include <signal.h>.
25455 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25456 * sysdeps/pthread/aio_fsync.c: Likewise.
25458 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25460 * conform/Makefile (tests): Run only when not cross-compiling and
25461 when fast-check is not defined.
25463 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25464 * conform/data/limits.h-data: Fixes for POSIX2008.
25465 * conform/run-conformtest.sh: Run all tests.
25466 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25468 * include/bits/dlfcn.h: Likewise.
25469 * include/langinfo.h: Likewise.
25470 * include/monetary.h: Likewise.
25471 * include/sys/poll.h: Likewise.
25473 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25475 * posix/spawn.h: Define __need_sigset_t.
25476 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25477 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25478 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25479 to get sigevent_t only.
25480 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25481 only for __USE_GNU.
25482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25483 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25484 process_vm_writev only for __USE_GNU.
25485 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25487 * conform/Makefile: For now ignore errors from run-conformtest.
25488 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25489 POSIX to avoid namespace pollution. Don't prepend headers.
25490 * conform/data/aio.h-data: Fixes for POSIX testing.
25491 * conform/data/fcntl.h-data: Likewise.
25492 * conform/data/glob.h-data: Likewise.
25493 * conform/data/grp.h-data: Likewise.
25494 * conform/data/pthread.h-data: Likewise.
25495 * conform/data/pwd.h-data: Likewise.
25496 * conform/data/signal.h-data: Likewise.
25497 * conform/data/spawn.h-data: Likewise.
25498 * conform/data/stdio.h-data: Likewise.
25499 * conform/data/stdlib.h-data: Likewise.
25500 * conform/data/stropts.h-data: Likewise.
25501 * conform/data/sys/mman.h-data: Likewise.
25502 * conform/data/sys/stat.h-data: Likewise.
25503 * conform/data/sys/types.h-data: Likewise.
25504 * conform/data/sys/wait.h-data: Likewise.
25505 * conform/data/time.h-data: Likewise.
25506 * conform/data/unistd.h-data: Likewise.
25507 * conform/data/utime.h-data: Likewise.
25509 * io/sys/stat.h: fchmod was always in POSIX.
25510 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25511 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25512 * rt/aio.h: Define __need_timespec before including <time.h>.
25513 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25514 struct. Add forward declaration of pthread_attr_t and use it in
25516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25517 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25518 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25519 always remove CLK_TCK definition.
25521 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25523 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25525 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25527 * conform/run-conformtest.sh: New file.
25528 * conform/Makefile: Run run-conformtest for tests.
25529 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25532 * conform/data/uchar.h-data: New file.
25533 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25534 * conform/data/arpa/inet.h-data: Likewise.
25535 * conform/data/assert.h-data: Likewise.
25536 * conform/data/complex.h-data: Likewise.
25537 * conform/data/cpio.h-data: Likewise.
25538 * conform/data/ctype.h-data: Likewise.
25539 * conform/data/dirent.h-data: Likewise.
25540 * conform/data/dlfcn.h-data: Likewise.
25541 * conform/data/errno.h-data: Likewise.
25542 * conform/data/fcntl.h-data: Likewise.
25543 * conform/data/float.h-data: Likewise.
25544 * conform/data/fmtmsg.h-data: Likewise.
25545 * conform/data/fnmatch.h-data: Likewise.
25546 * conform/data/ftw.h-data: Likewise.
25547 * conform/data/glob.h-data: Likewise.
25548 * conform/data/grp.h-data: Likewise.
25549 * conform/data/iconv.h-data: Likewise.
25550 * conform/data/inttypes.h-data: Likewise.
25551 * conform/data/langinfo.h-data: Likewise.
25552 * conform/data/libgen.h-data: Likewise.
25553 * conform/data/limits.h-data: Likewise.
25554 * conform/data/locale.h-data: Likewise.
25555 * conform/data/math.h-data: Likewise.
25556 * conform/data/monetary.h-data: Likewise.
25557 * conform/data/mqueue.h-data: Likewise.
25558 * conform/data/ndbm.h-data: Likewise.
25559 * conform/data/net/if.h-data: Likewise.
25560 * conform/data/netdb.h-data: Likewise.
25561 * conform/data/netinet/in.h-data: Likewise.
25562 * conform/data/nl_types.h-data: Likewise.
25563 * conform/data/poll.h-data: Likewise.
25564 * conform/data/pthread.h-data: Likewise.
25565 * conform/data/pwd.h-data: Likewise.
25566 * conform/data/regex.h-data: Likewise.
25567 * conform/data/sched.h-data: Likewise.
25568 * conform/data/search.h-data: Likewise.
25569 * conform/data/semaphore.h-data: Likewise.
25570 * conform/data/setjmp.h-data: Likewise.
25571 * conform/data/signal.h-data: Likewise.
25572 * conform/data/spawn.h-data: Likewise.
25573 * conform/data/stdarg.h-data: Likewise.
25574 * conform/data/stdio.h-data: Likewise.
25575 * conform/data/stdlib.h-data: Likewise.
25576 * conform/data/string.h-data: Likewise.
25577 * conform/data/strings.h-data: Likewise.
25578 * conform/data/stropts.h-data: Likewise.
25579 * conform/data/sys/ipc.h-data: Likewise.
25580 * conform/data/sys/mman.h-data: Likewise.
25581 * conform/data/sys/msg.h-data: Likewise.
25582 * conform/data/sys/resource.h-data: Likewise.
25583 * conform/data/sys/select.h-data: Likewise.
25584 * conform/data/sys/sem.h-data: Likewise.
25585 * conform/data/sys/shm.h-data: Likewise.
25586 * conform/data/sys/socket.h-data: Likewise.
25587 * conform/data/sys/stat.h-data: Likewise.
25588 * conform/data/sys/statvfs.h-data: Likewise.
25589 * conform/data/sys/time.h-data: Likewise.
25590 * conform/data/sys/timeb.h-data: Likewise.
25591 * conform/data/sys/times.h-data: Likewise.
25592 * conform/data/sys/types.h-data: Likewise.
25593 * conform/data/sys/uio.h-data: Likewise.
25594 * conform/data/sys/un.h-data: Likewise.
25595 * conform/data/sys/utsname.h-data: Likewise.
25596 * conform/data/sys/wait.h-data: Likewise.
25597 * conform/data/syslog.h-data: Likewise.
25598 * conform/data/tar.h-data: Likewise.
25599 * conform/data/termios.h-data: Likewise.
25600 * conform/data/utime.h-data: Likewise.
25601 * conform/data/utmpx.h-data: Likewise.
25602 * conform/data/varargs.h-data: Likewise.
25603 * conform/data/wchar.h-data: Likewise.
25604 * conform/data/wctype.h-data: Likewise.
25605 * conform/data/wordexp.h-data: Likewise.
25607 * include/stropts.h: New file.
25608 * include/uchar.h: New file.
25609 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25610 * include/assert.h: Likewise.
25611 * include/ctype.h: Likewise.
25612 * include/dirent.h: Likewise.
25613 * include/dlfcn.h: Likewise.
25614 * include/fcntl.h: Likewise.
25615 * include/fnmatch.h: Likewise.
25616 * include/glob.h: Likewise.
25617 * include/grp.h: Likewise.
25618 * include/libio.h: Likewise.
25619 * include/locale.h: Likewise.
25620 * include/math.h: Likewise.
25621 * include/net/if.h: Likewise.
25622 * include/netdb.h: Likewise.
25623 * include/netinet/in.h: Likewise.
25624 * include/pthread.h: Likewise.
25625 * include/pwd.h: Likewise.
25626 * include/regex.h: Likewise.
25627 * include/sched.h: Likewise.
25628 * include/search.h: Likewise.
25629 * include/setjmp.h: Likewise.
25630 * include/signal.h: Likewise.
25631 * include/stdio.h: Likewise.
25632 * include/stdlib.h: Likewise.
25633 * include/string.h: Likewise.
25634 * include/sys/cdefs.h: Likewise.
25635 * include/sys/mman.h: Likewise.
25636 * include/sys/msg.h: Likewise.
25637 * include/sys/resource.h: Likewise.
25638 * include/sys/select.h: Likewise.
25639 * include/sys/socket.h: Likewise.
25640 * include/sys/stat.h: Likewise.
25641 * include/sys/statvfs.h: Likewise.
25642 * include/sys/time.h: Likewise.
25643 * include/sys/times.h: Likewise.
25644 * include/sys/uio.h: Likewise.
25645 * include/sys/utsname.h: Likewise.
25646 * include/sys/wait.h: Likewise.
25647 * include/termios.h: Likewise.
25648 * include/time.h: Likewise.
25649 * include/ulimit.h: Likewise.
25650 * include/unistd.h: Likewise.
25651 * include/utime.h: Likewise.
25652 * include/wchar.h: Likewise.
25653 * include/wctype.h: Likewise.
25654 * include/wordexp.h: Likewise.
25656 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25658 * time/time.h: TIME_UTC must be a macro.
25659 Make timespec_get available for ISO C11 only as well.
25661 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25663 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25664 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25666 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25668 * configure.in: Use -o not -a in test for unsupported multi-arch.
25670 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25672 * manual/texinfo.tex: Update to version 2012-01-19.16.
25674 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25676 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25678 2012-02-24 Roland McGrath <roland@hack.frob.com>
25681 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25682 * manual/fdl-1.3.texi: New file.
25683 * manual/fdl-1.1.texi: File removed.
25686 * manual/libc.texinfo (FDL_VERSION): New @set.
25687 Use it for mention of FDL in cover text.
25688 (Documentation License): Use it in @include file name.
25690 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25691 Roland McGrath <roland@hack.frob.com>
25694 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25695 not LONG_LONG_MAX and LONG_LONG_MIN.
25696 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25697 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25699 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25701 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25705 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25706 manipulate bits before adding and subtracting TWO23[sx].
25707 * math/libm-test.inc (nearbyint_test): Add more tests.
25709 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25712 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25713 bits before adding and subtracting TWO23[sx].
25714 * math/libm-test.inc (rint_test): Add more tests.
25715 (rint_test_tonearest): Likewise.
25716 (rint_test_towardzero): Likewise.
25717 (rint_test_downward): Likewise.
25718 (rint_test_upward: Likewise.
25720 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25723 * include/stdc-predef.h: New file. Extracted from features.h.
25724 * include/features.h: Include stdc-predef.h.
25725 * Makefile (headers): Add stdc-predef.h.
25726 * CONFORMANCE (Compiler limitations): Update.
25728 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25730 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25732 2012-02-21 David S. Miller <davem@davemloft.net>
25734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25735 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25737 2012-02-20 David S. Miller <davem@davemloft.net>
25739 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25740 using a normal save/restore sequence, rather than allocating a
25741 dummy stack frame just to store a frame pointer and restore.
25742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25744 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25746 * manual/install.texi: Fix stray word in line-wrapped comment.
25748 2012-02-20 David S. Miller <davem@davemloft.net>
25750 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25751 both binutils and gcc support GOTDATA.
25753 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25754 "rd %pc" in the PIC register setup sequences.
25756 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25757 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25758 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25759 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25760 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25762 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25763 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25765 (SYSCALL_ERROR_HANDLER): Likewise.
25766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25767 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25769 (SYSCALL_ERROR_HANDLER): Likewise.
25771 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25772 (HAVE_GCC_GOTDATA): New.
25773 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25774 relocation support in both binutils and gcc.
25775 * sysdeps/sparc/elf/configure: Regenerate.
25777 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25778 * sysdeps/sparc/sparc32/elf/configure: Delete.
25779 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25780 * sysdeps/sparc/sparc64/elf/configure: Delete.
25781 * sysdeps/sparc/elf/configure.in: New file.
25782 * sysdeps/sparc/elf/configure: Generate.
25784 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25785 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25786 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25787 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25788 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25790 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25792 * manual/install.texi: Do not mention specific glibc version
25794 * manual/libc.texinfo (VERSION, UPDATED): Update.
25795 (@copying): Use @copyright{} and range of years.
25797 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25800 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25801 [crti.S not in sysdirs] (generated): Do not append.
25802 [crti.S not in sysdirs] (omit-deps): Likewise.
25803 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25804 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25805 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25806 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25807 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25809 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25810 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25811 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25812 * csu/defs.awk: Remove file.
25813 * sysdeps/generic/initfini.c: Likewise.
25814 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25816 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25819 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25821 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25822 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25823 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25824 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25825 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25826 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25828 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25829 (__EPOLL_PACKED): Define to empty if not defined by
25831 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25835 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25837 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25838 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25839 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25840 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25842 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25846 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25848 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25852 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25855 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25858 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25860 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25862 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25863 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25865 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25867 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25870 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25872 * math/w_acos.c: Use non-signaling floating-point comparisons.
25873 * math/w_acosf.c: Likewise.
25874 * math/w_acosh.c: Likewise.
25875 * math/w_acoshf.c: Likewise.
25876 * math/w_acoshl.c: Likewise.
25877 * math/w_acosl.c: Likewise.
25878 * math/w_asin.c: Likewise.
25879 * math/w_asinf.c: Likewise.
25880 * math/w_asinl.c: Likewise.
25881 * math/w_atanh.c: Likewise.
25882 * math/w_atanhf.c: Likewise.
25883 * math/w_atanhl.c: Likewise.
25884 * math/w_exp2.c: Likewise.
25885 * math/w_exp2f.c: Likewise.
25886 * math/w_exp2l.c: Likewise.
25887 * math/w_j0.c: Likewise.
25888 * math/w_j0f.c: Likewise.
25889 * math/w_j0l.c: Likewise.
25890 * math/w_j1.c: Likewise.
25891 * math/w_j1f.c: Likewise.
25892 * math/w_j1l.c: Likewise.
25893 * math/w_jn.c: Likewise.
25894 * math/w_jnf.c: Likewise.
25895 * math/w_log.c: Likewise.
25896 * math/w_log10.c: Likewise.
25897 * math/w_log10f.c: Likewise.
25898 * math/w_log10l.c: Likewise.
25899 * math/w_log2.c: Likewise.
25900 * math/w_log2f.c: Likewise.
25901 * math/w_log2l.c: Likewise.
25902 * math/w_logf.c: Likewise.
25903 * math/w_logl.c: Likewise.
25904 * math/w_sqrt.c: Likewise.
25905 * math/w_sqrtf.c: Likewise.
25906 * math/w_sqrtl.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25909 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25910 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25911 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25913 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25916 * manual/string.texi (strnlen): Use correct parameter name in
25917 equivalent expression.
25919 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25922 * manual/users.texi (seteuid): Consistently use neweuid for
25925 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25928 * manual/nss.texi (Services in the NSS configuration): Correct
25929 list of services in example configuration file.
25931 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25934 * manual/arith.texi: Remove statements about negative zero
25935 behaving identically to zero.
25937 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25940 * manual/install.texi: Do not document upgrading from libc5.
25942 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25945 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25947 2012-02-18 David S. Miller <davem@davemloft.net>
25949 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25950 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25951 %o7 across the call.
25952 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25955 SETUP_PIC_REG_LEAF.
25956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25957 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25958 * sysdeps/sparc/crtn.S: Likewise.
25960 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25962 * aout/Makefile: Remove.
25964 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25967 * manual/examples/argp-ex1.c (main): Format definition in GNU
25969 * manual/examples/argp-ex2.c (main): Likewise.
25970 * manual/examples/argp-ex3.c (main): Likewise.
25971 * manual/examples/argp-ex4.c (main): Likewise.
25972 * manual/examples/longopt.c (main): Use new-style prototype
25974 * manual/examples/strncat.c (main): Specify return type and use
25975 (void) for arguments.
25976 * manual/examples/subopt.c (main): Use char **argv argument.
25978 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25981 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25984 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25987 * manual/string.texi (strchr): Change when strchrnul is
25990 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25993 * manual/locale.texi (setlocale): Document LOCPATH.
25995 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25998 * manual/process.texi (execle): Move @dots{} before last argument.
26000 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26003 * manual/charset.texi (Generic Charset Conversion): Fix typo
26004 (LC_TYPE -> LC_CTYPE).
26006 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26009 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26010 (scalbnf): Likewise.
26011 (scalbnl): Likewise.
26012 (scalbln): Likewise.
26013 (scalblnf): Likewise.
26014 (scalblnl): Likewise.
26015 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26016 (vwarnx): Likewise.
26019 * manual/filesys.texi (telldir): Use braces around return type.
26020 * manual/llio.texi (mmap): Add space after comma.
26021 (mmap64): Likewise.
26022 * manual/math.texi (jn): Use @var{} on parameter names.
26028 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26030 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26032 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26033 (sched_get_priority_max): Likewise.
26034 * manual/signal.texi (sigvec): Add space after comma.
26035 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26037 (if_indextoname): Likewise.
26038 (if_freenameindex): Likewise.
26039 (sendto): Use ',' instead of '.' in prototype.
26040 * manual/startup.texi (syscall): Use @dots{} instead of literal
26042 * manual/stdio.texi (__fpending): Separate initial words of
26043 paragraph from @deftypefun line.
26044 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26046 (vsyslog): Use @var{} on parameter names.
26047 * manual/terminal.texi (stty): Use @var{} on parameter names.
26048 * manual/users.texi (getutmp): Use @var{} on parameter names.
26049 (getutmpx): Likewise.
26051 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26054 * manual/stdio.texi (fopen): Fix typos in description of
26057 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26060 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26061 get clock_id definition.
26063 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26066 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26067 (madvise): Cast every argument to void on its own.
26069 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26072 * manual/startup.texi (Exit Status): Fix typo.
26074 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26077 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26078 * manual/examples/argp-ex2.c: Likewise.
26079 * manual/examples/argp-ex3.c: Likewise.
26081 2012-02-16 Richard Henderson <rth@redhat.com>
26083 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26084 * sysdeps/s390/s390-32/initfini.c: Remove.
26085 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26086 * sysdeps/s390/s390-64/initfini.c: Remove.
26088 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26090 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26091 compiler output for sysdeps/generic/initfini.c.
26092 * sysdeps/sh/elf/initfini.c: Remove file.
26094 2012-02-16 David S. Miller <davem@davemloft.net>
26097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26099 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26100 * sysdeps/sparc/crti.S: New file.
26101 * sysdeps/sparc/crtn.S: New file.
26102 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26103 * sysdeps/sparc/sparc64/Makefile: Likewise.
26105 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26108 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26110 2012-02-15 Roland McGrath <roland@hack.frob.com>
26113 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26115 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26116 (write, read, close): Likewise.
26117 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26119 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26121 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26122 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26123 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26124 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26126 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26130 2012-02-14 Marek Polacek <polacek@redhat.com>
26132 * sysdeps/x86_64/crti.S: New file.
26133 * sysdeps/x86_64/crtn.S: New file.
26134 * sysdeps/x86_64/elf/initfini.c: Remove file.
26136 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26138 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26139 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26140 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26141 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26143 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26147 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26149 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26150 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26151 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26152 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26154 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26158 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26160 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26161 __feraiseexcept instead of feraiseexcept.
26163 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26164 nanosleep invocations.
26165 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26166 strings, and add error checking for a nanosleep invocations.
26168 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26170 Replace FSF snail mail address with URLs, as per GNU coding standards.
26171 Most of the snail mail addresses were wrong anyway, and omitting
26172 them makes the source code easier to maintain. Almost all of the
26173 changes are to license notices and to locale LC_IDENTIFICATION
26174 addresses, except for this one:
26175 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26176 not its snail mail address.
26178 2012-02-09 Richard Henderson <rth@twiddle.net>
26180 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26181 of kernel-features.h.
26183 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26185 2012-02-08 Marek Polacek <polacek@redhat.com>
26187 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26188 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26189 * sysdeps/gnu/_G_config.h: Likewise.
26190 * sysdeps/generic/_G_config.h: Likewise.
26192 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26194 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26198 * sysdeps/powerpc/powerpc32/crti.S: New file.
26199 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26200 * sysdeps/powerpc/powerpc64/crti.S: New file.
26201 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26203 * Makeconfig (have-initfini): Don't set.
26204 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26205 * configure.in (nopic_initfini): Don't substitute.
26206 * config.h.in (HAVE_INITFINI): Don't #undef.
26207 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26208 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26210 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26212 Support crti.S and crtn.S provided directly by architectures.
26213 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26214 [crti.S in sysdirs] (omit-deps): Likewise.
26215 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26216 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26217 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26218 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26219 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26220 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26221 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26222 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26223 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26224 compiler output for sysdeps/generic/initfini.c.
26225 * sysdeps/i386/elf/Makefile: Remove file.
26226 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26228 2012-02-07 Marek Polacek <polacek@redhat.com>
26230 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26231 * sysdeps/gnu/_G_config.h: Likewise.
26232 * sysdeps/mach/hurd/_G_config.h: Likewise.
26234 2012-02-07 Marek Polacek <polacek@redhat.com>
26236 * math/Makefile (tests): Add tst-CMPLX2.
26237 * math/tst-CMPLX2.c: New file.
26239 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26241 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26243 * math/libm-test.inc (jn_test): Add missing L suffix.
26245 2012-02-06 Marek Polacek <polacek@redhat.com>
26247 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26248 * sysdeps/i386/fpu/e_powf.S: Likewise.
26249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26250 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26252 * sysdeps/i386/fpu/e_pow.S: Likewise.
26253 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26254 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26255 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26256 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26257 * sysdeps/i386/fpu/e_log2.S: Likewise.
26258 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26259 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26260 * sysdeps/i386/fpu/e_powl.S: Likewise.
26261 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26262 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26263 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26264 * sysdeps/i386/fpu/e_logl.S: Likewise.
26265 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26266 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26267 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26268 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26269 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26270 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26271 * sysdeps/i386/fpu/e_log.S: Likewise.
26272 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26273 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26274 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26275 * sysdeps/i386/fpu/e_logf.S: Likewise.
26276 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26277 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26278 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26279 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26280 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26281 * sysdeps/i386/fpu/e_log10.S: Likewise.
26282 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26283 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26284 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26285 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26286 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26287 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26288 * sysdeps/i386/asm-syntax.h: Likewise.
26289 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26290 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26291 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26292 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26293 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26294 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26295 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26296 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26297 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26298 * sysdeps/powerpc/sysdep.h: Likewise.
26299 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26300 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26302 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26305 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26307 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26309 * sysdeps/i386/sysdep.h: Include <features.h>.
26310 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26313 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26315 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26317 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26320 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26322 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26323 (SETUP_PIC_REG): Use GET_PC_THUNK.
26324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26327 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26329 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26330 for non-PIC compilation.
26331 (SETUP_PIC_REG): Add .p2align directive.
26332 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26333 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26334 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26335 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26337 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26338 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26339 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26340 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26341 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26342 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26343 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26344 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26345 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26346 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26347 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26348 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26349 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26350 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26351 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26352 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26353 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26354 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26355 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26358 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26359 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26360 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26361 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26362 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26363 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26364 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26365 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26366 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26367 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26368 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26369 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26370 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26371 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26372 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26374 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26376 * math/tst-CMPLX.c: Include <stdio.h>.
26378 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26380 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26382 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26383 * sysdeps/sparc/bits/mathdef.h: Likewise.
26385 2012-01-31 Marek Polacek <polacek@redhat.com>
26387 * libio/libio.h: Don't define _PARAMS.
26388 * locale/programs/config.h: Don't define PARAMS.
26389 * stdlib/strtol_l.c: Likewise.
26390 (__strtol_l): Remove PARAMS from the prototype.
26392 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26394 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26395 names. Just use the correct names. Remove unnecessary wrapper
26397 * malloc/arena.c: Likewise.
26398 * malloc/hooks.c: Likewise.
26400 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26401 ARENA_TEST says not to. Simplify test for creation of a new arena.
26402 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26404 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26406 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26408 (update_get_addr): New function.
26409 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26410 GET_ADDR_MODULE parameter.
26412 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26414 * crypt/cert.c: Remove __STDC__ conditionals.
26415 * crypt/crypt-entry.c: Likewise.
26416 * crypt/crypt_util.c: Likewise.
26417 * libio/filedoalloc.c: Likewise.
26418 * libio/fileops.c: Likewise.
26419 * libio/genops.c: Likewise.
26420 * libio/iofclose.c: Likewise.
26421 * libio/iofdopen.c: Likewise.
26422 * libio/iofopen.c: Likewise.
26423 * libio/iofopen64.c: Likewise.
26424 * libio/iogetdelim.c: Likewise.
26425 * libio/iopopen.c: Likewise.
26426 * libio/obprintf.c: Likewise.
26427 * libio/oldfileops.c: Likewise.
26428 * libio/oldiofclose.c: Likewise.
26429 * libio/oldiofdopen.c: Likewise.
26430 * libio/oldiofopen.c: Likewise.
26431 * libio/oldiopopen.c: Likewise.
26432 * libio/wfiledoalloc.c: Likewise.
26433 * libio/wgenops.c: Likewise.
26434 * locale/programs/xmalloc.c: Likewise.
26435 * misc/syslog.c: Likewise.
26436 * stdio-common/xbug.c: Likewise.
26437 * string/memchr.c: Likewise.
26438 * string/memcmp.c: Likewise.
26439 * string/memrchr.c: Likewise.
26440 * string/rawmemchr.c: Likewise.
26441 * sysdeps/posix/getcwd.c: Likewise.
26442 * time/strftime_l.c: Likewise.
26444 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26446 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26447 * config.make.in (config-cflags-sse2avx): Define.
26448 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26451 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26453 * scripts/config.guess: Update from upstream config git repository.
26454 * scripts/config.sub: Likewise.
26456 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26458 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26460 (R_TILEPRO_*, R_TILEGX_*): New macros.
26462 * scripts/firstversions.awk: Fix bug in version range handling.
26464 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26466 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26468 * include/sys/epoll.h: New file.
26469 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26472 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26474 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26475 Avoid unnecessary __WORDSIZE == 64 test.
26476 (fmaxf): Use VEX format if possible.
26481 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26482 * math/math_private.h: Remove libc_fegetround* and
26484 * sysdeps/i386/configure.in: Check for -msse2avx.
26485 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26486 also if SSE2AVX is defined.
26487 Remove libc_fegetround* and libc_fesetround*.
26488 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26489 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26490 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26498 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26500 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26502 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26504 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26506 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26509 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26511 * Makeconfig (libm): Define.
26512 * elf/Makefile: Add rules to build and run tst-relsort1.
26513 * elf/tst-relsort1.c: New file.
26514 * elf/tst-relsort1mod1.c: New file.
26515 * elf/tst-relsort1mod2.c: New file.
26517 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26519 * math/s_ldexp.c: Remove __STDC__ conditionals.
26520 * math/s_ldexpf.c: Likewise.
26521 * math/s_ldexpl.c: Likewise.
26522 * math/s_nextafter.c: Likewise.
26523 * math/s_nexttowardf.c: Likewise.
26524 * math/s_significand.c: Likewise.
26525 * math/s_significandf.c: Likewise.
26526 * math/s_significandl.c: Likewise.
26527 * math/w_jnl.c: Likewise.
26528 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26529 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26530 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26531 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26532 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26547 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26548 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26549 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26550 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26551 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26552 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26553 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26554 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26555 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26556 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26557 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26558 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26559 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26560 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26561 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26562 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26563 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26565 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26566 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26567 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26568 * sysdeps/ieee754/k_standard.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26630 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26635 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26643 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26644 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26648 * sysdeps/ieee754/s_matherr.c: Likewise.
26649 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26650 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26654 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26656 * crypt/md5.h: Remove __STDC__ conditionals.
26657 * libio/libioP.h: Likewise.
26658 * locale/programs/config.h: Likewise.
26659 * sysdeps/generic/sysdep.h: Likewise.
26660 * sysdeps/i386/asm-syntax.h: Likewise.
26661 * sysdeps/s390/asm-syntax.h: Likewise.
26662 * sysdeps/unix/sysdep.h: Likewise.
26663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26666 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26668 * libio/libio.h: Remove __STDC__ conditionals.
26669 * malloc/obstack.h: Likewise.
26670 * math/complex.h: Likewise.
26671 * math/math.h: Likewise.
26672 * sysdeps/generic/_G_config.h: Likewise.
26673 * sysdeps/gnu/_G_config.h: Likewise.
26674 * sysdeps/mach/hurd/_G_config.h: Likewise.
26675 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26676 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26677 * sysdeps/sparc/bits/mathdef.h: Likewise.
26679 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26682 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26683 Clean up HAS_* macros.
26684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26685 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26690 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26693 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26695 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26697 * elf/tst-unique3.cc (gets): Remove declaration.
26698 * elf/tst-unique3lib.cc (gets): Likewise.
26699 * elf/tst-unique3lib2.cc (gets): Likewise.
26700 * elf/tst-unique4.cc (gets): Likewise.
26702 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26704 * include/stdio.h: Add C++ protection. Add gets declarations and
26706 * debug/tst-chk1.c: Don't declare gets here.
26707 * stdio-common/tst-gets.c: Likewise.
26709 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26711 * posix/glob: Remove directory.
26713 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26715 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26717 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26719 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26720 of the non-standard EPFNOSUPPORT.
26722 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26724 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26725 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26726 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26728 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26730 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26732 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26734 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26736 * nscd/grpcache.c (cache_addgr): Likewise.
26737 * nscd/hstcache.c (cache_addhst): Likewise.
26738 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26739 * nscd/pwdcache.c (cache_addpw): Likewise.
26740 * nscd/servicescache.c (cache_addserv): Likewise.
26742 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26744 * malloc/malloc.c: Various cleanups.
26745 * malloc/hooks.c: Likewise.
26747 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26748 * stdlib/bug-fmtmsg1.c: New file.
26750 * stdlib/fmtmsg.c (init): Add missing unlock.
26751 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26753 2012-01-12 Marek Polacek <polacek@redhat.com>
26755 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26758 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26760 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26761 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26762 macro to ensure uniqueness of label name.
26763 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26764 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26766 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26768 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26770 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26771 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26775 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26777 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26779 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26780 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26781 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26783 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26785 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26786 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26787 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26790 * math/bits/math-finite.h: Add ldexp support.
26792 2012-01-10 Marek Polacek <polacek@redhat.com>
26794 * locale/programs/localedef.h (show_archive_content): Add noreturn
26797 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26799 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26801 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26803 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26805 * io/Makefile (headers): Add bits/poll2.h.
26807 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26810 typo #include statement.
26812 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26814 * include/sys/cdefs.h: Define __attribute_alloc_size.
26815 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26816 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26817 * elf/pldd.c: Likewise.
26818 * iconv/iconv_charmap.c: Likewise.
26819 * iconv/iconvconfig.c: Likewise.
26820 * iconv/strtab.c: Likewise.
26821 * locale/programs/locale.c: Likewise.
26822 * locale/programs/localedef.h: Likewise.
26823 * locale/programs/simple-hash.c: Likewise.
26824 * nscd/nscd.h: Likewise.
26825 * nss/makedb.c: Likewise.
26826 * sysdeps/generic/ldconfig.h: Likewise.
26827 * locale/programs/localedef.c: Remove xmalloc prototype.
26828 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26830 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26832 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26835 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26837 * math/Makefile (tests): Add tst-CMPLX.
26838 * math/tst-CMPLX.c: New file.
26840 * math/complex.h (CMPLXL): Fix typo.
26842 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26843 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26845 * debug/tst-chk1.c: Add poll and ppoll tests.
26846 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26847 * include/sys/poll.h: Add hidden proto for ppoll.
26848 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26849 * sysdeps/mach/hurd/ppoll.c: Likewise.
26850 * io/ppoll.c: Likewise.
26851 * debug/poll_chk.c: New file.
26852 * debug/ppoll_chk.c: New file.
26853 * include/bits/poll2.h: New file.
26854 * io/bits/poll2.h: New file.
26857 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26859 * configure.in: static is always set to yes. Remove.
26860 * config.make.in: Don't set build-static.
26861 * Makeconfig: Remove use of build-static.
26862 * dlfcn/Makefile: Likewise.
26863 * elf/Makefile: Likewise.
26864 * math/Makefile: Likewise.
26865 * misc/Makefile: Likewise.
26866 * nptl/Makefile: Likewise.
26867 * sysdeps/mach/hurd/Makefile: Likewise.
26869 * configure.in: PWD_P is not used anymore.
26870 * config.make.in: Remove PWD_P entry.
26872 * configure.in: Remove last remnants of RANLIB.
26873 No need to check for signed size_t anymore.
26874 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26876 Remove __builtin_expect test because we require at least gcc 3.4.
26877 * aclocal.m4: Likewise.
26879 * wcsmbs/mbrtoc16.c: Implement using towc function.
26880 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26881 * wcsmbs/wcsmbsload.c: Likewise.
26882 * iconv/gconv_simple.c: Likewise.
26883 * iconv/gconv_int.h: Likewise.
26884 * iconv/gconv_builtin.h: Likewise.
26885 * iconv/iconv_prog.c: Remove CHAR16 handling.
26887 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26889 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26891 * configure.in: Remove --with-elf and --enable-bounded options.
26892 Dont set base_machine for ia64. More non-ELF conditions removed.
26893 Remove testing and setting of leading underscore information.
26894 * config.make.in (build-bounded): Set to no.
26895 * config.h.in: Remove NO_UNDERSCORES entry.
26896 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26898 * csu/start.c: Remove !NO_UNDERSCORE code.
26899 * locale/localeinfo.h: Likewise.
26900 * sysdeps/generic/machine-gmon.h: Likewise.
26901 * sysdeps/generic/sysdep.h: Likewise.
26902 * sysdeps/i386/sysdep.h: Likewise.
26903 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26904 * sysdeps/mach/sysdep.h: Likewise.
26905 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26907 * sysdeps/sh/sysdep.h: Likewise.
26908 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26909 * sysdeps/unix/i386/sysdep.S: Likewise.
26910 * sysdeps/unix/sparc/start.c: Likewise.
26911 * sysdeps/unix/sparc/sysdep.S: Likewise.
26912 * sysdeps/unix/sparc/sysdep.h: Likewise.
26913 * sysdeps/unix/start.c: Likewise.
26914 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26915 * sysdeps/x86_64/sysdep.h: Likewise.
26917 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26920 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26922 * argp/argp-fmtstream.h: Use const instead __const.
26923 * argp/argp.h: Likewise.
26924 * assert/assert.h: Likewise.
26925 * bits/fenv.h: Likewise.
26926 * bits/sched.h: Likewise.
26927 * bits/sigset.h: Likewise.
26928 * bits/sigthread.h: Likewise.
26929 * catgets/nl_types.h: Likewise.
26930 * conform/data/pthread.h-data: Likewise.
26931 * crypt/crypt-private.h: Likewise.
26932 * crypt/crypt.h: Likewise.
26933 * crypt/crypt_util.c: Likewise.
26934 * ctype/ctype.h: Likewise.
26935 * debug/execinfo.h: Likewise.
26936 * debug/mbsnrtowcs_chk.c: Likewise.
26937 * debug/mbsrtowcs_chk.c: Likewise.
26938 * debug/wcsnrtombs_chk.c: Likewise.
26939 * debug/wcsrtombs_chk.c: Likewise.
26940 * debug/wcstombs_chk.c: Likewise.
26941 * dirent/dirent.h: Likewise.
26942 * dlfcn/dlfcn.h: Likewise.
26943 * elf/neededtest4.c: Likewise.
26944 * grp/grp.h: Likewise.
26945 * gshadow/gshadow.h: Likewise.
26946 * iconv/gconv.h: Likewise.
26947 * iconv/gconv_int.h: Likewise.
26948 * iconv/gconv_simple.c: Likewise.
26949 * iconv/iconv.h: Likewise.
26950 * iconv/loop.c: Likewise.
26951 * iconv/skeleton.c: Likewise.
26952 * include/aio.h: Likewise.
26953 * include/aliases.h: Likewise.
26954 * include/argz.h: Likewise.
26955 * include/arpa/inet.h: Likewise.
26956 * include/assert.h: Likewise.
26957 * include/dirent.h: Likewise.
26958 * include/dlfcn.h: Likewise.
26959 * include/execinfo.h: Likewise.
26960 * include/fcntl.h: Likewise.
26961 * include/fenv.h: Likewise.
26962 * include/glob.h: Likewise.
26963 * include/grp.h: Likewise.
26964 * include/libintl.h: Likewise.
26965 * include/mntent.h: Likewise.
26966 * include/netdb.h: Likewise.
26967 * include/pwd.h: Likewise.
26968 * include/rpc/netdb.h: Likewise.
26969 * include/sched.h: Likewise.
26970 * include/search.h: Likewise.
26971 * include/shadow.h: Likewise.
26972 * include/signal.h: Likewise.
26973 * include/stdio.h: Likewise.
26974 * include/stdlib.h: Likewise.
26975 * include/string.h: Likewise.
26976 * include/sys/socket.h: Likewise.
26977 * include/sys/stat.h: Likewise.
26978 * include/sys/statfs.h: Likewise.
26979 * include/sys/statvfs.h: Likewise.
26980 * include/sys/syslog.h: Likewise.
26981 * include/sys/time.h: Likewise.
26982 * include/sys/uio.h: Likewise.
26983 * include/time.h: Likewise.
26984 * include/unistd.h: Likewise.
26985 * include/utmp.h: Likewise.
26986 * include/wchar.h: Likewise.
26987 * include/wctype.h: Likewise.
26988 * inet/aliases.h: Likewise.
26989 * inet/arpa/inet.h: Likewise.
26990 * inet/netinet/ether.h: Likewise.
26991 * inet/netinet/in.h: Likewise.
26992 * intl/libintl.h: Likewise.
26993 * io/bits/fcntl2.h: Likewise.
26994 * io/fcntl.h: Likewise.
26995 * io/ftw.h: Likewise.
26996 * io/sys/poll.h: Likewise.
26997 * io/sys/stat.h: Likewise.
26998 * io/sys/statfs.h: Likewise.
26999 * io/sys/statvfs.h: Likewise.
27000 * io/utime.h: Likewise.
27001 * libio/bits/stdio.h: Likewise.
27002 * libio/bits/stdio2.h: Likewise.
27003 * libio/libio.h: Likewise.
27004 * libio/libioP.h: Likewise.
27005 * libio/stdio.h: Likewise.
27006 * locale/lc-ctype.c: Likewise.
27007 * locale/locale.h: Likewise.
27008 * login/utmp.h: Likewise.
27009 * malloc/arena.c: Likewise.
27010 * malloc/malloc.c: Likewise.
27011 * malloc/malloc.h: Likewise.
27012 * malloc/mcheck.c: Likewise.
27013 * malloc/mtrace.c: Likewise.
27014 * math/bits/mathcalls.h: Likewise.
27015 * math/fenv.h: Likewise.
27016 * math/math_private.h: Likewise.
27017 * misc/bits/error.h: Likewise.
27018 * misc/bits/syslog.h: Likewise.
27019 * misc/err.h: Likewise.
27020 * misc/error.h: Likewise.
27021 * misc/fstab.h: Likewise.
27022 * misc/mntent.h: Likewise.
27023 * misc/regexp.h: Likewise.
27024 * misc/search.h: Likewise.
27025 * misc/sgtty.h: Likewise.
27026 * misc/sys/mman.h: Likewise.
27027 * misc/sys/syslog.h: Likewise.
27028 * misc/sys/uio.h: Likewise.
27029 * misc/sys/xattr.h: Likewise.
27030 * misc/ttyent.h: Likewise.
27031 * nis/rpcsvc/ypclnt.h: Likewise.
27032 * nss/nss.h: Likewise.
27033 * posix/bits/unistd.h: Likewise.
27034 * posix/fnmatch.h: Likewise.
27035 * posix/glob.h: Likewise.
27036 * posix/sched.h: Likewise.
27037 * posix/spawn.h: Likewise.
27038 * posix/sys/wait.h: Likewise.
27039 * posix/unistd.h: Likewise.
27040 * posix/wordexp.h: Likewise.
27041 * pwd/pwd.h: Likewise.
27042 * resolv/netdb.h: Likewise.
27043 * resource/sys/resource.h: Likewise.
27044 * rt/aio.h: Likewise.
27045 * rt/bits/mqueue2.h: Likewise.
27046 * rt/mqueue.h: Likewise.
27047 * shadow/shadow.h: Likewise.
27048 * signal/signal.h: Likewise.
27049 * socket/send.c: Likewise.
27050 * socket/sendto.c: Likewise.
27051 * socket/sys/socket.h: Likewise.
27052 * stdio-common/printf.h: Likewise.
27053 * stdlib/bits/stdlib.h: Likewise.
27054 * stdlib/fmtmsg.h: Likewise.
27055 * stdlib/monetary.h: Likewise.
27056 * stdlib/stdlib.h: Likewise.
27057 * stdlib/ucontext.h: Likewise.
27058 * streams/stropts.h: Likewise.
27059 * string/argz.h: Likewise.
27060 * string/bits/string2.h: Likewise.
27061 * string/string.h: Likewise.
27062 * string/strings.h: Likewise.
27063 * sunrpc/rpc/auth.h: Likewise.
27064 * sunrpc/rpc/auth_des.h: Likewise.
27065 * sunrpc/rpc/clnt.h: Likewise.
27066 * sunrpc/rpc/netdb.h: Likewise.
27067 * sunrpc/rpc/pmap_clnt.h: Likewise.
27068 * sunrpc/rpc/xdr.h: Likewise.
27069 * sysdeps/generic/inttypes.h: Likewise.
27070 * sysdeps/generic/net/if.h: Likewise.
27071 * sysdeps/generic/sys/swap.h: Likewise.
27072 * sysdeps/gnu/net/if.h: Likewise.
27073 * sysdeps/gnu/utmpx.h: Likewise.
27074 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27075 * sysdeps/i386/i486/bits/string.h: Likewise.
27076 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27077 * sysdeps/s390/bits/string.h: Likewise.
27078 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27079 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27080 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27081 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27082 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27083 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27084 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27085 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27086 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27087 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27088 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27089 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27090 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27091 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27092 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27093 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27094 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27096 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27097 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27098 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27100 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27101 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27102 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27103 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27104 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27105 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27106 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27107 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27108 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27109 * sysvipc/sys/ipc.h: Likewise.
27110 * sysvipc/sys/msg.h: Likewise.
27111 * sysvipc/sys/sem.h: Likewise.
27112 * sysvipc/sys/shm.h: Likewise.
27113 * termios/termios.h: Likewise.
27114 * time/sys/time.h: Likewise.
27115 * time/time.h: Likewise.
27116 * wcsmbs/bits/wchar2.h: Likewise.
27117 * wcsmbs/uchar.h: Likewise.
27118 * wcsmbs/wchar.h: Likewise.
27119 * wctype/wctype.h: Likewise.
27122 * Makeconfig: Remove all but ELF support including AIX support.
27123 * Makerules: Likewise.
27124 * config.h.in: Likewise.
27125 * config.make.in: Likewise.
27126 * configure: Likewise.
27127 * configure.in: Likewise.
27128 * csu/Makefile: Likewise.
27129 * csu/version.c: Likewise.
27130 * debug/Makefile: Likewise.
27131 * dlfcn/Makefile: Likewise.
27132 * elf/Makefile: Likewise.
27133 * extra-lib.mk: Likewise.
27134 * iconv/Makefile: Likewise.
27135 * include/libc-symbols.h: Likewise.
27136 * include/shlib-compat.h: Likewise.
27137 * resolv/Makefile: Likewise.
27138 * resolv/res_libc.c: Likewise.
27139 * rt/Makefile: Likewise.
27140 * sysdeps/i386/asm-syntax.h: Likewise.
27141 * sysdeps/i386/sysdep.h: Likewise.
27142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27143 * sysdeps/mach/sysdep.h: Likewise.
27144 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27145 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27146 * sysdeps/s390/asm-syntax.h: Likewise.
27147 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27148 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27149 * sysdeps/sh/sysdep.h: Likewise.
27150 * sysdeps/unix/sparc/sysdep.h: Likewise.
27151 * sysdeps/wordsize-32/divdi3.c: Likewise.
27152 * sysdeps/x86_64/sysdep.h: Likewise.
27154 * argp/Versions: Remove _argp_unlock_xxx.
27157 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27158 * abilist/libBrokenLocale.abilist: Likewise.
27159 * abilist/libanl.abilist: Likewise.
27160 * abilist/libc.abilist: Likewise.
27161 * abilist/libcrypt.abilist: Likewise.
27162 * abilist/libdl.abilist: Likewise.
27163 * abilist/libm.abilist: Likewise.
27164 * abilist/libnsl.abilist: Likewise.
27165 * abilist/libpthread.abilist: Likewise.
27166 * abilist/libresolv.abilist: Likewise.
27167 * abilist/librt.abilist: Likewise.
27168 * abilist/libthread_db.abilist: Likewise.
27169 * abilist/libutil.abilist: Likewise.
27170 * abilist/libnss_db.abilist: New file.
27172 * scripts/abilist.awk: Add support for indirect functions.
27174 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27176 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27178 * shlib-versions: Remove entries for ports architectures.
27180 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27182 * elf/stackguard-macros.h: Remove support for IA-64.
27183 * elf/tst-auditmod1.c: Likewise.
27184 * sysdeps/generic/ldsodefs.h: Likewise.
27186 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27187 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27191 * configure.in: Remove --enable-omitfp support.
27193 * config.make.in: Likewise.
27194 * Makeconfig: Likewise.
27195 * manual/install.texi: Likewise.
27197 In case anyone cares, the IA-64 architecture could move to ports.
27198 * sysdeps/ia64/*: Removed.
27199 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27200 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27203 * configure.in: Remove entries for unsupported architectures.
27206 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27207 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27209 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27210 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27211 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27212 fall back to using wcrtomb.
27213 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27214 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27216 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27217 * wcsmbs/tst-c16c32-1.c: New file.
27219 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27222 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27224 * elf/tst-unique3.cc: Add explicit declaration of gets.
27225 * elf/tst-unique3lib.cc: Likewise.
27226 * elf/tst-unique3lib2.cc: Likewise.
27227 * elf/tst-unique4.cc: Likewise.
27229 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27231 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27234 * assert/assert.h (static_assert): Don't define for C++.
27235 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27236 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27238 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27240 * iconv/loop.c (single loop): Fix assertion in storing of
27243 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27245 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27247 * posix/getconf.c: Update copyright year.
27248 * nss/getent.c: Likewise.
27249 * nss/makedb.c: Likewise.
27250 * iconv/iconvconfig.c: Likewise.
27251 * iconv/iconv_prog.c: Likewise.
27252 * elf/ldconfig.c: Likewise.
27253 * elf/pldd.c: Likewise.
27254 * elf/sotruss.ksh: Likewise.
27255 * catgets/gencat.c: Likewise.
27256 * csu/version.c: Likewise.
27257 * elf/ldd.bash.in: Likewise.
27258 * elf/sprof.c (print_version): Likewise.
27259 * locale/programs/locale.c: Likewise.
27260 * locale/programs/localedef.c: Likewise.
27261 * login/programs/pt_chown.c: Likewise.
27262 * nscd/nscd.c (print_version): Likewise.
27263 * debug/xtrace.sh: Likewise.
27264 * malloc/memusage.sh: Likewise.
27265 * malloc/mtrace.pl: Likewise.
27266 * debug/catchsegv.sh: Likewise.
27268 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27270 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27273 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27276 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27277 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27279 * iconv/gconv_int.h: Likewise.
27280 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27281 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27282 from libc for GLIBC_2.16.
27283 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27284 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27285 * wcsmbs/uchar.h: Really define mbstate_t.
27286 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27287 * wcsmbs/c16rtomb.c: New file.
27288 * wcsmbs/mbrtoc16.c: New file.
27289 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27290 for C/POSIX locale.
27291 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27292 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27294 * wcsmbs/wchar.h: Add missing __restrict.
27296 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27299 * time/Makefile (routines): Add timespec_get.
27300 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27301 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27302 timespec for ISO C11.
27303 * time/timespec_get.c: New file.
27304 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27305 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27308 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27309 * stdlib/stdlib.h: Declare aligned_alloc.
27310 * Versions.def: Add GLIBC_2.16 for libc.
27311 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27314 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27317 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27321 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27324 * assert/assert.h (static_assert): Define.
27326 * version.h: Update for 2.16 development version.
27329 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27332 * version.h (RELEASE): Bump for 2.15 release.
27333 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27335 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27336 Patch by Marek Polacek <mpolacek@redhat.com>.
27338 * bits/byteswap.h: Protect long long constants with __extension__.
27339 * sysdeps/i386/bits/byteswap.h: Likewise.
27340 * sysdeps/ia64/bits/byteswap.h: Likewise.
27341 * sysdeps/s390/bits/byteswap.h: Likewise.
27342 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27344 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27347 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27348 destination buffer.
27349 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27351 2011-12-23 Marek Polacek <polacek@redhat.com>
27353 * elf/dl-addr.c (determine_info): Add inline keyword.
27354 * elf/tst-auditmod4b.c (check_avx): Likewise.
27355 * elf/tst-auditmod6b.c (check_avx): Likewise.
27356 * elf/tst-auditmod6c.c (check_avx): Likewise.
27357 * elf/tst-auditmod7b.c (check_avx): Likewise.
27359 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27361 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27364 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27367 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27368 processing for last bytes.
27370 2011-08-06 Bruno Haible <bruno@clisp.org>
27373 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27374 U+0385, not to U+1FEE.
27377 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27378 entry for U+00A5 U+0301.
27380 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27383 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27384 buffer for the output is too small.
27386 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27390 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27391 SSE flags if possible.
27393 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27396 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27397 processing for last bytes.
27399 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27401 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27402 (syscall-list-default-options, syscall-list-default-condition)
27403 (syscall-list-includes): Define.
27404 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27405 list of ABIs and options and #if conditions for each ABI. Do not
27406 handle common syscalls between ABIs specially.
27407 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27409 (syscall-list-variants, syscall-list-32bit-options)
27410 (syscall-list-32bit-condition, syscall-list-64bit-options)
27411 (syscall-list-64bit-condition): Define.
27412 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27413 (syscall-list-variants, syscall-list-32bit-options)
27414 (syscall-list-32bit-condition, syscall-list-64bit-options)
27415 (syscall-list-64bit-condition): Define.
27416 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27418 (syscall-list-variants, syscall-list-32bit-options)
27419 (syscall-list-32bit-condition, syscall-list-64bit-options)
27420 (syscall-list-64bit-condition): Define.
27421 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27423 (syscall-list-variants, syscall-list-32bit-options)
27424 (syscall-list-32bit-condition, syscall-list-64bit-options)
27425 (syscall-list-64bit-condition): Define.
27427 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27429 * locale/iso-639.def: Add brx entry.
27432 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27433 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27435 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27436 __feraiseexcept_renamed.
27438 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27441 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27442 EPOLLET with unsigned values.
27443 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27446 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27447 to large cancellation.
27448 * math/s_cacoshf.c: Likewise.
27449 * math/s_cacoshl.c: Likewise.
27451 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27455 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27456 * math/s_cacoshf.c: Likewise.
27457 * math/s_cacoshl.c: Likewise.
27459 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27462 * iconv/gconv.h: Define __GCONV_SWAP.
27463 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27464 * iconvdata/utf-16.c: Likewise.
27465 * iconvdata/utf-32.c: Likewise.
27467 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27470 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27471 numerator after shifting it by one limb.
27473 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27475 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27476 under [__USE_EXTERN_INLINES].
27478 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27481 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27483 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27485 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27486 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27488 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27489 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27490 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27491 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27492 for strncasecmp/strncasecmp_l compilation.
27493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27494 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27496 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27499 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27502 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27505 * time/tzfile.c (__tzfile_read): Check values from file header.
27507 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27509 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27510 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27511 * powerpc/powerpc32/dl-start.S: Likewise.
27512 * powerpc/powerpc32/elf/start.S: Likewise.
27513 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27514 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27515 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27516 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27517 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27518 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27519 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27520 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27521 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27522 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27523 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27524 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27525 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27526 * powerpc/powerpc32/memset.S: Likewise.
27527 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27528 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27529 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27530 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27531 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27532 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27533 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27534 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27535 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27536 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27537 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27538 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27539 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27541 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27543 * math/libm-test.inc: Added more nearbyint tests.
27544 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27545 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27546 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27547 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27549 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27551 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27554 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27556 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27557 Add wcscpy-ssse3 wcscpy-c.
27558 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27559 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27560 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27561 * sysdeps/x86_64/wcschr.S: New file.
27562 * sysdeps/x86_64/wcsrchr.S: New file.
27563 * string/test-strcmp.c: Remove checking of wcscmp function for
27565 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27566 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27567 wcsrchr-sse2 wcsrchr-c.
27568 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27569 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27570 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27571 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27572 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27573 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27574 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27575 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27576 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27577 * wcsmbc/wcschr.c (WCSCHR): New macro.
27579 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27581 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27582 * wcsmbs/test-wcsrchr.c: New file.
27583 * string/test-strrchr.c: Add wcsrchr support.
27585 * wcsmbs/test-wcscpy.c: New file.
27586 * string/test-strcpy.c: Add wcscpy support.
27589 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27594 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27597 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27599 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27601 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27602 Minor optimizations.
27604 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27605 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27606 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27608 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27610 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27611 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27612 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27613 for gcc to avoid warnings.
27614 * inet/Makefile (tests): Add tst-checks.
27615 * inet/tst-checks.c: New file.
27617 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27620 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27623 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27624 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27626 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27628 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27630 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27633 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27635 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27637 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27638 conditional on GCC version.
27639 (__arch_compare_and_exchange_val_8_acq)
27640 (__arch_compare_and_exchange_val_16_acq)
27641 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27642 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27643 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27645 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27647 * sysdeps/sh/backtrace.c: New file.
27649 2011-12-02 Andreas Schwab <schwab@redhat.com>
27651 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27654 2011-12-01 Andreas Schwab <schwab@redhat.com>
27656 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27657 falling back to utime.
27659 2011-11-30 Andreas Schwab <schwab@redhat.com>
27661 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27662 expectations for float.
27664 2011-11-29 Andreas Schwab <schwab@redhat.com>
27666 * locale/weight.h (findidx): Add parameter len.
27667 * locale/weightwc.h (findidx): Likewise.
27668 * posix/fnmatch_loop.c (FCT): Adjust caller.
27669 * posix/regcomp.c (build_equiv_class): Likewise.
27670 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27671 * posix/regexec.c (check_node_accept_bytes): Likewise.
27672 * string/strcoll_l.c (STRCOLL): Likewise.
27673 * string/strxfrm_l.c (STRXFRM): Likewise.
27675 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27677 * Makefile.in: Remove CVSOPT handling.
27678 * configure.in: Remove use of AC_REVISION.
27679 * iconvdata/Makefile (distribute): No need to filter out CVS.
27680 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27683 2011-11-16 Andreas Schwab <schwab@redhat.com>
27685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27686 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27687 [USE_AS_STRNCASECMP_L]: Likewise.
27688 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27689 NO_TLS_DIRECT_SEG_REFS.
27690 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27691 Fix argument offsets for non-PIC.
27692 [USE_AS_STRNCASECMP_L]: Likewise.
27693 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27694 NO_TLS_DIRECT_SEG_REFS.
27696 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27698 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27700 * locale/loadlocale.c (_nl_load_locale): Likewise.
27702 2011-11-15 Andreas Schwab <schwab@redhat.com>
27704 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27705 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27706 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27707 (SYSCALL_GETTIME): Set errno on error.
27709 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27710 count references to noai6ai_cached.
27712 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27714 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27716 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27717 FD_CLOEXEC for /proc/self/maps.
27719 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27720 FD_CLOEXEC for /proc/meminfo.
27722 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27725 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27726 FD_CLOEXEC for given file.
27728 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27730 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27731 FD_CLOEXEC for /etc/hosts.
27732 (_gethtent): Likewise.
27734 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27736 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27737 cancellation and set FD_CLOEXEC for /etc/netgroup.
27739 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27740 reading /etc/publickey.
27742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27743 allow cancellation when reading /etc/group.
27745 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27747 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27749 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27750 when using data file.
27752 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27754 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27755 (write_nis_obj): Use "c" and "e" in fopen.
27757 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27759 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27761 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27763 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27765 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27768 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27770 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27772 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27774 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27775 file parsing and set FD_CLOEXEC.
27777 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27779 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27781 2011-11-14 Andreas Schwab <schwab@redhat.com>
27783 * malloc/arena.c (arena_get2): Don't call reused_arena when
27784 _int_new_arena failed.
27786 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27788 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27789 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27790 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27791 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27792 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27794 to compile strcasecmp and strncasecmp.
27795 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27796 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27800 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27802 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27803 locale-defines.sym to gen-as-const-headers.
27804 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27805 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27807 to compile strcasecmp and strncasecmp.
27808 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27809 strcasecmp_l and strncasecmp_l.
27810 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27811 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27812 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27813 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27814 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27815 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27816 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27817 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27818 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27819 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27820 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27822 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27824 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27825 result of SYSDEP_GETTIME_CPU to retval.
27826 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27827 parameter list to macro. Remove trailing semicolon. Adjust users.
27829 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27832 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27834 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27836 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27837 from unused variable.
27839 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27841 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27844 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27847 * sunrpc/rpc_prot.c (rejected): Fix case value.
27849 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27850 unsigned long long int to avoid warnings in shift.
27852 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27854 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27857 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27858 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27859 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27861 * nis/nis_table.c (nis_list): Use variable of correct type for
27862 result of __follow_path call.
27864 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27866 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27867 of math functions ceil, trunc, floor, round, and sqrt, when
27868 avaliable on the platform.
27869 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27871 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27872 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27873 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27875 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27877 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27880 2011-11-11 Roland McGrath <roland@hack.frob.com>
27882 * include/unistd.h: Fix __readlink return type.
27883 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27885 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27887 * stdlib/ucontext.h: Undo last change for makecontext.
27889 2011-11-11 Andreas Schwab <schwab@redhat.com>
27891 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27893 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27894 * setjmp/setjmp.h: Mark functions as non-leaf.
27895 * setjmp/bits/setjmp2.h: Likewise.
27896 * stdlib/ucontext.h: Likewise.
27898 2011-11-10 Andreas Schwab <schwab@redhat.com>
27900 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27901 (reused_arena): Don't check arena limit.
27902 (arena_get2): Atomically check arena limit.
27904 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27906 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27907 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27912 2011-11-07 Andreas Schwab <schwab@redhat.com>
27914 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27915 handler when locking.
27917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27918 Fix size of allocated buffer.
27920 2011-11-04 Andreas Schwab <schwab@redhat.com>
27923 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27924 declarations for long double functions.
27925 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27927 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27929 2011-11-03 Andreas Schwab <schwab@redhat.com>
27931 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27934 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27937 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27939 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27941 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27943 * include/alloca.h (stackinfo_alloca_round): Define.
27944 (extend_alloca): Use it.
27945 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27946 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27949 * scripts/check-local-headers.sh: Ignore libaudit.h.
27951 * nscd/Makefile (extra-objs): Make recursively expanded.
27953 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27955 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27958 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27959 * posix/tst-rfc3484-2.c: Likewise.
27960 * posix/tst-rfc3484-3.c: Likewise.
27962 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27964 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27966 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27967 process_vm_writev from libc using GLIBC_2.15 version.
27969 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27971 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27973 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27976 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27979 * nss/getent.c (initgroups_keys): Show error message in case no group
27982 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27983 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27984 __bump_nl_timestamp.
27985 * nscd/connections (nscd_init): When host database is served open
27986 netlink socket and request notification about configuration changes.
27987 (main_loop_poll): Track netlink file descriptor and bump timestamp
27988 in case data becomes available.
27989 (main_loop_epoll): Likewise.
27990 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27991 (database_pers_head): Add extra_data fileds.
27992 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27993 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27994 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27997 in6ai data, call __free_in6ai.
27998 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27999 Add -DHAVE_NETLINK.
28000 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28001 interface information. Reuse previous data if netlink timestamp
28003 (__bump_nl_timestamp): New function.
28004 (__free_in6ai): New function.
28006 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28008 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28009 close_not_cancel_no_status here.
28010 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28012 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28015 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28018 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28019 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28020 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28022 2011-07-03 Andreas Jaeger <aj@suse.de>
28025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28026 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28027 * math/libm-test.inc (sin_test): Add test case.
28029 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28032 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28033 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28035 * elf/chroot_canon.c (chroot_canon): Cleanups.
28037 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28040 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28041 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28043 * string/test-strchr.c: Make usable for strchrnul testing.
28044 * string/test-strchrnul.c: New file.
28045 * string/Makefile (strop-tests): Add strchrnul.
28047 * po/it.po: Update from translation team.
28048 * po/es.po: Likewise.
28050 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28052 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28053 the three constants needed as parameters. Drop the others.
28054 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28055 __m128i_strloadu_tolower.
28056 Create and initialize variable zero and use it in all the places
28057 where _mm_setzero_si128 was used.
28059 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28060 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28061 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28062 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28064 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28065 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28066 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28067 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28068 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28069 __mpranred, __mptan.
28070 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28071 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28072 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28073 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28074 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28075 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28076 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28077 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28078 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28080 2011-10-28 Andreas Schwab <schwab@redhat.com>
28082 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28083 redefine if SHARED.
28084 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28087 wide char related routines to wcsmbs subdir.
28089 2011-10-27 Andreas Schwab <schwab@redhat.com>
28092 * misc/sys/cdefs.h (__THROWNL): Define.
28093 * posix/unistd.h: Use __THREADNL instead of __THREAD
28094 for memory synchronization functions.
28096 2011-10-26 Roland McGrath <roland@hack.frob.com>
28099 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28101 * manual/stdio.texi (Obstack Streams): Node removed.
28103 2011-10-26 Andreas Schwab <schwab@redhat.com>
28105 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28106 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28107 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28109 * math/math_private.h (math_force_eval): Allow non-addressable
28111 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28113 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28115 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28116 file is not needed.
28118 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28125 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28127 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28128 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28129 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28130 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28131 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28132 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28133 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28134 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28135 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28136 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28137 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28138 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28140 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28141 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28142 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28143 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28144 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28145 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28147 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28148 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28150 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28151 place. Use VEX encoding when compiling for AVX.
28153 2011-10-25 Andreas Schwab <schwab@redhat.com>
28155 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28156 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28158 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28160 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28162 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28163 useless if() expression.
28164 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28173 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28174 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28175 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28176 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28177 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28178 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28180 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28182 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28184 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28186 2011-10-25 Andreas Schwab <schwab@redhat.com>
28188 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28190 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28192 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28194 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28195 .text section. Avoid duplicate constants.
28196 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28205 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28206 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28208 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28209 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28210 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28211 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28212 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28213 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28215 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28216 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28217 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28218 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28219 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28220 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28221 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28222 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28223 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28224 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28225 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28226 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28227 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28228 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28229 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28230 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28231 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28232 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28233 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28234 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28235 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28236 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28237 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28238 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28239 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28240 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28242 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28244 * sysdeps/x86_64/dla.h: Move to ...
28245 * sysdeps/x86_64/fpu/dla.h: ...here.
28246 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28247 situations. Use __builtin_fma only for gcc 4.6 and up.
28249 * config.make.in: Add have-mfma4 entry.
28250 * configure.in: Substitute libc_cv_cc_fma4.
28251 * math/Makefile (dbl-only-routines): Add sincostab.
28252 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28253 Use __sincostab not sincos.
28254 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28261 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28262 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28263 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28264 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28266 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28267 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28269 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28270 define aliases when function name is a macro.
28271 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28272 sysdeps/ieee754/dbl-64/sincos.tbl.
28273 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28274 fma4-enabled routines.
28275 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28276 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28277 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28278 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28279 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28280 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28282 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28283 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28284 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28285 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28286 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28287 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28288 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28289 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28290 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28291 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28292 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28293 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28295 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28296 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28298 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28299 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28300 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28302 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28303 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28304 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28306 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28317 2011-10-24 Andreas Schwab <schwab@redhat.com>
28319 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28321 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28323 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28325 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28327 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28329 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28330 Remove unused variable magic_bits.
28331 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28333 * string/strnlen.c: Define and use STRNLEN macro.
28334 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28335 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28337 * wcsmbs/wcslen.c: Define and use WCSLEN.
28338 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28339 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28340 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28341 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28342 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28343 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28344 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28346 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28349 strnlen-sse2-no-bsf.
28350 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28352 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28353 Add strnlen support.
28354 (USE_AS_STRNLEN): New macro.
28355 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28356 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28357 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28358 * sysdeps/x86_64/wcslen.S: New file.
28360 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28363 XMM-moves are used for copying on small sizes.
28365 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28367 * wcsmbs/Makefile (strop-tests): Add wcschr.
28368 * wcsmbs/test-wcschr.c: New file.
28369 * string/test-strchr.c: Update.
28370 Add wcschr support.
28373 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28375 * wcsmbs/Makefile (strop-tests): Add wcslen.
28376 * wcsmbs/test-wcslen.c: New file.
28377 * string/test-strlen.c: Update.
28378 Add wcslen support.
28381 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28383 * po/it.po: Update from translation team.
28385 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28387 * sysdeps/x86_64/wcscmp.S: Update.
28388 Fix wrong comparison semantics.
28389 wcscmp shall use signed comparison not unsigned.
28390 Don't use substraction to avoid overflow bug.
28391 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28392 * wcsmbc/wcscmp.c: Likewise.
28393 * string/test-strcmp.c: Likewise.
28394 Add new tests to check cases with negative values.
28396 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28398 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28399 * sysdeps/x86_64/dla.h: ...here. New file.
28400 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28405 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28410 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28413 __ynl_finite aliases.
28415 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28419 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28421 [DLA_FMA] (EMULV): Use DLA_FMA.
28422 [DLA_FMA] (MUL12): Use EMULV.
28423 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28424 that are not needed.
28425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28433 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28435 * math/s_nan.c: Undef __nan.
28436 * math/s_nanf.c: Undef __nanf.
28437 * math/s_nanl.c: Undef __nanl.
28438 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28441 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28443 * math/s_catan.c: Add branch predictions.
28444 * math/s_catanf.c: Likewise.
28445 * math/s_catanh.c: Likewise.
28446 * math/s_catanhf.c: Likewise.
28447 * math/s_catanhl.c: Likewise.
28448 * math/s_catanl.c: Likewise.
28449 * math/s_cexp.c: Likewise.
28450 * math/s_cexpf.c: Likewise.
28451 * math/s_cexpl.c: Likewise.
28452 * math/s_clog.c: Likewise.
28453 * math/s_clog10.c: Likewise.
28454 * math/s_clog10f.c: Likewise.
28455 * math/s_clog10l.c: Likewise.
28456 * math/s_clogf.c: Likewise.
28457 * math/s_clogl.c: Likewise.
28458 * math/s_csqrt.c: Likewise.
28459 * math/s_csqrtf.c: Likewise.
28460 * math/s_csqrtl.c: Likewise.
28461 * math/s_ctanf.c: Likewise.
28462 * math/s_ctanh.c: Likewise.
28463 * math/s_ctanhf.c: Likewise.
28464 * math/s_ctanhl.c: Likewise.
28465 * math/s_ctanl.c: Likewise.
28467 * math/math_private.h: Define __nan, __nanf, __nanl.
28468 * math/s_cacosh.c: Include <math_private.h>.
28469 * math/s_cacoshl.c: Likewise.
28470 * math/s_casinh.c: Likewise.
28471 * math/s_casinhf.c: Likewise.
28472 * math/s_casinhl.c: Likewise.
28473 * math/s_ccos.c: Rely entire on ccosh.
28474 * math/s_ccosf.c: Rely entire on ccoshf.
28475 * math/s_ccosl.c: Rely entirely on ccoshl.
28476 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28477 Remove tests for FE_INVALID.
28478 * math/s_ccoshf.c: Likewise.
28479 * math/s_ccoshl.c: Likewise.
28480 * math/s_csin.c: Likewise.
28481 * math/s_csinf.c: Likewise.
28482 * math/s_csinh.c Likewise.
28483 * math/s_csinhf.c: Likewise.
28484 * math/s_csinhl.c: Likewise.
28485 * math/s_csinl.c: Likewise.
28486 * math/s_ctan.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28488 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28489 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28491 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28494 compilation problems.
28496 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28499 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28501 * sysdeps/i386/configure.in: Test for -mfma4 option.
28502 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28503 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28504 COMMON_CPUID_INDEX_80000001.
28505 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28506 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28507 use it if FMA3 is not supported.
28508 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28510 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28511 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28513 2011-10-20 Andreas Schwab <schwab@redhat.com>
28516 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28517 it would create a cycle with a link time dependency.
28519 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28521 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28523 * string/Makefile (strop-tests): Add rawmemchr.
28524 * string/test-rawmemchr.c: New file.
28526 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28527 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28528 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28529 when compiling str{,n}casecmp and when AVX is available. Hook up
28530 new optimized code in initializers.
28532 2011-10-19 Andreas Schwab <schwab@redhat.com>
28534 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28535 __feraiseexcept instead of feraiseexcept.
28537 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28539 * math/math_private.h: Define defaults for libc_fetestexcept and
28541 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28542 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28543 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28544 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28546 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28547 libc_fetestexcept and libc_feupdateenv.
28549 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28550 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28551 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28552 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28553 libc_feholdexcept_setround.
28555 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28556 Add s_nearbyint-c and s_nearbyintf-c.
28557 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28558 nearbyintf inlines.
28559 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28560 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28561 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28562 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28564 * math/math_private.h: Define defaults for libc_fegetround,
28565 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28566 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28567 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28568 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28569 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28570 standard functions.
28571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28572 Remove comments and hacks for old compiler versions.
28573 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28574 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28575 libc_feholdexceptl.
28577 2011-10-18 Andreas Schwab <schwab@redhat.com>
28579 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28580 (__feraiseexcept_renamed): Add __NTH.
28581 (feraiseexcept): Add __NTH. Rename local variables to fix
28582 namespace violations.
28584 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28586 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28588 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28590 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28591 recently added interfaces.
28592 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28594 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28595 about macro parameter expansion.
28597 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28598 __NO_MATH_INLINES is defined. Cleanups.
28600 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28601 and __floorf is target has SSE4.1.
28602 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28603 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28604 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28605 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28607 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28609 (floorf): Likewise.
28611 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28613 2011-10-17 Andreas Schwab <schwab@redhat.com>
28615 * misc/sys/cdefs.h: Fix last change.
28617 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28620 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28622 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28624 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28630 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28631 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28632 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28633 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28634 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28635 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28636 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28637 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28638 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28639 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28640 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28641 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28642 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28643 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28644 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28645 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28647 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28648 ceil, ceilf, floor, floorf.
28650 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28651 Perform IRELATIVE relocations last.
28653 * elf/do-rel.h: Add another parameter nrelative, replacing the
28654 local variable with the same name. Change name of the function
28655 to end in Rel or Rela (uppercase).
28656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28657 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28658 elf_dynamic_do_##reloc function.
28660 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28662 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28663 is sufficient, at least on modern CPUs.
28665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28667 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28670 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28672 * math/bits/math-finite.h: Add entries for exp.
28673 * math/e_expl.c: Add __*_finite alias.
28674 * sysdeps/i386/fpu/e_exp.S: Likewise.
28675 * sysdeps/i386/fpu/e_expf.S: Likewise.
28676 * sysdeps/i386/fpu/e_expl.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28678 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28681 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28682 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28683 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28685 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28686 is sufficient, at least on modern CPUs.
28688 * ctype/ctype-info.c (__ctype_init): Define.
28689 * include/ctype.h (__ctype_init): Declare.
28690 (__ctype_b_loc): The variable is always initialized.
28691 (__ctype_toupper_loc): Likewise.
28692 (__ctype_tolower_loc): Likewise.
28693 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28694 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28696 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28698 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28700 * configure.in: Also look in $cxxmachine/include for C++ system
28703 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28705 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28706 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28707 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28708 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28709 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28710 (USE_AS_WMEMCMP): New macro.
28712 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28713 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28714 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28715 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28717 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28718 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28719 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28720 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28721 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28722 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28723 (USE_AS_WMEMCMP): New macro.
28724 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28725 * sysdeps/string/test-memcmp.c: Update.
28726 Fix simple_wmemcmp.
28728 * wcsmbs/wmemcmp.c: Update.
28729 (WMEMCMP): New macro.
28732 2011-10-12 Andreas Jaeger <aj@suse.de>
28735 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28737 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28739 * libio/iofwide.c (do_length): Avoid warning.
28741 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28743 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28745 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28747 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28748 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28749 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28750 * sysdeps/i386/i686/fpu/e_log.S: New file.
28751 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28752 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28754 * ctype/ctype.h: Add support for inlined isXXX functions when
28755 compiling C++ code.
28757 2011-10-14 Andreas Schwab <schwab@redhat.com>
28759 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28761 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28763 2011-10-13 Roland McGrath <roland@hack.frob.com>
28766 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28768 2011-10-13 Andreas Schwab <schwab@redhat.com>
28770 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28771 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28774 * sysdeps/x86_64/memrchr.S: Check for zero size.
28776 * string/stratcliff.c: Add memrchr tests.
28778 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28781 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28782 rawmemchr-sse2 rawmemchr-sse2-bsf.
28783 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28784 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28785 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28786 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28787 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28788 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28789 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28790 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28791 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28792 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28793 * string/memrchr.c (MEMRCHR): New macro.
28795 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28797 Add integration with gcc's -ffinite-math-only and optimize wrapper
28799 * Versions.def: Define GLIBC_2.15 version for libm.
28800 * math/Makefile (headers): Add bits/math-finite.h.
28801 * math/bits/math-finite.h: New file.
28802 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28803 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28804 * math/e_acoshl.c: Add __*_finite alias.
28805 * math/e_acosl.c: Likewise.
28806 * math/e_asinl.c: Likewise.
28807 * math/e_atan2l.c: Likewise.
28808 * math/e_atanhl.c: Likewise.
28809 * math/e_coshl.c: Likewise.
28810 * math/e_exp10.c: Likewise.
28811 * math/e_exp10f.c: Likewise.
28812 * math/e_exp10l.c: Likewise.
28813 * math/e_exp2l.c: Likewise.
28814 * math/e_fmodl.c: Likewise.
28815 * math/e_gammal_r.c: Likewise.
28816 * math/e_hypotl.c: Likewise.
28817 * math/e_j0l.c: Likewise.
28818 * math/e_j1l.c: Likewise.
28819 * math/e_jnl.c: Likewise.
28820 * math/e_lgammal_r.c: Likewise.
28821 * math/e_log10l.c: Likewise.
28822 * math/e_log2l.c: Likewise.
28823 * math/e_logl.c: Likewise.
28824 * math/e_powl.c: Likewise.
28825 * math/e_sinhl.c: Likewise.
28826 * math/e_sqrtl.c: Likewise.
28827 * math/e_scalb.c: Completely rewritten and optimized.
28828 * math/e_scalbf.c: Likewise.
28829 * math/e_scalbl.c: Likewise.
28830 * math/w_acos.c: Likewise.
28831 * math/w_acosf.c: Likewise.
28832 * math/w_acosl.c: Likewise.
28833 * math/w_acosh.c: Likewise.
28834 * math/w_acoshf.c: Likewise.
28835 * math/w_acoshl.c: Likewise.
28836 * math/w_asin.c: Likewise.
28837 * math/w_asinf.c: Likewise.
28838 * math/w_asinl.c: Likewise.
28839 * math/w_atan2.c: Likewise.
28840 * math/w_atan2f.c: Likewise.
28841 * math/w_atan2l.c: Likewise.
28842 * math/w_atanh.c: Likewise.
28843 * math/w_atanhf.c: Likewise.
28844 * math/w_atanhl.c: Likewise.
28845 * math/w_exp10.c: Likewise.
28846 * math/w_exp10f.c: Likewise.
28847 * math/w_exp10l.c: Likewise.
28848 * math/w_fmod.c: Likewise.
28849 * math/w_fmodf.c: Likewise.
28850 * math/w_fmodl.c: Likewise.
28851 * math/w_j0.c: Likewise.
28852 * math/w_j0f.c: Likewise.
28853 * math/w_j0l.c: Likewise.
28854 * math/w_j1.c: Likewise.
28855 * math/w_j1f.c: Likewise.
28856 * math/w_j1l.c: Likewise.
28857 * math/w_jn.c: Likewise.
28858 * math/w_jnf.c: Likewise.
28859 * math/w_log.c: Likewise.
28860 * math/w_logf.c: Likewise.
28861 * math/w_logl.c: Likewise.
28862 * math/w_log10.c: Likewise.
28863 * math/w_log10f.c: Likewise.
28864 * math/w_log10l.c: Likewise.
28865 * math/w_log2.c: Likewise.
28866 * math/w_log2f.c: Likewise.
28867 * math/w_log2l.c: Likewise.
28868 * math/w_pow.c: Likewise.
28869 * math/w_powf.c: Likewise.
28870 * math/w_powl.c: Likewise.
28871 * math/w_remainder.c: Likewise.
28872 * math/w_remainderf.c: Likewise.
28873 * math/w_remainderl.c: Likewise.
28874 * math/w_scalb.c: Likewise.
28875 * math/w_scalbf.c: Likewise.
28876 * math/w_scalbl.c: Likewise.
28877 * math/w_sqrt.c: Likewise.
28878 * math/w_sqrtf.c: Likewise.
28879 * math/w_sqrtl.c: Likewise.
28880 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28881 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28883 * math/math_private.h: Declare __kernel_standard_f.
28884 * math/w_cosh.c: Remove cruft and optimize a bit.
28885 * math/w_coshf.c: Likewise.
28886 * math/w_coshl.c: Likewise.
28887 * math/w_exp2.c: Likewise.
28888 * math/w_exp2f.c: Likewise.
28889 * math/w_exp2l.c: Likewise.
28890 * math/w_hypot.c: Likewise.
28891 * math/w_hypotf.c: Likewise.
28892 * math/w_hypotl.c: Likewise.
28893 * math/w_lgamma.c: Likewise.
28894 * math/w_lgamma_r.c: Likewise.
28895 * math/w_lgammaf.c: Likewise.
28896 * math/w_lgammaf_r.c: Likewise.
28897 * math/w_lgammal.c: Likewise.
28898 * math/w_lgammal_r.c: Likewise.
28899 * math/w_sinh.c: Likewise.
28900 * math/w_sinhf.c: Likewise.
28901 * math/w_sinhl.c: Likewise.
28902 * math/w_tgamma.c: Likewise.
28903 * math/w_tgammaf.c: Likewise.
28904 * math/w_tgammal.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28906 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28907 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28908 Minor optimizations. Pretty printing. Remove cruft.
28909 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28911 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28912 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28913 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28914 * sysdeps/i386/fpu/e_asin.S: Likewise.
28915 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28916 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28917 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28918 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28919 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28920 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28921 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28922 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28923 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28924 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28925 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28926 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28927 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28928 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28929 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28930 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28931 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28932 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28933 * sysdeps/i386/fpu/e_log.S: Likewise.
28934 * sysdeps/i386/fpu/e_log10.S: Likewise.
28935 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28936 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28937 * sysdeps/i386/fpu/e_log2.S: Likewise.
28938 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28939 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28940 * sysdeps/i386/fpu/e_logf.S: Likewise.
28941 * sysdeps/i386/fpu/e_logl.S: Likewise.
28942 * sysdeps/i386/fpu/e_pow.S: Likewise.
28943 * sysdeps/i386/fpu/e_powf.S: Likewise.
28944 * sysdeps/i386/fpu/e_powl.S: Likewise.
28945 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28946 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28947 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28948 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28949 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28950 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28951 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28952 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28953 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28954 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28955 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28957 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28958 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28959 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28960 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28962 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28963 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28965 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28967 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28968 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28970 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28971 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28973 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28975 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28976 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28977 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28978 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28979 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28980 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28981 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28982 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28983 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28984 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28985 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28986 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28987 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28988 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28989 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28990 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28991 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28992 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28993 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28994 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28995 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29037 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29039 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29042 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29045 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29046 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29047 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29048 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29049 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29050 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29051 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29052 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29053 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29054 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29055 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29056 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29057 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29058 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29059 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29060 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29061 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29062 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29064 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29065 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29066 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29067 (__isnanf): Likewise.
29068 (__isinf_ns): Likewise.
29069 (__isinf_nsf): Likewise.
29070 (__finite): Likewise.
29071 (__finitef): Likewise.
29072 (__ieee754_sqrt): Define as macro.
29073 (__ieee754_sqrtf): Define as macro.
29074 (__ieee754_sqrtl): Define as macro.
29075 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29077 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29078 __FINITE_MATH_ONLY__ consistent.
29079 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29081 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29083 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29086 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29088 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29090 * po/ja.po: Update from translation team.
29092 2011-10-08 Roland McGrath <roland@hack.frob.com>
29094 * locale/programs/locarchive.c (prepare_address_space): New function.
29095 (create_archive, enlarge_archive, open_archive): Use it.
29097 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29098 inside [SHARED], where it is used.
29100 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29102 * nss/getent.c (netgroup_keys): Remove unused variable.
29103 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29105 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29107 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29108 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29110 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29111 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29112 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29113 * math/Makefile (libm-calls): Add s_isinf_ns.
29114 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29115 * math/multc3.c: Likewise.
29116 * math/s_casin.c: Likewise.
29117 * math/s_casinf.c: Likewise.
29118 * math/s_casinl.c: Likewise.
29119 * math/s_ccos.c: Likewise.
29120 * math/s_ccosf.c: Likewise.
29121 * math/s_ccosl.c: Likewise.
29122 * math/s_ctan.c: Likewise.
29123 * math/s_ctanf.c: Likewise.
29124 * math/s_ctanh.c: Likewise.
29125 * math/s_ctanhf.c: Likewise.
29126 * math/s_ctanhl.c: Likewise.
29127 * math/s_ctanl.c: Likewise.
29128 * math/w_fmod.c: Likewise.
29129 * math/w_fmodf.c: Likewise.
29130 * math/w_fmodl.c: Likewise.
29131 * math/w_remainder.c: Likewise.
29132 * math/w_remainderf.c: Likewise.
29133 * math/w_remainderl.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29135 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29136 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29138 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29139 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29140 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29141 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29143 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29145 * stdio-common/printf_fphex.c: Likewise.
29146 * stdio-common/printf_size.c: Likewise.
29148 * math/e_exp10.c: Include math_private.h using <...> not "...".
29149 * math/e_exp10f.c: Likewise.
29150 * math/e_exp10l.c: Likewise.
29151 * math/e_exp2l.c: Likewise.
29152 * math/e_j0l.c: Likewise.
29153 * math/e_j1l.c: Likewise.
29154 * math/e_jnl.c: Likewise.
29155 * math/e_lgammal_r.c: Likewise.
29156 * math/e_rem_pio2l.c: Likewise.
29157 * math/e_scalb.c: Likewise.
29158 * math/e_scalbf.c: Likewise.
29159 * math/e_scalbl.c: Likewise.
29160 * math/k_cosl.c: Likewise.
29161 * math/k_sinl.c: Likewise.
29162 * math/k_tanl.c: Likewise.
29163 * math/s_cacoshf.c: Likewise.
29164 * math/s_catan.c: Likewise.
29165 * math/s_catanf.c: Likewise.
29166 * math/s_catanh.c: Likewise.
29167 * math/s_catanhf.c: Likewise.
29168 * math/s_catanhl.c: Likewise.
29169 * math/s_catanl.c: Likewise.
29170 * math/s_ccosh.c: Likewise.
29171 * math/s_ccoshf.c: Likewise.
29172 * math/s_ccoshl.c: Likewise.
29173 * math/s_cexp.c: Likewise.
29174 * math/s_cexpf.c: Likewise.
29175 * math/s_cexpl.c: Likewise.
29176 * math/s_clog.c: Likewise.
29177 * math/s_clog10.c: Likewise.
29178 * math/s_clog10f.c: Likewise.
29179 * math/s_clog10l.c: Likewise.
29180 * math/s_clogf.c: Likewise.
29181 * math/s_clogl.c: Likewise.
29182 * math/s_csin.c: Likewise.
29183 * math/s_csinf.c: Likewise.
29184 * math/s_csinh.c: Likewise.
29185 * math/s_csinhf.c: Likewise.
29186 * math/s_csinhl.c: Likewise.
29187 * math/s_csinl.c: Likewise.
29188 * math/s_csqrt.c: Likewise.
29189 * math/s_csqrtf.c: Likewise.
29190 * math/s_csqrtl.c: Likewise.
29191 * math/s_ctan.c: Likewise.
29192 * math/s_ctanf.c: Likewise.
29193 * math/s_ctanh.c: Likewise.
29194 * math/s_ctanhf.c: Likewise.
29195 * math/s_ctanhl.c: Likewise.
29196 * math/s_ctanl.c: Likewise.
29197 * math/s_ldexp.c: Likewise.
29198 * math/s_ldexpf.c: Likewise.
29199 * math/s_ldexpl.c: Likewise.
29200 * math/s_significand.c: Likewise.
29201 * math/s_significandf.c: Likewise.
29202 * math/s_significandl.c: Likewise.
29203 * math/w_acos.c: Likewise.
29204 * math/w_acosf.c: Likewise.
29205 * math/w_acosh.c: Likewise.
29206 * math/w_acoshf.c: Likewise.
29207 * math/w_acoshl.c: Likewise.
29208 * math/w_acosl.c: Likewise.
29209 * math/w_asin.c: Likewise.
29210 * math/w_asinf.c: Likewise.
29211 * math/w_asinl.c: Likewise.
29212 * math/w_atan2.c: Likewise.
29213 * math/w_atan2f.c: Likewise.
29214 * math/w_atan2l.c: Likewise.
29215 * math/w_atanh.c: Likewise.
29216 * math/w_atanhf.c: Likewise.
29217 * math/w_atanhl.c: Likewise.
29218 * math/w_cosh.c: Likewise.
29219 * math/w_coshf.c: Likewise.
29220 * math/w_coshl.c: Likewise.
29221 * math/w_dremf.c: Likewise.
29222 * math/w_exp10.c: Likewise.
29223 * math/w_exp10f.c: Likewise.
29224 * math/w_exp10l.c: Likewise.
29225 * math/w_exp2.c: Likewise.
29226 * math/w_exp2f.c: Likewise.
29227 * math/w_fmod.c: Likewise.
29228 * math/w_fmodf.c: Likewise.
29229 * math/w_fmodl.c: Likewise.
29230 * math/w_hypot.c: Likewise.
29231 * math/w_hypotf.c: Likewise.
29232 * math/w_hypotl.c: Likewise.
29233 * math/w_j0.c: Likewise.
29234 * math/w_j0f.c: Likewise.
29235 * math/w_j0l.c: Likewise.
29236 * math/w_j1.c: Likewise.
29237 * math/w_j1f.c: Likewise.
29238 * math/w_j1l.c: Likewise.
29239 * math/w_jn.c: Likewise.
29240 * math/w_jnf.c: Likewise.
29241 * math/w_jnl.c: Likewise.
29242 * math/w_lgamma.c: Likewise.
29243 * math/w_lgamma_r.c: Likewise.
29244 * math/w_lgammaf.c: Likewise.
29245 * math/w_lgammaf_r.c: Likewise.
29246 * math/w_lgammal.c: Likewise.
29247 * math/w_lgammal_r.c: Likewise.
29248 * math/w_log.c: Likewise.
29249 * math/w_log10.c: Likewise.
29250 * math/w_log10f.c: Likewise.
29251 * math/w_log10l.c: Likewise.
29252 * math/w_log2.c: Likewise.
29253 * math/w_log2f.c: Likewise.
29254 * math/w_log2l.c: Likewise.
29255 * math/w_logf.c: Likewise.
29256 * math/w_logl.c: Likewise.
29257 * math/w_pow.c: Likewise.
29258 * math/w_powf.c: Likewise.
29259 * math/w_powl.c: Likewise.
29260 * math/w_remainder.c: Likewise.
29261 * math/w_remainderf.c: Likewise.
29262 * math/w_remainderl.c: Likewise.
29263 * math/w_scalb.c: Likewise.
29264 * math/w_scalbf.c: Likewise.
29265 * math/w_scalbl.c: Likewise.
29266 * math/w_sinh.c: Likewise.
29267 * math/w_sinhf.c: Likewise.
29268 * math/w_sinhl.c: Likewise.
29269 * math/w_sqrt.c: Likewise.
29270 * math/w_sqrtf.c: Likewise.
29271 * math/w_sqrtl.c: Likewise.
29272 * math/w_tgamma.c: Likewise.
29273 * math/w_tgammaf.c: Likewise.
29274 * math/w_tgammal.c: Likewise.
29276 * po/ja.po: Update from translation team.
29278 2011-09-29 Andreas Jaeger <aj@suse.de>
29281 * sunrpc/netname.c (netname2host): Fix logic.
29285 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29287 * math/w_remainder.c (__remainder): Likewise.
29288 * math/w_remainderf.c (__remainderf): Likewise.
29289 * math/libm-test.inc (remainder_test): Add test cases.
29291 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29293 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29296 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29298 * string/test-memcmp.c: Avoid unncessary #defines.
29299 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29301 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29303 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29304 Use new sse2 version for core i3 - i7 as it's faster
29305 than sse42 version.
29306 (bit_Prefer_PMINUB_for_stringop): New.
29307 * sysdeps/x86_64/rawmemchr.S: Update.
29308 Replace with faster SSE2 version.
29309 * sysdeps/x86_64/memrchr.S: New file.
29310 * sysdeps/x86_64/memchr.S: Update.
29311 Replace with faster SSE2 version.
29313 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29315 * elf/dl-load.c (lose): Add cast to avoid warning.
29317 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29319 * po/ca.po: Update from translation team.
29321 * inet/getnetgrent_r.c: Hook up nscd.
29322 * nscd/Makefile (routines): Add nscd_netgroup.
29323 (nscd-modules): Add netgroupcache.
29324 (CFLAGS-netgroupcache.c): Define.
29325 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29326 (cache_search): Add const to second parameter.
29327 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29329 (dbs): Add netgrdb entry.
29330 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29331 (verify_persistent_db): Handle netgrdb.
29332 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29333 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29335 (netgroup_response_header): Define.
29336 (innetgroup_response_header): Define.
29337 (datahead): Add netgroup_response_header and innetgroup_response_header
29339 * nscd/nscd.conf: Add entries for netgroup cache.
29340 * nscd/nscd.h (dbtype): Add netgrdb.
29341 (_PATH_NSCD_NETGROUP_DB): Define.
29342 (netgroup_iov_disabled): Declare.
29343 (xmalloc, xcalloc, xrealloc): Move declarations here.
29344 (cache_search): Adjust prototype.
29345 Add netgroup-related prototypes.
29346 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29347 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29348 (__nscd_innetgr): Declare.
29349 * nscd/selinux.c (perms): Use access_vector_t as element type and
29350 add netgroup-related initializers.
29351 * nscd/netgroupcache.c: New file.
29352 * nscd/nscd_netgroup.c: New file.
29353 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29354 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29355 For four parameters use innetgr.
29356 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29357 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29358 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29359 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29361 * nscd/connections.c (register_traced_file): Don't register file
29362 for disabled databases.
29364 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29366 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29368 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29369 from tree and freeing node.
29371 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29373 * nss/nsswitch.c (__nss_database_lookup): Handle
29374 nss_parse_service_list out of memory case.
29376 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29378 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29379 out of memory case.
29381 2011-10-04 Andreas Schwab <schwab@redhat.com>
29383 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29384 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29386 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29387 elf_machine_rela, elf_machine_lazy_rel.
29388 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29389 (ELF_DYNAMIC_DO_REL): Likewise.
29390 (ELF_DYNAMIC_DO_RELA): Likewise.
29391 (ELF_DYNAMIC_RELOCATE): Likewise.
29392 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29393 to ELF_DYNAMIC_DO_REL.
29394 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29395 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29396 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29398 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29399 skip_ifunc, don't call ifunc function if non-zero.
29400 (elf_machine_rela): Likewise.
29401 (elf_machine_lazy_rel): Likewise.
29402 (elf_machine_lazy_rela): Likewise.
29403 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29404 (elf_machine_lazy_rel): Likewise.
29405 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29407 (elf_machine_lazy_rel): Likewise.
29408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29410 (elf_machine_lazy_rel): Likewise.
29411 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29412 (elf_machine_lazy_rel): Likewise.
29413 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29414 (elf_machine_lazy_rel): Likewise.
29415 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29416 (elf_machine_lazy_rel): Likewise.
29417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29418 (elf_machine_lazy_rel): Likewise.
29419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29420 (elf_machine_lazy_rel): Likewise.
29421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29422 (elf_machine_lazy_rel): Likewise.
29424 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29426 * nss/nss_files/files-init.c (_nss_files_init): Use static
29427 initialization for all the *_traced_file variables.
29429 2011-09-28 Andreas Schwab <schwab@redhat.com>
29431 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29433 2011-09-27 Roland McGrath <roland@hack.frob.com>
29436 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29438 2011-09-27 Andreas Schwab <schwab@redhat.com>
29440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29441 Reread the line before reparsing it.
29443 2011-09-26 Andreas Schwab <schwab@redhat.com>
29445 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29447 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29448 Maxim Kuvyrkov <maxim@codesourcery.com>
29449 Joseph Myers <joseph@codesourcery.com>
29451 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29452 if needed for __stack_chk_guard.
29454 2011-09-19 Roland McGrath <roland@hack.frob.com>
29456 * sysdeps/posix/spawni.c (script_execute): Always define it.
29457 It will be optimized away if unused.
29458 (maybe_script_execute): New function.
29459 (__spawni): Call it.
29461 * Makerules: Don't include tls.make.
29462 (config-tls): Always set to thread.
29463 * tls.make.c: File removed.
29465 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29467 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29468 * config.make.in (CPPFLAGS-config): New substituted variable.
29470 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29472 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29475 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29476 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29478 2011-09-15 Roland McGrath <roland@hack.frob.com>
29480 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29481 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29482 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29483 (CALL_FAIL): Likewise.
29484 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29485 (CALL_FAIL): Macro removed.
29486 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29488 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29490 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29491 for __FINITE_MATH_ONLY__ == 1.
29493 2011-09-15 Andreas Schwab <schwab@redhat.com>
29495 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29496 __ieee754_sqrt instead of sqrt.
29497 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29498 __ieee754_sqrtf instead of sqrtf.
29499 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29500 __floorf instead of floorf.
29501 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29502 __floorf, __truncf instead of floorf, truncf.
29504 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29506 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29508 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29509 __extern_always_inline.
29510 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29513 2011-09-14 Andreas Schwab <schwab@redhat.com>
29515 * elf/rtld.c (dl_main): Also relocate in dependency order when
29516 doing symbol dependency testing.
29518 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29520 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29521 Always define `refsym'.
29523 2011-09-13 Andreas Schwab <schwab@redhat.com>
29525 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29526 (__FD_ELT): Renamed from __FDELT.
29527 * misc/bits/select2.h (__FD_ELT): Likewise.
29528 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29529 __FD_MASK instead of __FDELT, __FDMASK.
29530 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29532 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29535 * elf/Makefile (gen-ldd): Fix pattern.
29537 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29538 (init_tls): Likewise.
29540 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29544 2011-09-12 Andreas Schwab <schwab@redhat.com>
29546 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29547 `struct cmsghdr *' instead of `void *'.
29548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29551 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29553 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29555 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29556 ldd_rewrite_script.
29558 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29560 * configure.in: Remove --with-tls option.
29561 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29562 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29563 out in case it is missing.
29564 * sysdeps/ia64/elf/configure.in: Likewise.
29565 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29566 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29567 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29568 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29569 * sysdeps/sh/elf/configure.in: Likewise.
29570 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29571 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29572 * sysdeps/x86_64/elf/configure.in: Likewise.
29573 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29574 * sysdeps/mach/hurd/tls.h: Likewise.
29577 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29580 * configure.in: Fix use of AC_INIT.
29582 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29584 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29586 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29588 * malloc/hooks.c: Likewise.
29591 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29592 variables statically.
29593 (narenas): Initialize.
29594 (list_lock): Initialize.
29595 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29596 initializtion of main_arena and list_lock. Small cleanups.
29597 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29598 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29599 Add initializers to main_arena and mp_.
29600 (malloc_state): Remove pagesize member. Change all users to use
29603 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29604 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29605 is always initialized.
29607 * malloc/malloc.c: Removed unused configurations and dead code.
29608 * malloc/arena.c: Likewise.
29609 * malloc/hooks.c: Likewise.
29610 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29612 * include/tls.h: Removed. USE___THREAD must always be defined.
29613 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29614 * elf/dl-libc.c: Likewise.
29615 * elf/dl-tsd.c: Likewise.
29616 * include/errno.h: Likewise.
29617 * include/netdb.h: Likewise.
29618 * include/resolv.h: Likewise.
29619 * inet/herrno-loc.c: Likewise.
29620 * inet/herrno.c: Likewise.
29621 * malloc/arena.c: Likewise.
29622 * malloc/hooks.c: Likewise.
29623 * malloc/malloc.c: Likewise.
29624 * resolv/res-state.c: Likewise.
29625 * resolv/res_libc.c: Likewise.
29626 * sysdeps/i386/dl-machine.h: Likewise.
29627 * sysdeps/ia64/dl-machine.h: Likewise.
29628 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29629 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29630 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29631 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29632 * sysdeps/sh/dl-machine.h: Likewise.
29633 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29634 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29635 * sysdeps/unix/i386/sysdep.S: Likewise.
29636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29637 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29638 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29641 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29642 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29647 * sysdeps/x86_64/dl-machine.h: Likewise.
29648 * tls.make.c: Likewise.
29650 * configure.in: Remove --with-__thread option. Make tests for
29651 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29652 tls_model attribute fail if no support is available. Remove
29654 * Makeconfig: Adjust for dropped configure option. All features are
29656 * Makerules: Likewise.
29657 * Versions.def: Likewise.
29658 * argp/argp-fmtstream.c: Likewise.
29659 * argp/argp-fmtstream.h: Likewise.
29660 * argp/argp-help.c: Likewise.
29661 * assert/assert.c: Likewise.
29662 * config.h.in: Likewise.
29663 * config.make.in: Likewise.
29664 * configure: Likewise.
29665 * configure.in: Likewise.
29666 * csu/Versions: Likewise.
29667 * csu/init.c: Likewise.
29668 * elf/tst-audit2.c: Likewise.
29669 * elf/tst-tls10.c: Likewise.
29670 * elf/tst-tls10.h: Likewise.
29671 * elf/tst-tls11.c: Likewise.
29672 * elf/tst-tls12.c: Likewise.
29673 * elf/tst-tls14.c: Likewise.
29674 * elf/tst-tlsmod11.c: Likewise.
29675 * elf/tst-tlsmod12.c: Likewise.
29676 * elf/tst-tlsmod13.c: Likewise.
29677 * elf/tst-tlsmod13a.c: Likewise.
29678 * elf/tst-tlsmod14a.c: Likewise.
29679 * elf/tst-tlsmod15b.c: Likewise.
29680 * elf/tst-tlsmod16a.c: Likewise.
29681 * elf/tst-tlsmod16b.c: Likewise.
29682 * elf/tst-tlsmod7.c: Likewise.
29683 * elf/tst-tlsmod8.c: Likewise.
29684 * elf/tst-tlsmod9.c: Likewise.
29685 * gmon/gmon.c: Likewise.
29686 * grp/fgetgrent_r.c: Likewise.
29687 * grp/putgrent.c: Likewise.
29688 * hurd/fopenport.c: Likewise.
29689 * include/libc-symbols.h: Likewise.
29690 * include/tls.h: Likewise.
29691 * intl/gettextP.h: Likewise.
29692 * intl/loadinfo.h: Likewise.
29693 * locale/global-locale.c: Likewise.
29694 * locale/localeinfo.h: Likewise.
29695 * mach/devstream.c: Likewise.
29696 * malloc/arena.c: Likewise.
29697 * malloc/set-freeres.c: Likewise.
29698 * misc/err.c: Likewise.
29699 * misc/getttyent.c: Likewise.
29700 * misc/mntent_r.c: Likewise.
29701 * posix/getopt.c: Likewise.
29702 * posix/wordexp.c: Likewise.
29703 * pwd/fgetpwent_r.c: Likewise.
29704 * resolv/Versions: Likewise.
29705 * resolv/res_hconf.c: Likewise.
29706 * shadow/fgetspent_r.c: Likewise.
29707 * shadow/putspent.c: Likewise.
29708 * stdio-common/printf_fphex.c: Likewise.
29709 * stdio-common/tmpfile.c: Likewise.
29710 * stdlib/abort.c: Likewise.
29711 * stdlib/fmtmsg.c: Likewise.
29712 * sunrpc/auth_unix.c: Likewise.
29713 * sunrpc/clnt_perr.c: Likewise.
29714 * sunrpc/clnt_tcp.c: Likewise.
29715 * sunrpc/clnt_udp.c: Likewise.
29716 * sunrpc/clnt_unix.c: Likewise.
29717 * sunrpc/openchild.c: Likewise.
29718 * sunrpc/svc_simple.c: Likewise.
29719 * sunrpc/svc_tcp.c: Likewise.
29720 * sunrpc/svc_udp.c: Likewise.
29721 * sunrpc/svc_unix.c: Likewise.
29722 * sunrpc/xdr.c: Likewise.
29723 * sunrpc/xdr_array.c: Likewise.
29724 * sunrpc/xdr_rec.c: Likewise.
29725 * sunrpc/xdr_ref.c: Likewise.
29726 * sunrpc/xdr_stdio.c: Likewise.
29728 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29730 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29732 2011-07-03 Andreas Jaeger <aj@suse.de>
29734 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29735 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29736 regenerate with gen-libm-tests.pl.
29738 2010-05-12 Petr Baudis <pasky@suse.cz>
29741 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29742 around j0() zero points by switching to j1().
29743 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29746 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29748 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29750 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29752 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29755 Patch in part by Pavel Roskin <proski@gnu.org>.
29758 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29760 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29761 Free memory block if necessary.
29764 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29765 be NULL. Don't lock in this case.
29767 2011-09-09 Roland McGrath <roland@hack.frob.com>
29769 * elf/elf.h (ELFOSABI_GNU): New macro.
29770 (ELFOSABI_LINUX): Define to that.
29772 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29774 * string/strncat.c (strncat): Undef the symbol in case it has been
29775 defined in bits/string.h.
29777 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29779 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29781 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29784 2011-08-17 Andreas Jaeger <aj@suse.de>
29786 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29788 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29789 Ian Lance Taylor <iant@google.com>
29791 * math/libm-test.inc (lround_test): New testcase.
29792 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29794 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29796 * Makefile: Remove support for automatic cvs check-ins.
29797 * Makerules: Likewise.
29798 * config.make.in: Likewise.
29799 * configure.in: Likewise.
29800 * intl/Makefile: Likewise.
29801 * locale/Makefile: Likewise.
29802 * po/Makefile: Likewise.
29803 * posix/Makefile: Likewise.
29804 * sysdeps/gnu/Makefile: Likewise.
29805 * sysdeps/mach/hurd/Makefile: Likewise.
29806 * sysdeps/sparc/sparc32/Makefile: Likewise.
29809 * posix/Makefile (bug-regex32-ENV): Define.
29810 Patch by John Stanley <jpsinthemix@verizon.net>.
29812 * misc/Makefile (headers): Add bits/select2.h.
29813 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29814 * misc/bits/select2.h: New file.
29815 * include/bits/select2.h: New file.
29816 * debug/Makefile (routines): Add fdelt_chk.
29817 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29818 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29820 * debug/fdelt_chk.c: New file.
29822 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29823 * wcsmbs/test-wmemcmp.c: Likewise.
29824 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29825 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29827 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29829 * string/Makefile (strop-tests): Add memcmp.
29830 * string/test-wmemcmp.c: New file.
29831 * string/test-memcmp.c: Add wmemcmp support.
29833 2011-09-08 Roland McGrath <roland@hack.frob.com>
29836 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29839 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29840 garbage value in a __mach_port_mod_refs call in the cases of the
29841 task-self and thread-self ports.
29843 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29845 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29847 2011-09-08 Andreas Schwab <schwab@redhat.com>
29849 * elf/dl-load.c (lose): Check for non-null L.
29851 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29853 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29855 * elf/dl-libc.c (dlerror_run): Pass back error code from
29859 * elf/dl-load.c (lose): Free l_origin if it is valid.
29861 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29863 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29864 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29865 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29866 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29867 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29868 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29870 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29872 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29873 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29874 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29875 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29876 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29877 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29878 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29879 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29880 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29881 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29883 2011-08-15 Alan Modra <amodra@gmail.com>
29886 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29887 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29888 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29889 ppc_mcount to static-only-routines.
29890 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29892 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29893 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29895 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29897 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29898 for finite and infinity parameters.
29900 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29903 and add nop instructions for throughput optimization.
29904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29906 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29908 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29909 aligned copy for power7 with vector-scalar instructions.
29910 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29912 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29917 2011-09-07 Andreas Schwab <schwab@redhat.com>
29920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29923 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29925 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29926 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29927 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29928 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29931 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29933 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29934 Forgot to demangle the pointer.
29936 * sysdeps/i386/sysdep.h: Define atom_text_section.
29937 * sysdeps/x86_64/sysdep.h: Likewise.
29938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29939 section with atom_text_section.
29940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29941 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29942 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29943 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29944 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29946 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29947 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29948 already be defined. Change to take two parameters and don't assign
29949 result to variable. Adjust all users.
29950 Define INTERNAL_GETTIME if not already defined.
29951 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29954 HAVE_CLOCK_GETTIME_VSYSCALL.
29955 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29958 gettimeofday vsyscall, just use time.
29960 2011-09-06 Andreas Schwab <schwab@redhat.com>
29962 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29965 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29967 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29971 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29972 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29973 syscall if possible.
29975 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29977 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29978 e_ident. Don't pass to find_mapsXX.
29979 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29981 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29984 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29985 * sysdeps/x86_64/multiarch/strchr.S: Update.
29986 Check bit_slow_BSF bit.
29987 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29988 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29989 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29991 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29994 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29996 (tryshell): Define.
29997 (__spawni): Change last parameter to be flag. Test
29998 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29999 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30000 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30001 * posix/spawni.c: Likewise.
30002 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30003 * posix/spawnp.c: Likewise. Change normal version to use
30004 SPAWN_XFLAGS_USE_PATH.
30005 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30006 SPAWN_XFLAGS_TRY_SHELL.
30009 * posix/glob.h: Remove gcc 1.x support.
30012 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30014 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30017 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30019 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30020 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30021 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30022 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30023 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30024 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30026 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30028 * sysdeps/x86_64/wcscmp.S: New file.
30030 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30031 wcscmp-c wcscmp-sse2
30032 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30033 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30034 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30035 * wcsmbs/wcscmp.c: Allow renaming.
30037 2011-09-05 David S. Miller <davem@davemloft.net>
30039 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30040 stack slot, rather than the struct return pointer slot.
30041 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30042 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30044 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30046 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30048 * po/ja.po: Update from translation team.
30051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30052 kernel in 64-bit binaries.
30054 2011-09-01 David S. Miller <davem@davemloft.net>
30056 * elf/elf.h (HWCAP_SPARC_*): Move to..
30057 * sysdeps/sparc/sysdep.h: this new file and add new values.
30058 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30059 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30060 _DL_HWCAP_COUNT to 24.
30061 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30063 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30064 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30065 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30067 instead of magic constants.
30068 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30070 2011-08-31 David S. Miller <davem@davemloft.net>
30072 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30074 Reimplement to do errno handling inline.
30075 (SYSCALL_ERROR_HANDLER): New macro.
30076 (__SYSCALL_STRING): Do not do errno handling in asm.
30077 (__CLONE_SYSCALL_STRING): Delete.
30078 (__INTERNAL_SYSCALL_STRING): Delete.
30079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30080 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30081 (PSEUDO): Reimplement to do errno handling inline.
30082 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30083 (SYSCALL_ERROR_HANDLER): New macro.
30084 (__SYSCALL_STRING): Do not do errno handling in asm.
30085 (__CLONE_SYSCALL_STRING): Delete.
30086 (__INTERNAL_SYSCALL_STRING): Delete.
30087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30088 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30090 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30091 (inline_syscall*): Add 'err' argument.
30092 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30093 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30094 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30095 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30097 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30098 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30100 2011-08-30 Andreas Schwab <schwab@redhat.com>
30102 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30104 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30106 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30109 2011-08-24 David S. Miller <davem@davemloft.net>
30111 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30113 2011-08-24 Andreas Schwab <schwab@redhat.com>
30115 * elf/Makefile: Add rules to build and run unload8 test.
30116 * elf/unload8.c: New file.
30117 * elf/unload8mod1.c: New file.
30118 * elf/unload8mod1x.c: New file.
30119 * elf/unload8mod2.c: New file.
30120 * elf/unload8mod3.c: New file.
30122 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30125 2011-08-23 David S. Miller <davem@davemloft.net>
30127 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30128 subtract stack bias.
30129 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30130 %sp not %fp in calculations.
30131 (_JMPBUF_UNWINDS_ADJ): Likewise.
30133 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30134 (aio_suspend): Call it to force an exception region around the
30135 AIO_MISC_WAIT() invocation.
30137 2011-08-23 Andreas Schwab <schwab@redhat.com>
30139 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30142 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30144 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30146 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30147 and <dl-machine.h>.
30148 (Elf64_FuncDesc): Remove.
30150 2011-08-22 David S. Miller <davem@davemloft.net>
30152 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30153 sigaltstack check, add missing cfi directives.
30154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30155 missing cfi directives, and sigaltstack handling.
30157 2011-08-16 Andreas Schwab <schwab@redhat.com>
30160 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30161 object is seen twice.
30162 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30164 * elf/Makefile (distribute): Add tst-initorder2.c.
30165 (tests): Add tst-initorder2.
30166 (modules-names): Add tst-initorder2a tst-initorder2b
30167 tst-initorder2c tst-initorder2d. Add rules to build them.
30168 ($(objpfx)tst-initorder2.out): New rule.
30169 * elf/tst-initorder2.c: New file.
30170 * elf/tst-initorder2.exp: New file.
30172 2011-08-22 Andreas Schwab <schwab@redhat.com>
30174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30176 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30177 dependencies back to end of function.
30179 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30180 $(elfobjdir)/ld.so.
30182 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30185 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30187 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30188 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30189 of __vdso_gettimeofday.
30190 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30191 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30193 (_libc_vdso_platform_setup): Remove initialization of
30194 __vdso_gettimeofday and __vdso_time.
30196 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30198 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30199 and fgetc_unlocked.
30200 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30203 * elf/dl-open.c (add_to_global): Report additions to the global scope
30204 for LD_DEBUG=scopes.
30205 (dl_open_worker): Also print scope of newly loaded dependencies.
30206 (_dl_show_scope): Indicate if there is no scope.
30209 * stdio-common/Makefile (tests): Add bug24.
30210 * stdio-common/bug24.c: New file.
30212 2011-08-19 Andreas Jaeger <aj@suse.de>
30215 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30216 non-existant file when using close-on-exec mode.
30218 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30221 the very first instruction.
30223 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30224 the CFI state in the end.
30225 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30226 inclusion of dl-trampoline.h.
30227 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30229 2011-08-19 Andreas Schwab <schwab@redhat.com>
30231 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30232 expectations for long double.
30234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30235 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30237 2011-08-14 David S. Miller <davem@davemloft.net>
30239 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30240 artificual limit depends upon the system page size.
30242 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30244 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30245 * resolv/Makefile: Define CFLAGS-libresolv.
30247 2011-08-17 Andreas Schwab <schwab@redhat.com>
30249 * nss/makedb.c (compute_tables): Make variables used in nested
30252 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30254 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30255 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30256 if buffer was too small.
30258 * elf/pldd.c (main): Attach to all threads in the process.
30259 Rewrite /proc handling to use *at functions.
30261 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30263 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30264 specifies first scope to show.
30265 (dl_open_worker): Update callers. Move printing scope of new
30266 object to before the relocation.
30267 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30268 * sysdeps/generic/ldsodefs.h: Update declaration.
30270 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30271 string for the scope number.
30273 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30275 * nscd/servicescache.c (cache_addserv): Make sure written is always
30278 2011-08-14 Roland McGrath <roland@hack.frob.com>
30280 * sysdeps/i386/i486/bits/atomic.h
30281 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30282 statement expression, so as to suppress "set but not used" warning.
30283 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30285 * string/strncat.c (STRNCAT): Use prototype definition.
30287 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30288 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30290 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30291 (localedef-modules): Add localedef.
30292 (locale-modules): Add locale.
30294 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30295 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30296 to avoid a warning.
30298 2011-08-14 David S. Miller <davem@davemloft.net>
30300 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30301 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30303 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30305 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30306 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30307 * elf/rtld.c (dl_main): Set l_name of vDSO.
30308 Call _dl_show_scope when DL_DEBUG_SCOPES.
30309 (process_dl_debug): Recognize scopes flag and also set it for all.
30310 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30311 Declare _dl_show_scope.
30313 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30314 (do_dlopen): Pass caller_dlopen to dl_open.
30315 (__libc_dlopen_mode): Initialize caller_dlopen.
30317 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30318 of libc. Make tolower call locale-independent. Optimize a bit by
30319 using isdigit instead of isalnum.
30320 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30322 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30324 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30325 was a dependency or dynamically loaded.
30327 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30329 * intl/l10nflist.c: Allow architecture-specific pop function.
30330 * sysdeps/x86_64/l10nflist.c: New file.
30332 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30335 2011-08-10 Andreas Schwab <schwab@redhat.com>
30337 * include/dirent.h: Add libc_hidden_proto for scandirat and
30338 scandirat64. Don't declare __scandirat64.
30339 * dirent/scandirat.c: Add libc_hidden_def.
30340 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30341 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30343 2011-08-10 David S. Miller <davem@davemloft.net>
30345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30347 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30348 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30351 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30353 * Versions.def [libc]: Add GLIBC_2.15.
30354 * dirent/Makefile (routines): Add scandirat and scandirat64.
30355 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30357 * dirent/dirent.h: Declare scandirat and scandirat64.
30358 * dirent/scandirat.c: New file.
30359 * dirent/scandirat64.c: New file.
30360 * sysdeps/wordsize-64/scandirat.c: New file.
30361 * sysdeps/wordsize-64/scandirat64.c: New file.
30362 * dirent/opendir.c: Define opendirat.
30363 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30365 * dirent/scandir64.c: Adjust for scandir.c change.
30366 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30367 __scandirat64, and __scandir_cancel_handler.
30368 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30369 additional parameter and use openat instead of open (outside of ld.so).
30370 Add new __opendir as wrapper around __opendirat.
30371 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30372 here without requiring old scandirat implementation.
30374 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30376 * dirent/scandir.c (cancel_handler): Renamed to
30377 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30378 defined. Adjust users.
30379 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30380 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30382 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30384 * string/test-string.h (IMPL): Use __STRING to expand name and then
30387 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30390 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30392 * string/Makefile: Update.
30393 (strop-tests): Append strncat.
30394 * string/test-wcscmp.c: New file.
30395 New comprehensive test for wcscmp.
30396 * string/test-strcmp.c: Update.
30397 (WIDE): New define.
30399 2011-07-22 Andreas Schwab <schwab@redhat.com>
30401 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30404 2011-07-26 Andreas Schwab <schwab@redhat.com>
30406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30407 encoding to ACE if AI_IDN.
30409 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30412 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30414 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30416 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30417 Fix overflow bug in strncat.
30418 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30420 * string/test-strncat.c: Update.
30421 Add new tests for checking overflow bugs.
30423 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30426 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30427 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30428 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30429 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30430 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30431 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30432 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30433 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30435 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30436 (USE_AS_STRCAT): Define.
30437 Add strcat and strncat support.
30438 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30440 2011-07-25 Andreas Schwab <schwab@redhat.com>
30442 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30443 __n bigger than INT_MAX+1.
30444 (__strncmp_g): Likewise.
30446 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30448 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30449 * libio/stido.h: Likewise.
30451 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30456 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30458 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30459 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30460 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30463 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30468 (_dl_x86_64_save_sse): Likewise.
30470 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30474 (_dl_x86_64_save_sse): Likewise.
30476 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30478 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30480 2011-07-21 Andreas Schwab <schwab@redhat.com>
30482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30484 (_dl_x86_64_save_sse): Use correct AVX check.
30486 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30488 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30489 bug in strncpy/strncat.
30490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30492 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30494 * string/tester.c (test_strcat): Add tests for different alignments
30495 of source and destination.
30496 (test_strncat): Likewise.
30498 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30501 * posix/glob.c (glob): Check passed in values before using them in
30502 expressions to avoid some overflows.
30503 (glob_in_dir): Likewise.
30506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30507 check for AVX enablement so that we don't crash with old kernels and
30509 * elf/tst-audit4.c: Add same checks here.
30510 * elf/tst-audit6.c: Likewise.
30512 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30514 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30516 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30518 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30520 * po/cs.po: Update from translation team.
30521 * po/bg.po: Likewise.
30523 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30525 * misc/sys/cdefs.h: Add support for const attribute.
30526 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30527 to gnu_dev_{major,minor,makedev} functions.
30529 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30531 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30533 2011-07-20 Andreas Schwab <schwab@redhat.com>
30535 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30538 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30541 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30542 register in order to avoid conflicts with the soft frame pointer
30543 being held in r11 when necessary.
30544 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30545 (INTERNAL_VSYSCALL_NCS): Likewise.
30547 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30549 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30550 * elf/dl-fini.c (_dl_fini): Adjust caller.
30551 * elf/dl-close.c (_dl_close_worker): Likewise.
30552 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30554 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30556 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30557 "aux_cache->nlibs < 0".
30559 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30560 in the reload-count case.
30562 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30565 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30566 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30567 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30568 * sysdeps/x86_64/multiarch/strcat.S: New file.
30569 * sysdeps/x86_64/multiarch/strncat.S: New file.
30570 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30571 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30572 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30573 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30575 (USE_AS_STRCAT): Define.
30576 Add strcat and strncat support.
30577 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30579 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30580 * string/strncat.c: Update.
30581 (USE_AS_STRNCAT): Define.
30582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30583 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30585 * sysdeps/x86_64/multiarch/init-arch.h
30586 (bit_Prefer_PMINUB_for_stringop): New.
30587 (index_Prefer_PMINUB_for_stringop): Likewise.
30588 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30589 bit_Prefer_PMINUB_for_stringop.
30591 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30593 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30595 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30596 of casting of buffer.
30597 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30598 buffer32 and buffer64.
30599 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30600 writes instead of casting of buffer.
30601 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30603 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30606 2011-07-19 Andreas Schwab <schwab@redhat.com>
30608 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30610 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30612 * nscd/nscd.c (termination_handler): Don't do anything for a database
30613 if it has not yet been initialized.
30615 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30617 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30619 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30621 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30623 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30625 * po/nl.po: Update from translation team.
30626 * po/sv.po: Likewise.
30628 2011-07-16 Roland McGrath <roland@hack.frob.com>
30630 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30631 now disallowed by GCC.
30633 * configure.in (use-default-link): Default to yes if a test -shared
30634 link meets our qualifications.
30635 * configure: Regenerated.
30637 * config.make.in (output-format): New variable.
30638 * configure.in: Check for ld --print-output-format support.
30639 * configure: Regenerated.
30640 * Makerules ($(common-objpfx)format.lds)
30641 [$(output-format) != unknown]: Just use $(output-format),
30642 instead of the linker-script munging.
30644 2011-07-14 Roland McGrath <roland@hack.frob.com>
30646 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30647 of $(common-objpfx)shlib.lds.
30648 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30650 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30651 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30653 * configure.in (-z relro check): Adjust test code to add a large
30654 writable data section after it.
30655 * configure: Regenerated.
30657 2011-07-11 Roland McGrath <roland@hack.frob.com>
30659 * configure.in (-z relro check): Fix test code to make the variable
30661 * configure: Regenerated.
30663 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30665 * nscd/nscd.h (struct traced_file): Define.
30666 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30667 elements. Add traced_files.
30668 (inotify_fd): Declare.
30669 (register_traced_file): Declare.
30670 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30671 (inotify_fd): Export.
30672 (resolv_conf_descr): Remove.
30673 (nscd_init): Move inotify descriptor creation to main.
30674 Don't register files for notification here.
30675 (register_traced_file): New function.
30676 (invalidate_cache): Don't use reset_res to determine whether to call
30677 res_init, go through the list of registered files.
30678 (main_loop_poll): The inotify descriptors are now stored in the
30679 structures for the traced files.
30680 (main_loop_epoll): Likewise
30681 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30682 to __nss_disable_nscd.
30683 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30684 for a database anymore. Check the records for all the registered
30686 * nss/Makefile (libnss_files-routines): Add files-init.
30687 (libnss_db-routines): Add db-init.
30688 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30689 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30690 * nss/nss_db/db-init.c: New file.
30691 * nss/nss_files/files-init.c: New file.
30692 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30693 __nss_lookup_function.
30694 (__nss_lookup_function): Call nss_load_library.
30695 (nss_load_all_libraries): New function.
30696 (__nss_disable_nscd): Take parameter with callback function for files
30697 to register. Set is_nscd. Load all the DSOs for the NSS modules
30698 used for the cached services.
30699 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30700 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30701 options for features to all the files in nscd.
30703 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30705 2011-07-10 Roland McGrath <roland@hack.frob.com>
30707 * csu/elf-init.c (__libc_csu_init): Comment typo.
30709 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30711 * po/pl.po: Update from translation team.
30712 * po/ja.po: Likewise.
30713 * po/ru.po: Likewise.
30714 * po/ko.po: Likewise.
30715 * po/fr.po: Likewise.
30717 2011-07-09 Roland McGrath <roland@hack.frob.com>
30719 * configure.in (.ctors/.dtors header and trailer check):
30720 Use an empirical test on a built program.
30721 * configure: Regenerated.
30723 * configure.in (-z relro check): Use an empirical test on a built DSO.
30724 Detect, but do not require, on ia64.
30725 * configure: Regenerated.
30727 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30728 Update tests that use readelf to use $READELF instead.
30729 * configure: Regenerated.
30731 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30733 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30734 if the result is not used.
30736 2011-07-05 Andreas Jaeger <aj@suse.de>
30739 * stdlib/tst-strtod.c: Add testcase.
30741 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30743 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30744 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30745 The latter has a higher limit. Take additional parameter to pass to
30747 (__pathconf): Pass file to __statfs_link_max.
30748 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30750 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30754 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30755 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30757 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30758 (__statfs_filesize_max): Likewise.
30759 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30761 2011-07-05 Andreas Jaeger <aj@suse.de>
30763 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30765 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30767 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30769 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30772 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30774 * Makefile (strop-tests): Add strncat.
30775 * string/test-strncat.c: New file.
30777 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30779 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30781 2011-06-21 Andreas Jaeger <aj@suse.de>
30783 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30784 Copy rule from iconvdata/Makefile.
30786 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30789 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30790 but no long options are defined, just return 'W'.
30792 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30795 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30797 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30799 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30801 (innetgr): Likewise.
30803 2011-07-05 Roland McGrath <roland@hack.frob.com>
30805 * config.make.in (install_root): Default to $(DESTDIR).
30807 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30809 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30811 2011-07-02 Roland McGrath <roland@hack.frob.com>
30813 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30815 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30816 containing directory rather than embedding absolute directory names.
30818 * scripts/check-local-headers.sh: Rewritten using awk.
30819 Match by word, not by line. Print error messages for matches.
30820 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30822 * Makerules [shlib-lds-flags empty]:
30823 ($(common-objpfx)libc_pic.opts): New target.
30824 ($(common-objpfx)libc_pic.os.clean): New target.
30825 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30827 * config.make.in (OBJCOPY): New variable.
30828 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30829 * configure: Regenerated.
30831 * config.make.in (use-default-link): New variable.
30832 * configure.in (use_default_link): Grok --with-default-link to set it.
30833 * configure: Regenerated.
30834 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30835 (shlib-lds, shlib-lds-flags): Define to empty.
30837 * Makerules (shlib-lds): New variable.
30838 (shlib-lds-flags): New variable.
30839 (build-shlib, build-moduile, build-module-asneeded): Use it.
30840 ($(common-objpfx)libc.so): Use $(shlib-lds).
30841 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30842 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30844 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30845 DT_FLAGS/DT_FLAGS_1 with zero flags.
30847 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30848 linker script munging.
30850 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30852 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30854 * crypt/sha512.c (sha512_process_block): Perform total addition using
30855 128-bit if possible.
30856 (__sha512_finish_ctx): Likewise.
30857 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30859 * crypt/sha256.c (SWAP64): Define.
30860 (sha256_process_block): Perform total addition using 64-bit if
30862 (__sha256_finish_ctx): Likewise.
30864 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30866 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30867 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30868 * nscd/hstcache.c (cache_addhst): Likewise.
30869 * nscd/grpcache.c (cache_addgr): Likewise.
30870 * nscd/aicache.c (addhstaiX): Likewise
30871 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30873 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30875 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30877 * nscd/hstcache.c (cache_addhst): Likewise.
30878 * nscd/grpcache.c (cache_addgr): Likewise.
30879 * nscd/aicache.c (addhstaiX): Likewise
30881 2011-07-01 Andreas Schwab <schwab@redhat.com>
30883 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30884 domain only when needed.
30886 2011-06-30 Andreas Schwab <schwab@redhat.com>
30888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30889 is always restored.
30891 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30893 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30894 are re-adding the entry.
30895 * nscd/servicescache.c (cache_addserv): Likewise.
30897 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30899 * sysdeps/generic/dl-irel.h: fix protection against multiple
30901 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30903 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30906 * malloc/memusage.sh: Fix quoting in message.
30907 * debug/xtrace.sh: Likewise.
30909 * configure.in: Remove support for --experimental-malloc option, make
30911 * config.make.in: Likewise.
30912 * malloc/Makefile: Likewise.
30914 2011-06-27 Andreas Schwab <schwab@redhat.com>
30916 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30917 two-byte characters.
30919 2011-06-27 Roland McGrath <roland@hack.frob.com>
30921 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30922 AC_CACHE_CHECK invocation.
30923 * configure: Regenerated.
30925 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30927 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30930 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30931 bit from old_res_options.
30933 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30935 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30936 value type for setfct.
30938 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30941 __gettimeofday instead of gettimeofday.
30943 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30945 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30947 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30951 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30954 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30957 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30958 strcpy-sse2-unaligned strncpy-sse2-unaligned
30959 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30960 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30961 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30962 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30963 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30964 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30965 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30966 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30967 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30968 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30969 (STRCPY): Support SSE2 and SSSE3 versions.
30971 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30974 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30975 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30976 kernels which artificially limit size of requests.
30978 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30981 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30982 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30983 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30984 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30985 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30986 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30987 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30988 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30990 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30991 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30992 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30993 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30994 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30996 Enable unaligned load optimization for Intel Core i3, i5 and i7
30998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31000 (index_Fast_Unaligned_Load): Define.
31001 (HAS_FAST_UNALIGNED_LOAD): Define.
31003 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31005 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31007 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31010 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31011 until it is clear that the information is realy needed.
31012 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31014 2011-06-22 Andreas Schwab <schwab@redhat.com>
31016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31018 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31021 /sys/devices/system/cpu/online if it is usable.
31023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31024 reading the information from the /proc filesystem to once a second.
31026 2011-06-21 Andreas Jaeger <aj@suse.de>
31028 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31029 NULL after inclusion of kernel headers.
31031 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31033 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31034 calls to internal_setent.
31037 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31038 addresses using gethostbyname4_r ignore IPv4 addresses.
31040 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31041 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31043 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31045 2011-06-20 David S. Miller <davem@davemloft.net>
31047 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31049 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31051 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31052 (elf_irel): Use it.
31053 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31054 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31055 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31056 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31057 * sysdeps/x86_64/dl-irel.h: Likewise.
31059 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31060 * elf/dl-sym.c: Likewise.
31062 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31064 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31065 need to dereference resplen2.
31067 2011-06-14 Andreas Schwab <schwab@redhat.com>
31069 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31071 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31073 * Makeconfig: Define vardbdir and inst_vardbdir.
31074 * nss/Makefile: Add rules to install db-Makefile.
31076 * nss/nss_db/db-XXX.c: Cleanup.
31078 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31079 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31081 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31082 * nss/makedb.c: Implement -g option to specify that value strings
31083 are generated and should not be added to table iterated over for
31085 * nss/nss_db/db-initgroups.c: New file.
31087 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31090 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31091 (internal_getgrouplist): Adjust to name change.
31092 Update use_initgroups_entry if this is not the first call.
31093 * nss/databases.def: Add initgroups entry.
31095 * nss/makedb.c (compute_tables): Check result of multiple hash table
31096 sizes to minimize maximum chain length.
31098 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31100 * Versions.def: Add entry for libnss_db.
31101 * shlib-versions: Likewise.
31102 * nss/Makefile: Add rules to build libnss_db.
31103 * nss/Versions: Add libnss_db information. Organize libnss_files
31105 * nss/db-Makefile: Add gshadow support. Change rules for the new
31106 makedb progra. Some minor improvements to generate smaller files.
31107 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31109 * nss/makedb.c: ...here.
31110 Improve database format to be smaller and require less memory at
31112 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31114 * nss/nss_db/db-netgrp.c: Likewise.
31115 * nss/nss_db/db-open.c: Likewise.
31116 * nss/nss_files/flies-XXX.x: Adjust comments.
31117 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31118 * nss/nss_files/files-grp.c: Likewise.
31119 * nss/nss_files/files-hosts.c: Likewise.
31120 * nss/nss_files/files-network.c: Likewise.
31121 * nss/nss_files/files-proto.c: Likewise.
31122 * nss/nss_files/files-pwd.c: Likewise.
31123 * nss/nss_files/files-rpc.c: Likewise.
31124 * nss/nss_files/files-service.c: Likewise.
31125 * nss/nss_files/files-sgrp.c: Likewise.
31126 * nss/nss_files/files-spwd.c: Likewise.
31127 * nss/nss_db/db-alias.c: Removed.
31128 * nss/nss_db/dummy-db.h: Removed.
31130 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31132 * nss/makedb.c: Rewritten to not use database library.
31133 * nss/Makefile: Update to build new makedb program.
31135 2011-06-14 Andreas Jaeger <aj@suse.de>
31137 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31138 memset declaration.
31140 2011-06-10 Andreas Schwab <schwab@redhat.com>
31142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31145 2011-06-10 Roland McGrath <roland@hack.frob.com>
31147 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31148 * elf/Makefile ($(objpfx)ld.so): Likewise.
31150 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31151 Don't list ld.so twice in dependencies.
31153 * posix/bug-regex31.c: Include <stdlib.h>.
31155 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31157 * nis/nss_compat/compat-spwd.c
31158 (getspent_next_nss_netgr): Remove unused variable.
31159 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31161 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31162 nonmembers" output to use the right array.
31164 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31166 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31168 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31169 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31170 * catgets/gencat.c (read_input_file): Likewise.
31171 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31173 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31174 variable definition inside #if's controlling its use.
31176 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31178 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31180 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31182 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31185 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31187 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31188 * configure: Regenerated.
31190 * Makerules: Revert last change.
31191 * elf/Makefile: Likewise.
31193 2011-06-09 Roland McGrath <roland@hack.frob.com>
31195 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31196 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31197 (reloc-link): Likewise.
31199 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31201 * elf/Makefile: Add rules to build pldd.
31202 * elf/pldd.c: New file.
31203 * elf/pldd-xx.c: New file.
31205 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31207 * version.h: Update for 2.15 development version.
31209 2011-06-07 David S. Miller <davem@davemloft.net>
31211 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31213 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31214 elf_machine_lazy_rel): Likewise.
31215 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31216 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31217 elf_machine_lazy_rel): Likewise.
31218 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31219 dl_hwcap via passed in argument.
31220 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31223 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31225 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31227 2011-06-06 Roland McGrath <roland@hack.frob.com>
31230 * manual/fdl-1.1.texi: New file, verbatim from:
31231 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31232 * manual/lgpl-2.1.texi: New file, verbatim from:
31233 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31234 * manual/Makefile (licenses): New variable, list those new file names.
31236 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31238 * manual/fdl.texi: File removed.
31239 * manual/lesser.texi: File removed.
31240 * manual/libc.texinfo (Copying, Documentation License):
31241 Use new @include file names, put @appendix directive before @include.
31243 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31246 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31247 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31248 (mq_open): Add __NTH.
31250 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31253 Assume Intel Core i3/i5/i7 processor if AVX is available.
31255 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31260 2011-05-31 Andreas Schwab <schwab@redhat.com>
31262 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31263 memory. Use alloca_account. Fix memory leak when retrying.
31265 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31267 * version.h (RELEASE): Bump for 2.14 release.
31268 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31270 * config.make.in (RANLIB): Remove entry.
31272 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31274 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31275 (libc.pot): Work around missing support for .ksh extension in xgettext.
31278 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31279 if both request failed.
31280 (send_dg): In case of server errors clear resplen or *resplen2.
31283 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31284 when there are multiple maps.
31285 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31286 (_dl_fini): Remove test here.
31288 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31290 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31293 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31294 bit from old_res_options.
31295 (gaih_inet): Likewise.
31298 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31301 * resolv/res_init.c (res_setoptions): Make the code more compact.
31304 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31308 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31310 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31313 * malloc/malloc.h: Declare malloc hook variables as volatile.
31315 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31319 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31320 raise in the comment.
31321 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31322 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31323 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31325 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31328 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31329 grow the buffers more if it already has to be sufficient.
31330 (build_wcs_upper_buffer): Likewise.
31331 * posix/regexec.c (check_matching): Likewise.
31332 (clean_state_log_if_needed): Likewise.
31333 (extend_buffers): Don't enlarge buffers beyond size of the input
31335 Patches mostly by Emil Wojak <emil@wojak.eu>.
31336 * posix/bug-regex32.c: New file.
31337 * posix/Makefile (tests): Add bug-regex32.
31339 * locale/findlocale.c (_nl_find_locale): Return right away if
31340 _nl_explode_name failed.
31341 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31343 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31345 * debug/xtrace.sh: Unify messages.
31346 * malloc/memusage.sh: Likewise.
31349 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31350 time symbol from vDSO. Substitute with vsyscall if not available.
31351 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31354 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31355 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31356 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31357 Add sendmmsg and internal_sendmmsg.
31358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31359 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31360 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31362 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31363 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31366 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31369 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31370 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31372 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31376 * iconvdata/Makefile (tests): Add bug-iconv9.
31377 * iconvdata/bug-iconv9.c: New file.
31379 2011-05-27 Andreas Schwab <schwab@redhat.com>
31382 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31384 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31387 (struct user_regs_struct): Change intcs field back to cs.
31389 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31391 * po/ja.po: Update from translation team.
31393 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31396 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31397 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31399 2011-05-20 Andreas Schwab <schwab@redhat.com>
31401 * stdlib/longlong.h: Update from GCC.
31403 2011-05-23 Andreas Schwab <schwab@redhat.com>
31405 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31407 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31408 Add parameter name.
31409 (__sysconf): Pass it down.
31411 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31414 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31416 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31417 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31418 add in in __libc_use_alloca calls. Adjust callers.
31419 (glob): Use malloc in some situations.
31421 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31422 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31425 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31427 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31428 and CLOCK_BOOTTIME_ALARM.
31431 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31434 * string/_strerror.c (__strerror_r): Print negative errors as signed
31438 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31439 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31440 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31442 * configure.in: Fix typo in redirection and correct removal of test
31443 files in two cases.
31446 * locale/setlocale.c (new_composite_name): Fix test to check for
31447 identical name of all categories.
31450 * libio/filedoalloc.c (local_isatty): New function.
31451 (_IO_file_doallocate): Use local_isatty.
31452 * stdio-common/perror.c (perror): In case a new stream is used
31453 forward the stream error.
31454 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31457 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31462 * include/alloca.h (extend_alloca_account): Define.
31465 * posix/regex.h: Fix comments with documentation of user-accessible
31466 fields after compilation and describe correct free'ing of pattern
31467 after re_compile_pattern.
31468 Patch by Reuben Thomas <rrt@sc3d.org>.
31470 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31472 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31473 and -mno-altivec to prevent the compiler from using Altivec and/or
31474 VSX instructions when the corresponding registers are not available.
31476 2011-05-19 Andreas Schwab <schwab@redhat.com>
31478 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31480 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31482 * libio/freopen.c (freopen): Use __dup2, not dup2.
31483 * libio/freopen64.c (freopen64): Likewise.
31485 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31488 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31489 * math/Makefile (tests): Add test-powl.
31490 (CFLAGS-test-powl.c): Define.
31491 * math/test-powl.c: New file.
31493 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31495 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31497 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31500 * iconvdata/gb18030.c: Update to GB18020-2005.
31502 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31504 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31505 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31506 Patch by Aharon Robbins <arnold@skeeve.com>.
31509 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31513 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31514 through underflows.
31517 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31518 point to strings before performing equality test for error_one_per_line
31522 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31525 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31526 (struct user_fpregs_struct): Avoid __uint*_t types.
31529 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31530 symbol info. Use it instead of calling _dl_addr locally.
31531 (lock_and_info): New function.
31532 (tr_freehook): Call lock_and_info and pass symbol info as additional
31533 parameter to tr_where.
31534 (tr_mallochook): Likewise.
31535 (tr_reallochook): Likewise.
31536 (tr_memalignhook): Likewise.
31538 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31539 used and couldn't be at all thread-safe.
31541 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31543 * libio/freopen.c (freopen): Don't close old file descriptor
31544 before the new one is opened. Instead dup the new file descriptor
31545 to the old one after the new stream is created.
31546 * libio/freopen64.c (freopen64): Likewise.
31547 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31548 * libio/fileops.c (_IO_new_file_close_it): Handle new
31549 _IO_FLAGS2_NOCLOSE flag.
31550 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31551 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31552 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31553 _IO_FLAGS2_NOCLOSE flag.
31554 * include/unistd.h: Add hidden_proto for dup3.
31555 Define __have_dup3.
31556 * io/dup3.c: Define hidden symbol.
31557 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31560 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31561 when an incomplete long option is used.
31562 * posix/tst-getopt_long1.c: New file.
31563 * posix/Makefile (tests): Add tst-getopt_long1.
31566 * scripts/config.guess: Update from autoconf-2.68.
31567 * scripts/config.sub: Likewise.
31570 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31572 (has_cpuclock): ...this. New function.
31573 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31574 macro here based on has_cpuclock code.
31577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31578 First byte (not low byte) is now always NUL.
31579 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31581 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31582 Use non-cancelable interfaces.
31585 * locale/iso-639.def: Add entry for Sorani.
31588 * include/stdlib.h: Move include protection to the right place.
31589 Define abort_msg_s. Declare __abort_msg with it.
31590 * stdlib/abort.c (__abort_msg): Adjust type.
31591 * assert/assert.c (__assert_fail_base): New function. Majority
31592 of code from __assert_fail. Allocate memory for __abort_msg with
31594 (__assert_fail): Now call __assert_fail_base.
31595 * assert/assert-perr.c: Remove bulk of implementation. Use
31596 __assert_fail_base.
31597 * include/assert.hL Declare __assert_fail_base.
31598 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31600 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31602 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31606 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31607 until all modules are registered in the DTV.
31608 * elf/Makefile: Add rules to build and run tst-tls19.
31609 * elf/tst-tls19.c: New file.
31610 * elf/tst-tls19mod1.c: New file.
31611 * elf/tst-tls19mod2.c: New file.
31612 * elf/tst-tls19mod3.c: New file.
31613 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31616 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31620 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31621 two-byte sequence errors.
31622 * iconvdata/Makefile (tests): Add bug-iconv8.
31623 * iconvdata/bug-iconv8.c: New file.
31626 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31629 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31632 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31633 (dummy_getcfa): New function.
31634 (init): Get _Unwind_GetCFA address, use dummy if not found.
31635 (backtrace_helper): In recursion check, also check whether CFA changes.
31636 (__backtrace): Completely initialize arg.
31638 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31639 storing incomplete byte sequence in state object. Avoid testing for
31640 guaranteed too small input if we know there is enough data available.
31642 2011-05-11 Andreas Schwab <schwab@redhat.com>
31644 * Makeconfig (+link-pie): Indent.
31645 * Rules (binaries-pie): Define if $(have-fpie) and
31647 (binaries-shared): Also filter out $(binaries-pie).
31648 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31649 * nscd/Makefile (others-pie): Add nscd.
31650 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31651 ($(objpfx)nscd): Remove command override.
31652 * login/Makefile (others-pie): Add pt_chown.
31653 ($(objpfx)pt_chown): Remove command override.
31654 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31655 remove command overrides.
31657 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31659 * libio/tst_putwc.c: Fix error messages.
31662 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31663 currently writing and seek to current position when not.
31664 * libio/Makefile (tests): Add bug-fclose1.
31665 * libio/bug-fclose1.c: New file.
31667 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31670 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31671 don't set DF_1_NODELETE here.
31672 (do_lookup_x): When entering new entry test for copy relocation
31673 and if necessary set DF_1_NODELETE flag.
31674 * elf/tst-unique4.cc: New file.
31675 * elf/tst-unique4.h: New file.
31676 * elf/tst-unique4lib.cc: New file.
31677 * elf/Makefile: Add rules to build and run tst-unique4.
31678 Patch by Piotr Bury <pbury@goahead.com>.
31680 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31683 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31686 * misc/mntent_r.c (addmntent): Flush the stream after the output
31689 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31690 (is_trusted_path_normalize): Skip initial colon. Append slash
31691 to empty buffer. Duplicate is_trusted_path code but allow
31692 constructed patch to be prefix.
31693 (is_dst): Allow $ORIGIN followed by /.
31694 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31695 Correct testing of result of is_trusted_path_normalize
31696 (decompose_rpath): Fix warning.
31698 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31701 * grp/initgroups.c (internal_getgrouplist): When we found the service
31702 list through the initgroups entry in nsswitch.conf do not always
31703 continue on a successful lookup. Don't always use the
31704 __nss_group_database value if it is set.
31705 * nss/nsswitch.conf (initgroups): Change action for successful db
31706 lookup to continue for compatibility.
31708 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31711 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31713 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31715 * iconvdata/tst-tables.sh: Likewise.
31716 * iconvdata/cp770.c: New file.
31717 * iconvdata/cp771.c: New file.
31718 * iconvdata/cp772.c: New file.
31719 * iconvdata/cp773.c: New file.
31720 * iconvdata/cp774.c: New file.
31721 * iconvdata/testdata/CP770: New file.
31722 * iconvdata/testdata/CP770..UTF8: New file.
31723 * iconvdata/testdata/CP771: New file.
31724 * iconvdata/testdata/CP771..UTF8: New file.
31725 * iconvdata/testdata/CP772: New file.
31726 * iconvdata/testdata/CP772..UTF8: New file.
31727 * iconvdata/testdata/CP773: New file.
31728 * iconvdata/testdata/CP773..UTF8: New file.
31729 * iconvdata/testdata/CP774: New file.
31730 * iconvdata/testdata/CP774..UTF8: New file.
31732 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31734 * iconvdata/gen-8bit-gap.sh: Likewise.
31735 * iconvdata/gen-8bit.sh: Likewise.
31737 * locale/iso-639.def: Add ary entry.
31740 * locale/C-translit.h.in: Add U20A1 transliteration.
31743 * locale/iso-639.def: Add wae entry.
31744 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31747 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31751 * locale/C-translit.h.in: Add entry for U20B9.
31752 Patch by pravin.d.s@gmail.com.
31754 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31757 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31758 ENAMETOOLONG use generic getcwd.
31759 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31760 in rtld. Use *stat64.
31761 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31762 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31763 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31764 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31765 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31766 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31767 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31768 __fstatat64 macros.
31769 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31770 * dirent/rewinddir.c: Add libc_hidden_def.
31771 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31772 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31774 * include/dirent.h (__alloc_dir): Add flags parameter.
31775 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31776 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31778 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31779 from fdopendir if O_CLOEXEC is already set.
31781 2011-03-15 Alan Modra <amodra@gmail.com>
31783 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31784 l_tls_firstbyte_offset non-zero. Save padding offset in
31785 l_tls_firstbyte_offset for later use.
31786 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31787 freeing static tls block.
31789 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31791 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31792 where #ifdef was intended. The intent is to prevent ARG_MAX from
31793 being defined by the kernel headers.
31795 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31798 * resolv/resolv.h: Define RES_NOTLDQUERY.
31799 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31800 no-tld-query and set RES_NOTLDQUERY.
31801 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31802 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31803 modern BIND to search name as TLD unless forbidden.
31805 2011-05-07 Petr Baudis <pasky@suse.cz>
31806 Ulrich Drepper <drepper@gmail.com>
31809 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31810 (is_trusted_path): ...to here.
31811 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31812 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31813 using is_trusted_path_normalize() in setuid scripts.
31815 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31817 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31818 __BEGIN/__END_DECLS.
31820 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31822 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31823 NSS_STATUS_NOTFOUND if no record was found.
31825 2011-05-05 Andreas Schwab <schwab@redhat.com>
31827 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31828 (headers-not-in-tirpc): Remove rpc/netdb.h
31829 * resolv/netdb.h: Revert last change.
31831 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31833 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31834 circular dependency between libgcc.a and libc.a.
31836 2011-05-05 Andreas Schwab <schwab@redhat.com>
31838 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31839 * nis/Makefile: Don't install rpcsvc/*.
31840 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31841 instead of <rpc/types.h>.
31842 (MAXHOSTNAMELEN): Define.
31844 2011-05-03 Andreas Schwab <schwab@redhat.com>
31846 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31848 2011-04-28 Maciej Babinski <mbabinski@google.com>
31851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31852 gethostbyname4_r when IPv6 results are possible.
31854 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31857 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31858 _PC_PIPE_BUF handling.
31860 2011-04-30 Bruno Haible <bruno@clisp.org>
31863 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31864 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31866 * inet/getnameinfo.c (getnameinfo): Likewise.
31868 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31870 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31871 to groups setting in database lookup.
31872 * nss/nsswitch.conf: Add initgroups entry.
31874 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31877 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31879 Patch by Eric Blake <eblake@redhat.com>.
31881 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31883 * sunrpc/Makefile (need-export-routines): Add svc_run.
31884 (routines): Remove svc_run.
31885 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31886 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31887 * sunrpc/svc_run.c (svc_run): Likewise.
31888 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31890 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31893 problem in reallocation in last patch.
31895 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31897 * sunrpc/Makefile: Move inclusion of Rules.
31899 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31901 * nss/nss_files/files-initgroups.c: New file.
31902 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31903 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31904 _nss_files_initgroups_dyn.
31906 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31908 * elf/elf.h (R_ARM_IRELATIVE): Define.
31910 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31912 * po/ru.po: Update from translation team.
31914 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31916 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31919 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31922 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31923 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31924 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31925 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31926 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31928 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31930 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31932 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31933 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31934 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31936 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31939 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31941 * stdlib/bug-getcontext.c: New file.
31942 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31944 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31946 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31947 instructions into .machine "z9-109".
31948 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31949 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31951 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31953 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31954 between environment variables and auxiliary vector.
31956 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31958 * Makefile: Add rules to build linkobj/libc.so.
31959 * include/libc-symbols.h: Define libc_hidden_nolink.
31960 * include/rpc/auth.h: Mark functions which are to be hidden.
31961 * include/rpc/auth_des.h: Likewise.
31962 * include/rpc/auth_unix.h: Likewise.
31963 * include/rpc/clnt.h: Likewise.
31964 * include/rpc/des_crypt.h: Likewise.
31965 * include/rpc/key_prot.h: Likewise.
31966 * include/rpc/pmap_clnt.h: Likewise.
31967 * include/rpc/pmap_prot.h: Likewise.
31968 * include/rpc/pmap_rmt.h: Likewise.
31969 * include/rpc/rpc_msg.h: Likewise.
31970 * include/rpc/svc.h: Likewise.
31971 * include/rpc/svc_auth.h: Likewise.
31972 * include/rpc/xdr.h: Likewise.
31973 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31974 * nss/Makefile: Likewise.
31975 * sunrpc/Makefile: Don't install headers. Build library with normal
31976 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31977 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31978 for the compat linking library. Remove use of INTDEF/INTUSE.
31979 * sunrpc/auth_none.c: Likewise.
31980 * sunrpc/auth_unix.c: Likewise.
31981 * sunrpc/authdes_prot.c: Likewise.
31982 * sunrpc/authuxprot.c: Likewise.
31983 * sunrpc/clnt_gen.c: Likewise.
31984 * sunrpc/clnt_perr.c: Likewise.
31985 * sunrpc/clnt_raw.c: Likewise.
31986 * sunrpc/clnt_simp.c: Likewise.
31987 * sunrpc/clnt_tcp.c: Likewise.
31988 * sunrpc/clnt_udp.c: Likewise.
31989 * sunrpc/clnt_unix.c: Likewise.
31990 * sunrpc/des_crypt.c: Likewise.
31991 * sunrpc/des_soft.c: Likewise.
31992 * sunrpc/get_myaddr.c: Likewise.
31993 * sunrpc/key_call.c: Likewise.
31994 * sunrpc/key_prot.c: Likewise.
31995 * sunrpc/netname.c: Likewise.
31996 * sunrpc/pm_getmaps.c: Likewise.
31997 * sunrpc/pm_getport.c: Likewise.
31998 * sunrpc/pmap_clnt.c: Likewise.
31999 * sunrpc/pmap_prot.c: Likewise.
32000 * sunrpc/pmap_prot2.c: Likewise.
32001 * sunrpc/pmap_rmt.c: Likewise.
32002 * sunrpc/publickey.c: Likewise.
32003 * sunrpc/rpc_cmsg.c: Likewise.
32004 * sunrpc/rpc_common.c: Likewise.
32005 * sunrpc/rpc_dtable.c: Likewise.
32006 * sunrpc/rpc_prot.c: Likewise.
32007 * sunrpc/rpc_thread.c: Likewise.
32008 * sunrpc/rtime.c: Likewise.
32009 * sunrpc/svc.c: Likewise.
32010 * sunrpc/svc_auth.c: Likewise.
32011 * sunrpc/svc_authux.c: Likewise.
32012 * sunrpc/svc_raw.c: Likewise.
32013 * sunrpc/svc_run.c: Likewise.
32014 * sunrpc/svc_simple.c: Likewise.
32015 * sunrpc/svc_tcp.c: Likewise.
32016 * sunrpc/svc_udp.c: Likewise.
32017 * sunrpc/svc_unix.c: Likewise.
32018 * sunrpc/svcauth_des.c: Likewise.
32019 * sunrpc/xcrypt.c: Likewise.
32020 * sunrpc/xdr.c: Likewise.
32021 * sunrpc/xdr_array.c: Likewise.
32022 * sunrpc/xdr_float.c: Likewise.
32023 * sunrpc/xdr_intXX_t.c: Likewise.
32024 * sunrpc/xdr_mem.c: Likewise.
32025 * sunrpc/xdr_rec.c: Likewise.
32026 * sunrpc/xdr_ref.c: Likewise.
32027 * sunrpc/xdr_sizeof.c: Likewise.
32028 * sunrpc/xdr_stdio.c: Likewise.
32030 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32033 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32034 * sysdeps/ia64/dl-tls.h: Likewise.
32035 * sysdeps/powerpc/dl-tls.h: Likewise.
32036 * sysdeps/s390/dl-tls.h: Likewise.
32037 * sysdeps/sh/dl-tls.h: Likewise.
32038 * sysdeps/sparc/dl-tls.h: Likewise.
32039 * sysdeps/x86_64/dl-tls.h: Likewise.
32040 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32042 2011-03-14 Andreas Schwab <schwab@redhat.com>
32044 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32045 rpath element also skip the following colon.
32046 (expand_dynamic_string_token): Add is_path parameter and pass
32047 down to DL_DST_REQUIRED and _dl_dst_substitute.
32048 (decompose_rpath): Call expand_dynamic_string_token with
32049 non-zero is_path. Ignore empty rpaths.
32050 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32053 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32058 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32061 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32062 Patch by Filipe David Manana <fdmanana@apache.org>.
32064 2011-04-07 Andreas Schwab <schwab@redhat.com>
32066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32067 Maintain aligned stack.
32068 (CHECK_RSP): Remove unused macro.
32070 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32072 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32073 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32075 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32077 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32079 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32081 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32084 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32085 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32086 * sysdeps/x86_64/memmove.c: New file.
32087 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32088 (memcpy): Renamed to ...
32089 (__new_memcpy): This.
32090 (memcpy): Provide GLIBC_2_14 memcpy.
32091 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32092 (memcpy): Provide GLIBC_2_2_5 memcpy.
32094 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32097 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32099 2011-03-30 Andreas Schwab <schwab@redhat.com>
32101 * misc/syncfs.c: New file.
32102 * misc/Makefile (routines): Add syncfs.
32103 * posix/unistd.h: Declare syncfs.
32104 * sysdeps/unix/syscalls.list: Add syncfs.
32106 2011-04-01 Andreas Schwab <schwab@redhat.com>
32108 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32115 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32118 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32122 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32128 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32129 sync_file_range.c with -fexceptions.
32130 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32131 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32132 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32133 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32134 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32135 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32136 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32137 sync_file_range as cancellation point
32138 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32139 now a wrapper around __call_sync_file_range with cancellation handling.
32140 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32141 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32142 function name to __call_sync_file_range.
32143 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32144 Add call_sync_file_range.
32146 2011-04-01 Andreas Schwab <schwab@redhat.com>
32148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32151 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32153 * iconv/iconv.h: Fix typo in comment.
32154 * io/fcntl.h: Likewise.
32155 * libio/stdio.h: Likewise.
32156 * posix/spawn.h: Likewise.
32157 * posix/unistd.h: Likewise.
32158 * stdlib/stdlib.h: Likewise.
32159 * time/time.h: Likewise.
32160 * wcsmbs/wchar.h: Likewise.
32162 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32163 open_by_handle): Add.
32164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32165 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32166 Augment a few comments.
32167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32172 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32175 * io/fcntl.h (AT_EMPTY_PATH): Define.
32177 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32179 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32180 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32181 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32183 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32184 * Versions.def: Add GLIBC_2.14.
32185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32188 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32190 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32192 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32194 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32197 * string/test-strncmp.c (do_page_test): New function.
32198 (check2): Likewise.
32199 (test_main): Call check2.
32200 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32202 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32206 Handle cache information in CPU leaf 4.
32207 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32209 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32212 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32213 character representation.
32214 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32216 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32218 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32219 END(__isnan) to END(__isnanf) to match function entry point/label
32220 EALIGN(__isnanf,...).
32222 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32224 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32226 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32229 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32230 copy from the symbol referenced in the relocation to initialize the
32232 Patch by Piotr Bury <pbury@goahead.com>.
32233 * elf/Makefile: Add rules to build and tst-unique3.
32234 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32235 * elf/tst-unique3.cc: New file.
32236 * elf/tst-unique3.h: New file.
32237 * elf/tst-unique3lib.cc: New file.
32238 * elf/tst-unique3lib2.cc: New file.
32240 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32242 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32244 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32245 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32248 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32250 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32251 to-be-loaded object along a path to loader is ld.so.
32253 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32254 Ulrich Drepper <drepper@gmail.com>
32256 * sysdeps/x86_64/memset.S: After aligning destination, code
32257 branches to different locations depending on the value of
32258 misalignment, when multiarch is enabled. Fix this.
32260 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32262 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32263 Set _x86_64_preferred_memory_instruction for AMD processsors.
32264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32265 Set bit_Prefer_SSE_for_memop for AMD processors.
32267 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32269 * libio/fmemopen.c (fmemopen): Optimize a bit.
32271 2011-03-03 Andreas Schwab <schwab@redhat.com>
32273 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32275 2011-03-03 Roland McGrath <roland@redhat.com>
32277 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32279 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32281 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32282 __bzero_ultra1 instead of __memset_ultra1.
32284 2011-02-23 Andreas Schwab <schwab@redhat.com>
32285 Ulrich Drepper <drepper@gmail.com>
32288 * include/link.h (struct link_map): Add l_orig_initfini.
32289 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32290 returning unsuccessfully.
32291 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32292 close of a file loaded at startup, restore the original l_initfini
32294 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32295 list, store the pointer.
32296 * elf/Makefile ($(objpfx)noload-mem): New rule.
32297 (noload-ENV): Define.
32298 (tests): Add $(objpfx)noload-mem.
32299 * elf/noload.c: Include <memcheck.h>.
32300 (main): Call mtrace. Close all opened handles.
32302 2011-02-17 Andreas Schwab <schwab@redhat.com>
32305 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32306 dependencies are missing.
32308 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32310 Fix __if_freereq crash: Unlike the generic version which uses free,
32312 * sysdeps/mach/hurd/ifreq.h: New file.
32314 2011-01-27 Petr Baudis <pasky@suse.cz>
32315 Ulrich Drepper <drepper@gmail.com>
32318 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32319 to extend_alloca().
32320 * stdio-common/bug23.c: New file.
32321 * stdio-common/Makefile (tests): Add bug23.
32323 2010-09-28 Andreas Schwab <schwab@redhat.com>
32324 Ulrich Drepper <drepper@gmail.com>
32327 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32328 before performing relro protection. At old place add assertion
32329 to make sure nothing changed.
32331 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32332 Glauber de Oliveira Costa <glommer@gmail.com>
32334 * elf/elf.h: Add new ARM TLS relocs.
32336 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32339 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32341 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32343 * sysdeps/wordsize-64/tst-writev.c: New file.
32345 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32347 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32348 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32349 insns in _dl_start to prevent a TOC reference before relocs are
32352 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32355 * Makeconfig: Remove RANLIB definition.
32356 * Makerules: Don't use RANLIB.
32357 * aclocal.m4: Remove ranlib test.
32358 * configure.in: No need to check for ranlib.
32359 * elf/rtld-Rules: Don't use RANLIB.
32361 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32363 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32365 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32366 inclusion protection macro.
32368 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32369 SIGRTMIN and SIGRTMAX and print information in that case only when
32370 SIGRTMIN is defined.
32372 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32374 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32375 arginfo fn returning -1.
32377 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32378 and thousands string is zero terminated.
32380 2011-02-03 Andreas Schwab <schwab@redhat.com>
32382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32383 sysdeps/unix/sysv/linux/bits/socket.h.
32385 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32387 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32388 (__CPU_COUNT): Remove old macros.
32389 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32390 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32391 (__CPU_ALLOC, __CPU_FREE): Add macros.
32392 (__sched_cpualloc, __sched_cpufree): Add declarations.
32394 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32396 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32397 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32398 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32399 (readdhstai): Return value of addhstaiX call.
32400 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32401 (addgrbyX): Return value returned by cache_addgr.
32402 (readdgrbyname): Return value returned by addgrbyX.
32403 (readdgrbygid): Likewise.
32404 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32405 (addpwbyX): Return value returned by cache_addpw.
32406 (readdpwbyname): Return value returned by addhstbyX.
32407 (readdpwbyuid): Likewise.
32408 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32409 (addservbyX): Return value returned by cache_addserv.
32410 (readdservbyname): Return value returned by addservbyX:
32411 (readdservbyport): Likewise.
32412 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32413 (addhstbyX): Return value returned by cache_addhst.
32414 (readdhstbyname): Return value returned by addhstbyX.
32415 (readdhstbyaddr): Likewise.
32416 (readdhstbynamev6): Likewise.
32417 (readdhstbyaddrv6): Likewise.
32418 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32419 (readdinitgroups): Return value returned by addinitgroupsX.
32420 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32421 (prune_cache): Keep track of timeout value of re-added entries.
32422 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32423 * nscd/nscd.h: Adjust prototypes of readd* functions.
32425 2011-02-04 Roland McGrath <roland@redhat.com>
32427 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32428 (nis_stats): Likewise.
32429 * nis/nis_modify.c (nis_modify): Likewise.
32430 * nis/nis_remove.c (nis_remove): Likewise.
32431 * nis/nis_add.c (nis_add): Likewise.
32433 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32435 * posix/fnmatch_loop.c: Add some consts.
32437 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32439 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32442 * config.make.in (config-cflags-novzeroupper): Define.
32443 * configure.in: Substitute libc_cv_cc_novzeroupper.
32444 * elf/Makefile (AVX-CFLAGS): Define.
32445 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32446 (CFLAGS-tst-auditmod4a.c): Likewise.
32447 (CFLAGS-tst-auditmod4b.c): Likewise.
32448 (CFLAGS-tst-auditmod6b.c): Likewise.
32449 (CFLAGS-tst-auditmod6c.c): Likewise.
32450 (CFLAGS-tst-auditmod7b.c): Likewise.
32451 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32453 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32455 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32456 function to the callback.
32457 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32459 2011-02-02 Andreas Schwab <schwab@redhat.com>
32461 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32464 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32467 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32469 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32471 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32474 * elf/Makefile: Add rules to build and run new test.
32475 * elf/tst-initorder.c: New file.
32476 * elf/tst-initorder.exp: New file.
32477 * elf/tst-initordera1.c: New file.
32478 * elf/tst-initordera2.c: New file.
32479 * elf/tst-initordera3.c: New file.
32480 * elf/tst-initordera4.c: New file.
32481 * elf/tst-initorderb1.c: New file.
32482 * elf/tst-initorderb2.c: New file.
32483 * elf/tst-order-a1.c: New file.
32484 * elf/tst-order-a2.c: New file.
32485 * elf/tst-order-a3.c: New file.
32486 * elf/tst-order-a4.c: New file.
32487 * elf/tst-order-b1.c: New file.
32488 * elf/tst-order-b2.c: New file.
32489 * elf/tst-order-main.c: New file.
32490 New test case by George Gensure <werkt0@gmail.com>.
32492 2010-10-01 Andreas Schwab <schwab@redhat.com>
32494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32495 decoding ACE if AI_CANONIDN.
32497 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32499 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32501 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32503 * version.h (RELEASE): Bump for 2.13 release.
32504 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32506 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32510 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32512 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32513 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32514 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32515 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32517 * posix/getconf.c: Update copyright year.
32518 * catgets/gencat.c: Likewise.
32519 * csu/version.c: Likewise.
32520 * debug/catchsegv.sh: Likewise.
32521 * debug/xtrace.sh: Likewise.
32522 * elf/ldconfig.c: Likewise.
32523 * elf/ldd.bash.in: Likewise.
32524 * elf/sprof.c (print_version): Likewise.
32525 * iconv/iconv_prog.c: Likewise.
32526 * iconv/iconvconfig.c: Likewise.
32527 * locale/programs/locale.c: Likewise.
32528 * locale/programs/localedef.c: Likewise.
32529 * malloc/memusage.sh: Likewise.
32530 * malloc/mtrace.pl: Likewise.
32531 * nscd/nscd.c (print_version): Likewise.
32532 * nss/getent.c: Likewise.
32534 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32535 PF_CAIF, and PF_ALG.
32536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32538 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32540 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32541 (modules-names): Use them.
32542 (ifunc-test-modules, ifunc-pie-tests): Define.
32543 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32544 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32545 (test-extras): Likewise.
32546 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32547 $(compile-command.c).
32548 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32549 (all-built-dso): Define.
32550 (check-textrel.out, check-execstack.out): Depend on it.
32552 * configure.in: Don't override --enable-multi-arch.
32554 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32557 * nscd/hstcache.c (tryagain): Define.
32558 (cache_addhst): Return tryagain not notfound for temporary errors.
32559 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32562 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32565 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32566 to make the syscall.
32567 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32570 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32571 and fall back to matching as normal character if the string ends before
32572 the matching ']' is found. This is what POSIX requires.
32573 * posix/testfnm.c: Adjust test result.
32574 * posix/globtest.sh: Adjust test result. Add new test.
32575 * posix/tst-fnmatch.input: Likewise.
32576 * posix/tst-fnmatch2.c: Add new test.
32578 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32580 * elf/Makefile (check-execstack): Revert last change. Depend on
32582 (check-execstack.h): New target.
32583 (generated): Add check-execstack.h.
32584 * elf/check-execstack.c: Include "check-execstack.h".
32585 (main): Revert last change.
32586 (handle_file): Return zero if GNU_STACK is absent and
32587 DEFAULT_STACK_PERMS doesn't include PF_X.
32589 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32591 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32592 in child fails because the descriptor is already closed.
32593 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32594 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32595 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32598 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32602 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32603 temporary buffer used to handle multi lookups locally.
32604 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32606 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32608 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32611 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32613 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32614 alignment for SSE2.
32616 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32619 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32620 characters. When rounding increased number of integer digits recompute
32622 * stdio-common/tst-grouping.c: New file.
32623 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32625 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32627 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32628 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32630 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32632 * bits/select.h: Likewise.
32634 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32636 * po/ja.po: Update from translation team.
32638 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32641 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32642 implementation just like for lxstat, fxstatat, et al.
32644 2010-12-27 Jim Meyering <meyering@redhat.com>
32647 * posix/regexec.c (build_trtable): Return failure indication upon
32648 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32650 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32653 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32654 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32655 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32656 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32659 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32662 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32663 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32665 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32667 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32668 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32669 script has SORT_BY_INIT_PRIORITY.
32670 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32671 NO_CTORS_DTORS_SECTIONS is defined.
32672 * elf/soinit.c: Likewise.
32673 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32674 NO_CTORS_DTORS_SECTIONS is defined.
32675 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32676 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32677 * sysdeps/sh/init-first.c: Likewise.
32678 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32680 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32682 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32683 always use the slow path.
32685 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32687 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32688 similar rule which adds the sysdep directories to the header search in
32689 order to pick up the correct platform stackinfo.h.
32690 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32691 perform test if it is, otherwise return successfully without testing.
32692 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32693 DEFAULT_STACK_PERMS define in stackinfo.h.
32694 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32695 defined in stackinfo.h.
32696 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32697 DEFAULT_STACK_PERMS defined in stackinfo.h.
32698 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32699 * sysdeps/ia64/stackinfo.h: Likewise.
32700 * sysdeps/s390/stackinfo.h: Likewise.
32701 * sysdeps/sh/stackinfo.h: Likewise.
32702 * sysdeps/sparc/stackinfo.h: Likewise.
32703 * sysdeps/x86_64/stackinfo.h: Likewise.
32704 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32705 PF_X for powerpc64. Retain PF_X for powerpc32.
32707 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32709 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32711 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32712 GETDENTS_64BIT_ALIGNED.
32714 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32716 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32718 2010-12-10 Andreas Schwab <schwab@redhat.com>
32720 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32723 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32724 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32726 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32727 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32729 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32732 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32735 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32737 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32739 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32741 * po/it.po: Update from translation team.
32743 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32748 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32750 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32752 2010-11-24 Andreas Schwab <schwab@redhat.com>
32754 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32756 (gaih_getanswer_slice): Likewise.
32758 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32762 2010-05-31 Petr Baudis <pasky@suse.cz>
32765 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32766 silently even in the chroot mode.
32768 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32770 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32771 last patch a bit. Pretty printing
32773 2010-05-31 Petr Baudis <pasky@suse.cz>
32776 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32777 initialization of skip_initgroups_dyn.
32779 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32781 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32782 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32784 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32786 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32788 2010-11-11 Andreas Schwab <schwab@redhat.com>
32790 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32791 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32792 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32793 ($(objpfx)tst-fnmatch-mem): New rule.
32794 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32795 * posix/tst-fnmatch.c (main): Call mtrace.
32797 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32800 Support Intel processor model 6 and model 0x2c.
32802 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32804 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32807 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32810 * string/test-strncasecmp.c (check_result): New function.
32811 (do_one_test): Use it.
32812 (check1): New function.
32813 (test_main): Use it.
32814 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32815 Support strcasecmp and strncasecmp.
32817 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32820 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32823 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32825 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32829 * sysdeps/x86_64/multiarch/bzero.S: New file.
32830 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32831 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32832 * sysdeps/x86_64/multiarch/memset.S: New file.
32833 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32835 Set bit_Prefer_SSE_for_memop for Intel processors.
32836 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32838 (index_Prefer_SSE_for_memop): Define.
32839 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32841 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32843 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32844 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32846 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32849 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32850 (__x86_64_raw_data_cache_size_half): Likewise.
32851 (__x86_64_raw_shared_cache_size): Likewise.
32852 (__x86_64_raw_shared_cache_size_half): Likewise.
32854 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32855 (__x86_64_raw_data_cache_size_half): Likewise.
32856 (__x86_64_raw_shared_cache_size): Likewise.
32857 (__x86_64_raw_shared_cache_size_half): Likewise.
32858 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32859 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32860 and __x86_64_raw_shared_cache_size_half. Round
32861 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32862 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32863 to multiple of 256 bytes.
32865 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32868 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32869 of inacessible symlinks. Verify result of symlink before returning it.
32870 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32871 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32873 2010-10-28 Erich Ritz <erichritz@gmail.com>
32875 * math/math.h (isinf): Fix typo in comment.
32877 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32879 * po/da.po: Update from translation team.
32881 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32883 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32884 is added to the list.
32886 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32887 Ulrich Drepper <drepper@gmail.com>
32889 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32890 the global list here. Move code to...
32891 (_dl_add_to_namespace_list): ...here. New function.
32892 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32893 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32894 * elf/dl-load.c (lose): Don't remove the element from the list.
32895 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32896 (_dl_map_object): Likewise.
32898 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32901 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32902 into all bytes of SSE register.
32903 Patch by Richard Li <richardpku@gmail.com>.
32905 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32908 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32911 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32913 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32914 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32915 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32916 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32921 2010-10-22 Andreas Schwab <schwab@redhat.com>
32923 * include/dlfcn.h (__RTLD_SECURE): Define.
32924 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32925 mode & __RTLD_SECURE instead.
32926 (open_path): Rename preloaded parameter to secure.
32927 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32928 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32929 * elf/dl-deps.c (openaux): Likewise.
32930 * elf/rtld.c (struct map_args): Remove is_preloaded.
32931 (map_doit): Don't use it.
32932 (dl_main): Likewise.
32933 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32934 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32936 2010-09-09 Andreas Schwab <schwab@redhat.com>
32938 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32939 (sysd-rules-targets): Remove duplicates.
32940 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32941 rtld-%.$o dependency.
32943 2010-10-18 Andreas Schwab <schwab@redhat.com>
32945 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32946 _dl_map_object do it.
32948 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32950 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32951 fast fma builtins, define the macros in the C99 standard.
32952 (FP_FAST_FMAF): Likewise.
32953 (FP_FAST_FMAL): Likewise.
32954 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32956 * bits/mathdef.h: Update copyright year.
32957 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32959 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32961 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32962 builtins, define the macros in the C99 standard.
32963 (FP_FAST_FMAF): Likewise.
32964 (FP_FAST_FMAL): Likewise.
32965 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32967 (FP_FAST_FMAF): Likewise.
32969 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32972 * math/libm-test.inc (fma_test): Some new testcases.
32973 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32974 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32975 y and infinite z. Do multiplication by C already in long double.
32976 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32978 y and infinite z. Do bitwise or of inexact bit into u.d.
32979 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32980 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32981 * sysdeps/i386/fpu/s_fma.S: Removed.
32982 * sysdeps/i386/fpu/s_fmal.S: Removed.
32984 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32987 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32989 computation is not scheduled after fetestexcept. Fix value
32990 of minimum denormal long double.
32992 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32995 * math/libm-test.inc (fma_test): Add some more tests.
32996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32999 2010-10-15 Andreas Schwab <schwab@redhat.com>
33001 * scripts/data/localplt-s390-linux-gnu.data: New file.
33002 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33004 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33007 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33008 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33010 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33012 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33014 if one of x and y is very large and the other is subnormal.
33015 * sysdeps/s390/fpu/s_fmaf.c: New file.
33016 * sysdeps/s390/fpu/s_fma.c: New file.
33017 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33018 * sysdeps/powerpc/fpu/s_fma.S: New file.
33019 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33020 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33021 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33023 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33026 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33028 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33029 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33030 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33031 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33032 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33033 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33034 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33036 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33039 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33040 * posix/bug-regex31.input: Add test case.
33042 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33044 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33045 * posix/bug-regex31.input: New file.
33048 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33049 (parse_sub_exp): Fix last change, use postorder.
33051 * posix/bug-regex31.c: New file.
33052 * posix/Makefile: Add rules to build and run bug-regex31.
33054 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33057 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33060 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33061 to have entries in sys_siglist.
33064 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33067 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33070 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33071 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33072 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33073 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33074 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33075 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33076 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33077 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33078 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33079 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33080 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33081 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33082 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33083 * math/ftestexcept.c (fetestexcept): Likewise.
33084 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33085 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33086 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33087 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33088 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33089 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33090 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33092 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33095 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33098 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33100 * string/bug-strstr1.c: New file.
33101 * string/Makefile: Add rules to build and run bug-strstr1.
33103 2010-10-05 Eric Blake <eblake@redhat.com>
33106 * string/str-two-way.h (two_way_long_needle): Always clear memory
33107 when skipping input due to the shift table.
33109 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33112 * malloc/mcheck.c: Handle large requests.
33115 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33116 for strncmp and strncasecmp.
33117 * string/stratcliff.c: Add tests for strcmp and strncmp.
33118 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33120 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33122 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33125 2010-09-30 Andreas Jaeger <aj@suse.de>
33127 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33128 (CGROUP_SUPER_MAGIC): Define.
33129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33130 Handle btrfs and cgroup file systems.
33131 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33134 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33136 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33137 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33139 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33142 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33143 trying to locate the ELF header.
33145 2010-09-27 Andreas Schwab <schwab@redhat.com>
33148 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33149 Mask out sign-bit copies when constructing f_fsid.
33151 2010-09-24 Petr Baudis <pasky@suse.cz>
33153 * debug/stack_chk_fail_local.c: Add missing licence exception.
33154 * debug/warning-nop.c: Likewise.
33156 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33158 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33159 implementing getdents64 using getdents syscall, set d_type if
33160 __ASSUME_GETDENTS32_D_TYPE.
33162 2010-09-16 Andreas Schwab <schwab@redhat.com>
33164 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33165 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33167 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33170 * posix/unistd.h: Undo change of feature selection for ftruncate from
33173 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33175 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33178 2010-09-20 Andreas Schwab <schwab@redhat.com>
33180 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33182 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33184 2010-09-14 Andreas Schwab <schwab@redhat.com>
33186 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33187 variables after CHECK_SP call.
33188 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33190 2010-09-13 Andreas Schwab <schwab@redhat.com>
33191 Ulrich Drepper <drepper@redhat.com>
33193 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33194 re-relocationg ld.so.
33195 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33196 _dl_init_paths call.
33197 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33200 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33202 * resolv/res_init.c (__res_vinit): Count the default server we added.
33204 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33205 Ulrich Drepper <drepper@redhat.com>
33208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33209 (____longjmp_chk): Use %ebx for saving value across system call.
33212 2010-09-06 Andreas Schwab <schwab@redhat.com>
33214 * manual/Makefile: Don't mix pattern rules with normal rules.
33216 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33218 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33220 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33221 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33222 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33223 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33227 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33230 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33231 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33233 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33235 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33236 * sysdeps/x86_64/addmul_1.S: Likewise.
33237 * sysdeps/x86_64/lshift.S: Likewise.
33238 * sysdeps/x86_64/mul_1.S: Likewise.
33239 * sysdeps/x86_64/rshift.S: Likewise.
33240 * sysdeps/x86_64/sub_n.S: Likewise.
33241 * sysdeps/x86_64/submul_1.S: Likewise.
33243 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33245 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33246 Define __sched_param instead of SCHED_* and sched_param when
33247 <bits/sched.h> is included with __need_schedparam defined.
33248 * bits/sched.h [__need_schedparam]
33249 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33250 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33251 (__defined_schedparam): Define to 1.
33252 (__sched_param): New structure, identical to sched_param.
33253 (__need_schedparam): Undefine.
33255 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33257 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33258 (epoll_create1): Declare.
33260 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33262 2010-08-31 Andreas Schwab <schwab@redhat.com>
33265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33266 shifting retval into place.
33268 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33270 * nis/rpcsvc/nis.h: Update copyright notice.
33271 * nis/rpcsvc/nis.x: Likewise.
33272 * nis/rpcsvc/nis_callback.h: Likewise.
33273 * nis/rpcsvc/nis_callback.x: Likewise.
33274 * nis/rpcsvc/nis_object.x: Likewise.
33275 * nis/rpcsvc/nis_tags.h: Likewise.
33276 * nis/rpcsvc/yp.h: Likewise.
33277 * nis/rpcsvc/yp.x: Likewise.
33278 * nis/rpcsvc/ypupd.h: Likewise.
33279 * nis/yp_xdr.c: Likewise.
33280 * nis/ypupdate_xdr.c: Likewise.
33282 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33283 mainly the body of pmap_getport. Add parameters to specify timeouts.
33284 (pmap_getport): Use __libc_rpc_getport.
33285 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33286 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33287 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33289 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33294 2010-08-27 Roland McGrath <roland@redhat.com>
33296 * sysdeps/i386/i686/multiarch/Makefile
33297 (CFLAGS-varshift.c): New variable.
33299 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33301 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33302 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33306 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33308 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33310 * sysdeps/x86_64/strlen.S: Unroll the loop.
33311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33312 strlen-sse2 strlen-sse2-bsf.
33313 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33314 __strlen_no_bsf if bit_Slow_BSF is set.
33315 (__strlen_sse42): Removed.
33316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33317 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33319 2010-08-25 Roland McGrath <roland@redhat.com>
33321 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33322 * sysdeps/x86_64/multiarch/varshift.c: New file.
33323 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33324 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33325 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33326 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33328 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33331 strlen-sse2 strlen-sse2-bsf.
33332 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33333 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33334 (__strlen_sse2): Removed.
33335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33338 bit_Slow_BSF for Atom.
33339 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33340 (index_Slow_BSF): Define.
33341 (HAS_SLOW_BSF): Define.
33343 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33346 * resolv/res_init.c (__res_vinit): When no server address at all
33347 is given default to loopback.
33349 2010-08-24 Roland McGrath <roland@redhat.com>
33351 * configure.in: Remove config-name.h generation.
33352 * configure: Regenerated.
33353 * config-name.in: File removed.
33354 * scripts/config-uname.sh: New file.
33355 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33356 ($(objdir)config-name.h): New target.
33358 * sunrpc/rpc_parse.h: Avoid nested comment.
33360 2010-08-24 Richard Henderson <rth@redhat.com>
33361 Ulrich Drepper <drepper@redhat.com>
33362 H.J. Lu <hongjiu.lu@intel.com>
33364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33366 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33367 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33368 _mm_alignr_epi8 with _mm_loadu_si128.
33369 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33370 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33371 (__m128i_shift_right): Removed.
33372 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33373 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33374 * sysdeps/x86_64/multiarch/varshift.h: New file.
33375 * sysdeps/x86_64/multiarch/varshift.S: New file.
33377 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33379 * configure.in: Move assembler checks to before sysdep dir checking.
33381 2010-08-20 Petr Baudis <pasky@suse.cz>
33383 * LICENSES: Sync the sunrpc license.
33385 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33387 * sunrpc/auth_des.c: Update copyright notice once again.
33388 * sunrpc/auth_none.c: Likewise.
33389 * sunrpc/auth_unix.c: Likewise.
33390 * sunrpc/authdes_prot.c: Likewise.
33391 * sunrpc/authuxprot.c: Likewise.
33392 * sunrpc/bindrsvprt.c: Likewise.
33393 * sunrpc/clnt_gen.c: Likewise.
33394 * sunrpc/clnt_perr.c: Likewise.
33395 * sunrpc/clnt_raw.c: Likewise.
33396 * sunrpc/clnt_simp.c: Likewise.
33397 * sunrpc/clnt_tcp.c: Likewise.
33398 * sunrpc/clnt_udp.c: Likewise.
33399 * sunrpc/clnt_unix.c: Likewise.
33400 * sunrpc/des_crypt.c: Likewise.
33401 * sunrpc/des_soft.c: Likewise.
33402 * sunrpc/get_myaddr.c: Likewise.
33403 * sunrpc/getrpcport.c: Likewise.
33404 * sunrpc/key_call.c: Likewise.
33405 * sunrpc/key_prot.c: Likewise.
33406 * sunrpc/openchild.c: Likewise.
33407 * sunrpc/pm_getmaps.c: Likewise.
33408 * sunrpc/pm_getport.c: Likewise.
33409 * sunrpc/pmap_clnt.c: Likewise.
33410 * sunrpc/pmap_prot.c: Likewise.
33411 * sunrpc/pmap_prot2.c: Likewise.
33412 * sunrpc/pmap_rmt.c: Likewise.
33413 * sunrpc/rpc/auth.h: Likewise.
33414 * sunrpc/rpc/auth_unix.h: Likewise.
33415 * sunrpc/rpc/clnt.h: Likewise.
33416 * sunrpc/rpc/des_crypt.h: Likewise.
33417 * sunrpc/rpc/key_prot.h: Likewise.
33418 * sunrpc/rpc/netdb.h: Likewise.
33419 * sunrpc/rpc/pmap_clnt.h: Likewise.
33420 * sunrpc/rpc/pmap_prot.h: Likewise.
33421 * sunrpc/rpc/pmap_rmt.h: Likewise.
33422 * sunrpc/rpc/rpc.h: Likewise.
33423 * sunrpc/rpc/rpc_des.h: Likewise.
33424 * sunrpc/rpc/rpc_msg.h: Likewise.
33425 * sunrpc/rpc/svc.h: Likewise.
33426 * sunrpc/rpc/svc_auth.h: Likewise.
33427 * sunrpc/rpc/types.h: Likewise.
33428 * sunrpc/rpc/xdr.h: Likewise.
33429 * sunrpc/rpc_clntout.c: Likewise.
33430 * sunrpc/rpc_cmsg.c: Likewise.
33431 * sunrpc/rpc_common.c: Likewise.
33432 * sunrpc/rpc_cout.c: Likewise.
33433 * sunrpc/rpc_dtable.c: Likewise.
33434 * sunrpc/rpc_hout.c: Likewise.
33435 * sunrpc/rpc_main.c: Likewise.
33436 * sunrpc/rpc_parse.c: Likewise.
33437 * sunrpc/rpc_parse.h: Likewise.
33438 * sunrpc/rpc_prot.c: Likewise.
33439 * sunrpc/rpc_sample.c: Likewise.
33440 * sunrpc/rpc_scan.c: Likewise.
33441 * sunrpc/rpc_scan.h: Likewise.
33442 * sunrpc/rpc_svcout.c: Likewise.
33443 * sunrpc/rpc_tblout.c: Likewise.
33444 * sunrpc/rpc_util.c: Likewise.
33445 * sunrpc/rpc_util.h: Likewise.
33446 * sunrpc/rpcinfo.c: Likewise.
33447 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33448 * sunrpc/rpcsvc/key_prot.x: Likewise.
33449 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33450 * sunrpc/rpcsvc/mount.x: Likewise.
33451 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33452 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33453 * sunrpc/rpcsvc/rex.x: Likewise.
33454 * sunrpc/rpcsvc/rstat.x: Likewise.
33455 * sunrpc/rpcsvc/rusers.x: Likewise.
33456 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33457 * sunrpc/rpcsvc/spray.x: Likewise.
33458 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33459 * sunrpc/rtime.c: Likewise.
33460 * sunrpc/svc.c: Likewise.
33461 * sunrpc/svc_auth.c: Likewise.
33462 * sunrpc/svc_authux.c: Likewise.
33463 * sunrpc/svc_raw.c: Likewise.
33464 * sunrpc/svc_run.c: Likewise.
33465 * sunrpc/svc_simple.c: Likewise.
33466 * sunrpc/svc_tcp.c: Likewise.
33467 * sunrpc/svc_udp.c: Likewise.
33468 * sunrpc/svc_unix.c: Likewise.
33469 * sunrpc/svcauth_des.c: Likewise.
33470 * sunrpc/xcrypt.c: Likewise.
33471 * sunrpc/xdr.c: Likewise.
33472 * sunrpc/xdr_array.c: Likewise.
33473 * sunrpc/xdr_float.c: Likewise.
33474 * sunrpc/xdr_mem.c: Likewise.
33475 * sunrpc/xdr_rec.c: Likewise.
33476 * sunrpc/xdr_ref.c: Likewise.
33477 * sunrpc/xdr_sizeof.c: Likewise.
33478 * sunrpc/xdr_stdio.c: Likewise.
33480 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33483 2010-08-19 Andreas Schwab <schwab@redhat.com>
33485 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33487 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33489 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33490 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33491 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33492 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33493 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33494 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33495 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33496 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33498 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33499 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33500 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33501 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33502 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33504 2010-07-26 Anton Blanchard <anton@samba.org>
33506 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33507 * malloc/arena.c (heap_trim): Likewise.
33509 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33511 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33513 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33514 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33516 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33518 * sysdeps/i386/elf/Makefile: New file.
33520 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33522 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33523 from fanotify_init.
33524 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33525 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33527 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33529 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33531 * sysdeps/multiarch/strcmp.S: Likewise.
33533 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33535 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33536 strncase_l-nonascii.
33537 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33538 Add strncase_l-ssse3.
33539 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33540 * sysdeps/x86_64/strcmp.S: Likewise.
33541 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33542 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33543 * sysdeps/x86_64/strncase.S: New file.
33544 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33545 * sysdeps/x86_64/strncase_l.S: New file.
33546 * string/Makefile (strop-tests): Add strncasecmp.
33547 * string/test-strncasecmp.c: New file.
33549 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33552 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33553 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33555 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33557 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33559 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33561 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33562 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33563 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33565 2010-05-01 Alan Modra <amodra@gmail.com>
33567 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33568 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33569 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33570 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33571 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33572 tidying. Don't tail-call __sigjmp_save for static lib.
33573 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33575 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33576 (CALL_MCOUNT): Add eh info, and nop after bl.
33577 (TAIL_CALL_SYSCALL_ERROR): New macro.
33578 (PSEUDO_RET): Use it.
33579 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33580 Correct save location of integer regs and cr.
33581 (_dl_profile_resolve): Correct cr save location. Delete nops
33582 after bl when SHARED. Reduce cfi size a little by better
33583 placement of cfi directives.
33584 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33585 make a stack frame. Instead use parm save area as a temp.
33586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33587 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33589 Don't make a stack frame for parent, use parm save area.
33590 Increase child stack frame to 112 bytes. Don't save unused reg,
33591 and adjust reg usage. Set up cfi on error recovery and
33592 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33594 (__makecontext): Add dummy nop after jump to exit.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33596 Use correct parm save area and cr save, reduce stack frame.
33597 Correct cfi for possible PSEUDO_RET frame setup.
33598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33599 Branch to local label emitted by PSEUDO_RET rather than
33602 2010-08-12 Andreas Schwab <schwab@redhat.com>
33605 * locale/programs/locale.c (print_assignment): New function.
33606 (show_locale_vars): Use it.
33608 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33610 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33612 (struct statfs64): Likewise.
33613 (_STATFS_F_FLAGS): Define.
33614 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33615 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33616 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33617 (ST_VALID): Define locally.
33618 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33619 __statvfs_getflags, use the provided value.
33620 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33621 __ASSUME_STATFS_F_FLAGS.
33623 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33625 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33626 Add sys/fanotify.h.
33627 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33628 fanotify_mask for GLIBC_2.13.
33629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33630 fanotify_init and fanotify_mark.
33631 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33632 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33634 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33636 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33637 prlimit64 for GLIBC_2.13.
33638 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33643 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33644 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33648 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33651 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33652 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33654 * nss/Makefile: Add rules to build and run tst-nss-test1.
33655 * shlib-versions: Add entry for libnss_test1.
33656 * nss/nss_test1.c: New file.
33657 * nss/tst-nss-test1.c: New file.
33659 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33660 (__nss_configure_lookup): Set appropriate entry in
33661 __nss_configure_lookup to true.
33662 * nss/nsswitch.h: Define enum with indeces of databases in
33663 databases and __nss_database_custom arrays. Declare
33664 __nss_database_custom.
33665 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33666 to avoid using nscd when custom rules are installed.
33667 * nss/getXXbyYY_r.c: Likewise.
33668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33670 * nss/nss_files/files-parse.c: Whitespace fixes.
33672 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33675 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33676 * posix/fnmatch_loop.c: Likewise.
33678 2010-07-17 Andi Kleen <ak@linux.intel.com>
33680 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33681 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33682 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33683 * Versions.def [GLIBC_2.13]: Add.
33685 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33687 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33688 Also fail if tpwd after pwuid call is NULL.
33690 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33692 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33693 when converting to ms.
33695 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33697 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33698 EOPNOTSUPP errors with ENOTTY.
33699 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33700 EOPNOTSUPP errors with ENOTTY.
33702 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33704 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33705 Add strcasecmp_l-ssse3.
33706 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33708 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33709 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33710 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33712 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33714 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33716 * string/Makefile (strop-tests): Add strcasecmp.
33717 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33718 strcasecmp_l-nonascii.
33719 (gen-as-const-headers): Add locale-defines.sym.
33720 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33721 * sysdeps/x86_64/strcasecmp.S: New file.
33722 * sysdeps/x86_64/strcasecmp_l.S: New file.
33723 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33724 * sysdeps/x86_64/locale-defines.sym: New file.
33725 * string/test-strcasecmp.c: New file.
33727 * string/test-strcasestr.c: Test both ends of the range of characters.
33728 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33730 2010-07-29 Roland McGrath <roland@redhat.com>
33733 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33735 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33737 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33740 2010-07-27 Andreas Schwab <schwab@redhat.com>
33742 * manual/memory.texi (Malloc Tunable Parameters): Document
33745 2010-07-26 Roland McGrath <roland@redhat.com>
33748 * configure.in (-fgnu89-inline check): Set and substitute
33749 gnu89_inline, not libc_cv_gnu89_inline.
33750 * configure: Regenerated.
33751 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33753 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33755 * string/test-strnlen.c: New file.
33756 * string/Makefile (strop-tests): Add strnlen.
33757 * string/tester.c (test_strnlen): Add a few more test cases.
33758 * string/tst-strlen.c: Better error reporting.
33760 * sysdeps/x86_64/strnlen.S: New file.
33762 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33764 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33765 lower-latency instructions.
33767 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33769 * string/test-strcasestr.c: New file.
33770 * string/test-strstr.c: New file.
33771 * string/Makefile (strop-tests): Add strstr and strcasestr.
33772 * string/str-two-way.h: Don't undefine MAX.
33773 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33775 2010-07-21 Andreas Schwab <schwab@redhat.com>
33777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33778 strcasestr-nonascii.
33779 (CFLAGS-strcasestr-nonascii.c): Define.
33780 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33781 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33782 Remove unused attribute.
33784 2010-07-20 Roland McGrath <roland@redhat.com>
33786 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33787 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33788 ld.so.cache was broken. With it, there is no way to disable dsocaps
33789 like LD_HWCAP_MASK can disable hwcaps.
33791 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33793 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33795 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33797 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33798 call in strcasestr.
33799 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33800 __strcasestr_sse42_nonascii.
33801 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33802 strcasestr-nonascii.c.
33803 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33805 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33807 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33808 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33809 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33810 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33812 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33817 2010-07-06 Andreas Schwab <schwab@redhat.com>
33820 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33823 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33826 _PC_PIPE_BUF using F_GETPIPE_SZ.
33828 2010-07-05 Roland McGrath <roland@redhat.com>
33830 * manual/arith.texi (Rounding Functions): Fix rint description
33831 implicit in round description.
33833 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33835 * elf/Makefile: Fix linking for a few tests to make recent linker
33838 2010-06-30 Andreas Schwab <schwab@redhat.com>
33840 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33841 $(common-objpfx)libc_nonshared.a.
33843 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33845 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33846 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33847 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33848 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33849 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33850 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33851 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33852 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33867 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33868 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33869 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33870 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33871 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33872 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33873 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33874 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33875 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33876 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33877 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33878 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33894 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33896 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33897 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33898 * string/memmove.c (memmove): Renamed to ...
33899 (MEMMOVE): ...this. Default to memmove.
33900 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33901 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33904 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33905 mempcpy-ssse3-back memmove-ssse3-back.
33906 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33908 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33909 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33910 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33911 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33912 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33913 * sysdeps/x86_64/multiarch/memmove.c: New file.
33914 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33915 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33916 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33917 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33918 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33919 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33921 (index_Fast_Copy_Backward): Define.
33922 (HAS_ARCH_FEATURE): Define.
33923 (HAS_FAST_REP_STRING): Define.
33924 (HAS_FAST_COPY_BACKWARD): Define.
33926 2010-06-21 Andreas Schwab <schwab@redhat.com>
33928 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33929 Restore proper fallback handling.
33931 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33934 * posix/group_member.c (__group_member): Correct checking loop.
33936 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33937 OOM in getpwuid_r correctly. Return error number when the caller
33938 should return, otherwise -1.
33939 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33940 call returning > 0 value.
33941 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33943 2010-06-07 Andreas Schwab <schwab@redhat.com>
33945 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33946 libc_nonshared.a from targets in modules-names.
33948 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33950 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33953 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33955 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33956 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33957 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33960 2010-06-02 Andreas Schwab <schwab@redhat.com>
33962 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33964 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33966 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33973 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33975 2010-06-14 Roland McGrath <roland@redhat.com>
33977 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33979 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33981 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33982 __REDIRECT followed by __THROW.
33983 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33984 * posix/getopt.h (getopt): Likewise.
33986 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33988 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33989 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33990 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33992 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33993 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33995 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33999 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34003 Properly check family and model.
34005 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34007 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34009 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34011 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34013 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34015 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34018 2010-05-19 Andreas Schwab <schwab@redhat.com>
34020 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34023 2010-05-21 Andreas Schwab <schwab@redhat.com>
34025 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34026 and internal_recvmmsg.
34027 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34028 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34029 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34030 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34032 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34033 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34034 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34036 2010-05-20 Andreas Schwab <schwab@redhat.com>
34038 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34040 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34042 POWER7 optimizations.
34043 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34044 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34046 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34048 * version.h: Update for 2.13 development version.
34050 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34052 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34053 exceptions. Return 0.
34055 2010-05-07 Roland McGrath <roland@redhat.com>
34057 * elf/ldconfig.c (main): Add a const.
34059 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34061 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34062 (args_options): Add no-idn option.
34063 (ahosts_keys_int): Add idn_flags to ai_flags.
34064 (parse_option): Handle 'i' option to clear idn_flags.
34066 * malloc/malloc.c (_int_free): Possible race in the most recently
34067 added check. Only act on the data if no current modification
34070 See ChangeLog.17 for earlier changes.