1 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4 Use .p2align directive instead, throughout.
5 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11 * sysdeps/x86_64/strchr.S: Likewise.
12 * sysdeps/x86_64/strrchr.S: Likewise.
14 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20 * sysdeps/generic/math_private.h (__mpsin1): Remove
23 (__mpsin): New argument __range_reduce.
25 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26 (slow): Use __mpsin and __mpcos.
39 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40 range_reduce. Merge in __mpsin1.
45 2013-10-07 Joseph Myers <joseph@codesourcery.com>
47 * locale/loadlocale.c (_nl_intern_locale_data): Use
49 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
50 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52 obstack data is appropriately aligned.
53 (obstack_int32_grow_fast): Likewise.
54 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55 * locale/programs/locfile.c (add_locale_uint32): Likewise.
56 (add_locale_uint32_array): Likewise.
58 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
60 * benchtests/Makefile: Remove ARGLIST and RET variables.
61 ($(objpfx)bench-%.c): Pass only function name to the script.
62 * benchtests/README: Update documentation.
63 * benchtests/acos-inputs: Add new directives.
64 * benchtests/acosh-inputs: Likewise.
65 * benchtests/asin-inputs: Likewise.
66 * benchtests/asinh-inputs: Likewise.
67 * benchtests/atan-inputs: Likewise.
68 * benchtests/atanh-inputs: Likewise.
69 * benchtests/cos-inputs: Likewise.
70 * benchtests/cosh-inputs: Likewise.
71 * benchtests/exp-inputs: Likewise.
72 * benchtests/log-inputs: Likewise.
73 * benchtests/pow-inputs: Likewise.
74 * benchtests/rint-inputs: Likewise.
75 * benchtests/sin-inputs: Likewise.
76 * benchtests/sinh-inputs: Likewise.
77 * benchtests/tan-inputs: Likewise.
78 * benchtests/tanh-inputs: Likewise.
79 * scripts/bench.pl: Add support for new directives.
81 2013-10-07 Alan Modra <amodra@gmail.com>
83 * README: Fix careless merge.
85 2013-10-05 Alan Modra <amodra@gmail.com>
87 * NEWS: Mention powerpc64le support and bugs fixed.
88 * README: Both big-endian and little-endian powerpc64 supported.
90 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
92 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
93 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
94 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
95 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
97 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
99 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
102 2013-10-04 Joseph Myers <joseph@codesourcery.com>
104 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
105 Move -mhard-float appending from
106 ports/sysdeps/powerpc/powerpc32/Makefile.
107 [$(with-fp) = yes] (ASFLAGS): Likewise.
108 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
109 * sysdeps/powerpc/nofpu: Move directory from
110 ports/sysdeps/powerpc/nofpu.
111 * sysdeps/powerpc/soft-fp: Move directory from
112 ports/sysdeps/powerpc/soft-fp.
113 * sysdeps/powerpc/powerpc32/405: Move directory from
114 ports/sysdeps/powerpc/powerpc32/405.
115 * sysdeps/powerpc/powerpc32/440: Move directory from
116 ports/sysdeps/powerpc/powerpc32/440.
117 * sysdeps/powerpc/powerpc32/464: Move directory from
118 ports/sysdeps/powerpc/powerpc32/464.
119 * sysdeps/powerpc/powerpc32/476: Move directory from
120 ports/sysdeps/powerpc/powerpc32/476.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
122 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
124 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
126 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
128 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
130 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
131 * README: Update for powerpc-*-linux-gnu software floating point
134 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
135 case to powerpc/powerpc32*.
136 * sysdeps/unix/sysv/linux/configure: Regenerated.
138 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
139 (_FPU_MASK_OM): Define as 0x04.
140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
148 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
151 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
154 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
157 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
159 * locale/iso-3166.def: Update iso-1366.def and related occurrences
161 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
163 * manual/threads.texi (Default Thread Attributes): Fix typo.
165 2013-10-04 Will Newton <will.newton@linaro.org>
167 * malloc/Makefile: Add tst-memalign.
168 * malloc/tst-memalign.c: New file.
170 * malloc/tst-posix_memalign.c: Add comments.
171 (do_test): Add comments and call free on all potentially
172 allocated pointers. Add space after cast.
174 * malloc/tst-pvalloc.c: Add comments.
175 (do_test): Add comments and call free on all potentially
176 allocated pointers. Remove duplicate check for NULL pointer.
177 Add space after cast.
179 * malloc/tst-valloc.c: Add comments.
180 (do_test): Add comments and call free on all potentially
181 allocated pointers. Remove duplicate check for NULL pointer.
182 Add space after cast.
184 2013-10-04 Alan Modra <amodra@gmail.com>
186 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
187 Use stdint types in rather than __attribute__((mode())).
188 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
190 2013-10-04 Alan Modra <amodra@gmail.com>
192 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
193 Correct handling of unaligned relocs for little-endian.
194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
196 2013-10-04 Alan Modra <amodra@gmail.com>
198 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
199 * configure: Regenerate.
200 * nptl/shlib-versions: Powerpc*le starts at 2.18.
201 * shlib-versions: Likewise.
203 2013-10-04 Alan Modra <amodra@gmail.com>
205 * string/tester.c (test_memrchr): Increment reported test cycle.
207 2013-10-04 Alan Modra <amodra@gmail.com>
209 * string/test-memcpy.c (do_one_test): When reporting errors, print
210 string address and don't overrun end of string.
212 2013-10-04 Alan Modra <amodra@gmail.com>
214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
215 insrdi. Make better use of reg selection to speed exit slightly.
216 Schedule entry path a little better. Remove useless "are we done"
217 checks on entry to main loop. Handle wrapping around zero address.
218 Correct main loop count. Handle single left-over word from main
219 loop inline rather than by using loop_small. Remove extra word
220 case in loop_small caused by wrong loop count. Add little-endian
222 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
223 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
225 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
226 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
227 support. Avoid rlwimi.
228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
230 2013-10-04 Alan Modra <amodra@gmail.com>
232 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
234 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
235 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
236 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
237 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
238 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
239 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
241 2013-10-04 Alan Modra <amodra@gmail.com>
243 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
244 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
245 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
246 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
247 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
248 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
249 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
250 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
251 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
252 use of regs. Use power7 mtocrf. Tidy function tails.
254 2013-10-04 Alan Modra <amodra@gmail.com>
256 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
257 Formatting. Consistently use rXXX register defines or rN defines.
258 Use early exit labels that avoid restoring unused non-volatile regs.
259 Make cr field use more consistent with rWORDn compares. Rename
260 regs used as shift registers for unaligned loop, using rN defines
261 for short lifetime/multiple use regs.
262 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
263 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
264 addi 1,1,64 to pop stack frame. Simplify return value code.
265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
267 2013-10-04 Alan Modra <amodra@gmail.com>
269 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
270 support. Correct typos, formatting. Optimize tail. Use insrdi
272 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
273 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
274 little-endian support. Correct typos.
275 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
277 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
278 in loop and entry code to keep "and." results.
279 (strchr): Add little-endian support. Comment. Move cntlzd
281 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
283 2013-10-04 Alan Modra <amodra@gmail.com>
285 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
286 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
287 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
288 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
290 2013-10-04 Alan Modra <amodra@gmail.com>
292 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
293 (rTMP): Define as r11.
294 (strcmp): Add little-endian support. Optimise tail.
295 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
296 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
297 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
298 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
299 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
301 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
303 2013-10-04 Alan Modra <amodra@gmail.com>
305 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
306 little-endian support. Remove unnecessary "are we done" tests.
307 Handle "s" wrapping around zero and extremely large "size".
308 Correct main loop count. Handle single left-over word from main
309 loop inline rather than by using small_loop. Correct comments.
310 Delete "zero" tail, use "end_max" instead.
311 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
313 2013-10-04 Alan Modra <amodra@gmail.com>
315 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
316 support. Don't branch over align.
317 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
318 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
319 support. Rearrange tmp reg use to suit. Comment.
320 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
322 2013-10-04 Alan Modra <amodra@gmail.com>
324 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
326 2013-10-04 Alan Modra <amodra@gmail.com>
328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
329 conditional form of branch and link when obtaining pc.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
332 2013-10-04 Alan Modra <amodra@gmail.com>
334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
339 2013-10-04 Alan Modra <amodra@gmail.com>
341 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
342 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
343 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
344 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
345 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
346 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
347 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
348 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
349 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
350 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
352 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
353 Alistair Popple <alistair@ozlabs.au.ibm.com>
354 Alan Modra <amodra@gmail.com>
357 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
359 _dl_hwcap access for little-endian.
360 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
361 destroy vmx regs when saving unaligned.
362 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
363 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
364 destroy vmx regs when saving unaligned.
366 2013-10-04 Alan Modra <amodra@gmail.com>
368 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
369 Don't use a union to pack hi/low value.
371 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
373 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
375 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
377 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
378 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
379 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
381 2013-10-04 Alan Modra <amodra@gmail.com>
383 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
384 constants to usual value for .cst8 section, and remove redundant
386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
387 constant for 0x1p52. Load little-endian words of double from
388 correct stack offsets.
390 2013-10-04 Alan Modra <amodra@gmail.com>
392 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
393 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
394 words of double from correct stack offsets.
395 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
396 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
397 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
399 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
400 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
401 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
402 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
403 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
404 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
405 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
407 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
408 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
409 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
410 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
411 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
413 2013-10-04 Alan Modra <amodra@gmail.com>
415 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
416 64-bit int/double union.
417 (_FPU_SETCW): Likewise.
418 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
419 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
421 2013-10-04 Alan Modra <amodra@gmail.com>
423 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
424 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
426 2013-10-04 Alan Modra <amodra@gmail.com>
428 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
429 use vector int constants.
430 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
432 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
434 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
435 array with long long.
436 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
437 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
438 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
439 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
440 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
441 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
442 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
443 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
444 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
445 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
446 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
447 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
448 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
450 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
452 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
453 (__signbit): Likewise. Correct for little-endian.
454 (__signbitl): Call __signbit.
455 (lrint): Correct for little-endian.
456 (lrintf): Call lrint.
458 2013-10-04 Alan Modra <amodra@gmail.com>
460 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
461 union 32-bit int array member with 64-bit int array.
462 (t515, tm256): Double rather than long double.
463 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
465 2013-10-04 Alan Modra <amodra@gmail.com>
467 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
469 (IEEE854_LONG_DOUBLE_BIAS): Delete.
470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
471 version of math_ldbl.h.
473 2013-10-04 Alan Modra <amodra@gmail.com>
475 [BZ #15734], [BZ #15735]
476 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
477 all uses of ieee875 long double macros and unions. Simplify test
478 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
479 ldbl_extract_mantissa value for ix,iy exponents. Properly
480 normalize after ldbl_extract_mantissa, and don't add hidden bit
481 already handled. Don't treat low word of ieee854 mantissa like
482 low word of IBM long double and mask off bit when testing for
484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
485 all uses of ieee875 long double macros and unions. Simplify tests
486 for 0.0L and inf. Correct double adjustment of k. Delete dead code
487 adjusting ha,hb. Simplify code setting kld. Delete two600 and
488 two1022, instead use their values. Recognise that tests for large
489 "a" and small "b" are mutually exclusive. Rename vars. Comment.
490 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
491 Rewrite all uses of ieee875 long double macros and unions. Simplify
492 test for 0.0L and nan. Correct negation.
493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
494 ieee875 long double macros and unions. Correct output for large
495 magnitude x. Correct absolute value calculation.
497 * math/libm-test.inc: Add tests for errors discovered in IBM long
498 double versions of fmodl, remainderl, erfl and erfcl.
500 2013-10-04 Alan Modra <amodra@gmail.com>
502 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
503 all uses of ieee854 long double macros and unions. Simplify tests
504 for long doubles that are fully specified by the high double.
505 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
507 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
508 Remove dead code too.
509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
510 (__ieee754_ynl): Likewise.
511 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
512 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
514 Remove dead code too.
515 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
516 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
517 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
518 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
520 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
522 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
523 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
524 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
525 Comment on variable precision.
526 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
527 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
529 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
532 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
533 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
535 2013-10-04 Alan Modra <amodra@gmail.com>
537 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
539 all uses of ieee854 long double macros and unions.
540 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
541 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
544 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
545 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
547 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
548 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
549 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
551 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
552 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
553 Simplify sign and nan test too.
554 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
556 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
557 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
559 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
560 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
563 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
564 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
565 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
566 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
569 2013-10-04 Alan Modra <amodra@gmail.com>
571 * stdio-common/printf_size.c (__printf_size): Don't use
572 union ieee854_long_double in fpnum union.
573 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
574 signbit macro to retrieve sign from long double.
575 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
576 retrieve sign from long double.
577 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
578 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
579 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
580 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
581 * math/test-misc.c (main): Don't use union ieee854_long_double.
583 2013-10-04 Alan Modra <amodra@gmail.com>
586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
587 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
588 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
589 calculation. Remove unnecessary test for denormal exponent.
590 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
591 Correct handling of denormals. Avoid undefined shift behaviour.
592 Correct normalisation of low mantissa when low double is denormal.
593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
594 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
595 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
596 Correct normalisation of low mantissa. Test for overflow of high
597 mantissa and normalise.
598 (ldbl_nearbyint): Use more readable constant for two52.
599 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
600 (__mpn_construct_long_double): Fix test for overflow of high
601 mantissa and correct normalisation. Avoid undefined shift.
603 2013-10-04 Alan Modra <amodra@gmail.com>
605 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
606 (union ibm_extended_long_double): Define as an array of ieee754_double.
607 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
608 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
609 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
611 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
614 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
615 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
619 2013-10-03 Joseph Myers <joseph@codesourcery.com>
621 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
622 page size instead of calling getpagesize.
624 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
625 (LOCFILE_ALIGN_MASK): Likewise.
626 (LOCFILE_ALIGN_UP): Likewise.
627 (LOCFILE_ALIGNED_P): Likewise.
628 * locale/programs/ld-collate.c (collate_output): Use the new
629 macros instead of __alignof__ (int32_t).
630 * locale/weight.h (findidx): Likewise.
632 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
635 * manual/string.texi: Fix strncat and wcsncat.
637 2013-10-03 Brooks Moses <bmoses@google.com>
640 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
641 * Makerules: ...here, and adjust associated comments.
643 2013-10-02 Will Newton <will.newton@linaro.org>
645 * malloc/Makefile: Add tst-pvalloc.
646 * malloc/tst-pvalloc.c: New file.
648 2013-10-02 Will Newton <will.newton@linaro.org>
650 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
651 improve test coverage.
653 2013-10-02 Will Newton <will.newton@linaro.org>
655 * malloc/Makefile: Add tst-posix_memalign.
656 * malloc/tst-posix_memalign.c: New file.
658 2013-10-01 Eric Blake <eblake@redhat.com>
660 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
661 Use __THROWNL rather than __THROW on static functions.
663 2013-09-30 Petr Machata <pmachata@redhat.com>
665 * elf/elf.h (R_AARCH64_ABS16): New macro.
666 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
667 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
668 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
669 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
670 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
671 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
672 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
673 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
674 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
675 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
676 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
677 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
678 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
679 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
680 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
681 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
682 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
683 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
684 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
685 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
686 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
687 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
688 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
689 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
690 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
691 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
692 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
693 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
694 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
695 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
696 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
697 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
698 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
699 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
700 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
701 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
702 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
703 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
704 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
705 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
706 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
707 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
708 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
709 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
710 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
711 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
712 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
713 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
714 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
715 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
716 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
717 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
718 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
719 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
720 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
721 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
722 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
723 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
724 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
725 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
726 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
727 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
728 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
729 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
730 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
731 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
732 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
733 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
734 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
735 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
736 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
737 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
738 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
739 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
740 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
741 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
742 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
743 (R_AARCH64_TLSDESC_LDR): Likewise.
744 (R_AARCH64_TLSDESC_ADD): Likewise.
745 (R_AARCH64_TLSDESC_CALL): Likewise.
747 2013-09-30 Andreas Schwab <schwab@suse.de>
750 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
751 the nss database lookup.
752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
755 2013-09-28 Mike Frysinger <vapier@gentoo.org>
757 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
759 2013-09-28 P. J. McDermott <pj@pehjota.net>
761 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
762 ${Bash-specific parameter/pattern/string} parameter expansion.
763 * sysdeps/unix/make-syscalls.sh: Likewise.
765 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
767 * sysdeps/sh/stackguard-macros.h: New file.
769 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
773 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
774 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
776 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
778 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
781 Fix thread ID register.
783 2013-09-25 Joseph Myers <joseph@codesourcery.com>
785 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
786 [POSIX || UNIX98]: Require rather than permitting all symbols from
788 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
789 element of struct sched_param.
790 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
791 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
792 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
793 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
796 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
798 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
799 argument calculation.
801 2013-09-24 Joseph Myers <joseph@codesourcery.com>
803 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
805 [POSIX] (pthread_attr_t): Do not require type.
806 [POSIX] (pthread_cond_t): Likewise.
807 [POSIX] (pthread_condattr_t): Likewise.
808 [POSIX] (pthread_key_t): Likewise.
809 [POSIX] (pthread_mutex_t): Likewise.
810 [POSIX] (pthread_mutexattr_t): Likewise.
811 [POSIX] (pthread_once_t): Likewise.
812 [POSIX] (pthread_t): Likewise.
813 [POSIX-based standards] (pthread_atfork): Expect function.
815 2013-09-24 Joseph Myers <joseph@codesourcery.com>
816 Richard Sandiford <richard@codesourcery.com>
818 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
819 (swap_endianness_p): New extern variable.
820 (set_big_endian): New inline function.
821 (maybe_swap_uint32): Likewise.
822 (maybe_swap_uint32_array): Likewise.
823 (maybe_swap_uint32_obstack): Likewise.
824 * locale/programs/locfile.c: Include <stdbool.h>.
825 (swap_endianness_p): New variable.
826 (add_locale_uint32): Call maybe_swap_uint32.
827 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
828 (write_locale_data): Call maybe_swap_uint32_array.
829 * locale/programs/ld-collate.c (obstack_int32_grow): Call
831 (obstack_int32_grow_fast): Likewise.
832 (output_weightwc): Call maybe_swap_uint32_obstack.
833 (collate_output): Likewise.
834 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
835 (OPT_LITTLE_ENDIAN): Likewise.
836 (options): Add --little-endian and --big-endian options.
837 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
838 * locale/programs/locarchive.c: Include "locfile.h".
842 (create_archive): Use the new macros to access fields of
843 structures directly mapped from or written to locale archives.
844 (oldlocrecentcmp): Likewise.
845 (enlarge_archive): Likewise.
846 (insert_name): Likewise.
847 (add_alias): Likewise.
848 (add_locale): Likewise.
849 (delete_locales_from_archive): Likewise.
850 (show_archive_content): Likewise.
851 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
854 2013-09-24 Roland McGrath <roland@hack.frob.com>
856 * manual/freemanuals.texi: Updated from (newly) canonical copy at
857 http://www.gnu.org/doc/freemanuals.texi.
858 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
860 2013-09-24 Will Newton <will.newton@linaro.org>
862 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
865 2013-09-23 Joseph Myers <joseph@codesourcery.com>
867 * locale/hashval.h (compute_hashval): Interpret bytes of key as
870 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
872 * manual/threads.texi (POSIX Threads): Fix a typo.
874 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
877 * string/tst-strcoll-overflow.c: New test case.
878 * string/Makefile (xtests): Add tst-strcoll-overflow.
879 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
880 cache if string sizes may cause integer overflow.
883 * string/strcoll_l.c (coll_seq): New members rule, idx,
884 save_idx and back_us.
885 (get_next_seq_nocache): New function.
886 (do_compare_nocache): New function.
887 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
890 2013-09-23 Carlos O'Donell <carlos@redhat.com>
893 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
894 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
895 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
898 * elf/Makefile (tests): Add tst-ptrguard1.
899 (tests-static): Add tst-ptrguard1-static.
900 (tst-ptrguard1-ARGS): Define.
901 (tst-ptrguard1-static-ARGS): Define.
902 * elf/tst-ptrguard1.c: New file.
903 * elf/tst-ptrguard1-static.c: New file.
904 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
905 * sysdeps/i386/stackguard-macros.h: Likewise.
906 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
907 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
908 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
909 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
910 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
911 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
913 2013-09-23 Hector Marco <hecmargi@upv.es>
914 Ismael Ripoll <iripoll@disca.upv.es>
915 Carlos O'Donell <carlos@redhat.com>
918 * sysdeps/generic/stackguard-macros.h: Define
919 __pointer_chk_guard_local and POINTER_CHK_GUARD.
920 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
921 Define __pointer_chk_guard_local.
922 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
923 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
925 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
928 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
930 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
932 * include/string.h (__ffs): Declare as hidden.
933 * string/ffs.c (__ffs): Define as hidden.
934 * sysdeps/i386/ffs.c (__ffs): Likewise.
935 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
936 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
937 * sysdeps/s390/ffs.c (__ffs): Likewise.
938 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
940 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
942 * NEWS: Mention malloc probes.
944 * malloc/arena.c (new_heap): New memory_heap_new probe.
945 (grow_heap): New memory_heap_more probe.
946 (shrink_heap): New memory_heap_less probe.
947 (heap_trim): New memory_heap_free probe.
948 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
949 (systrim): New memory_sbrk_less probe.
950 * manual/probes.texi: Document them.
952 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
953 * manual/probes.texi: Document it.
955 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
956 (__libc_realloc): Add memory_realloc_retry probe.
957 (__libc_memalign): Add memory_memalign_retry probe.
958 (__libc_valloc): Add memory_valloc_retry probe.
959 (__libc_pvalloc): Add memory_pvalloc_retry probe.
960 (__libc_calloc): Add memory_calloc_retry probe.
961 * manual/probes.texi: Document them.
963 * malloc/arena.c (get_free_list): Add probe
964 memory_arena_reuse_free_list.
965 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
966 and memory_arena_reuse.
967 (arena_get2) [!PER_THREAD]: Likewise.
968 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
969 memory_arena_reuse_realloc.
970 * manual/probes.texi: Document them.
972 * malloc/malloc.c (__libc_free): Add
973 memory_mallopt_free_dyn_thresholds probe.
974 (__libc_mallopt): Add multiple memory_mallopt probes.
975 * manual/probes.texi: Document them.
977 * malloc/malloc.c: Include stap-probe.h.
978 (__libc_mallopt): Add memory_mallopt probe.
979 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
980 * manual/probes.texi: New.
981 * manual/Makefile (chapters): Add probes.
982 * manual/threads.texi: Set next node.
984 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
987 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
988 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
989 Add `Chinese' to `nan' entry name.
991 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
993 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
994 (POLYNOMIAL): Likewise.
995 (TAYLOR_SINCOS): Likewise.
996 (TAYLOR_SLOW): Likewise.
997 (__sin): Use TAYLOR_SINCOS.
999 (slow): Use TAYLOR_SLOW.
1004 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1006 * stdlib/strtod_l.c: Fix buffer overrun.
1008 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1010 * benchtests/Makefile (bench): Add sincos.
1011 * benchtests/bench-sincos.c: New file.
1013 * math/libm-test.inc (cos_test_data): New test inputs.
1014 (sin_test_data): Likewise.
1016 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1024 (bsloww1): Likewise.
1025 (bsloww2): Likewise.
1027 (csloww1): Likewise.
1028 (csloww2): Likewise.
1030 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1035 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1039 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1041 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1042 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1043 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1044 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1045 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1046 * elf/cache.c (print_entry): Handle the new cache flags.
1048 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1049 Aldy Hernandez <aldyh@redhat.com>
1051 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1052 Change condition to [_SOFT_FLOAT].
1053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1065 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1068 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1071 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1073 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1074 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1075 (__longjmp): Use LOAD_GP to load saved GPRs.
1076 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1077 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1078 (__sigsetjmp): Use SAVE_GP to save GPRs.
1080 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1081 Do not append -msoft-float.
1082 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1084 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1086 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1088 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1091 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1092 (_FPU_GETCW): Use initial "__" on variable and field names but not
1093 on macro parameter name.
1094 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1095 parentheses around reference to macro parameter.
1097 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1099 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1101 (ctype_startup): Use uint32_t in cast and sizeof for
1104 2013-09-11 Jia Liu <proljc@gmail.com>
1106 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1108 [__FreeBSD__]: Likewise.
1110 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1113 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1114 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1115 (strchr): Remove __strchr_sse42 ifunc selection.
1116 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1117 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1119 2013-09-11 Will Newton <will.newton@linaro.org>
1121 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1122 parameter to RES. Remove hardcoded 1000 value.
1123 * benchtests/bench-skeleton.c (main): Pass RES parameter
1124 to TIMING_INIT and multiply result by 1000.
1126 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1130 2013-09-11 Andreas Schwab <schwab@suse.de>
1132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1134 (O_TMPFILE) [__USE_GNU]: Define.
1135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1138 2013-09-11 Will Newton <will.newton@linaro.org>
1141 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1144 2013-09-11 Will Newton <will.newton@linaro.org>
1147 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1150 2013-09-11 Will Newton <will.newton@linaro.org>
1153 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1156 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1158 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1159 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1164 2013-09-10 Allan McRae <allan@archlinux.org>
1167 * manual/arith.texi (Parsing of Floats): Clarify
1171 * manual/install.texi (Running make install): Mention
1173 * INSTALL: Regenerated.
1175 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1177 * csu/init-first.c (_init): Remove the !SHARED condition around
1178 FPU control word initialization.
1179 * elf/dl-support.c (_dl_fpu_control): New variable.
1180 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1181 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1182 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1183 * math/test-fpucw-static.c: New file.
1184 * math/test-fpucw-ieee.c: New file.
1185 * math/test-fpucw-ieee-static.c: New file.
1186 * math/Makefile (tests): Add `test-fpucw-ieee' and
1188 (tests-static): New variable.
1189 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1191 [($(build-shared),yes)]
1192 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1194 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1197 2013-09-09 Allan McRae <allan@archlinux.org>
1200 * manual/string.texi (Collation Functions): Fix typo in
1202 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1205 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1208 * libio/memstream.c (open_memstream): Fix memory leak.
1209 * libio/wmemstream.c (open_wmemstream): Likewise.
1212 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1214 2013-09-09 Will Newton <will.newton@linaro.org>
1216 * malloc/Makefile: Add tst-realloc to tests.
1217 * malloc/tst-realloc.c: New file.
1219 2013-09-09 Allan McRae <allan@archlinux.org>
1222 * COPYING: Update from GNU website to fix FSF address.
1223 * COPYING.LIB: Likewise.
1225 2013-09-06 David S. Miller <davem@davemloft.net>
1227 * po/zh_TW.po: Update Chinese (traditional) translation from
1228 translation project.
1230 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1231 Joseph Myers <joseph@codesourcery.com>
1233 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1235 (obstack_chunk_alloc): New macro.
1236 (obstack_chunk_free): Likewise.
1237 (record_offset): New function.
1238 (init_locale_data): Likewise.
1239 (align_locale_data): Likewise.
1240 (add_locale_empty): Likewise.
1241 (add_locale_raw_data): Likewise.
1242 (add_locale_raw_obstack): Likewise.
1243 (add_locale_string): Likewise.
1244 (add_locale_wstring): Likewise.
1245 (add_locale_uint32): Likewise.
1246 (add_locale_uint32_array): Likewise.
1247 (add_locale_char): Likewise.
1248 (start_locale_structure): Likewise.
1249 (end_locale_structure): Likewise.
1250 (start_locale_prelude): Likewise.
1251 (end_locale_prelude): Likewise.
1252 (write_locale_data): Take locale_file structure rather than an
1254 * locale/programs/locfile.h: Include "obstack.h".
1255 (struct locale_file): Change to store locale file contents instead
1257 (init_locale_data): New prototype.
1258 (align_locale_data): Likewise.
1259 (add_locale_empty): Likewise.
1260 (add_locale_raw_data): Likewise.
1261 (add_locale_raw_obstack): Likewise.
1262 (add_locale_string): Likewise.
1263 (add_locale_wstring): Likewise.
1264 (add_locale_uint32): Likewise.
1265 (add_locale_uint32_array): Likewise.
1266 (add_locale_char): Likewise.
1267 (start_locale_structure): Likewise.
1268 (end_locale_structure): Likewise.
1269 (start_locale_prelude): Likewise.
1270 (end_locale_prelude): Likewise.
1271 (write_locale_data): Update prototype.
1272 * locale/programs/3level.h (struct TABLE): Remove result field.
1273 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1274 Use new locale_file interface.
1275 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1276 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1277 * locale/programs/ld-address.c (address_output): Use new
1278 locale_file interface.
1279 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1281 (collate_finish): Don't call collseq_table_finalize.
1282 (collate_output): Use new locale_file interface.
1283 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1285 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1286 (TABLE): Move defines earlier in file.
1287 (ELEMENT): Likewise.
1288 (DEFAULT): Likewise.
1289 (wctrans_table_add): Move macro and inline function earlier in
1291 (struct wctype_table): Move type earlier in file.
1292 (add_locale_wctype_table): New static prototype.
1293 (struct locale_ctype_t): Use logical types instead of struct iovec
1294 pointers for members.
1295 (ctype_output): Use new locale_file interface.
1296 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1297 new locale_file interface.
1298 (allocate_arrays): Update for use of new locale_file interface.
1299 * locale/programs/ld-identification.c (identification_output): Use
1300 new locale_file interface.
1301 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1302 * locale/programs/ld-messages.c (messages_output): Likewise.
1303 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1304 * locale/programs/ld-name.c (name_output): Likewise.
1305 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1306 * locale/programs/ld-paper.c (paper_output): Likewise.
1307 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1308 * locale/programs/ld-time.c (time_output): Likewise.
1310 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1312 * benchtests/Makefile: Add memrchr benchmark.
1313 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1314 benchmark as memrchr.
1315 * benchtests/bench-memrchr-ifunc.c: New file.
1316 * benchtests/bench-memrchr.c: New file.
1318 2013-09-06 Will Newton <will.newton@linaro.org>
1320 * benchtests/Makefile (string-bench): Add memcpy.
1322 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1323 Cong Wang <amwang@redhat.com>
1325 * sysdeps/unix/sysv/linux/bits/in.h
1326 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1327 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1328 before __USE_KERNEL_IPV6_DEFS uses.
1329 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1331 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1332 sockaddr_in6, or ipv6_mreq.
1334 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1336 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1337 memory access for final bytes in some large inputs.
1338 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1340 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342 * string/test-memrchr.c: New file.
1343 * string/test-memrchr-ifunc.c: New file.
1344 * string/Makefile: Add new memrchr testcase.
1346 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1348 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1349 fanotify_init returns EPERM.
1351 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1353 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1355 (top level): Treat second token from macro or constant entries for
1356 allowed headers as allowed.
1357 * include/complex.h: Condition internal declarations on
1359 * include/fenv.h: Condition include of <stdbool.h> and internal
1360 declarations on [!_ISOMAC].
1362 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1365 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1367 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1369 * configure.in (--enable-versioning): Remove configure option.
1370 (libc_cv_asm_symver_directive): Remove configure test.
1371 (libc_cv_ld_version_script_option): Likewise.
1372 (VERSIONING): Remove variable and AC_SUBST.
1373 (DO_VERSIONING): Remove AC_DEFINE.
1374 * configure: Regenerated.
1375 * config.h.in (DO_VERSIONING): Remove macro.
1376 * Makerules [$(versioning) = yes]: Change conditionals to
1377 [$(build-shared) = yes].
1378 * config.make.in (versioning): Remove variable.
1379 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1380 [$(build-shared) = yes].
1381 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1382 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1383 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1384 [$(build-shared) = yes].
1385 * extra-lib.mk [$(versioning) = yes]: Likewise.
1386 * hurd/Makefile [$(versioning) = yes]: Likewise.
1387 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1389 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1391 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1392 [SHARED && !NO_HIDDEN].
1393 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1395 [SHARED && DO_VERSIONING]: Likewise..
1396 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1397 [$(build-shared) = yes].
1398 * manual/install.texi (--disable-versioning): Remove
1400 * INSTALL: Regenerated.
1401 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1403 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1404 [$(build-shared) = yes].
1405 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1406 * sysdeps/i386/i686/multiarch/strstr-c.c
1407 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1408 [SHARED && !NO_HIDDEN].
1409 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1410 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1411 * sysdeps/powerpc/powerpc32/dl-machine.c
1412 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1413 * sysdeps/powerpc/powerpc32/sysdep.h
1414 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1415 to [SHARED && PIC && !NO_HIDDEN].
1416 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1417 conditional to [SHARED].
1419 2013-09-04 Will Newton <will.newton@linaro.org>
1421 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1422 * benchtests/bench-string.h: Include bench-timing.h instead
1423 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1424 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1425 call to HP_TIMING_DIFF_INIT.
1426 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1427 instead of hp-timing.h macros.
1428 * benchtests/bench-memchr.c: Likewise.
1429 * benchtests/bench-memcmp.c: Likewise.
1430 * benchtests/bench-memcpy.c: Likewise.
1431 * benchtests/bench-memmem.c: Likewise.
1432 * benchtests/bench-memmove.c: Likewise.
1433 * benchtests/bench-memset.c: Likewise.
1434 * benchtests/bench-rawmemchr.c: Likewise.
1435 * benchtests/bench-strcasecmp.c: Likewise.
1436 * benchtests/bench-strcasestr.c: Likewise.
1437 * benchtests/bench-strcat.c: Likewise.
1438 * benchtests/bench-strchr.c: Likewise.
1439 * benchtests/bench-strcmp.c: Likewise.
1440 * benchtests/bench-strcpy.c: Likewise.
1441 * benchtests/bench-strcpy_chk.c: Likewise.
1442 * benchtests/bench-strlen.c: Likewise.
1443 * benchtests/bench-strncasecmp.c: Likewise.
1444 * benchtests/bench-strncat.c: Likewise.
1445 * benchtests/bench-strncmp.c: Likewise.
1446 * benchtests/bench-strncpy.c: Likewise.
1447 * benchtests/bench-strnlen.c: Likewise.
1448 * benchtests/bench-strpbrk.c: Likewise.
1449 * benchtests/bench-strrchr.c: Likewise.
1450 * benchtests/bench-strspn.c: Likewise.
1451 * benchtests/bench-strstr.c: Likewise.
1453 2013-09-04 Will Newton <will.newton@linaro.org>
1455 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1457 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1460 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1461 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1462 * math/libm-test.inc (lgamma_test_data): Add more tests.
1463 * sysdeps/i386/fpu/libm-test-ulps: Update.
1464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1466 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1468 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1472 Add strcmp-sse2-unaligned
1473 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1475 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1477 * Versions.def (libc): Add GLIBC_2.19.
1479 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1481 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1482 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1484 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1487 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1488 intermediate calculations in recurrence.
1489 (__ieee754_ynf): Likewise.
1490 * math/libm-test.inc (jn_test_data): Do not allow spurious
1491 underflow exception. Add more tests.
1492 (yn_test_data): Add more tests.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1496 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1500 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1502 * csu/init-first.c: Fix then/than typos.
1503 * locale/programs/ld-collate.c: Likewise.
1504 * locale/programs/linereader.h: Likewise.
1505 * manual/charset.texi: Likewise.
1506 * manual/filesys.texi: Likewise.
1507 * manual/stdio.texi: Likewise.
1508 * manual/string.texi: Likewise.
1509 * stdlib/fmtmsg.c: Likewise.
1510 * sysdeps/i386/stpncpy.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1513 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1514 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1516 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1518 * elf/dl-open.c: Fix typos.
1519 * iconvdata/gbbig5.c: Likewise.
1520 * iconvdata/iso-2022-jp.c: Likewise.
1521 * iconv/gconv_int.h: Likewise.
1522 * iconv/loop.c: Likewise.
1523 * nis/rpcsvc/nis.h: Likewise.
1524 * resolv/ns_name.c: Likewise.
1525 * stdio-common/vfscanf.c: Likewise.
1526 * streams/stropts.h: Likewise.
1527 * sunrpc/rpc_thread.c: Likewise.
1528 * sysdeps/i386/strpbrk.S: Likewise.
1529 * sysdeps/ieee754/k_standard.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1532 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1533 * sysdeps/mach/hurd/profil.c: Likewise.
1534 * sysdeps/s390/dl-procinfo.h: Likewise.
1535 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1536 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1538 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1539 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1541 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1543 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1544 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1546 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1548 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1550 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1551 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1553 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1554 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1555 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1556 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1557 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1559 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1560 Roland McGrath <roland@hack.frob.com>
1562 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1563 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1565 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1567 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1568 __executable_start symbol instead of _start.
1570 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1572 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1573 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1575 * sysdeps/gnu/ldsodefs.h: ... this new file.
1577 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1578 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1579 instead of ELFOSABI_LINUX.
1581 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1582 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1583 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1584 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1586 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1587 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1590 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1591 (ibm_extended_long_double): Add ieee_nan member.
1592 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1593 (do_test): New function.
1595 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1597 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1598 functions, renamed from truncdfsf_test, trunctfsf_test,
1600 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1602 (do_test): Run all these.
1604 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1606 * argp/argp-help.c: Fix typos.
1607 * argp/argp-parse.c: Likewise.
1608 * debug/backtracesyms.c: Likewise.
1609 * elf/elf.h: Likewise.
1610 * malloc/malloc.c: Likewise.
1611 * nis/nis_print.c: Likewise.
1612 * resolv/res_comp.c: Likewise.
1613 * stdlib/stdlib.h: Likewise.
1614 * sunrpc/clnt_tcp.c: Likewise.
1615 * sunrpc/clnt_udp.c: Likewise.
1616 * sunrpc/clnt_unix.c: Likewise.
1617 * sysdeps/unix/bsd/ptsname.c: Likewise.
1618 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1619 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1626 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1628 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1630 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1633 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1636 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1637 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1638 ($(objpfx)bug-dl-leaf): New rule.
1639 ($(objpfx)bug-dl-leaf.so): Likewise.
1640 ($(objpfx)bug-dl-leaf.out): Likewise.
1641 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1642 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1643 * dlfcn/bug-dl-leaf.c: New test.
1644 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1645 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1646 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1647 (dlclose): Likewise.
1648 (dlmopen): Likewise.
1650 2013-08-27 Roland McGrath <roland@hack.frob.com>
1652 * include/netdb.h [!_ISOMAC]:
1653 Don't include <tls.h>.
1654 (h_errno, __libc_h_errno): Move declaration and macros out of
1657 * include/resolv.h [_RESOLV_H_]:
1658 Don't include <tls.h>.
1659 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1660 * resolv/res_libc.c: Don't include <tls.h>.
1661 (_res): Use __attribute__ ((nocommon)) in place of
1662 __attribute__ ((section (".bss"))).
1664 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1665 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1667 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1669 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1670 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1672 * resolv/res_mkquery.c: Include <sys/time.h>.
1674 * inet/ifreq.c: Moved to ...
1675 * sysdeps/unix/ifreq.c: ... here.
1676 * inet/ifreq.c: New file, true stub version.
1678 * socket/sa_len.c: New file.
1679 * socket/Makefile (aux): Add it.
1680 * sysdeps/unix/sysv/linux/Makefile
1681 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1682 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1683 and #include <socket/sa_len.c>.
1684 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1685 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1687 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1688 * bits/socket.h: ... here.
1690 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1691 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1692 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1694 2013-08-27 Andreas Schwab <schwab@suse.de>
1697 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1698 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1699 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1700 * string/test-strcasecmp.c (test_main): Run tests in several
1702 * string/test-strncasecmp.c (test_main): Likewise.
1704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1705 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1706 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1707 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1708 (__strncasecmp_ssse3) [PIC]: Likewise.
1710 2013-08-26 Roland McGrath <roland@hack.frob.com>
1712 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1714 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1715 instead of explicitly declaring xdecrypt.
1716 * nis/nss_nis/nis-publickey.c: Likewise.
1718 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1721 * nscd/aicache.c: Include res_hconf.h.
1722 (addhstaiX): Initialize res_hconf.
1724 2013-08-26 Andreas Schwab <schwab@suse.de>
1726 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1727 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1729 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1731 * nscd/aicache.c (addhstaiX): Fix indentation.
1733 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1735 * configure.ac: Quote $build_pt_chown test.
1736 * configure: Regenerated.
1738 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1741 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1742 * math/s_cexpf.c (__cexpf): Likewise.
1743 * math/s_cexpl.c (__cexpl): Likewise.
1744 * math/libm-test.inc (cexp_test_data): Correct expected return
1745 value for NaN + i0. Add another test.
1747 2013-08-22 David S. Miller <davem@davemloft.net>
1749 * po/ca.po: Update Catalan translation from translation project.
1750 * po/uk.po: Add Ukrainian translations from translation project.
1752 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1755 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1756 is infinite, not alongside NaN test.
1757 * math/s_fdimf.c (__fdimf): Likewise.
1758 * math/s_fdiml.c (__fdiml): Likewise.
1759 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1762 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1764 * argp/argp-help.c: Fix typos.
1765 * crypt/speeds.c: Likewise.
1766 * csu/check_fds.c: Likewise.
1767 * elf/dl-load.c: Likewise.
1768 * elf/dl-open.c: Likewise.
1769 * elf/reldep3.c: Likewise.
1770 * elf/reldep.c: Likewise.
1771 * elf/sprof.c: Likewise.
1772 * iconv/iconv_charmap.c: Likewise.
1773 * iconv/skeleton.c: Likewise.
1774 * iconv/strtab.c: Likewise.
1775 * io/lockf64.c: Likewise.
1776 * libio/libioP.h: Likewise.
1777 * resolv/gai_notify.c: Likewise.
1778 * resolv/ns_name.c: Likewise.
1779 * resolv/ns_samedomain.c: Likewise.
1780 * resolv/res_send.c: Likewise.
1781 * stdlib/random.c: Likewise.
1782 * sunrpc/rpc/xdr.h: Likewise.
1783 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1784 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1785 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1786 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1787 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1790 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1791 * sysdeps/mach/hurd/check_fds.c: Likewise.
1792 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1793 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1796 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1797 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1798 * sysdeps/pthread/aio_notify.c: Likewise.
1799 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1800 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1801 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1802 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1803 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1805 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1807 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1808 version if bit_Slow_SSE4_2 is set.
1809 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1810 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1812 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1815 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1816 trampoline stack frame information.
1817 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1818 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1819 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1820 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1821 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1822 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1823 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1824 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1826 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1827 interrupting a syscall and set with option SA_SIGINFO.
1829 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1832 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1833 argument is infinite.
1834 * math/s_cprojf.c (__cprojf): Likewise.
1835 * math/s_cprojl.c (__cprojl): Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1837 * math/libm-test.inc (cproj_test_data): Add more tests.
1839 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1841 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1842 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1843 size. Use __ffs to determine corresponding shift.
1845 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1846 Roland McGrath <roland@hack.frob.com>
1848 * Makefile (INSTALL): Remove trailing blank lines from output of
1851 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1853 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1854 Align 32 bit compat elf_greg to 8 bytes.
1856 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1858 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1860 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1862 * string/strcoll_l.c (coll_seq): New structure.
1863 (get_next_seq_cached): New function.
1864 (get_next_seq): New function.
1865 (do_compare): New function.
1866 (STRCOLL): Use GNU style definition. Simplify implementation
1867 by using get_next_seq, get_next_seq_cached and do_compare.
1869 2013-08-16 Florian Weimer <fweimer@redhat.com>
1873 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1875 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1877 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1878 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1879 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1881 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1882 GETDENTS_64BIT_ALIGNED.
1883 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1884 * manual/filesys.texi (Reading/Closing Directory): Document
1885 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1887 * manual/conf.texi (Limits for Files): Add portability note to
1889 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1891 2013-08-13 Andreas Schwab <schwab@suse.de>
1894 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1896 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1897 LDBL_MAX_EXP >= 16384]: Add tests for it.
1899 2013-08-12 David S. Miller <davem@davemloft.net>
1901 * version.h (RELEASE): Set to "development".
1902 (VERSION): Set to "2.18.90".
1903 * NEWS: Add 2.19 section.
1905 2013-08-03 David S. Miller <davem@davemloft.net>
1907 * po/ko.po: Update Korean translation from translation project.
1909 2013-08-01 David S. Miller <davem@davemloft.net>
1911 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1912 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1915 2013-07-30 David S. Miller <davem@davemloft.net>
1917 * po/fr.po: Update French translation from translation project.
1919 2013-07-28 David S. Miller <davem@davemloft.net>
1921 * po/cs.po: Update Czech translation from translation project.
1923 * po/sv.po: Update Swedish translation from translation project.
1925 2013-07-27 David S. Miller <davem@davemloft.net>
1927 * po/eo.po: Update Esperanto translation from translation project.
1929 * po/vi.po: Update Vietnamese translation from translation project.
1931 * po/de.po: Update German translation from translation project.
1933 2013-07-26 David S. Miller <davem@davemloft.net>
1935 * po/bg.po: Update Bulgarian translation from translation project.
1937 * po/nl.po: Update Dutch translation from translation project.
1938 * po/pl.po: Update Polish translation from translation project.
1939 * po/ru.po: Update Russian translation from translation project.
1941 2013-07-24 David S. Miller <davem@davemloft.net>
1943 * po/libc.pot: Update.
1945 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1947 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1949 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1951 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1953 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1955 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1957 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1958 Andreas Schwab <schwab@suse.de>
1959 Roland McGrath <roland@hack.frob.com>
1960 Joseph Myers <joseph@codesourcery.com>
1961 Carlos O'Donell <carlos@redhat.com>
1964 * config.h.in: Define HAVE_PT_CHOWN.
1965 * config.make.in (build-pt-chown): New variable.
1966 * configure.in (--enable-pt_chown): New configure option.
1967 * configure: Regenerate.
1968 * login/Makefile: Include Makeconfig. Build pt_chown only if
1969 build-pt-chown is enabled.
1970 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1971 pt_chown to fix pty ownership.
1972 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1974 * manual/install.texi (Configuring and compiling): Mention
1975 --enable-pt_chown. Add @findex for grantpt.
1976 * INSTALL: Regenerate.
1978 2013-07-20 David S. Miller <davem@davemloft.net>
1980 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1981 difference between 32-bit and 64-bit.
1983 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1986 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1987 Avoid system header dependency with -ffreestanding.
1988 ($(objpfx)bits/syscall%d): Likewise.
1990 2013-07-13 David S. Miller <davem@davemloft.net>
1992 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1993 underflows from atanl/atan2l due to bug 15319.
1994 (casinh_test_data): Likewise.
1996 2013-07-07 David S. Miller <davem@davemloft.net>
1998 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2000 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2002 * sysdeps/i386/fpu/libm-test-ulps: Update.
2003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2005 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2007 * configure.in (--enable-lock-elision): Fix message text.
2008 * INSTALL: Regenerate.
2009 * configure: Regenerate.
2011 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2015 2013-07-03 Andreas Jaeger <aj@suse.de>
2017 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2019 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2020 (ptrace_peeksiginfo_args): Add.
2021 (__ptrace_peeksiginfo_flags): Add.
2022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2024 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2026 2013-07-03 Allan McRae <allan@archlinux.org>
2028 * sysdeps/i386/fpu/libm-test-ulps: Update.
2030 2013-07-02 David S. Miller <davem@davemloft.net>
2032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2034 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2038 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2040 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2043 2013-07-02 Andi Kleen <ak@linux.intel.com>
2045 * config.h.in (ENABLE_LOCK_ELISION): Add.
2046 * configure.in (--enable-lock-elision): Add option.
2047 * manual/install.texi: Document --enable lock elision.
2048 * configure: Regenerate
2049 * INSTALL: Regenerate.
2051 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2053 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2054 SSE4.2 strcasecmp for libc.a.
2055 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2057 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2060 * soft-fp/op-common.h (_FP_FMA): New macro.
2061 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2062 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2063 (_FP_MUL_MEAT_1_imm): ... here.
2064 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2065 (_FP_MUL_MEAT_1_wide): ... here.
2066 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2067 (_FP_MUL_MEAT_1_hard): ... here.
2068 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2069 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2070 (_FP_MUL_MEAT_2_wide): ... here.
2071 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2072 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2073 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2074 (_FP_MUL_MEAT_2_gmp): ... here.
2075 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2076 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2077 (_FP_MUL_MEAT_4_wide): ... here.
2078 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2079 (_FP_MUL_MEAT_4_gmp): ... here.
2080 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2081 (_FP_WFRACBITS_DW_S): Likewise.
2082 (_FP_WFRACXBITS_DW_S): Likewise.
2083 (_FP_HIGHBIT_DW_S): Likewise.
2084 (FP_FMA_S): Likewise.
2085 (_FP_FRAC_HIGH_DW_S): Likewise.
2086 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2087 (_FP_WFRACBITS_DW_D): Likewise.
2088 (_FP_WFRACXBITS_DW_D): Likewise.
2089 (_FP_HIGHBIT_DW_D): Likewise.
2090 (FP_FMA_D): Likewise.
2091 (_FP_FRAC_HIGH_DW_D): Likewise.
2092 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2093 (_FP_WFRACBITS_DW_E): Likewise.
2094 (_FP_WFRACXBITS_DW_E): Likewise.
2095 (_FP_HIGHBIT_DW_E): Likewise.
2096 (FP_FMA_E): Likewise.
2097 (_FP_FRAC_HIGH_DW_E): Likewise.
2098 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2099 (_FP_WFRACBITS_DW_Q): Likewise.
2100 (_FP_WFRACXBITS_DW_Q): Likewise.
2101 (_FP_HIGHBIT_DW_Q): Likewise.
2102 (FP_FMA_Q): Likewise.
2103 (_FP_FRAC_HIGH_DW_Q): Likewise.
2104 * soft-fp/fmasf4.c: New file.
2105 * soft-fp/fmadf4.c: Likewise.
2106 * soft-fp/fmatf4.c: Likewise.
2108 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2111 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2113 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2115 (index_Slow_SSE4_2): Likewise.
2116 (index_Prefer_PMINUB_for_stringop): Likewise.
2117 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2118 bit_Slow_SSE4_2 is set.
2119 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2120 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2122 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2124 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2125 rtld_global._dl_hwcap2.
2126 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2128 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2129 POWER8 feature descriptions defined in _dl_hwcap2.
2130 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2131 string handling for POWER8 feature bits.
2132 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2133 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2134 _dl_powerpc_cap_flags.
2135 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2136 * sysdeps/powerpc/rtld-global-offsets.sym
2137 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2138 _dl_hwcap2 in the rtld_global_ro structure.
2140 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2142 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2143 hardware capabilities in support of AT_HWCAP2.
2144 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2145 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2147 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2148 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2149 explicitly the unknown a_type display mechanism is used.
2150 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2151 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2153 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2154 to macro prototype for AT_HWCAP2 support.
2155 * sysdeps/i386/dl-procinfo.h: Likewise.
2156 * sysdeps/s390/dl-procinfo.h: Likewise.
2157 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2158 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2159 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2160 return -1 for unknown a_type display fallback.
2161 * sysdeps/sparc/dl-procinfo.h: Likewise.
2162 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2163 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2165 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2167 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2168 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2170 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2173 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2174 mprotect making __stack_prot writable.
2176 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2177 Joseph Myers <joseph@codesourcery.com>
2179 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2180 as being properly aligned.
2182 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2184 * dlfcn/modstatic5.c: New file.
2185 * dlfcn/tststatic5.c: New file.
2186 * dlfcn/Makefile (tests): Add tststatic5.
2187 (tests-static): Likewise.
2188 (modules-names): Add modstatic5.
2189 (tststatic5-ENV): New variable.
2190 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2193 * elf/dl-support.c (_dl_main_map): New variable.
2194 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2195 (_dl_nns, _dl_load_adds): Set to 1.
2196 (_dl_initial_searchlist): Refer to _dl_main_map.
2197 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2198 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2199 call to _dl_get_origin.
2200 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2202 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2203 * dlfcn/modstatic3.c: New file.
2204 * dlfcn/tststatic3.c: New file.
2205 * dlfcn/tststatic4.c: New file.
2206 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2207 (tests-static): Likewise.
2208 (modules-names): Add modstatic3.
2209 (tststatic3-ENV, tststatic4-ENV): New variables.
2210 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2211 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2213 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2215 * configure.in (CC): Require GCC version 4.4 or later.
2216 * configure: Regenerated.
2217 * manual/install.texi (Tools for Compilation): Update GCC version
2219 * INSTALL: Regenerated.
2221 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2224 * string/test-memcmp.c (check2): New.
2225 (main): Call check2.
2227 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2229 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2232 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2234 (dl_open_worker) [!SHARED]: ... here.
2236 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2238 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2240 2013-06-25 Richard Henderson <rth@redhat.com>
2242 * locale/programs/locarchive.c: Include <libc-internal.h>
2244 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2246 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2247 trailing whitespace removed.
2249 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2252 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2253 * locale/programs/locarchive.c: Include libc-mmap.h.
2254 (prepare_address_space): Take two new outputs (the mmap base and len).
2255 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2257 (create_archive): Declare new mmap base and len values for
2258 prepare_address_space, and store the result in ah.
2259 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2260 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2261 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2262 Declare new mmap base and len values for
2263 prepare_address_space, and store the result in new_ah.
2264 (open_archive): Declare new mmap base and len values for
2265 prepare_address_space, and store the result in ah.
2266 (close_archive): If ah->mmap_base is not NULL, use that and
2267 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2268 * sysdeps/generic/libc-mmap.h: New file.
2270 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2272 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2273 (ALIGN_UP): Likewise.
2274 (PTR_ALIGN_DOWN): Likewise.
2275 (PTR_ALIGN_UP): Likewise.
2277 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2279 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2280 entry mapped to PPC_PLATFORM_POWER8.
2281 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2283 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2284 (_dl_string_platform): Add case for exporting platform position for
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2287 search path to sysdeps/powerpc/powerpc32/power8 directory.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2289 search path to sysdeps/powerpc/powerpc64/power8 directory.
2290 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2292 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2295 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2297 * INSTALL: Regenerate.
2299 * nscd/connections.c (nscd_init): Fix comment.
2301 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2303 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2306 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2307 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2309 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2311 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2313 (DL_DST_REQ_STATIC): Remove macro.
2315 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2318 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2319 with a shift of 0 bits.
2321 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2323 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2326 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2329 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2331 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2334 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2335 accepts -fno-tree-loop-distribute-patterns.
2336 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2337 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2339 * string/memset.c (memset): Likewise.
2340 * string/test-memmove.c (simple_memmove): Disable loop transformation
2342 * string/test-memset.c (simple_memset): Likewise.
2343 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2344 * benchtests/bench-memset.c (simple_memset): Likewise.
2345 * configure: Regenerated.
2347 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2349 * math/test-misc.c (main): Ignore fesetround failure when failures
2350 of subsequent rounding tests would be ignored.
2353 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2354 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2355 * math/fegetenv.c (__fegetenv): Return 0.
2356 * math/fegetexcept.c (fegetexcept): Return 0.
2357 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2359 * math/feholdexcpt.c (feholdexcept): Return 0.
2360 * math/fesetenv.c (__fesetenv): Return 0.
2361 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2362 argument FE_TONEAREST.
2363 * math/feupdateenv.c (__feupdateenv): Return 0.
2364 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2366 2013-06-18 Roland McGrath <roland@hack.frob.com>
2368 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2369 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2370 ($(objpfx)rtld-%.os rules): Use them.
2372 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2374 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2377 2013-06-17 Roland McGrath <roland@hack.frob.com>
2379 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2380 length of target pattern, then descending length of dependency pattern.
2381 * configure.in (AWK): Require gawk 3.1.2 or newer.
2382 * manual/install.texi (Tools for Compilation): Say that we do.
2383 * configure: Regenerated.
2385 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2386 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2387 * scripts/sysd-rules.awk: ... this new script.
2388 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2389 than a glob-style pattern.
2391 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2393 * math/test-misc.c (main): Do not treat incorrectly rounded
2394 conversions as failure unless ROUNDING_TESTS passes.
2396 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2399 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2400 restore exception state around main square root computation, then
2401 check for inexactness explicitly.
2403 * math/libm-test.inc (fma_test_data): Add another test.
2405 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2407 * manual/threads.texi (Non-POSIX Extensions): New document
2408 node. Document pthread_getattr_default_np and
2409 pthread_setattr_default_np.
2411 * Versions.def (libpthread): Add GLIBC_2.18.
2412 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2421 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2432 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2435 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2437 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2438 H.J. Lu <hjl.tools@gmail.com>
2441 * sysdeps/x86_64/rtld-memset.c: Remove file.
2442 * sysdeps/x86_64/rtld-memset.S: New file.
2444 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2446 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2447 (test_in_one_mode): Take arguments for whether the rounding mode
2448 is supported for each floating-point type.
2449 (do_test): Pass new arguments to test_in_one_mode using
2452 2013-06-13 Roland McGrath <roland@hack.frob.com>
2454 * posix/tst-waitid.c (do_test): Distinguish different instances of
2455 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2456 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2457 before entering the kernel for waitpid.
2459 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2461 * NEWS: Fix note on clock function precision. Text by Roland
2464 2013-06-13 Roland McGrath <roland@hack.frob.com>
2466 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2467 it into place only when and if the sanity check passes.
2469 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2471 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2472 output for whether conversion result is exact. Take argument
2473 indicating whether type is IBM long double.
2474 (round_for_all): Change need_exact field to ibm_ld.
2475 * stdlib/tst-strtod-round.c (struct exactness): New type.
2476 (struct test): Change bool ld_ok field to struct exactness exact.
2477 (TEST): Update all definitions for change to field.
2478 (tests): Regenerate array contents.
2479 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2480 field value. Check for IBM long double here.
2481 (do_test): Update calls to test_in_one_mode.
2483 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2486 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2487 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2489 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2493 generated by the compiler on loop optimizations.
2494 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2495 general definitions.
2497 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2499 * math/bug-nextafter.c: Include <math-tests.h>.
2500 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2502 * math/bug-nexttoward.c: Include <math-tests.h>.
2503 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2505 * math/test-misc.c: Include <math-tests.h>.
2506 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2509 2013-06-12 Andreas Jaeger <aj@suse.de>
2511 * po/ia.po: Update Interlingua translation from translation
2514 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2516 * include/fenv.h: Include stdbool.h.
2517 (struct rm_ctx): New structure.
2518 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2520 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2521 (SET_RESTORE_ROUNDF): Likewise.
2522 (SET_RESTORE_ROUNDL): Likewise.
2523 (SET_RESTORE_ROUND_NOEX): Likewise.
2524 (SET_RESTORE_ROUND_NOEXF): Likewise.
2525 (SET_RESTORE_ROUND_NOEXL): Likewise.
2526 (SET_RESTORE_ROUND_53BIT): Likewise.
2527 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2528 (libc_feresetround_noexf_ctx): Likewise.
2529 (libc_feresetround_noexl_ctx): Likewise.
2530 (libc_feholdsetround_53bit_ctx): Likewise.
2531 (libc_feresetround_53bit_ctx): Likewise.
2532 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2533 (libc_feholdexcept_setround_sse_ctx): New function.
2534 (libc_fesetenv_sse_ctx): Likewise.
2535 (libc_feupdateenv_sse_ctx): Likewise.
2536 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2537 (libc_feholdexcept_setround_387_ctx): Likewise.
2538 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2539 (libc_feholdsetround_387_prec_ctx): Likewise.
2540 (libc_feholdsetround_387_ctx): Likewise.
2541 (libc_feholdsetround_387_53bit_ctx): Likewise.
2542 (libc_feholdsetround_sse_ctx): Likewise.
2543 (libc_feresetround_sse_ctx): Likewise.
2544 (libc_feresetround_387_ctx): Likewise.
2545 (libc_feupdateenv_387_ctx): Likewise.
2546 (libc_feholdexcept_setroundf_ctx): Define macro.
2547 (libc_fesetenvf_ctx): Likewise.
2548 (libc_feupdateenvf_ctx): Likewise.
2549 (libc_feholdsetroundf_ctx): Likewise.
2550 (libc_feresetroundf_ctx): Likewise.
2551 (libc_feholdexcept_setround_ctx): Likewise.
2552 (libc_fesetenv_ctx): Likewise.
2553 (libc_feupdateenv_ctx): Likewise.
2554 (libc_feholdsetround_ctx): Likewise.
2555 (libc_feresetround_ctx): Likewise.
2556 (libc_feholdexcept_setroundl_ctx): Likewise.
2557 (libc_feupdateenvl_ctx): Likewise.
2558 (libc_feholdsetroundl_ctx): Likewise.
2559 (libc_feresetroundl_ctx): Likewise.
2560 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2561 (libc_feresetround_53bit_ctx): Likewise.
2563 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2565 * locale/iso-639.def: Convert to UTF-8.
2567 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2569 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2570 (EXCEPTION_TESTS_double): Likewise.
2571 (EXCEPTION_TESTS_long_double): Likewise.
2572 (EXCEPTION_TESTS): Likewise.
2573 * math/libm-test.inc (test_exceptions): Only test exceptions if
2574 EXCEPTION_TESTS (FLOAT).
2576 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2578 * benchtests/Makefile (string-bench): Add strcpy_chk and
2580 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2581 * benchtests/bench-stpcpy_chk.c: New file.
2582 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2583 * benchtests/bench-strcpy_chk.c: New file.
2584 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2586 (do_test): Likewise.
2588 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2590 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2591 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2592 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2593 with tabs where appropriate.
2594 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2596 [PPC_PLATFORM_PPC440]: Likewise.
2597 [PPC_PLATFORM_PPC464]: Likewise.
2598 [PPC_PLATFORM_PPC476]: Likewise.
2599 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2600 ppc464, and ppc476 platform strings merging from ports/
2603 2013-06-11 Andreas Schwab <schwab@suse.de>
2606 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2607 (from_ucs4_idx): Regenerate.
2608 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2609 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2610 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2611 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2612 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2613 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2614 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2615 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2616 from FROM_LOOP and TO_LOOP specific macros.
2617 (BODY): Handle combining characters.
2618 * iconvdata/BIG5HKSCS.irreversible: Update.
2619 * iconvdata/BIG5HKSCS.precomposed: New file.
2620 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2622 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2624 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2626 * include/sys/time.h: Fix indentation and add copyright header.
2628 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2629 (do_test): Likewise.
2630 * string/test-memchr.c (do_one_test): Likewise.
2631 (do_test): Likewise.
2632 * string/test-memcmp.c (do_one_test): Likewise.
2633 (do_test): Likewise.
2634 * string/test-memcpy.c (do_one_test): Likewise.
2635 (do_test): Likewise.
2636 * string/test-memmem.c (do_one_test): Likewise.
2637 (do_test): Likewise.
2638 (do_random_tests): Likewise.
2639 * string/test-memmove.c (do_one_test): Likewise.
2640 (do_test): Likewise.
2641 * string/test-memset.c (do_one_test): Likewise.
2642 (do_test): Likewise.
2643 * string/test-rawmemchr.c (do_one_test): Likewise.
2644 (do_test): Likewise.
2645 * string/test-strcasecmp.c (do_one_test): Likewise.
2646 (do_test): Likewise.
2647 * string/test-strcasestr.c (do_one_test): Likewise.
2648 (do_test): Likewise.
2649 * string/test-strcat.c (do_one_test): Likewise.
2650 (do_test): Likewise.
2651 * string/test-strchr.c (do_one_test): Likewise.
2652 (do_test): Likewise.
2653 * string/test-strcmp.c (do_one_test): Likewise.
2654 (do_test): Likewise.
2655 * string/test-strcpy.c (do_one_test): Likewise.
2656 (do_test): Likewise.
2657 * string/test-string.h: Likewise.
2658 (test_init): Likewise.
2659 * string/test-strlen.c (do_one_test): Likewise.
2660 (do_test): Likewise.
2661 * string/test-strncasecmp.c (do_one_test): Likewise.
2662 (do_test): Likewise.
2663 * string/test-strncat.c (do_one_test): Likewise.
2664 (do_test): Likewise.
2665 * string/test-strncmp.c (do_one_test): Likewise.
2666 (do_test_limit): Likewise.
2667 (do_test): Likewise.
2668 * string/test-strncpy.c (do_one_test): Likewise.
2669 (do_test): Likewise.
2670 * string/test-strnlen.c (do_one_test): Likewise.
2671 (do_test): Likewise.
2672 * string/test-strpbrk.c (do_one_test): Likewise.
2673 (do_test): Likewise.
2674 * string/test-strrchr.c (do_one_test): Likewise.
2675 (do_test): Likewise.
2676 * string/test-strspn.c (do_one_test): Likewise.
2677 (do_test): Likewise.
2678 * string/test-strstr.c (do_one_test): Likewise.
2679 (do_test): Likewise.
2681 * benchtests/Makefile (string-bench): Add string benchmarks.
2682 * benchtests/bench-bcopy-ifunc.c: New file.
2683 * benchtests/bench-bcopy.c: New file.
2684 * benchtests/bench-bzero-ifunc.c: New file.
2685 * benchtests/bench-bzero.c: New file.
2686 * benchtests/bench-memccpy-ifunc.c: New file.
2687 * benchtests/bench-memccpy.c: New file.
2688 * benchtests/bench-memchr-ifunc.c: New file.
2689 * benchtests/bench-memchr.c: New file.
2690 * benchtests/bench-memcmp-ifunc.c: New file.
2691 * benchtests/bench-memcmp.c: New file.
2692 * benchtests/bench-memmem-ifunc.c: New file.
2693 * benchtests/bench-memmem.c: New file.
2694 * benchtests/bench-memmove-ifunc.c: New file.
2695 * benchtests/bench-memmove.c: New file.
2696 * benchtests/bench-mempcpy-ifunc.c: New file.
2697 * benchtests/bench-mempcpy.c: New file.
2698 * benchtests/bench-memset-ifunc.c: New file.
2699 * benchtests/bench-memset.c: New file.
2700 * benchtests/bench-rawmemchr-ifunc.c: New file.
2701 * benchtests/bench-rawmemchr.c: New file.
2702 * benchtests/bench-stpcpy-ifunc.c: New file.
2703 * benchtests/bench-stpcpy.c: New file.
2704 * benchtests/bench-stpncpy-ifunc.c: New file.
2705 * benchtests/bench-stpncpy.c: New file.
2706 * benchtests/bench-strcasecmp-ifunc.c: New file.
2707 * benchtests/bench-strcasecmp.c: New file.
2708 * benchtests/bench-strcasestr-ifunc.c: New file.
2709 * benchtests/bench-strcasestr.c: New file.
2710 * benchtests/bench-strcat-ifunc.c: New file.
2711 * benchtests/bench-strcat.c: New file.
2712 * benchtests/bench-strchr-ifunc.c: New file.
2713 * benchtests/bench-strchr.c: New file.
2714 * benchtests/bench-strchrnul-ifunc.c: New file.
2715 * benchtests/bench-strchrnul.c: New file.
2716 * benchtests/bench-strcmp-ifunc.c: New file.
2717 * benchtests/bench-strcmp.c: New file.
2718 * benchtests/bench-strcpy-ifunc.c: New file.
2719 * benchtests/bench-strcpy.c: New file.
2720 * benchtests/bench-strcspn-ifunc.c: New file.
2721 * benchtests/bench-strcspn.c: New file.
2722 * benchtests/bench-strlen-ifunc.c: New file.
2723 * benchtests/bench-strlen.c: New file.
2724 * benchtests/bench-strncasecmp-ifunc.c: New file.
2725 * benchtests/bench-strncasecmp.c: New file.
2726 * benchtests/bench-strncat-ifunc.c: New file.
2727 * benchtests/bench-strncat.c: New file.
2728 * benchtests/bench-strncmp-ifunc.c: New file.
2729 * benchtests/bench-strncmp.c: New file.
2730 * benchtests/bench-strncpy-ifunc.c: New file.
2731 * benchtests/bench-strncpy.c: New file.
2732 * benchtests/bench-strnlen-ifunc.c: New file.
2733 * benchtests/bench-strnlen.c: New file.
2734 * benchtests/bench-strpbrk-ifunc.c: New file.
2735 * benchtests/bench-strpbrk.c: New file.
2736 * benchtests/bench-strrchr-ifunc.c: New file.
2737 * benchtests/bench-strrchr.c: New file.
2738 * benchtests/bench-strspn-ifunc.c: New file.
2739 * benchtests/bench-strspn.c: New file.
2740 * benchtests/bench-strstr-ifunc.c: New file.
2741 * benchtests/bench-strstr.c: New file.
2743 * benchtests/Makefile: Disable parallel execution of targets.
2744 (string-bench): Add memcpy.
2745 (benchset): New variable to store a list of benchmark sets.
2746 (bench-func): Renamed from bench.
2747 (bench-set): New target.
2748 (bench): Depend on bench-func and bench-set.
2749 * benchtests/README: Add section on benchmark sets.
2750 * benchtests/bench-memcpy-ifunc.c: New file.
2751 * benchtests/bench-memcpy.c: New file.
2752 * benchtests/bench-string.h: New file.
2754 2013-06-11 Andreas Schwab <schwab@suse.de>
2757 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2758 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2759 values in the triple.
2760 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2761 terminator in the group key.
2763 2013-06-11 Andreas Jaeger <aj@suse.de>
2765 * po/zh_TW.po: Update Chinese (traditional) translation from
2766 translation project.
2768 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2770 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2771 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2772 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2773 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2774 (clock_getcpuclockid): Likewise.
2775 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2776 Add weak_alias and libc_hidden_def.
2777 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2778 * rt/clock_gettime.c (clock_gettime): Rename to
2779 __clock_gettime. Add weak_alias and libc_hidden_def.
2780 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2781 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2782 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2783 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2784 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2786 * rt/clock_settime.c (clock_settime): Rename to
2787 __clock_settime. Add weak_alias and libc_hidden_def.
2788 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2790 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2792 * mach/err_boot.sub: Remove trailing whitespace.
2793 * mach/err_ipc.sub: Likewise.
2794 * mach/err_mach.sub: Likewise.
2796 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2797 (ROUNDING_TESTS_double): Likewise.
2798 (ROUNDING_TESTS_long_double): Likewise.
2799 (ROUNDING_TESTS): Likewise.
2800 * math/libm-test.inc: Include <math-tests.h>.
2801 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2802 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2803 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2804 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2806 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2808 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2811 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2813 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2814 otherwise empty TRANS lines.
2815 * sysdeps/gnu/errlist.c: Regenerated.
2817 * catgets/gencat.c (error_print): Use (void) in function
2819 * crypt/crypt_util.c (__init_des): Likewise.
2820 * crypt/speeds.c (Stop): Likewise.
2822 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2823 * inet/ruserpass.c (token): Likewise.
2824 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2825 * intl/localealias.c (extend_alias_table): Likewise.
2826 * intl/plural-exp.c (init_germanic_plural): Likewise.
2827 * libio/fcloseall.c (__fcloseall): Likewise.
2828 * libio/genops.c (_IO_flush_all): Likewise.
2829 (_IO_flush_all_linebuffered): Likewise.
2830 (_IO_cleanup): Likewise.
2831 (_IO_iter_begin): Likewise.
2832 (_IO_iter_end): Likewise.
2833 (_IO_list_lock): Likewise.
2834 (_IO_list_unlock): Likewise.
2835 (_IO_list_resetlock): Likewise.
2836 * libio/getchar.c (getchar): Likewise.
2837 * libio/getchar_u.c (getchar_unlocked): Likewise.
2838 * libio/getwchar.c (getwchar): Likewise.
2839 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2840 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2841 * login/getpt.c (__getpt): Likewise.
2842 * login/tst-utmp.c (main): Likewise.
2843 * malloc/hooks.c (__malloc_check_init): Likewise.
2844 * malloc/malloc.c (__malloc_stats): Likewise.
2845 * malloc/mtrace.c (tr_break): Likewise.
2847 (muntrace): Likewise.
2848 * misc/fstab.c (endfsent): Likewise.
2849 * misc/getclktck.c (__getclktck): Likewise.
2850 * misc/getdtsz.c (__getdtablesize): Likewise.
2851 * misc/gethostid.c (gethostid): Likewise.
2852 * misc/getpagesize.c (__getpagesize): Likewise.
2853 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2854 (__get_nprocs): Likewise.
2855 (__get_phys_pages): Likewise.
2856 (__get_avphys_pages): Likewise.
2857 * misc/getttyent.c (getttyent): Likewise.
2858 (setttyent): Likewise.
2859 (endttyent): Likewise.
2860 * misc/getusershell.c (getusershell): Likewise.
2861 (endusershell): Likewise.
2862 (setusershell): Likewise.
2863 (initshells): Likewise.
2864 * misc/hsearch.c (__hdestroy): Likewise.
2865 * misc/sync.c (sync): Likewise.
2866 * misc/syslog.c (closelog_internal): Likewise.
2867 (closelog): Likewise.
2868 * misc/ttyslot.c (ttyslot): Likewise.
2869 * misc/vhangup.c (vhangup): Likewise.
2870 * posix/fork.c (__fork): Likewise.
2871 * posix/getegid.c (__getegid): Likewise.
2872 * posix/geteuid.c (__geteuid): Likewise.
2873 * posix/getgid.c (__getgid): Likewise.
2874 * posix/getpid.c (__getpid): Likewise.
2875 * posix/getppid.c (__getppid): Likewise.
2876 * posix/getuid.c (__getuid): Likewise.
2877 * posix/pause.c (pause): Likewise.
2878 * posix/setpgrp.c (setpgrp): Likewise.
2879 * posix/setsid.c (__setsid): Likewise.
2880 * posix/test-vfork.c (noop): Likewise.
2881 * resolv/gethnamaddr.c (_endhtent): Likewise.
2882 (_gethtent): Likewise.
2883 (ht_endhostent): Likewise.
2884 (gethostent): Likewise.
2885 (dns_service): Likewise.
2886 * stdlib/drand48.c (drand48): Likewise.
2887 * stdlib/lrand48.c (lrand48): Likewise.
2888 * stdlib/mrand48.c (mrand48): Likewise.
2889 * stdlib/rand.c (rand): Likewise.
2890 * stdlib/random.c (__random): Likewise.
2891 * stdlib/setenv.c (clearenv): Likewise.
2892 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2893 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2894 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2895 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2896 (__get_nprocs): Likewise.
2897 (__get_phys_pages): Likewise.
2898 (__get_avphys_pages): Likewise.
2899 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2900 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2901 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2902 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2903 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2904 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2905 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2906 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2907 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2908 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2909 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2910 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2911 * sysdeps/posix/clock.c (clock): Likewise.
2912 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2913 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2914 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2915 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2916 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2918 (__get_nprocs_conf): Likewise.
2919 (__get_phys_pages): Likewise.
2920 (__get_avphys_pages): Likewise.
2921 * time/clock.c (clock): Likewise.
2922 * time/tzset.c (__tzname_max): Likewise.
2924 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2926 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2927 (__bswap_32): Do not use "register".
2928 * crypt/crypt.c (_ufc_doit_r): Likewise.
2929 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2930 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2931 * gmon/gmon.c (__monstartup): Likewise.
2932 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2933 * hurd/hurdmalloc.c (more_memory): Likewise.
2936 (realloc): Likewise.
2937 (malloc_fork_prepare): Likewise.
2938 (malloc_fork_parent): Likewise.
2939 (malloc_fork_child): Likewise.
2940 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2941 (_svcauth_des): Likewise.
2942 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2943 * inet/inet_net.c (inet_network): Likewise.
2944 * inet/inet_netof.c (inet_netof): Likewise.
2945 * inet/rcmd.c (__validuser2_sa): Likewise.
2946 * io/fts.c (fts_open): Likewise.
2947 (fts_load): Likewise.
2948 (fts_close): Likewise.
2949 (fts_read): Likewise.
2950 (fts_children): Likewise.
2951 (fts_build): Likewise.
2952 (fts_stat): Likewise.
2953 (fts_sort): Likewise.
2954 (fts_alloc): Likewise.
2955 (fts_lfree): Likewise.
2956 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2957 (_IO_file_xsgetn): Likewise.
2958 (_IO_file_xsgetn_mmap): Likewise.
2959 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2960 (_IO_cookie_write): Likewise.
2961 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2962 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2963 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2964 * malloc/obstack.c (_obstack_begin): Likewise.
2965 (_obstack_begin_1): Likewise.
2966 (_obstack_newchunk): Likewise.
2967 (_obstack_allocated_p): Likewise.
2968 (obstack_free): Likewise.
2969 (_obstack_memory_used): Likewise.
2970 * misc/getttyent.c (getttynam): Likewise.
2971 (getttyent): Likewise.
2974 * misc/getusershell.c (initshells): Likewise.
2975 * misc/syslog.c (__vsyslog_chk): Likewise.
2976 * misc/ttyslot.c (ttyslot): Likewise.
2977 * nis/nis_hash.c (__nis_hash): Likewise.
2978 * posix/fnmatch_loop.c (FCT): Likewise.
2979 * posix/getconf.c (print_all): Likewise.
2981 * posix/getopt.c (exchange): Likewise.
2982 * posix/glob.c (globfree): Likewise.
2983 (prefix_array): Likewise.
2984 (__glob_pattern_type): Likewise.
2985 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2986 (NS_GET32): Likewise.
2987 (NS_PUT16): Likewise.
2988 (NS_PUT32): Likewise.
2989 * resolv/gethnamaddr.c (getanswer): Likewise.
2990 (gethostbyname2): Likewise.
2991 (gethostbyaddr): Likewise.
2992 (_gethtent): Likewise.
2993 (_gethtbyname2): Likewise.
2994 (_gethtbyaddr): Likewise.
2995 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2996 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2997 * resolv/res_init.c (__res_vinit): Likewise.
2998 (net_mask): Likewise.
2999 * resolv/res_mkquery.c (outchar): Likewise.
3001 * stdio-common/printf_fp.c (outchar): Likewise.
3003 * stdio-common/printf_fphex.c (outchar): Likewise.
3005 * stdio-common/printf_size.c (outchar): Likewise.
3007 * stdio-common/test_rdwr.c (main): Likewise.
3008 * stdio-common/tfformat.c (matches): Likewise.
3009 * stdio-common/vfprintf.c (outchar): Likewise.
3010 (printf_unknown): Likewise.
3011 (buffered_vfprintf): Likewise.
3012 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3013 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3014 (ReadFile): Likewise.
3015 * stdlib/qsort.c (SWAP): Likewise.
3016 (_quicksort): Likewise.
3017 * stdlib/setenv.c (__add_to_environ): Likewise.
3018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3019 * stdlib/strtol_l.c (__strtol_l): Likewise.
3020 * stdlib/tst-strtod.c (main): Likewise.
3021 * stdlib/tst-strtol.c (main): Likewise.
3022 * stdlib/tst-strtoll.c (main): Likewise.
3023 * string/bits/string2.h (__strcmp_cc): Likewise.
3024 (__strcmp_cg): Likewise.
3025 (__strcspn_c1): Likewise.
3026 (__strcspn_c2): Likewise.
3027 (__strcspn_c3): Likewise.
3028 (__strspn_c1): Likewise.
3029 (__strspn_c2): Likewise.
3030 (__strspn_c3): Likewise.
3031 (__strsep_1c): Likewise.
3032 (__strsep_2c): Likewise.
3033 (__strsep_3c): Likewise.
3034 * string/memccpy.c (__memccpy): Likewise.
3035 * string/stpcpy.c (__stpcpy): Likewise.
3036 * string/strcmp.c (strcmp): Likewise.
3037 * string/strrchr.c (strrchr): Likewise.
3038 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3040 * sysdeps/mach/hurd/getcwd.c
3041 (_hurd_canonicalize_directory_name_internal): Likewise.
3042 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3043 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3044 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3045 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3046 Likewise, in both definitions.
3047 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3049 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3050 64] (__bswap_64): Likewise.
3051 * time/test_time.c (main): Likewise.
3052 * time/tzfile.c (__tzfile_read): Likewise.
3053 (__tzfile_compute): Likewise.
3054 * time/tzset.c (__tzset_parse_tz): Likewise.
3055 (tzset_internal): Likewise.
3056 (compute_change): Likewise.
3057 * wcsmbs/wcscat.c (__wcscat): Likewise.
3058 * wcsmbs/wcschr.c (wcschr): Likewise.
3059 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3060 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3061 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3062 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3063 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3064 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3065 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3066 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3067 * wcsmbs/wmemset.c (wmemset): Likewise.
3069 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3071 * scripts/config.guess: Update to version 2013-05-16.
3072 * scripts/config.sub: Update to version 2013-04-24.
3073 * scripts/install-sh: Update to version 2011-11-20.07.
3074 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3075 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3077 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3079 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3080 * elf/sln.c: Likewise.
3081 * hurd/hurd/ioctl.h: Likewise.
3082 * hurd/hurdmalloc.c: Likewise.
3083 * hurd/xattr.c: Likewise.
3084 * include/shlib-compat.h: Likewise.
3085 * inet/ruserpass.c: Likewise.
3086 * libio/iofgets_u.c: Likewise.
3087 * libio/iofgetws_u.c: Likewise.
3088 * locale/programs/ld-identification.c: Likewise.
3089 * locale/programs/ld-time.c: Likewise.
3090 * mach/msg-destroy.c: Likewise.
3091 * nss/nss_files/files-netgrp.c: Likewise.
3092 * resolv/res_data.c: Likewise.
3093 * soft-fp/op-1.h: Likewise.
3094 * soft-fp/op-2.h: Likewise.
3095 * soft-fp/op-4.h: Likewise.
3096 * soft-fp/op-common.h: Likewise.
3097 * stdio-common/printf_fphex.c: Likewise.
3098 * stdlib/strtod_l.c: Likewise.
3099 * sunrpc/rpc/clnt.h: Likewise.
3100 * sysdeps/generic/framestate.c: Likewise.
3101 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3102 * sysdeps/i386/bsd-setjmp.S: Likewise.
3103 * sysdeps/i386/__longjmp.S: Likewise.
3104 * sysdeps/i386/setjmp.S: Likewise.
3105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3106 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3107 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3122 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3123 * sysdeps/ieee754/support.c: Likewise.
3124 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3125 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3126 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3127 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3128 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3129 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3130 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3131 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3132 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3133 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3134 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3135 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3136 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3137 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3138 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3139 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3140 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3143 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3145 * posix/transbug.c: Remove executable mode.
3147 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3149 * crypt/speeds.c: Remove trailing whitespace.
3150 * dlfcn/default.c: Likewise.
3151 * elf/ifuncdep2.c: Likewise.
3152 * elf/ifuncmain1.c: Likewise.
3153 * elf/ifuncmain1vis.c: Likewise.
3154 * elf/testobj.h: Likewise.
3155 * elf/tst-stackguard1.c: Likewise.
3156 * gmon/sys/gmon.h: Likewise.
3157 * hurd/hurdmsg.c: Likewise.
3158 * hurd/new-fd.c: Likewise.
3159 * hurd/ports-get.c: Likewise.
3160 * iconvdata/ibm1008_420.c: Likewise.
3161 * inet/tst-getni1.c: Likewise.
3162 * inet/tst-getni2.c: Likewise.
3163 * libio/ioungetc.c: Likewise.
3164 * libio/wfiledoalloc.c: Likewise.
3165 * manual/libm-err-tab.pl: Likewise.
3166 * math/w_dremf.c: Likewise.
3167 * misc/ftruncate.c: Likewise.
3168 * posix/bug-glob2.c: Likewise.
3169 * posix/tst-pcre.c: Likewise.
3170 * posix/wait4.c: Likewise.
3171 * resolv/README: Likewise.
3172 * resolv/res_debug.h: Likewise.
3173 * resolv/tst-inet_ntop.c: Likewise.
3174 * setjmp/bug269-setjmp.c: Likewise.
3175 * soft-fp/extended.h: Likewise.
3176 * soft-fp/op-1.h: Likewise.
3177 * soft-fp/op-2.h: Likewise.
3178 * soft-fp/op-4.h: Likewise.
3179 * soft-fp/op-8.h: Likewise.
3180 * soft-fp/testit.c: Likewise.
3181 * stdio-common/bug16.c: Likewise.
3182 * stdlib/random.c: Likewise.
3183 * sunrpc/rpcsvc/rquota.x: Likewise.
3184 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3185 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3187 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3188 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3189 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3190 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3191 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3192 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3193 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3194 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3196 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3207 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3208 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3211 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3212 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3213 * sysdeps/ieee754/s_lib_version.c: Likewise.
3214 * sysdeps/mach/hurd/check_fds.c: Likewise.
3215 * sysdeps/mach/hurd/getsockname.c: Likewise.
3216 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3217 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3218 * sysdeps/powerpc/bits/link.h: Likewise.
3219 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3220 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3221 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3222 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3223 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3224 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3225 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3226 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3227 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3228 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3229 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3230 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3231 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3232 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3233 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3234 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3235 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3236 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3237 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3238 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3239 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3240 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3241 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3242 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3243 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3244 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3247 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3248 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3249 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3250 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3251 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3252 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3253 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3254 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3255 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3256 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3257 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3258 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3259 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3260 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3261 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3262 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3263 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3264 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3265 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3266 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3267 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3271 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3272 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3273 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3274 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3275 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3276 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3278 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3279 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3280 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3281 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3282 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3283 * sysdeps/powerpc/sysdep.h: Likewise.
3284 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3285 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3286 * sysdeps/sh/dl-trampoline.S: Likewise.
3287 * sysdeps/sh/memset.S: Likewise.
3288 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3289 * sysdeps/sh/strlen.S: Likewise.
3290 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3291 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3292 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3293 * sysdeps/sparc/sparc32/rem.S: Likewise.
3294 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3295 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3296 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3297 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3298 * sysdeps/sparc/sparc32/urem.S: Likewise.
3299 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3300 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3301 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3302 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3303 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3304 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3305 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3306 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3307 * sysdeps/unix/bsd/times.c: Likewise.
3308 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3309 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3313 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3314 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3315 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3316 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3317 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3318 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3319 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3320 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3321 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3322 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3323 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3324 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3325 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3326 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3327 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3328 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3329 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3330 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3331 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3332 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3333 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3334 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3335 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3336 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3337 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3338 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3339 * sysdeps/x86_64/strcspn.S: Likewise.
3341 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3343 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3344 generated file. Regenerate properly from gen-translit.pl.
3345 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3346 locale/C-translit.h.
3348 2013-06-05 Andreas Schwab <schwab@suse.de>
3351 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3352 week as 6 instead of -1.
3353 * time/tst-strptime.c (day_tests): Add test case.
3355 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3357 * sysdeps/generic/math_private.h
3358 (libc_feholdexcept_setround_53bit): Replace with
3359 libc_feholdsetround_53bit.
3360 (libc_feupdateenv_53bit): Replace with
3361 libc_feresetround_53bit.
3362 (SET_RESTORE_ROUND_53BIT): Adjust.
3364 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3366 * string/test-strchrnul.c: Add copyright header.
3368 * posix/tst-getaddrinfo4.c: Increase test timeout.
3370 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3373 * math/libm-test.inc (MAX_EXP): Remove
3375 (ulp): Use MIN_EXP - MANT_DIG.
3376 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3378 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3380 * po/be.po: Revert last change.
3381 * po/zh_CN.po: Likewise.
3382 * po/header.pot: Likewise.
3384 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3386 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3387 link-libc-deps to empty as target-specific variable.
3388 * Makerules (link-libc-args): New variable.
3389 (libc-for-link): Likewise.
3390 (link-libc-deps): Likewise.
3391 (lib%.so): Depend on $(link-libc-deps). Link with
3393 (build-module): Link with $(link-libc-args).
3394 (build-module-asneeded): Likewise.
3395 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3397 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3398 target-specific variable.
3399 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3400 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3401 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3403 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3405 ($(objpfx)libpcprofile.so): Likewise.
3406 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3408 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3409 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3410 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3412 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3413 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3414 * login/Makefile ($(objpfx)libutil.so): Likewise.
3415 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3416 * math/Makefile ($(objpfx)libm.so): Likewise.
3417 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3418 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3419 variable instead of depending directly on libc.
3420 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3421 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3423 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3425 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3426 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3427 ($(objpfx)libanl.so): Likewise.
3428 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3430 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3432 * sysdeps/i386/fpu/Makefile: Remove file.
3433 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3434 ($(objpfx)libm.so): Remove dependency on ld.so.
3436 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3439 * nis/yp_xdr.c (XDRMAXNAME): Define.
3440 (XDRMAXRECORD): Define.
3441 (xdr_domainname): Use XDRMAXNAME.
3442 (xdr_mapname): Likewise.
3443 (xdr_peername): Likewise.
3444 (xdr_keydat): Use XDRMAXRECORD.
3445 (xdr_valdat): Likewise.
3447 2013-05-30 Jeff Law <law@redhat.com>
3450 * manual/errno.texi (ESTALE): Update to account for more than
3451 just NFS file systems.
3452 * sysdeps/gnu/errlist.c: Regenerated.
3454 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3457 * elf/Makefile (tests): Add tst-null-argv.
3458 (modules-names): Add tst-null-argv-lib.
3459 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3460 (tst-null-argv-ENV): Set environment for tst-null-argv.
3461 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3462 (RTLD_PROGNAME): New macro.
3463 * elf/tst-null-argv.c: New test case.
3464 * elf/tst-null-argv-lib.c: Library for test case.
3465 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3466 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3467 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3468 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3469 * elf/dl-init.c (call_init): Likewise.
3470 (_dl_init): Likewise.
3471 * elf/dl-load.c (print_search_path): Likewise.
3472 (_dl_map_object): Likewise.
3473 * elf/dl-lookup.c (do_lookup_x): Likewise.
3474 (add_dependency): Likewise.
3475 (_dl_lookup_symbol_x): Likewise.
3476 (_dl_debug_bindings): Likewise.
3477 * elf/dl-open.c (_dl_show_scope): Likewise.
3478 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3479 * elf/dl-version.c (match_symbol): Likewise.
3480 (_dl_check_map_versions): Likewise.
3481 * elf/rtld.c (dl_main): Likewise.
3482 (print_unresolved): Use RTLD_PROGNAME.
3483 (print_missing_version): Likewise.
3484 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3485 (elf_machine_rela): Likewise.
3486 * sysdeps/powerpc/powerpc32/dl-machine.c
3487 (__process_machine_rela): Likewise.
3488 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3490 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3492 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3494 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3501 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3503 * po/be.po: Add descriptive title.
3504 * po/zh_CN.po: Likewise.
3505 * po/header.pot: Likewise.
3507 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3509 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3511 (enlarge_archive): Likewise.
3513 2013-05-28 Ben North <ben@redfrontdoor.org>
3515 * manual/arith.texi (frexp): It is the magnitude of the return
3516 value which lies in [0.5, 1), not the return value itself.
3518 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3522 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3524 * stdio-common/bug26.c (main): Correct fscanf template.
3526 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3527 declare _dl_skip_args.
3529 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3532 * manual/platform.texi: Add missing @end deftypefun.
3534 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3537 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3538 bit of mantissa of 2^16382.
3539 * math/libm-test.inc (hypot_test_data): Add more tests.
3541 * math/libm-test.inc: Add drem and pow10 to list of tested
3543 (pow10_test): New function.
3544 (drem_test): Likewise.
3545 (drem_test_tonearest): Likewise.
3546 (drem_test_towardzero): Likewise.
3547 (drem_test_downward): Likewise.
3548 (drem_test_upward): Likewise.
3549 (main): Call the new functions.
3551 * math/libm-test.inc (finite_test_data): Remove.
3552 (finite_test): Run tests from isfinite_test_data.
3553 (gamma_test_data): Remove.
3554 (gamma_test): Run tests from lgamma_test_data.
3555 * sysdeps/i386/fpu/libm-test-ulps: Update.
3556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3558 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560 * manual/platform.texi: Add PowerPC PPR function set documentation.
3561 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3564 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3566 * math/libm-test.inc (MAX_EXP): Define.
3568 (ulp): New function.
3569 (check_float_internal): Use ULPDIFF.
3570 (cpow_test): Disable failing test.
3571 (check_ulp): Test ulp() implemetnation.
3572 (main): Call check_ulp before starting tests.
3574 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3576 * math/gen-libm-test.pl (generate_testfile): Do not handle
3577 START_DATA and END_DATA.
3578 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3580 (acos_tonearest_test_data): Likewise.
3581 (acos_towardzero_test_data): Likewise.
3582 (acos_downward_test_data): Likewise.
3583 (acos_upward_test_data): Likewise.
3584 (acosh_test_data): Likewise.
3585 (asin_test_data): Likewise.
3586 (asin_tonearest_test_data): Likewise.
3587 (asin_towardzero_test_data): Likewise.
3588 (asin_downward_test_data): Likewise.
3589 (asin_upward_test_data): Likewise.
3590 (asinh_test_data): Likewise.
3591 (atan_test_data): Likewise.
3592 (atanh_test_data): Likewise.
3593 (atan2_test_data): Likewise.
3594 (cabs_test_data): Likewise.
3595 (cacos_test_data): Likewise.
3596 (cacosh_test_data): Likewise.
3597 (carg_test_data): Likewise.
3598 (casin_test_data): Likewise.
3599 (casinh_test_data): Likewise.
3600 (catan_test_data): Likewise.
3601 (catanh_test_data): Likewise.
3602 (cbrt_test_data): Likewise.
3603 (ccos_test_data): Likewise.
3604 (ccosh_test_data): Likewise.
3605 (ceil_test_data): Likewise.
3606 (cexp_test_data): Likewise.
3607 (cimag_test_data): Likewise.
3608 (clog_test_data): Likewise.
3609 (clog10_test_data): Likewise.
3610 (conj_test_data): Likewise.
3611 (copysign_test_data): Likewise.
3612 (cos_test_data): Likewise.
3613 (cos_tonearest_test_data): Likewise.
3614 (cos_towardzero_test_data): Likewise.
3615 (cos_downward_test_data): Likewise.
3616 (cos_upward_test_data): Likewise.
3617 (cosh_test_data): Likewise.
3618 (cosh_tonearest_test_data): Likewise.
3619 (cosh_towardzero_test_data): Likewise.
3620 (cosh_downward_test_data): Likewise.
3621 (cosh_upward_test_data): Likewise.
3622 (cpow_test_data): Likewise.
3623 (cproj_test_data): Likewise.
3624 (creal_test_data): Likewise.
3625 (csin_test_data): Likewise.
3626 (csinh_test_data): Likewise.
3627 (csqrt_test_data): Likewise.
3628 (ctan_test_data): Likewise.
3629 (ctan_tonearest_test_data): Likewise.
3630 (ctan_towardzero_test_data): Likewise.
3631 (ctan_downward_test_data): Likewise.
3632 (ctan_upward_test_data): Likewise.
3633 (ctanh_test_data): Likewise.
3634 (ctanh_tonearest_test_data): Likewise.
3635 (ctanh_towardzero_test_data): Likewise.
3636 (ctanh_downward_test_data): Likewise.
3637 (ctanh_upward_test_data): Likewise.
3638 (erf_test_data): Likewise.
3639 (erfc_test_data): Likewise.
3640 (exp_test_data): Likewise.
3641 (exp_tonearest_test_data): Likewise.
3642 (exp_towardzero_test_data): Likewise.
3643 (exp_downward_test_data): Likewise.
3644 (exp_upward_test_data): Likewise.
3645 (exp10_test_data): Likewise.
3646 (exp2_test_data): Likewise.
3647 (expm1_test_data): Likewise.
3648 (fabs_test_data): Likewise.
3649 (fdim_test_data): Likewise.
3650 (finite_test_data): Likewise.
3651 (floor_test_data): Likewise.
3652 (fma_test_data): Likewise.
3653 (fma_towardzero_test_data): Likewise.
3654 (fma_downward_test_data): Likewise.
3655 (fma_upward_test_data): Likewise.
3656 (fmax_test_data): Likewise.
3657 (fmin_test_data): Likewise.
3658 (fmod_test_data): Likewise.
3659 (fpclassify_test_data): Likewise.
3660 (frexp_test_data): Likewise.
3661 (gamma_test_data): Likewise.
3662 (hypot_test_data): Likewise.
3663 (ilogb_test_data): Likewise.
3664 (isfinite_test_data): Likewise.
3665 (isgreater_test_data): Likewise.
3666 (isgreaterequal_test_data): Likewise.
3667 (isinf_test_data): Likewise.
3668 (isless_test_data): Likewise.
3669 (islessequal_test_data): Likewise.
3670 (islessgreater_test_data): Likewise.
3671 (isnan_test_data): Likewise.
3672 (isnormal_test_data): Likewise.
3673 (issignaling_test_data): Likewise.
3674 (isunordered_test_data): Likewise.
3675 (j0_test_data): Likewise.
3676 (j1_test_data): Likewise.
3677 (jn_test_data): Likewise.
3678 (ldexp_test_data): Likewise.
3679 (lgamma_test_data): Likewise.
3680 (lrint_test_data): Likewise.
3681 (lrint_tonearest_test_data): Likewise.
3682 (lrint_towardzero_test_data): Likewise.
3683 (lrint_downward_test_data): Likewise.
3684 (lrint_upward_test_data): Likewise.
3685 (llrint_test_data): Likewise.
3686 (llrint_tonearest_test_data): Likewise.
3687 (llrint_towardzero_test_data): Likewise.
3688 (llrint_downward_test_data): Likewise.
3689 (llrint_upward_test_data): Likewise.
3690 (log_test_data): Likewise.
3691 (log10_test_data): Likewise.
3692 (log1p_test_data): Likewise.
3693 (log2_test_data): Likewise.
3694 (logb_test_data): Likewise.
3695 (logb_downward_test_data): Likewise.
3696 (lround_test_data): Likewise.
3697 (llround_test_data): Likewise.
3698 (modf_test_data): Likewise.
3699 (nearbyint_test_data): Likewise.
3700 (nextafter_test_data): Likewise.
3701 (nexttoward_test_data): Likewise.
3702 (pow_test_data): Likewise.
3703 (pow_tonearest_test_data): Likewise.
3704 (pow_towardzero_test_data): Likewise.
3705 (pow_downward_test_data): Likewise.
3706 (pow_upward_test_data): Likewise.
3707 (remainder_test_data): Likewise.
3708 (remainder_tonearest_test_data): Likewise.
3709 (remainder_towardzero_test_data): Likewise.
3710 (remainder_downward_test_data): Likewise.
3711 (remainder_upward_test_data): Likewise.
3712 (remquo_test_data): Likewise.
3713 (rint_test_data): Likewise.
3714 (rint_tonearest_test_data): Likewise.
3715 (rint_towardzero_test_data): Likewise.
3716 (rint_downward_test_data): Likewise.
3717 (rint_upward_test_data): Likewise.
3718 (round_test_data): Likewise.
3719 (scalb_test_data): Likewise.
3720 (scalbn_test_data): Likewise.
3721 (scalbln_test_data): Likewise.
3722 (signbit_test_data): Likewise.
3723 (sin_test_data): Likewise.
3724 (sin_tonearest_test_data): Likewise.
3725 (sin_towardzero_test_data): Likewise.
3726 (sin_downward_test_data): Likewise.
3727 (sin_upward_test_data): Likewise.
3728 (sincos_test_data): Likewise.
3729 (sinh_test_data): Likewise.
3730 (sinh_tonearest_test_data): Likewise.
3731 (sinh_towardzero_test_data): Likewise.
3732 (sinh_downward_test_data): Likewise.
3733 (sinh_upward_test_data): Likewise.
3734 (sqrt_test_data): Likewise.
3735 (tan_test_data): Likewise.
3736 (tan_tonearest_test_data): Likewise.
3737 (tan_towardzero_test_data): Likewise.
3738 (tan_downward_test_data): Likewise.
3739 (tan_upward_test_data): Likewise.
3740 (tanh_test_data): Likewise.
3741 (tgamma_test_data): Likewise.
3742 (trunc_test_data): Likewise.
3743 (y0_test_data): Likewise.
3744 (y1_test_data): Likewise.
3745 (yn_test_data): Likewise.
3746 (significand_test_data): Likewise.
3748 * math/gen-libm-test.pl (@functions): Remove variable.
3749 (generate_testfile): Don't handle START and END lines.
3750 * math/libm-test.inc (START): New macro.
3752 (END_COMPLEX): Likewise.
3753 (acos_test): Use END macro without arguments.
3754 (acos_test_tonearest): Likewise.
3755 (acos_test_towardzero): Likewise.
3756 (acos_test_downward): Likewise.
3757 (acos_test_upward): Likewise.
3758 (acosh_test): Likewise.
3759 (asin_test): Likewise.
3760 (asin_test_tonearest): Likewise.
3761 (asin_test_towardzero): Likewise.
3762 (asin_test_downward): Likewise.
3763 (asin_test_upward): Likewise.
3764 (asinh_test): Likewise.
3765 (atan_test): Likewise.
3766 (atanh_test): Likewise.
3767 (atan2_test): Likewise.
3768 (cabs_test): Likewise.
3769 (cacos_test): Use END_COMPLEX macro without arguments.
3770 (cacosh_test): Likewise.
3771 (carg_test): Use END macro without arguments.
3772 (casin_test): Use END_COMPLEX macro without arguments.
3773 (casinh_test): Likewise.
3774 (catan_test): Likewise.
3775 (catanh_test): Likewise.
3776 (cbrt_test): Use END macro without arguments.
3777 (ccos_test): Use END_COMPLEX macro without arguments.
3778 (ccosh_test): Likewise.
3779 (ceil_test): Use END macro without arguments.
3780 (cexp_test): Use END_COMPLEX macro without arguments.
3781 (cimag_test): Use END macro without arguments.
3782 (clog_test): Use END_COMPLEX macro without arguments.
3783 (clog10_test): Likewise.
3784 (conj_test): Likewise.
3785 (copysign_test): Use END macro without arguments.
3786 (cos_test): Likewise.
3787 (cos_test_tonearest): Likewise.
3788 (cos_test_towardzero): Likewise.
3789 (cos_test_downward): Likewise.
3790 (cos_test_upward): Likewise.
3791 (cosh_test): Likewise.
3792 (cosh_test_tonearest): Likewise.
3793 (cosh_test_towardzero): Likewise.
3794 (cosh_test_downward): Likewise.
3795 (cosh_test_upward): Likewise.
3796 (cpow_test): Use END_COMPLEX macro without arguments.
3797 (cproj_test): Likewise.
3798 (creal_test): Use END macro without arguments.
3799 (csin_test): Use END_COMPLEX macro without arguments.
3800 (csinh_test): Likewise.
3801 (csqrt_test): Likewise.
3802 (ctan_test): Likewise.
3803 (ctan_test_tonearest): Likewise.
3804 (ctan_test_towardzero): Likewise.
3805 (ctan_test_downward): Likewise.
3806 (ctan_test_upward): Likewise.
3807 (ctanh_test): Likewise.
3808 (ctanh_test_tonearest): Likewise.
3809 (ctanh_test_towardzero): Likewise.
3810 (ctanh_test_downward): Likewise.
3811 (ctanh_test_upward): Likewise.
3812 (erf_test): Use END macro without arguments.
3813 (erfc_test): Likewise.
3814 (exp_test): Likewise.
3815 (exp_test_tonearest): Likewise.
3816 (exp_test_towardzero): Likewise.
3817 (exp_test_downward): Likewise.
3818 (exp_test_upward): Likewise.
3819 (exp10_test): Likewise.
3820 (exp2_test): Likewise.
3821 (expm1_test): Likewise.
3822 (fabs_test): Likewise.
3823 (fdim_test): Likewise.
3824 (finite_test): Likewise.
3825 (floor_test): Likewise.
3826 (fma_test): Likewise.
3827 (fma_test_towardzero): Likewise.
3828 (fma_test_downward): Likewise.
3829 (fma_test_upward): Likewise.
3830 (fmax_test): Likewise.
3831 (fmin_test): Likewise.
3832 (fmod_test): Likewise.
3833 (fpclassify_test): Likewise.
3834 (frexp_test): Likewise.
3835 (gamma_test): Likewise.
3836 (hypot_test): Likewise.
3837 (ilogb_test): Likewise.
3838 (isfinite_test): Likewise.
3839 (isgreater_test): Likewise.
3840 (isgreaterequal_test): Likewise.
3841 (isinf_test): Likewise.
3842 (isless_test): Likewise.
3843 (islessequal_test): Likewise.
3844 (islessgreater_test): Likewise.
3845 (isnan_test): Likewise.
3846 (isnormal_test): Likewise.
3847 (issignaling_test): Likewise.
3848 (isunordered_test): Likewise.
3849 (j0_test): Likewise.
3850 (j1_test): Likewise.
3851 (jn_test): Likewise.
3852 (ldexp_test): Likewise.
3853 (lgamma_test): Likewise.
3854 (lrint_test): Likewise.
3855 (lrint_test_tonearest): Likewise.
3856 (lrint_test_towardzero): Likewise.
3857 (lrint_test_downward): Likewise.
3858 (lrint_test_upward): Likewise.
3859 (llrint_test): Likewise.
3860 (llrint_test_tonearest): Likewise.
3861 (llrint_test_towardzero): Likewise.
3862 (llrint_test_downward): Likewise.
3863 (llrint_test_upward): Likewise.
3864 (log_test): Likewise.
3865 (log10_test): Likewise.
3866 (log1p_test): Likewise.
3867 (log2_test): Likewise.
3868 (logb_test): Likewise.
3869 (logb_test_downward): Likewise.
3870 (lround_test): Likewise.
3871 (llround_test): Likewise.
3872 (modf_test): Likewise.
3873 (nearbyint_test): Likewise.
3874 (nextafter_test): Likewise.
3875 (nexttoward_test): Likewise.
3876 (pow_test): Likewise.
3877 (pow_test_tonearest): Likewise.
3878 (pow_test_towardzero): Likewise.
3879 (pow_test_downward): Likewise.
3880 (pow_test_upward): Likewise.
3881 (remainder_test): Likewise.
3882 (remainder_test_tonearest): Likewise.
3883 (remainder_test_towardzero): Likewise.
3884 (remainder_test_downward): Likewise.
3885 (remainder_test_upward): Likewise.
3886 (remquo_test): Likewise.
3887 (rint_test): Likewise.
3888 (rint_test_tonearest): Likewise.
3889 (rint_test_towardzero): Likewise.
3890 (rint_test_downward): Likewise.
3891 (rint_test_upward): Likewise.
3892 (round_test): Likewise.
3893 (scalb_test): Likewise.
3894 (scalbn_test): Likewise.
3895 (scalbln_test): Likewise.
3896 (signbit_test): Likewise.
3897 (sin_test): Likewise.
3898 (sin_test_tonearest): Likewise.
3899 (sin_test_towardzero): Likewise.
3900 (sin_test_downward): Likewise.
3901 (sin_test_upward): Likewise.
3902 (sincos_test): Likewise.
3903 (sinh_test): Likewise.
3904 (sinh_test_tonearest): Likewise.
3905 (sinh_test_towardzero): Likewise.
3906 (sinh_test_downward): Likewise.
3907 (sinh_test_upward): Likewise.
3908 (sqrt_test): Likewise.
3909 (tan_test): Likewise.
3910 (tan_test_tonearest): Likewise.
3911 (tan_test_towardzero): Likewise.
3912 (tan_test_downward): Likewise.
3913 (tan_test_upward): Likewise.
3914 (tanh_test): Likewise.
3915 (tgamma_test): Likewise.
3916 (trunc_test): Likewise.
3917 (y0_test): Likewise.
3918 (y1_test): Likewise.
3919 (yn_test): Likewise.
3920 (significand_test): Likewise.
3922 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3925 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3927 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3930 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3931 __ppc_mdoio and __ppc_mdoom.
3932 * manual/platform.texi: Document new functions __ppc_yield,
3933 __ppc_mdoio and __ppc_mdoom.
3935 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3937 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3938 (main): Mention "tls" pseudo-hwcap is legacy.
3939 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3941 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3943 * math/gen-libm-test.pl (parse_args): Output only string of
3944 arguments as text for test name, not full call or descriptions of
3945 tests for extra outputs.
3946 (generate_testfile): Do not pass function name to parse_args.
3947 Generate this_func variable from START.
3948 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3950 (struct test_ff_f_data): Likewise.
3951 (test_ff_f_data_nexttoward): Likewise.
3952 (struct test_fi_f_data): Likewise.
3953 (struct test_fl_f_data): Likewise.
3954 (struct test_if_f_data): Likewise.
3955 (struct test_fff_f_data): Likewise.
3956 (struct test_c_f_data): Likewise.
3957 (struct test_f_f1_data): Likewise. Remove field extra_name.
3958 (struct test_fF_f1_data): Likewise.
3959 (struct test_ffI_f1_data): Likewise.
3960 (struct test_c_c_data): Rename test_name field to arg_str.
3961 (struct test_cc_c_data): Likewise.
3962 (struct test_f_i_data): Likewise.
3963 (struct test_ff_i_data): Likewise.
3964 (struct test_f_l_data): Likewise.
3965 (struct test_f_L_data): Likewise.
3966 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3968 (COMMON_TEST_SETUP): New macro.
3969 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3970 (COMMON_TEST_CLEANUP): Likewise.
3971 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3972 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3974 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3975 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3977 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3978 (RUN_TEST_fff_f): Take argument string. Call new setup and
3980 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3981 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3983 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3984 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3986 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3987 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3989 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3990 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3992 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3993 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3995 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3996 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3998 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3999 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4001 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4002 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4004 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4005 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4007 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4008 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4010 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4011 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4013 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4014 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4016 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4017 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4019 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4020 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4022 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4023 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4025 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4027 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4029 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4030 to _sifields.sigfault.
4031 (si_addr_lsb): Define new macro.
4032 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4033 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4034 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4036 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4039 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4041 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4043 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4046 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4048 * math/gen-libm-test.pl (parse_args): Do not include expected
4049 result in test name.
4050 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4051 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4052 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4053 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4054 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4057 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4059 * benchtests/Makefile: Sort function entries.
4061 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4062 tanh, asinh, acosh, atanh.
4063 * benchtests/acos-inputs: New file.
4064 * benchtests/acosh-inputs: New file.
4065 * benchtests/asin-inputs: New file.
4066 * benchtests/asinh-inputs: New file.
4067 * benchtests/atanh-inputs: New file.
4068 * benchtests/cosh-inputs: New file.
4069 * benchtests/log-inputs: New file.
4070 * benchtests/sinh-inputs: New file.
4071 * benchtests/tanh-inputs: New file.
4073 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4076 * posix/tst-getaddrinfo4.c: New test.
4077 * posix/Makefile (tests): Add it.
4079 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4082 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4083 when no services were used.
4084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4085 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4087 2013-05-21 Andreas Schwab <schwab@suse.de>
4090 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4091 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4093 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4094 redundant variable declarations and reallocation of buffer when
4095 parsing as IPv6 address. Always set NSS status when called from
4096 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4097 buffer too small. Correct computation of needed size.
4098 * nss/Makefile (tests): Add test-digits-dots.
4099 * nss/test-digits-dots.c: New test.
4101 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4103 * benchtests/Makefile: Remove instructions for adding
4105 * benchtests/README: New file to explain how to execute and
4106 enhance the benchmark tests.
4108 2013-05-21 Andreas Schwab <schwab@suse.de>
4111 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4112 * setjmp/tst-sigsetjmp.c: New test.
4114 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4116 * sysdeps/x86_64/memset.S (memset): New implementation.
4117 (__bzero): Likewise.
4118 (__memset_tail): New function.
4120 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4122 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4123 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4124 __memcpy_sse2_unaligned ifunc selection.
4125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4126 Add memcpy-sse2-unaligned.S.
4127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4128 Add: __memcpy_sse2_unaligned.
4130 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4133 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4134 math_force_eval before restoring floating-point envrionment.
4135 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4136 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4138 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4140 (__nearbyintl): Use math_force_eval before restoring
4141 floating-point environment.
4142 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4144 * math/gen-libm-test.pl (special_functions): Remove.
4145 (parse_args): Don't handle TEST_extra. Handle functions with no
4147 * math/libm-test.inc (struct test_sincos_data): Replace with
4148 struct test_fFF_11_data.
4149 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4150 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4151 (sincos_test_data): Change element type to struct
4152 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4153 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4154 RUN_TEST_LOOP_sincos.
4155 * math/README.libm-test: Don't mention special handling of
4156 individual functions.
4157 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4159 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4160 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4161 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4164 * math/gen-libm-test.pl (get_variable): Remove function.
4165 (parse_args): Don't show pointer parameters to call in test
4166 names. Use "extra output N" in test names for extra outputs
4167 rather than naming variables.
4169 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4172 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4173 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4174 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4176 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4178 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4181 * math/gen-libm-test.pl (@tests): Remove variable.
4183 (new_test): Remove function.
4184 (show_exceptions): New function.
4185 (special_functions): Use show_exceptions instead of new_test.
4186 (parse_args): Likewise.
4187 (generate_testfile): Pass only function name in generated call to
4188 print_max_error or print_complex_max_error.
4189 (get_ulps): Do not handle complex tests specially.
4190 (output_test): Rename to ...
4191 (get_all_ulps_for_test): ... this. Return a string rather than
4192 printing to a file. Require ulps to be present.
4193 (output_ulps): Generate arrays rather than #defines.
4194 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4195 (struct ulp_data): New type.
4196 (BUILD_COMPLEX_ULP): Remove macro.
4197 (compare_ulp_data): New function.
4198 (find_ulps): Likewise.
4199 (find_test_ulps): Likewise.
4200 (find_function_ulps): Likewise.
4201 (find_complex_function_ulps): Likewise.
4202 (print_max_error): Determine allowed ulps using
4204 (print_complex_max_error): Determine allowed ulps using
4205 find_complex_function_ulps.
4206 (check_float_internal): Determine max ulps using find_test_ulps.
4207 (check_float): Do not take max_ulp parameter. Update call to
4208 check_float_internal.
4209 (check_complex): Likewise.
4210 (check_int): Do not take max_ulp parameter.
4211 (check_long): Likewise.
4212 (check_bool): Likewise.
4213 (check_longlong): Likewise.
4214 (struct test_f_f_data): Remove max_ulp field.
4215 (struct test_ff_f_data): Likewise.
4216 (struct test_ff_f_data_nexttoward): Likewise.
4217 (struct test_fi_f_data): Likewise.
4218 (struct test_fl_f_data): Likewise.
4219 (struct test_if_f_data): Likewise.
4220 (struct test_fff_f_data): Likewise.
4221 (struct test_c_f_data): Likewise.
4222 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4223 (struct test_fF_f1_data): Likewise.
4224 (struct test_ffI_f1_data): Likewise.
4225 (struct test_c_c_data): Remove max_ulp field.
4226 (struct test_cc_c_data): Likewise.
4227 (struct test_f_i_data): Likewise.
4228 (struct test_ff_i_data): Likewise.
4229 (struct test_f_l_data): Likewise.
4230 (struct test_f_L_data): Likewise.
4231 (struct test_sincos_data): Likewise.
4232 (RUN_TEST_f_f): Do not handle ulps.
4233 (RUN_TEST_LOOP_f_f): Likewise.
4234 (RUN_TEST_2_f): Likewise.
4235 (RUN_TEST_LOOP_2_f): Likewise.
4236 (RUN_TEST_fff_f): Likewise.
4237 (RUN_TEST_LOOP_fff_f): Likewise.
4238 (RUN_TEST_c_f): Likewise.
4239 (RUN_TEST_LOOP_c_f): Likewise.
4240 (RUN_TEST_f_f1): Likewise.
4241 (RUN_TEST_LOOP_f_f1): Likewise.
4242 (RUN_TEST_fF_f1): Likewise.
4243 (RUN_TEST_LOOP_fF_f1): Likewise.
4244 (RUN_TEST_fI_f1): Likewise.
4245 (RUN_TEST_LOOP_fI_f1): Likewise.
4246 (RUN_TEST_ffI_f1): Likewise.
4247 (RUN_TEST_LOOP_ffI_f1): Likewise.
4248 (RUN_TEST_c_c): Likewise.
4249 (RUN_TEST_LOOP_c_c): Likewise.
4250 (RUN_TEST_cc_c): Likewise.
4251 (RUN_TEST_LOOP_cc_c): Likewise.
4252 (RUN_TEST_f_i): Likewise.
4253 (RUN_TEST_LOOP_f_i): Likewise.
4254 (RUN_TEST_f_i_tg): Likewise.
4255 (RUN_TEST_LOOP_f_i_tg): Likewise.
4256 (RUN_TEST_ff_i_tg): Likewise.
4257 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4258 (RUN_TEST_f_b): Likewise.
4259 (RUN_TEST_LOOP_f_b): Likewise.
4260 (RUN_TEST_f_b_tg): Likewise.
4261 (RUN_TEST_LOOP_f_b_tg): Likewise.
4262 (RUN_TEST_f_l): Likewise.
4263 (RUN_TEST_LOOP_f_l): Likewise.
4264 (RUN_TEST_f_L): Likewise.
4265 (RUN_TEST_LOOP_f_L): Likewise.
4266 (RUN_TEST_sincos): Likewise.
4267 (RUN_TEST_LOOP_sincos): Likewise.
4269 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4273 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4274 main case of finite arguments, set rounding mode to FE_TONEAREST
4275 and discard exceptions.
4276 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4278 (remainder_tonearest_test_data): New variable.
4279 (remainder_test_tonearest): New function.
4280 (remainder_towardzero_test_data): New variable.
4281 (remainder_test_towardzero): New function.
4282 (remainder_downward_test_data): New variable.
4283 (remainder_test_downward): New function.
4284 (remainder_upward_test_data): New variable.
4285 (remainder_test_upward): New function.
4286 (main): Call the new test functions.
4288 * math/libm-test.inc (struct test_f_f1_data): Remove field
4290 (struct test_fF_f1_data): Likewise.
4291 (struct test_ffI_f1_data): Likewise.
4292 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4293 based on value of EXTRA_EXPECTED.
4294 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4295 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4296 EXTRA_VAR based on value of EXTRA_EXPECTED.
4297 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4298 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4299 EXTRA_VAR based on value of EXTRA_EXPECTED.
4300 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4301 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4302 EXTRA_VAR based on value of EXTRA_EXPECTED.
4303 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4304 * math/gen-libm-test.pl (parse_args): Don't output initializers
4305 for extra output values.
4307 * math/libm-test.inc (check_int): Expect result to be exactly
4308 equal to expected value and do not handle ulps.
4309 (check_long): Likewise.
4310 (check_longlong): Likewise.
4312 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4314 (cimag_test_data): Likewise.
4315 (conj_test_data): Likewise.
4316 (copysign_test_data): Likewise.
4317 (cproj_test_data): Likewise.
4318 (creal_test_data): Likewise.
4319 (fabs_test_data): Likewise.
4320 (fdim_test_data): Likewise.
4321 (finite_test_data): Likewise.
4322 (floor_test_data): Likewise.
4323 (fmax_test_data): Likewise.
4324 (fmin_test_data): Likewise.
4325 (fmod_test_data): Likewise.
4326 (fpclassify_test_data): Likewise.
4327 (frexp_test_data): Likewise.
4328 (ilogb_test_data): Likewise.
4329 (isfinite_test_data): Likewise.
4330 (isgreater_test_data): Likewise.
4331 (isgreaterequal_test_data): Likewise.
4332 (isinf_test_data): Likewise.
4333 (isless_test_data): Likewise.
4334 (islessequal_test_data): Likewise.
4335 (islessgreater_test_data): Likewise.
4336 (isnan_test_data): Likewise.
4337 (isnormal_test_data): Likewise.
4338 (issignaling_test_data): Likewise.
4339 (isunordered_test_data): Likewise.
4340 (ldexp_test_data): Likewise.
4341 (lrint_test_data): Likewise.
4342 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4343 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4344 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4345 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4346 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4347 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4349 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4350 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4351 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4352 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4354 (lrint_downward_test_data): Test for "inexact" exceptions.
4355 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4356 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4357 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4359 (lrint_upward_test_data): Test for "inexact" exceptions.
4360 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4362 (llrint_test_data): Test for "inexact" exceptions.
4363 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4364 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4365 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4366 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4367 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4368 (llrint_downward_test_data): Test for "inexact" exceptions.
4369 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4370 (llrint_upward_test_data): Test for "inexact" exceptions.
4371 (logb_test_data): Likewise.
4372 (logb_downward_test_data): Likewise.
4373 (nextafter_test_data): Likewise.
4374 (nexttoward_test_data): Likewise.
4375 (remainder_test_data): Likewise.
4376 (remquo_test_data): Likewise.
4377 (scalbn_test_data): Likewise.
4378 (scalbln_test_data): Likewise.
4379 (signbit_test_data): Likewise.
4380 (sqrt_test_data): Likewise.
4381 (significand_test_data): Likewise.
4383 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4386 * benchtests/bench-modf.c (struct args): Mark arg0 as
4388 * scripts/bench.pl: Mark members of struct args as volatile.
4390 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4393 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4394 negative infinity on POWER6 or lower.
4395 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4397 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4400 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4401 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4402 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4403 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4404 (_FP_SETQNAN): New macro.
4405 (_FP_SETQNAN_SEMIRAW): Likewise.
4406 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4407 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4408 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4409 (FP_EXTEND): Use _FP_FRAC_SNANP.
4410 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4411 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4413 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4418 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4420 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4421 with DIVIDE_BY_ZERO_EXCEPTION.
4422 (gamma_test_data): Likewise.
4423 (lgamma_test_data): Likewise.
4424 (log_test_data): Likewise.
4425 (log10_test_data): Likewise.
4426 (log2_test_data): Likewise.
4427 (tgamma_test_data): Likewise.
4429 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4430 (acos_test_tonearest): Likewise.
4431 (acos_test_towardzero): Likewise.
4432 (acos_test_downward): Likewise.
4433 (acos_test_upward): Likewise.
4434 (acosh_test): Likewise.
4435 (asin_test): Likewise.
4436 (asin_test_tonearest): Likewise.
4437 (asin_test_towardzero): Likewise.
4438 (asin_test_downward): Likewise.
4439 (asin_test_upward): Likewise.
4440 (asinh_test): Likewise.
4441 (atan_test): Likewise.
4442 (atanh_test): Likewise.
4443 (atan2_test): Likewise.
4444 (cabs_test): Likewise.
4445 (cacos_test): Likewise.
4446 (cacosh_test): Likewise.
4447 (casin_test): Likewise.
4448 (casinh_test): Likewise.
4449 (catan_test): Likewise.
4450 (catanh_test): Likewise.
4451 (cbrt_test): Likewise.
4452 (ccos_test): Likewise.
4453 (ccosh_test): Likewise.
4454 (cexp_test): Likewise.
4455 (clog_test): Likewise.
4456 (clog10_test): Likewise.
4457 (cos_test): Likewise.
4458 (cos_test_tonearest): Likewise.
4459 (cos_test_towardzero): Likewise.
4460 (cos_test_downward): Likewise.
4461 (cos_test_upward): Likewise.
4462 (cosh_test): Likewise.
4463 (cosh_test_tonearest): Likewise.
4464 (cosh_test_towardzero): Likewise.
4465 (cosh_test_downward): Likewise.
4466 (cosh_test_upward): Likewise.
4467 (cpow_test): Likewise.
4468 (csin_test): Likewise.
4469 (csinh_test): Likewise.
4470 (csqrt_test): Likewise.
4471 (ctan_test): Likewise.
4472 (ctan_test_tonearest): Likewise.
4473 (ctan_test_towardzero): Likewise.
4474 (ctan_test_downward): Likewise.
4475 (ctan_test_upward): Likewise.
4476 (ctanh_test): Likewise.
4477 (ctanh_test_tonearest): Likewise.
4478 (ctanh_test_towardzero): Likewise.
4479 (ctanh_test_downward): Likewise.
4480 (ctanh_test_upward): Likewise.
4481 (erf_test): Likewise.
4482 (erfc_test): Likewise.
4483 (exp_test): Likewise.
4484 (exp_test_tonearest): Likewise.
4485 (exp_test_towardzero): Likewise.
4486 (exp_test_downward): Likewise.
4487 (exp_test_upward): Likewise.
4488 (exp10_test): Likewise.
4489 (exp2_test): Likewise.
4490 (expm1_test): Likewise.
4491 (fmod_test): Likewise.
4492 (gamma_test): Likewise.
4493 (hypot_test): Likewise.
4494 (j0_test): Likewise.
4495 (j1_test): Likewise.
4496 (jn_test): Likewise.
4497 (lgamma_test): Likewise.
4498 (log_test): Likewise.
4499 (log10_test): Likewise.
4500 (log1p_test): Likewise.
4501 (log2_test): Likewise.
4502 (logb_test_downward): Likewise.
4503 (pow_test): Likewise.
4504 (pow_test_tonearest): Likewise.
4505 (pow_test_towardzero): Likewise.
4506 (pow_test_downward): Likewise.
4507 (pow_test_upward): Likewise.
4508 (remainder_test): Likewise.
4509 (remquo_test): Likewise.
4510 (sin_test): Likewise.
4511 (sin_test_tonearest): Likewise.
4512 (sin_test_towardzero): Likewise.
4513 (sin_test_downward): Likewise.
4514 (sin_test_upward): Likewise.
4515 (sincos_test): Likewise.
4516 (sinh_test): Likewise.
4517 (sinh_test_tonearest): Likewise.
4518 (sinh_test_towardzero): Likewise.
4519 (sinh_test_downward): Likewise.
4520 (sinh_test_upward): Likewise.
4521 (sqrt_test): Likewise.
4522 (tan_test): Likewise.
4523 (tan_test_tonearest): Likewise.
4524 (tan_test_towardzero): Likewise.
4525 (tan_test_downward): Likewise.
4526 (tan_test_upward): Likewise.
4527 (tanh_test): Likewise.
4528 (tgamma_test): Likewise.
4529 (y0_test): Likewise.
4530 (y1_test): Likewise.
4531 (yn_test): Likewise.
4533 * math/gen-libm-test.pl (adjust_arg): Remove function.
4534 (special_function): Remove argument $in_func. Only handle
4535 generating output for tables of tests, not inside functions.
4536 (parse_args): Likewise.
4537 (generate_testfile): Remove variable $in_func. Update call to
4539 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4540 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4541 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4542 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4543 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4544 (MAX_VALUE_INIT): Rename macro to max_value.
4545 (MIN_VALUE_INIT): Rename macro to min_value.
4546 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4547 (plus_zero): Remove variable.
4548 (minus_zero): Likewise.
4549 (plus_infty): Likewise.
4550 (minus_infty): Likewise.
4551 (qnan_value): Likewise.
4552 (max_value): Likewise.
4553 (min_value): Likewise.
4554 (min_subnorm_value): Likewise.
4556 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4558 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4559 uint64_t or uint32_t usage.
4560 * crypt/sha256-block.c: Likewise.
4561 * crypt/sha256-crypt.c: Likewise.
4562 * crypt/sha256.c: Likewise.
4563 * crypt/sha512-block.c: Likewise.
4564 * crypt/sha512-crypt.c: Likewise.
4565 * crypt/sha512.c: Likewise.
4566 * debug/backtrace-tst.c: Likewise.
4567 * debug/pcprofiledump.c: Likewise.
4568 * elf/cache.c: Likewise.
4569 * elf/dl-cache.c: Likewise.
4570 * elf/dl-misc.c: Likewise.
4571 * elf/dl-profile.c: Likewise.
4572 * elf/dl-support.c: Likewise.
4573 * elf/ldconfig.c: Likewise.
4574 * elf/sprof.c: Likewise.
4575 * iconv/dummy-repertoire.c: Likewise.
4576 * iconv/iconv_charmap.c: Likewise.
4577 * iconv/skeleton.c: Likewise.
4578 * iconvdata/8bit-generic.c: Likewise.
4579 * iconvdata/cp737.h: Likewise.
4580 * iconvdata/cp775.h: Likewise.
4581 * iconvdata/ibm1008.h: Likewise.
4582 * iconvdata/ibm1025.h: Likewise.
4583 * iconvdata/ibm1046.h: Likewise.
4584 * iconvdata/ibm1097.h: Likewise.
4585 * iconvdata/ibm1112.h: Likewise.
4586 * iconvdata/ibm1122.h: Likewise.
4587 * iconvdata/ibm1123.h: Likewise.
4588 * iconvdata/ibm1124.h: Likewise.
4589 * iconvdata/ibm1129.h: Likewise.
4590 * iconvdata/ibm1130.h: Likewise.
4591 * iconvdata/ibm1132.h: Likewise.
4592 * iconvdata/ibm1133.h: Likewise.
4593 * iconvdata/ibm1137.h: Likewise.
4594 * iconvdata/ibm1140.h: Likewise.
4595 * iconvdata/ibm1141.h: Likewise.
4596 * iconvdata/ibm1142.h: Likewise.
4597 * iconvdata/ibm1143.h: Likewise.
4598 * iconvdata/ibm1144.h: Likewise.
4599 * iconvdata/ibm1145.h: Likewise.
4600 * iconvdata/ibm1146.h: Likewise.
4601 * iconvdata/ibm1147.h: Likewise.
4602 * iconvdata/ibm1148.h: Likewise.
4603 * iconvdata/ibm1149.h: Likewise.
4604 * iconvdata/ibm1153.h: Likewise.
4605 * iconvdata/ibm1154.h: Likewise.
4606 * iconvdata/ibm1155.h: Likewise.
4607 * iconvdata/ibm1156.h: Likewise.
4608 * iconvdata/ibm1157.h: Likewise.
4609 * iconvdata/ibm1158.h: Likewise.
4610 * iconvdata/ibm1160.h: Likewise.
4611 * iconvdata/ibm1161.h: Likewise.
4612 * iconvdata/ibm1162.h: Likewise.
4613 * iconvdata/ibm1163.h: Likewise.
4614 * iconvdata/ibm1164.h: Likewise.
4615 * iconvdata/ibm1166.h: Likewise.
4616 * iconvdata/ibm1167.h: Likewise.
4617 * iconvdata/ibm12712.h: Likewise.
4618 * iconvdata/ibm1390.h: Likewise.
4619 * iconvdata/ibm1399.h: Likewise.
4620 * iconvdata/ibm16804.h: Likewise.
4621 * iconvdata/ibm4517.h: Likewise.
4622 * iconvdata/ibm4899.h: Likewise.
4623 * iconvdata/ibm4909.h: Likewise.
4624 * iconvdata/ibm4971.h: Likewise.
4625 * iconvdata/ibm5347.h: Likewise.
4626 * iconvdata/ibm803.h: Likewise.
4627 * iconvdata/ibm856.h: Likewise.
4628 * iconvdata/ibm901.h: Likewise.
4629 * iconvdata/ibm902.h: Likewise.
4630 * iconvdata/ibm9030.h: Likewise.
4631 * iconvdata/ibm9066.h: Likewise.
4632 * iconvdata/ibm921.h: Likewise.
4633 * iconvdata/ibm922.h: Likewise.
4634 * iconvdata/ibm9448.h: Likewise.
4635 * iconvdata/isiri-3342.h: Likewise.
4636 * iconvdata/jis0201.h: Likewise.
4637 * include/link.h: Likewise.
4638 * include/netdb.h: Likewise.
4639 * inet/check_native.c: Likewise.
4640 * inet/check_pf.c: Likewise.
4641 * inet/getipv4sourcefilter.c: Likewise.
4642 * inet/getnameinfo.c: Likewise.
4643 * inet/getsourcefilter.c: Likewise.
4644 * inet/htonl.c: Likewise.
4645 * inet/setipv4sourcefilter.c: Likewise.
4646 * inet/setsourcefilter.c: Likewise.
4647 * inet/test-inet6_opt.c: Likewise.
4648 * inet/tst-network.c: Likewise.
4649 * locale/C-collate.c: Likewise.
4650 * locale/C-ctype.c: Likewise.
4651 * locale/C-time.c: Likewise.
4652 * locale/C-translit.h: Likewise.
4653 * locale/loadarchive.c: Likewise.
4654 * locale/programs/3level.h: Likewise.
4655 * locale/programs/charmap.c: Likewise.
4656 * locale/programs/charmap.h: Likewise.
4657 * locale/programs/ld-address.c: Likewise.
4658 * locale/programs/ld-collate.c: Likewise.
4659 * locale/programs/ld-ctype.c: Likewise.
4660 * locale/programs/ld-identification.c: Likewise.
4661 * locale/programs/ld-measurement.c: Likewise.
4662 * locale/programs/ld-messages.c: Likewise.
4663 * locale/programs/ld-monetary.c: Likewise.
4664 * locale/programs/ld-name.c: Likewise.
4665 * locale/programs/ld-numeric.c: Likewise.
4666 * locale/programs/ld-paper.c: Likewise.
4667 * locale/programs/ld-telephone.c: Likewise.
4668 * locale/programs/ld-time.c: Likewise.
4669 * locale/programs/linereader.c: Likewise.
4670 * locale/programs/locale.c: Likewise.
4671 * locale/programs/locarchive.c: Likewise.
4672 * locale/programs/locfile.h: Likewise.
4673 * locale/programs/repertoire.c: Likewise.
4674 * locale/programs/simple-hash.c: Likewise.
4675 * locale/programs/simple-hash.h: Likewise.
4676 * malloc/memusage.c: Likewise.
4677 * malloc/memusagestat.c: Likewise.
4678 * nis/nis_defaults.c: Likewise.
4679 * nis/nis_hash.c: Likewise.
4680 * nis/nis_print.c: Likewise.
4681 * nis/nis_xdr.c: Likewise.
4682 * nscd/connections.c: Likewise.
4683 * nscd/hstcache.c: Likewise.
4684 * nscd/nscd_gethst_r.c: Likewise.
4685 * nscd/nscd_getserv_r.c: Likewise.
4686 * nscd/nscd_helper.c: Likewise.
4687 * nscd/servicescache.c: Likewise.
4688 * nss/makedb.c: Likewise.
4689 * nss/nss_db/db-XXX.c: Likewise.
4690 * nss/nss_db/db-initgroups.c: Likewise.
4691 * nss/nss_db/db-netgrp.c: Likewise.
4692 * nss/nss_files/files-network.c: Likewise.
4693 * nss/nss_files/files-parse.c: Likewise.
4694 * posix/bug-regex5.c: Likewise.
4695 * posix/fnmatch_loop.c: Likewise.
4696 * posix/regcomp.c: Likewise.
4697 * posix/regexec.c: Likewise.
4698 * posix/tst-rfc3484-2.c: Likewise.
4699 * posix/tst-rfc3484-3.c: Likewise.
4700 * posix/tst-rfc3484.c: Likewise.
4701 * resolv/nss_dns/dns-canon.c: Likewise.
4702 * resolv/nss_dns/dns-network.c: Likewise.
4703 * resolv/res_init.c: Likewise.
4704 * resolv/res_mkquery.c: Likewise.
4705 * resolv/tst-aton.c: Likewise.
4706 * stdlib/cxa_atexit.c: Likewise.
4707 * stdlib/cxa_finalize.c: Likewise.
4708 * stdlib/gen-fpioconst.c: Likewise.
4709 * stdlib/strtol_l.c: Likewise.
4710 * string/tst-endian.c: Likewise.
4711 * sunrpc/auth_des.c: Likewise.
4712 * sunrpc/clnt_udp.c: Likewise.
4713 * sunrpc/rtime.c: Likewise.
4714 * sunrpc/svcauth_des.c: Likewise.
4715 * sunrpc/xdr.c: Likewise.
4716 * sunrpc/xdr_intXX_t.c: Likewise.
4717 * sunrpc/xdr_rec.c: Likewise.
4718 * sysdeps/generic/ldconfig.h: Likewise.
4719 * sysdeps/generic/ldsodefs.h: Likewise.
4720 * sysdeps/generic/memusage.h: Likewise.
4721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4724 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4727 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4729 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4731 * sysdeps/posix/getaddrinfo.c: Likewise.
4732 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4733 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4734 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4735 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4736 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4737 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4738 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4739 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4740 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4741 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4742 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4743 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4744 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4745 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4746 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4747 * sysdeps/x86_64/dl-tls.h: Likewise.
4748 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4749 * time/alt_digit.c: Likewise.
4750 * time/era.c: Likewise.
4751 * wcsmbs/tst-c16c32-1.c: Likewise.
4753 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4755 * math/libm-test.inc (struct test_sincos_data): New type.
4756 (RUN_TEST_LOOP_sincos): New macro.
4757 (sincos_test_data): New variable.
4758 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4760 2013-05-16 Richard Henderson <rth@redhat.com>
4762 * math/atest-exp2.c (LIMB64): New macro.
4763 (CONSTSZ): New macro.
4764 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4766 (print_mpn_fp): ... to function scope.
4767 (read_mpn_hex): Remove.
4769 (exp2_mpn): Use mp_log2.
4770 (main): Use mp_exp1.
4772 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4774 * math/libm-test.inc: Remove comment about not testing "inexact"
4776 (INEXACT_EXCEPTION): New macro.
4777 (NO_INEXACT_EXCEPTION): Likewise.
4778 (INVALID_EXCEPTION_OK): Update value.
4779 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4780 (OVERFLOW_EXCEPTION_OK): Likewise.
4781 (UNDERFLOW_EXCEPTION_OK): Likewise.
4782 (IGNORE_ZERO_INF_SIGN): Likewise.
4783 (ERRNO_UNCHANGED): Likewise.
4784 (ERRNO_EDOM): Likewise.
4785 (ERRNO_ERANGE): Likewise.
4786 (test_exceptions): Handle testing "inexact" exceptions.
4787 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4788 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4789 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4790 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4792 (rint_towardzero_test_data): Likewise.
4793 (rint_downward_test_data): Likewise.
4794 (rint_upward_test_data): Likewise.
4796 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4797 with OVERFLOW_EXCEPTION.
4798 (exp10_test_data): Likewise.
4799 (exp2_test_data): Likewise.
4800 (expm1_test_data): Likewise.
4801 (lgamma_test_data): Likewise.
4802 (pow_test_data): Likewise.
4803 (tgamma_test_data): Likewise.
4804 (yn_test_data): Remove duplicate test of overflow.
4806 * math/libm-test.inc (struct test_cc_c_data): New type.
4807 (RUN_TEST_LOOP_cc_c): New macro.
4808 (cpow_test_data): New variable.
4809 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4811 * math/libm-test.inc (struct test_f_L_data): New type.
4812 (RUN_TEST_LOOP_f_L): New macro.
4813 (llrint_test_data): New variable.
4814 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4815 (llrint_tonearest_test_data): New variable.
4816 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4817 (llrint_towardzero_test_data): New variable.
4818 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4819 (llrint_downward_test_data): New variable.
4820 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4821 (llrint_upward_test_data): New variable.
4822 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4823 (llround_test_data): New variable.
4824 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4826 2013-05-13 Peter Collingbourne <pcc@google.com>
4828 * math/atest-exp2.c (get_log2): Remove const attribute.
4830 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4832 * math/libm-test.inc (struct test_f_l_data): New type.
4833 (RUN_TEST_LOOP_f_l): New macro.
4834 (lrint_test_data): New variable.
4835 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4836 (lrint_tonearest_test_data): New variable.
4837 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4838 (lrint_towardzero_test_data): New variable.
4839 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4840 (lrint_downward_test_data): New variable.
4841 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4842 (lrint_upward_test_data): New variable.
4843 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4844 (lround_test_data): New variable.
4845 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4847 2013-05-15 Peter Collingbourne <pcc@google.com>
4849 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4850 (EXTRACT_WORDS64) Use where appropriate.
4851 (INSERT_WORDS64) Likewise.
4853 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4854 constraints with x constraints.
4855 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4857 * malloc/obstack.c (_obstack_compat): Add initializer.
4859 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4861 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4862 si_trapno and add si_addr_lsb to _sifields.sigfault.
4863 (si_trapno): Remove macro.
4864 (si_addr_lsb): Define new macro.
4865 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4867 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4869 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4870 instead of TEST_f_l.
4871 (llrint_test_tonearest): Likewise.
4872 (llrint_test_towardzero): Likewise.
4873 (llrint_test_downward): Likewise.
4874 (llrint_test_upward): Likewise.
4875 (llround_test): Likewise.
4877 * math/libm-test.inc (struct test_f_i_data): Add comment.
4878 (RUN_TEST_LOOP_f_b): New macro.
4879 (RUN_TEST_LOOP_f_b_tg): Likewise.
4880 (finite_test_data): New variable.
4881 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4882 (isfinite_test_data): New variable.
4883 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4884 (isinf_test_data): New variable.
4885 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4886 (isnan_test_data): New variable.
4887 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4888 (isnormal_test_data): New variable.
4889 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4890 (issignaling_test_data): New variable.
4891 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4892 (signbit_test_data): New variable.
4893 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4895 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4896 with INVALID_EXCEPTION.
4897 (acosh_test_data): Likewise.
4898 (asin_test_data): Likewise.
4899 (atanh_test_data): Likewise.
4900 (fmod_test_data): Likewise.
4901 (log_test_data): Likewise.
4902 (log10_test_data): Likewise.
4903 (log2_test_data): Likewise.
4904 (pow_test_data): Likewise.
4905 (sqrt_test_data): Likewise.
4906 (y0_test_data): Likewise.
4907 (y1_test_data): Likewise.
4908 (yn_test_data): Likewise.
4910 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4913 * math/libm-test.inc (struct test_ff_i_data): New type.
4914 (RUN_TEST_LOOP_ff_i_tg): New macro.
4915 (isgreater_test_data): New variable.
4916 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4917 (isgreaterequal_test_data): New variable.
4918 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4919 (isless_test_data): New variable.
4920 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4921 (islessequal_test_data): New variable.
4922 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4923 (islessgreater_test_data): New variable.
4924 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4925 (isunordered_test_data): New variable.
4926 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4928 2013-05-14 David S. Miller <davem@davemloft.net>
4930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4932 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4934 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4936 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4938 (struct test_f_i_data): Change type of max_ulp to int.
4940 * math/libm-test.inc (test_ffI_f1_data): New type.
4941 (RUN_TEST_LOOP_ffI_f1): New macro.
4942 (remquo_test_data): New variable.
4943 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4945 * setjmp/tst-setjmp-fp.c: New file.
4946 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4947 (link-libm): New variable.
4948 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4950 * math/libm-test.inc (struct test_f_i_data): New type.
4951 (RUN_TEST_LOOP_f_i): New macro.
4952 (RUN_TEST_LOOP_f_i_tg): Likewise.
4953 (fpclassify_test_data): New variable.
4954 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4955 (ilogb_test_data): New variable.
4956 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4958 * math/libm-test.inc (scalbln_test): Correct function name in END
4961 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4962 (RUN_TEST_LOOP_fI_f1): New macro.
4963 (frexp_test_data): New variable.
4964 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4966 * math/libm-test.inc (struct test_fF_f1_data): New type.
4967 (RUN_TEST_LOOP_fF_f1): New macro.
4968 (modf_test_data): New variable.
4969 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4971 * math/libm-test.inc (struct test_f_f1_data): New type.
4972 (RUN_TEST_LOOP_f_f1): New macro.
4973 (gamma_test_data): New variable.
4974 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4975 (lgamma_test_data): New variable.
4976 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4978 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4980 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4981 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4982 (main): Comment "tls" pseudo-hwcap.
4984 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4986 * math/libm-test.inc (struct test_fl_f_data): New type.
4987 (RUN_TEST_LOOP_fl_f): New variable.
4988 (scalbln_test_data): New variable.
4989 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4991 * math/libm-test.inc (struct test_fi_f_data): New type.
4992 (RUN_TEST_LOOP_fi_f): New macro.
4993 (ldexp_test_data): New variable.
4994 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4995 (scalbn_test_data): New variable.
4996 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4998 * math/libm-test.inc (struct test_c_f_data): New type.
4999 (RUN_TEST_LOOP_c_f): New macro.
5000 (cabs_test_data): New variable.
5001 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5002 (carg_test_data): New variable.
5003 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5004 (cimag_test_data): New variable.
5005 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5006 (creal_test_data): New variable.
5007 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5009 * math/libm-test.inc (struct test_if_f_data): New type.
5010 (RUN_TEST_LOOP_if_f): New macro.
5011 (jn_test_data): New variable.
5012 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5013 (yn_test_data): New variable.
5014 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5016 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5018 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5021 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5023 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5025 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5026 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5027 (bench-deps): Add bench-timing.h.
5028 * benchtests-bench-skeleton.c: Include bench-timing.h.
5029 (main): Use TIMING_* macros instead of clock_gettime.
5030 * benchtests/bench-timing.h: New file.
5033 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5034 Renamed from _LIB_VERSION.
5035 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5037 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5039 * math/libm-test.inc (struct test_fff_f_data): New type.
5040 (RUN_TEST_LOOP_fff_f): New macro.
5041 (fma_test_data): New variable.
5042 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5043 (fma_towardzero_test_data): New variable.
5044 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5045 (fma_downward_test_data): New variable.
5046 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5047 (fma_upward_test_data): New variable.
5048 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5050 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5051 (struct test_c_c_data): New type.
5052 (RUN_TEST_LOOP_c_c): New macro.
5053 (cacos_test_data): New variable.
5054 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5055 (cacosh_test_data): New variable.
5056 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5057 (casin_test_data): New variable.
5058 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5059 (casinh_test_data): New variable.
5060 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5061 (catan_test_data): New variable.
5062 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5063 (catanh_test_data): New variable.
5064 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5065 (ccos_test_data): New variable.
5066 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5067 (ccosh_test_data): New variable.
5068 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5069 (cexp_test_data): New variable.
5070 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5071 (clog_test_data): New variable.
5072 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5073 (clog10_test_data): New variable.
5074 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5075 (conj_test_data): New variable.
5076 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5077 (cproj_test_data): New variable.
5078 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5079 (csin_test_data): New variable.
5080 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5081 (csinh_test_data): New variable.
5082 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5083 (csqrt_test_data): New variable.
5084 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5085 (ctan_test_data): New variable.
5086 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5087 (ctan_tonearest_test_data): New variable.
5088 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5089 (ctan_towardzero_test_data): New variable.
5090 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5091 (ctan_downward_test_data): New variable.
5092 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5093 (ctan_upward_test_data): New variable.
5094 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5095 (ctanh_test_data): New variable.
5096 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5097 (ctanh_tonearest_test_data): New variable.
5098 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5099 (ctanh_towardzero_test_data): New variable.
5100 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5101 (ctanh_downward_test_data): New variable.
5102 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5103 (ctanh_upward_test_data): New variable.
5104 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5105 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5108 * math/libm-test.inc (struct test_ff_f_data): New type.
5109 (struct test_ff_f_data_nexttoward): Likewise.
5110 (RUN_TEST_LOOP_2_f): New macro.
5111 (RUN_TEST_LOOP_ff_f): Likewise.
5112 (atan2_test_data): New variable.
5113 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5114 (copysign_test_data): New variable.
5115 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5116 (fdim_test_data): New variable.
5117 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5118 (fmax_test_data): New variable.
5119 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5120 (fmin_test_data): New variable.
5121 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5122 (fmod_test_data): New variable.
5123 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5124 (hypot_test_data): New variable.
5125 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5126 (nextafter_test_data): New variable.
5127 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5128 (nexttoward_test_data): New variable.
5129 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5130 (pow_test_data): New variable.
5131 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5132 (pow_tonearest_test_data): New variable.
5133 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5134 (pow_towardzero_test_data): New variable.
5135 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5136 (pow_downward_test_data): New variable.
5137 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5138 (pow_upward_test_data): New variable.
5139 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5140 (remainder_test_data): New variable.
5141 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5142 (scalb_test_data): New variable.
5143 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5146 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5148 * math/libm-test.inc (fma_test): Use max_value instead of local
5150 (nextafter_test): Likewise.
5152 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5153 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5154 (acos_downward_test_data): New variable.
5155 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5156 (acos_upward_test_data): New variable.
5157 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5158 (acosh_test_data): New variable.
5159 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5160 (asin_test_data): New variable.
5161 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5162 (asin_tonearest_test_data): New variable.
5163 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5164 (asin_towardzero_test_data): New variable.
5165 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5166 (asin_downward_test_data): New variable.
5167 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5168 (asin_upward_test_data): New variable.
5169 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5170 (asinh_test_data): New variable.
5171 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5172 (atan_test_data): New variable.
5173 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5174 (atanh_test_data): New variable.
5175 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5176 (cbrt_test_data): New variable.
5177 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5178 (ceil_test_data): New variable.
5179 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5180 (cos_test_data): New variable.
5181 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5182 (cos_tonearest_test_data): New variable.
5183 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5184 (cos_towardzero_test_data): New variable.
5185 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5186 (cos_downward_test_data): New variable.
5187 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5188 (cos_upward_test_data): New variable.
5189 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5190 (cosh_test_data): New variable.
5191 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5192 (cosh_tonearest_test_data): New variable.
5193 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5194 (cosh_towardzero_test_data): New variable.
5195 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5196 (cosh_downward_test_data): New variable.
5197 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5198 (cosh_upward_test_data): New variable.
5199 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5200 (erf_test_data): New variable.
5201 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5202 (erfc_test_data): New variable.
5203 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5204 (exp_test_data): New variable.
5205 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5206 (exp_tonearest_test_data): New variable.
5207 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5208 (exp_towardzero_test_data): New variable.
5209 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5210 (exp_downward_test_data): New variable.
5211 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5212 (exp_upward_test_data): New variable.
5213 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5214 (exp10_test_data): New variable.
5215 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5216 (exp2_test_data): New variable.
5217 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5218 (expm1_test_data): New variable.
5219 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5220 (fabs_test_data): New variable.
5221 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5222 (floor_test_data): New variable.
5223 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5224 (j0_test_data): New variable.
5225 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5226 (j1_test_data): New variable.
5227 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5228 (log_test_data): New variable.
5229 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5230 (log10_test_data): New variable.
5231 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5232 (log1p_test_data): New variable.
5233 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5234 (log2_test_data): New variable.
5235 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5236 (logb_test_data): New variable.
5237 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5238 (logb_downward_test_data): New variable.
5239 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5240 (nearbyint_test_data): New variable.
5241 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5242 (rint_test_data): New variable.
5243 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5244 (rint_tonearest_test_data): New variable.
5245 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5246 (rint_towardzero_test_data): New variable.
5247 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5248 (rint_downward_test_data): New variable.
5249 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5250 (rint_upward_test_data): New variable.
5251 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5252 (round_test_data): New variable.
5253 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5254 (sin_test_data): New variable.
5255 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5256 (sin_tonearest_test_data): New variable.
5257 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5258 (sin_towardzero_test_data): New variable.
5259 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5260 (sin_downward_test_data): New variable.
5261 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5262 (sin_upward_test_data): New variable.
5263 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5264 (sinh_test_data): New variable.
5265 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5266 (sinh_tonearest_test_data): New variable.
5267 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5268 (sinh_towardzero_test_data): New variable.
5269 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5270 (sinh_downward_test_data): New variable.
5271 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5272 (sinh_upward_test_data): New variable.
5273 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5274 (sqrt_test_data): New variable.
5275 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5276 (tan_test_data): New variable.
5277 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5278 (tan_tonearest_test_data): New variable.
5279 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5280 (tan_towardzero_test_data): New variable.
5281 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5282 (tan_downward_test_data): New variable.
5283 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5284 (tan_upward_test_data): New variable.
5285 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5286 (tanh_test_data): New variable.
5287 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5288 (tgamma_test_data): New variable.
5289 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5290 (trunc_test_data): New variable.
5291 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5292 (y0_test_data): New variable.
5293 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5294 (y1_test_data): New variable.
5295 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5296 (significand_test_data): New variable.
5297 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5299 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5302 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5304 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5306 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5308 2013-05-10 Andreas Jaeger <aj@suse.de>
5311 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5312 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5314 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5316 * math/gen-libm-test.pl (adjust_arg): New function.
5317 (special_functions): Handle generating output in both functions
5319 (parse_args): Likewise.
5320 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5321 $in_func argument to parse_args.
5322 * math/libm-test.inc (struct test_f_f_data): New type.
5323 (IF_ROUND_INIT_): New macro.
5324 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5325 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5326 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5327 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5328 (ROUND_RESTORE_): Likewise.
5329 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5330 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5331 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5332 (ROUND_RESTORE_FE_UPWARD): Likewise.
5333 (RUN_TEST_LOOP_f_f): New macro.
5334 (acos_test_data): New variable.
5335 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5336 (acos_tonearest_test_data): New variable.
5337 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5339 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5341 * benchtests/bench-skeleton.c (startup): Fix coding style.
5343 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5346 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5347 negative infinity argument.
5348 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5349 negative infinity argument.
5350 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5351 negative infinity argument.
5352 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5355 2013-05-10 Florian Weimer <fweimer@redhat.com>
5357 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5358 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5359 * iconv/iconv_prog.c (main): Likewise.
5360 * locale/programs/charmap-dir.c (charmap_readdir)
5361 (fopen_uncompressed): Likewise.
5362 * locale/programs/locfile.c (siblings_uncached)
5363 (write_locale_data): Use lstat64 instead of lstat.
5364 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5367 2013-05-10 Andreas Jaeger <aj@suse.de>
5370 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5374 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5376 * elf/dl-close.c (_dl_close_worker): Add comments.
5378 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5381 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5383 (__ieee754_rem_pio2l): Update comments.
5386 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5388 (__ieee754_rem_pio2l): Update comments.
5390 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5391 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5393 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5396 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5397 (M_PI_34_LOG10El): Likewise.
5398 (M_PI2_LOG10El): Likewise.
5399 (M_PI4_LOG10El): Likewise.
5400 (M_PI_LOG10El): Likewise.
5402 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5406 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5408 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5409 (MINUS_ZERO_INIT): Likewise.
5410 (PLUS_INFTY_INIT): Likewise.
5411 (MINUS_INFTY_INIT): Likewise.
5412 (QNAN_VALUE_INIT): Likewise.
5413 (MAX_VALUE_INIT): Likewise.
5414 (MIN_VALUE_INIT): Likewise.
5415 (MIN_SUBNORM_VALUE_INIT): Likewise.
5416 (plus_zero): Initialize with PLUS_ZERO_INIT.
5417 (minus_zero): Initialize with MINUS_ZERO_INIT.
5418 (plus_infty): Initialize with PLUS_INFTY_INIT.
5419 (minus_infty): Initialize with MINUS_INFTY_INIT.
5420 (qnan_value): Initialize with QNAN_VALUE_INIT.
5421 (max_value): Initialize with MAX_VALUE_INIT.
5422 (min_value): Initialize with MIN_VALUE_INIT.
5423 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5425 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5426 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5427 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5428 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5430 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5431 (RUN_TEST_2_f): Likewise.
5432 (RUN_TEST_ff_f): Likewise.
5433 (RUN_TEST_fi_f): Likewise.
5434 (RUN_TEST_fl_f): Likewise.
5435 (RUN_TEST_fff_f): Likewise.
5436 (RUN_TEST_c_f): Likewise.
5437 (RUN_TEST_f_f1): Likewise.
5438 (RUN_TEST_fF_f1): Likewise.
5439 (RUN_TEST_fI_f1): Likewise.
5440 (RUN_TEST_ffI_f1): Likewise.
5441 (RUN_TEST_c_c): Likewise.
5442 (RUN_TEST_cc_c): Likewise.
5443 (RUN_TEST_f_i): Likewise.
5444 (RUN_TEST_f_i_tg): Likewise.
5445 (RUN_TEST_ff_i_tg): Likewise.
5446 (RUN_TEST_f_b): Likewise.
5447 (RUN_TEST_f_b_tg): Likewise.
5448 (RUN_TEST_f_l): Likewise.
5449 (RUN_TEST_f_L): Likewise.
5450 (RUN_TEST_sincos): Likewise.
5451 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5452 whether to show exceptions. Do not include ");\n" in return
5454 (special_functions): Output call to RUN_TEST_sincos instead of
5455 check_float calls. Update calls to new_test.
5456 (parse_args): Output call to single RUN_TEST_* macro instead of
5457 check_* calls and other assignments. Update calls to new_test.
5463 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5464 input to result for tgamma overflow.
5465 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5466 (gamma_coeff): New variable.
5467 (NCOEFF): New macro.
5468 (gamma_positive): New function.
5469 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5470 underflow here. Use gamma_positive instead of exp (lgamma) for
5472 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5473 (gamma_coeff): New variable.
5474 (NCOEFF): New macro.
5475 (gammaf_positive): New function.
5476 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5477 underflow here. Use gamma_positive instead of exp (lgamma) for
5479 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5480 (gamma_coeff): New variable.
5481 (NCOEFF): New macro.
5482 (gammal_positive): New function.
5483 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5484 underflow here. Use gamma_positive instead of exp (lgamma) for
5486 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5487 (gamma_coeff): New variable.
5488 (NCOEFF): New macro.
5489 (gammal_positive): New function.
5490 (__ieee754_gammal_r): Handle positive infinity, overflow and
5491 underflow here. Handle NaN the same as positive infinity. Remove
5492 check x < 0xffffffff for negative integers. Use gamma_positive
5493 instead of exp (lgamma) for other arguments.
5494 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5495 (gamma_coeff): New variable.
5496 (NCOEFF): New macro.
5497 (gammal_positive): New function.
5498 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5499 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5504 * sysdeps/generic/math_private.h (__gamma_productf): New
5506 (__gamma_product): Likewise.
5507 (__gamma_productl): Likewise.
5508 * math/Makefile (libm-calls): Add gamma_product.
5509 * math/libm-test.inc (tgamma_test): Add more tests.
5510 * sysdeps/i386/fpu/libm-test-ulps: Update.
5511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5513 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5515 * benchtests/bench-skeleton.c (main): Preheat CPU.
5517 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5519 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5521 2013-05-07 Roland McGrath <roland@hack.frob.com>
5523 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5524 and _dl_skip_args_internal.
5526 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5528 * manual/message.texi (Message Translation): Talk about users.
5529 Message to key mapping impacts design.
5531 2013-05-06 Roland McGrath <roland@hack.frob.com>
5533 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5535 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5537 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5538 * sysdeps/wordsize-64/glob64.c: ... here.
5540 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5541 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5544 * debug/getlogin_r_chk.c: Moved to ...
5545 * login/getlogin_r_chk.c: ... here.
5546 * debug/Makefile (routines): Move getlogin_r_chk to ...
5547 * login/Makefile (routines): ... here.
5548 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5549 * login/Versions (libc: GLIBC_2.4): ... here.
5551 * io/poll.c (__poll): Renamed from poll.
5552 Add libc_hidden_def.
5553 (poll): Define as weak alias.
5555 * debug/ptsname_r_chk.c: Moved to ...
5556 * login/ptsname_r_chk.c: ... here.
5557 * debug/Makefile (routines): Move ptsname_r_chk to ...
5558 * login/Makefile (routines): ... here.
5559 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5560 * login/Versions (libc: GLIBC_2.4): ... here.
5562 * posix/getlogin.c: Moved to ...
5563 * login/getlogin.c: ... here.
5564 * posix/getlogin_r.c: Moved to ...
5565 * login/getlogin_r.c: ... here.
5566 * posix/getlogin_r.c: Moved to ...
5567 * login/getlogin_r.c: ... here.
5568 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5569 * login/Makefile (routines): ... here.
5570 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5571 * login/Versions (libc: GLIBC_2.0): ... here.
5573 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5574 (setrlimit): Define as weak alias.
5576 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5577 Call __ names for open, ftruncate, and close.
5578 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5579 (truncate): Define as weak alias.
5581 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5583 * math/gen-libm-test.pl (parse_args): Initialize x before each
5584 test of frexp, modf and remquo.
5586 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5589 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5593 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5595 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5597 2013-05-06 Roland McGrath <roland@hack.frob.com>
5599 * elf/dl-writev.h: New file.
5600 * elf/dl-misc.c: Include it.
5601 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5602 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5604 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5606 * math/libm-test.inc (noXFails): Remove variable.
5607 (noXPasses): Likewise.
5608 (BUILD_COMPLEX_INT): Remove macro.
5609 (print_screen): Remove xfail argument.
5610 (print_screen_max_error): Likewise.
5611 (update_stats): Likewise.
5612 (print_max_error): Likewise. Update calls to other affected
5614 (print_complex_max_error): Likewise.
5615 (test_single_exception): Update calls to print_screen.
5616 (test_single_errno): Likewise.
5617 (check_float_internal): Remove xfail argument. Update calls to
5618 other affected functions.
5619 (check_float): Likewise.
5620 (check_complex): Likewise.
5621 (check_int): Likewise.
5622 (check_long): Likewise.
5623 (check_bool): Likewise.
5624 (check_longlong): Likewise.
5625 (main): Don't print noXFails and noXPasses.
5626 * math/gen-libm-test.pl (top level): Don't mention expected
5627 failure handling in comment.
5628 (new_test): Don't handle expected failures.
5629 (parse_args): Don't mention expected failure handling in comment.
5630 (generate_testfile): Don't handle expected failures.
5631 (parse_ulps): Likewise.
5632 (print_ulps_file): Likewise.
5633 (get_failure): Remove function.
5634 (output_test): Don't handle expected failures.
5635 * make/README.libm-test: Don't mention expected failure handling.
5637 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5638 (minus_zero): Likewise.
5639 (plus_infty): Likewise.
5640 (minus_infty): Likewise.
5641 (qnan_value): Likewise.
5642 (max_value): Likewise.
5643 (min_value): Likewise.
5644 (min_subnorm_value): Likewise.
5645 (initialize): Do not initialize those variables dynamically.
5647 2013-05-03 Roland McGrath <roland@hack.frob.com>
5649 * io/open.c (__open_2): Moved to ...
5650 * io/open_2.c: ... this new file.
5651 * io/open64.c (__open64_2): Moved to ...
5652 * io/open64_2.c: ... this new file.
5653 * io/openat.c (__openat_2): Moved to ...
5654 * io/openat_2.c: ... this new file.
5655 * io/openat64.c (__openat64_2): Moved to ...
5656 * io/openat64_2.c: ... this new file.
5657 * io/Makefile (routines): Add them.
5658 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5659 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5660 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5661 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5662 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5663 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5664 (__openat64): Add hidden_ver.
5665 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5666 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5668 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5669 Separately conditionalize setting of GLRO(dl_sysinfo) so
5670 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5671 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5673 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5676 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5678 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5679 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5680 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5681 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5682 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5684 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5686 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5689 * math/libm-test.inc (hypot_test): Do not use
5690 IGNORE_ZERO_INF_SIGN.
5692 2013-05-03 Andreas Jaeger <aj@suse.de>
5694 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5696 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5697 (PF_MAX): Adjust for VSOCK change.
5699 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5703 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5706 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5707 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5708 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5710 2013-05-02 David S. Miller <davem@davemloft.net>
5712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5714 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5716 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5718 2013-05-01 Roland McGrath <roland@hack.frob.com>
5720 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5722 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5725 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5726 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5727 Use __attribute__ ((__gnu_inline__)).
5728 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5729 Don't use __attribute__ ((__gnu_inline__)).
5731 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5734 * math/s_catan.c (__catan): Handle small real or imaginary part of
5735 input specially to avoid spurious underflow.
5736 * math/s_catanf.c (__catanf): Likewise.
5737 * math/s_catanh.c (__catanh): Likewise.
5738 * math/s_catanhf.c (__catanhf): Likewise.
5739 * math/s_catanhl.c (__catanhl): Likewise.
5740 * math/s_catanl.c (__catanl): Likewise.
5741 * math/libm-test.inc (catan_test): Add more tests.
5742 (catanh_test): Likewise.
5743 * sysdeps/i386/fpu/libm-test-ulps: Update.
5744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5746 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5750 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5753 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5754 accurately for denominator in atan2.
5755 * math/s_catanf.c (__catanf): Likewise.
5756 * math/s_catanh.c (__catanh): Likewise.
5757 * math/s_catanhf.c (__catanhf): Likewise.
5758 * math/s_catanhl.c (__catanhl): Likewise.
5759 * math/s_catanl.c (__catanl): Likewise.
5760 * math/libm-test.inc (catan_test): Add more tests.
5761 (catanh_test): Likewise.
5762 * sysdeps/i386/fpu/libm-test-ulps: Update.
5763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5767 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5769 * benchtests/Makefile (bench): Remove slow benchmarks.
5770 * benchtests/atan-inputs: Add slow benchmark inputs.
5771 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5772 (BENCH_FUNC): Accept variant offset.
5774 * benchtests/bench-skeleton.c (main): Run benchmark for each
5776 * benchtests/cos-inputs: Add slow benchmark inputs.
5777 * benchtests/exp-inputs: Likewise.
5778 * benchtests/pow-inputs: Likewise.
5779 * benchtests/sin-inputs: Likewise.
5780 * benchtests/slowatan-inputs: Remove.
5781 * benchtests/slowatan.c: Remove.
5782 * benchtests/slowcos-inputs: Remove.
5783 * benchtests/slowcos.c: Remove.
5784 * benchtests/slowexp-inputs: Remove.
5785 * benchtests/slowexp.c: Remove.
5786 * benchtests/slowpow-inputs: Remove.
5787 * benchtests/slowpow.c: Remove.
5788 * benchtests/slowsin-inputs: Remove.
5789 * benchtests/slowsin.c: Remove.
5790 * benchtests/slowtan-inputs: Remove.
5791 * benchtests/slowtan.c: Remove.
5792 * benchtests/tan-inputs: Add slow benchmark inputs.
5793 * scripts/bench.pl: Parse comments and directives.
5795 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5797 ($(objpfx)bench-%.c): Remove *-ITER.
5798 * benchtests/bench-modf.c: Remove definition of ITER.
5799 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5800 (main): Loop for DURATION seconds instead of fixed number of
5802 * scripts/bench.pl: Don't expect iterations in parameters.
5804 2013-04-29 Roland McGrath <roland@hack.frob.com>
5806 * io/fchdir.c (__fchdir): Renamed from fchdir.
5807 (fchdir): Define as weak alias.
5809 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5811 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5812 (ERRNO_EDOM): Likewise.
5813 (ERRNO_ERANGE): Likewise.
5814 (noErrnoTests): New variable.
5815 (init_max_error): Set errno to 0.
5816 (test_single_errno): New function.
5817 (test_errno): Likewise.
5818 (check_float_internal): Call test_errno. Set errno to 0.
5819 (check_complex): Refer to errno tests in comment.
5820 (check_int): Call test_errno. Set errno to 0.
5821 (check_long): Likewise.
5822 (check_bool): Likewise.
5823 (check_longlong): Likewise.
5824 (cos_test): Use ERRNO_* flags for errno tests instead of
5826 (expm1_test): Likewise.
5827 (fmod_test): Likewise.
5828 (ilogb_test): Likewise.
5829 (lgamma_test): Likewise.
5830 (pow_test): Likewise.
5831 (remainder_test): Likewise.
5832 (sin_test): Likewise.
5833 (tan_test): Likewise.
5834 (yn_test): Likewise.
5835 (initialize): Set errno to 0.
5836 (main): Print number of errno tests.
5837 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5839 2013-04-29 Andreas Jaeger <aj@suse.de>
5842 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5846 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5847 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5851 * stdlib/random.c (__initstate): Return NULL if
5855 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5856 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5859 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5863 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5865 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5866 of individual tests.
5867 (casin_test): Likewise.
5868 (casinh_test): Likewise.
5870 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5873 * math/s_catan.c (__catan): Handle arguments with large real or
5874 imaginary part separately without squaring.
5875 * math/s_catanf.c (__catanf): Likewise.
5876 * math/s_catanh.c (__catanh): Likewise.
5877 * math/s_catanhf.c (__catanhf): Likewise.
5878 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5880 (__catanhl): Handle arguments with large real or imaginary part
5881 separately without squaring.
5882 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5884 (__catanl): Handle arguments with large real or imaginary part
5885 separately without squaring.
5886 * math/libm-test.inc (catan_test): Add more tests.
5887 (catanh_test): Likewise.
5888 * sysdeps/i386/fpu/libm-test-ulps: Update.
5889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5891 2013-04-27 Andreas Jaeger <aj@suse.de>
5894 * stdlib/stdlib.h: Update guards for qecvt.
5895 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5898 2013-04-27 Allan McRae <allan@archlinux.org>
5900 * sysdeps/i386/fpu/libm-test-ulps: Update.
5902 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5905 * math/s_catan.c: Include <float.h>.
5906 (__catan): Ensure underflow exception occurs for underflowed
5908 * math/s_catanf.c: Include <float.h>.
5909 (__catanf): Ensure underflow exception occurs for underflowed
5911 * math/s_catanh.c: Include <float.h>.
5912 (__catanh): Ensure underflow exception occurs for underflowed
5914 * math/s_catanhf.c: Include <float.h>.
5915 (__catanhf): Ensure underflow exception occurs for underflowed
5917 * math/s_catanhl.c: Include <float.h>.
5918 (__catanhl): Ensure underflow exception occurs for underflowed
5920 * math/s_catanl.c: Include <float.h>.
5921 (__catanl): Ensure underflow exception occurs for underflowed
5923 * math/libm-test.inc (catan_test): Add more tests.
5924 (catanh_test): Likewise.
5927 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5929 * math/s_ccoshf.c (__ccoshf): Likewise.
5930 * math/s_ccoshl.c (__ccoshl): Likewise.
5931 * math/s_csin.c (__csin): Likewise.
5932 * math/s_csinf.c (__csinf): Likewise.
5933 * math/s_csinh.c (__csinh): Likewise.
5934 * math/s_csinhf.c (__csinhf): Likewise.
5935 * math/s_csinhl.c (__csinhl): Likewise.
5936 * math/s_csinl.c (__csinl): Likewise.
5937 * math/libm-test.inc (ccos_test): Add more tests.
5938 (ccosh_test): Likewise.
5939 (csin_test): Likewise.
5940 (csinh_test): Likewise.
5942 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5944 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5945 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5946 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5947 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5948 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5949 powerpc/power5+/fpu folders.
5950 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5953 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5957 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5959 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5960 additions to variable.
5961 [$(config-machine) = x86_64] (modules-names): Likewise.
5962 ($(objpfx)tst-audit3): Remove dependency.
5963 ($(objpfx)tst-audit3.out): Likewise.
5964 ($(objpfx)tst-audit4): Likewise.
5965 ($(objpfx)tst-audit4.out): Likewise.
5966 ($(objpfx)tst-audit5): Likewise.
5967 ($(objpfx)tst-audit5.out): Likewise.
5968 ($(objpfx)tst-audit6): Likewise.
5969 ($(objpfx)tst-audit6.out): Likewise.
5970 ($(objpfx)tst-audit7): Likewise.
5971 ($(objpfx)tst-audit7.out): Likewise.
5972 (tst-audit3-ENV): Remove variable.
5973 (tst-audit4-ENV): Likewise.
5974 (tst-audit5-ENV): Likewise.
5975 (tst-audit6-ENV): Likewise.
5976 (tst-audit7-ENV): Likewise.
5977 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5978 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5979 addition to variable.
5980 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5981 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5982 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5983 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5984 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5985 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5986 tst-audit3, tst-audit4 and tst-audit5.
5987 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5988 tst-audit6 and tst-audit7.
5989 [$(subdir) = elf] (modules-names): Add audit modules for those
5991 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5992 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5993 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5994 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5995 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5996 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5997 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5998 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5999 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6000 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6001 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6002 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6003 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6004 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6005 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6006 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6008 [$(subdir) = elf && $(config-cflags-avx) = yes]
6009 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6010 [$(subdir) = elf && $(config-cflags-avx) = yes]
6011 (CFLAGS-tst-auditmod4a.c): Likewise.
6012 [$(subdir) = elf && $(config-cflags-avx) = yes]
6013 (CFLAGS-tst-auditmod4b.c): Likewise.
6014 [$(subdir) = elf && $(config-cflags-avx) = yes]
6015 (CFLAGS-tst-auditmod6b.c): Likewise.
6016 [$(subdir) = elf && $(config-cflags-avx) = yes]
6017 (CFLAGS-tst-auditmod6c.c): Likewise.
6018 [$(subdir) = elf && $(config-cflags-avx) = yes]
6019 (CFLAGS-tst-auditmod7b.c): Likewise.
6020 * elf/tst-audit3.c: Move to ...
6021 * sysdeps/x86_64/tst-audit3.c: ... here.
6022 * elf/tst-audit4.c: Move to ...
6023 * sysdeps/x86_64/tst-audit4.c: ... here.
6024 * elf/tst-audit5.c: Move to ...
6025 * sysdeps/x86_64/tst-audit5.c: ... here.
6026 * elf/tst-audit6.c: Move to ...
6027 * sysdeps/x86_64/tst-audit6.c: ... here.
6028 * elf/tst-audit7.c: Move to ...
6029 * sysdeps/x86_64/tst-audit7.c: ... here.
6030 * elf/tst-auditmod3a.c: Move to ...
6031 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6032 * elf/tst-auditmod3b.c: Move to ...
6033 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6034 * elf/tst-auditmod4a.c: Move to ...
6035 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6036 * elf/tst-auditmod4b.c: Move to ...
6037 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6038 * elf/tst-auditmod5a.c: Move to ...
6039 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6040 * elf/tst-auditmod5b.c: Move to ...
6041 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6042 * elf/tst-auditmod6a.c: Move to ...
6043 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6044 * elf/tst-auditmod6b.c: Move to ...
6045 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6046 * elf/tst-auditmod6c.c: Move to ...
6047 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6048 * elf/tst-auditmod7a.c: Move to ...
6049 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6050 * elf/tst-auditmod7b.c: Move to ...
6051 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6053 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6056 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6057 define unconditionally.
6058 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6059 define unconditionally.
6060 (INT8_C, INT16_C, etc.): Likewise.
6062 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6064 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6065 __ehdr_start with hidden visibility.
6067 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6069 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6071 * math/libm-test.inc (cos_test): Use accurate hex constants.
6072 (sincost_test): Likewise.
6074 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6076 * math/libm-test.inc (catan_test): Add more tests.
6077 (catanh_test): Likewise.
6079 * math/s_catanf.c (__catanf): Use suffixed floating-point
6081 * math/s_catanhf.c (__catanhf): Likewise.
6082 * math/s_catanhl.c (__catanhl): Likewise.
6083 * math/s_catanl.c (__catanl): Likewise.
6086 * math/s_catan.c (__catan): Calculate imaginary part of result
6087 with log1p not log unless computing log of number close to 0.
6088 * math/s_catanf.c (__catanf): Likewise.
6089 * math/s_catanl.c (__catanl): Likewise.
6090 * math/s_catanh.c (__catanh): Calculate real part of result with
6091 log1p not log unless computing log of number close to 0.
6092 * math/s_catanhf.c (__catanhf): Likewise.
6093 * math/s_catanhl.c (__catanhl): Likewise.
6094 * math/libm-test.inc (catan_test): Add more tests.
6095 (catanh_test): Likewise.
6096 * sysdeps/i386/fpu/libm-test-ulps: Update.
6097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6101 * benchtests/Makefile: Mention files in which fast and slow
6102 paths of math functions are implemented.
6104 2013-04-23 Roland McGrath <roland@hack.frob.com>
6106 * sysdeps/posix/timespec_get.c: New file.
6108 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6112 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6114 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6115 powerpc/power5/fpu folders.
6116 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6117 * benchtests/Makefile: Add modf testcase.
6118 * benchtests/bench-modf.c: New file: Benchmark test for mo
6120 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6123 * time/Makefile (tests): Add tst-strptime-whitespace.
6124 * time/strptime_l.c (get_number): Use ISSPACE.
6125 (__strptime_internal): Likewise.
6126 * time/tst-strptime-whitespace.c: New test case.
6128 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6130 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6132 (_nss_files_init): Set it here.
6134 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6136 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6137 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6140 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6142 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6144 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6149 2013-04-21 David S. Miller <davem@davemloft.net>
6151 * po/ru.po: Update Russion translation from translation project.
6153 2013-04-17 Adam Conrad <adconrad@0c3.net>
6155 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6158 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6160 * configure.in: Remove i386 configure warning. Remove i386 case.
6161 * configure: Regenerate.
6162 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6163 Add example to error message.
6164 * sysdeps/i386/configure: Regenerate.
6166 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6168 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6170 * benchtests/cos-inputs: New file.
6171 * benchtests/slowcos-inputs: New file.
6172 * benchtests/slowcos.c: New file.
6173 * benchtests/slowtan-inputs: New file.
6174 * benchtests/slowtan.c: New file.
6175 * benchtests/tan-inputs: New file.
6177 2013-04-16 Roland McGrath <roland@hack.frob.com>
6179 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6182 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6184 * benchtests/Makefile: Include cppflags-iterator.mk to add
6185 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6187 * Makefile.in (bench-clean): New target.
6188 * benchtests/Makefile (bench-clean): Likewise.
6190 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6192 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6194 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6196 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6198 2013-04-15 Andreas Schwab <schwab@suse.de>
6200 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6201 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6202 * nscd/pwdcache.c (cache_addpw): Likewise.
6203 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6206 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6208 * benchtests/Makefile (bench): Write all output to
6209 bench-out.tmp together.
6211 2013-04-15 Andreas Schwab <schwab@suse.de>
6213 * nscd/nscd.c (main): Don't fork again after closing files.
6215 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6217 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6219 * benchtests/Rules (bench-deps): Collect dependencies into a
6220 single variable. Add Makefile to dependencies.
6221 ($(objpfx)bench-%.c): Depend on bench-deps.
6223 2013-04-12 Roland McGrath <roland@hack.frob.com>
6224 Xavier Roche <roche+kml2@exalead.com>
6227 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6228 just that it's a file descriptor.
6229 * manual/llio.texi (Synchronizing AIO Operations): Update description
6230 for EBADF error from aio_fsync.
6232 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6234 * Rules (bench): Move target definition...
6235 * benchtests/Makefile: ... here.
6237 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6239 * math/libm-test.inc (cos_test): Fix PI/2 test.
6240 (sincos_test): Likewise.
6241 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6242 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6244 2013-04-11 Andreas Schwab <schwab@suse.de>
6247 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6248 accept exponent character only when digits were seen.
6249 * stdio-common/Makefile (tests): Add bug26.
6250 * stdio-common/bug26.c: New file.
6253 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6256 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6258 * Makeconfig (rtld-prefix): Define built linker prefix.
6259 * Rules (run-bench): Use it.
6260 * math/Makefile (run-regen-ulps): Likewise.
6262 * Rules (bench): Remove eval.
6264 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6265 Roland McGrath <roland@hack.frob.com>
6266 Ondrej Bilka <neleai@seznam.cz>
6269 * time/getdate.c: Include ctype.h and alloca.h.
6270 (__getdate_r): Trim leading and trailing spaces of input.
6271 * time/tst-getdate.c (tests): Add tests with leading and
6274 2013-04-08 Roland McGrath <roland@hack.frob.com>
6277 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6278 when computing value.
6280 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6282 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6283 Use testrun.sh to run libm tests.
6286 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6288 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6291 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6293 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6295 * Makefile.in (regen-ulps): New target.
6296 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6297 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6298 [ifneq (no,$(PERL)] (regen-ulps): New target.
6299 [ifeq (no,$(PERL)] (regen-ulps): New target.
6300 * math/libm-test.inc (ulps_file_name): Define.
6301 (output_dir): New variable.
6302 (options): Add "output-dir" option.
6303 (parse_opt): Handle 'o' case.
6304 (main): If output_dir is non-NULL use it as a prefix
6306 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6308 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6311 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6312 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6313 fail configure if __sync_val_compare_and_swap is not inlined.
6314 * sysdeps/i386/configure: Regenerate.
6315 * configure.in: Build for i686 when configured for i386.
6316 * configure: Regenerate.
6317 * README: Remove i386 reference.
6319 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6321 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6324 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6326 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6327 (lmsnanval): New variables.
6328 (F): Add conversion tests.
6329 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6330 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6332 * stdio-common/tstdiomisc.c (F): Properly collect individual
6336 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6337 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6338 Instead, use input NaN values or generate a qNaN by arithmetic
6339 operation. Also fix bugs to comply with the standard.
6340 * math/libm-test.inc (remainder_test): Add more tests.
6343 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6345 input NaN values or generate a qNaN by arithmetic operation.
6347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6350 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6353 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6356 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6358 * math/s_cexpf.c (__cexpf): Likewise.
6359 * math/s_cexpl.c (__cexpl): Likewise.
6360 * math/libm-test.inc (cexp_test): Add more tests.
6362 2013-04-03 Andreas Schwab <schwab@suse.de>
6365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6366 order arrays from heap if bigger than alloca cutoff.
6368 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6370 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6371 (SNAN_TESTS_double): Refer to GCC PR56831.
6372 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6375 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6377 * Rules (bench): Move bench.out after the run is complete.
6379 * Rules (bench): Echo currently running benchmark.
6381 * benchtests/Makefile (bench): Add atan and slowatan.
6382 * benchtests/atan-inputs: New file.
6383 * benchtests/slowatan-inputs: New file.
6384 * benchtests/slowatan.c: New file.
6386 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6391 * sysdeps/unix/sysv/linux/kernel-features.h
6392 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6393 __ASSUME_XFS_RESTRICTED_CHOWN.
6394 * sysdeps/unix/sysv/linux/pathconf.c
6395 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6396 Save and restore errno.
6398 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6401 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6402 arguments using __kernel_casinh.
6403 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6404 arguments using __kernel_casinhf.
6405 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6406 arguments using __kernel_casinhl.
6407 * math/libm-test.inc (cacosh_test): Add more tests.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6411 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6413 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6416 * bench/Makefile (bench): Add sin and slowsin.
6417 * benchtests/sin-inputs: New file.
6418 * benchtests/slowsin-inputs: New file.
6419 * benchtests/slowsin.c: New file.
6421 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6422 (bench): Add slowexp and slowpow.
6423 (exp-ITER): Increase iterations.
6424 (pow-ITER): Likewise.
6425 * benchtests/exp-inputs: Change input.
6426 * benchtests/pow-inputs: Likewise.
6427 * benchtests/slowexp-inputs: New file.
6428 * benchtests/slowexp.c: New file.
6429 * benchtests/slowpow-inputs: New file.
6430 * benchtests/slowpow.c: New file.
6432 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6436 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6437 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6438 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6439 * benchtests/Makefile: Add rint benchtest.
6440 * benchtests/rint-inputs: Input for rint benchtest.
6442 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6444 * Versions.def (libm): Add GLIBC_2.18.
6445 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6446 hidden libm prototypes.
6447 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6448 * math/Makefile (libm-calls): Add s_issignaling.
6449 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6450 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6451 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6453 * math/math.h [__USE_GNU] (issignaling): New macro.
6454 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6455 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6460 * manual/arith.texi (issignaling): New section.
6461 * manual/libm-err-tab.pl (@all_functions): Update comment.
6462 * math/gen-libm-test.pl (parse_args): Apply special handling for
6464 * math/libm-test.inc (print_float, issignaling_test): New
6466 (check_float_internal): Add issignaling checks.
6467 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6469 * sysdeps/powerpc/math-tests.h: New file.
6470 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6472 * math/test-snan.c (TEST_FUNC): Likewise.
6474 2013-03-30 David S. Miller <davem@davemloft.net>
6476 * po/de.po: Update from translation team.
6478 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6481 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6482 imaginary part less than 1.0 and real part less than 0.5
6484 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6485 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6486 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6487 (cacos_test): Add more tests.
6488 (casin_test): Likewise.
6489 (casinh_test): Likewise.
6490 * sysdeps/i386/fpu/libm-test-ulps: Update.
6491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6493 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6495 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6498 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6499 (__pow_mp): Replace ONE and MONE with their values.
6500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6501 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6502 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6503 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6504 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6507 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6509 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6510 (__pow_mp): Replace ZERO and MZERO with their values.
6511 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6512 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6515 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6516 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6519 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6521 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6523 2013-03-28 Roland McGrath <roland@hack.frob.com>
6525 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6526 Declare with __attribute__ ((weak)).
6527 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6528 Call __call_tls_dtors only if it's not NULL.
6530 2013-03-28 Roland McGrath <roland@hack.frob.com>
6532 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6533 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6534 magic __ehdr_start linker symbol if it's defined.
6535 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6536 them up here if it was already done.
6538 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6539 (_dl_aux_init): Use const in cast when setting it.
6540 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6541 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6542 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6544 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6546 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6547 * csu/libc-tls.c: Nor here.
6548 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6550 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6551 (__libc_message): Never call vsyslog.
6553 2013-03-28 Alan Modra <amodra@gmail.com>
6555 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6557 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6560 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6563 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6567 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6570 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6571 Don't add gid passed as argument.
6573 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6575 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6578 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6579 imaginary part between 1.0 and 1.5 and real part less than 0.5
6581 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6582 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6583 * math/libm-test.inc (cacos_test): Add more tests.
6584 (casin_test): Likewise.
6585 (casinh_test): Likewise.
6586 * sysdeps/i386/fpu/libm-test-ulps: Update.
6587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6595 (__dbl_mp): Likewise.
6596 (add_magnitudes): Likewise.
6597 (sub_magnitudes): Likewise.
6605 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6607 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6608 (__dubcos): Likewise.
6609 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6610 (__ieee754_acos): Likewise.
6611 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6612 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6617 (my_log2): Likewise.
6618 (checkint): Likewise.
6619 * sysdeps/ieee754/dbl-64/e_remainder.c
6620 (__ieee754_remainder): Likewise.
6621 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6624 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6626 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6627 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6628 MANTISSA_STORE_T to store computations on mantissa. Use
6629 macros for rounding and division.
6631 (__dbl_mp): Likewise.
6632 (add_magnitudes): Likewise.
6633 (sub_magnitudes): Likewise.
6636 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6637 powers of two in terms of TWOPOW macro.
6638 (mp_no): Make type of mantissa as MANTISSA_T.
6639 [!RADIXI]: Define RADIXI.
6640 [!TWO52]: Define TWO52.
6641 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6643 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6645 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6646 llroundl symbol when building for PPC32.
6648 2013-03-24 Mark H Weaver <mhw@netris.org>
6650 * manual/arith.texi (Normalization Functions): Fix prototypes for
6651 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6653 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6656 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6657 high value to check if expl overflow.
6658 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6659 to check for underflow and overflow.
6660 * math/libm-test.inc: Add exp test.
6662 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6665 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6668 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6673 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6675 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6676 wrap blocks consisting of several statements.
6678 * sysdeps/generic/math-tests.h: New file.
6679 * sysdeps/i386/fpu/math-tests.h: Likewise.
6680 * math/test-snan.c: Include it.
6681 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6683 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6686 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6687 (__ieee754_j0l): Do not improve calculations using cos of twice
6688 input for inputs above LDBL_MAX / 2.0L.
6689 (__ieee754_y0l): Likewise.
6690 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6691 (__ieee754_j1l): Do not improve calculations using cos of twice
6692 input for inputs above LDBL_MAX / 2.0L.
6693 (__ieee754_y1l): Likewise.
6694 * math/libm-test.inc (j0_test): Add another test.
6695 (j1_test): Likewise.
6696 (y0_test): Likewise.
6697 (y1_test): Likewise.
6698 * sysdeps/i386/fpu/libm-test-ulps: Update.
6700 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6702 * Rules ($(objpfx)bench-%.c): Include code from a C source
6705 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6708 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6709 imaginary part 1.0 and real part less than 0.5 specially.
6710 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6711 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6712 * math/libm-test.inc (cacos_test): Add more tests.
6713 (casin_test): Likewise.
6714 (casinh_test): Likewise.
6715 * sysdeps/i386/fpu/libm-test-ulps: Update.
6716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6718 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6720 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6721 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6723 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6725 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6726 * config.make.in (config-cflags-sse4): Remove variable.
6727 (config-cflags-avx): Likewise.
6728 (config-cflags-sse2avx): Likewise.
6729 (config-cflags-novzeroupper): Likewise.
6730 (config-asflags-i686): Likewise.
6731 (have-mfma4): Likewise.
6732 (have-as-vis3): Likewise.
6734 * configure.in (MIG): Do not AC_SUBST.
6735 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6736 (libc_cv_cc_sse4): Do not AC_SUBST.
6737 (libc_cv_cc_avx): Likewise.
6738 (libc_cv_cc_sse2avx): Likewise.
6739 (libc_cv_cc_novzeroupper): Likewise.
6740 (libc_cv_cc_fma4): Likewise.
6741 (libc_cv_as_i686): Likewise.
6742 (libc_cv_sparc_as_vis3): Likewise.
6743 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6745 (config-asflags-i686): Likewise.
6746 (config-cflags-avx): Likewise.
6747 (config-cflags-sse2avx): Likewise.
6748 (have-mfma4): Likewise.
6749 (config-cflags-novzeroupper): Likewise.
6750 * sysdeps/mach/configure.in (MIG): Likewise.
6751 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6752 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6754 (config-cflags-avx): Likewise.
6755 (config-cflags-sse2avx): Likewise.
6756 (have-mfma4): Likewise.
6757 (config-cflags-novzeroupper): Likewise.
6758 * configure: Regenerated.
6759 * sysdeps/i386/configure: Likewise.
6760 * sysdeps/mach/configure: Likewise.
6761 * sysdeps/sparc/configure: Likewise.
6762 * sysdeps/x86_64/configure: Likewise.
6764 2013-03-20 Roland McGrath <roland@hack.frob.com>
6767 * locale/programs/localedef.c (options): Put N_ translation marker
6768 on argument names, not just descriptions.
6770 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6772 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6774 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6777 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6779 2013-03-19 Roland McGrath <roland@hack.frob.com>
6781 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6782 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6783 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6784 [!BEFORE_ABORT] (before_abort): New function.
6785 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6786 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6787 (writev_for_fatal): New function.
6788 (WRITEV_FOR_FATAL): New macro; call that.
6789 (backtrace_and_maps): New function.
6790 (BEFORE_ABORT): New macro; call that.
6791 (struct str_list): Type removed.
6792 (__libc_message, __libc_fatal): Functions removed.
6793 Include <sysdeps/posix/libc_fatal.c> instead.
6795 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6797 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6799 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6802 2013-03-19 Andreas Schwab <schwab@suse.de>
6804 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6805 * sysdeps/gnu/configure: Regenerate.
6807 * configure.in: Substitute libc_cv_rtlddir.
6808 * configure: Regenerate.
6809 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6810 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6811 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6812 * elf/Makefile (install-others, CFLAGS-interp.c)
6813 (ldso_install, common-ldd-rewrite): Likewise.
6814 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6815 $(inst_slibdir)/$(rtld-installed-name).
6816 * scripts/rellns-sh: Add -p option.
6817 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6820 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * manual/nptl.texi: Renamed to ...
6823 * manual/threads.texi: ... this.
6824 * manual/Makefile (chapters): Update.
6826 2013-03-18 Roland McGrath <roland@hack.frob.com>
6829 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6830 on argument names, not just descriptions.
6831 * malloc/memusagestat.c (options): Likewise.
6832 * nss/getent.c (options): Likewise.
6834 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6837 * iconv/iconv_prog.c (options): Put N_ translation marker
6838 on argument names, not just descriptions.
6839 * iconv/iconvconfig.c (options): Likewise.
6841 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6843 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6844 implementation which is faster on all x86_64 architectures.
6845 Tested on AMD, Intel Nehalem, SNB, IVB.
6846 * sysdeps/x86_64/strnlen.S: Likewise.
6848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6849 Remove all multiarch strlen and strnlen versions.
6850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6851 Remove strlen and strnlen related parts.
6853 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6855 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6857 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6858 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6859 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6860 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6861 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6862 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6864 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6866 * manual/memory.texi (Malloc Tunable Parameters):
6867 Sort parameters alphabetically. Add comments for missing entries.
6869 2013-03-17 David S. Miller <davem@davemloft.net>
6871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6873 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6876 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6877 for arguments at most half maximum finite value.
6878 * math/libm-test.inc (j0_test): Add more tests.
6879 (j1_test): Likewise.
6880 (y0_test): Likewise.
6881 (y1_test): Likewise.
6882 * sysdeps/i386/fpu/libm-test-ulps: Update.
6883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6886 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6887 1 / x and functions P and Q for arguments above 0x1p256L.
6888 (__ieee754_y0l): Likewise.
6889 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6890 (__ieee754_y1l): Likewise.
6891 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6892 (j1_test): Likewise.
6893 (y0_test): Likewise.
6894 (y1_test): Likewise.
6896 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6898 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6901 2013-03-15 Roland McGrath <roland@hack.frob.com>
6903 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6904 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6905 zero since it's initialized to EXEC_PAGESIZE.
6907 * sysdeps/unix/sysv/linux/ldsodefs.h
6908 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6909 * sysdeps/generic/ldsodefs.h: ... here.
6911 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6913 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6915 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6917 * math/test-snan.c: Renamed from
6918 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6919 * math/Makefile (tests): Add test-snan.
6920 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6923 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6924 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6926 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6927 __builtin_nan family of functions.
6928 * math/libm-test.inc (initialize): Initialize qnan_value with
6929 __builtin_nan family of functions.
6930 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6932 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6934 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6935 storage class. Initialize qNaN_var and sNaN_var with
6936 __builtin_nan and __builtin_nans families of functions,
6939 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6940 (sqrt_test): Remove duplicate test with qNaN input.
6941 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6942 (round_test, signbit_test, significand_test): Note missing +/-Inf
6943 as well as qNaN tests.
6945 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6946 qNaN_var. Fix a few strings, too.
6947 * math/libm-test.inc (nan_value): Rename to qnan_value.
6948 * math/gen-libm-test.pl (%beautify): Adjust to that.
6949 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6950 * math/test-misc.c (main): Likewise.
6951 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6952 to __qnan_bytes, and __qnan_union, respectively.
6953 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6955 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6956 and lqnanval, respectively.
6957 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6958 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6959 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6960 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6962 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6963 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6966 * math/test-misc.c (main): Fix copy'n'pastos.
6967 * misc/tst-efgcvt.c (special): Likewise.
6969 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6970 Remove declarations.
6972 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6974 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6975 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6976 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6977 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6979 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6982 macro to return vdso values correctly in IFUNC implementations.
6983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6984 Optimization by using IFUNC.
6986 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6987 Richard Henderson <rth@redhat.com>
6988 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6990 * Makefile.in (bench): New target.
6991 * NEWS: Mention the benchmark framework.
6992 * Rules (bench): Likewise.
6993 (binaries-bench): Generate binaries for functions to
6995 * benchtests/Makefile: New makefile for benchmark tests.
6996 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6998 * benchtests/exp-inputs: New input file for EXP function.
6999 * benchtests/pow-inputs: New input file for POW function.
7000 * scripts/bench.pl: New script to generate source files for
7003 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7005 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7006 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7007 computations on mantissa. Use macros for rounding and
7010 (__dbl_mp): Likewise.
7011 (add_magnitudes): Likewise.
7012 (sub_magnitudes): Likewise.
7015 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7016 powers of two in terms of TWOPOW macro.
7017 (mp_no): Make type of mantissa as MANTISSA_T.
7018 [!RADIXI]: Define RADIXI.
7019 [!TWO52]: Define TWO52.
7020 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7022 * manual/nptl.texi (cindex): Modify threads to pthreads.
7024 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7026 * sysdeps/x86_64/preconfigure: Regenerated.
7028 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7031 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7033 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7034 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7036 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7037 * math/libm-test.inc (j0_test): Do not allow one spurious
7038 underflow exception.
7039 (y1_test): Likewise.
7041 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7043 * manual/Makefile (chapters): Add nptl.
7044 * manual/debug.texi (Debugging Support): Add link to Threads
7046 * manual/nptl.texi: New file.
7048 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7050 2013-03-14 Petr Baudis <pasky@ucw.cz>
7052 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7053 for non-NULL pointer before the memory validity test. Pointed
7054 out by Holger Brunck <holger.brunck@keymile.com>.
7056 2013-03-13 Andreas Schwab <schwab@suse.de>
7058 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7061 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7063 * timezone/zic.c: Update from tzcode 2013b.
7065 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7067 * manual/install.texi (Configuring and compiling):
7068 Mention i686 and i586.
7069 * INSTALL: Regenerate.
7071 2013-03-12 Roland McGrath <roland@hack.frob.com>
7073 * sysdeps/init_array/elf-init.c: New file.
7075 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7076 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7078 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7079 __gmon_start__ as global, but as static with a .preinit_array pointer.
7080 * sysdeps/init_array/gmon-start.c: New file. Use that.
7081 * sysdeps/init_array/crti.S: New file, empty except for comments.
7082 * sysdeps/init_array/crtn.S: Likewise.
7084 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7086 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7089 Remove Prefer_SSE_for_memop.
7090 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7091 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7092 HAS_PREFER_SSE_FOR_MEMOP.
7093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7096 Remove bzero, memset ifunc support.
7097 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7098 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7099 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7100 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7102 2013-03-11 Andreas Schwab <schwab@suse.de>
7105 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7108 (GLIBC_2.16): Remove pthread_atfork.
7110 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7112 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7113 (ptestcases.h): Likewise.
7115 2013-03-08 Roland McGrath <roland@hack.frob.com>
7117 * Makeconfig ($(common-objpfx)config.status): Depend on
7118 sysdeps/*/preconfigure{,.in} too.
7120 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7122 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7123 (__free_hook): Use void * instead of __malloc_ptr_t.
7124 (__malloc_hook): Likewise.
7125 (__realloc_hook): Likewise.
7126 (__memalign_hook): Likewise.
7127 (__after_morecore_hook): Likewise.
7128 * malloc/arena.c (save_malloc_hook): Likewise.
7129 (save_free_hook): Likewise.
7130 * malloc/hooks.c (malloc_hook_ini): Likewise.
7131 (realloc_hook_ini): Likewise.
7132 (memalign_hook_ini): Likewise.
7133 * malloc/malloc.c (malloc_hook_ini): Likewise.
7134 (realloc_hook_ini): Likewise.
7135 (memalign_hook_ini): Likewise.
7136 (__free_hook): Likewise.
7137 (__malloc_hook): Likewise.
7138 (__realloc_hook): Likewise.
7139 (__memalign_hook): Likewise.
7140 (__libc_malloc): Likewise.
7141 (__libc_free): Likewise.
7142 (__libc_realloc): Likewise.
7143 (__libc_memalign): Likewise.
7144 (__libc_valloc): Likewise.
7145 (__libc_pvalloc): Likewise.
7146 (__libc_calloc): Likewise.
7147 (__posix_memalign): Likewise.
7148 * malloc/morecore.c (__sbrk): Likewise.
7149 (__default_morecore): Likewise.
7151 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7153 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7154 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7157 * malloc/malloc.h (__malloc_size_t): Remove macro.
7158 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7160 (old_memalign_hook): Likewise.
7161 (old_realloc_hook): Likewise.
7162 (struct hdr): Likewise.
7164 (mallochook): Likewise.
7165 (memalignhook): Likewise.
7166 (reallochook): Likewise.
7167 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7168 (tr_old_realloc_hook): Likewise.
7169 (tr_old_memalign_hook): Likewise.
7170 (tr_mallochook): Likewise.
7171 (tr_reallochook): Likewise.
7172 (tr_memalignhook): Likewise.
7174 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7177 default_ldbl_pack and using as default implementation.
7178 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7180 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7181 redundant definition.
7182 (ldbl_insert_mantissa): Likewise.
7183 (ldbl_canonicalize): Likewise.
7184 (ldbl_nearbyint): Likewise.
7185 (ldbl_pack): Rename to ldbl_pack_ppc.
7186 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7187 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7188 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7190 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7193 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7194 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7195 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7197 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7198 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7199 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7201 2013-03-07 Andreas Jaeger <aj@suse.de>
7203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7206 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7208 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7209 Include mpa.h and declare __MPEXP.
7210 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7211 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7212 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7213 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7214 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7215 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7216 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7218 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7219 (__slowpow): Use long double EXPL and LOGL functions to
7221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7222 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7223 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7225 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7226 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7229 intermediate variable to calculate exponent.
7231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7235 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7236 [!NO__SQR]: Define __sqr.
7237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7238 and NO__SQR. Remove all code except __mul and __sqr. Include
7239 sysdeps/ieee754/dbl-64/mpa.c.
7240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7243 * posix/Makefile (tests): Add tst-pathconf.
7244 * posix/tst-pathconf.c: New test case.
7245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7247 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7249 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7251 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7253 2013-03-06 Andreas Jaeger <aj@suse.de>
7255 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7256 definition via __MAP_ANONYMOUS.
7258 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7259 it's not part of Linux headers.
7261 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7262 (MAP_HUGE_MASK): Define.
7264 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7266 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7267 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7269 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7270 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7272 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7273 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7275 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7277 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7278 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7279 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7280 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7281 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7284 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7287 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7288 Handle f2fs and efivarfs.
7290 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7293 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7294 (EFIVARFS_MAGIC): Add.
7295 (F2FS_LINK_MAX): Add.
7297 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7299 * stdio-common/vfprintf.c: Replace __builtin_expect with
7302 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7305 * sysdeps/generic/bp-sym.h: Remove file.
7306 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7307 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7308 <bp-sym.h> and <bp-asm.h>.
7309 (__longjmp): Don't use BP_SYM.
7310 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7312 (memcpy): Don't use BP_SYM.
7313 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7314 <bp-sym.h> and <bp-asm.h>.
7315 (memcpy): Don't use BP_SYM.
7316 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7318 (memcpy): Don't use BP_SYM.
7319 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7321 (memset): Don't use BP_SYM.
7322 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7323 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7324 (__bzero): Don't use BP_SYM.
7325 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7326 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7327 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7328 <bp-sym.h> and <bp-asm.h>.
7329 (memcmp): Don't use BP_SYM. Remove comment about bounded
7331 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7332 <bp-sym.h> and <bp-asm.h>.
7333 (memcpy): Don't use BP_SYM.
7334 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7335 <bp-sym.h> and <bp-asm.h>.
7336 (memset): Don't use BP_SYM.
7337 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7338 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7339 (__bzero): Don't use BP_SYM.
7340 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7341 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7342 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7343 <bp-sym.h> and <bp-asm.h>.
7344 (strncmp): Don't use BP_SYM. Remove comment about bounded
7346 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7347 <bp-sym.h> and <bp-asm.h>.
7348 (memcpy): Don't use BP_SYM.
7349 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7350 <bp-sym.h> and <bp-asm.h>.
7351 (memset): Don't use BP_SYM.
7352 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7353 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7354 (__bzero): Don't use BP_SYM.
7355 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7356 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7357 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7358 <bp-sym.h> and <bp-asm.h>.
7359 (__memchr): Don't use BP_SYM.
7360 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7361 <bp-sym.h> and <bp-asm.h>.
7362 (memcmp): Don't use BP_SYM. Remove comment about bounded
7364 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7365 <bp-sym.h> and <bp-asm.h>.
7366 (memcpy): Don't use BP_SYM.
7367 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7368 <bp-sym.h> and <bp-asm.h>.
7369 (__mempcpy): Don't use BP_SYM.
7370 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7371 <bp-sym.h> and <bp-asm.h>.
7372 (__memrchr): Don't use BP_SYM.
7373 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7374 <bp-sym.h> and <bp-asm.h>.
7375 (memset): Don't use BP_SYM.
7376 (__bzero): Likewise.
7377 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7378 <bp-sym.h> and <bp-asm.h>.
7379 (__rawmemchr): Don't use BP_SYM.
7380 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7381 <bp-sym.h> and <bp-asm.h>.
7382 (__STRCMP): Don't use BP_SYM.
7383 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7384 <bp-sym.h> and <bp-asm.h>.
7385 (strchr): Don't use BP_SYM.
7386 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7387 <bp-sym.h> and <bp-asm.h>.
7388 (__strchrnul): Don't use BP_SYM.
7389 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7390 <bp-sym.h> and <bp-asm.h>.
7391 (strlen): Don't use BP_SYM.
7392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7393 <bp-sym.h> and <bp-asm.h>.
7394 (strncmp): Don't use BP_SYM. Remove comment about bounded
7396 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7397 <bp-sym.h> and <bp-asm.h>.
7398 (__strnlen): Don't use BP_SYM.
7399 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7400 <bp-sym.h> and <bp-asm.h>.
7401 (__GI__setjmp): Don't use BP_SYM.
7402 (_setjmp): Likewise.
7403 (__sigsetjmp): Likewise.
7404 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7405 (L(start_addresses)): Don't use BP_SYM.
7407 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7409 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7410 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7411 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7412 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7413 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7415 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7416 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7417 about bounded pointers.
7418 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7419 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7420 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7422 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7423 about bounded pointers. Remove GKM FIXME comments.
7424 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7425 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7427 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7428 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7429 Remove GKM FIXME comments.
7430 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7431 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7432 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7434 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7435 about bounded pointers. Remove GKM FIXME comment.
7436 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7438 (strncmp): Don't use BP_SYM. Remove comment about bounded
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7441 <bp-sym.h> and <bp-asm.h>.
7442 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7444 <bp-sym.h> and <bp-asm.h>.
7445 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7448 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7450 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7453 2013-03-05 David S. Miller <davem@davemloft.net>
7455 * po/es.po: Update from translation team.
7457 2013-03-05 Andreas Jaeger <aj@suse.de>
7459 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7460 <bits/mman-linux.h>.
7461 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7463 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7464 <bits/mman-linux.h> to end of file.
7465 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7467 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7468 <bits/mman-linux.h> to end of file.
7469 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7472 <bits/mman-linux.h> to end of file.
7474 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7475 (MCL_CURRENT, MCL_FUTURE): Define here.
7477 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7480 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7482 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7484 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7486 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7487 fourth parameter needed for rt_sigprocmask syscall.
7488 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7489 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7490 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7491 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7492 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7493 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7495 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7498 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7499 comment about bounded pointers.
7500 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7501 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7503 2013-03-04 Andreas Jaeger <aj@suse.de>
7505 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7508 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7509 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7510 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7511 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7512 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7513 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7515 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7518 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7519 __ieee754_sqrl instead of __sqrl.
7521 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7523 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7524 * sysdeps/powerpc/fpu_control.h: ... here.
7525 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7526 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7527 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7528 * sysdeps/powerpc/bits/mathinline.h: ... here.
7530 2013-03-01 Roland McGrath <roland@hack.frob.com>
7532 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7533 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7534 to just [NEED_DL_SYSINFO_DSO].
7535 * elf/dl-support.c: Likewise.
7536 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7537 * elf/rtld.c (dl_main): Likewise.
7538 * elf/setup-vdso.h (setup_vdso): Likewise.
7539 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7540 * sysdeps/unix/sysv/linux/dl-sysdep.c
7541 (_dl_discover_osversion): Likewise.
7543 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7545 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7546 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7548 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7550 * NEWS: Mention libm performance improvements and non-x86 PI
7553 * csu/libc-start.c (__pthread_initialize_minimal): Change
7555 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7557 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7560 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7561 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7562 <bp-sym.h> and <bp-asm.h>.
7563 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7564 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7566 (memcpy): Don't use BP_SYM.
7567 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7569 (__mpn_add_n): Don't use BP_SYM.
7570 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7571 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7573 (__mpn_addmul_1): Don't use BP_SYM.
7574 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7575 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7577 (_setjmp): Don't use BP_SYM.
7578 (__novmx_setjmp): Likewise.
7579 (__GI__setjmp): Likewise.
7580 (__vmx_setjmp): Likewise.
7581 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7583 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7584 (__bzero): Don't use BP_SYM.
7585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7587 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7588 <bp-sym.h> and <bp-asm.h>.
7589 (memcpy): Don't use BP_SYM.
7590 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7591 <bp-sym.h> and <bp-asm.h>.
7592 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7593 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7594 <bp-sym.h> and <bp-asm.h>.
7595 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7596 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7598 (__mpn_lshift): Don't use BP_SYM.
7599 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7600 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7602 (memset): Don't use BP_SYM.
7603 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7604 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7605 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7607 (__mpn_mul_1): Don't use BP_SYM.
7608 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7609 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7610 <bp-sym.h> and <bp-asm.h>.
7611 (memcmp): Don't use BP_SYM.
7612 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7613 <bp-sym.h> and <bp-asm.h>.
7614 (memcpy): Don't use BP_SYM.
7615 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7616 <bp-sym.h> and <bp-asm.h>.
7617 (memset): Don't use BP_SYM.
7618 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7619 <bp-sym.h> and <bp-asm.h>.
7620 (strncmp): Don't use BP_SYM.
7621 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7622 <bp-sym.h> and <bp-asm.h>.
7623 (memcpy): Don't use BP_SYM.
7624 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7625 <bp-sym.h> and <bp-asm.h>.
7626 (memset): Don't use BP_SYM.
7627 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7628 <bp-sym.h> and <bp-asm.h>.
7629 (__memchr): Don't use BP_SYM.
7630 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7631 <bp-sym.h> and <bp-asm.h>.
7632 (memcmp): Don't use BP_SYM.
7633 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7634 <bp-sym.h> and <bp-asm.h>.
7635 (memcpy): Don't use BP_SYM.
7636 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7637 <bp-sym.h> and <bp-asm.h>.
7638 (__mempcpy): Don't use BP_SYM.
7639 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7640 <bp-sym.h> and <bp-asm.h>.
7641 (__memrchr): Don't use BP_SYM.
7642 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7643 <bp-sym.h> and <bp-asm.h>.
7644 (memset): Don't use BP_SYM.
7645 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7646 <bp-sym.h> and <bp-asm.h>.
7647 (__rawmemchr): Don't use BP_SYM.
7648 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7649 <bp-sym.h> and <bp-asm.h>.
7650 (__STRCMP): Don't use BP_SYM.
7651 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7652 <bp-sym.h> and <bp-asm.h>.
7653 (strchr): Don't use BP_SYM.
7654 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7655 <bp-sym.h> and <bp-asm.h>.
7656 (__strchrnul): Don't use BP_SYM.
7657 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7658 <bp-sym.h> and <bp-asm.h>.
7659 (strlen): Don't use BP_SYM.
7660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7661 <bp-sym.h> and <bp-asm.h>.
7662 (strncmp): Don't use BP_SYM.
7663 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7664 <bp-sym.h> and <bp-asm.h>.
7665 (__strnlen): Don't use BP_SYM.
7666 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7668 (__mpn_rshift): Don't use BP_SYM.
7669 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7670 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7671 <bp-sym.h> and <bp-asm.h>.
7672 (__sigsetjmp): Don't use BP_SYM.
7673 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7674 (L(start_addresses)): Don't use BP_SYM.
7676 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7678 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7679 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7680 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7681 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7683 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7684 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7685 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7686 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7688 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7690 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7691 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7693 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7695 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7696 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7697 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7699 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7701 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7703 (strncmp): Don't use BP_SYM,
7704 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7706 (__mpn_sub_n): Don't use BP_SYM.
7707 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7708 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7710 (__mpn_submul_1): Don't use BP_SYM.
7711 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7713 <bp-sym.h> and <bp-asm.h>.
7714 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7716 <bp-sym.h> and <bp-asm.h>.
7717 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7720 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7723 Use ZK to minimize writes to Z.
7724 (sub_magnitudes): Simplify code a bit.
7725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7726 Use ZK to minimize writes to Z.
7727 (sub_magnitudes): Simplify code a bit.
7729 2013-02-27 Roland McGrath <roland@hack.frob.com>
7731 * csu/gmon-start.c: Add special exception to license text.
7733 2013-02-27 Richard Henderson <rth@redhat.com>
7735 * scripts/config.guess: Update from config.git.
7736 * scripts/config.sub: Likewise.
7738 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7740 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7742 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7744 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7746 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7748 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7750 2013-02-26 Roland McGrath <roland@hack.frob.com>
7752 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7753 [$(build-shared = yes].
7755 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7757 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7758 (__mul): Reduce iterations for calculating mantissa.
7760 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7762 (__mpranred): Likewise.
7765 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7766 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7768 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7770 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7771 Define __attribute__.
7773 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7775 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7777 * posix/regex_internal.h (__attribute): Remove.
7778 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7779 (re_string_context_at): Likewise.
7780 (bitset_not): Use __attribute__ and mark function as possibly
7782 (bitset_merge): Likewise.
7783 (bitset_mask): Likewise.
7784 (re_string_char_size_at): Likewise.
7785 (re_string_wchar_at): Likewise.
7786 (re_string_elem_size_at): Likewise.
7788 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7790 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7794 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7799 (__dbl_mp): Likewise.
7800 (add_magnitudes): Likewise.
7801 (sub_magnitudes): Likewise.
7805 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7808 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7811 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7815 up changes with default code.
7816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7819 2013-02-24 Allan McRae <allan@archlinux.org>
7821 * manual/socket.texi (The Internet Namespace): Order menu items
7822 to match that in the file.
7824 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7825 node listing of the info page menu.
7827 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7830 * sysdeps/i386/bp-asm.h: Remove file.
7831 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7832 (PARMS): Do not use macros from bp-asm.h.
7836 (__mpn_add_n): Do not use BP_SYM
7837 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7839 (PARMS): Do not use macros from bp-asm.h.
7842 (__mpn_addmul_1): Do not use BP_SYM
7843 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7845 (PARMS): Do not use macros from bp-asm.h.
7847 (_setjmp): Likewise. Do not use BP_SYM.
7848 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7850 (PARMS): Do not use macros from bp-asm.h.
7852 (setjmp): Likewise. Do not use BP_SYM.
7853 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7855 (PARMS): Do not use macros from bp-asm.h.
7856 (__frexp): Do not use BP_SYM.
7858 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7860 (PARMS): Do not use macros from bp-asm.h.
7861 (__frexpf): Do not use BP_SYM.
7863 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7865 (PARMS): Do not use macros from bp-asm.h.
7866 (__frexpl): Do not use BP_SYM.
7868 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7870 (PARMS): Do not use macros from bp-asm.h.
7871 (__remquo): Do not use BP_SYM.
7873 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7875 (PARMS): Do not use macros from bp-asm.h.
7876 (__remquof): Do not use BP_SYM.
7877 (remquof): Likewise.
7878 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7880 (PARMS): Do not use macros from bp-asm.h.
7881 (__remquol): Do not use BP_SYM.
7882 (remquol): Likewise.
7883 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7885 (PARMS): Do not use macros from bp-asm.h.
7888 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7889 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7891 (PARMS): Do not use macros from bp-asm.h.
7892 (strlen): Do not use BP_SYM.
7893 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7895 (PARMS): Do not use macros from bp-asm.h.
7899 (__mpn_add_n): Do not use BP_SYM.
7900 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7902 (PARMS): Do not use macros from bp-asm.h.
7905 (__mpn_addmul_1): Do not use BP_SYM.
7906 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7909 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7911 (PARMS): Do not use macros from bp-asm.h.
7914 (__mpn_lshift): Do not use BP_SYM.
7915 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7917 (PARMS): Do not use macros from bp-asm.h.
7921 (memcpy): Likewise. Do not use BP_SYM.
7922 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7923 libc_hidden_def and weak_alias.
7924 (mempcpy): Do not use BP_SYM in weak_alias.
7925 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7927 (PARMS): Do not use macros from bp-asm.h.
7930 [!BZERO_P] (CHR): Likewise.
7931 (memset): Likewise. Do not use BP_SYM.
7932 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7934 (PARMS): Do not use macros from bp-asm.h.
7937 (__mpn_mul_1): Do not use BP_SYM.
7938 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7940 (PARMS): Do not use macros from bp-asm.h.
7943 (__mpn_rshift): Do not use BP_SYM.
7944 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7946 (PARMS): Do not use macros from bp-asm.h.
7949 (strchr): Likewise. Do not use BP_SYM.
7950 (index): Do not use BP_SYM in weak_alias.
7951 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7953 (PARMS): Do not use macros from bp-asm.h.
7956 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7957 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7959 (PARMS): Do not use macros from bp-asm.h.
7960 (strlen): Do not use BP_SYM.
7961 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7963 (PARMS): Do not use macros from bp-asm.h.
7967 (__mpn_sub_n): Do not use BP_SYM.
7968 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7970 (PARMS): Do not use macros from bp-asm.h.
7973 (__mpn_submul_1): Do not use BP_SYM.
7974 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7976 (PARMS): Do not use macros from bp-asm.h.
7980 (__mpn_add_n): Do not use BP_SYM.
7981 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7984 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7986 (PARMS): Do not use macros from bp-asm.h.
7989 (memcmp): Do not use BP_SYM.
7990 (bcmp): Do not use BP_SYM in weak_alias.
7991 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7993 (PARMS): Do not use macros from bp-asm.h.
7997 (memcpy): Likewise. Do not use BP_SYM.
7998 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8000 (PARMS): Do not use macros from bp-asm.h.
8004 (memmove): Likewise. Do not use BP_SYM.
8005 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8007 (PARMS): Do not use macros from bp-asm.h.
8011 (__mempcpy): Likewise. Do not use BP_SYM.
8012 (mempcpy): Do not use BP_SYM in weak_alias.
8013 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8015 (PARMS): Do not use macros from bp-asm.h.
8018 [!BZERO_P] (CHR): Likewise.
8019 (memset): Likewise. Do not use BP_SYM.
8020 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8022 (PARMS): Do not use macros from bp-asm.h.
8024 (strcmp): Do not use BP_SYM.
8025 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8027 (PARMS): Do not use macros from bp-asm.h.
8030 [USE_AS_STRTOK_R] (SAVE): Likewise.
8031 (FUNCTION): Likewise. Do not use BP_SYM.
8032 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8034 (strtok_r): Likewise.
8035 (__GI___strtok_r): Likewise.
8036 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8037 (PARMS): Do not use macros from bp-asm.h.
8040 (__mpn_lshift): Do not use BP_SYM.
8041 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8042 (PARMS): Do not use macros from bp-asm.h.
8045 (__memchr): Do not use BP_SYM.
8046 (memchr): Do not use BP_SYM in weak_alias.
8047 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8048 (PARMS): Do not use macros from bp-asm.h.
8051 (memcmp): Do not use BP_SYM.
8052 (bcmp): Do not use BP_SYM in weak_alias.
8053 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8054 (PARMS): Do not use macros from bp-asm.h.
8057 (__mpn_mul_1): Do not use BP_SYM.
8058 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8060 (PARMS): Do not use macros from bp-asm.h.
8063 (__rawmemchr): Do not use BP_SYM.
8064 (rawmemchr): Do not use BP_SYM in weak_alias.
8065 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8066 (PARMS): Do not use macros from bp-asm.h.
8069 (__mpn_rshift): Do not use BP_SYM.
8070 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8071 (PARMS): Do not use macros from bp-asm.h.
8073 (__sigsetjmp): Likewise. Do not use BP_SYM.
8074 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8075 (_start): Do not use BP_SYM.
8076 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8077 (PARMS): Do not use macros from bp-asm.h.
8080 (__stpcpy): Likewise. Do not use BP_SYM.
8081 (stpcpy): Do not use BP_SYM in weak_alias.
8082 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8084 (PARMS): Do not use macros from bp-asm.h.
8088 (__stpncpy): Likewise. Do not use BP_SYM.
8089 (stpncpy): Do not use BP_SYM in weak_alias.
8090 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8091 (PARMS): Do not use macros from bp-asm.h.
8094 (strchr): Likewise. Do not use BP_SYM.
8095 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8097 (PARMS): Do not use macros from bp-asm.h.
8100 (__strchrnul): Likewise. Do not use BP_SYM.
8101 (strchrnul): Do not use BP_SYM in weak_alias.
8102 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8104 (PARMS): Do not use macros from bp-asm.h.
8106 (strcspn): Do not use BP_SYM.
8107 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8109 (PARMS): Do not use macros from bp-asm.h.
8112 (strpbrk): Likewise. Do not use BP_SYM.
8113 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8115 (PARMS): Do not use macros from bp-asm.h.
8118 (strrchr): Likewise. Do not use BP_SYM.
8119 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8120 (PARMS): Do not use macros from bp-asm.h.
8122 (strspn): Do not use BP_SYM.
8123 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8124 (PARMS): Do not use macros from bp-asm.h.
8128 (FUNCTION): Likewise. Do not use BP_SYM.
8129 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8131 (strtok_r): Likewise.
8132 (__GI___strtok_r): Likewise.
8133 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8134 (PARMS): Do not use macros from bp-asm.h.
8138 (__mpn_sub_n): Do not use BP_SYM.
8139 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8141 (PARMS): Do not use macros from bp-asm.h.
8144 (__mpn_submul_1): Do not use BP_SYM.
8145 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8147 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8149 (PARMS): Do not use macros from bp-asm.h.
8154 (__clone): Do not use BP_SYM.
8155 (clone): Do not use BP_SYM in weak_alias.
8156 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8158 (PARMS): Do not use macros from bp-asm.h.
8160 (__mmap64): Do not use BP_SYM.
8161 (mmap64): Do not use BP_SYM in weak_alias.
8162 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8163 <bp-sym.h> and <bp-asm.h>.
8164 (PARMS): Do not use macros from bp-asm.h.
8165 (__posix_fadvise64_l64): Do not use BP_SYM.
8166 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8167 (PARMS): Do not use macros from bp-asm.h.
8169 (semtimedop): Do not use BP_SYM.
8170 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8173 2013-02-21 Allan McRae <allan@archlinux.org>
8175 * manual/message.texi (Charset conversion in gettext):
8176 Move @end statement to beginning of line.
8178 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8185 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8190 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8192 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8193 tail-call to the resolved function if pltexit isn't needed.
8195 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8198 or Y being zero as being unlikely.
8199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8202 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8204 * manual/nss.texi (System Databases and Name Service Switch):
8205 Remove frobnicate @pxref.
8207 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8209 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8210 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8212 2013-02-20 Petr Machata <pmachata@redhat.com>
8214 * elf/elf.h (R_ARM_TARGET1): New macro.
8215 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8216 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8217 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8218 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8219 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8220 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8221 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8222 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8223 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8224 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8225 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8226 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8227 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8228 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8229 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8230 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8231 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8232 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8233 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8234 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8235 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8236 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8237 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8238 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8239 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8240 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8241 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8242 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8243 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8244 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8245 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8246 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8247 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8248 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8249 (R_ARM_THM_GOT_BREL12): Likewise.
8250 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8251 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8252 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8253 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8254 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8255 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8256 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8257 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8258 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8260 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8262 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8263 __attribute_used__ to __attribute__ ((unused)).
8265 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8267 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8273 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8276 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8278 (ENTER): Remove both macro definitions.
8280 (CHECK_BOUNDS_LOW): Likewise.
8281 (CHECK_BOUNDS_HIGH): Likewise.
8282 (CHECK_BOUNDS_BOTH): Likewise.
8283 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8284 (RETURN_BOUNDED_POINTER): Likewise.
8285 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8286 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8287 (POP_ERRNO_LOCATION_RETURN): Likewise.
8288 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8289 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8290 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8292 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8293 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8294 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8295 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8296 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8297 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8298 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8299 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8300 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8301 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8302 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8303 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8304 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8305 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8307 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8308 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8310 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8311 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8312 * sysdeps/i386/i586/memset.S (memset): Likewise.
8313 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8314 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8315 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8317 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8318 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8319 Change uses of L(2) to L(out).
8320 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8321 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8322 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8323 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8324 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8326 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8327 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8329 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8330 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8331 (RETURN): Do not use macro LEAVE.
8332 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8333 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8334 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8335 * sysdeps/i386/i686/memset.S (memset): Likewise.
8336 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8337 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8338 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8339 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8341 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8342 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8343 L(1_2) and L(1_3) into L(1).
8344 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8345 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8346 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8347 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8348 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8349 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8350 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8351 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8352 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8354 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8355 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8356 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8357 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8358 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8359 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8360 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8361 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8362 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8363 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8364 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8365 * sysdeps/i386/strspn.S (strspn): Likewise.
8366 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8368 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8369 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8370 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8371 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8373 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8374 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8375 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8377 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8379 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8381 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8384 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8386 * math/atest-exp.c (exp_mpn): Remove ROUND.
8387 * math/atest-exp2.c (exp_mpn): Likewise.
8388 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8390 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8391 * stdlib/tst-tls-atexit-lib.c: Likewise.
8392 * stdlib/tst-tls-atexit.c: Likewise.
8394 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8396 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8397 and __attribute_alloc_size__.
8399 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8401 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8402 __attribute_alloc_size__.
8403 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8404 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8406 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8408 * include/programs/xmalloc.h: New file.
8409 * catgets/gencat.c: Include it.
8410 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8411 * elf/pldd.c: Likewise.
8412 * iconv/iconv_charmap.c: Likewise.
8413 * iconv/iconvconfig.c: Likewise.
8414 * iconv/strtab.c: Likewise.
8415 * locale/programs/locale.c: Likewise.
8416 * locale/programs/localedef.h: Likewise.
8417 * locale/programs/simple-hash.c: Likewise.
8418 * nscd/nscd.h: Likewise.
8419 * nss/makedb.c: Likewise.
8420 * sysdeps/generic/ldconfig.h: Likewise.
8422 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8424 * Versions.def: Add GLIBC_2.18.
8425 * include/link.h (struct link_map): New member l_tls_dtor_count.
8426 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8427 (__call_tls_dtors): Likewise.
8428 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8429 __cxa_thread_atexit_impl.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8446 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8447 (tests): Add test case tst-tls-atexit.
8448 (modules-names): Add shared library for tst-tls-atexit.
8449 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8450 (GLIBC_PRIVATE): Add __call_tls_dtors.
8451 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8453 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8454 * stdlib/tst-tls-atexit.c: New test case.
8455 * stdlib/tst-tls-atexit-lib.c: New test case.
8457 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8459 * elf/Versions (ld): Add _dl_find_dso_for_object.
8460 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8461 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8462 (dl_open_worker): Use _dl_find_dso_for_object.
8463 * elf/dl-sym.c (do_sym): Likewise.
8464 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8466 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8468 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8469 Syntactic changes only.
8470 (_dl_runtime_profile): Do a tail-call to the resolved function.
8472 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8475 * sysdeps/x86_64/bp-asm.h: Remove file.
8476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8477 <bp-sym.h> and <bp-asm.h>.
8478 (__clone): Do not use BP_SYM.
8479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8480 <bp-sym.h> and <bp-asm.h>.
8481 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8482 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8484 (_setjmp): Do not use BP_SYM.
8485 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8487 (setjmp): Do not use BP_SYM.
8488 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8490 (mempcpy): Do not use BP_SYM in weak_alias.
8491 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8493 (strchr): Do not use BP_SYM.
8494 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8496 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8497 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8498 (_start): Do not use BP_SYM.
8499 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8501 (strcat): Do not use BP_SYM.
8502 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8504 (STRCMP): Do not use BP_SYM.
8505 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8507 (STRCPY): Do not use BP_SYM.
8508 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8510 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8512 (FUNCTION): Do not use BP_SYM.
8513 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8515 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8517 2013-02-17 Andreas Jaeger <aj@suse.de>
8519 * time/Versions: Sort entries.
8520 * string/Versions: Likewise.
8521 * resolv/Versions: Likewise.
8522 * posix/Versions: Likewise.
8523 * iconv/Versions: Likewise.
8524 * elf/Versions: Likewise.
8525 * wcsmbs/Versions: Likewise.
8527 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8529 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8530 loop termination condition.
8532 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8533 variable to calculate EZ.
8536 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8537 the lower precision input.
8539 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8542 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8543 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8544 (run-via-rtld-prefix): Do not handle %-bp tests.
8545 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8546 (all-object-suffixes): Remove .ob.
8547 (bppfx): Remove variable.
8548 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8549 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8550 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8551 [$(build-bounded) = yes] (libtype.ob): Likewise.
8552 * Makerules (elide-routines.ob): Remove variable.
8553 (do-tests-clean): Do not handle *-bp.out.
8554 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8555 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8556 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8557 (tests): Do not include $(tests-bp.out).
8558 (xtests): Do not include $(xtests-bp.out).
8559 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8560 [$(build-bounded) = yes] ($(addprefix
8561 $(objpfx),$(binaries-bounded))): Remove rule.
8562 ($(objpfx)%-bp.out): Remove rule.
8563 * config.make.in (build-bounded): Remove variable.
8564 * crypt/Makefile [$(build-bounded) = yes]
8565 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8566 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8568 [$(build-bounded) = yes] (install-lib): Likewise.
8569 [$(build-bounded) = yes] (generated): Likewise.
8570 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8572 * intl/Makefile [$(build-bounded) = yes]
8573 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8574 * math/Makefile [$(build-bounded) = yes]
8575 ($(tests:%=$(objpfx)%-bp): Likewise.
8576 * misc/Makefile [$(build-bounded) = yes]
8577 ($(objpfx)tst-tsearch-bp): Likewise.
8578 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8579 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8581 * string/Makefile (o-objects.ob): Remove variable.
8582 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8583 (CFLAGS-.ob): Remove variable.
8584 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8585 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8586 both definitions of variable.
8587 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8588 (ASFLAGS-.ob): Remove variable.
8590 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8593 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8594 Remove __BOUNDED_POINTERS__ from condition.
8595 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8596 * string/bits/string2.h [!__NO_STRING_INLINES &&
8597 !__BOUNDED_POINTERS__]: Likewise.
8598 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8600 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8601 Remove conditional code.
8602 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8603 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8604 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8608 * csu/libc-start.c: Do not include <bp-sym.h>.
8609 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8610 * elf/dl-open.c: Do not include <bp-sym.h>.
8611 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8612 * math/fegetenv.c: Do not include <bp-sym.h>.
8613 (fegetenv): Do not use BP_SYM in versioned symbols.
8614 * nptl/sysdeps/pthread/bits/libc-lockP.h
8615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8618 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8620 (__pthread_mutex_destroy): Likewise.
8621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8622 (__pthread_mutex_lock): Likewise.
8623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8624 (__pthread_mutex_trylock): Likewise.
8625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8626 (__pthread_mutex_unlock): Likewise.
8627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8628 (__pthread_mutexattr_init): Likewise.
8629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8630 (__pthread_mutexattr_destroy): Likewise.
8631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8632 (__pthread_mutexattr_settype): Likewise.
8633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8634 (__pthread_rwlock_init): Likewise.
8635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8636 (__pthread_rwlock_destroy): Likewise.
8637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8638 (__pthread_rwlock_rdlock): Likewise.
8639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8640 (__pthread_rwlock_tryrdlock): Likewise.
8641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8642 (__pthread_rwlock_wrlock): Likewise.
8643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8644 (__pthread_rwlock_trywrlock): Likewise.
8645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8646 (__pthread_rwlock_unlock): Likewise.
8647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8648 (__pthread_key_create): Likewise.
8649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8650 (__pthread_setspecific): Likewise.
8651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8652 (__pthread_getspecific): Likewise.
8653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8656 (_pthread_cleanup_push_defer): Likewise.
8657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8658 (_pthread_cleanup_pop_restore): Likewise.
8659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8660 (pthread_setcancelstate): Likewise.
8661 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8663 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8664 (memchr): Do not use BP_SYM in weak_alias.
8665 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8666 (fegetenv): Do not use BP_SYM in versioned symbols.
8667 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8668 (fesetenv): Do not use BP_SYM in versioned symbols.
8669 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8670 (feupdateenv): Do not use BP_SYM in versioned symbols.
8671 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8672 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8673 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8674 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8675 (open64): Do not use BP_SYM in weak_alias.
8676 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8677 (fegetenv): Do not use BP_SYM in versioned symbols.
8678 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8679 (fesetenv): Do not use BP_SYM in versioned symbols.
8680 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8681 (feupdateenv): Do not use BP_SYM in versioned symbols.
8682 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8683 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8684 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8685 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8686 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8687 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8688 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8690 (__libc_start_main): Do not use BP_SYM.
8692 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8695 redundant return line.
8699 (sub_magnitudes): Likewise.
8705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8709 (sub_magnitudes): Likewise.
8716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8718 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8719 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8722 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8723 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8725 of __mul for squares.
8726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8730 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8731 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8733 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8736 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8738 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8739 prototype or function definition. Rename ubp_* variables and
8740 parameters. Remove argv definitions conditional on
8741 [__BOUNDED_POINTERS__].
8742 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8743 * elf/dl-runtime.c (_dl_fixup): Likewise.
8744 * include/set-hooks.h (RUN_HOOK): Likewise.
8745 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8747 * string/strcpy.c (strcpy): Do not use __unbounded.
8748 * sysdeps/generic/frame.h (struct layout): Likewise.
8749 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8750 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8751 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8752 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8753 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8754 (__backtrace): Likewise.
8755 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8757 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8758 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8759 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8761 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8762 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8763 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8764 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8765 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8766 Do not use __unbounded.
8767 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8768 Rename __unboundedrlimits parameter to rlimits in prototype.
8769 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8770 Do not use __unbounded.
8771 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8773 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8774 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8775 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8776 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8777 __ptrvalue or __unbounded.
8778 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8779 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8781 (__new_msgctl): Do not use __ptrvalue.
8782 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8784 (__libc_msgrcv): Do not use __ptrvalue.
8785 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8786 startup_info): Do not use __unbounded.
8787 (__libc_start_main): Likewise. Rename ubp_* variables and
8788 parameters. Remove argv definitions conditional on
8789 [__BOUNDED_POINTERS__].
8790 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8792 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8794 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8796 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8798 (__new_shmctl): Do not use __ptrvalue.
8799 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8800 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8802 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8803 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8804 (__libc_sigaction): Likewise.
8805 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8806 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8808 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8810 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8812 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8814 * string/mempcpy.c: Implement by calling memcpy.
8816 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8823 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8824 values in the mantissa.
8826 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8827 minimize writes to Z.
8828 (sub_magnitudes): Simplify code a bit.
8830 2013-02-12 Roland McGrath <roland@hack.frob.com>
8832 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8833 from the message. The linker prefixes all warnings with that already.
8835 2013-02-12 Andreas Schwab <schwab@suse.de>
8838 * posix/regexec.c (extend_buffers): Add parameter min_len.
8839 (check_matching): Pass minimum needed length.
8840 (clean_state_log_if_needed): Likewise.
8841 (get_subexp): Likewise.
8842 * posix/Makefile (tests): Add bug-regex34.
8843 (bug-regex34-ENV): Define.
8844 * posix/bug-regex34.c: New file.
8847 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8848 elements compare against the byte sequence of it, not its name.
8849 * posix/Makefile (tests): Add bug-regex35.
8850 (bug-regex35-ENV): Define.
8851 * posix/bug-regex35.c: New file.
8853 2013-02-11 Tom de Vries <tom@codesourcery.com>
8855 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8857 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8858 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8859 (CHECK_EOL): Add undef.
8861 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8863 * bits/stdlib-bsearch.h: New file.
8864 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8865 * stdlib/stdlib.h: Likewise.
8867 2013-02-11 Roland McGrath <roland@hack.frob.com>
8869 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8870 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8872 * manual/search.texi (Array Search Function): Add missing const in
8874 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8875 declaration to use rlim_t.
8876 (Basic Scheduling Functions): Remove erroneous const from
8877 sched_getparam prototype. Remove erroneous * from
8878 sched_get_priority_max and sched_get_priority_min prototypes.
8879 (Resource Usage): Fix summary @comment on vtimes to refer to
8880 sys/vtimes.h rather than vtimes.h.
8881 Add missing *s in vtimes prototype.
8882 (Limits on Resources): Fix ulimit prototype to return long int.
8883 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8884 prototypes to use long int rather than double.
8885 (BSD Random): Fix initstate and setstate to use char *, not void *.
8886 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8887 prototype to make second argument 'struct aiocb64 *const[]'.
8888 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8889 (Status of AIO Operations): Remove erroneous const in aio_return and
8890 aio_return64 prototypes.
8891 (Synchronizing I/O): Fix sync prototype to return void.
8892 * manual/startup.texi (Suboptions): Remove an erroneous const in
8893 getsubopt prototype.
8894 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8895 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8896 use size_t rather than int.
8897 (Scanning All Users): Likewise for getpwent_r.
8898 (Setting Groups): Add missing const to setgroups prototype.
8899 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8900 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8901 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8902 'const void *' rather than 'const char *'.
8903 (Host Address Functions): Likewise for inet_ntop.
8904 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8905 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8906 ssize_t for return value.
8907 (Sending Data): Likewise for send, sendto, sendmsg.
8908 (Socket Option Functions): Add a missing const in setsockopt prototype.
8909 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8910 use wchar_t for the argument.
8911 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8912 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8914 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8915 double/float/long double for second argument.
8916 Fix return types of significand, significandf, significandl.
8917 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8918 argument in fchmod prototype.
8919 (File Owner): Use uid_t and gid_t in fchown prototype.
8920 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8921 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8922 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8923 use 'const struct dirent **' as argument types to CMP function pointer
8925 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8926 (File Times): Fix summary magic @comment for struct utimbuf and utime
8927 to refer to utime.h, not time.h.
8928 * manual/string.texi (Argz Functions): Add missing const in
8929 argz_extract and argz_next prototypes.
8930 (Finding Tokens in a String): Likewise for basename.
8931 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8932 (Copying and Concatenation): Fix typo in wmemmove prototype.
8933 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8934 (Signal Stack): Remove erroneous const in sigstack prototype.
8935 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8937 (Simple Calendar Time): Likewise for stime.
8938 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8940 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8941 say sys/sysctl.h instead.
8942 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8943 and vsyslog prototypes.
8945 2013-02-11 Tom de Vries <tom@codesourcery.com>
8947 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8950 2013-02-11 Roland McGrath <roland@hack.frob.com>
8952 * misc/sys/mman.h: Fix typo in mremap comment.
8954 2013-02-08 Roland McGrath <roland@hack.frob.com>
8956 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8957 the '\0' terminator.
8959 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8962 * debug/segfault.c: Don't include <bp-checks.h>.
8963 * sysdeps/generic/bp-checks.h: Remove file.
8964 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8965 (__GETDENTS): Don't use CHECK_N.
8966 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8967 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8968 (__getgroups): Don't use CHECK_N.
8969 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8970 (setgroups): Don't use CHECK_N.
8971 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8972 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8973 (__libc_msgrcv): Don't use CHECK_N.
8974 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8975 (__libc_msgsnd): Don't use CHECK_N.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8978 (__libc_pread): Don't use CHECK_N.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8980 include <bp-checks.h>.
8981 (__libc_pread64): Don't use CHECK_N.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8983 include <bp-checks.h>.
8984 (__libc_pwrite): Don't use CHECK_N.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8986 include <bp-checks.h>.
8987 (__libc_pwrite64): Don't use CHECK_N.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8990 (__libc_pread): Don't use CHECK_N.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8992 include <bp-checks.h>.
8993 (__libc_pread64): Don't use CHECK_N.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8995 include <bp-checks.h>.
8996 (__libc_pwrite): Don't use CHECK_N.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8998 include <bp-checks.h>.
8999 (__libc_pwrite64): Don't use CHECK_N.
9000 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9001 (do_pread): Don't use CHECK_N.
9002 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9003 (do_pread64): Don't use CHECK_N.
9004 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9005 (do_pwrite): Don't use CHECK_N.
9006 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9007 (do_pwrite64): Don't use CHECK_N.
9008 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9009 (__libc_readv): Don't use CHECK_N.
9010 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9011 (semop): Don't use CHECK_N.
9012 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9014 (semtimedop): Don't use CHECK_N.
9015 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9016 (__libc_pread): Don't use CHECK_N.
9017 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9019 (__libc_pread64): Don't use CHECK_N.
9020 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9022 (__libc_pwrite): Don't use CHECK_N.
9023 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9025 (__libc_pwrite64): Don't use CHECK_N.
9026 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9028 (__libc_msgrcv): Don't use CHECK_N.
9029 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9030 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9031 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9032 (__libc_writev): Don't use CHECK_N.
9034 2013-02-08 Roland McGrath <roland@hack.frob.com>
9036 * string/strcpy.c: Removed unused variable.
9038 * Makeconfig (+sysdep-includes): Define with := rather than =.
9039 Use an existing include/ subdir of each sysdeps dir before it.
9041 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9043 * nscd/connection.c (register_traced_file): Comment function.
9044 [HAVE_INOTIFY] (union __inev): Define.
9045 [HAVE_INOTIFY] (inotify_check_files): New function.
9046 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9047 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9049 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9051 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9053 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9054 loaded if not already and that a failure is permanent.
9056 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9059 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9060 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9062 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9065 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9066 (CHECK_1_NULL_OK): Likewise.
9067 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9068 (__fxstat): Do not use CHECK_1.
9069 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9071 (___fxstat64): Do not use CHECK_1.
9072 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9074 (__fxstatat): Do not use CHECK_1.
9075 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9077 (__fxstatat64): Do not use CHECK_1.
9078 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9080 (__fxstat): Do not use CHECK_1.
9081 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9083 (__fxstatat): Do not use CHECK_1.
9084 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9086 (__getresgid): Do not use CHECK_1.
9087 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9089 (__getresuid): Do not use CHECK_1.
9090 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9092 (__lxstat): Do not use CHECK_1.
9093 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9095 (__old_msgctl): Do not use CHECK_1.
9096 (__new_msgctl): Likewise.
9097 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9099 (__new_setrlimit): Do not use CHECK_1.
9100 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9102 (__old_shmctl): Do not use CHECK_1.
9103 (__new_shmctl): Likewise.
9104 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9106 (__xstat): Do not use CHECK_1.
9107 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9108 (__lxstat): Do not use CHECK_1.
9109 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9111 (___lxstat64): Do not use CHECK_1.
9112 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9113 (__old_msgctl): Do not use CHECK_1.
9114 (__new_msgctl): Likewise.
9115 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9117 (__gettimeofday): Do not use CHECK_1.
9118 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9119 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9120 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9122 (__gettimeofday): Do not use CHECK_1.
9123 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9124 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9125 (__new_shmctl): Do not use CHECK_1.
9126 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9128 (do_sigtimedwait): Do not use CHECK_1.
9129 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9131 (do_sigwaitinfo): Do not use CHECK_1.
9132 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9134 (msgctl): Do not use CHECK_1.
9135 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9137 (shmctl): Do not use CHECK_1.
9138 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9139 (ustat): Do not use CHECK_1.
9140 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9142 (__fxstat): Do not use CHECK_1.
9143 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9145 (__fxstatat): Do not use CHECK_1.
9146 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9148 (__lxstat): Do not use CHECK_1.
9149 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9151 (__xstat): Do not use CHECK_1.
9152 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9153 (__xstat): Do not use CHECK_1.
9154 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9155 (___xstat64): Do not use CHECK_1.
9158 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9160 (CHECK_BOUNDS_HIGH): Likewise.
9161 * string/strcpy.c: Do not include <bp-checks.h>.
9162 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9164 2013-02-07 Roland McGrath <roland@hack.frob.com>
9166 * nscd/nscd-client.h (__nscd_drop_map_ref):
9167 Add __attribute__ ((unused)).
9168 * nis/nss-nisplus.h (niserr2nss): Likewise.
9170 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9171 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9173 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9174 Remove inline keyword.
9175 * include/rounding-mode.h (round_away): Likewise.
9176 * libio/wfileops.c (adjust_wide_data): Likewise.
9177 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9178 (__m128i_strloadu_tolower): Likewise.
9179 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9180 (__m128i_strloadu_tolower): Likewise.
9181 * time/mktime.c (ydhms_diff): Likewise.
9182 * locale/elem-hash.h (elem_hash): Likewise.
9183 * locale/setlocale.c (setdata): Likewise.
9184 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9185 (re_string_wchar_at): Likewise.
9186 (bitset_not, bitset_merge, bitset_mask): Likewise.
9187 [!(__GNUC__ > 3)] (inline): Remove macro.
9188 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9189 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9190 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9191 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9192 * string/memcmp.c (memcmp_bytes): Likewise.
9193 * locale/programs/locarchive.c (compute_hashval): Likewise.
9194 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9195 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9196 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9197 * nss/getent.c (print_rpc, print_protocols): Likewise.
9198 (print_passwd, print_group, print_aliases): Likewise.
9199 * nis/nss-nisplus.h (niserr2nss): Likewise.
9200 * nscd/connections.c (restart_p): Likewise.
9201 Change return type to bool.
9203 2013-02-05 Roland McGrath <roland@hack.frob.com>
9205 * Makeconfig (all-Depend-files): Add existing
9206 $(sorted-subdirs:=/Depend) files.
9207 (all-subdirs): Remove nss.
9208 * sysdeps/unix/inet/Subdirs: Add it here instead.
9209 * hesiod/Depend: New file.
9211 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9212 instead of calling alloca.
9214 * io/lseek.c (__lseek): Rename to __libc_lseek.
9215 Define __lseek as an alias.
9217 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9219 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9221 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9222 else clause and remove check for non-standard endianness.
9224 2013-02-04 David S. Miller <davem@davemloft.net>
9226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9228 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9231 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9232 (__ubp_memchr): Remove prototype.
9233 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9234 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9235 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9236 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9237 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9239 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9240 (__ubp_memchr): Likewise.
9241 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9242 (__ubp_memchr): Likewise.
9243 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9244 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9245 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9246 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9248 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9249 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9250 (__getcwd): Do not use CHECK_STRING.
9251 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9253 (__real_chown): Do not use CHECK_STRING.
9254 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9256 (fchownat): Do not use CHECK_STRING.
9257 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9259 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9261 (__lchown): Do not use CHECK_STRING.
9262 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9263 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9264 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9265 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9267 include <bp-checks.h>.
9268 (truncate64): Do not use CHECK_STRING.
9269 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9271 (__real_chown): Do not use CHECK_STRING.
9272 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9274 (__lchown): Do not use CHECK_STRING.
9275 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9277 (__chown): Do not use CHECK_STRING.
9278 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9280 (truncate64): Do not use CHECK_STRING.
9281 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9283 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9284 (__xmknod): Do not use CHECK_STRING.
9285 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9287 (__xmknodat): Do not use CHECK_STRING.
9288 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9289 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9291 2013-02-04 Andreas Schwab <schwab@suse.de>
9294 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9295 * include/netdb.h: Likewise for h_errno.
9296 * elf/tst-stackguard1.c: Include <tls.h>.
9298 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9300 * elf/link.h (struct link_map): Extend the l_addr comment.
9301 * include/link.h (struct link_map): Likewise.
9303 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9306 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9307 (BOUNDED_1): Remove macro.
9308 * debug/backtrace.c: Don't include <bp-checks.h>.
9309 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9310 (__backtrace): Likewise.
9311 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9313 (__backtrace): Don't use BOUNDED_1.
9314 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9316 (__backtrace): Don't use BOUNDED_1.
9317 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9318 (__backtrace): Don't use BOUNDED_1.
9319 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9320 (shmat): Don't use BOUNDED_N.
9322 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/generic/bp-start.h: Remove file.
9326 * csu/libc-start.c: Don't include <bp-start.h>.
9327 (LIBC_START_MAIN): Set up __environ directly instead of using
9328 INIT_ARGV_and_ENVIRON.
9329 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9333 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9335 (CHECK_FCNTL): Likewise.
9336 (CHECK_N_PAGES): Likewise.
9339 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9341 (CHECK_SIGSET_NULL_OK): Likewise.
9342 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9344 (sigpending): Don't use CHECK_SIGSET.
9345 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9347 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9348 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9350 (do_sigsuspend): Don't use CHECK_SIGSET.
9351 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9353 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9354 (do_sigwait): Don't use CHECK_SIGSET.
9355 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9358 include <bp-checks.h>.
9359 (sigpending): Don't use CHECK_SIGSET.
9360 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9361 include <bp-checks.h>.
9362 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9363 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9365 (sigpending): Don't use CHECK_SIGSET.
9366 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9368 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9371 * sysdeps/generic/bp-semctl.h: Remove file.
9372 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9373 <bp-checks.h> and <bp-semctl.h>.
9374 (__old_semctl): Don't use CHECK_SEMCTL.
9375 (__new_semctl): Likewise.
9376 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9378 (__old_semctl): Don't use CHECK_SEMCTL.
9379 (__new_semctl): Likewise.
9380 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9381 <bp-checks.h> and <bp-semctl.h>.
9382 (__old_semctl): Don't use CHECK_SEMCTL.
9383 (__new_semctl): Likewise.
9384 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9385 <bp-checks.h> and <bp-semctl.h>.
9386 (semctl): Don't use CHECK_SEMCTL.
9389 * Makerules (elide-bp-thunks): Remove variable.
9390 (elide-routines.oS): Don't use $(elide-bp-thunks).
9391 (elide-routines.os): Likewise.
9392 (elide-routines.o): Likewise.
9393 (elide-routines.op): Likewise.
9394 (elide-routines.og): Likewise.
9395 (objects): Don't use $(bp-thunks).
9396 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9398 (common-generated): Do not add s-proto-bp.d.
9399 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9402 Do not generate makefile rules for bounded-pointer thunks.
9403 * sysdeps/generic/bp-thunks.h: Remove file.
9404 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9405 * sysdeps/unix/s-proto-bp.S: Likewise.
9408 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9409 parts of result separately when argument is not close to line from
9410 -i to i and one part of argument is small.
9411 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9412 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9413 * math/libm-test.inc (cacos_test): Add more tests.
9414 (casin_test): Likewise.
9415 (casinh_test): Likewise.
9416 * sysdeps/i386/fpu/libm-test-ulps: Update.
9417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9419 2013-01-31 David S. Miller <davem@davemloft.net>
9421 * po/de.po: Update from translation team.
9423 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9425 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9427 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9429 * configure.in (_AC_PROG_CC_C89): New definition.
9430 * configure: Regenerate.
9432 * configure.in (AC_PROG_CPP): New definition.
9433 * configure: Regenerate.
9435 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9437 * debug/tst-backtrace.h: New file.
9438 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9439 (ret): Remove variable.
9441 (FAIL): Remove macro.
9442 (NO_INLINE): Likewise.
9443 (fn1): Use match function instead of strstr.
9444 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9445 (ret): Remove variable.
9447 (FAIL): Remove macro.
9448 (NO_INLINE): Likewise.
9449 (fn): Use match function instead of strstr.
9450 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9451 (ret): Remove variable.
9453 (FAIL): Remove macro.
9454 (NO_INLINE): Likewise.
9455 (handle_signal): Use match function instead of strstr.
9456 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9457 (ret): Remove variable.
9459 (FAIL): Remove macro.
9460 (NO_INLINE): Likewise.
9461 (handle_signal): Use match function instead of strstr.
9463 2013-01-23 Roland McGrath <roland@hack.frob.com>
9465 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9467 2013-01-23 David S. Miller <davem@davemloft.net>
9469 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9470 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9471 argument of CAS if possible.
9472 * sysdeps/sparc/sparc64/bits/atomic.h
9473 (__arch_compare_and_exchange_val_32_acq): Likewise.
9474 (__arch_compare_and_exchange_val_64_acq): Likewise.
9476 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9478 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9479 * sysdeps/posix/ulimit.c: ... this.
9481 * sysdeps/unix/bsd/ulimit.c: Remove file.
9483 2013-01-23 Adam Conrad <adconrad@0c3.net>
9485 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9486 (LDFLAGS-tst-array5): Likewise.
9488 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9491 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9492 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9493 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9494 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9496 2013-01-21 David S. Miller <davem@davemloft.net>
9498 * sysdeps/sparc/backtrace.c: New file.
9499 * sysdeps/sparc/sparc32/backtrace.h: New file.
9500 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9501 * sysdeps/sparc/sparc64/backtrace.h: New file.
9502 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9503 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9506 2013-01-21 Andreas Schwab <schwab@suse.de>
9509 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9512 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9518 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9519 Mark Mitchell <mark@codesourcery.com>
9520 Tom de Vries <tom@codesourcery.com>
9521 Paul Pluzhnikov <ppluzhnikov@google.com>
9523 * debug/tst-backtrace2.c: New file.
9524 * debug/tst-backtrace3.c: Likewise.
9525 * debug/tst-backtrace4.c: Likewise.
9526 * debug/tst-backtrace5.c: Likewise.
9527 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9528 (CFLAGS-tst-backtrace3.c): Likewise.
9529 (CFLAGS-tst-backtrace4.c): Likewise.
9530 (CFLAGS-tst-backtrace5.c): Likewise.
9531 (LDFLAGS-tst-backtrace2): Likewise.
9532 (LDFLAGS-tst-backtrace3): Likewise.
9533 (LDFLAGS-tst-backtrace4): Likewise.
9534 (LDFLAGS-tst-backtrace5): Likewise.
9535 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9536 tst-backtrace4 and tst-backtrace5.
9538 2013-01-18 Anton Blanchard <anton@samba.org>
9539 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9541 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9542 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9543 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9544 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9546 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9547 "+r" and remove output regs list as redundant. Add explicit inline
9548 asm to specify register of return val to work around compiler codegen
9549 bug. Remove (int) cast on return value. Add return type parameter to
9550 use in macro so that this macro does not truncate return value for
9552 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9553 pass to INTERNAL_VSYSCALL_NCS.
9554 (INLINE_VSYSCALL): Add 'long int' as return type to
9555 INTERNAL_VSYSCALL_NCS macro invocation.
9556 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9557 INTERNAL_VSYSCALL_NCS macro invocation.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9560 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9563 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9564 Fix application of SIMD FP exception mask.
9566 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9567 mp_no from a power of two.
9568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9569 __mpexp_twomm1. Use __pow_mp.
9571 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9574 2013-01-17 David S. Miller <davem@davemloft.net>
9576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9578 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9581 * include/complex.h: Condition contents on [!_COMPLEX_H].
9582 (__kernel_casinhf): New prototype.
9583 (__kernel_casinh): Likewise.
9584 (__kernel_casinhl): Likewise.
9585 * math/Makefile (libm_calls): Add k_casinh.
9586 * math/k_casinh.c: New file.
9587 * math/k_casinhf.c: Likewise.
9588 * math/k_casinhl.c: Likewise.
9589 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9590 finite nonzero arguments.
9591 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9592 finite nonzero arguments.
9593 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9594 finite nonzero arguments.
9595 * math/s_casinh.c: Do not include <float.h>.
9596 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9597 * math/s_casinhf.c: Do not include <float.h>.
9598 (__casinhf): Move code for finite nonzero arguments to
9600 * math/s_casinhl.c: Do not include <float.h>.
9601 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9603 (__casinhl): Move code for finite nonzero arguments to
9605 * math/libm-test.inc (cacos_test): Add more tests.
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9609 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9611 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9612 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9613 [!HAVE_MREMAP]: Remove [defined linux] case.
9614 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9616 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9618 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9620 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9622 * elf/elf.h (R_386_SIZE32): New relocation.
9623 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9625 (elf_machine_rela): Likewise.
9626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9627 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9629 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9631 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9632 (FP_FAST_FMA): Do not define.
9633 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9634 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9635 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9636 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9637 !_SOFT_FLOAT]: Likewise.
9638 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9639 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9641 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9642 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9643 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9644 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9645 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9646 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9649 2013-01-16 Andreas Schwab <schwab@suse.de>
9652 * include/stdlib.h (__mktemp): Add declaration.
9653 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9654 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9656 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9658 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9660 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9661 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9662 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9664 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9665 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9667 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9669 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9670 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9671 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9673 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9674 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9676 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9678 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9680 2013-01-15 David S. Miller <davem@davemloft.net>
9682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9683 trunc{,f} to libm-sysdep_routes.
9684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9694 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9695 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9696 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9697 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9698 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9699 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9702 nearbyint{,f} to libm-sysdep_routes.
9703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9714 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9716 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9717 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9719 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9720 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9721 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9723 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9724 libc_feholdexcept and libc_fesetenv.
9726 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9728 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9730 2013-01-14 David S. Miller <davem@davemloft.net>
9732 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9733 (SPARC_ASM_VIS2_IFUNC): Likewise.
9734 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9736 use of 'siam' instruction.
9737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9770 routines to libm-sysdep_routines.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9774 fdim/fdimf to libm-sysdep_routines.
9775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9783 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9784 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9785 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9786 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9788 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9790 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9793 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9798 local variable MPTWO.
9799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9802 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9804 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9807 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9809 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9811 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9813 * manual/pattern.texi (glob_t): Document gl_flags.
9814 (glob64_t): Likewise.
9816 2013-01-11 David S. Miller <davem@davemloft.net>
9818 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9819 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9820 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9821 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9822 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9823 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9824 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9825 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9826 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9827 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9828 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9829 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9830 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9832 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9833 sparc V9 rather than using V8 code.
9834 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9835 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9839 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9842 2013-01-11 Roland McGrath <roland@hack.frob.com>
9844 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9845 not in the main loop.
9846 * configure: Regenerated.
9848 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9850 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9851 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9853 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9854 [!__GLIBC_HAVE_LONG_LONG] case.
9855 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9856 condition to just #else.
9857 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9858 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9859 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9860 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9862 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9863 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9864 #elif condition to just #else.
9865 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9866 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9867 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9868 #elif condition to just #else.
9870 2013-01-11 Steve Ellcey <sellcey@mips.com>
9872 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9873 (EF_MIPS_ARCH_64): Fix value.
9874 (EF_MIPS_ARCH_32R2): New.
9875 (EF_MIPS_ARCH_64R2): New.
9877 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9879 * Makeconfig (+link-pie-before-libc): New.
9880 (+link-pie-after-libc): Likewise.
9881 (+link-pie-tests): Likewise.
9882 (+link-pie): Rewritten.
9883 (link-before-libc): Remove $(config-LDFLAGS).
9884 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9885 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9886 (config-LDFLAGS): Renamed to ...
9887 (rtld-LDFLAGS): This.
9888 (rtld-tests-LDFLAGS): New macro.
9889 (link-libc-rpath-link): Likewise.
9890 (link-libc-tests-rpath-link): Likewise.
9891 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9892 (link-libc): Prepand $(link-libc-rpath-link).
9893 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9894 (test-program-prefix): New macro.
9895 (test-via-rtld-prefix): Likewise.
9896 (test-program-cmd): Likewise.
9897 (host-test-program-cmd): Likewise.
9898 * Makefile ($(common-objpfx)testrun.sh): Replace
9899 $(run-program-prefix) with $(test-program-prefix).
9900 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9902 ($(common-objpfx)shlib.lds): Likewise.
9903 (build-module-helper): Likewise.
9904 ($(common-objpfx)format.lds): Likewise.
9905 * Rules (binaries-pie-tests): New.
9906 (binaries-pie-notests): Likewise.
9907 (binaries-pie): Rewritten.
9908 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9909 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9910 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9911 (make-test-out): Replace $(host-built-program-cmd) with
9912 $(host-test-program-cmd).
9913 * config.make.in (build-hardcoded-path-in-tests): New variable.
9914 * configure.in (--enable-hardcoded-path-in-tests): New configure
9916 (hardcoded_path_in_tests): New AC_SUBST.
9917 * configure: Regenerated.
9918 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9919 $(built-program-cmd) with $(test-program-cmd).
9920 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9921 (test_program_cmd): This.
9922 * elf/Makefile ($(objpfx)order.out): Run test with
9923 $(test-program-prefix).
9924 ($(objpfx)order2.out): Likewise.
9925 ($(objpfx)tst-initorder.out): Likewise.
9926 ($(objpfx)tst-initorder2.out): Likewise.
9927 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9928 $(test-program-cmd).
9929 ($(objpfx)tst-array1-static.out): Likewise.
9930 ($(objpfx)tst-array2.out): Likewise.
9931 ($(objpfx)tst-array3.out): Likewise.
9932 ($(objpfx)tst-array4.out): Likewise.
9933 ($(objpfx)tst-array5.out): Likewise.
9934 ($(objpfx)tst-array5-static.out): Likewise.
9935 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9936 $(test-program-cmd).
9937 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9938 $(run-program-prefix) with $(test-program-prefix).
9939 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9940 (test_program_prefix): This.
9941 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9942 $(run-program-prefix) with $(test-program-prefix).
9943 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9944 (test_program_prefix): This.
9945 * iconvdata/tst-tables.sh: Likewise.
9946 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9947 $(run-program-prefix) with $(test-program-prefix).
9948 ($(objpfx)tst-translit.out): Likewise.
9949 ($(objpfx)tst-gettext2.out): Likewise.
9950 ($(objpfx)tst-gettext4.out): Likewise.
9951 ($(objpfx)tst-gettext6.out): Likewise.
9952 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9953 (test_program_prefix): This.
9954 * intl/tst-gettext2.sh: Likewise.
9955 * intl/tst-gettext4.sh Likewise.
9956 * intl/tst-gettext6.sh: Likewise.
9957 * intl/tst-translit.sh: Likewise.
9958 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9959 with $(test-program-cmd).
9960 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9961 $(run-program-prefix) with $(test-program-prefix).
9962 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9963 (test_program_prefix): This.
9964 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9965 $(run-program-prefix) with $(test-program-prefix).
9966 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9967 (test_program_prefix): This.
9968 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9969 * posix/Makefile ($(objpfx)globtest.out): Replace
9970 $(run-via-rtld-prefix) and $(test-wrapper) with
9971 $(test-program-prefix) and $(test-via-rtld-prefix).
9972 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9973 $(test-program-prefix).
9974 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9975 $(host-test-program-cmd).
9976 (tst-spawn-ARGS): Likewise.
9977 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9978 $(test-program-prefix).
9979 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9980 (test_via_rtld_prefix): This.
9981 (test_wrapper): Renamed to ...
9982 (test_program_prefix): This.
9983 (run_program_prefix): Replaced by test_program_prefix.
9984 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9985 (test_program_prefix): This.
9986 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9987 with $(host-test-program-cmd).
9988 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9989 $(run-program-prefix) with $(test-program-prefix).
9990 ($(objpfx)tst-printf.out): Likewise.
9991 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9992 $(test-program-cmd).
9993 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9994 (test_program_prefix): This.
9995 * stdio-common/tst-unbputc.sh: Likewise.
9996 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9997 $(run-program-prefix) with $(test-program-prefix).
9998 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9999 (test_program_prefix): This.
10000 * string/Makefile ($(objpfx)tst-svc.out): Replace
10001 $(built-program-cmd) with $(test-program-cmd).
10003 2013-01-11 Andreas Jaeger <aj@suse.de>
10006 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10007 value. Sync with Linux 3.7.
10009 2013-01-10 David S. Miller <davem@davemloft.net>
10011 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10012 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10013 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10015 2013-01-10 Roland McGrath <roland@hack.frob.com>
10017 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10019 * configure: Regenerated.
10021 2013-01-10 David S. Miller <davem@davemloft.net>
10023 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10024 sparc V9 rather than using V8 code.
10025 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10026 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10028 2013-01-10 Roland McGrath <roland@hack.frob.com>
10030 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10031 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10032 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10033 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10034 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10035 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10036 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10037 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10038 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10039 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10040 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10041 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10042 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10043 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10044 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10045 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10046 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10047 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10048 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10049 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10050 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10051 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10052 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10053 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10054 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10055 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10056 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10058 2013-01-10 David S. Miller <davem@davemloft.net>
10060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10062 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10064 * posix/Makefile (tests-static): New variable.
10065 (tests): Add $(tests-static).
10066 (tst-exec-static-ARGS): New variable.
10067 (tst-spawn-static-ARGS): Likewise.
10068 * posix/tst-exec-static.c: New file.
10069 * posix/tst-spawn-static.c: Likewise.
10070 * posix/tst-exec.c: Support run directly.
10071 * posix/tst-spawn.c: Likewise.
10073 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10075 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10077 * math/bits/mathcalls.h (llrint): Likewise.
10078 (llround): Likewise.
10079 * stdlib/stdlib.h (struct drand48_data): Likewise.
10080 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10081 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10082 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10084 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10086 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10087 (elf_greg_t): Likewise.
10088 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10089 (__jmp_buf): Likewise.
10090 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10092 (llrint): Likewise, for all definitions.
10093 (llrintl): Likewise.
10095 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10096 Remove [__GNUC__] condition.
10097 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10098 condition to just [__USE_ISOC99].
10099 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10101 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10104 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10105 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10107 (_POSIX_V6_ILP32_OFF32): Likewise.
10108 (_XBS5_ILP32_OFF32): Likewise.
10109 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10110 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10112 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10114 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10117 doubles __mpexp_twomm1. Adjust usage.
10118 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10121 2013-01-10 Andreas Schwab <schwab@suse.de>
10124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10125 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10127 2013-01-09 David S. Miller <davem@davemloft.net>
10130 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10131 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10132 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10133 TCP_FASTOPEN): Define.
10134 (tcp_repair_opt): New structure.
10135 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10137 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10138 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10139 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10140 (tcp_cookie_transactions): New structure.
10142 2013-01-09 Anton Blanchard <anton@samba.org>
10144 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10145 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10146 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10147 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10149 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10151 * include/features.h (__USE_ANSI): Remove.
10153 2013-01-09 Roland McGrath <roland@hack.frob.com>
10155 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10157 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10159 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10161 * sysdeps/s390/fpu/libm-test-ulps: Update.
10163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10165 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10169 (denorm): Likewise.
10170 (__mp_dbl): Likewise.
10171 (__dbl_mp): Likewise.
10172 (add_magnitudes): Likewise.
10173 (sub_magnitudes): Likewise.
10179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10183 (denorm): Likewise.
10184 (__mp_dbl): Likewise.
10185 (__dbl_mp): Likewise.
10186 (add_magnitudes): Likewise.
10187 (sub_magnitudes): Likewise.
10193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10197 (denorm): Likewise.
10198 (__mp_dbl): Likewise.
10199 (__dbl_mp): Likewise.
10200 (add_magnitudes): Likewise.
10201 (sub_magnitudes): Likewise.
10208 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10210 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10211 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10212 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10213 2 && __USE_EXTERN_INLINES]: Likewise.
10215 2013-01-08 Andreas Jaeger <aj@suse.de>
10218 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10220 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10221 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10223 2013-01-07 Anton Blanchard <anton@samba.org>
10225 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10226 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10227 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10228 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10229 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10230 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10231 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10232 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10235 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10237 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10238 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10239 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10240 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10241 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10242 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10243 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10245 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10246 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10247 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10248 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10249 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10250 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10251 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10252 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10253 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10254 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10255 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10257 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10258 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10260 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10261 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10262 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10263 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10264 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10265 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10267 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10269 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10271 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10272 (__MALLOC_PMT): Likewise.
10273 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10274 [__GNUC__], only on [_LIBC].
10275 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10276 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10277 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10278 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10279 forward declaration.
10280 (realloc_hook_ini): Likewise.
10281 (memalign_hook_ini): Likewise.
10282 (__libc_memalign): Do not use __MALLOC_PMT in variable
10284 (__libc_valloc): Likewise.
10285 (__libc_pvalloc): Likewise.
10286 (__libc_calloc): Likewise.
10287 (__posix_memalign): Likewise.
10290 * math/s_casinh.c: Include <float.h>.
10291 (__casinh): Do not do computation with squaring and square root
10292 for large arguments.
10293 * math/s_casinhf.c: Include <float.h>.
10294 (__casinhf): Do not do computation with squaring and square root
10295 for large arguments.
10296 * math/s_casinhl.c: Include <float.h>.
10297 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10298 (__casinhl): Do not do computation with squaring and square root
10299 for large arguments.
10300 * math/libm-test.inc (casin_test): Add more tests.
10301 (casinh_test): Likewise.
10302 * sysdeps/i386/fpu/libm-test-ulps: Update.
10303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10305 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10307 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10308 (__x86_64_raw_data_cache_size): Likewise.
10309 (__x86_64_data_cache_size_half): Likewise.
10310 (__x86_64_raw_data_cache_size_half): Likewise.
10311 (__x86_64_shared_cache_size): Likewise.
10312 (__x86_64_raw_shared_cache_size): Likewise.
10313 (__x86_64_shared_cache_size_half): Likewise.
10314 (__x86_64_raw_shared_cache_size_half): Likewise.
10315 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10317 (__x86_data_cache_size): This.
10318 (__x86_64_raw_data_cache_size): Renamed to ...
10319 (__x86_raw_data_cache_size): This.
10320 (__x86_64_data_cache_size_half): Renamed to ...
10321 (__x86_data_cache_size_half): This.
10322 (__x86_64_raw_data_cache_size_half): Renamed to ...
10323 (__x86_raw_data_cache_size_half): This.
10324 (__x86_64_shared_cache_size): Renamed to ...
10325 (__x86_shared_cache_size): This.
10326 (__x86_64_raw_shared_cache_size): Renamed to ...
10327 (__x86_raw_shared_cache_size): This.
10328 (__x86_64_shared_cache_size_half): Renamed to ...
10329 (__x86_shared_cache_size_half): This.
10330 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10331 (__x86_raw_shared_cache_size_half): This.
10332 * sysdeps/x86_64/memcpy.S: Updated.
10333 * sysdeps/x86_64/memset.S: Likewise.
10334 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10335 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10336 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10338 2013-01-04 David S. Miller <davem@davemloft.net>
10340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10342 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10344 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10345 1 to avoid redefinition warning.
10346 (__USE_GNU): Don't define.
10347 (init_signaling_nan): Protoize.
10349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10351 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10353 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10355 (__cpymn): Likewise.
10356 (norm): Remove commented code.
10357 (denorm): Likewise.
10358 (__mp_dbl): Likewise.
10360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10361 (__cpymn): Likewise.
10362 (norm): Remove commented code.
10363 (denorm): Likewise.
10364 (__mp_dbl): Likewise.
10367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10368 mp_no value for 1.0 and 2.0.
10369 (norm): Use RADIXI instead of radixi.d.
10370 (denorm): Likewise.
10371 (__mul): Use 0.0 instead of zero.d.
10372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10373 mp_no value for 1.0 and 2.0.
10374 (norm): Use RADIXI instead of radixi.d.
10375 (denorm): Likewise.
10376 (__mul): Use 0.0 instead of zero.d.
10378 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10381 * math/s_casinh.c (__casinh): Reduce finite argument to first
10382 quadrant then set signs of results at the end.
10383 * math/s_casinhf.c (__casinhf): Likewise.
10384 * math/s_casinhl.c (__casinhl): Likewise.
10385 * math/libm-test.inc (casin_test): Add more tests.
10386 (casinh_test): Likewise.
10387 * sysdeps/i386/fpu/libm-test-ulps: Update.
10388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10390 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10392 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10394 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10396 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10398 (denorm): Likewise.
10399 (__mp_dbl): Likewise.
10402 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10403 and adjust the header comment.
10405 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10406 variable name from declaration.
10408 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10411 Initialize COMMON_CPUID_INDEX_7 element.
10412 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10413 (CPUID_RTM): Likewise.
10414 (HAS_RTM): Likewise.
10415 (COMMON_CPUID_INDEX_7): New enum.
10417 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10420 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10421 size is zero, record memory as freed.
10423 2013-01-03 Andreas Jaeger <aj@suse.de>
10425 * po/ia.po: Add new Interlingua translation.
10427 2012-01-03 Allan McRae <allan@archlinux.org>
10429 * locale/programs/localedef.c: Fix description of '--posix' flag.
10431 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10433 * NEWS: Update dates in second copyright notice.
10434 * README: Update copyright dates in example.
10435 * manual/libc.texinfo: Update copyright dates.
10436 * scripts/test-installation.pl: Update copyright date in --version
10439 * hurd/ctty-input.c: Fix copyright notice formatting.
10440 * hurd/ctty-output.c: Likewise.
10441 * hurd/dtable.c: Likewise.
10442 * hurd/hurd-raise.c: Likewise.
10443 * hurd/hurdprio.c: Likewise.
10444 * hurd/msgportdemux.c: Likewise.
10445 * misc/sys/file.h: Likewise.
10446 * misc/sys/ioctl.h: Likewise.
10447 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10448 * sysdeps/mach/hurd/chdir.c: Likewise.
10449 * sysdeps/mach/hurd/fchdir.c: Likewise.
10450 * sysdeps/mach/hurd/rename.c: Likewise.
10451 * sysdeps/mach/hurd/rmdir.c: Likewise.
10452 * sysdeps/mach/hurd/seekdir.c: Likewise.
10453 * sysdeps/mach/hurd/setsid.c: Likewise.
10454 * sysdeps/posix/wait3.c: Likewise.
10456 * All files with FSF copyright notices: Update copyright dates
10457 using scripts/update-copyrights.
10458 * intl/plural.c: Regenerated.
10459 * locale/programs/charmap-kw.h: Likewise.
10460 * locale/programs/locfile-kw.h: Likewise.
10462 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10464 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10467 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10468 calculation loop and add branch prediction.
10470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10471 check access beyond bounds of m1np.
10473 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10475 (__inv): Remove local variable MPTWO to use the global
10477 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10478 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10480 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10481 MP3HALFS static const.
10483 2013-01-01 David S. Miller <davem@davemloft.net>
10485 * po/ca.po: Update from translation team.
10487 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10489 * scripts/update-copyrights: New file.
10490 * Makeconfig: Reformat copyright notice.
10491 * ctype/ctype.h: Likewise.
10492 * debug/swprintf_chk.c: Likewise.
10493 * elf/dl-cache.c: Likewise.
10494 * elf/dl-debug.c: Likewise.
10495 * elf/dl-object.c: Likewise.
10496 * grp/initgroups.c: Likewise.
10497 * hurd/Makefile: Likewise.
10498 * hurd/hurd/signal.h: Likewise.
10499 * hurd/hurdfault.c: Likewise.
10500 * hurd/hurdioctl.c: Likewise.
10501 * hurd/hurdlookup.c: Likewise.
10502 * hurd/intr-msg.c: Likewise.
10503 * iconv/gconv_open.c: Likewise.
10504 * libio/swprintf.c: Likewise.
10505 * locale/lc-ctype.c: Likewise.
10506 * locale/nl_langinfo.c: Likewise.
10507 * mach/Machrules: Likewise.
10508 * mach/Makefile: Likewise.
10509 * malloc/obstack.h: Likewise.
10510 * manual/Makefile: Likewise.
10511 * manual/tsort.awk: Likewise.
10512 * misc/bits/stab.def: Likewise.
10513 * nis/nis_print_group_entry.c: Likewise.
10514 * nis/nis_table.c: Likewise.
10515 * nis/nss_compat/compat-pwd.c: Likewise.
10516 * nis/nss_compat/compat-spwd.c: Likewise.
10517 * po/Makefile: Likewise.
10518 * posix/fnmatch.c: Likewise.
10519 * posix/regex.h: Likewise.
10520 * resolv/Makefile: Likewise.
10521 * resolv/nss_dns/dns-network.c: Likewise.
10522 * resolv/res_hconf.c: Likewise.
10523 * scripts/gen-sorted.awk: Likewise.
10524 * soft-fp/soft-fp.h: Likewise.
10525 * stdio-common/printf.h: Likewise.
10526 * stdlib/monetary.h: Likewise.
10527 * stdlib/random.c: Likewise.
10528 * stdlib/random_r.c: Likewise.
10529 * sysdeps/generic/Makefile: Likewise.
10530 * sysdeps/gnu/Makefile: Likewise.
10531 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10554 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10555 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10559 * sysdeps/mach/hurd/errnos.awk: Likewise.
10560 * sysdeps/mach/hurd/fork.c: Likewise.
10561 * sysdeps/mach/hurd/getcwd.c: Likewise.
10562 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10563 * sysdeps/mach/hurd/mmap.c: Likewise.
10564 * sysdeps/mach/hurd/utimes.c: Likewise.
10565 * sysdeps/mach/hurd/xmknod.c: Likewise.
10566 * sysdeps/posix/profil.c: Likewise.
10567 * sysdeps/posix/readdir_r.c: Likewise.
10568 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10569 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10570 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10571 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10573 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10574 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10575 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10577 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10578 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10579 * sysdeps/pthread/lio_listio.c: Likewise.
10580 * sysdeps/sparc/dl-procinfo.h: Likewise.
10581 * sysdeps/unix/i386/sysdep.S: Likewise.
10582 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10583 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10584 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10585 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10587 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10588 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10589 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10590 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10591 * sysdeps/wordsize-32/divdi3.c: Likewise.
10592 * time/sys/time.h: Likewise.
10593 * wcsmbs/Makefile: Likewise.
10595 2013-01-01 David S. Miller <davem@davemloft.net>
10597 * po/fr.po: Update from translation team.
10599 * catgets/gencat.c: Update copyright year.
10600 * csu/version.c: Likewise.
10601 * debug/catchsegv.sh: Likewise.
10602 * debug/pcprofiledump.c: Likewise.
10603 * debug/xtrace.sh: Likewise.
10604 * elf/ldconfig.c: Likewise.
10605 * elf/ldd.bash.in: Likewise.
10606 * elf/pldd.c: Likewise.
10607 * elf/sotruss.ksh: Likewise.
10608 * elf/sprof.c: Likewise.
10609 * iconv/iconv_prog.c: Likewise.
10610 * iconv/iconvconfig.c: Likewise.
10611 * locale/programs/locale.c: Likewise.
10612 * locale/programs/localedef.c: Likewise.
10613 * login/programs/pt_chown.c: Likewise.
10614 * malloc/memusage.sh: Likewise.
10615 * malloc/memusagestat.c: Likewise.
10616 * malloc/mtrace.pl: Likewise.
10617 * nscd/nscd.c: Likewise.
10618 * nss/getent.c: Likewise.
10619 * nss/makedb.c: Likewise.
10620 * posix/getconf.c: Likewise.
10622 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10624 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10627 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10629 * math/bits/mathcalls.h (modf): Use __nonnull.
10631 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10633 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10634 (split): Use macro CN instead of the bare value.
10635 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10638 instead of the bare value.
10639 (power1): Likewise.
10641 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10643 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10645 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10647 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10649 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10651 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10652 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10654 2012-12-28 Andreas Jaeger <aj@suse.de>
10656 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10657 values are from Linux 3.7.
10659 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10660 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10662 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10664 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10667 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10669 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10670 variables with preprocessor constants.
10671 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10672 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10673 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10675 2012-12-27 Bruno Haible <bruno@clisp.org>
10678 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10681 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10684 and use variable directly.
10685 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10687 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10689 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10692 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10694 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10695 include directive. Remove local variable MPONE.
10696 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10697 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10698 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10700 2012-12-25 David S. Miller <davem@davemloft.net>
10702 * version.h (RELEASE): Set to "development".
10703 (VERSION): Set to "2.17.90".
10704 * NEWS: Add 2.18 section.
10706 2012-12-21 David S. Miller <davem@davemloft.net>
10708 * po/hr.po: Update from translation team.
10710 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10712 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10714 2012-12-19 Steve Ellcey <sellcey@mips.com>
10716 * NEWS: Mention new memcpy for MIPS.
10718 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10720 * manual/contrib.texi (Contributors): Spelling correction.
10722 2012-12-15 David S. Miller <davem@davemloft.net>
10724 * po/ru.po: Update from translation team.
10726 2012-12-13 David S. Miller <davem@davemloft.net>
10728 * NEWS: Mention IFUNC testsuite enhancements.
10730 * po/pl.po: Update from translation team.
10731 * po/bg.po: Likewise.
10733 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10734 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10736 2012-12-11 David S. Miller <davem@davemloft.net>
10738 * po/sv.po: Update from translation team.
10740 * po/vi.po: Update from translation team.
10742 * po/cs.po: Update from translation team.
10744 * po/de.po: Update from translation team.
10745 * po/eo.po: Likewise.
10746 * po/nl.po: Likewise.
10748 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10751 * manual/argp.texi (Argp Helper Functions): Move node to follow
10752 Argp Parsing State.
10755 * manual/conf.texi (Limits on File System Capacity): Mention if
10756 terminating null is included in the max size.
10758 2012-12-10 Andreas Jaeger <aj@suse.de>
10760 * po/cs.po: Update from translation team.
10762 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10764 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10765 void pointer and cast to uintptr_t.
10766 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10768 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10769 * sysdeps/s390/s390-64/memset.S: Likewise.
10771 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10774 * menual/message.texi (Message Translation): Fix typos.
10775 (Helper programs for gettext): Likewise.
10777 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10780 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10783 2012-12-07 David S. Miller <davem@davemloft.net>
10785 * po/libc.pot: Update.
10787 2012-12-07 Richard Henderson <rth@redhat.com>
10790 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10791 normal/normal case to before the switch.
10792 (_FP_DIV): Likewise.
10794 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10795 Mike Frysinger <vapier@gentoo.org>
10797 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10798 check for __NR_fadvise64_64.
10800 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10802 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10803 0, not just to plain "0" as a statement.
10804 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10807 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10809 * NEWS: Use sourceware.org in Bugzilla URL.
10811 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10814 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10816 * stdio-common/tst-put-error.c (do_test): Add newline to the
10817 padded test to ensure flush.
10819 2012-12-05 Jeff Law <law@redhat.com>
10821 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10823 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10825 * README: Don't refer to ports add-on as distributed separately.
10826 Mention AArch64 in list of systems supported in the ports add-on.
10828 * LICENSES: Add more non-FSF copyright and license notices.
10830 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10833 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10835 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10836 10000 as width of padded output.
10838 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10840 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10842 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10843 variable LX with __attribute__ ((unused)).
10844 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10846 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10849 with __attribute__ ((unused)).
10851 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10853 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10855 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10857 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10858 (CFLAGS-nldbl-acos.c): New variable.
10859 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10860 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10861 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10862 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10863 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10864 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10865 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10866 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10867 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10868 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10869 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10870 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10871 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10872 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10873 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10874 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10875 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10876 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10877 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10878 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10879 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10880 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10881 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10882 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10883 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10884 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10885 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10886 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10887 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10888 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10889 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10890 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10891 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10892 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10893 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10894 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10895 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10896 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10897 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10898 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10899 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10900 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10901 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10902 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10903 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10904 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10905 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10906 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10907 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10908 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10909 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10910 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10911 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10912 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10913 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10914 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10915 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10916 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10917 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10918 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10919 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10920 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10921 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10922 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10923 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10924 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10925 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10926 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10927 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10928 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10929 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10930 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10931 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10932 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10933 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10934 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10935 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10936 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10937 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10938 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10939 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10940 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10941 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10942 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10943 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10944 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10945 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10946 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10947 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10948 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10949 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10950 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10951 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10952 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10953 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10954 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10955 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10958 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10962 whole low double instead of just low 47 bits when splitting values
10965 2012-12-03 Allan McRae <allan@archlinux.org>
10967 * manual/stdio.texi (Predefined Printf Handlers): Remove
10968 @hsep and @vsep usage.
10970 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10972 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10973 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10975 2012-12-03 Jeff Law <law@redhat.com>
10977 * time/sys/time.h (settimeofday): Do not mark TV argument
10980 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10982 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10983 when currently writing and seek to current position when not.
10984 * libio/Makefile (tests): Remove bug-fclose1.
10985 * libio/bug-fclose1.c: Delete.
10987 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10989 * manual/arith.texi (feenableexcept): Fix typo.
10990 (fedisableexcept): Likewise.
10992 2012-11-30 Roland McGrath <roland@hack.frob.com>
10994 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10995 second, differently-typed declaration, rather than a cast.
10997 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10999 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11000 * include/rpc/svc.h: ... here.
11002 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11005 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11006 depending n and resplen2 to catch cases where answer
11009 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11011 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11012 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11014 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11016 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11018 2012-11-29 Roland McGrath <roland@hack.frob.com>
11020 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11022 2012-11-28 Jeff Law <law@redhat.com>
11025 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11026 dataset_temporary. Track alloca usage into alloca_used.
11027 If dataset is large allocate and release it via malloc/free.
11029 2012-06-04 Florian Weimer <fweimer@redhat.com>
11032 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11034 2012-11-28 David S. Miller <davem@davemloft.net>
11036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11038 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11041 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11042 of pi/2 rounded to nearest to 64 bits.
11043 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11044 nearest to 64 bits.
11045 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11048 2012-11-28 Jeff Law <law@redhat.com>
11049 Martin Osvald <mosvald@redhat.com>
11052 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11053 * sunrpc/svc.c: Include time.h.
11054 (__svc_accept_failed): New function.
11055 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11056 any reason other than EINTR, call __svc_accept_failed.
11057 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11058 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11060 2012-11-28 Andreas Schwab <schwab@suse.de>
11062 * scripts/abilist.awk: Also handle indirect functions in .opd
11065 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11068 * sysdeps/x86/fpu/powl_helper.c: New file.
11069 * sysdeps/x86/fpu/Makefile: Likewise.
11070 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11072 (__ieee754_powl): Use __powl_helper for finite arguments except
11073 integer exponents below 8.
11074 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11076 (__ieee754_powl): Use __powl_helper for finite arguments except
11077 integer exponents below 8.
11078 * math/libm-test.inc (pow_test): Add more tests and enable some
11079 previously disabled tests.
11080 * sysdeps/i386/fpu/libm-test-ulps: Update.
11081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11083 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11084 Carlos O'Donell <carlos_odonell@mentor.com>
11086 * nss/makedb.c (is_prime): Assert that input is odd and greater
11087 than 4. Note that fact in a comment too.
11088 (next_prime): Add 4 to input.
11090 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11093 * libio/Makefile (tests): Add test case tst-fwrite-error.
11094 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11095 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11096 * libio/tst-fwrite-error.c: New test case.
11098 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11100 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11101 before casting to void *.
11102 * include/libc-internal.h (__pointer_type): New macro.
11103 (__integer_if_pointer_type_sub): Likewise.
11104 (__integer_if_pointer_type): Likewise.
11105 (cast_to_integer): Likewise.
11106 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11107 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11108 before casting to atomic64_t.
11109 (atomic_exchange_acq): Likewise.
11110 (__arch_exchange_and_add_body): Likewise.
11111 (__arch_add_body): Likewise.
11112 (atomic_add_negative): Likewise.
11113 (atomic_add_zero): Likewise.
11115 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11117 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11118 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11119 (add_fdes): Likewise.
11120 (linear_search_fdes): Likewise.
11121 (binary_search_unencoded_fdes): Likewise.
11123 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11125 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11127 2012-11-24 Adam Conrad <adconrad@0c3.net>
11129 * configure.in: Autodetect C++ header directories.
11130 * configure: Regenerated.
11132 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11134 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11136 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11140 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11142 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11143 LDBL_MANT_DIG == 106]: Disable some tests.
11144 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11146 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11150 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11151 input for small inputs. Return +/- pi/2 for large inputs.
11152 * math/libm-test.inc (atan_test): Add more tests.
11154 * sysdeps/generic/unwind-dw2-fde-glibc.c
11155 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11156 __attribute__ ((unused)).
11159 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11160 x * y if x and y are nonzero and z is zero.
11163 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11164 nonzero exponents with absolute value below 0x1p-117 to +/-
11168 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11169 up arguments below 2**-450, not just those below 2**-500.
11170 * math/libm-test.inc (hypot_test): Add another test.
11173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11174 Return a+b for ratio over 2**120, not 2**60.
11175 * math/libm-test.inc (hypot_test): Add another test.
11177 * math/libm-test.inc (clog_test): Use
11178 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11179 (clog10_test): Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11184 2012-11-22 Andreas Schwab <schwab@suse.de>
11186 * sysdeps/i386/fpu/libm-test-ulps: Update.
11188 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11190 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11191 printf output with newline.
11193 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11196 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11197 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11198 -z nodlopen, -z initfirst and -z execstack support.
11199 * configure: Regenerated.
11201 * elf/elf.h (DF_1_NODIRECT): New macro.
11202 (DF_1_IGNMULDEF): Likewise.
11203 (DF_1_NOKSYMS): Likewise.
11204 (DF_1_NOHDR): Likewise.
11205 (DF_1_EDITED): Likewise.
11206 (DF_1_NORELOC): Likewise.
11207 (DF_1_SYMINTPOSE): Likewise.
11208 (DF_1_GLOBAUDIT): Likewise.
11209 (DF_1_SINGLETON): Likewise.
11210 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11211 DT_1_SUPPORTED_MASK bits.
11212 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11214 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11216 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11218 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11220 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11223 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11224 (sendmmsg): Move declarations...
11225 * socket/sys/socket.h: ... here.
11226 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11227 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11229 * socket/recvmmsg.c: ... this new file.
11230 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11231 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11232 definition of __sendmmsg hidden.
11233 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11234 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11235 Move ENOSYS stub into and include it from...
11236 * socket/sendmmsg.c: ... this new file.
11237 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11238 (sysdep_routines): Move recvmmsg and sendmmsg...
11239 * socket/Makefile (routines): ... here.
11240 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11241 (GLIBC_PRIVATE): Add __sendmmsg.
11242 * include/sys/socket.h (__sendmmsg): Add declarations.
11243 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11246 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11249 variable I1 with __attribute__ ((unused)).
11250 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11252 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11254 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11255 DUMMY variables with __attribute__ ((unused)).
11257 * bits/byteswap.h: Include <bits/types.h>.
11258 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11260 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11262 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11263 string_t. Do not manually set errno.
11264 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11265 length with __strnlen. Make sure to both set errno and return it on
11268 2012-11-19 David S. Miller <davem@davemloft.net>
11270 With help from Joseph Myers.
11271 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11272 very large arguments properly.
11273 * math/libm-test.inc (atan_test): New tests.
11274 (atan2_test): New tests.
11275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11278 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11281 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11284 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11285 [POSIX] (EADDRNOTAVAIL): Likewise.
11286 [POSIX] (EAFNOSUPPORT): Likewise.
11287 [POSIX] (EALREADY): Likewise.
11288 [POSIX] (ECONNABORTED): Likewise.
11289 [POSIX] (ECONNREFUSED): Likewise.
11290 [POSIX] (ECONNRESET): Likewise.
11291 [POSIX] (EDESTADDRREQ): Likewise.
11292 [POSIX] (EDQUOT): Likewise.
11293 [POSIX] (EHOSTUNREACH): Likewise.
11294 [POSIX] (EIDRM): Likewise.
11295 [POSIX] (EISCONN): Likewise.
11296 [POSIX] (ELOOP): Likewise.
11297 [POSIX] (EMULTIHOP): Likewise.
11298 [POSIX] (ENETDOWN): Likewise.
11299 [POSIX] (ENETUNREACH): Likewise.
11300 [POSIX] (ENOBUFS): Likewise.
11301 [POSIX] (ENODATA): Likewise.
11302 [POSIX] (ENOLINK): Likewise.
11303 [POSIX] (ENOMSG): Likewise.
11304 [POSIX] (ENOPROTOOPT): Likewise.
11305 [POSIX] (ENOSR): Likewise.
11306 [POSIX] (ENOSTR): Likewise.
11307 [POSIX] (ENOTCONN): Likewise.
11308 [POSIX] (ENOTSOCK): Likewise.
11309 [POSIX] (EOPNOTSUPP): Likewise.
11310 [POSIX] (EOVERFLOW): Likewise.
11311 [POSIX] (EPROTO): Likewise.
11312 [POSIX] (EPROTONOSUPPORT): Likewise.
11313 [POSIX] (EPROTOTYPE): Likewise.
11314 [POSIX] (ESTALE): Likewise.
11315 [POSIX] (ETIME): Likewise.
11316 [POSIX] (ETXTBSY): Likewise.
11317 [POSIX] (EWOULDBLOCK): Likewise.
11318 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11319 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11320 [POSIX] (SEEK_CUR): Likewise.
11321 [POSIX] (SEEK_END): Likewise.
11322 [POSIX || UNIX98] (mode_t): Do not require.
11323 [POSIX] (off_t): Likewise.
11324 [POSIX] (pid_t): Likewise.
11325 [POSIX] (sys/stat.h): Do not allow header.
11326 [POSIX] (unistd.h): Likewise.
11327 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11328 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11329 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11330 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11332 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11333 sigevent): Specify elements.
11334 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11336 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11337 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11339 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11340 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11341 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11342 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11343 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11344 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11345 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11346 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11347 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11348 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11349 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11350 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11351 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11352 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11354 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11356 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11358 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11360 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11361 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11362 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11363 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11364 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11365 Specify lower bound on value.
11366 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11367 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11368 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11369 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11370 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11371 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11372 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11373 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11375 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11377 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11378 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11379 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11380 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11381 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11382 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11383 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11385 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11386 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11387 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11388 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11389 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11390 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11391 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11392 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11394 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11396 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11397 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11398 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11399 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11400 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11401 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11403 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11405 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11406 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11407 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11408 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11409 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11411 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11412 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11413 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11414 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11415 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11416 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11417 specify as optional.
11418 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11419 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11420 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11421 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11422 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11423 [XPG3] (NL_LANGMAX): Likewise.
11424 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11425 [POSIX || XPG3] (NL_NMAX): Likewise.
11426 [POSIX || XPG3] (NL_SETMAX): Likewise.
11427 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11428 [XPG3] (NZERO): Likewise.
11429 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11430 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11431 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11432 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11433 (REG_ERANGE): Expect.
11434 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11436 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11437 Use (void) in prototype.
11438 [POSIX] (*_t): Allow.
11439 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11440 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11441 (WRDE_BADVAL): Expect.
11443 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11445 [XPG3 || XPG4] (O_RSYNC): Likewise.
11446 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11448 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11449 [XPG3 || XPG4] (sigqueue): Likewise.
11450 [XPG3 || XPG4] (sigtimedwait): Likewise.
11451 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11452 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11453 [XPG3 || XPG4] (vsnprintf): Likewise.
11454 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11456 [XPG3 || XPG4] (blksize_t): Likewise.
11457 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11459 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11460 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11461 [XPG3 || XPG4] (struct itimerspec): Likewise.
11462 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11463 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11464 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11465 [XPG3 || XPG4] (clockid_t): Likewise.
11466 [XPG3 || XPG4] (timer_t): Likewise.
11467 [XPG3 || XPG4] (clock_getres): Likewise.
11468 [XPG3 || XPG4] (clock_gettime): Likewise.
11469 [XPG3 || XPG4] (clock_settime): Likewise.
11470 [XPG3 || XPG4] (nanosleep): Likewise.
11471 [XPG3 || XPG4] (timer_create): Likewise.
11472 [XPG3 || XPG4] (timer_delete): Likewise.
11473 [XPG3 || XPG4] (timer_gettime): Likewise.
11474 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11475 [XPG3 || XPG4] (timer_settime): Likewise.
11476 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11477 [XPG3 || XPG4] (getlogin_r): Likewise.
11478 [XPG3 || XPG4] (pread): Likewise.
11479 [XPG3 || XPG4] (pthread_atfork): Likewise.
11480 [XPG3 || XPG4] (pwrite): Likewise.
11483 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11486 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11488 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11489 finalizing MALLSTREAM.
11491 * sysdeps/mach/hurd/syncfs.c: New file.
11493 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11496 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11497 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11498 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11499 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11500 (_nss_dns_gethostbyname4_r): Likewise.
11501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11502 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11504 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11507 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11509 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11511 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11512 * elf/cache.c (print_entry): Print ",AArch64" for
11515 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11516 * elf/cache.c (print_entry): Print ",hard-float" for
11519 2012-11-18 David S. Miller <davem@davemloft.net>
11521 With help from Joseph Myers.
11522 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11524 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11526 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11527 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11529 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11530 * math/libm-test.inc (y0_test): New tests.
11531 (y1_test): New tests.
11532 * sysdeps/i386/fpu/libm-test-ulps: Update.
11533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11536 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11538 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11540 * configure: Regenerated.
11542 2012-11-17 David S. Miller <davem@davemloft.net>
11545 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11546 nonzero exponents with absolute value below 0x1p-128 to +/-
11549 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11551 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11553 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11555 * posix/getconf-speclist.c: New file.
11556 * posix/posix-envs.def: Likewise.
11557 * posix/confstr.c (START_ENV_GROUP): New macro.
11558 (END_ENV_GROUP): Likewise.
11559 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11560 (KNOWN_PRESENT_ENV_STRING): Likewise.
11561 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11562 (UNKNOWN_ENVIRONMENT): Likewise.
11563 (confstr): Include posix-envs.def instead of handling
11564 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11565 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11566 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11567 (END_ENV_GROUP): Likewise.
11568 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11569 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11570 (UNKNOWN_ENVIRONMENT): Likewise.
11571 (__sysconf): Include posix-envs.def instead of handling associated
11572 cases directly here.
11573 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11574 preprocessing getconf-speclist.c rather than running getconf or
11575 generating empty file.
11577 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11579 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11581 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11584 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11586 2012-11-16 David S. Miller <davem@davemloft.net>
11588 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11589 smaller than LDBL_EPSILON/2.0L, just return xm1.
11591 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11593 * elf/tst-array1.c (init): Set constructor priority to 1000.
11594 (fini): Set destructor priority to 1000.
11595 * elf/tst-array2dep.c: Likewise.
11597 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11600 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11601 (_IO_new_file_xsputn): Also return EOF if none of the input
11602 data was written when overflow failed.
11603 * libio/iopadn.c (_IO_padn): Likewise.
11604 * libio/iowpadn.c (_IO_wpadn): Likewise.
11605 * stdio-common/tst-put-error.c: Add copyright notice.
11606 (do_test): Add case for printing padded string.
11607 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11608 _IO_padn returned error.
11609 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11610 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11613 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11615 * libio/libioP.h: Add comment note that the references to C++
11616 bits are now obsolete.
11618 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11620 * math/libm-test.inc (check_complex): Use asprintf.
11622 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11624 * debug/pcprofiledump.c (print_version): Update copyright year.
11625 * malloc/memusagestat.c (print_version): Likewise.
11627 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11630 * elf/Makefile (tests): Add tst-audit8.
11631 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11632 ($(objpfx)tst-audit8.out): New target.
11633 (tst-audit8-ENV): New variable.
11634 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11635 audit if l_reloc_result is NULL.
11636 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11637 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11638 * elf/tst-audit8.c: New file.
11640 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11642 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11643 * misc/Makefile (CFLAGS-select.c): Define.
11644 * posix/Makefile (CFLAGS-pause.c): Define.
11646 2012-11-13 David S. Miller <davem@davemloft.net>
11648 * crypt/Makefile: Move test targets after toplevel Rules
11649 inclusion. Grab any necessary sysdep routines when linking.
11650 * crypt/md5.c (md5_process_block): Remove define, we will always
11651 name it __md5_process_block.
11652 (md5_finish_ctx): Update md5_process_block call.
11653 (md5_stream): Likewise.
11654 (md5_process_bytes): Likewise.
11655 (md5_process_block): Rename to __md5_process_block and move to ...
11656 * crypt/md5-block.c: ... here.
11657 * crypt/sha256.c (sha256_process_block): Move to ...
11658 * crypt/sha256-block.c: ... here.
11659 * crypt/sha512.c (sha512_process_block): Move to ...
11660 * crypt/sha512-block.c: ... here.
11661 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11663 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11664 * sysdeps/sparc/sparc64/multiarch/Makefile
11665 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11667 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11668 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11670 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11671 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11672 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11673 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11674 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11675 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11676 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11677 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11678 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11680 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11681 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11683 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11685 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11687 * timezone/tzselect.ksh: Update from tzcode git revision
11688 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11689 * timezone/zdump.c: Likewise.
11690 * timezone/zic.c: Likewise.
11691 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11692 in TZVERSION setting, not $(PKGVERSION).
11693 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11694 REPORT_BUGS_TO settings.
11697 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11700 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11702 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11703 detection to immediately after _FP_ROUND().
11704 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11707 2012-11-11 David S. Miller <davem@davemloft.net>
11709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11711 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11712 __close rather than their public counterparts.
11714 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11716 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11718 [UNIX98] (sem_timedwait): Do not expect.
11719 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11720 [XPG4 || UNIX98] (sockatmark): Do not expect.
11721 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11722 (clock_getcpuclockid): Do not expect.
11723 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11724 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11726 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11727 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11728 [UNIX98] (vwscanf): Likewise.
11729 [UNIX98] (vswscanf): Likewise.
11731 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11733 * timezone/version.h: Remove file.
11734 * timezone/README: Do not refer to version.h.
11735 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11736 $(objpfx)version.h.
11737 ($(objpfx)zdump.o): Likewise.
11738 ($(objpfx)version.h): New target.
11740 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11742 * timezone/README: Don't mention modification to tzselect.ksh.
11743 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11744 work on unmodified tzselect.ksh. Substitute version numbers in
11747 * Makefile (format-me): Remove.
11748 (INSTALL): Adjust indentation. Use commands directly instead of
11749 using $(format-me).
11751 * aclocal.m4 (ACX_PKGVERSION): New macro.
11752 (ACX_BUGURL): Likewise.
11753 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11754 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11755 (REPORT_BUGS_TO): Likewise.
11756 * configure: Regenerated.
11757 * config.h.in (PKGVERSION): New macro.
11758 (REPORT_BUGS_TO): Likewise.
11759 * config.make.in (PKGVERSION): New variable.
11760 (PKGVERSION_TEXI): Likewise.
11761 (REPORT_BUGS_TO): Likewise.
11762 (REPORT_BUGS_TEXI): Likewise.
11763 * Makefile (format-me): Use -I$(common-objpfx)manual.
11764 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11765 ($(common-objpfx)manual/%): New target.
11766 (manual/%): Remove target.
11767 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11768 (print_version): Use PKGVERSION.
11769 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11770 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11771 and REPORT_BUGS_TO.
11772 ($(objpfx)xtrace): Likewise.
11773 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11774 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11775 (print_version): Use PKGVERSION.
11776 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11777 (do_version): Use PKGVERSION.
11778 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11780 (common-ldd-rewrite): Likewise.
11781 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11782 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11783 (print_version): Use PKGVERSION.
11784 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11785 * elf/pldd.c (argp_program_bug_address): Remove variable.
11786 (more_help): New function.
11787 (argp): Use more_help.
11788 (print_version): Use PKGVERSION.
11789 * elf/sln.c (main): Use PKGVERSION.
11790 (usage): Use REPORT_BUGS_TO.
11791 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11792 (top level): Use PKGVERSION.
11793 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11794 (print_version): Use PKGVERSION.
11795 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11796 (print_version): Use PKGVERSION.
11797 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11798 (print_version): Use PKGVERSION.
11799 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11800 (print_version): Use PKGVERSION.
11801 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11802 (print_version): Use PKGVERSION.
11803 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11804 (print_version): Use PKGVERSION.
11805 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11807 ($(objpfx)memusage): Likewise.
11808 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11809 (do_version): Use PKGVERSION.
11810 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11811 (print_version): Use PKGVERSION.
11812 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11813 ($PKGVERSION): New variable.
11814 ($REPORT_BUGS_TO): Likewise.
11815 (usage): Use $REPORT_BUGS_TO.
11816 (top level): Use $PKGVERSION.
11817 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11818 ($(objpfx)pkgvers.texi): New rule.
11819 ($(objpfx)stamp-pkgvers): Likewise.
11820 * manual/install.texi: Include pkgvers.texi.
11821 (--with-pkgversion): Document new configure option.
11822 (--with-bugurl): Likewise.
11823 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11824 than necessarily for this particular distribution. Use
11825 REPORT_BUGS_TO for where to report bugs.
11826 * INSTALL: Regenerated.
11827 * manual/libc.texinfo: Include pkgvers.texi.
11828 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11829 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11830 (print_version): Use PKGVERSION.
11831 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11832 (print_version): Use PKGVERSION.
11833 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11834 (print_version): Use PKGVERSION.
11835 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11836 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11838 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11839 (print_version): Use PKGVERSION.
11840 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11841 (print_version): Use PKGVERSION.
11842 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11845 * timezone/checktab.awk: Update from tzcode 2012i.
11846 * timezone/ialloc.c: Likewise.
11847 * timezone/private.h: Likewise.
11848 * timezone/scheck.c: Likewise.
11849 * timezone/tzfile.h: Likewise.
11850 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11851 (TZVERSION): Hardcode tzcode version number.
11852 * timezone/zdump.c: Update from tzcode 2012i.
11853 * timezone/zic.c: Likewise.
11854 * timezone/version.h: New file.
11855 * timezone/README: Describe version.h. Update upstream location.
11858 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11859 (mktemp): Enable declaration.
11860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11877 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11878 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11879 for copies of such integer values.
11880 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11881 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11883 2012-11-09 Andreas Jaeger <aj@suse.de>
11885 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11886 definitions and declarations that are provided by
11887 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11889 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11891 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11892 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11893 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11896 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11898 * elf/elf.h: Update comment before AArch64 relocations.
11900 2012-11-07 David S. Miller <davem@davemloft.net>
11902 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11903 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11904 (__start_context): Declare.
11905 (__makecontext_ret): Delete.
11906 (__makecontext): Hook up __start_context instead of
11908 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11909 (sysdep_routines): Add __start_context when in stdlib.
11911 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11913 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11914 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11915 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11917 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11918 (READELF): New variable. Use it instead of hardcoded "readelf".
11920 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11922 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11923 * sysdeps/x86/Makefile: Here.
11924 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11925 * sysdeps/x86/tst-xmmymm.sh: This.
11927 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11929 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11931 [UNIX98] (pthread_barrier_t): Do not expect.
11932 [UNIX98] (pthread_barrierattr_t): Likewise.
11933 [UNIX98] (pthread_spinlock_t): Likewise.
11934 [UNIX98] (pthread_barrier_destroy): Likewise.
11935 [UNIX98] (pthread_barrier_init): Likewise.
11936 [UNIX98] (pthread_barrier_wait): Likewise.
11937 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11938 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11939 [UNIX98] (pthread_barrierattr_init): Likewise.
11940 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11941 [UNIX98] (pthread_getcpuclockid): Likewise.
11942 [UNIX98] (pthread_mutex_timedlock): Likewise.
11943 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11944 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11945 [UNIX98] (pthread_sigmask): Likewise.
11946 [UNIX98] (pthread_spin_destroy): Likewise.
11947 [UNIX98] (pthread_spin_init): Likewise.
11948 [UNIX98] (pthread_spin_lock): Likewise.
11949 [UNIX98] (pthread_spin_trylock): Likewise.
11950 [UNIX98] (pthread_spin_unlock): Likewise.
11951 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11953 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11955 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11956 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11957 [XPG3 || XPG4] (pthread_key_t): Likewise.
11958 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11959 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11960 [XPG3 || XPG4] (pthread_once_t): Likewise.
11961 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11962 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11964 [XPG3 || XPG4] (pthread_t): Likewise.
11966 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11968 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11970 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11971 Change function return type to int.
11973 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11974 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11975 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11976 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11977 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11978 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11979 [!POSIX] (posix_madvise): Likewise.
11980 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11982 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11983 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11984 (mode_t): Likewise.
11985 (posix_mem_offset): Likewise.
11986 (posix_typed_mem_get_info): Likewise.
11987 (posix_typed_mem_open): Likewise.
11989 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11990 Change condition to [XOPEN2K8].
11992 * conform/conformtest.pl: Preprocess allow-header data with -x c
11993 instead of from stdin.
11994 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11995 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11996 [C99-based standards] (cerfc): Likewise.
11997 [C99-based standards] (cexp2): Likewise.
11998 [C99-based standards] (cexpm1): Likewise.
11999 [C99-based standards] (clog10): Likewise.
12000 [C99-based standards] (clog1p): Likewise.
12001 [C99-based standards] (clog2): Likewise.
12002 [C99-based standards] (clgamma): Likewise.
12003 [C99-based standards] (ctgamma): Likewise.
12004 [C99-based standards] (cerff): Likewise.
12005 [C99-based standards] (cerfcf): Likewise.
12006 [C99-based standards] (cexp2f): Likewise.
12007 [C99-based standards] (cexpm1f): Likewise.
12008 [C99-based standards] (clog10f): Likewise.
12009 [C99-based standards] (clog1pf): Likewise.
12010 [C99-based standards] (clog2f): Likewise.
12011 [C99-based standards] (clgammaf): Likewise.
12012 [C99-based standards] (ctgammaf): Likewise.
12013 [C99-based standards] (cerfl): Likewise.
12014 [C99-based standards] (cerfcl): Likewise.
12015 [C99-based standards] (cexp2l): Likewise.
12016 [C99-based standards] (cexpm1l): Likewise.
12017 [C99-based standards] (clog10l): Likewise.
12018 [C99-based standards] (clog1pl): Likewise.
12019 [C99-based standards] (clog2l): Likewise.
12020 [C99-based standards] (clgammal): Likewise.
12021 [C99-based standards] (ctgammal): Likewise.
12022 * conform/data/inttypes.h-data [C99-based standards]: Include
12023 stdint.h-data. Remove all expectations for stdint.h contents.
12024 [C99-based standards] (PRI*): Do not allow.
12025 [C99-based standards] (SCN*): Likewise.
12026 [C99-based standards] (*_t): Likewise.
12027 [C99-based-standards] (PRId8): Expect macro.
12028 [C99-based-standards] (PRIi8): Likewise.
12029 [C99-based-standards] (PRIo8): Likewise.
12030 [C99-based-standards] (PRIu8): Likewise.
12031 [C99-based-standards] (PRIx8): Likewise.
12032 [C99-based-standards] (PRIX8): Likewise.
12033 [C99-based-standards] (SCNd8): Likewise.
12034 [C99-based-standards] (SCNi8): Likewise.
12035 [C99-based-standards] (SCNo8): Likewise.
12036 [C99-based-standards] (SCNu8): Likewise.
12037 [C99-based-standards] (SCNx8): Likewise.
12038 [C99-based-standards] (PRIdLEAST8): Likewise.
12039 [C99-based-standards] (PRIiLEAST8): Likewise.
12040 [C99-based-standards] (PRIoLEAST8): Likewise.
12041 [C99-based-standards] (PRIuLEAST8): Likewise.
12042 [C99-based-standards] (PRIxLEAST8): Likewise.
12043 [C99-based-standards] (PRIXLEAST8): Likewise.
12044 [C99-based-standards] (SCNdLEAST8): Likewise.
12045 [C99-based-standards] (SCNiLEAST8): Likewise.
12046 [C99-based-standards] (SCNoLEAST8): Likewise.
12047 [C99-based-standards] (SCNuLEAST8): Likewise.
12048 [C99-based-standards] (SCNxLEAST8): Likewise.
12049 [C99-based-standards] (PRIdFAST8): Likewise.
12050 [C99-based-standards] (PRIiFAST8): Likewise.
12051 [C99-based-standards] (PRIoFAST8): Likewise.
12052 [C99-based-standards] (PRIuFAST8): Likewise.
12053 [C99-based-standards] (PRIxFAST8): Likewise.
12054 [C99-based-standards] (PRIXFAST8): Likewise.
12055 [C99-based-standards] (SCNdFAST8): Likewise.
12056 [C99-based-standards] (SCNiFAST8): Likewise.
12057 [C99-based-standards] (SCNoFAST8): Likewise.
12058 [C99-based-standards] (SCNuFAST8): Likewise.
12059 [C99-based-standards] (SCNxFAST8): Likewise.
12060 [C99-based-standards] (PRId16): Likewise.
12061 [C99-based-standards] (PRIi16): Likewise.
12062 [C99-based-standards] (PRIo16): Likewise.
12063 [C99-based-standards] (PRIu16): Likewise.
12064 [C99-based-standards] (PRIx16): Likewise.
12065 [C99-based-standards] (PRIX16): Likewise.
12066 [C99-based-standards] (SCNd16): Likewise.
12067 [C99-based-standards] (SCNi16): Likewise.
12068 [C99-based-standards] (SCNo16): Likewise.
12069 [C99-based-standards] (SCNu16): Likewise.
12070 [C99-based-standards] (SCNx16): Likewise.
12071 [C99-based-standards] (PRIdLEAST16): Likewise.
12072 [C99-based-standards] (PRIiLEAST16): Likewise.
12073 [C99-based-standards] (PRIoLEAST16): Likewise.
12074 [C99-based-standards] (PRIuLEAST16): Likewise.
12075 [C99-based-standards] (PRIxLEAST16): Likewise.
12076 [C99-based-standards] (PRIXLEAST16): Likewise.
12077 [C99-based-standards] (SCNdLEAST16): Likewise.
12078 [C99-based-standards] (SCNiLEAST16): Likewise.
12079 [C99-based-standards] (SCNoLEAST16): Likewise.
12080 [C99-based-standards] (SCNuLEAST16): Likewise.
12081 [C99-based-standards] (SCNxLEAST16): Likewise.
12082 [C99-based-standards] (PRIdFAST16): Likewise.
12083 [C99-based-standards] (PRIiFAST16): Likewise.
12084 [C99-based-standards] (PRIoFAST16): Likewise.
12085 [C99-based-standards] (PRIuFAST16): Likewise.
12086 [C99-based-standards] (PRIxFAST16): Likewise.
12087 [C99-based-standards] (PRIXFAST16): Likewise.
12088 [C99-based-standards] (SCNdFAST16): Likewise.
12089 [C99-based-standards] (SCNiFAST16): Likewise.
12090 [C99-based-standards] (SCNoFAST16): Likewise.
12091 [C99-based-standards] (SCNuFAST16): Likewise.
12092 [C99-based-standards] (SCNxFAST16): Likewise.
12093 [C99-based-standards] (PRId32): Likewise.
12094 [C99-based-standards] (PRIi32): Likewise.
12095 [C99-based-standards] (PRIo32): Likewise.
12096 [C99-based-standards] (PRIu32): Likewise.
12097 [C99-based-standards] (PRIx32): Likewise.
12098 [C99-based-standards] (PRIX32): Likewise.
12099 [C99-based-standards] (SCNd32): Likewise.
12100 [C99-based-standards] (SCNi32): Likewise.
12101 [C99-based-standards] (SCNo32): Likewise.
12102 [C99-based-standards] (SCNu32): Likewise.
12103 [C99-based-standards] (SCNx32): Likewise.
12104 [C99-based-standards] (PRIdLEAST32): Likewise.
12105 [C99-based-standards] (PRIiLEAST32): Likewise.
12106 [C99-based-standards] (PRIoLEAST32): Likewise.
12107 [C99-based-standards] (PRIuLEAST32): Likewise.
12108 [C99-based-standards] (PRIxLEAST32): Likewise.
12109 [C99-based-standards] (PRIXLEAST32): Likewise.
12110 [C99-based-standards] (SCNdLEAST32): Likewise.
12111 [C99-based-standards] (SCNiLEAST32): Likewise.
12112 [C99-based-standards] (SCNoLEAST32): Likewise.
12113 [C99-based-standards] (SCNuLEAST32): Likewise.
12114 [C99-based-standards] (SCNxLEAST32): Likewise.
12115 [C99-based-standards] (PRIdFAST32): Likewise.
12116 [C99-based-standards] (PRIiFAST32): Likewise.
12117 [C99-based-standards] (PRIoFAST32): Likewise.
12118 [C99-based-standards] (PRIuFAST32): Likewise.
12119 [C99-based-standards] (PRIxFAST32): Likewise.
12120 [C99-based-standards] (PRIXFAST32): Likewise.
12121 [C99-based-standards] (SCNdFAST32): Likewise.
12122 [C99-based-standards] (SCNiFAST32): Likewise.
12123 [C99-based-standards] (SCNoFAST32): Likewise.
12124 [C99-based-standards] (SCNuFAST32): Likewise.
12125 [C99-based-standards] (SCNxFAST32): Likewise.
12126 [C99-based-standards] (PRId64): Likewise.
12127 [C99-based-standards] (PRIi64): Likewise.
12128 [C99-based-standards] (PRIo64): Likewise.
12129 [C99-based-standards] (PRIu64): Likewise.
12130 [C99-based-standards] (PRIx64): Likewise.
12131 [C99-based-standards] (PRIX64): Likewise.
12132 [C99-based-standards] (SCNd64): Likewise.
12133 [C99-based-standards] (SCNi64): Likewise.
12134 [C99-based-standards] (SCNo64): Likewise.
12135 [C99-based-standards] (SCNu64): Likewise.
12136 [C99-based-standards] (SCNx64): Likewise.
12137 [C99-based-standards] (PRIdLEAST64): Likewise.
12138 [C99-based-standards] (PRIiLEAST64): Likewise.
12139 [C99-based-standards] (PRIoLEAST64): Likewise.
12140 [C99-based-standards] (PRIuLEAST64): Likewise.
12141 [C99-based-standards] (PRIxLEAST64): Likewise.
12142 [C99-based-standards] (PRIXLEAST64): Likewise.
12143 [C99-based-standards] (SCNdLEAST64): Likewise.
12144 [C99-based-standards] (SCNiLEAST64): Likewise.
12145 [C99-based-standards] (SCNoLEAST64): Likewise.
12146 [C99-based-standards] (SCNuLEAST64): Likewise.
12147 [C99-based-standards] (SCNxLEAST64): Likewise.
12148 [C99-based-standards] (PRIdFAST64): Likewise.
12149 [C99-based-standards] (PRIiFAST64): Likewise.
12150 [C99-based-standards] (PRIoFAST64): Likewise.
12151 [C99-based-standards] (PRIuFAST64): Likewise.
12152 [C99-based-standards] (PRIxFAST64): Likewise.
12153 [C99-based-standards] (PRIXFAST64): Likewise.
12154 [C99-based-standards] (SCNdFAST64): Likewise.
12155 [C99-based-standards] (SCNiFAST64): Likewise.
12156 [C99-based-standards] (SCNoFAST64): Likewise.
12157 [C99-based-standards] (SCNuFAST64): Likewise.
12158 [C99-based-standards] (SCNxFAST64): Likewise.
12159 [C99-based-standards] (PRIdMAX): Likewise.
12160 [C99-based-standards] (PRIiMAX): Likewise.
12161 [C99-based-standards] (PRIoMAX): Likewise.
12162 [C99-based-standards] (PRIuMAX): Likewise.
12163 [C99-based-standards] (PRIxMAX): Likewise.
12164 [C99-based-standards] (PRIXMAX): Likewise.
12165 [C99-based-standards] (SCNdMAX): Likewise.
12166 [C99-based-standards] (SCNiMAX): Likewise.
12167 [C99-based-standards] (SCNoMAX): Likewise.
12168 [C99-based-standards] (SCNuMAX): Likewise.
12169 [C99-based-standards] (SCNxMAX): Likewise.
12170 [C99-based-standards] (PRIdPTR): Likewise.
12171 [C99-based-standards] (PRIiPTR): Likewise.
12172 [C99-based-standards] (PRIoPTR): Likewise.
12173 [C99-based-standards] (PRIuPTR): Likewise.
12174 [C99-based-standards] (PRIxPTR): Likewise.
12175 [C99-based-standards] (PRIXPTR): Likewise.
12176 [C99-based-standards] (SCNdPTR): Likewise.
12177 [C99-based-standards] (SCNiPTR): Likewise.
12178 [C99-based-standards] (SCNoPTR): Likewise.
12179 [C99-based-standards] (SCNuPTR): Likewise.
12180 [C99-based-standards] (SCNxPTR): Likewise.
12181 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12183 * conform/data/stdint.h-data: Update comments to clarify
12185 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12187 [C99-based standards] (INT8_MAX): Likewise.
12188 [C99-based standards] (INT16_MIN): Likewise.
12189 [C99-based standards] (INT16_MAX): Likewise.
12190 [C99-based standards] (INT32_MIN): Likewise.
12191 [C99-based standards] (INT32_MAX): Likewise.
12192 [C99-based standards] (INT64_MIN): Likewise.
12193 [C99-based standards] (INT64_MAX): Likewise.
12194 [C99-based standards] (UINT8_MAX): Likewise.
12195 [C99-based standards] (UINT16_MAX): Likewise.
12196 [C99-based standards] (UINT32_MAX): Likewise.
12197 [C99-based standards] (UINT64_MAX): Likewise.
12198 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12199 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12200 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12201 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12202 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12203 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12204 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12205 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12206 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12207 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12208 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12209 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12210 [C99-based standards] (INT_FAST8_MIN): Likewise.
12211 [C99-based standards] (INT_FAST8_MAX): Likewise.
12212 [C99-based standards] (INT_FAST16_MIN): Likewise.
12213 [C99-based standards] (INT_FAST16_MAX): Likewise.
12214 [C99-based standards] (INT_FAST32_MIN): Likewise.
12215 [C99-based standards] (INT_FAST32_MAX): Likewise.
12216 [C99-based standards] (INT_FAST64_MIN): Likewise.
12217 [C99-based standards] (INT_FAST64_MAX): Likewise.
12218 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12219 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12220 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12221 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12222 [C99-based standards] (INTPTR_MIN): Likewise.
12223 [C99-based standards] (INTPTR_MAX): Likewise.
12224 [C99-based standards] (UINTPTR_MAX): Likewise.
12225 [C99-based standards] (INTMAX_MIN): Likewise.
12226 [C99-based standards] (INTMAX_MAX): Likewise.
12227 [C99-based standards] (UINTMAX_MAX): Likewise.
12228 [C99-based standards] (PTRDIFF_MIN): Likewise.
12229 [C99-based standards] (PTRDIFF_MAX): Likewise.
12230 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12231 [C99-based standards] (SIZE_MAX): Likewise.
12232 [C99-based standards] (WCHAR_MAX): Likewise.
12233 [C99-based standards] (WINT_MAX): Likewise.
12234 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12235 constraint on value.
12236 [C99-based standards] (WCHAR_MIN): Likewise.
12237 [C99-based standards] (WINT_MIN): Likewise.
12238 [C99-based standards] (*_t): Allow.
12239 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12240 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12241 Include math.h-data and complex.h-data. Remove all expectations
12242 of math.h and complex.h contents.
12243 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12245 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12246 (struct tm): Expect tag.
12247 [C99-based-standards] (wcstof): Expect function.
12248 [C99-based-standards] (wcstold): Likewise.
12249 [C99-based-standards] (wcstoll): Likewise.
12250 [C99-based-standards] (wcstoull): Likewise.
12251 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12252 macro-int-constant. Specify type.
12253 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12254 constraint on value.
12255 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12257 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12259 [ISO C standards]: Do not allow headers.
12260 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12261 wcs[abcdefghijklmnopqrstuvwxyz]*.
12262 [ISO C standards] (*_t): Do not allow.
12263 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12265 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12266 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12268 [ISO C standards]: Do not allow headers.
12269 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12270 is[abcdefghijklmnopqrstuvwxyz]*.
12271 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12272 to[abcdefghijklmnopqrstuvwxyz]*.
12273 [ISO C standards] (*_t): Do not allow.
12274 * conform/data/stdalign.h-data: New file.
12275 * conform/data/stdbool.h-data: Likewise.
12276 * conform/data/stdnoreturn.h-data: Likewise.
12278 2012-11-07 Roland McGrath <roland@hack.frob.com>
12281 * manual/filesys.texi (Directory Entries): Typo fix.
12282 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12284 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12286 * elf/elf.h (EM_AARCH64): New macro.
12287 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12288 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12289 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12290 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12291 (R_AARCH64_TLSDESC): Likewise.
12292 (NT_ARM_TLS): Likewise.
12293 (NT_ARM_HW_BREAK): Likewise.
12294 (NT_ARM_HW_WATCH): Likewise.
12296 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12299 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12300 (__ieee754_powl): Saturate nonzero exponents with absolute value
12301 below 0x1p-79 to +/- 0x1p-79.
12302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12303 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12304 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12305 nonzero exponents with absolute value below 0x1p-32 to +/-
12307 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12308 (__ieee754_powl): Saturate nonzero exponents with absolute value
12309 below 0x1p-79 to +/- 0x1p-79.
12310 * math/libm-test.inc (pow_test): Add more tests.
12312 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12314 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12315 _dl_s390_cap_flags with kernel. Increase string length.
12316 (_dl_s390_platforms): Add z196 and zEC12.
12318 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12320 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12321 Change XOPEN21K to XOPEN2K.
12323 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12325 * string/memmove.c: Use memcpy when possible.
12327 2012-11-06 Andreas Jaeger <aj@suse.de>
12329 * po/eo.po: Update from translation team.
12331 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12335 exponent and small x and y exponents, scale x or y up. Increase
12336 by 2 the exponent used in scaling up.
12337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12339 * math/libm-test.inc (fma_test): Add more tests.
12340 (fma_test_towardzero): Likewise.
12341 (fma_test_downward): Likewise.
12342 (fma_test_upward): Likewise.
12344 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12347 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12351 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12352 namespace for names of struct fields.
12353 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12355 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12356 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12358 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12361 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12363 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12365 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12369 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12372 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12376 definitely overflow as x * y not x * y + z.
12377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12379 * math/libm-test.inc (fma_test): Add more tests.
12380 (fma_test_towardzero): Likewise.
12381 (fma_test_downward): Likewise.
12382 (fma_test_upward): Likewise.
12384 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12388 * include/stub-tag.h: Remove file.
12389 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12391 * manual/maint.texi (Porting): Don't reference it.
12392 * Makerules ($(objpfx)stubs): Likewise.
12393 * dirent/closedir.c: Don't include <stub-tag.h>.
12394 * dirent/dirfd.c: Likewise.
12395 * dirent/fdopendir.c: Likewise.
12396 * dirent/getdents.c: Likewise.
12397 * dirent/getdents64.c: Likewise.
12398 * dirent/opendir.c: Likewise.
12399 * dirent/readdir.c: Likewise.
12400 * dirent/readdir64.c: Likewise.
12401 * dirent/readdir64_r.c: Likewise.
12402 * dirent/readdir_r.c: Likewise.
12403 * dirent/rewinddir.c: Likewise.
12404 * dirent/seekdir.c: Likewise.
12405 * dirent/telldir.c: Likewise.
12406 * gmon/profil.c: Likewise.
12407 * grp/setgroups.c: Likewise.
12408 * inet/if_index.c: Likewise.
12409 * io/access.c: Likewise.
12410 * io/chdir.c: Likewise.
12411 * io/chmod.c: Likewise.
12412 * io/chown.c: Likewise.
12413 * io/close.c: Likewise.
12414 * io/dup.c: Likewise.
12415 * io/dup2.c: Likewise.
12416 * io/dup3.c: Likewise.
12417 * io/euidaccess.c: Likewise.
12418 * io/faccessat.c: Likewise.
12419 * io/fchdir.c: Likewise.
12420 * io/fchmod.c: Likewise.
12421 * io/fchmodat.c: Likewise.
12422 * io/fchown.c: Likewise.
12423 * io/fchownat.c: Likewise.
12424 * io/fcntl.c: Likewise.
12425 * io/flock.c: Likewise.
12426 * io/fstatfs.c: Likewise.
12427 * io/fstatfs64.c: Likewise.
12428 * io/fstatvfs.c: Likewise.
12429 * io/fstatvfs64.c: Likewise.
12430 * io/futimens.c: Likewise.
12431 * io/fxstat.c: Likewise.
12432 * io/fxstat64.c: Likewise.
12433 * io/fxstatat.c: Likewise.
12434 * io/fxstatat64.c: Likewise.
12435 * io/getcwd.c: Likewise.
12436 * io/isatty.c: Likewise.
12437 * io/lchmod.c: Likewise.
12438 * io/lchown.c: Likewise.
12439 * io/link.c: Likewise.
12440 * io/linkat.c: Likewise.
12441 * io/lseek.c: Likewise.
12442 * io/lseek64.c: Likewise.
12443 * io/lxstat64.c: Likewise.
12444 * io/mkdir.c: Likewise.
12445 * io/mkdirat.c: Likewise.
12446 * io/mkfifo.c: Likewise.
12447 * io/mkfifoat.c: Likewise.
12448 * io/open.c: Likewise.
12449 * io/open64.c: Likewise.
12450 * io/openat.c: Likewise.
12451 * io/openat64.c: Likewise.
12452 * io/pipe.c: Likewise.
12453 * io/pipe2.c: Likewise.
12454 * io/poll.c: Likewise.
12455 * io/posix_fadvise.c: Likewise.
12456 * io/posix_fadvise64.c: Likewise.
12457 * io/posix_fallocate.c: Likewise.
12458 * io/posix_fallocate64.c: Likewise.
12459 * io/read.c: Likewise.
12460 * io/readlink.c: Likewise.
12461 * io/readlinkat.c: Likewise.
12462 * io/rmdir.c: Likewise.
12463 * io/sendfile.c: Likewise.
12464 * io/sendfile64.c: Likewise.
12465 * io/statfs.c: Likewise.
12466 * io/statfs64.c: Likewise.
12467 * io/statvfs.c: Likewise.
12468 * io/statvfs64.c: Likewise.
12469 * io/symlink.c: Likewise.
12470 * io/symlinkat.c: Likewise.
12471 * io/ttyname.c: Likewise.
12472 * io/ttyname_r.c: Likewise.
12473 * io/umask.c: Likewise.
12474 * io/unlink.c: Likewise.
12475 * io/unlinkat.c: Likewise.
12476 * io/utime.c: Likewise.
12477 * io/utimensat.c: Likewise.
12478 * io/write.c: Likewise.
12479 * io/xmknod.c: Likewise.
12480 * io/xmknodat.c: Likewise.
12481 * io/xstat.c: Likewise.
12482 * io/xstat64.c: Likewise.
12483 * login/getpt.c: Likewise.
12484 * login/grantpt.c: Likewise.
12485 * login/unlockpt.c: Likewise.
12486 * math/e_acoshl.c: Likewise.
12487 * math/e_acosl.c: Likewise.
12488 * math/e_asinl.c: Likewise.
12489 * math/e_atan2l.c: Likewise.
12490 * math/e_atanhl.c: Likewise.
12491 * math/e_coshl.c: Likewise.
12492 * math/e_expl.c: Likewise.
12493 * math/e_fmodl.c: Likewise.
12494 * math/e_gammal_r.c: Likewise.
12495 * math/e_hypotl.c: Likewise.
12496 * math/e_j0l.c: Likewise.
12497 * math/e_j1l.c: Likewise.
12498 * math/e_jnl.c: Likewise.
12499 * math/e_lgammal_r.c: Likewise.
12500 * math/e_log10l.c: Likewise.
12501 * math/e_log2l.c: Likewise.
12502 * math/e_logl.c: Likewise.
12503 * math/e_powl.c: Likewise.
12504 * math/e_rem_pio2l.c: Likewise.
12505 * math/e_sinhl.c: Likewise.
12506 * math/e_sqrtl.c: Likewise.
12507 * math/fclrexcpt.c: Likewise.
12508 * math/fedisblxcpt.c: Likewise.
12509 * math/feenablxcpt.c: Likewise.
12510 * math/fegetenv.c: Likewise.
12511 * math/fegetexcept.c: Likewise.
12512 * math/fegetround.c: Likewise.
12513 * math/feholdexcpt.c: Likewise.
12514 * math/fesetenv.c: Likewise.
12515 * math/fesetround.c: Likewise.
12516 * math/feupdateenv.c: Likewise.
12517 * math/fgetexcptflg.c: Likewise.
12518 * math/fraiseexcpt.c: Likewise.
12519 * math/fsetexcptflg.c: Likewise.
12520 * math/ftestexcept.c: Likewise.
12521 * math/k_cosl.c: Likewise.
12522 * math/k_rem_pio2l.c: Likewise.
12523 * math/k_sinl.c: Likewise.
12524 * math/k_tanl.c: Likewise.
12525 * math/s_asinhl.c: Likewise.
12526 * math/s_atanl.c: Likewise.
12527 * math/s_cbrtl.c: Likewise.
12528 * math/s_erfl.c: Likewise.
12529 * math/s_expm1l.c: Likewise.
12530 * math/s_log1pl.c: Likewise.
12531 * math/s_tanhl.c: Likewise.
12532 * misc/acct.c: Likewise.
12533 * misc/brk.c: Likewise.
12534 * misc/chflags.c: Likewise.
12535 * misc/chroot.c: Likewise.
12536 * misc/fchflags.c: Likewise.
12537 * misc/fgetxattr.c: Likewise.
12538 * misc/flistxattr.c: Likewise.
12539 * misc/fremovexattr.c: Likewise.
12540 * misc/fsetxattr.c: Likewise.
12541 * misc/fsync.c: Likewise.
12542 * misc/ftruncate.c: Likewise.
12543 * misc/futimes.c: Likewise.
12544 * misc/futimesat.c: Likewise.
12545 * misc/getdomain.c: Likewise.
12546 * misc/getdtsz.c: Likewise.
12547 * misc/gethostid.c: Likewise.
12548 * misc/gethostname.c: Likewise.
12549 * misc/getloadavg.c: Likewise.
12550 * misc/getpagesize.c: Likewise.
12551 * misc/getsysstats.c: Likewise.
12552 * misc/getxattr.c: Likewise.
12553 * misc/gtty.c: Likewise.
12554 * misc/ioctl.c: Likewise.
12555 * misc/lgetxattr.c: Likewise.
12556 * misc/listxattr.c: Likewise.
12557 * misc/llistxattr.c: Likewise.
12558 * misc/lremovexattr.c: Likewise.
12559 * misc/lsetxattr.c: Likewise.
12560 * misc/lutimes.c: Likewise.
12561 * misc/madvise.c: Likewise.
12562 * misc/mincore.c: Likewise.
12563 * misc/mlock.c: Likewise.
12564 * misc/mlockall.c: Likewise.
12565 * misc/mmap.c: Likewise.
12566 * misc/mprotect.c: Likewise.
12567 * misc/msync.c: Likewise.
12568 * misc/munlock.c: Likewise.
12569 * misc/munlockall.c: Likewise.
12570 * misc/munmap.c: Likewise.
12571 * misc/preadv.c: Likewise.
12572 * misc/preadv64.c: Likewise.
12573 * misc/ptrace.c: Likewise.
12574 * misc/pwritev.c: Likewise.
12575 * misc/pwritev64.c: Likewise.
12576 * misc/readv.c: Likewise.
12577 * misc/reboot.c: Likewise.
12578 * misc/remap_file_pages.c: Likewise.
12579 * misc/removexattr.c: Likewise.
12580 * misc/revoke.c: Likewise.
12581 * misc/select.c: Likewise.
12582 * misc/setdomain.c: Likewise.
12583 * misc/setegid.c: Likewise.
12584 * misc/seteuid.c: Likewise.
12585 * misc/sethostid.c: Likewise.
12586 * misc/sethostname.c: Likewise.
12587 * misc/setregid.c: Likewise.
12588 * misc/setreuid.c: Likewise.
12589 * misc/setxattr.c: Likewise.
12590 * misc/sstk.c: Likewise.
12591 * misc/stty.c: Likewise.
12592 * misc/swapoff.c: Likewise.
12593 * misc/swapon.c: Likewise.
12594 * misc/sync.c: Likewise.
12595 * misc/syncfs.c: Likewise.
12596 * misc/syscall.c: Likewise.
12597 * misc/truncate.c: Likewise.
12598 * misc/ualarm.c: Likewise.
12599 * misc/usleep.c: Likewise.
12600 * misc/ustat.c: Likewise.
12601 * misc/utimes.c: Likewise.
12602 * misc/vhangup.c: Likewise.
12603 * misc/writev.c: Likewise.
12604 * posix/_exit.c: Likewise.
12605 * posix/alarm.c: Likewise.
12606 * posix/execve.c: Likewise.
12607 * posix/fexecve.c: Likewise.
12608 * posix/fork.c: Likewise.
12609 * posix/fpathconf.c: Likewise.
12610 * posix/getaddrinfo.c: Likewise.
12611 * posix/getegid.c: Likewise.
12612 * posix/geteuid.c: Likewise.
12613 * posix/getgid.c: Likewise.
12614 * posix/getgroups.c: Likewise.
12615 * posix/getlogin.c: Likewise.
12616 * posix/getlogin_r.c: Likewise.
12617 * posix/getpgid.c: Likewise.
12618 * posix/getpid.c: Likewise.
12619 * posix/getppid.c: Likewise.
12620 * posix/getresgid.c: Likewise.
12621 * posix/getresuid.c: Likewise.
12622 * posix/getsid.c: Likewise.
12623 * posix/getuid.c: Likewise.
12624 * posix/glob64.c: Likewise.
12625 * posix/nanosleep.c: Likewise.
12626 * posix/pathconf.c: Likewise.
12627 * posix/pause.c: Likewise.
12628 * posix/posix_madvise.c: Likewise.
12629 * posix/pread.c: Likewise.
12630 * posix/pread64.c: Likewise.
12631 * posix/pwrite.c: Likewise.
12632 * posix/pwrite64.c: Likewise.
12633 * posix/sched_getaffinity.c: Likewise.
12634 * posix/sched_getp.c: Likewise.
12635 * posix/sched_gets.c: Likewise.
12636 * posix/sched_primax.c: Likewise.
12637 * posix/sched_primin.c: Likewise.
12638 * posix/sched_rr_gi.c: Likewise.
12639 * posix/sched_setaffinity.c: Likewise.
12640 * posix/sched_setp.c: Likewise.
12641 * posix/sched_sets.c: Likewise.
12642 * posix/sched_yield.c: Likewise.
12643 * posix/setgid.c: Likewise.
12644 * posix/setlogin.c: Likewise.
12645 * posix/setpgid.c: Likewise.
12646 * posix/setresgid.c: Likewise.
12647 * posix/setresuid.c: Likewise.
12648 * posix/setsid.c: Likewise.
12649 * posix/setuid.c: Likewise.
12650 * posix/sleep.c: Likewise.
12651 * posix/spawni.c: Likewise.
12652 * posix/sysconf.c: Likewise.
12653 * posix/times.c: Likewise.
12654 * posix/wait.c: Likewise.
12655 * posix/wait3.c: Likewise.
12656 * posix/wait4.c: Likewise.
12657 * posix/waitpid.c: Likewise.
12658 * resolv/gai_sigqueue.c: Likewise.
12659 * resource/getpriority.c: Likewise.
12660 * resource/getrlimit.c: Likewise.
12661 * resource/getrusage.c: Likewise.
12662 * resource/nice.c: Likewise.
12663 * resource/setpriority.c: Likewise.
12664 * resource/setrlimit.c: Likewise.
12665 * resource/ulimit.c: Likewise.
12666 * rt/aio_cancel.c: Likewise.
12667 * rt/aio_fsync.c: Likewise.
12668 * rt/aio_read.c: Likewise.
12669 * rt/aio_sigqueue.c: Likewise.
12670 * rt/aio_suspend.c: Likewise.
12671 * rt/aio_write.c: Likewise.
12672 * rt/clock_getres.c: Likewise.
12673 * rt/clock_gettime.c: Likewise.
12674 * rt/clock_nanosleep.c: Likewise.
12675 * rt/clock_settime.c: Likewise.
12676 * rt/lio_listio.c: Likewise.
12677 * rt/mq_close.c: Likewise.
12678 * rt/mq_getattr.c: Likewise.
12679 * rt/mq_notify.c: Likewise.
12680 * rt/mq_open.c: Likewise.
12681 * rt/mq_receive.c: Likewise.
12682 * rt/mq_send.c: Likewise.
12683 * rt/mq_setattr.c: Likewise.
12684 * rt/mq_timedreceive.c: Likewise.
12685 * rt/mq_timedsend.c: Likewise.
12686 * rt/mq_unlink.c: Likewise.
12687 * rt/shm_open.c: Likewise.
12688 * rt/shm_unlink.c: Likewise.
12689 * rt/timer_create.c: Likewise.
12690 * rt/timer_delete.c: Likewise.
12691 * rt/timer_getoverr.c: Likewise.
12692 * rt/timer_gettime.c: Likewise.
12693 * rt/timer_settime.c: Likewise.
12694 * setjmp/__longjmp.c: Likewise.
12695 * setjmp/setjmp.c: Likewise.
12696 * signal/kill.c: Likewise.
12697 * signal/killpg.c: Likewise.
12698 * signal/raise.c: Likewise.
12699 * signal/sigaction.c: Likewise.
12700 * signal/sigaltstack.c: Likewise.
12701 * signal/sigblock.c: Likewise.
12702 * signal/sigignore.c: Likewise.
12703 * signal/sigintr.c: Likewise.
12704 * signal/signal.c: Likewise.
12705 * signal/sigpause.c: Likewise.
12706 * signal/sigpending.c: Likewise.
12707 * signal/sigqueue.c: Likewise.
12708 * signal/sigreturn.c: Likewise.
12709 * signal/sigset.c: Likewise.
12710 * signal/sigsetmask.c: Likewise.
12711 * signal/sigstack.c: Likewise.
12712 * signal/sigsuspend.c: Likewise.
12713 * signal/sigtimedwait.c: Likewise.
12714 * signal/sigvec.c: Likewise.
12715 * signal/sigwait.c: Likewise.
12716 * signal/sigwaitinfo.c: Likewise.
12717 * signal/sysv_signal.c: Likewise.
12718 * socket/accept.c: Likewise.
12719 * socket/accept4.c: Likewise.
12720 * socket/bind.c: Likewise.
12721 * socket/connect.c: Likewise.
12722 * socket/getpeername.c: Likewise.
12723 * socket/getsockname.c: Likewise.
12724 * socket/getsockopt.c: Likewise.
12725 * socket/isfdtype.c: Likewise.
12726 * socket/listen.c: Likewise.
12727 * socket/recv.c: Likewise.
12728 * socket/recvfrom.c: Likewise.
12729 * socket/recvmsg.c: Likewise.
12730 * socket/send.c: Likewise.
12731 * socket/sendmsg.c: Likewise.
12732 * socket/sendto.c: Likewise.
12733 * socket/setsockopt.c: Likewise.
12734 * socket/shutdown.c: Likewise.
12735 * socket/sockatmark.c: Likewise.
12736 * socket/socket.c: Likewise.
12737 * socket/socketpair.c: Likewise.
12738 * stdio-common/ctermid.c: Likewise.
12739 * stdio-common/cuserid.c: Likewise.
12740 * stdio-common/remove.c: Likewise.
12741 * stdio-common/rename.c: Likewise.
12742 * stdio-common/renameat.c: Likewise.
12743 * stdio-common/tempname.c: Likewise.
12744 * stdlib/getcontext.c: Likewise.
12745 * stdlib/makecontext.c: Likewise.
12746 * stdlib/setcontext.c: Likewise.
12747 * stdlib/swapcontext.c: Likewise.
12748 * stdlib/system.c: Likewise.
12749 * streams/fattach.c: Likewise.
12750 * streams/fdetach.c: Likewise.
12751 * streams/getmsg.c: Likewise.
12752 * streams/getpmsg.c: Likewise.
12753 * streams/putmsg.c: Likewise.
12754 * streams/putpmsg.c: Likewise.
12755 * sysdeps/unix/bsd/getpt.c: Likewise.
12756 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12757 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12758 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12761 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12762 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12763 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12764 * sysvipc/msgctl.c: Likewise.
12765 * sysvipc/msgget.c: Likewise.
12766 * sysvipc/msgrcv.c: Likewise.
12767 * sysvipc/msgsnd.c: Likewise.
12768 * sysvipc/semctl.c: Likewise.
12769 * sysvipc/semget.c: Likewise.
12770 * sysvipc/semop.c: Likewise.
12771 * sysvipc/semtimedop.c: Likewise.
12772 * sysvipc/shmat.c: Likewise.
12773 * sysvipc/shmctl.c: Likewise.
12774 * sysvipc/shmdt.c: Likewise.
12775 * sysvipc/shmget.c: Likewise.
12776 * termios/tcdrain.c: Likewise.
12777 * termios/tcflow.c: Likewise.
12778 * termios/tcflush.c: Likewise.
12779 * termios/tcgetattr.c: Likewise.
12780 * termios/tcgetpgrp.c: Likewise.
12781 * termios/tcsendbrk.c: Likewise.
12782 * termios/tcsetattr.c: Likewise.
12783 * termios/tcsetpgrp.c: Likewise.
12784 * time/adjtime.c: Likewise.
12785 * time/clock.c: Likewise.
12786 * time/getitimer.c: Likewise.
12787 * time/gettimeofday.c: Likewise.
12788 * time/setitimer.c: Likewise.
12789 * time/settimeofday.c: Likewise.
12790 * time/stime.c: Likewise.
12791 * time/time.c: Likewise.
12793 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12795 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12798 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12800 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12802 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12806 FE_TONEAREST before applying Dekker multiplication and Knuth
12807 addition. Clear inexact exceptions and check for exact zero
12808 results afterwards.
12809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12810 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12811 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12812 * math/libm-test.inc (fma_test): Add more tests.
12813 (fma_test_towardzero): Likewise.
12814 (fma_test_downward): Likewise.
12815 (fma_test_upward): Likewise.
12816 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12818 (libc_fesetround): New macro.
12819 (libc_fesetroundf): Likewise.
12820 (libc_fesetroundl): Likewise.
12821 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12823 (libc_fesetround_387): Likewise.
12824 (libc_fesetroundf): New macro.
12825 (libc_fesetround): Likewise.
12826 (libc_fesetroundl): Likewise.
12827 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12829 (libc_fesetroundf): New macro.
12830 (libc_fesetround): Likewise.
12831 (libc_fesetroundl): Likewise.
12832 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12833 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12834 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12836 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12837 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12839 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12840 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12842 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12846 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12847 integer constant usable in #if and use that to give value to enum
12849 (FE_DIVBYZERO): Likewise.
12850 (FE_UNDERFLOW): Likewise.
12851 (FE_OVERFLOW): Likewise.
12852 (FE_INVALID): Likewise.
12853 (FE_INVALID_SNAN): Likewise.
12854 (FE_INVALID_ISI): Likewise.
12855 (FE_INVALID_IDI): Likewise.
12856 (FE_INVALID_ZDZ): Likewise.
12857 (FE_INVALID_IMZ): Likewise.
12858 (FE_INVALID_COMPARE): Likewise.
12859 (FE_INVALID_SOFTWARE): Likewise.
12860 (FE_INVALID_SQRT): Likewise.
12861 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12862 (FE_TONEAREST): Likewise.
12863 (FE_TOWARDZERO): Likewise.
12864 (FE_UPWARD): Likewise.
12865 (FE_DOWNWARD): Likewise.
12866 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12867 (FE_DIVBYZERO): Likewise.
12868 (FE_OVERFLOW): Likewise.
12869 (FE_UNDERFLOW): Likewise.
12870 (FE_INEXACT): Likewise.
12871 (FE_TONEAREST): Likewise.
12872 (FE_DOWNWARD): Likewise.
12873 (FE_UPWARD): Likewise.
12874 (FE_TOWARDZERO): Likewise.
12875 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12876 (FE_UNDERFLOW): Likewise.
12877 (FE_OVERFLOW): Likewise.
12878 (FE_DIVBYZERO): Likewise.
12879 (FE_INVALID): Likewise.
12880 (FE_TONEAREST): Likewise.
12881 (FE_TOWARDZERO): Likewise.
12882 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12883 (FE_OVERFLOW): Likewise.
12884 (FE_UNDERFLOW): Likewise.
12885 (FE_DIVBYZERO): Likewise.
12886 (FE_INEXACT): Likewise.
12887 (FE_TONEAREST): Likewise.
12888 (FE_TOWARDZERO): Likewise.
12889 (FE_UPWARD): Likewise.
12890 (FE_DOWNWARD): Likewise.
12891 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12892 (FE_DIVBYZERO): Likewise.
12893 (FE_OVERFLOW): Likewise.
12894 (FE_UNDERFLOW): Likewise.
12895 (FE_INEXACT): Likewise.
12896 (FE_TONEAREST): Likewise.
12897 (FE_DOWNWARD): Likewise.
12898 (FE_UPWARD): Likewise.
12899 (FE_TOWARDZERO): Likewise.
12901 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12903 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12905 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12907 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12908 commands. Quote $PWD.
12909 (blacklist_exports): Don't use remove_newlines. Replace "declare
12911 (remove_newlines): Remove.
12913 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12915 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12916 * stdlib/stdlib.h (atof): Moved to ...
12917 * include/bits/stdlib-float.h: Here. New file.
12918 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12919 * stdlib/bits/stdlib-float.h: New file.
12920 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12922 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12925 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12927 * conform/conformtest.pl (@headers): Add fenv.h.
12928 * conform/data/fenv.h-data: New file.
12929 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12930 include of <math/fenv.h>.
12932 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12933 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12934 && !UNIX98]. Enables tests for XOPEN2K8.
12935 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12936 POSIX2008]: Likewise.
12938 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12939 (struct rusage): Do not expect type or its members.
12942 * math/math.h (FP_NAN): Define macro to integer constant usable in
12943 #if and use that to give value to enum constant.
12944 (FP_INFINITE): Likewise.
12945 (FP_ZERO): Likewise.
12946 (FP_SUBNORMAL): Likewise.
12947 (FP_NORMAL): Likewise.
12949 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12951 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12952 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12955 2012-11-02 Roland McGrath <roland@hack.frob.com>
12957 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12958 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12959 autoconf-time if not.
12960 * configure.in: Remove AC_PREREQ.
12962 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12964 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12965 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12966 of the internal implementation.
12968 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12970 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12971 except include of <misc/sys/syslog.h>.
12973 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12976 function returns with a NULL context exit with zero.
12978 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12980 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12982 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12984 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12985 (run_program_cmd): This.
12986 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12987 (tst_langinfo): New variable. Use it.
12989 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12991 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12992 floating point opcodes.
12994 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12996 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12999 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13001 * sysdeps/mach/hurd/powerpc: Remove directory.
13002 * sysdeps/mach/powerpc: Likewise.
13004 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13006 * scripts/check-local-headers.sh: Ignore c++ headers.
13008 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13010 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13011 __libc_cleanup_region_start argument.
13013 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13018 x * y using scaling, not as x * y + z.
13019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13021 * math/libm-test.inc (fma_test): Add more tests.
13022 (fma_test_towardzero): Likewise.
13023 (fma_test_downward): Likewise.
13024 (fma_test_upward): Likewise.
13026 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13028 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13030 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13032 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13035 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13037 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13039 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13046 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13049 Fix the order of the list for glibc 2.17.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13053 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13057 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13060 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13061 for low part of x being zero before using __atanl (y).
13062 * math/libm-test.inc (atan2_test): Add another test.
13064 * manual/install.texi (Configuring and compiling): Document
13065 general use of test-wrapper and test-wrapper-env.
13066 * INSTALL: Regenerated.
13068 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13069 (__fma): Do not extract and scale down low bits on after-rounding
13070 systems when result rounded to normal precision would have normal
13072 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13073 (__fmal): Do not extract and scale down low bits on after-rounding
13074 systems when result rounded to normal precision would have normal
13076 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13077 (__fmal): Do not extract and scale down low bits on after-rounding
13078 systems when result rounded to normal precision would have normal
13080 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13082 (fma_test): Add more tests.
13083 (fma_test_towardzero): Likewise.
13084 (fma_test_downward): Likewise.
13085 (fma_test_upward): Likewise.
13087 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13089 * sysdeps/i386/tininess.h: Renamed to ...
13090 * sysdeps/x86/tininess.h: This.
13091 * sysdeps/x86_64/tininess.h: Removed.
13093 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13095 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13096 input. Use $(build-program-cmd).
13097 ($(objpfx)tst-array1-static.out): Likewise.
13098 ($(objpfx)tst-array2.out): Likewise.
13099 ($(objpfx)tst-array3.out): Likewise.
13100 ($(objpfx)tst-array4.out): Likewise.
13101 ($(objpfx)tst-array5.out): Likewise.
13102 ($(objpfx)tst-array5-static.out): Likewise.
13104 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13106 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13109 * nss/nsswitch.h (nss_interface_function): Provide new
13110 macro for use with NSS functions.
13111 * grp/initgroups.c: Use new macro.
13112 * nss/getXXbyYY.c: Likewise.
13113 * nss/getXXbyYY_r.c: Likewise.
13114 * nss/getXXent.c: Likewise.
13115 * nss/getXXent_r.c: Likewise.
13116 * sysdeps/posix/getaddrinfo.c: Likewise.
13118 2012-10-30 Andreas Jaeger <aj@suse.de>
13120 * po/ru.po: Update Russion translation from translation project.
13122 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13127 result and shift together with sticky bit instead of replicating
13128 round-to-nearest rounding.
13129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13131 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13132 missing underflow exceptions.
13133 (fma_test_towardzero): Add more tests.
13134 (fma_test_downward): Likewise.
13135 (fma_test_upward): Likewise.
13138 * sysdeps/generic/tininess.h: New file.
13139 * sysdeps/i386/tininess.h: Likewise.
13140 * sysdeps/sh/tininess.h: Likewise.
13141 * sysdeps/x86_64/tininess.h: Likewise.
13142 * stdlib/tst-strtod-underflow.c: Likewise.
13143 * stdlib/tst-tininess.c: Likewise.
13144 * stdlib/strtod_l.c: Include <tininess.h>.
13145 (round_and_return): Do not set errno for exact underflow cases.
13146 Force an underflow exception when setting errno for underflow.
13147 Determine underflow based on rounding to normal precision if
13148 TININESS_AFTER_ROUNDING.
13149 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13150 ERANGE for exact underflow cases.
13151 * stdlib/Makefile (tests): Add tst-tininess and
13152 tst-strtod-underflow.
13153 ($(objpfx)tst-tininess): Use $(link-libm).
13154 ($(objpfx)tst-strtod-underflow): Likewise.
13156 2012-10-30 Andreas Jaeger <aj@suse.de>
13159 * elf/Makefile (tests): Remove conditional for have-initfini-array
13160 since this is now always required and the variable does not exist
13162 (tests-static): Likewise.
13163 (modules-names): Likewise.
13165 * po/eo.po: Add Esperanto translation from translation project.
13167 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13168 merged with constructor/destructor.
13169 (init_array): Likewise.
13170 * elf/tst-array2dep.c (fini_array): Likewise.
13171 (init_array): Likewise.
13173 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13175 * manual/message.texi: Delete @cartouche tags.
13177 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13179 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13181 * sysdeps/mach/hurd/fsync.c: Likewise.
13183 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13184 [_POSIX_REALTIME_SIGNALS]: Change condition to
13185 [_POSIX_REALTIME_SIGNALS > 0].
13187 2012-10-27 Andreas Jaeger <aj@suse.de>
13189 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13190 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13192 [__WORDSIZE != 64]: Likewise.
13194 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13196 * iconvdata/tst-table.sh: Remove ${SHELL}.
13197 * iconvdata/tst-tables.sh: Likewise.
13199 2012-10-25 David S. Miller <davem@davemloft.net>
13201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13202 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13207 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13208 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13209 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13212 2012-10-25 Roland McGrath <roland@hack.frob.com>
13214 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13215 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13218 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13219 Jim Blandy <jimb@codesourcery.com>
13221 * scripts/cross-test-ssh.sh: New file.
13222 * manual/install.texi (Configuring and compiling): Document use of
13224 * INSTALL: Regenerated.
13226 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13228 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13231 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13233 * Makeconfig (run-program-prefix): Fix comment.
13235 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13236 Jim Blandy <jimb@codesourcery.com>
13238 * Makeconfig (test-wrapper): New variable,
13239 (test-wrapper-env): Likewise.
13240 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13241 (run-built-tests): Define to yes.
13242 (run-program-prefix): Use $(test-wrapper).
13243 (built-program-cmd): Likewise.
13244 * Rules (make-test-out): Use $(test-wrapper-env) and
13245 $(host-built-program-cmd).
13246 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13247 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13249 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13250 $(test-wrapper-env) to tst-rtld-load-self.sh.
13251 ($(objpfx)order2.out): Use $(test-wrapper).
13252 ($(objpfx)tst-initorder.out): Likewise.
13253 ($(objpfx)tst-initorder2.out): Likewise.
13254 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13255 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13256 (test_wrapper_env): New variable. Use it to run ld.so.
13257 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13258 Use it to run ld.so.
13259 (test_wrapper_env): Likewise.
13260 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13261 $(test-wrapper) to run-iconv-test.sh.
13262 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13263 (ICONV): Use $test_wrapper.
13264 * posix/Makefile ($(objpfx)globtest.out): Pass
13265 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13266 globtest.sh, not $(run-program-prefix).
13267 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13268 (test_wrapper): Likewise.
13269 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13270 set together with run_via_rtld_prefix.
13271 (run_program_prefix): Define in terms of test_wrapper and
13272 run_via_rtld_prefix.
13274 2012-10-24 Roland McGrath <roland@hack.frob.com>
13276 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13277 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13281 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13282 Declare __clock_getres, __clock_gettime, __clock_settime,
13283 __clock_nanosleep, and __clock_getcpuclockid.
13284 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13285 Remove librt_hidden_def (clock_gettime).
13286 * sysdeps/unix/clock_gettime.c: Likewise.
13287 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13289 * rt/clock_getres.c: Define __clock_getres as an alias.
13290 * sysdeps/posix/clock_getres.c: Likewise.
13291 * rt/clock_settime.c: Define __clock_settime as an alias.
13292 * sysdeps/unix/clock_settime.c: Likewise.
13293 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13294 * sysdeps/unix/clock_nanosleep.c: Likewise.
13295 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13296 * rt/clock-compat.c: New file.
13297 * rt/Makefile (librt-routines): Add clock-compat and move
13298 $(clock-routines) to ...
13299 (routines): ... here, new variable.
13300 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13301 Don't add get_clockfreq here.
13302 * rt/Versions (libc: GLIBC_2.17): New version set.
13303 Add clock_* symbols here.
13304 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13306 (GLIBC_2.17): Add clock_* symbols.
13307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13318 * NEWS: Mention the move.
13320 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13321 Use __open, __read, __close rather than their public counterparts.
13322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13323 (__get_clockfreq_via_cpuinfo): Likewise.
13324 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13325 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13327 * config.h.in (HAVE_IFUNC): New #undef.
13328 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13330 * configure: Regenerated.
13332 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13334 * configure.in: Move READELF check to start of file.
13335 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13336 libc_cv_asm_gnu_indirect_function in the process.
13337 * configure: Regenerated.
13339 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13341 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13342 send the output to /dev/null.
13343 (libc_cv_cc_with_libunwind): Likewise.
13344 (libc_cv_as_noexecstack): Likewise.
13345 * configure: Regenerate.
13347 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13349 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13351 * posix/globtest.sh (TMPDIR): Do not set.
13352 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13353 (testout): Likewise.
13355 2012-10-24 Andreas Jaeger <aj@suse.de>
13357 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13358 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13359 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13360 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13361 posix_fadvise64, posix_fallocate64.
13363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13364 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13365 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13367 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13369 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13372 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13373 <bits/fcntl-linux.h>.
13374 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13377 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13378 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13379 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13380 [__WORDSIZE != 64]: Likewise.
13382 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13384 * Makeconfig (run-built-tests): New variable.
13385 * Rules [$(cross-compiling) = yes]: Change condition to
13386 [$(run-built-tests) = no].
13387 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13388 to [$(run-built-tests) = yes].
13389 * elf/Makefile [$(cross-compiling) = no]: Likewise
13390 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13391 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13392 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13393 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13394 * io/Makefile [$(cross-compiling) = no]: Likewise.
13395 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13396 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13397 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13398 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13399 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13400 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13401 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13402 * string/Makefile [$(cross-compiling) = no]: Likewise.
13404 * posix/Makefile ($(objpfx)globtest.out): Pass
13405 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13406 $(rtld-installed-name).
13407 * posix/globtest.sh (elf_objpfx): Remove variable.
13408 (rtld_installed_name): Likewise.
13409 (library_path): Likewise.
13410 (run_program_prefix): New variable. Use for running globtest
13413 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13414 Joseph Myers <joseph@codesourcery.com>
13416 * Makeconfig (host-built-program-cmd): New variable.
13417 * elf/Makefile (tst-stackguard1-ARGS): Use
13418 $(host-built-program-cmd).
13419 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13420 (tst-spawn-ARGS): Likewise.
13421 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13423 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13424 Jim Blandy <jimb@codesourcery.com>
13426 * Makeconfig (run-via-rtld-prefix): New variable.
13427 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13428 (built-program-cmd): Likewise.
13430 2012-10-22 Andreas Jaeger <aj@suse.de>
13432 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13433 __O_RSYNC if it exists, otherwise to O_SYNC.
13435 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13436 Joseph Myers <joseph@codesourcery.com>
13438 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13440 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13442 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13445 2012-10-22 Andreas Jaeger <aj@suse.de>
13447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13452 bits/fcntl-linux.h.
13454 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13455 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13462 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13463 Joseph Myers <joseph@codesourcery.com>
13465 * config.make.in (NM): New variable.
13467 2012-10-21 Andreas Jaeger <aj@suse.de>
13469 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13470 definitions and declarations that are provided by
13471 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13473 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13476 * elf/Makefile (tests-static): Add tst-leaks1-static.
13477 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13478 ($(objpfx)tst-leaks1-static): New rule.
13479 ($(objpfx)tst-leaks1-static-mem): Likewise.
13480 (tst-leaks1-static-ENV): New macro.
13481 * elf/dl-open.c (dl_open_worker): Check the main application
13482 only if SHARED is defined.
13483 * elf/tst-leaks1-static.c: New file.
13485 2012-10-20 Andreas Jaeger <aj@suse.de>
13487 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13488 generic values for Linux.
13489 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13490 and declarations that are provided by <bits/fcntl-linux.h> and
13491 include <bits/fcntl-linux.h>.
13492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13495 2012-10-20 Roland McGrath <roland@hack.frob.com>
13497 * io/fcntl.h: Move include of <bits/types.h> to the top and
13498 include it unconditionally.
13500 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13502 * wcsmbs/Makefile (tests-ifunc): New variable.
13503 (tests): Add $(tests-ifunc).
13504 * wcsmbs/test-wcschr-ifunc.c: New file.
13505 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13506 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13507 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13508 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13509 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13511 * string/Makefile (tests-ifunc): New variable.
13512 (tests): Add $(tests-ifunc).
13513 * string/test-memccpy.c (TEST_NAME): New macro.
13514 * string/test-memchr.c (TEST_NAME): Likewise.
13515 * string/test-memcmp.c (TEST_NAME): Likewise.
13516 * string/test-memcpy.c (TEST_NAME): Likewise.
13517 * string/test-memmem.c (TEST_NAME): Likewise.
13518 * string/test-memmove.c (TEST_NAME): Likewise.
13519 * string/test-memset.c (TEST_NAME): Likewise.
13520 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13521 * string/test-stpcpy.c (TEST_NAME): Likewise.
13522 * string/test-stpncpy.c (TEST_NAME): Likewise.
13523 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13524 * string/test-strcasestr.c (TEST_NAME): Likewise.
13525 * string/test-strcat.c (TEST_NAME): Likewise.
13526 * string/test-strchr.c (TEST_NAME): Likewise.
13527 * string/test-strcmp.c(TEST_NAME): Likewise.
13528 * string/test-strcpy.c (TEST_NAME): Likewise.
13529 * string/test-strcspn.c (TEST_NAME): Likewise.
13530 * string/test-strlen.c (TEST_NAME): Likewise.
13531 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13532 * string/test-strncmp.c (TEST_NAME): Likewise.
13533 * string/test-strncpy.c (TEST_NAME): Likewise.
13534 * string/test-strnlen.c (TEST_NAME): Likewise.
13535 * string/test-strpbrk.c (TEST_NAME): Likewise.
13536 * string/test-strrchr.c (TEST_NAME): Likewise.
13537 * string/test-strspn.c (TEST_NAME): Likewise.
13538 * string/test-strstr.c (TEST_NAME): Likewise.
13539 * string/test-bcopy-ifunc.c: New file.
13540 * string/test-bzero-ifunc.c: Likewise.
13541 * string/test-memccpy-ifunc.c: Likewise.
13542 * string/test-memchr-ifunc.c: Likewise.
13543 * string/test-memcmp-ifunc.c: Likewise.
13544 * string/test-memcpy-ifunc.c: Likewise.
13545 * string/test-memmem-ifunc.c: Likewise.
13546 * string/test-memmove-ifunc.c: Likewise.
13547 * string/test-mempcpy-ifunc.c: Likewise.
13548 * string/test-memset-ifunc.c: Likewise.
13549 * string/test-rawmemchr-ifunc.c: Likewise.
13550 * string/test-stpcpy-ifunc.c: Likewise.
13551 * string/test-stpncpy-ifunc.c: Likewise.
13552 * string/test-strcasecmp-ifunc.c: Likewise.
13553 * string/test-strcasestr-ifunc.c: Likewise.
13554 * string/test-strcat-ifunc.c: Likewise.
13555 * string/test-strchr-ifunc.c: Likewise.
13556 * string/test-strchrnul-ifunc.c: Likewise.
13557 * string/test-strcmp-ifunc.c: Likewise.
13558 * string/test-strcpy-ifunc.c: Likewise.
13559 * string/test-strcspn-ifunc.c: Likewise.
13560 * string/test-strlen-ifunc.c: Likewise.
13561 * string/test-strncasecmp-ifunc.c: Likewise.
13562 * string/test-strncat-ifunc.c: Likewise.
13563 * string/test-strncmp-ifunc.c: Likewise.
13564 * string/test-strncpy-ifunc.c: Likewise.
13565 * string/test-strnlen-ifunc.c: Likewise.
13566 * string/test-strpbrk-ifunc.c: Likewise.
13567 * string/test-strrchr-ifunc.c: Likewise.
13568 * string/test-strspn-ifunc.c: Likewise.
13569 * string/test-strstr-ifunc.c: Likewise.
13571 * debug/Makefile (tests-ifunc): New variable.
13572 (tests): Add $(tests-ifunc).
13573 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13574 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13575 * debug/test-stpcpy_chk-ifunc.c: New file.
13576 * debug/test-strcpy_chk-ifunc.c: Likewise.
13578 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13581 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13582 header is not read in.
13584 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13586 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13587 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13588 directly. Pass built executable to script as
13589 $(built-program-cmd).
13590 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13591 $testprogram without using LD_LIBRARY_PATH and $ldso.
13593 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13594 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13595 $(rtld-installed-name).
13596 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13597 (rtld_installed_name): Likewise.
13598 (library_path): Likewise.
13599 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13600 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13601 $(run-program-prefix) to tst-tables.sh.
13602 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13603 it to run tst-table-from and tst-table-to.
13604 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13605 Pass it to tst-table.sh.
13606 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13607 $(run-program-prefix) to tst-gettext.sh.
13608 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13610 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13612 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13613 to run tst-gettext.
13614 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13615 to run tst-gettext2.
13616 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13617 to run tst-translit.
13618 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13619 $(run-program-prefix) to tst-mtrace.sh.
13620 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13622 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13623 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13624 $(rtld-installed-name).
13625 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13626 (rtld_installed_name): Likewise.
13627 (run_program_prefix): New variable. Use it to run wordexp-test.
13629 * Makeconfig (ARCH): Remove all definitions.
13630 (machine): Likewise.
13631 [ARCH]: Remove conditional code.
13632 [!objdir]: Give error.
13633 [!objdir] (objpfx): Remove.
13634 [!objdir] (common-objpfx): Likewise.
13635 [!objdir] (common-objdir): Likewise.
13636 * configure.in (config_makefile): Remove. Hardcode Makefile in
13637 AC_CONFIG_FILES call.
13638 * configure: Regenerated.
13641 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13643 (testout): Likewise.
13645 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13646 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13647 $(rtld-installed-name).
13648 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13649 (rtld_installed_name): Likwise.
13650 (runit): Remove function.
13651 (run_getconf): New variable, Use it for running getconf binary.
13653 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13656 * string/test-memmem.c (check_result): New function.
13657 (do_one_test): Use it.
13658 (check1): New function.
13659 (test_main): Use it.
13661 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13663 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13665 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13667 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13668 (_G_LSEEK64): Likewise.
13669 (_G_MMAP64): Likewise.
13670 (_G_FSTAT64): Likewise.
13671 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13672 (_G_LSEEK64): Likewise.
13673 (_G_MMAP64): Likewise.
13674 (_G_FSTAT64): Likewise.
13675 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13676 unconditional. Call __mmap64 directly.
13677 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13678 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13679 __lseek64 directly.
13680 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13681 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13683 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13684 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13685 __lseek64 directly.
13686 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13687 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13688 __lseek64 directly.
13689 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13690 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13691 __lseek64 directly.
13692 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13693 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13694 __fxstat64 directly.
13695 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13696 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13698 (freopen64) [!_G_OPEN64]: Remove conditional code.
13699 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13701 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13702 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13704 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13705 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13707 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13708 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13710 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13711 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13713 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13714 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13716 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13717 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13719 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13721 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13724 * manual/memory.texi (Malloc Tunable Parameters): Add note
13725 about free list pointers overwriting some perturb bytes.
13726 Wording suggested by Roland McGrath.
13728 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13730 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13731 (lgamma_test): Likewise.
13732 (tgamma_test): Likewise.
13734 2012-10-16 Florian Weimer <fweimer@redhat.com>
13737 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13738 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13740 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13742 * NEWS: Mention BZ #14716.
13743 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13744 when removing AVAILABLE1_USES_J macro.
13746 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13748 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13749 (__bswap_64): __uint64_t for unsigned 64-bit int.
13751 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13753 * include/string.h (memmem): Declare libc hidden alias.
13754 * string/memmem.c (memmem): Define libc hidden alias.
13755 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13756 __read, __close instead of open, read, close.
13758 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13761 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13763 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13764 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13765 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13767 (__rawmemchr_sse2): Likewise.
13768 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13769 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13770 (__strchr_sse2): Likewise.
13771 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13772 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13773 (__strcasecmp_sse2): Likewise.
13774 (__strncasecmp_sse2): Likewise.
13775 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13776 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13777 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13778 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13779 (__strrchr_sse2): Likewise.
13780 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13782 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13783 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13784 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13785 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13786 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13787 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13788 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13789 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13790 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13791 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13792 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13793 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13794 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13795 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13796 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13797 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13798 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13799 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13800 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13801 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13802 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13803 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13804 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13805 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13806 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13807 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13808 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13809 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13810 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13811 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13813 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13815 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13816 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13817 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13818 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13820 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13822 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13823 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13824 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13825 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13827 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13828 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13829 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13830 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13831 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13832 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13833 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13834 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13835 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13836 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13837 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13838 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13839 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13840 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13841 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13842 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13843 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13844 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13845 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13846 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13847 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13848 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13849 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13850 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13851 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13852 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13853 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13854 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13855 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13856 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13857 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13858 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13859 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13860 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13862 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13863 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13865 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13866 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13867 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13869 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13870 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13871 * include/ifunc-impl-list.h: New file.
13872 * misc/ifunc-impl-list.c: Likewise.
13873 * misc/Makefile (routines): Add ifunc-impl-list.
13874 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13875 * string/test-string.h: Include <ifunc-impl-list.h>.
13876 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13877 impl_array): New variables.
13878 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13880 (test_init): Call __libc_ifunc_impl_list to initialize
13881 func_list if TEST_IFUNC and TEST_NAME are defined.
13883 * string/Makefile (strop-tests): Add bcopy and bzero.
13884 * string/test-bcopy.c: New file.
13885 * string/test-bzero.c: Likewise.
13886 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13888 * string/test-memset.c: Support bzero test if TEST_BZERO is
13890 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13892 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13894 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13897 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13899 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13900 * configure: Regenerated.
13902 * Makeconfig (+link-static-before-libc): Don't include
13903 $(link-static-libc).
13905 * libio/libio.h (_IO_pos_t): Remove.
13907 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13909 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13912 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13914 * crypt/crypt-entry.c: Include fips-private.h.
13915 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13916 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13917 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13918 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13920 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13922 * crypt/crypt-private.h: Include stdbool.h.
13923 (_ufc_setup_salt_r): Return bool.
13924 * crypt/crypt-entry.c: Include errno.h.
13925 (__crypt_r): Return NULL with EINVAL for bad salt.
13926 * crypt/crypt_util.c (bad_for_salt): New.
13927 (_ufc_setup_salt_r): Check that salt is long enough and within
13928 the specified alphabet.
13929 * crypt/badsalttest.c: New file.
13930 * crypt/Makefile (tests): Add it.
13931 ($(objpfx)badsalttest): New.
13933 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13935 * NEWS: Add entry for BZ #14602.
13937 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13939 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13941 * math/libm-test.inc: Update comment listing what functions and
13943 (isgreater_test): New function.
13944 (isgreaterequal_test): Likewise.
13945 (isless_test): Likewise.
13946 (islessequal_test): Likewise.
13947 (islessgreater_test): Likewise.
13948 (isunordered_test): Likewise.
13949 (main): Call the new functions.
13951 2012-10-09 Roland McGrath <roland@hack.frob.com>
13953 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13954 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13955 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13956 * sysdeps/i386/configure: Regenerated.
13957 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13958 * sysdeps/mach/configure: Regenerated.
13959 * sysdeps/mach/hurd/configure: Regenerated.
13960 * sysdeps/powerpc/configure: Regenerated.
13961 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13962 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13963 * sysdeps/s390/s390-32/configure: Regenerated.
13964 * sysdeps/s390/s390-64/configure: Regenerated.
13965 * sysdeps/sh/configure: Regenerated.
13966 * sysdeps/sparc/configure: Regenerated.
13967 * sysdeps/unix/sysv/linux/configure: Regenerated.
13968 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13969 * sysdeps/x86_64/configure: Regenerated.
13971 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13972 defined. Don't check if MAP is NULL.
13974 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13976 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13977 (_G_stat64): Likewise.
13978 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13979 (_G_stat64): Likewise.
13980 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13981 instead of struct _G_stat64.
13982 * libio/fileops.c (mmap_remap_check): Likewise.
13983 (decide_maybe_mmap): Likewise.
13984 (_IO_new_file_seekoff): Likewise.
13985 (_IO_file_stat): Likewise.
13986 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13988 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13989 instead of struct _G_stat64.
13990 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13992 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13995 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13997 (CHECK_EOL): New macro.
13998 (two_way_short_needle): Check beginning of haystack for EOL. Use
14000 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14001 Replace with CHECK_EOL.
14002 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14003 Replace with CHECK_EOL.
14005 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14007 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14009 * math/libm-test.inc: Update comment listing what functions and
14011 (finite_test): New function.
14012 (isinf_test): Likewise.
14013 (isnan_test): Likewise.
14014 (fpclassify_test): Test subnormal input.
14015 (isfinite_test): Likewise.
14016 (isnormal_test): Likewise.
14017 (main): Call the new functions.
14019 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14022 * Makerules (%.dynsym): Force C locale when running
14023 $(OBJDUMP) --dynamic-syms.
14025 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14027 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14030 2012-10-06 David S. Miller <davem@davemloft.net>
14032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14033 upper 32-bits of the length value in %o2 since we use branch-on-register
14034 tests which consider the entire 64-bit register.
14036 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14038 * string/test-strstr.c (check2): Add a test for page boundary.
14040 2012-10-05 David S. Miller <davem@davemloft.net>
14042 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14043 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14045 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14047 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14048 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14049 and bzero when HWCAP_SPARC_CRYPTO is present.
14051 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14054 * string/test-strstr.c (check2): New function.
14055 (test_main): Call check2.
14057 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14059 * string/bug-strcasestr1.c (do_test): Moved to ...
14060 * string/test-strcasestr.c (check1): Here. New function.
14061 (do_one_test): Break out result checking code into ...
14062 (check_result): This. New function.
14063 (do_one_test): Call check_result.
14064 (test_main): Call check1.
14065 * string/bug-strchr1.c (do_test): Moved to ...
14066 * string/test-strchr.c (check1): Here. New function.
14067 (do_one_test): Break out result checking code into ...
14068 (check_result): This. New function.
14069 (do_one_test): Call check_result.
14070 (test_main): Call check1.
14071 * string/bug-strstr1.c (main): Moved to ...
14072 * string/test-strstr.c (check1): Here. New function.
14073 (do_one_test): Break out result checking code into ...
14074 (check_result): This. New function.
14075 (do_one_test): Call check_result.
14076 (test_main): Call check1.
14077 * string/bug-strcasestr1.c: Removed.
14078 * string/bug-strchr1.c: Likewise.
14079 * string/bug-strstr1.c: Likewise.
14081 * elf/Makefile (dl-routines): Add hwcaps.
14082 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14083 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14084 (_dl_important_hwcaps): Moved to ...
14085 * elf/dl-hwcaps.c: Here. New file.
14086 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14089 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14090 if IS_IN_rtld isn't defined.
14092 * elf/dl-support.c (_dl_sysinfo_map): New.
14093 Include "get-dynamic-info.h" and "setup-vdso.h".
14094 (_dl_non_dynamic_init): Call setup_vdso.
14095 * elf/dynamic-link.h: Don't include <assert.h>.
14096 (elf_get_dynamic_info): Moved to ...
14097 * elf/get-dynamic-info.h: Here. New file.
14098 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14099 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14100 * elf/setup-vdso.h: Here. New file.
14101 * elf/rtld.c: Include "setup-vdso.h".
14102 (dl_main): Call setup_vdso.
14104 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14106 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14107 creal in comment listing functions tested. List finite, isinf,
14108 isnan, isless, islessequal, isgreater, isgreaterequal,
14109 islessgreater, isunordered, lgamma_r and pow10 as functions and
14110 macros not tested. Mention which functions not tested are aliases
14111 for other functions. Fix typo. Note that signs of NaNs are not
14114 * scripts/config.guess: Update from config.git.
14115 * scripts/config.sub: Likewise.
14117 2012-10-04 Roland McGrath <roland@hack.frob.com>
14119 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14120 * misc/madvise.c (madvise): Renamed to __madvise.
14121 Make madvise a weak alias.
14122 * include/sys/mman.h: Declare __madvise.
14123 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14124 * sysdeps/unix/syscalls.list
14125 (madvise): Make __madvise the strong name, and madvise a weak alias.
14126 * sysdeps/unix/sysv/linux/syscalls.list
14127 (madvise, mmap): Remove redundant entries.
14128 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14129 * malloc/malloc.c (mtrim): Likewise.
14130 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14132 2012-10-03 Roland McGrath <roland@hack.frob.com>
14134 * sysdeps/mach/hurd/dl-cache.c: File removed.
14135 * config.h.in (USE_LDCONFIG): New #undef.
14136 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14137 * configure: Regenerated.
14138 * elf/Makefile (dl-routines): Add dl-cache only under
14139 [$(use-ldconfig) = yes].
14140 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14141 cache on [USE_LDCONFIG].
14142 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14144 * elf/rtld.c (dl_main): Likewise.
14146 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14148 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14149 _SC_LEVEL4_CACHE_LINESIZE.
14151 2012-10-03 Roland McGrath <roland@hack.frob.com>
14153 * sysdeps/unix/bsd/confstr.h: File removed.
14155 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14157 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14160 2012-10-02 Roland McGrath <roland@hack.frob.com>
14162 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14163 Make 'mapoff' field ElfW(Off) rather than off_t.
14165 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14167 * nscd/Makefile: Remove nscd-cflags and all its users.
14168 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14169 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14172 * malloc.c (malloc_printerr): Clarify error message.
14174 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14178 Set bit_FMA_Usable if FMA is supported.
14179 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14181 (bit_FMA4_Usable): Updated.
14182 (index_FMA_Usable): New macro.
14183 (CPUID_FMA): Likewise
14184 (HAS_FMA): Defined with bit_FMA_Usable.
14186 2012-10-01 Roland McGrath <roland@hack.frob.com>
14188 * bits/types.h (__swblk_t): Type removed.
14189 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14190 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14192 (__SWBLK_T_TYPE): Likewise.
14193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14194 (__SWBLK_T_TYPE): Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14196 (__SWBLK_T_TYPE): Likewise.
14197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14198 (__SWBLK_T_TYPE): Likewise.
14200 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14201 Honza Horak <hhorak@redhat.com>
14203 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14204 (xdr_mapname): Use YPMAXMAP as maxsize.
14205 (xdr_peername): Use YPMAXPEER as maxsize.
14206 (xdr_keydat): Use YPAXRECORD as maxsize.
14207 (xdr_valdat): Use YPMAXRECORD as maxsize.
14209 2012-10-01 Roland McGrath <roland@hack.frob.com>
14211 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14213 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14214 * csu/init-first.c: ... here.
14215 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14216 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14217 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14218 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14219 * sysdeps/i386/init-first.c: File removed.
14220 * sysdeps/sh/init-first.c: File removed.
14222 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14226 if x * y might underflow to zero and z is zero.
14227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14229 * math/libm-test.inc (min_subnorm_value): New variable.
14230 (fma_test): Add more tests.
14231 (fma_test_towardzero): Likewise.
14232 (fma_test_downward): Likewise
14233 (fma_test_upward): Likewise.
14234 (initialize): Set min_subnorm_value.
14236 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14241 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14242 mode for addition resulting in exact zero.
14243 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14246 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14248 * math/libm-test.inc (fma_test): Add more tests.
14249 (fma_test_towardzero): New function.
14250 (fma_test_downward): Likewise.
14251 (fma_test_upward): Likewise.
14252 (main): Call the new functions.
14254 2012-09-28 David S. Miller <davem@davemloft.net>
14256 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14258 2012-09-28 Roland McGrath <roland@hack.frob.com>
14260 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14261 instead of SIGALRM.
14263 * sysdeps/gnu/_G_config.h: Moved to ...
14264 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14265 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14266 * sysdeps/generic/_G_config.h: ... here.
14268 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14270 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14272 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14273 Conditionalize target on [libnss_test1.so-version].
14275 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14277 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14278 (elfobjdir): Move out of conditionals.
14280 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14281 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14282 (__nss_lookup_function): Conditionalize label remove_from_tree on
14283 [!DO_STATIC_NSS || SHARED], matching its only use.
14285 2012-09-28 David S. Miller <davem@davemloft.net>
14287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14288 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14290 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14292 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14294 when HWCAP_SPARC_CRYPTO is present.
14296 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14298 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14300 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14303 * stdio-common/vfprintf.c (process_string_arg): Revert
14306 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14308 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14310 * stdio-common/tst-sprintf.c: Include <locale.h>
14311 (main): Test sprintf's handling of incomplete multibyte
14314 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14316 * elf/dl-runtime.c (VERSYMIDX): Removed.
14317 * elf/dl-version.c (VERSYMIDX): Likewise.
14318 * elf/do-rel.h (VERSYMIDX): Likewise.
14319 (VALIDX): Likewise.
14320 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14321 * elf/rtld.c (VALIDX): Likewise.
14322 (ADDRIDX): Likewise.
14323 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14324 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14325 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14326 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14327 (VALIDX): Likewise.
14328 (ADDRIDX): Likewise.
14330 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14332 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14334 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14337 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14339 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14340 addresses are in the same scope as 192.0.2/24.
14341 * posix/gai.conf: Document new scope table defaults.
14343 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14346 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14347 for ftell. Compute offsets from write pointers instead.
14348 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14350 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14353 * libio/Makefile (tests): New test case tst-fseek.
14354 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14355 combination works in wide mode.
14356 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14357 state when the external buffer state changes.
14359 2012-09-27 David S. Miller <davem@davemloft.net>
14362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14363 pass reloc->r_addend in as the 'high' argument to
14364 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14368 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14370 * rt/tst-aio2.c: Include <pthread.h>.
14371 * rt/tst-aio3.c: Likewise.
14373 2012-09-27 Steve Ellcey <sellcey@mips.com>
14375 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14377 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14379 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14380 contents on [SHARED].
14382 2012-09-26 Marek Polacek <polacek@redhat.com>
14386 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14387 for C++ and GCC <4.3 as well as for non GCC compilers.
14389 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14393 2012-09-25 Roland McGrath <roland@hack.frob.com>
14395 * Makefile.in (all, install): Declare with .PHONY.
14396 Reported by Michael Hope <michael.hope@linaro.org>.
14398 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14400 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14401 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14403 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14405 (sydep_routines): Add the new and the internal functions.
14406 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14407 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14409 (GLIBC_2.17): Add the new function.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14411 (GLIBC_2.17): Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14413 (GLIBC_2.17): Likewise.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14415 (GLIBC_2.17): Likewise.
14416 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14418 2012-09-25 Alan Modra <amodra@gmail.com>
14420 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14421 Add release barrier before setting once_control to say
14422 initialisation is done. Add hints on lwarx. Use macro in
14424 (clear_once_control): Add release barrier.
14426 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14429 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14431 * math/s_clog10.c (__clog10): Likewise.
14432 * math/s_clog10f.c (__clog10f): Likewise.
14433 * math/s_clog10l.c (__clog10l): Likewise.
14434 * math/s_clogf.c (__clogf): Likewise.
14435 * math/s_clogl.c (__clogl): Likewise.
14436 * math/Makefile (libm-calls): Add x2y2m1.
14437 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14438 (__x2y2m1): Likewise.
14439 (__x2y2m1l): Likewise.
14440 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14441 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14444 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14445 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14446 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14447 * sysdeps/i386/fpu/libm-test-ulps: Update.
14448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14452 int as type of variable DEPTH.
14453 (glob): Use size_t instead of int as type of variables NEWCOUNT
14456 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14458 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14459 Add s_sincosf-sse2.
14460 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14461 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14462 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14463 macros for using routine as __sincosf_ia32.
14464 Use macro for function declaration and weak_alias.
14465 * sysdeps/i386/fpu/libm-test-ulps: Update.
14467 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14470 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14471 subnormal argument.
14472 * math/s_cexpf.c (__cexpf): Likewise.
14473 * math/s_csinf.c (__csinf): Likewise.
14474 * math/s_csinhf.c (__csinhf): Likewise.
14475 * math/s_ctanf.c (__ctanf): Likewise.
14476 * math/s_ctanhf.c (__ctanhf): Likewise.
14477 * math/s_ccosh.c (__ccoshf): Likewise.
14478 * math/s_cexp.c (__cexpl): Likewise.
14479 * math/s_csin.c (__csin): Likewise.
14480 * math/s_csinh.c (__csinh): Likewise.
14481 * math/s_ctan.c (__ctan): Likewise.
14482 * math/s_ctanh.c (ctanh): Likewise.
14483 * math/s_ccoshl.c (__ccoshl): Likewise.
14484 * math/s_cexpl.c (__cexpl): Likewise.
14485 * math/s_csinl.c (__csinl): Likewise.
14486 * math/s_csinhl.c (__csinhl): Likewise.
14487 * math/s_ctanl.c (__ctanl): Likewise.
14488 * math/s_ctanhl.c (__ctanhl): Likewise.
14490 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14492 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14493 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14494 (_IO_off_t): Define to __off_t, not _G_off_t.
14495 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14496 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14497 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14498 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14499 type of __dummy and __dummy2 fields.
14500 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14501 (_G_ssize_t): Likewise.
14502 (_G_off_t): Likewise.
14503 (_G_pid_t): Likewise.
14504 (_G_uid_t): Likewise.
14505 (_G_wchar_t): Likewise.
14506 (_G_wint_t): Likewise.
14507 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14508 (_G_ssize_t): Likewise.
14509 (_G_off_t): Likewise.
14510 (_G_pid_t): Likewise.
14511 (_G_uid_t): Likewise.
14512 (_G_wchar_t): Likewise.
14513 (_G_wint_t): Likewise.
14514 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14515 (_G_ssize_t): Likewise.
14516 (_G_off_t): Likewise.
14517 (_G_pid_t): Likewise.
14518 (_G_uid_t): Likewise.
14519 (_G_wchar_t): Likewise.
14520 (_G_wint_t): Likewise.
14522 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14524 * malloc/arena.c: Include malloc-sysdep.h.
14525 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14526 is sufficient to shrink the heap or an unmap is needed.
14527 * sysdeps/generic/malloc-sysdep.h: New file. Define
14528 new function check_may_shrink_heap.
14529 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14530 new function check_may_shrink_heap.
14532 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14534 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14537 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14539 * catgets/test-gencat.sh: Add "set -e".
14540 * elf/tst-pathopt.sh: Likewise.
14541 * grp/tst_fgetgrent.sh: Likewise.
14542 * iconvdata/run-iconv-test.sh: Likewise.
14543 * intl/tst-gettext.sh: Likewise.
14544 * intl/tst-gettext2.sh: Likewise.
14545 * intl/tst-gettext4.sh: Likewise.
14546 * intl/tst-gettext6.sh: Likewise.
14547 * intl/tst-translit.sh: Likewise.
14548 * io/ftwtest-sh: Likewise.
14549 * libio/test-freopen.sh: Likewise.
14550 * malloc/tst-mtrace.sh: Likewise.
14551 * posix/globtest.sh: Likewise.
14552 * posix/tst-getconf.sh: Likewise.
14553 * posix/wordexp-tst.sh: Likewise.
14554 * stdio-common/tst-printf.sh: Likewise.
14555 * stdio-common/tst-unbputc.sh: Likewise.
14556 * stdlib/tst-fmtmsg.sh: Likewise.
14557 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14558 * catgets/Makefile: Do not specify -e option when running
14559 testsuite shell scripts.
14560 * elf/Makefile: Likewise.
14561 * grp/Makefile: Likewise.
14562 * iconvdata/Makefile: Likewise.
14563 * intl/Makefile: Likewise.
14564 * io/Makefile: Likewise.
14565 * libio/Makefile: Likewise.
14566 * malloc/Makefile: Likewise.
14567 * posix/Makefile: Likewise.
14568 * stdio-common/Makefile: Likewise.
14569 * stdlib/Makefile: Likewise.
14570 * sysdeps/x86_64/Makefile: Likewise.
14572 * io/ftwtest-sh: Add copyright header.
14573 * posix/globtest.sh: Likewise.
14574 * posix/tst-getconf.sh: Likewise.
14575 * posix/wordexp-tst.sh: Likewise.
14576 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14578 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14581 * Makeconfig (+link): Defined as $(+link-static) if
14582 $(build-shared) isn't yes.
14583 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14585 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14587 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14590 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14591 new chunk size with MALLOC_ALIGN_MASK.
14593 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14596 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14598 (__printf_fphex): Determine rounding using get_rounding_mode and
14600 * stdio-common/tst-printf-round.c (struct hex_test): New
14602 (hex_tests): New variable.
14603 (test_hex_in_one_mode): New function.
14604 (do_test): Also run tests for hex float output.
14606 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14608 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14609 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14610 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14611 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14612 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14613 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14614 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14615 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14617 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14619 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14620 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14621 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14622 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14624 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14627 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14629 * elf/tst-rtld-load-self.sh: New test.
14630 * elf/Makefile: Run it.
14632 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14634 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14635 (tst-writev-ENV): Remove.
14636 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14638 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14640 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14642 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14644 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14646 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14648 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14649 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14650 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14653 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14656 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14657 * config.make.in (have-cpp-asm-debuginfo): Removed.
14658 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14659 * configure: Regenerated.
14661 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14664 * stdio-common/printf_fp.c: Include <stdbool.h> and
14666 (___printf_fp): Determine rounding using get_rounding_mode and
14668 * stdio-common/tst-printf-round.c: New file.
14669 * stdio-common/Makefile (tests): Add tst-printf-round.
14670 (link-libm): New variable.
14671 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14673 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14676 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14677 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14679 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14682 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14684 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14685 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14686 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14687 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14689 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14692 * include/rounding-mode.h: New file.
14693 * sysdeps/generic/get-rounding-mode.h: Likewise.
14694 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14695 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14696 (MAX_VALUE): New macro.
14697 (MIN_VALUE): Likewise.
14698 (overflow_value): New function.
14699 (underflow_value): Likewise.
14700 (round_and_return): Use overflow_value and underflow_value to
14701 determine return values in overflow and underflow cases. Use
14702 round_away to determine rounding depending on rounding mode.
14703 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14704 determine return values in overflow and underflow cases.
14705 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14706 (struct test_results): New structure.
14707 (struct test): Use struct test_results to store expected results
14708 for all rounding modes.
14709 (TEST): Include expected results for all rounding modes.
14710 (test_in_one_mode): New function.
14711 (do_test): Use test_in_one_mode to compute and check results.
14712 Check results for all rounding modes.
14713 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14716 2012-12-09 Allan McRae <allan@archlinux.org>
14718 * sysdeps/i386/fpu/libm-test-ulps: Update
14720 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14722 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14723 (_G_int32_t): Likewise.
14724 (_G_uint16_t): Likewise.
14725 (_G_uint32_t): Likewise.
14726 (_G_HAVE_BOOL): Likewise.
14727 (_G_HAVE_ATEXIT): Likewise.
14728 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14729 (_G_HAVE_IO_FILE_OPEN): Likewise.
14730 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14731 (_G_int32_t): Likewise.
14732 (_G_uint16_t): Likewise.
14733 (_G_uint32_t): Likewise.
14734 (_G_HAVE_BOOL): Likewise.
14735 (_G_HAVE_ATEXIT): Likewise.
14736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14737 (_G_HAVE_IO_FILE_OPEN): Likewise.
14738 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14739 (_G_int32_t): Likewise.
14740 (_G_uint16_t): Likewise.
14741 (_G_uint32_t): Likewise.
14742 (_G_HAVE_BOOL): Likewise.
14743 (_G_HAVE_ATEXIT): Likewise.
14744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14745 (_G_HAVE_IO_FILE_OPEN): Likewise.
14747 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14749 * csu/libc-tls.c: Update copyright years.
14751 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14753 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14754 [!_G_USING_THUNKS]: Remove conditional code.
14755 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14756 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14758 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14759 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14760 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14761 (_G_VTABLE_LABEL_PREFIX): Likewise.
14762 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14763 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14764 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14765 (_G_VTABLE_LABEL_PREFIX): Likewise.
14766 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14767 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14768 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14769 (_G_VTABLE_LABEL_PREFIX): Likewise.
14770 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14772 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14774 * libio/Makefile: Include ../Makeconfig before tests.
14775 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14776 only if $(build-shared) is yes.
14778 * iconv/gconv_db.c: Update copyright years.
14780 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14782 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14783 unwind info if defined PIC. Fix special cases description.
14784 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14786 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14788 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14790 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14792 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14794 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14797 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14798 (LDLIBS-tst-chk4): This.
14799 (LDFLAGS-tst-chk5): Renamed to ...
14800 (LDLIBS-tst-chk5): This.
14801 (LDFLAGS-tst-chk6): Renamed to ...
14802 (LDLIBS-tst-chk6): This.
14803 (LDFLAGS-tst-lfschk4): Renamed to ...
14804 (LDLIBS-tst-lfschk4): This.
14805 (LDFLAGS-tst-lfschk5): Renamed to ...
14806 (LDLIBS-tst-lfschk5): This.
14807 (LDFLAGS-tst-lfschk6): Renamed to ...
14808 (LDLIBS-tst-lfschk6): This.
14810 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14811 on $(common-objpfx)soversions.mk.
14813 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14816 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14819 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14821 * malloc/arena.c (arena_get_retry): New function that gets
14822 another arena for the caller to try its request on.
14823 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14824 current arena cannot fulfill the request.
14825 (__libc_memalign): Likewise.
14826 (__libc_memalign): Likewise.
14827 (__libc_pvalloc): Likewise.
14828 (__libc_calloc): Likewise.
14830 2012-09-05 John Tobey <john.tobey@gmail.com>
14833 * manual/arith.texi (Operations on Complex): Fix description
14834 of carg branch cut.
14836 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14839 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14843 * manual/memory.texi (Memory): Make order of menu items match
14846 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14848 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14849 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14850 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14852 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14854 * csu/libc-tls.c (static_dtv): Renamed to ...
14855 (_dl_static_dtv): This. Make it global.
14856 (_dl_initial_dtv): Removed.
14857 (__libc_setup_tls): Updated.
14858 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14859 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14862 2012-09-06 Petr Machata <pmachata@redhat.com>
14864 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14865 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14866 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14867 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14869 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14872 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14873 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14876 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14879 * Makeconfig (link-static-before-libc): Replace $(+prector)
14881 (link-static-after-libc): Replace $(+postctor) with
14883 (link-bounded): Replace $(+prector)/$(+postctor) with
14884 $(+prectorT)/$(+postctorT).
14885 (+prectorT): New macro.
14886 (+postctorT): Likewise.
14888 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14890 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14891 (round_str): Handle values above the maximum for IBM long double
14893 * stdlib/tst-strtod-round.c (tests): Regenerated.
14895 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14897 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14899 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14900 zarch_nohighgprs around the zarch optimized routines.
14901 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14902 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14903 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14906 2012-09-05 David S. Miller <davem@davemloft.net>
14908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14910 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14911 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14912 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14913 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14916 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14918 * malloc/arena.c: Fold copyright years.
14919 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14921 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14923 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14925 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14927 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14929 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14931 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14932 change internal state upon failure.
14934 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14936 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14937 * malloc/memusage.c (mmap): Likewise.
14938 (mmap64, mremap): Likewise. Adjust name in comment.
14940 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14942 * libio/fileops.c: Fix typos in comments.
14943 * libio/oldfileops.c: Likewise.
14944 * libio/wfileops.c: Likewise.
14946 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14949 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14950 (tst-malloc-usable-ENV): Set environment for test case.
14951 * malloc/hooks.c (malloc_check_get_size): New function to get
14953 * malloc/malloc.c (musable): Use malloc_check_get_size.
14954 * malloc/tst-malloc-usable.c: New test case.
14956 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14958 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14960 2012-09-05 Allan McRae <allan@archlinux.org>
14963 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14964 determine header location.
14965 * configure: Regenerated.
14967 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14969 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14971 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14972 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14974 (test): Regenerate.
14976 2012-09-04 David S. Miller <davem@davemloft.net>
14978 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14979 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14980 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14982 2012-09-04 Florian Weimer <fweimer@redhat.com>
14984 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14987 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14989 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14992 * libio/iogetdelim.c: Include <limits.h>.
14993 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14994 + len + 1 would overflow.
14996 2012-09-03 Andreas Jaeger <aj@suse.de>
14998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14999 * sysdeps/i386/fpu/libm-test-ulps: Update.
15001 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15003 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15004 Add s_sinf-sse2, s_conf-sse2.
15006 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15007 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15008 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15009 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15011 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15012 for using routine as __sinf_ia32.
15013 Use macro for function declaration and weak_alias.
15014 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15015 for using routine as __cosf_ia32.
15016 Use macro for function declaration and weak_alias.
15018 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15019 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15021 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15022 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15025 * math/libm-test.inc (cos_test): Add more test cases.
15026 (sin_test): Likewise.
15027 (sincos_test): Likewise.
15029 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15032 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15034 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15036 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15039 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15040 first element of the GOT.
15041 (elf_machine_load_address): Return the difference between
15042 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15044 2012-09-01 Allan McRae <allan@archlinux.org>
15047 * configure.in (AWK): Require gawk version 3.0 or later.
15048 * configure: Regenerated.
15050 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15052 * sysdeps/unix/sysv/linux/kernel-features.h
15053 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15054 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15055 [__NR_clock_getres]: Make code unconditional.
15056 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15057 (clock_getcpuclockid): Remove code left unreachable by removal of
15059 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15060 code unconditional.
15061 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15062 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15063 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15064 Make code unconditional.
15065 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15066 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15067 * sysdeps/unix/sysv/linux/clock_settime.c
15068 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15070 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15071 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15073 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15076 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15077 scripts/test-installation.pl.
15079 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15080 and $ld_so_version if it is set.
15082 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15085 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15086 failure if reading from procfs failed.
15087 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15089 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15091 * sysdeps/unix/sysv/linux/kernel-features.h
15092 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15093 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15094 Remove conditional code.
15095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15096 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15097 Remove conditional code.
15098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15099 * sysdeps/unix/sysv/linux/i386/fxstat.c
15100 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15102 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15103 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15105 * sysdeps/unix/sysv/linux/i386/lxstat.c
15106 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15108 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15109 Remove conditional code.
15110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15111 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15112 Remove conditional code.
15113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15115 <kernel-features.h>.
15116 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15118 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15119 Remove conditional code.
15120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15121 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15122 Remove conditional.
15124 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15127 * NEWS: Add fixed bug number.
15129 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15132 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15133 underflowing exponent in case of negative sign.
15134 * stdlib/tst-strtod-round-data: Add more tests.
15135 * stdlib/tst-strtod-round.c (tests): Regenerated.
15138 * stdlib/strtod_l.c (NDIG): Remove.
15139 (HEXNDIG): Likewise.
15140 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15141 smallest representable value.
15142 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15143 lie within an exact representation of 1/2 ulp of the result.
15144 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15146 (TENS_P9_IDX): Define unconditionally.
15147 (TENS_P9_SIZE): Likewise.
15148 (TENS_P10_IDX): Likewise.
15149 (TENS_P10_SIZE): Likewise.
15150 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15151 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15152 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15153 entries for 10^2^13 and 10^2^14.
15154 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15155 (TENS_P13_IDX): Define.
15156 (TENS_P13_SIZE): Likewise.
15157 (TENS_P14_IDX): Likewise.
15158 (TENS_P14_SIZE): Likewise.
15159 (_fpioconst_pow10): Change array size to
15160 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15162 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15163 1024]: Add entries for 10^2^13 and 10^2^14.
15164 [LAST_POW10 > _LAST_POW10]: Remove #error.
15165 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15166 (_fpioconst_pow10): Change array size to
15167 FPIOCONST_POW10_ARRAY_SIZE.
15168 * stdlib/gen-fpioconst.c: New file.
15169 * stdlib/gen-tst-strtod-round.c: Likewise.
15170 * stdlib/tst-strtod-round-data: Likewise.
15171 * stdlib/tst-strtod-round.c: Likewise.
15172 * stdlib/Makefile (tests): Add tst-strtod-round.
15175 * stdlib/strtod_l.c: Include <stdint.h>.
15176 (NDEBUG): Do not define.
15177 (round_and_return): Change EXPONENT parameter to type intmax_t.
15178 Rearrange calculations to avoid internal overflow possibilities.
15179 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15180 Rearrange calculations to avoid internal overflow possibilities.
15181 Assert that number fits inside MPNSIZE limbs.
15182 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15183 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15184 calculations and add assertions to avoid internal overflow
15185 possibilities. Add casts to avoid signed/unsigned operations.
15186 * stdlib/tst-strtod-overflow.c: New file.
15187 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15189 2012-08-25 Marek Polacek <polacek@redhat.com>
15191 * time/time.h: Fix some typos in comments.
15193 2012-08-23 Roland McGrath <roland@hack.frob.com>
15195 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15196 * posix/tst-rfc3484-2.c: Likewise.
15197 * posix/tst-rfc3484-3.c: Likewise.
15199 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15201 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15202 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15204 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15206 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15207 #include of fxstatat64.c.
15209 2012-08-22 Roland McGrath <roland@hack.frob.com>
15211 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15212 * shadow/getspent_r.c: Likewise.
15213 * shadow/getspnam.c: Likewise.
15214 * shadow/getspnam_r.c: Likewise.
15215 * gshadow/getsgent.c: Likewise.
15216 * gshadow/getsgent_r.c: Likewise.
15217 * gshadow/getsgnam.c: Likewise.
15218 * gshadow/getsgnam_r.c: Likewise.
15219 * inet/getnetbyad.c: Likewise.
15220 * inet/getnetbyad_r.c: Likewise.
15221 * inet/getnetbynm.c: Likewise.
15222 * inet/getnetbynm_r.c: Likewise.
15223 * inet/getnetent.c: Likewise.
15224 * inet/getnetent_r.c: Likewise.
15225 * inet/getproto.c: Likewise.
15226 * inet/getproto_r.c: Likewise.
15227 * inet/getprtent.c: Likewise.
15228 * inet/getprtent_r.c: Likewise.
15229 * inet/getprtname.c: Likewise.
15230 * inet/getprtname_r.c: Likewise.
15231 * inet/getrpcbyname.c: Likewise.
15232 * inet/getrpcbyname_r.c: Likewise.
15233 * inet/getrpcbynumber.c: Likewise.
15234 * inet/getrpcbynumber_r.c: Likewise.
15235 * inet/getrpcent.c: Likewise.
15236 * inet/getrpcent_r.c: Likewise.
15237 * inet/getaliasent.c: Likewise.
15238 * inet/getaliasent_r.c: Likewise.
15239 * inet/getaliasname.c: Likewise.
15240 * inet/getaliasname_r.c: Likewise.
15241 * nscd/getgrgid_r.c: Likewise.
15242 * nscd/getgrnam_r.c: Likewise.
15243 * nscd/gethstbyad_r.c: Likewise.
15244 * nscd/gethstbynm3_r.c: Likewise.
15245 * nscd/getpwnam_r.c: Likewise.
15246 * nscd/getpwuid_r.c: Likewise.
15247 * nscd/getsrvbynm_r.c: Likewise.
15248 * nscd/getsrvbypt_r.c: Likewise.
15249 * nscd/gai.c: Likewise.
15251 * configure.in (build_nscd): New substituted variable, set
15252 by --disable-build-nscd and defaults to $use_nscd.
15253 * configure: Regenerated.
15254 * config.make.in (build-nscd): New substituted variable.
15255 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15256 Change conditional to require [$(build-nscd) = yes] as well.
15257 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15260 * configure.in (use_nscd): New substituted variable, set by
15261 --disable-nscd. If enabled, define USE_NSCD.
15262 * configure: Regenerated.
15263 * config.h.in: Add USE_NSCD.
15264 * config.make.in (use-nscd): New substituted variable.
15265 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15266 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15267 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15268 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15269 (CFLAGS-getgrnam_r.c): Likewise.
15270 (CFLAGS-initgroups.c): Likewise.
15271 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15272 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15274 * inet/getnetgrent_r.c
15275 (nscd_setnetgrent): New function, broken out of ...
15276 (setnetgrent): ... here. Call it.
15277 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15278 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15279 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15280 * nscd/Makefile (routines, aux): Move definitions after include of
15281 Makeconfig. Conditionalize on [$(use-nscd) != no].
15282 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15283 Conditionalize on [USE_NSCD].
15284 (is_nscd, nscd_init_cb): Likewise.
15285 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15286 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15287 * nss/nss_db/db-init.c: Likewise.
15288 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15290 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15291 (make_request): Use it.
15292 (cache_valid_p): New function.
15293 (__check_pf): Use it.
15294 * NEWS: Add item for --disable-nscd.
15296 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15298 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15299 to support sed >= 4.2.1-20-ga9bf076.
15300 * configure: Regenerated.
15302 2012-08-22 Roland McGrath <roland@hack.frob.com>
15304 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15305 Conditionalize whole body on [IREL].
15307 2012-08-22 Jeff Law <law@redhat.com>
15310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15311 if the family is PF_UNSPEC.
15313 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15315 * Makerules (lib-version): Rename from V.
15316 (install-lib-nosubdir): Change V to lib-version.
15318 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15321 * powerpc32/power6/wcschr.c: New file.
15322 * powerpc32/power6/wcscpy.c: New file.
15323 * powerpc32/power6/wcsrchr.c: New file.
15324 * powerpc64/power6/wcschr.c: New file.
15325 * powerpc64/power6/wcscpy.c: New file.
15326 * powerpc64/power6/wcsrchr.c: New file.
15328 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15330 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15331 (two_way_short_needle): Use it.
15332 * string/strstr.c (AVAILABLE1_USES_J): Define.
15333 * string/strcasestr.c: Likewise.
15335 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15337 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15340 * NEWS: Add an entry.
15341 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15342 define their defaults.
15343 (two_way_short_needle): Detect end-of-string on-the-fly.
15344 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15345 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15346 * string/bug-strcasestr1.c: New test.
15347 * string/Makefile: Run it.
15349 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15352 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15353 the first character.
15355 2012-08-21 Roland McGrath <roland@hack.frob.com>
15357 * csu/elf-init.c (__libc_csu_irel): Function removed.
15358 * csu/libc-start.c (apply_irel): New function.
15359 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15361 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15363 * sysdeps/unix/sysv/linux/kernel-features.h
15364 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15365 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15366 <kernel-features.h>.
15367 [__NR_fadvise64_64]: Make code unconditional.
15368 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15369 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15370 !__NR_fadvise64_64)]: Likewise.
15371 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15372 !__NR_fadvise64_64))]: Likewise.
15373 [__NR_fadvise64]: Make code unconditional.
15374 [!__NR_fadvise64]: Remove conditional code.
15375 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15376 <kernel-features.h>.
15377 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15379 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15382 not include <kernel-features.h>.
15383 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15385 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15387 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15388 include <kernel-features.h>.
15389 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15391 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15394 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15396 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15397 slight instruction rearrangements per scrollpipe analysis.
15398 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15400 2012-08-20 Roland McGrath <roland@hack.frob.com>
15402 * manual/syslog.texi (syslog; vsyslog, closelog):
15403 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15404 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15406 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15407 DSOCAPS to match condition on defining it.
15409 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15411 * sysdeps/unix/sysv/linux/kernel-features.h
15412 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15414 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15415 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15417 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15418 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15420 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15421 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15423 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15424 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15426 * sysdeps/unix/sysv/linux/kernel-features.h
15427 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15428 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15430 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15431 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15432 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15433 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15434 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15435 Make code unconditional.
15436 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15437 (__mmap64) [!__NR_mmap2]: Likewise.
15438 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15439 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15440 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15441 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15442 [__NR_mmap2]: Make code unconditional.
15443 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15444 (__mmap64) [!__NR_mmap2]: Likewise.
15446 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15448 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15450 2012-08-18 Andreas Jaeger <aj@suse.de>
15452 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15454 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15456 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15457 * include/unistd.h (__have_sock_cloexec): Likewise.
15458 (__have_pipe2): Likewise.
15459 (__have_dup3): Likewise.
15461 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15464 * include/unistd.h (__have_pipe2): Change define into an extern int.
15465 (__have_dup3): Likewise.
15466 * socket/have_sock_cloexec.c: Include fcntl.h.
15467 (__have_pipe2): New variable.
15468 (__have_dup3): Likewise.
15470 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15472 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15474 2012-08-17 Marek Polacek <polacek@redhat.com>
15476 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15477 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15479 2012-08-17 Roland McGrath <roland@hack.frob.com>
15481 * configure.in: Add AC_SUBST for sysheaders.
15482 * configure: Regenerated.
15483 * config.make.in (sysheaders): New substituted variable.
15485 * sysdeps/unix/mkfifo.c: Moved ...
15486 * sysdeps/posix/mkfifo.c: ... here.
15487 * sysdeps/unix/mkfifoat.c: Moved ...
15488 * sysdeps/posix/mkfifoat.c: ... here.
15490 * sysdeps/unix/utime.c: Moved ...
15491 * sysdeps/posix/utime.c: ... here.
15493 * sysdeps/unix/time.c: Moved ...
15494 * sysdeps/posix/time.c: ... here.
15495 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15496 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15498 * sysdeps/unix/nice.c: Moved ...
15499 * sysdeps/posix/nice.c: ... here.
15501 * sysdeps/unix/alarm.c: Moved ...
15502 * sysdeps/posix/alarm.c: ... here.
15504 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15506 2012-08-17 Jeff Law <law@redhat.com>
15508 * intl/Makefile (codeset_mo): New variable.
15509 ($(codeset_mo)): New target.
15510 (tst-codeset.out): Depend on that. Remove explicit rule.
15511 (tst-gettext3.out, tst-gettext5.out): Likewise.
15512 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15513 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15514 * intl/tst-codeset.sh: Remove.
15515 * intl/tst-gettext3.sh: Likewise.
15516 * intl/tst-gettext5.sh: Likewise.
15518 2012-08-17 Roland McGrath <roland@hack.frob.com>
15520 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15521 * sysdeps/unix/syscalls.list: ... here.
15523 * sysdeps/posix/getaddrinfo.c
15524 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15525 (gaiconf_init, gaiconf_reload): Use them.
15526 [!_STATBUF_ST_NSEC]
15527 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15528 Define using time_t rather than struct timespec.
15530 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15531 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15533 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15535 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15536 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15539 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15540 __libc_cleanup_push argument.
15542 * bits/param.h: New file.
15543 * misc/sys/param.h: New file.
15544 * include/sys/param.h: New file.
15545 * misc/Makefile (headers): Add bits/param.h.
15546 * sysdeps/generic/sys/param.h: File removed.
15547 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15548 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15549 * sysdeps/mach/hurd/bits/param.h: New file.
15550 * sysdeps/mach/hurd/sys/param.h: File removed.
15552 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15555 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15557 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15558 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15561 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15562 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15563 rather than -D_IO_MTSAFE_IO conditionally.
15564 * stdio-common/Makefile (CPPFLAGS): Likewise.
15565 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15566 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15567 Use $(libio-mtsafe).
15568 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15569 of -D_IO_MTSAFE_IO.
15570 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15571 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15572 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15573 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15574 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15575 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15576 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15577 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15578 (CFLAGS-fread_u_chk.c): Likewise.
15579 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15580 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15581 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15582 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15583 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15584 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15585 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15586 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15587 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15589 * libio/Makefile: Test [$(libc-reentrant) = yes]
15590 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15593 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15594 * sysdeps/pthread/configure: File removed.
15595 * sysdeps/pthread/Makeconfig: New file.
15596 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15597 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15599 2012-08-16 Gary Benson <gbenson@redhat.com>
15601 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15602 unmapping the first object in a namespace.
15604 2012-08-16 Roland McGrath <roland@hack.frob.com>
15606 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15607 (__internal_setnetgrent): ... this. Add internal_function to
15608 definition. Add libc_hidden_def.
15609 (setnetgrent): Update caller.
15610 (internal_endnetgrent): Renamed to ...
15611 (__internal_endnetgrent): ... this. Add internal_function to
15612 definition. Add libc_hidden_def.
15613 (endnetgrent): Update caller.
15614 (internal_getnetgrent_r): Renamed to ...
15615 (__internal_getnetgrent_r): ... this. Add internal_function to
15616 definition. Add libc_hidden_def.
15617 (__getnetgrent_r): Update caller.
15618 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15620 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15622 * stdlib/longlong.h: Update from GCC.
15624 2012-08-16 Roland McGrath <roland@hack.frob.com>
15626 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15627 on _QL, which is set by umul_ppmm but never used.
15628 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15629 variables, which are set by GMP macros but never used.
15630 * stdio-common/_itowa.c (_itowa): Likewise.
15631 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15632 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15634 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15636 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15637 struct La_sh_regs is not constant.
15638 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15639 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15640 and struct La_sparc64_regs are not constant.
15642 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15644 * sysdeps/unix/sysv/linux/kernel-features.h
15645 (__ASSUME_POSIX_TIMERS): Remove.
15646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15648 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15649 Make code unconditional.
15650 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15651 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15652 Make code unconditional.
15653 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15654 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15655 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15657 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15658 Make code unconditional.
15659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15660 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15661 (__libc_missing_posix_timers): Remove.
15663 2012-08-15 Roland McGrath <roland@hack.frob.com>
15665 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15666 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15668 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15670 * elf/dl-sym.c: Include <stdlib.h>.
15672 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15673 constants, which avoids warnings in 32-bit builds.
15675 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15676 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15678 * misc/lseek.c: File moved to ...
15679 * io/lseek.c: ... here.
15681 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15683 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15684 shifting LEN more than 31 bits at once.
15686 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15689 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15690 segmentation fault for a case of two empty input strings.
15691 * string/test-strncasecmp.c (check1): Renamed to...
15692 (bz12205): ...this.
15693 (bz14195): Add new testcase for two empty input strings and N > 0.
15694 (test_main): Call new testcase, adapt for renamed function.
15696 2012-08-15 Andreas Jaeger <aj@suse.de>
15699 * crypt/md5test2.c: New test, based on test supplied by Serge
15700 Belyshev <belyshev@depni.sinp.msu.ru>.
15701 * crypt/Makefile (xtests): Add md5test-giant..
15702 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15704 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15707 * crypt/md5.c (md5_process_block): Don't assume the buffer
15708 length is less than 2**32.
15709 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15710 length is less than 2**64.
15712 2012-08-15 Roland McGrath <roland@hack.frob.com>
15714 * string/str-two-way.h: Include <sys/param.h>.
15715 (MAX): Macro removed.
15717 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15718 Move #define and #undef of memmove to just before and after
15719 including <string.h>.
15721 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15722 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15723 and after including <string.h>. Move declarations of
15724 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15725 to before #include "string/memmove.c".
15727 * include/dirent.h: Declare __getdirentries.
15729 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15730 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15732 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15734 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15735 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15736 * sysdeps/i386/configure: Regenerated.
15737 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15738 STABS_CURRENT_FILE, and STABS_FUN.
15739 (END): Remove call to STABS_FUN_END.
15740 (STABS_CURRENT_FILE1): Delete.
15741 (STABS_CURRENT_FILE): Likewise.
15742 (STABS_FUN): Likewise.
15743 (STABS_FUN_END): Likewise.
15744 (STABS_FUN2): Likewise.
15745 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15746 * sysdeps/x86_64/configure: Regenerated.
15748 2012-08-14 Roland McGrath <roland@hack.frob.com>
15750 * elf/dl-open.c: Include <atomic.h>.
15751 * elf/dl-lookup.c: Likewise.
15753 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15755 * sysdeps/unix/sysv/linux/kernel-features.h
15756 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15757 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15759 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15761 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15762 condition on __ASSUME_CLONE_THREAD_FLAGS.
15764 2012-08-14 Andreas Jaeger <aj@suse.de>
15766 * sysdeps/i386/fpu/libm-test-ulps: Update.
15768 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15770 * include/atomic.h (atomic_exchange_and_add): Split into ...
15771 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15774 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15778 2012-08-13 Jeff Law <law@redhat.com>
15780 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15781 null byte in the output string.
15783 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15785 * sysdeps/unix/sysv/linux/kernel-features.h
15786 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15787 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15788 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15789 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15790 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15791 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15792 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15794 2012-08-09 Jeff Law <law@redhat.com>
15797 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15798 When avoid_arena is set, don't retry in the that arena. Pick the
15799 next one, whatever it might be.
15800 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15801 (arena_lock): Pass in new parameter to arena_get2.
15802 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15804 (__libc_malloc): Unify retrying after main arena failure with
15805 __libc_memalign version.
15806 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15808 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15811 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15812 to __redirect_strstr.
15813 (__strstr_sse42): Use typeof __redirect_strstr.
15814 (__strstr_ia32): Likewise.
15815 (__libc_strstr): New prototype.
15816 (strstr): Renamed to ...
15817 (__libc_strstr): This.
15818 (strstr): New strong alias of __libc_strstr.
15819 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15820 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15823 (__libc_time): New prototype.
15824 (time_ifunc): Replace time with __libc_time.
15825 (time): New strong alias and hidden definition of __libc_time.
15826 (__GI_time): Remove strong alias.
15827 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15828 Include <stddef.h>.
15829 (memmove): Redefined to __redirect_memmove.
15830 (__memmove_sse2): Use typeof __redirect_memmove.
15831 (__memmove_ssse3): Likewise.
15832 (__memmove_ssse3_back): Likewise.
15833 (__libc_memmove): New prototype.
15834 (memmove): Renamed to ...
15835 (__libc_memmove): This.
15836 (memmove): New strong alias of __libc_memmove.
15838 2012-08-08 Mark Salter <msalter@redhat.com>
15841 (R_MN10300_TLS_GD): Define.
15842 (R_MN10300_TLS_LD): Likewise.
15843 (R_MN10300_TLS_LDO): Likewise.
15844 (R_MN10300_TLS_GOTIE): Likewise.
15845 (R_MN10300_TLS_IE): Likewise.
15846 (R_MN10300_TLS_LE): Likewise.
15847 (R_MN10300_TLS_DTPMOD): Likewise.
15848 (R_MN10300_TLS_DTPOFF): Likewise.
15849 (R_MN10300_TLS_TPOFF): Likewise.
15850 (R_MN10300_SYM_DIFF): Likewise.
15851 (R_MN10300_ALIGN): Likewise.
15852 (R_MN10300_NUM): Update.
15854 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15859 2012-08-08 Roland McGrath <roland@hack.frob.com>
15861 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15863 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15864 sysdeps/unix -> sysdeps/posix move.
15865 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15867 2012-08-07 Allan McRae <allan@archlinux.org>
15870 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15871 (SUNOS_CPP): Likewise.
15872 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15874 (open_input): Call CPP using execvp.
15876 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15878 * sysdeps/unix/sysv/linux/kernel-features.h
15879 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15880 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15881 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15882 (__ASSUME_WAITID_SYSCALL): Likewise.
15883 * sysdeps/unix/sysv/linux/dl-execstack.c
15884 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15885 code unconditional.
15886 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15888 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15889 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15890 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15892 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15894 [__ASSUME_WAITID_SYSCALL]: Likewise.
15895 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15897 2012-08-07 Roland McGrath <roland@hack.frob.com>
15899 * sysdeps/unix/closedir.c: Renamed to ...
15900 * sysdeps/posix/closedir.c: ... here.
15901 * sysdeps/unix/dirfd.c: Renamed to ...
15902 * sysdeps/posix/dirfd.c: ... here.
15903 * sysdeps/unix/dirstream.h: Renamed to ...
15904 * sysdeps/posix/dirstream.h: ... here.
15905 * sysdeps/unix/fdopendir.c: Renamed to ...
15906 * sysdeps/posix/fdopendir.c: ... here.
15907 * sysdeps/unix/opendir.c: Renamed to ...
15908 * sysdeps/posix/opendir.c: ... here.
15909 * sysdeps/unix/readdir.c: Renamed to ...
15910 * sysdeps/posix/readdir.c: ... here.
15911 * sysdeps/unix/readdir_r.c: Renamed to ...
15912 * sysdeps/posix/readdir_r.c: ... here.
15913 * sysdeps/unix/rewinddir.c: Renamed to ...
15914 * sysdeps/posix/rewinddir.c: ... here.
15915 * sysdeps/unix/seekdir.c: Renamed to ...
15916 * sysdeps/posix/seekdir.c: ... here.
15917 * sysdeps/unix/telldir.c: Renamed to ...
15918 * sysdeps/posix/telldir.c: ... here.
15919 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15920 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15921 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15922 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15924 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15925 * bits/fcntl.h: ... here.
15927 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15929 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15930 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15931 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15932 (struct flock): Move l_start, l_len to the beginning.
15933 Use __pid_t for l_pid.
15934 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15935 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15936 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15937 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15938 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15939 [__USE_LARGEFILE64] (struct flock64): New type.
15940 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15942 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15943 * bits/dirent.h: ... here.
15945 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15946 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15948 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15951 Change from 2.6.0 to 2.6.16.
15952 * sysdeps/unix/sysv/linux/configure: Regenerated.
15953 * sysdeps/unix/sysv/linux/kernel-features.h
15954 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15955 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15957 (__ASSUME_UTIMES): Likewise.
15958 (__ASSUME_CLONE_STOPPED): Remove.
15959 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15960 architectures, not kernel version.
15961 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15962 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15963 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15964 (__ASSUME_WAITID_SYSCALL): Likewise.
15965 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15966 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15967 * README: State 2.6.16 as minimum Linux kernel version. Do not
15968 refer to older versions.
15970 2012-08-06 Roland McGrath <roland@hack.frob.com>
15972 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15973 Define alphasort64 as an alias.
15974 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15975 Define versionsort64 as an alias.
15976 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15977 Define scandir64 as an alias.
15978 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15979 Define scandirat64 as an alias.
15980 * dirent/alphasort64.c (alphasort64):
15981 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15982 * dirent/versionsort64.c: Likewise.
15983 * dirent/scandir64.c: Likewise.
15984 * dirent/scandirat64.c: Likewise.
15985 * sysdeps/wordsize-64/alphasort.c: File removed.
15986 * sysdeps/wordsize-64/alphasort64.c: File removed.
15987 * sysdeps/wordsize-64/scandir.c: File removed.
15988 * sysdeps/wordsize-64/scandir64.c: File removed.
15989 * sysdeps/wordsize-64/scandirat.c: File removed.
15990 * sysdeps/wordsize-64/scandirat64.c: File removed.
15991 * sysdeps/wordsize-64/versionsort.c: File removed.
15992 * sysdeps/wordsize-64/versionsort64.c: File removed.
15993 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15994 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15995 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15996 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15997 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15998 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15999 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16000 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16002 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16004 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16006 [defined __arch64__ || defined __sparcv9]
16007 (__INO_T_MATCHES_INO64_T): New macro.
16008 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16009 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16010 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16011 * sysdeps/unix/sysv/linux/bits/dirent.h
16012 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16013 (_DIRENT_MATCHES_DIRENT64): New macro.
16015 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16016 Define lockf64 as an alias.
16017 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16018 Define fseeko64 as an alias.
16019 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16020 Define ftello64 as an alias.
16021 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16022 Define _IO_fgetpos64 and fgetpos64 as aliases.
16023 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16024 Define _IO_fsetpos64 and fsetpos64 as aliases.
16025 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16026 Conditionalize body on this.
16027 * libio/fseeko64.c: Likewise.
16028 * libio/ftello64.c: Likewise.
16029 * libio/iofgetpos64.c: Likewise.
16030 * libio/iofsetpos64.c: Likewise.
16031 * sysdeps/wordsize-64/lockf.c: File removed.
16032 * sysdeps/wordsize-64/lockf64.c: File removed.
16033 * sysdeps/wordsize-64/fseeko.c: File removed.
16034 * sysdeps/wordsize-64/fseeko64.c: File removed.
16035 * sysdeps/wordsize-64/ftello.c: File removed.
16036 * sysdeps/wordsize-64/ftello64.c: File removed.
16037 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16038 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16039 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16040 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16052 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16054 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16056 [defined __arch64__ || defined __sparcv9]
16057 (__OFF_T_MATCHES_OFF64_T): New macro.
16058 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16059 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16061 (__OFF_T_MATCHES_OFF64_T): New macro.
16063 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16065 * stdlib/secure-getenv.c (__secure_getenv): Replace
16066 GLIBC_2_16 with GLIBC_2_17.
16068 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16073 2012-08-03 David S. Miller <davem@davemloft.net>
16075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16077 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16079 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16081 (__ASSUME_CORRECT_SI_PID): Likewise.
16082 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16083 (__ASSUME_TMPFS_NAME): Likewise.
16084 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16085 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16086 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16087 (HAVE_AUX_SECURE): Make definition unconditional.
16088 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16089 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16091 2012-08-03 Roland McGrath <roland@hack.frob.com>
16093 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16094 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16095 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16096 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16097 __eloop_threshold instead of SYMLOOP_MAX.
16099 * sysdeps/generic/eloop-threshold.h: New file.
16100 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16102 * elf/chroot_canon.c (chroot_canon): Likewise.
16104 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16107 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16108 Change to 2.6.0 everywhere.
16109 * sysdeps/unix/sysv/linux/configure: Regenerated.
16110 * sysdeps/unix/sysv/linux/kernel-features.h
16111 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16112 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16114 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16115 (__ASSUME_FUTEX_REQUEUE): Remove.
16116 (__ASSUME_STATFS64): Define unconditionally.
16117 (__ASSUME_AT_SECURE): Likewise.
16118 (__ASSUME_CORRECT_SI_PID): Likewise.
16119 (__ASSUME_TGKILL): Define without depending on kernel version for
16121 (__ASSUME_UTIMES): Likewise.
16122 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16124 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16125 (__ASSUME_TMPFS_NAME): Likewise.
16126 * README: Update reference to Linux kernel versions.
16128 2012-08-02 Marek Polacek <polacek@redhat.com>
16131 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16132 libc_cv_asm_type_prefix with %.
16133 * configure: Regenerated.
16134 * include/libc-symbols.h: Remove comment about
16135 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16136 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16137 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16138 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16139 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16140 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16141 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16142 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16143 * elf/tst-unique2mod1.c: Likewise.
16144 * elf/tst-unique1mod2.c: Likewise.
16145 * elf/tst-unique1mod1.c: Likewise.
16146 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16147 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16148 Replace ASM_TYPE_DIRECTIVE with .type.
16149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16150 * sysdeps/i386/sysdep.h: Likewise.
16151 * sysdeps/x86_64/sysdep.h: Likewise.
16152 * sysdeps/sh/sysdep.h: Likewise.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16154 Do not define ASM_TYPE_DIRECTIVE.
16155 * sysdeps/powerpc/sysdep.h: Likewise.
16156 * sysdeps/powerpc/powerpc32/sysdep.h:
16157 Replace ASM_TYPE_DIRECTIVE with .type.
16158 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16159 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16160 * sysdeps/i386/fpu/e_powf.S: Likewise.
16161 * sysdeps/i386/fpu/e_expl.S: Likewise.
16162 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16163 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16164 * sysdeps/i386/fpu/e_pow.S: Likewise.
16165 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16166 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16167 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16168 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16169 * sysdeps/i386/fpu/e_log2.S: Likewise.
16170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16172 * sysdeps/i386/fpu/e_powl.S: Likewise.
16173 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16174 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16175 * sysdeps/i386/fpu/e_logl.S: Likewise.
16176 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16177 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16178 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16179 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16180 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16181 * sysdeps/i386/fpu/e_log.S: Likewise.
16182 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16183 * sysdeps/i386/fpu/e_logf.S: Likewise.
16184 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16185 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16186 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16187 * sysdeps/i386/fpu/e_log10.S: Likewise.
16188 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16189 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16190 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16191 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16192 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16193 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16194 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16195 * sysdeps/i386/i686/strtok.S: Likewise.
16196 * sysdeps/i386/i386-mcount.S: Likewise.
16197 * sysdeps/i386/strtok.S: Likewise.
16198 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16199 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16201 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16202 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16203 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16204 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16205 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16206 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16207 * sysdeps/x86_64/_mcount.S: Likewise.
16208 * sysdeps/x86_64/strtok.S: Likewise.
16209 * sysdeps/sh/_mcount.S: Likewise.
16211 2012-08-01 Roland McGrath <roland@hack.frob.com>
16213 * libio/iofopen.c: Include <fcntl.h>.
16214 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16215 (_IO_fopen64, fopen64): Define as aliases.
16216 * libio/iofopen64.c: Include <fcntl.h>.
16217 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16218 Conditionalize body on this.
16219 * sysdeps/wordsize-64/iofopen.c: File removed.
16220 * sysdeps/wordsize-64/iofopen64.c: File removed.
16222 2012-08-01 Marek Polacek <polacek@redhat.com>
16224 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16225 Use dlfcn directly instead of a variable.
16226 (binfmt-subdir): Do not define.
16229 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16232 Remove all definitions.
16233 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16234 <kernel-features.h>.
16235 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16236 (miss_F_GETOWN_EX): Remove all definitions.
16237 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16239 [!__ASSUME_FCNTL64]: Remove conditional code.
16240 [__ASSUME_FCNTL64]: Make code unconditional.
16241 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16242 <kernel-features.h>.
16243 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16244 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16245 (lockf64) [__NR_fcntl64]: Make code unconditional.
16246 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16248 * sysdeps/unix/sysv/linux/kernel-features.h
16249 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16250 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16251 Make code unconditional.
16252 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16253 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16255 [__NR_vfork]: Make code unconditional.
16256 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16257 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16259 [__NR_vfork]: Make code unconditional.
16260 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16261 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16263 2012-08-01 Roland McGrath <roland@hack.frob.com>
16265 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16266 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16268 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16269 Define mkstemp64 as an alias.
16270 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16271 Define mkstemps64 as an alias.
16272 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16273 Define mkostemp64 as an alias.
16274 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16275 Define mkostemps64 as an alias.
16276 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16277 Conditionalize body on this.
16278 * misc/mkostemp64.c: Likewise.
16279 * misc/mkostemps64.c: Likewise.
16280 * misc/mkstemps64.c: Likewise.
16281 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16282 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16283 * sysdeps/wordsize-64/mkostemp.c: File removed.
16284 * sysdeps/wordsize-64/mkstemp.c: File removed.
16285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16286 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16287 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16288 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16291 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16292 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16293 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16294 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16296 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16297 compat_symbol macros from <shlib-compat.h> rather than the underlying
16298 default_symbol_version and symbol_version macros, so that DEFAULT
16299 lines in shlib-versions are respected.
16300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16302 2012-08-01 Florian Weimer <fweimer@redhat.com>
16304 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16305 Declare with warn_unused_result.
16306 (setgid, setregid, setegid, setresgid): Likewise.
16307 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16309 * WUR-REPORT: Remove set*id functions.
16311 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16313 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16315 2012-07-31 Roland McGrath <roland@hack.frob.com>
16318 * include/sys/socket.h (__libc_accept, __libc_accept4):
16319 Add attribute_hidden.
16320 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16322 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16324 * inet/getnetgrent_r.c (setup): Likewise.
16326 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16328 2012-07-31 David S. Miller <davem@davemloft.net>
16330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16332 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16335 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16336 value between 1.0 and 2.0 and smaller part has absolute value less
16338 * math/s_clog10.c (__clog10): Likewise.
16339 * math/s_clog10f.c (__clog10f): Likewise.
16340 * math/s_clog10l.c (__clog10l): Likewise.
16341 * math/s_clogf.c (__clogf): Likewise.
16342 * math/s_clogl.c (__clogl): Likewise.
16343 * math/libm-test.inc (clog_test): Add more tests.
16344 (clog10_test): Likewise.
16345 * sysdeps/i386/fpu/libm-test-ulps: Update.
16346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16348 2012-07-31 Florian Weimer <fweimer@redhat.com>
16350 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16351 Exit with zero in case no suitable GID is found, and write a
16352 message to standard error.
16354 2012-07-30 Roland McGrath <roland@hack.frob.com>
16356 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16358 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16359 (MAXPATHLEN): Removed.
16360 (NOGROUP, NODEV): New macros.
16361 (setbit, clrbit, isset, isclr): New macros.
16362 (howmany, roundup, powerof2): New macros.
16363 (DEV_BSIZE): New macro.
16365 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16366 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16368 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16369 definition on [!__NO_LONG_DOUBLE_MATH].
16371 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16372 PTR_MANGLE and PTR_DEMANGLE.
16374 * socket/accept4.c (accept4): Rename to __libc_accept4.
16375 Define accept4 as a weak alias.
16377 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16378 on [_DIRENT_HAVE_D_TYPE].
16379 * io/ftw.c (ftw_dir): Likewise.
16381 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16383 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16385 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16386 Use the BSD numbers rather than the arbitrary ones we had.
16387 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16388 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16389 (SIGXCPU, SIGXFSZ): New macros.
16392 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16393 initializer on [_LIBC_REENTRANT].
16395 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16396 definitions inside [_POSIX_MAPPED_FILES].
16398 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16400 * dirent/opendir.c: Include <fcntl.h>.
16402 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16403 (__libc_getspecific): Likewise.
16404 (__libc_key_create): Likewise.
16406 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16407 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16408 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16409 (tmpfile64): Define as alias.
16410 * sysdeps/wordsize-64/tmpfile.c: File removed.
16411 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16412 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16415 * stdio-common/vfscanf.c: Include <stdbool.h>.
16416 * nss/makedb.c: Likewise.
16417 * stdio-common/_i18n_number.h: Likewise.
16418 * argp/argp-help.c: Likewise.
16419 * posix/wordexp.c: Likewise.
16420 * sysdeps/posix/spawni.c: Likewise.
16421 * nss/nss_files/files-initgroups.c: Likewise.
16422 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16423 * nss/nss_files/files-initgroups.c: Likewise.
16424 * nss/nss_db/db-netgrp.c: Likewise.
16425 * nss/nss_db/db-initgroups.c: Likewise.
16426 * io/fchmodat.c: Include <sys/stat.h>.
16428 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16429 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16431 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16434 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16435 Add multiple inclusion protection.
16437 2012-07-27 David S. Miller <davem@davemloft.net>
16439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16441 2012-07-27 Gary Benson <gbenson@redhat.com>
16444 * elf/rtld.c: Include <stap-probe.h>.
16445 (dl_main): Added static probes "init_start" and "init_complete".
16446 * elf/dl-load.c: Include <stap-probe.h>.
16447 (lose): Take new parameter "nsid".
16448 Added static probe "map_failed".
16449 (_dl_map_object_from_fd): Pass namespace id to lose.
16450 Added static probe "map_start".
16451 (open_verify): Pass namespace id to lose.
16452 * elf/dl-open.c: Include <stap-probe.h>.
16453 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16454 and "reloc_complete".
16455 * elf/dl-close.c: Include <stap-probe.h>.
16456 (_dl_close_worker): Added static probes "unmap_start" and
16458 * elf/rtld-debugger-interface.txt: New file documenting the above.
16460 2012-07-26 Roland McGrath <roland@hack.frob.com>
16462 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16463 rather than a string variable.
16464 * sunrpc/rpc_main.c (h_output): Likewise.
16465 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16467 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16469 * inet/check_native.c: New file.
16471 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16474 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16475 if larger part has absolute value 1.0.
16476 * math/s_clog10.c (__clog10): Likewise.
16477 * math/s_clog10f.c (__clog10f): Likewise.
16478 * math/s_clog10l.c (__clog10l): Likewise.
16479 * math/s_clogf.c (__clogf): Likewise.
16480 * math/s_clogl.c (__clogl): Likewise.
16481 * math/libm-test.inc (clog_test): Add more tests.
16482 (clog10_test): Likewise.
16483 * sysdeps/i386/fpu/libm-test-ulps: Update.
16484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16486 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16487 (pltexit): Likewise.
16488 (La_regs): Likewise.
16489 (La_retval): Likewise.
16490 (int_retval): Likewise.
16491 Update #error for removed macros to refer only to definitions in
16493 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16495 (pltexit): Likewise.
16496 (La_regs): Likewise.
16497 (La_retval): Likewise.
16498 (int_retval): Likewise.
16499 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16501 (pltexit): Likewise.
16502 (La_regs): Likewise.
16503 (La_retval): Likewise.
16504 (int_retval): Likewise.
16505 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16507 (pltexit): Likewise.
16508 (La_regs): Likewise.
16509 (La_retval): Likewise.
16510 (int_retval): Likewise.
16511 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16513 (pltexit): Likewise.
16514 (La_regs): Likewise.
16515 (La_retval): Likewise.
16516 (int_retval): Likewise.
16517 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16519 (pltexit): Likewise.
16520 (La_regs): Likewise.
16521 (La_retval): Likewise.
16522 (int_retval): Likewise.
16523 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16525 (pltexit): Likewise.
16526 (La_regs): Likewise.
16527 (La_retval): Likewise.
16528 (int_retval): Likewise.
16529 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16530 macro definitions in tst-audit.h.
16531 * sysdeps/i386/tst-audit.h: New file.
16532 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16533 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16534 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16535 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16536 * sysdeps/sh/tst-audit.h: Likewise.
16537 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16538 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16539 * sysdeps/x86_64/tst-audit.h: Likewise.
16541 2012-07-26 Andreas Jaeger <aj@suse.de>
16543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16546 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16547 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16548 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16550 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16551 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16552 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16554 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16557 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16559 (si_call_addr, si_syscall, si_arch): Define new macro.
16560 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16562 (si_call_addr, si_syscall, si_arch): Define new marcro.
16563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16565 (si_call_addr, si_syscall, si_arch): Define new macro.
16566 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16568 (si_call_addr, si_syscall, si_arch): Define new macro.
16570 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16574 Change to 2.4.21 where previously 2.4.1.
16575 * sysdeps/unix/sysv/linux/configure: Regenerated.
16576 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16577 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16578 Linux kernel version.
16579 (__ASSUME_STD_AUXV): Remove.
16580 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16582 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16583 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16584 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16585 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16586 (__ASSUME_NETLINK_SUPPORT): Likewise.
16587 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16588 (__no_netlink_support): Remove conditional definition.
16589 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16591 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16592 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16593 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16594 (if_nameindex_ioctl): Remove.
16595 (if_nameindex_netlink): Do not handle __no_netlink_support.
16596 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16598 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16599 Remove conditional code.
16600 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16602 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16604 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16605 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16606 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16608 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16609 [!__ASSUME_STD_AUXV]: Remove conditional code.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16611 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16612 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16614 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16615 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16617 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16619 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16620 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16622 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16624 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16627 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16630 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16631 code unconditional.
16632 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16634 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16636 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16639 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16641 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16644 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16645 code unconditional.
16646 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16648 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16650 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16653 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16654 code unconditional.
16655 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16657 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16659 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16662 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16664 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16665 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16666 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16667 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16668 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16669 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16670 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16671 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16672 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16673 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16674 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16675 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16676 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16677 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16678 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16679 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16680 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16681 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16682 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16684 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16685 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16686 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16688 2012-07-25 Florian Weimer <fweimer@redhat.com>
16690 * Versions.def: Add GLIBC_2.17.
16691 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16692 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16693 Introduce __libc_secure_getenv.
16694 * stdlib/Versions (2.17): Add secure_getenv
16695 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16696 * stdlib/secure-getenv.c: Rename __secure_getenv to
16697 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16698 symbol __secure_getenv for GLIBC_2.0.
16699 * stdlib/tst-secure-getenv.c: New.
16700 * stdlib/Makefile (tests): Add testcase.
16701 * manual/startup.texi (Environment Access): Document
16703 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16704 __libc_secure_getenv.
16705 * inet/ruserpass.c (ruserpass): Likewise.
16706 * malloc/mtrace.c (mtrace): Likewise.
16707 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16708 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16709 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16710 * sysdeps/posix/tempname.c: Likewise. Evaluate
16711 HAVE_SECURE_GETENV.
16712 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16713 __secure_getenv to __libc_secure_getenv.
16714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16721 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16727 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16729 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16730 (struct La_i86_retval): Likewise.
16731 (struct La_x86_64_regs): Likewise.
16732 (struct La_x86_64_retval): Likewise.
16733 (struct La_x32_regs): Likewise.
16734 (struct La_x32_retval): Likewise.
16735 (struct La_ppc32_regs): Likewise.
16736 (struct La_ppc32_retval): Likewise.
16737 (struct La_ppc64_regs): Likewise.
16738 (struct La_ppc64_retval): Likewise.
16739 (struct La_sh_regs): Likewise.
16740 (struct La_sh_retval): Likewise.
16741 (struct La_s390_32_regs): Likewise.
16742 (struct La_s390_32_retval): Likewise.
16743 (struct La_s390_64_regs): Likewise.
16744 (struct La_s390_64_retval): Likewise.
16745 (struct La_sparc32_regs): Likewise.
16746 (struct La_sparc32_retval): Likewise.
16747 (struct La_sparc64_regs): Likewise.
16748 (struct La_sparc64_retval): Likewise.
16749 (struct audit_ifaces): Remove architecture-specific pltenter and
16751 * sysdeps/i386/ldsodefs.h: New file.
16752 * sysdeps/powerpc/ldsodefs.h: Likewise.
16753 * sysdeps/s390/ldsodefs.h: Likewise.
16754 * sysdeps/sh/ldsodefs.h: Likewise.
16755 * sysdeps/sparc/ldsodefs.h: Likewise.
16756 * sysdeps/x86_64/ldsodefs.h: Likewise.
16758 2012-07-25 Marek Polacek <polacek@redhat.com>
16761 * math/libm-test.inc (yn_test): Add another test.
16762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16763 to ERANGE when the result is +-Inf.
16764 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16765 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16766 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16767 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16769 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16771 * conform/data/time.h-data (NULL): Use macro-constant. Require
16773 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16775 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16777 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16779 * configure.in <sysdeps resolving>: Correct printing
16781 * configure: Regenerate.
16783 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16785 * math/w_ilogb.c: Include <limits.h>.
16786 * math/w_ilogbl.c: Likewise.
16788 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16790 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16791 va_copy. Document allowing for unavailable va_copy only as
16792 pre-C99 compatibility.
16793 * manual/string.texi (Copying and Concatenation): Use va_copy
16794 instead of __va_copy in concat example.
16796 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16798 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16799 (__sendto): Use create_address_port. Initialize APORT and deallocate
16802 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16803 with O_NOLINK passed to __file_name_lookup.
16805 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16806 with O_NOLINK passed to __file_name_lookup.
16808 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16809 negative N or less than NGIDS.
16811 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16812 type to string_t. Set ERANGE as errno and return it if NAME is not big
16813 enough. Use memcpy instead of strncpy.
16815 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16817 * elf/Makefile (check-data): Remove.
16818 (localplt.data): New vpath directive.
16819 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16820 instead of $(check-data).
16821 * scripts/data/localplt-generic.data: Move to ...
16822 * sysdeps/generic/localplt.data: ... here.
16823 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16824 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16825 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16828 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16831 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16834 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16837 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16840 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16844 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16846 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16847 PPC32 and PPC64 files.
16848 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16849 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16851 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16853 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16854 __makecontext_ret to ...
16855 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16856 ... here and call exit if uc_link is NULL. New file.
16857 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16858 __makecontext_ret.S.
16859 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16860 __makecontext_ret to ...
16861 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16862 ... here and call exit if uc_link is NULL. New file.
16863 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16864 __makecontext_ret.S.
16866 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16868 * elf/elf.h (R_390_IRELATIVE): New definition.
16869 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16870 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16871 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16872 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16873 (elf_machine_lazy_rel): Likewise.
16874 * sysdeps/s390/dl-irel.h: New file.
16875 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16876 * sysdeps/s390/s390-64/memset.S: New asm code.
16877 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16878 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16880 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16881 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16882 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16883 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16884 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16885 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16886 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16887 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16888 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16889 * sysdeps/s390/s390-32/memset.S: New asm code.
16890 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16892 2012-07-17 Marek Polacek <polacek@redhat.com>
16895 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16896 * sysdeps/s390/s390-64/configure.in: Likewise.
16897 * sysdeps/sparc/configure.in: Likewise.
16898 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16899 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16900 * sysdeps/i386/configure.in: Likewise.
16901 * sysdeps/x86_64/configure.in: Likewise.
16902 * sysdeps/sh/configure.in: Likewise.
16903 * sysdeps/s390/s390-32/configure: Regenerated.
16904 * sysdeps/s390/s390-64/configure: Likewise.
16905 * sysdeps/x86_64/configure: Likewise.
16906 * sysdeps/sh/configure: Likewise.
16907 * sysdeps/powerpc/powerpc64/configure: Likewise.
16908 * sysdeps/powerpc/powerpc32/configure: Likewise.
16909 * sysdeps/sparc/configure: Likwise.
16910 * sysdeps/i386/configure: Likewise.
16912 * elf/dl-open.c: Comment fixes.
16914 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16916 * Makefile [CXX] (check-data): Remove.
16917 [CXX] (c++-types.data): New vpath directive.
16918 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16919 vpath. Do not allow for C++ type data being missing.
16920 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16921 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16922 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16923 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16924 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16925 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16926 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16929 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16932 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16935 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16938 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16941 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16944 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16947 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16950 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16951 definitions to architecture-specific files.
16952 (TLS_IE): Likewise.
16953 (TLS_LD): Likewise.
16954 (TLS_GD): Likewise.
16955 * sysdeps/i386/tls-macros.h: New file.
16956 * sysdeps/powerpc/tls-macros.h: Likewise.
16957 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16958 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16959 * sysdeps/sh/tls-macros.h: Likewise.
16960 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16961 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16962 * sysdeps/x86_64/tls-macros.h: Likewise.
16964 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16966 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16967 zero value for regular exit case.
16969 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16970 (__start_context): Preserve zero value for regular exit case.
16972 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16973 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16975 * manual/setjmp.texi (setcontext): Clarify normal process
16976 termination when uc_link is the null pointer.
16977 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16980 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16982 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16983 preprocessor. Test for each exception mask separately.
16985 2012-07-16 Andreas Jaeger <aj@suse.de>
16987 * po/ru.po: Update from translation team.
16989 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16991 * conform/data/string.h-data (NULL): Use macro-constant. Require
16993 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16994 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16995 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16996 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16999 2012-07-13 Andreas Jaeger <aj@suse.de>
17001 * po/fr.po: Update from translation team.
17003 2012-07-12 Marek Polacek <polacek@redhat.com>
17006 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17007 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17010 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17014 Change to 2.4.1 where previously 2.4.0.
17015 * sysdeps/unix/sysv/linux/configure: Regenerated.
17016 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17017 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17019 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17020 (__ASSUME_AT_CLKTCK): Remove.
17021 (__ASSUME_AT_PAGESIZE): Likewise.
17022 (__ASSUME_AT_XID): Likewise.
17023 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17024 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17025 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17027 (HAVE_AUX_PAGESIZE): Likewise.
17028 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17029 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17030 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17032 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17036 the temporary buffer used to invoke __gethostbyname2_r,
17037 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17038 host_data / struct gaih_addrtuple.
17039 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17040 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17041 header file nss/nsswitch.h.
17042 * nss/nsswitch.h (global scope): Add definition of implementation
17043 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17044 resolv/nss_dns/dns-host.c).
17046 2012-07-11 Andreas Jaeger <aj@suse.de>
17048 * po/fr.po: Update from translation team.
17050 * po/sv.po: Update from translation team
17051 * po/fr.po: Another update from translation team.
17053 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17055 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17056 for subnormals or multiply small sinh result by itself.
17057 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17060 2012-07-11 David S. Miller <davem@davemloft.net>
17062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17064 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17067 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17068 (INTERNAL_MARK): Shift it here.
17070 2012-07-10 Marek Polacek <polacek@redhat.com>
17073 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17074 libc_cv_asm_global_directive with .globl.
17075 * configure: Regenerated.
17076 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17078 * sysdeps/i386/configure: Regenerated.
17079 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17081 * sysdeps/x86_64/configure: Regenerated.
17082 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17083 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17084 * elf/tst-unique2mod2.c: Likewise.
17085 * elf/tst-unique2mod1.c: Likewise.
17086 * elf/tst-unique1mod2.c: Likewise.
17087 * elf/tst-unique1mod1.c: Likewise.
17088 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17089 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17091 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17092 * sysdeps/mach/sysdep.h: Likewise.
17093 * sysdeps/i386/sysdep.h: Likewise.
17094 * sysdeps/i386/i386-mcount.S: Likewise.
17095 * sysdeps/x86_64/_mcount.S: Likewise.
17096 * sysdeps/x86_64/sysdep.h: Likewise.
17097 * sysdeps/sh/_mcount.S: Likewise.
17098 * sysdeps/sh/sysdep.h: Likewise.
17099 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17100 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17101 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17102 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17103 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17104 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17105 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17106 * locale/localeinfo.h: Likewise.
17107 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17108 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17110 2012-07-09 Roland McGrath <roland@hack.frob.com>
17113 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17115 * manual/message.texi (The Uniforum approach): Likewise.
17116 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17117 (glibc iconv Implementation): Likewise.
17119 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17122 * math/s_clog.c (__clog): Avoid scaling a value down where that
17123 could result in underflow.
17124 * math/s_clog10.c (__clog10): Likewise.
17125 * math/s_clog10f.c (__clog10f): Likewise.
17126 * math/s_clog10l.c (__clog10l): Likewise.
17127 * math/s_clogf.c (__clogf): Likewise.
17128 * math/s_clogl.c (__clogl): Likewise.
17129 * math/libm-test.inc (clog_test): Add more tests.
17130 (clog10_test): Likewise.
17131 * sysdeps/i386/fpu/libm-test-ulps: Update.
17132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17134 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17137 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17138 by 7 not 8 to examine high bit of fractional part.
17141 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17142 for call to __mcount_internal.
17143 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17144 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17145 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17147 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17150 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17151 approximation for values within 0x1p-13f of an odd multiple of
17153 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17154 exception. Add more tests.
17155 * sysdeps/i386/fpu/libm-test-ulps: Update.
17158 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17159 inputs and return -1 for them. Do not check for +Inf in case not
17160 reachable for +Inf.
17161 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17162 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17163 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17164 and return -1 for them. Do not check for +Inf in case not
17165 reachable for +Inf.
17166 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17168 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17169 and return -1 for them. Do not check for +Inf in case not
17170 reachable for +Inf.
17171 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17172 spurious underflow.
17173 * sysdeps/i386/fpu/libm-test-ulps: Update.
17174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17176 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17178 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17180 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17184 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17185 could result in spurious underflow. Scale down values above
17186 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17187 * math/s_csqrtf.c (__csqrtf): Likewise.
17188 * math/s_csqrtl.c (__csqrtl): Likewise.
17189 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17190 spurious underflow.
17191 * sysdeps/i386/fpu/libm-test-ulps: Update.
17192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17194 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17196 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17198 * catgets/xopen-msg.awk: New file.
17199 * catgets/xopen-msg.sed: Removed.
17201 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17203 * intl/po2test.awk: New file.
17204 * intl/po2test.sed: Removed.
17206 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17209 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17210 or multiply small sinh result by itself.
17211 * math/s_ctanf.c (__ctanf): Likewise.
17212 * math/s_ctanh.c (__ctanh): Likewise.
17213 * math/s_ctanhf.c (__ctanhf): Likewise.
17214 * math/s_ctanhl.c (__ctanhl): Likewise.
17215 * math/s_ctanl.c (__ctanl): Likewise.
17216 * math/libm-test.inc (ctan_test_tonearest): New function.
17217 (ctan_test_towardzero): Likewise.
17218 (ctan_test_downward): Likewise.
17219 (ctan_test_upward): Likewise.
17220 (ctanh_test_tonearest): Likewise.
17221 (ctanh_test_towardzero): Likewise.
17222 (ctanh_test_downward): Likewise.
17223 (ctanh_test_upward): Likewise.
17224 (main): Call these new functions.
17225 * sysdeps/i386/fpu/libm-test-ulps: Update.
17226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17228 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17230 * .gitignore: Delete /ports entry.
17232 2012-07-03 Andreas Jaeger <aj@suse.de>
17234 * po/bg.po: Update from translation team.
17235 * po/cs.po: Likewise.
17236 * po/de.po: Likewise.
17237 * po/hr.po: Likewise.
17238 * po/nl.pl: Likewise.
17239 * po/pl.po: Likewise.
17240 * po/vi.po: Likewise.
17242 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17244 * Makeconfig [!+link] (+link-before-libc): New variable.
17245 [!+link] (+link-after-libc): Likewise.
17246 [!+link] (+link-tests): Likewise.
17247 [!+link] (+link): Define in terms of $(+link-before-libc) and
17248 $(+link-after-libc).
17249 [!+link-static] (+link-static-before-libc): New variable.
17250 [!+link-static] (+link-static-after-libc): Likewise.
17251 [!+link-static] (+link-static-tests): Likewise.
17252 [!+link-static] (+link-static): Define in terms of
17253 $(+link-static-before-libc) and $(+link-static-after-libc).
17254 [build-shared] (link-libc-before-gnulib): New variable.
17255 [build-shared] (link-libc-tests): Likewise.
17256 [build-shared] (link-libc): Define in terms of
17257 $(link-libc-before-gnulib).
17258 [!build-shared] (link-libc-tests): New variable.
17259 (link-libc-static-tests): New variable.
17260 [!gnulib] (gnulib-arch): New variable.
17261 [!gnulib] (gnulib-tests): Likewise.
17262 [!gnulib] (static-gnulib-arch): Likewise.
17263 [!gnulib] (static-gnulib-tests): Likewise.
17264 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17265 Define with "=" instead of ":=".
17266 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17267 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17268 * Rules (binaries-all-notests): New variable.
17269 (binaries-all-tests): Likewise.
17270 (binaries-static-notests): Likewise.
17271 (binaries-static-tests): Likewise.
17272 (binaries-all): Define using $(binaries-all-notests) and
17273 $(binaries-all-tests).
17274 (binaries-static): Define using $(binaries-static-notests) and
17275 $(binaries-static-tests).
17276 (binaries-shared-tests): New variable.
17277 (binaries-shared-notests): Likewise.
17278 (binaries-shared): Remove variable.
17279 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17280 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17281 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17282 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17283 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17284 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17285 * elf/Makefile (sln-modules): New variable.
17286 (extra-objs): Add $(sln-modules:=.o).
17287 (ldconfig-modules): Add static-stubs.
17288 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17289 * elf/static-stubs.c: New file.
17292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17293 by 7 not 8 to examine high bit of fractional part. Use volatile
17294 variables when splitting into final array of floats if
17295 __FLT_EVAL_METHOD__ != 0.
17296 * math/libm-test.inc (cos_test): Add another test.
17297 (sin_test): Likewise.
17298 * sysdeps/i386/fpu/libm-test-ulps: Update.
17301 * math/libm-test.inc (cosh_test): Add more tests.
17303 * version.h (RELEASE): Set to "development".
17304 (VERSION): Set to "2.16.90".
17306 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17308 * NEWS: Update copyright. Remove last-updated date.
17309 Mention math library bug fixes and timezone data changes.
17310 * README: Mention GNU/Hurd, x32, and HPPA support status.
17312 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17314 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17316 2012-06-27 Andreas Jaeger <aj@suse.de>
17318 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17320 2012-06-25 Andreas Jaeger <aj@suse.de>
17322 * sysdeps/s390/fpu/libm-test-ulps: Update.
17324 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17325 Thomas Schwinge <thomas@codesourcery.com>
17327 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17328 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17332 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17334 * sysdeps/mach/start.c: Remove file.
17335 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17336 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17337 * sysdeps/sh/init-first.c: Likewise.
17339 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17340 registers for frame unwinding purposes, add CFI directives.
17341 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17342 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17343 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17346 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17347 __fortify_fail returning.
17348 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17350 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17351 sysdeps/sh/____longjmp_chk.S.
17352 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17353 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17354 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17355 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17357 * sysdeps/sh/abort-instr.h: New file.
17358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17359 process in case exit returns.
17361 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17362 initialize the GOT register before use.
17364 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17365 calculation of ARGC > 4.
17367 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17368 meaningful names to some local labels.
17370 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17371 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17373 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17374 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17375 (__arch_compare_and_exchange_val_16_acq): Likewise.
17376 (__arch_compare_and_exchange_val_32_acq): Likewise.
17377 (atomic_exchange_and_add): Fix gUSA sequence.
17378 (atomic_add): Likewise.
17379 (atomic_add_negative): Likewise.
17380 (atomic_add_zero): Likewise.
17381 (atomic_bit_test_set): Likewise.
17383 2012-06-22 Andreas Schwab <schwab@redhat.com>
17386 * include/link.h (struct link_map): Add l_free_initfini.
17387 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17389 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17390 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17391 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17394 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17396 * configure.in: Use AC_LANG_SOURCE.
17397 * configure: Regenerate.
17399 2012-06-22 Roland McGrath <roland@hack.frob.com>
17401 * configure.in (libc_cv_localstatedir): New substituted variable.
17402 * configure: Regenerated.
17403 * config.make.in (localstatedir): New variable, substituted from
17404 libc_cv_localstatedir.
17405 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17406 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17407 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17408 * sysdeps/gnu/configure: Regenerated.
17410 2012-06-21 Jeff Law <law@redhat.com>
17413 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17414 free. Simplify list management for _LIBC case.
17416 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17419 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17420 Clear sign bit of 64-bit integer value before comparing against
17423 * sysdeps/mach/configure: Regenerated.
17425 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17428 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17430 2012-06-21 Jeff Law <law@redhat.com>
17433 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17434 uint16_t for elements in the "seen" array to avoid char overflows.
17435 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17436 * elf/dl-open.c (dl_open_worker): Likewise.
17438 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17440 * scripts/list-sources.sh: Scan PORTS for translations.
17441 * po/libc.pot: Regenerated.
17443 2012-06-21 Andreas Jaeger <aj@suse.de>
17446 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17448 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17449 * bits/byteswap-16.h (__bswap_16): Likewise.
17450 * bits/byteswap.h (__bswap_constant_16): Likewise.
17452 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17455 * sysdeps/i386/fpu_control.h: Removed.
17456 * sysdeps/x86_64/fpu_control.h: Moved to ...
17457 * sysdeps/x86/fpu_control.h: Here.
17459 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17460 (_FPU_SETCW): Likewise.
17462 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17465 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17466 * sysdeps/x86/fpu/bits/mathinline.h: This.
17467 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17471 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17472 functions if __x86_64__ is defined.
17474 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17476 * string/endian.h: Add !__ASSEMBLER__ condition for including
17477 conversion interfaces.
17479 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17483 of ABS(x) in calculating zero to negative powers other than odd
17485 * math/libm-test.inc (pow_test): Add more tests.
17487 2012-06-15 Andreas Jaeger <aj@suse.de>
17489 * manual/contrib.texi (Contributors): Update entry of Liubov
17490 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17493 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17495 * string/string.h: Add __wur to GNU version of strerror_r.
17497 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17500 * string/Makefile (tests): Add tst-strtok_r.
17501 * string/tst-strtok_r.c: New file.
17502 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17503 RAX_LP/RDX_LP on SAVE_PTR.
17505 2012-06-14 Roland McGrath <roland@hack.frob.com>
17507 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17509 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17511 * libm_test.inc (csqrt_test): Allow more spurious underflow
17513 (j0_test): Likewise.
17514 (j1_test): Likewise.
17515 (y0_test): Likewise.
17516 (y1_test): Likewise.
17518 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17520 * po/Makefile (libc.pot): Use UTF-8 charset.
17522 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17525 Suppress sign-conversion warning from FD_SET.
17526 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17527 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17528 not unsigned long int.
17529 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17531 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17535 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17536 __extern_always_inline instead of __extern_inline.
17537 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17538 (__signbit): Likewise.
17539 (__signbitl): Support C++ namespace.
17540 (lrintf): New inline function.
17542 (llrintf): Likewise.
17543 (llrint): Likewise.
17553 (floorf): Likewise.
17554 (nearbyint): Likewise.
17555 (nearbyintf): Likewise.
17557 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17560 non-default versions.
17562 2012-06-11 Roland McGrath <roland@hack.frob.com>
17565 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17567 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17569 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17570 (FE_UPWARD, FE_DOWNWARD): Don't define.
17571 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17572 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17574 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17576 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17577 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17579 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17581 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17583 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17584 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17586 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17589 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17590 * sysdeps/i386/fpu/Implies: New file.
17591 * sysdeps/x86_64/fpu/Implies: Likewise.
17592 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17593 * sysdeps/x86/fpu/bits/fenv.h: This.
17595 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17598 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17601 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17602 character 0xffff that matches the last element of the
17605 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17607 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17610 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17613 values higher than 25.6283.
17615 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17618 subnormal exponent extraction and add some __builtin_expect.
17619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17620 Fix for subnormal mantissa calculation.
17622 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17624 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17625 cpu2 is -1 and errno is not ENOSYS.
17627 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17630 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17631 * sysdeps/x86/bits/string.h: This.
17632 * sysdeps/x86_64/bits/string.h: Removed.
17634 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17635 if not compiling for x86-64, but compiling for >= i486.
17637 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17638 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17640 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17641 New macro from Linux kernel 3.4.0.
17642 (FP_XSTATE_MAGIC2): Likewise.
17643 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17644 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17645 (struct _fpx_sw_bytes): New struct.
17646 (struct _xsave_hdr): Likewise.
17647 (struct _ymmh_state): Likewise.
17648 (struct _xstate): Likewise.
17650 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17651 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17653 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17655 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17657 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17658 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17659 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17660 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17661 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17662 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17664 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17667 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17668 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17669 (sysdep_headers): Include sys/platform/ppc.h.
17670 * sysdeps/powerpc/test-gettimebase.c: Test for
17671 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17672 * manual/Makefile (appendices): Include platform.texi.
17673 * manual/contrib.texi (Contributors): Update @node pointers.
17674 * manual/maint.texi (Maintenance): Likewise.
17675 (Platform): New node.
17676 * manual/platform.texi: New file. Document the new features.
17678 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17679 Jakub Jelinek <jakub@redhat.com>
17682 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17683 where __builtin_expect is unavailable.
17685 2012-06-03 David S. Miller <davem@davemloft.net>
17687 * stdlib/longlong.h: Updated from GCC.
17689 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17692 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17693 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17696 (GLIBC_2.16): Likewise.
17698 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17700 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17702 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17705 (default-abi): New variable.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17707 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17709 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17711 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17713 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17716 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17717 definition. Document in comment.
17719 2012-06-01 David S. Miller <davem@davemloft.net>
17721 * stdlib/longlong.h: Updated from GCC.
17723 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17726 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17727 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17728 sys/debugreg.h sys/io.h here.
17729 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17730 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17732 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17733 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17734 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17735 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17736 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17737 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17740 Define only if __x86_64__ is defined.
17742 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17745 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17746 Use int64_t for variable i.
17747 * math/libm-test.inc (fmod_test): Add more tests.
17749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17750 z computation is not scheduled after fetestexcept.
17751 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17752 Use math_force_eval instead of asm to ensure calculation scheduled
17753 before exception test.
17754 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17755 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17757 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17760 computation is not scheduled after fetestexcept.
17762 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17765 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17766 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17768 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17770 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17771 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17773 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17776 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17778 (__WCHAR_MIN): Support __WORDSIZE == 64.
17779 (__WCHAR_MAX): Likewise.
17781 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17782 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17785 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17786 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17789 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17790 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17792 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17793 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17795 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17796 Defined to 1 if __x86_64__ isn't defined.
17797 (_STAT_VER_LINUX_OLD): New.
17798 (st_atime): Remove duplicate.
17799 (st_mtime): Likewise.
17800 (st_ctime): Likewise.
17802 2012-05-31 David S. Miller <davem@davemloft.net>
17804 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17807 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17809 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17813 * elf/dl-reloc.c: Include <_itoa.h>.
17814 (_dl_reloc_bad_type): Remove use of INTUSE.
17815 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17816 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17817 * stdio-common/psiginfo.c (psiginfo): Likewise.
17818 * stdio-common/psignal.c (psignal): Likewise.
17819 * string/strsignal.c (strsignal): Likewise.
17820 * include/signal.h (_sys_siglist): Declare hidden proto.
17821 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17822 INTVARDEF with libc_hidden_data_def.
17823 * stdio-common/itoa-udigits.c: Likewise.
17824 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17825 (_itoa_lower_digits_internal): Remove declaration.
17826 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17827 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17828 (_sys_sigabbrev_internal): Remove aliases.
17829 (_sys_siglist): Define hidden alias.
17831 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17836 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17839 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17840 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17842 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17843 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17844 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17845 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17846 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17847 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17849 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17850 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17851 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17853 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17861 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17862 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17863 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17865 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17866 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17867 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17868 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17869 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17870 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17872 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17873 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17875 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17876 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17880 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17882 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17883 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17885 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17887 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17888 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17889 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17891 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17893 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17895 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17897 * math/math.h (M_El): Use two more decimal places.
17898 (M_LOG2El): Likewise.
17899 (M_LOG10El): Likewise.
17900 (M_LN2l): Likewise.
17901 (M_LN10l): Likewise.
17903 (M_PI_2l): Likewise.
17904 (M_PI_4l): Likewise.
17905 (M_1_PIl): Likewise.
17906 (M_2_PIl): Likewise.
17907 (M_2_SQRTPIl): Likewise.
17908 (M_SQRT2l): Likewise.
17909 (M_SQRT1_2l): Likewise.
17911 2012-05-31 David S. Miller <davem@davemloft.net>
17913 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17914 values between float registers.
17915 * sysdeps/sparc/sparc64/memset.S: Likewise.
17916 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17918 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17920 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17921 -D_FORTIFY_SOURCE=1.
17922 (CPPFLAGS-tst-longjmp_chk.c): Define.
17923 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17924 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17925 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17926 CFLAGS-tst-wchar-h.c.
17928 2012-05-31 Marek Polacek <polacek@redhat.com>
17931 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17932 __endmntent_internal): Remove declaration.
17933 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17934 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17935 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17937 2012-05-30 David S. Miller <davem@davemloft.net>
17939 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17940 (___Q_simulate_exceptions): Use real FP ops rather than writing
17942 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17945 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17948 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17949 * sysdeps/x86/bits/xtitypes.h: This.
17951 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17952 * sysdeps/x86/bits/wordsize.h: This.
17954 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17955 * sysdeps/x86/bits/huge_vall.h: This.
17957 * sysdeps/i386/bits/select.h: Removed.
17958 * sysdeps/x86_64/bits/select.h: Renamed to ...
17959 * sysdeps/x86/bits/select.h: This.
17961 * sysdeps/i386/bits/setjmp.h: Removed.
17962 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17963 * sysdeps/x86/bits/setjmp.h: This.
17965 * sysdeps/i386/bits/mathdef.h: Removed.
17966 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17967 * sysdeps/x86/bits/mathdef.h: This.
17969 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17972 * include/sys/socket.h (__connect_internal)
17973 (__libc_sa_len_internal): Remove declaration.
17974 (__connect, __libc_sa_len): Declare hidden_proto.
17975 (SA_LEN): Remove use of INTUSE.
17976 * socket/connect.c: Add libc_hidden_def.
17977 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17978 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17979 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17981 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17983 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17984 of adding _internal alias.
17986 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17989 * sysdeps/i386/bits/link.h: Removed.
17990 * sysdeps/i386/bits/linkmap.h: Likewise.
17991 * sysdeps/x86_64/bits/link.h: Renamed to ...
17992 * sysdeps/x86/bits/link.h: This.
17993 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17994 * sysdeps/x86/bits/linkmap.h: This.
17996 * sysdeps/i386/bits/endian.h: Removed.
17997 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17998 * sysdeps/x86/bits/endian.h: This.
18000 * sysdeps/i386/bits/byteswap.h: Removed.
18001 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18002 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18003 * sysdeps/x86/bits/byteswap.h: This.
18004 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18005 * sysdeps/x86/bits/byteswap-16.h: This.
18006 * sysdeps/i386/Implies: Add x86.
18007 * sysdeps/x86_64/Implies: Likewise.
18009 2012-05-30 David S. Miller <davem@davemloft.net>
18011 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18012 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18014 (FP_TRAPPING_EXCEPTIONS): Define.
18015 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18016 (FP_TRAPPING_EXCEPTIONS): Define.
18017 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18018 subnormals only when inexact has been signalled or underflow
18019 exceptions are enabled.
18020 (_FP_PACK_CANONICAL): Likewise.
18022 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18026 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18028 2012-05-30 Richard Henderson <rth@twiddle.net>
18030 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18031 with #ifndef NOT_IN_libc.
18033 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18034 marked to avoid plt entry.
18036 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18039 * Makeconfig (default-abi): New macro.
18040 (abi-includes): Likewise.
18041 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18042 $(abi-$(default-abi)-lib-soname) for soname if defined.
18043 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18045 * Makefile (installed-stubs): Likewise.
18046 * include/stubs-biarch.h: Removed.
18047 * scripts/lib-names.awk: Only handle one library at a time.
18048 * scripts/soversions.awk: Remove WORDSIZE support.
18049 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18051 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18053 (syscall-list-default-condition): Likewise.
18054 (syscall-list-default-condition): Likewise.
18055 (syscall-list-includes): Likewise.
18056 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18057 syscall-list-* with abi-*. Handle undefined abi-variants.
18058 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18059 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18060 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18061 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18062 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18063 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18065 (syscall-list-32-options): Likewise.
18066 (syscall-list-32-condition): Likewise.
18067 (syscall-list-64-options): Likewise.
18068 (syscall-list-64-condition): Likewise.
18069 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18071 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18074 (abi-64-ld-soname): New macro.
18075 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18076 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18079 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18080 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18082 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18084 * sysdeps/unix/sysv/linux/kernel-features.h
18085 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18086 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18087 include <kernel-features.h>.
18088 [!__NR_ftruncate64]: Remove conditional code.
18089 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18090 [__NR_ftruncate64]: Make code unconditional.
18091 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18092 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18093 include <kernel-features.h>.
18094 [!__NR_ftruncate64]: Remove conditional code.
18095 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18096 [__NR_ftruncate64]: Make code unconditional.
18097 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18099 include <kernel-features.h>.
18100 [!__NR_ftruncate64]: Remove conditional code.
18101 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18102 [__NR_ftruncate64]: Make code unconditional.
18103 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18105 include <kernel-features.h>.
18106 [!__NR_ftruncate64]: Remove conditional code.
18107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18108 [__NR_ftruncate64]: Make code unconditional.
18109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18111 * configure.in (libc_cv_fpie): Weaken to a compile test using
18112 LIBC_TRY_CC_OPTION.
18113 * configure: Regenerated.
18115 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18130 2012-05-27 David S. Miller <davem@davemloft.net>
18132 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18134 (__Q_simulate_exceptions): Return void. Change to simulate
18135 exceptions by writing into the %fsr.
18136 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18137 (__Qp_handle_exceptions): Likewise.
18139 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18140 __Qp_handle_exceptions.
18141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18142 __Qp_handle_exceptions.
18143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18144 as unused and give dummy FP_RND_NEAREST initializer.
18145 (FP_INHIBIT_RESULTS): Define.
18146 (___Q_simulate_exceptions): Update declaration.
18147 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18149 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18150 as unused and give dummy FP_RND_NEAREST initializer.
18151 (__Qp_handle_exceptions): Update declaration.
18152 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18155 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18157 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18158 the temporary FPU control word.
18159 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18160 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18161 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18162 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18163 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18164 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18165 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18167 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18168 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18169 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18171 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18173 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18176 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18178 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18179 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18180 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18181 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18183 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18184 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18187 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18189 * po/h.po: Update from translation team.
18191 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18193 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18195 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18196 handling of denormals.
18197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18198 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18199 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18200 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18206 2012-05-26 Marek Polacek <polacek@redhat.com>
18209 * math/libm-test.inc (fma_test): Don't always expect underflow
18212 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18215 * elf/tst-execstack.c: Include stackinfo.h.
18216 (do_test): Adjust test case to ensure that pthread_getattr_np
18217 behaviour remains the same after marking stack executable.
18219 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18221 * sysdeps/unix/sysv/linux/kernel-features.h
18222 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18223 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18225 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18226 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18227 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18229 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18230 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18232 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18234 * configure.in: Define the default includes to being none.
18235 * configure: Regenerated.
18237 2012-05-25 Roland McGrath <roland@hack.frob.com>
18239 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18240 * sysdeps/x86_64/setjmp.S: Likewise.
18241 * sysdeps/i386/bsd-setjmp.S: Likewise.
18242 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18243 * sysdeps/i386/setjmp.S: Likewise.
18244 * sysdeps/i386/__longjmp.S: Likewise.
18245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18246 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18248 * include/stap-probe.h: New file.
18249 * configure.in: Handle --enable-systemtap.
18250 * configure: Regenerated.
18251 * config.h.in (USE_STAP_PROBE): New #undef.
18252 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18253 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18254 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18256 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18260 to 2.4.0 where earlier.
18261 * sysdeps/unix/sysv/linux/configure: Regenerated.
18262 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18263 <kernel-features.h>.
18264 [__ASSUME_32BITUIDS]: Make code unconditional.
18265 [!__ASSUME_32BITUIDS]: Remove conditional code.
18266 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18267 <kernel-features.h>.
18268 [__ASSUME_32BITUIDS]: Make code unconditional.
18269 [!__ASSUME_32BITUIDS]: Remove conditional code.
18270 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18271 [__ASSUME_32BITUIDS]: Make code unconditional.
18272 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18273 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18274 <kernel-features.h>.
18275 [__ASSUME_32BITUIDS]: Make code unconditional.
18276 [!__ASSUME_32BITUIDS]: Remove conditional code.
18277 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18278 <kernel-features.h>.
18279 [__ASSUME_32BITUIDS]: Make code unconditional.
18280 [!__ASSUME_32BITUIDS]: Remove conditional code.
18281 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18282 <kernel-features.h>.
18283 [__ASSUME_32BITUIDS]: Make code unconditional.
18284 [!__ASSUME_32BITUIDS]: Remove conditional code.
18285 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18286 <kernel-features.h>.
18287 [__ASSUME_32BITUIDS]: Make code unconditional.
18288 [!__ASSUME_32BITUIDS]: Remove conditional code.
18289 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18290 <kernel-features.h>.
18291 [__ASSUME_32BITUIDS]: Make code unconditional.
18292 [!__ASSUME_32BITUIDS]: Remove conditional code.
18293 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18294 <kernel-features.h>.
18295 [__ASSUME_32BITUIDS]: Make code unconditional.
18296 [!__ASSUME_32BITUIDS]: Remove conditional code.
18297 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18298 <kernel-features.h>.
18299 [__ASSUME_32BITUIDS]: Make code unconditional.
18300 [!__ASSUME_32BITUIDS]: Remove conditional code.
18301 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18302 <kernel-features.h>.
18303 [__ASSUME_32BITUIDS]: Make code unconditional.
18304 [!__ASSUME_32BITUIDS]: Remove conditional code.
18305 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18306 <kernel-features.h>.
18307 [__ASSUME_32BITUIDS]: Make code unconditional.
18308 [!__ASSUME_32BITUIDS]: Remove conditional code.
18309 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18310 <kernel-features.h>.
18311 [__ASSUME_32BITUIDS]: Make code unconditional.
18312 [!__ASSUME_32BITUIDS]: Remove conditional code.
18313 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18314 <kernel-features.h>.
18315 [__NR_setresgid] (__setresgid): Do not declare.
18316 [__ASSUME_32BITUIDS]: Make code unconditional.
18317 [!__ASSUME_32BITUIDS]: Remove conditional code.
18318 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18319 <kernel-features.h>.
18320 [__NR_setresuid] (__setresuid): Do not declare.
18321 [__ASSUME_32BITUIDS]: Make code unconditional.
18322 [!__ASSUME_32BITUIDS]: Remove conditional code.
18323 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
18328 <kernel-features.h>.
18329 [__ASSUME_32BITUIDS]: Make code unconditional.
18330 [!__ASSUME_32BITUIDS]: Remove conditional code.
18331 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18332 <kernel-features.h>.
18333 [__ASSUME_32BITUIDS]: Make code unconditional.
18334 [!__ASSUME_32BITUIDS]: Remove conditional code.
18335 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18336 <kernel-features.h>.
18337 [__ASSUME_32BITUIDS]: Make code unconditional.
18338 [!__ASSUME_32BITUIDS]: Remove conditional code.
18339 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18340 <kernel-features.h>.
18341 [__ASSUME_32BITUIDS]: Make code unconditional.
18342 [!__ASSUME_32BITUIDS]: Remove conditional code.
18343 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18344 <kernel-features.h>.
18345 [__ASSUME_32BITUIDS]: Make code unconditional.
18346 [!__ASSUME_32BITUIDS]: Remove conditional code.
18347 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18348 <kernel-features.h>.
18349 [__ASSUME_32BITUIDS]: Make code unconditional.
18350 [!__ASSUME_32BITUIDS]: Remove conditional code.
18351 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18352 <kernel-features.h>.
18353 [__ASSUME_32BITUIDS]: Make code unconditional.
18354 [!__ASSUME_32BITUIDS]: Remove conditional code.
18355 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18356 <kernel-features.h>.
18357 [__ASSUME_32BITUIDS]: Make code unconditional.
18358 [!__ASSUME_32BITUIDS]: Remove conditional code.
18359 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18360 <kernel-features.h>.
18361 [__ASSUME_32BITUIDS]: Make code unconditional.
18362 [!__ASSUME_32BITUIDS]: Remove conditional code.
18363 * sysdeps/unix/sysv/linux/kernel-features.h
18364 (__ASSUME_SETRESUID_SYSCALL): Remove.
18365 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18366 (__ASSUME_32BITUIDS): Likewise.
18367 (__ASSUME_LDT_WORKS): Likewise.
18368 (__ASSUME_O_DIRECTORY): Likewise.
18369 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18370 architecture but not kernel version.
18371 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18372 (__ASSUME_MMAP2_SYSCALL): Likewise.
18373 (__ASSUME_STAT64_SYSCALL): Likewise.
18374 (__ASSUME_IPC64): Likewise.
18375 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18376 <kernel-features.h>.
18377 [__ASSUME_32BITUIDS]: Make code unconditional.
18378 [!__ASSUME_32BITUIDS]: Remove conditional code.
18379 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18380 <kernel-features.h>.
18381 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18382 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18383 132096]: Remove conditional code.
18384 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18385 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18386 <kernel-features.h>.
18387 [__ASSUME_32BITUIDS]: Make code unconditional.
18388 [!__ASSUME_32BITUIDS]: Remove conditional code.
18389 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18390 <kernel-features.h>.
18391 [__ASSUME_32BITUIDS]: Make code unconditional.
18392 [!__ASSUME_32BITUIDS]: Remove conditional code.
18393 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18394 <kernel-features.h>.
18395 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18397 (__setresgid): Do not declare.
18398 [__ASSUME_32BITUIDS]: Make code unconditional.
18399 [!__ASSUME_32BITUIDS]: Remove conditional code.
18400 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18401 <kernel-features.h>.
18402 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18404 (__setresuid): Do not declare.
18405 [__ASSUME_32BITUIDS]: Make code unconditional.
18406 [!__ASSUME_32BITUIDS]: Remove conditional code.
18407 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18408 <kernel-features.h>.
18409 [__ASSUME_32BITUIDS]: Make code unconditional.
18410 [!__ASSUME_32BITUIDS]: Remove conditional code.
18411 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18412 <kernel-features.h>.
18413 [__ASSUME_32BITUIDS]: Make code unconditional.
18414 [!__ASSUME_32BITUIDS]: Remove conditional code.
18416 2012-05-25 Richard Henderson <rth@twiddle.net>
18418 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18419 dl_hwcap to ifunc resolver.
18420 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18422 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18423 dl_hwcap to ifunc resolver.
18424 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18426 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18429 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18430 for |x| <= 2**-26, not 2**-57.
18431 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18434 2012-05-24 Jeff Law <law@redhat.com>
18436 * stdio-common/Makefile (tests): Add bug25.
18437 * stdio-common/bug25.c: New test.
18439 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18442 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18443 multiple of MALLOC_ALIGNMENT in size.
18444 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18446 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18448 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18450 (FILENAME_MAX): Use macro-int-constant.
18451 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18452 (_IOFBF): Use macro-int-constant.
18453 (_IOLBF): Likewise.
18454 (_IONBF): Likewise.
18455 (SEEK_CUR): Likewise.
18456 (SEEK_END): Likewise.
18457 (SEEK_SET): Likewise.
18458 (TMP_MAX): Likewise.
18459 (EOF): Use macro-int-constant. Require < 0.
18460 (NULL): Use macro-constant. Require == 0.
18461 (stdin): Require type to be FILE *.
18462 (stdout): Likewise.
18463 (stderr): Likewise.
18464 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18465 macro-int-constant.
18466 (EXIT_SUCCESS): Likewise.
18467 (NULL): Use macro-constant. Require == 0.
18468 (RAND_MAX): Use macro-int-constant.
18469 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18470 [C99-based standards] (strtof): Require function.
18471 [C99-based standards] (strtold): Likewise.
18472 [C99-based standards] (strtoll): Likewise.
18473 [C99-based standards] (strtoull): Likewise.
18474 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18475 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18476 [ISO || ISO99 || ISO11] (math.h): Likewise.
18477 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18478 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18481 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18484 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18485 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18486 * intl/dgettext.c (DCGETTEXT): Likewise.
18487 * intl/gettext.c (DCGETTEXT): Likewise.
18488 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18489 * posix/regex_internal.h (gettext): Likewise.
18490 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18491 Remove declaration.
18492 * include/argz.h (__argz_count_internal)
18493 (__argz_stringify_internal): Remove declaration.
18494 (__argz_count, __argz_stringify): Declare hidden proto.
18495 * intl/dcgettext.c: Remove use of INTDEF.
18496 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18497 * string/argz-stringify.c: Likewise.
18498 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18499 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18500 Declare hidden proto.
18501 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18502 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18503 Declare hidden proto.
18504 * include/stdio.h (__asprintf_internal): Don't declare.
18505 (__asprintf): Don't define as macro. Declare hidden proto.
18506 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18507 (__fsetlocking): Declare hidden proto.
18508 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18509 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18511 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18512 (_IO_setlinebuf): Remove use of INTUSE.
18513 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18514 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18515 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18516 Remove declaration.
18517 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18518 (_IO_do_flush): Remove use of INTUSE.
18519 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18520 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18521 (_IO_adjust_column, _IO_least_wmarker)
18522 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18523 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18524 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18525 (_IO_default_doallocate, _IO_wdefault_doallocate)
18526 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18527 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18528 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18529 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18530 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18531 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18532 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18533 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18534 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18535 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18536 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18537 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18538 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18540 (_IO_flush_all_internal, _IO_adjust_column_internal)
18541 (_IO_default_uflow_internal, _IO_default_finish_internal)
18542 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18543 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18544 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18545 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18546 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18547 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18548 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18549 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18550 (_IO_file_close_internal, _IO_file_close_it_internal)
18551 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18552 (_IO_file_init_internal, _IO_file_attach_internal)
18553 (_IO_file_fopen_internal, _IO_file_read_internal)
18554 (_IO_file_sync_internal, _IO_file_seek_internal)
18555 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18556 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18557 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18558 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18559 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18560 (_IO_list_all_internal, _IO_link_in_internal)
18561 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18562 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18563 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18564 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18565 (_IO_do_write_internal, _IO_padn_internal)
18566 (_IO_getline_info_internal, _IO_getline_internal)
18567 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18568 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18569 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18570 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18571 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18572 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18573 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18574 with libc_hidden_ver, remove use of INTUSE.
18575 * libio/genops.c: Likewise.
18576 * libio/freopen.c: Likewise.
18577 * libio/freopen64.c: Likewise.
18578 * libio/iofclose.c: Likewise.
18579 * libio/iofdopen.c: Likewise.
18580 * libio/iofflush.c: Likewise.
18581 * libio/iofflush_u.c: Likewise.
18582 * libio/iofgets.c: Likewise.
18583 * libio/iofgets_u.c: Likewise.
18584 * libio/iofopen.c: Likewise.
18585 * libio/iofopncook.c: Likewise.
18586 * libio/iofread.c: Likewise.
18587 * libio/iofread_u.c: Likewise.
18588 * libio/ioftell.c: Likewise.
18589 * libio/iofwrite.c: Likewise.
18590 * libio/iogetline.c: Likewise.
18591 * libio/iogets.c: Likewise.
18592 * libio/iogetwline.c: Likewise.
18593 * libio/iopadn.c: Likewise.
18594 * libio/iopopen.c: Likewise.
18595 * libio/ioseekoff.c: Likewise.
18596 * libio/ioseekpos.c: Likewise.
18597 * libio/iosetbuffer.c: Likewise.
18598 * libio/iosetvbuf.c: Likewise.
18599 * libio/ioungetc.c: Likewise.
18600 * libio/ioungetwc.c: Likewise.
18601 * libio/iovdprintf.c: Likewise.
18602 * libio/iovsprintf.c: Likewise.
18603 * libio/iovsscanf.c: Likewise.
18604 * libio/memstream.c: Likewise.
18605 * libio/obprintf.c: Likewise.
18606 * libio/oldfileops.c: Likewise.
18607 * libio/oldiofclose.c: Likewise.
18608 * libio/oldiofdopen.c: Likewise.
18609 * libio/oldiofopen.c: Likewise.
18610 * libio/oldiopopen.c: Likewise.
18611 * libio/oldstdfiles.c: Likewise.
18612 * libio/putc.c: Likewise.
18613 * libio/setbuf.c: Likewise.
18614 * libio/setlinebuf.c: Likewise.
18615 * libio/stdfiles.c: Likewise.
18616 * libio/strops.c: Likewise.
18617 * libio/vasprintf.c: Likewise.
18618 * libio/vscanf.c: Likewise.
18619 * libio/vsnprintf.c: Likewise.
18620 * libio/vswprintf.c: Likewise.
18621 * libio/wfiledoalloc.c: Likewise.
18622 * libio/wfileops.c: Likewise.
18623 * libio/wgenops.c: Likewise.
18624 * libio/wmemstream.c: Likewise.
18625 * libio/wstrops.c: Likewise.
18626 * libio/__fpurge.c: Likewise.
18627 * libio/__fsetlocking.c: Likewise.
18628 * assert/assert.c: Likewise.
18629 * debug/fgets_chk.c: Likewise.
18630 * debug/fgets_u_chk.c: Likewise.
18631 * debug/fread_chk.c: Likewise.
18632 * debug/fread_u_chk.c: Likewise.
18633 * debug/gets_chk.c: Likewise.
18634 * debug/obprintf_chk.c: Likewise.
18635 * debug/vasprintf_chk.c: Likewise.
18636 * debug/vdprintf_chk.c: Likewise.
18637 * debug/vsnprintf_chk.c: Likewise.
18638 * debug/vsprintf_chk.c: Likewise.
18639 * malloc/mtrace.c: Likewise.
18640 * misc/error.c: Likewise.
18641 * misc/syslog.c: Likewise.
18642 * stdio-common/asprintf.c: Likewise.
18643 * stdio-common/fxprintf.c: Likewise.
18644 * stdio-common/getw.c: Likewise.
18645 * stdio-common/isoc99_fscanf.c: Likewise.
18646 * stdio-common/isoc99_scanf.c: Likewise.
18647 * stdio-common/isoc99_vfscanf.c: Likewise.
18648 * stdio-common/isoc99_vscanf.c: Likewise.
18649 * stdio-common/isoc99_vsscanf.c: Likewise.
18650 * stdio-common/printf-prs.c: Likewise.
18651 * stdio-common/printf_fp.c: Likewise.
18652 * stdio-common/printf_fphex.c: Likewise.
18653 * stdio-common/printf_size.c: Likewise.
18654 * stdio-common/putw.c: Likewise.
18655 * stdio-common/scanf.c: Likewise.
18656 * stdio-common/sprintf.c: Likewise.
18657 * stdio-common/tmpfile.c: Likewise.
18658 * stdio-common/vfprintf.c: Likewise.
18659 * stdio-common/vfscanf.c: Likewise.
18660 * stdlib/strfmon_l.c: Likewise.
18661 * sunrpc/openchild.c: Likewise.
18662 * sunrpc/xdr_stdio.c: Likewise.
18663 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18664 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18666 2012-05-24 Roland McGrath <roland@hack.frob.com>
18668 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18670 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18671 in the third column, to generate for the shared library an IFUNC
18672 that uses _dl_vdso_vsym.
18673 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18674 * Makeconfig (object-suffixes-noshared): New variable.
18676 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18677 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18678 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18679 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18682 * include/sys/time.h (__gettimeofday): Remove macro.
18683 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18684 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18686 (__gettimeofday): Add libc_hidden_def.
18687 (gettimeofday): Add libc_hidden_weak.
18688 * sysdeps/mach/gettimeofday.c: Likewise.
18689 * sysdeps/posix/gettimeofday.c: Likewise.
18690 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18691 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18693 (__gettimeofday_internal): Remove strong_alias.
18694 (__gettimeofday): Add libc_hidden_def.
18695 (gettimeofday): Add libc_hidden_weak.
18696 * sysdeps/unix/syscalls.list (gettimeofday):
18697 Remove __gettimeofday_internal alias.
18699 2012-05-24 Daniel Jacobowitz <drow@false.org>
18700 H.J. Lu <hongjiu.lu@intel.com>
18703 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18704 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18705 (largebin_index_32_big): New.
18706 (largebin_index): Use it for 16-byte alignment.
18707 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18708 correction with front_misalign.
18710 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18738 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18739 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18741 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18745 * math/libm-test.inc (exp_test): Add test from bug 14036.
18746 (pow_test): Add test from bug 10846.
18748 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18750 (special_function): Do not include flags in test name.
18751 (parse_args): Likewise.
18752 * sysdeps/i386/fpu/libm-test-ulps: Update.
18753 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18754 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18755 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18758 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18760 * math/libm-test.inc ("Philosophy"): Update comment about
18762 (UNDERFLOW_EXCEPTION): New macro.
18763 (UNDERFLOW_EXCEPTION_OK): Likewise.
18764 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18765 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18766 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18767 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18768 (INVALID_EXCEPTION_OK): Update value.
18769 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18770 (OVERFLOW_EXCEPTION_OK): Likewise.
18771 (IGNORE_ZERO_INF_SIGN): Likewise.
18772 (test_exceptions): Handle underflow exceptions.
18773 (acos_test): Update for underflow exception expectations.
18774 (cexp_test): Likewise.
18775 (clog_test): Likewise.
18776 (clog10_test): Likewise.
18777 (csqrt_test): Likewise.
18778 (ctan_test): Likewise.
18779 (ctanh_test): Likewise.
18780 (exp_test): Likewise.
18781 (exp10_test): Likewise.
18782 (exp2_test): Likewise.
18783 (expm1_test): Likewise.
18784 (fma_test): Likewise.
18785 (j0_test): Likewise.
18786 (jn_test): Likewise.
18787 (nexttoward_test): Likewise.
18788 (pow_test): Likewise.
18789 (scalbn_test): Likewise.
18790 (scalbln_test): Likewise.
18791 (tan_test): Likewise.
18792 (y1_test): Likewise.
18793 * sysdeps/i386/fpu/libm-test-ulps: Update.
18794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18796 2012-05-23 David S. Miller <davem@davemloft.net>
18798 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18799 (__libc_sigaction): Remove unused local variables.
18801 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18803 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18805 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18807 mktime: avoid signed integer overflow
18808 * time/mktime.c (__mktime_internal): Do not mishandle the case
18809 where diff == INT_MIN.
18811 mktime: simplify computation of average
18812 * time/mktime.c (ranged_convert): Use new time_t_avg function
18813 instead of rolling our own (probably-slower) code.
18815 mktime: do not assume signed right shift propagates sign bit
18816 * time/mktime.c (isdst_differ): New static function.
18817 (__mktime_internal): No need to normalize tm_isdst now.
18818 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18821 mktime: merge another wrapv change from gnulib
18822 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18823 from some compilers.
18825 mktime: remove incorrect attempt at unusual arithmetics
18826 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18827 The code didn't really work on such machines anyway.
18828 (TYPE_MINIMUM): Assume two's complement.
18829 (twos_complement_arithmetic): Verify that long_int and time_t
18830 are two's complement (or unsigned, in the latter case).
18832 mktime: check signed shifts on long_int and time_t, too
18833 * time/mktime.c (SHR): Check that shifts work as desired
18834 on the types long_int and time_t too, as SHR is used on
18837 mktime: do not assume 'long' is wide enough
18838 * time/mktime.c (verify): Move decl up.
18839 (long_int): New type.
18840 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18841 to remove assumption in the code that 'long' is wide enough to
18842 store year values. This assumption is not true on x32 and on
18843 some non-glibc platforms.
18845 mktime: merge wrapv change from gnulib
18846 * time/mktime.c (WRAPV): New macro.
18847 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18848 (guess_time_tm, __mktime_internal): Do not assume that signed
18849 integer overflow wraps around; modern compilers generate code
18850 where this assumption is no longer valid.
18852 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18854 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18855 Replace "jmp L(pseudo_end)" with "ret".
18856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18859 2012-05-23 Andreas Jaeger <aj@suse.de>
18861 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18862 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18864 2012-05-23 Andreas Jaeger <aj@suse.de>
18865 Maximilian Attems <max@stro.at>
18867 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18870 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18872 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18873 code so that pseudo_end is just ret and the stack pointer is
18874 correct also for static library in error case.
18876 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18878 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18879 move to syscalls.list.
18880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18885 * manual/install.texi (Running make install): Do not mention Linux
18886 kernel version for which pt_chown is not needed.
18887 (Linux): Do not mention problems with nscd with 2.0 kernels.
18888 * INSTALL: Regenerated.
18890 2012-05-23 Andreas Jaeger <aj@suse.de>
18892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18893 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18895 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18896 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18897 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18898 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18899 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18900 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18902 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18905 * sysdeps/unix/sysv/linux/bits/in.h
18906 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18908 2012-05-22 Roland McGrath <roland@hack.frob.com>
18910 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18911 (PREPARE_VERSION): Just use assert instead, it will be elided
18912 under [NDEBUG] anyway.
18914 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18916 * sysdeps/unix/sysv/linux/Makefile: Include
18917 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18918 (sysdep_routines): Remove sysctl.
18919 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18920 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18921 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18922 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18923 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18925 2012-05-22 Andreas Jaeger <aj@suse.de>
18927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18928 that pseudo_end is just ret and the stack pointer is correct also
18929 for static library in error case.
18931 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18934 * nss/nsswitch.c (defconfig_entries): New variable.
18935 (__nss_database_lookup): Don't leak defconfig entries.
18936 (nss_parse_service_list): Don't leak on error paths.
18937 (free_database_entries): New function.
18938 (free_defconfig): New function.
18939 (free_mem): Move common code to free_database_entries.
18941 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18943 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18945 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18947 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18948 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18951 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18952 (INTERNAL_SYSCALL_TYPES): Likewise.
18953 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18954 (LOAD_REGS_TYPES_[1-6]): Likewise.
18955 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18956 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18958 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18960 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18961 copysignl for GLIBC_2_0.
18962 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18963 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18964 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18965 logbl for GLIBC_2_0.
18966 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18967 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18969 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18971 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18972 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18974 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18977 * time/mktime.c: Update copyright years.
18979 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18981 mktime: merge comment-quoting-style change from gnulib
18982 * time/mktime.c: Quote 'like this' in comments.
18983 The GNU coding standards suggest that we no longer quote `like this',
18984 as "`" and "'" are typically rendered asymmetrically nowadays.
18985 The typical gnulib style is to quote 'like this' when quoting
18986 code, and "like this" when quoting English.
18988 * time/mktime.c (compile-command): Add "-I.".
18990 mktime: merge mktime-internal.h change from gnulib
18991 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18993 mktime: merge time_r change from gnulib
18994 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18996 mktime: merge DEBUG change from gnulib
18997 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18998 case system <time.h> has a #define.
19000 mktime: merge <sys/types.h> change from gnulib
19001 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19002 since <time.t> is now guaranteed to define time_t.
19004 mktime: merge HAVE_CONFIG_H change from gnulib
19005 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19007 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19012 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19014 (struct rusage): Use anonymous union to pad each field to
19017 2012-05-21 David S. Miller <davem@davemloft.net>
19019 * Makefules (o-iterator): Remove .s cases.
19020 (compile-command.s): Delete.
19021 (COMPILE.s): Delete.
19022 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19024 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19026 * configure.in (libc_cv_predef_stack_protector): Only consider
19027 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19028 * configure: Regenerated.
19030 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19033 New macro. Use R*LP on int and pointer.
19034 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19035 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19036 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19037 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19039 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19040 [__WORDSIZE_TIME64_COMPAT32] instead of
19041 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19042 (struct utmp): Likewise.
19043 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19044 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19046 (__WORDSIZE_TIME64_COMPAT32): This.
19047 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19048 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19049 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19050 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19051 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19052 (__WORDSIZE_TIME64_COMPAT32): New macro.
19054 2012-05-21 Andreas Jaeger <aj@suse.de>
19056 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19057 only if [SHARED]. Add prototype for __wcschr_ia32.
19059 2012-05-21 Roland McGrath <roland@hack.frob.com>
19061 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19062 of %rbp unmolested in the jmp_buf while mangling the low bits.
19063 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19064 unmolested high bits of %rbp while demangling the low bits.
19065 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19067 2012-05-21 Andreas Jaeger <aj@suse.de>
19069 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19070 * sunrpc/svc_simple.c: Use it for registerrpc.
19071 * sunrpc/xcrypt.c: Use it for passwd2des.
19073 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19075 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19077 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19078 Don't define if [__SYSCALL_WORDSIZE != 32].
19079 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19082 2012-05-21 Bruno Haible <bruno@clisp.org>
19083 Andreas Jaeger <aj@suse.de>
19085 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19086 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19087 inptr and inend for must_buffer_ch.
19088 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19089 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19090 * stdio-common/Makefile (tests): Remove bug15.
19091 (bug15-ENV): Remove macro.
19092 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19095 2012-05-19 Andreas Jaeger <aj@suse.de>
19096 Roland McGrath <roland@hack.frob.com>
19098 * manual/contrib.texi: Completely rewritten. It contains now an
19099 alphabetical list of contributors and their contributions.
19101 2012-05-21 Richard Henderson <rth@twiddle.net>
19103 * misc/getauxval.c (__getauxval): Use unsigned long int.
19104 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19105 (getauxval): Use unsigned long int.
19107 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19109 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19111 2012-05-21 Roland McGrath <roland@hack.frob.com>
19113 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19114 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19115 __alignof__ (long double).
19117 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19121 2012-05-20 Richard Henderson <rth@twiddle.net>
19123 * misc/getauxval.c: New file.
19124 * misc/sys/auxv.h: New file.
19125 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19126 (routines): Add getauxval.
19127 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19128 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19129 * elf/dl-sysdep.c (_dl_auxv): Remove.
19130 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19131 * elf/dl-support.c (_dl_auxv): New variable.
19132 (_dl_aux_init): Initialize it.
19133 * manual/startup.texi (Auxiliary Vector): New node.
19134 * sysdeps/generic/bits/hwcap.h: New file.
19135 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19136 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19137 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19138 * sysdeps/sparc/sysdep.h: ... here. Include it.
19139 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19140 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19152 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19156 2012-05-19 David S. Miller <davem@davemloft.net>
19158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19160 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19163 * math/s_ccosh.c: Include <float.h>
19164 (__ccosh): Avoid internal overflow calculating sinh and cosh
19165 values before multiplying by sin and cos values.
19166 * math/s_ccoshf.c: Likewise.
19167 * math/s_ccoshl.c: Likewise.
19168 * math/s_csin.c: Likewise.
19169 * math/s_csinf.c: Likewise.
19170 * math/s_csinl.c: Likewise.
19171 * math/s_csinh.c: Likewise.
19172 * math/s_csinhf.c: Likewise.
19173 * math/s_csinhl.c: Likewise.
19174 * math/libm-test.inc (ccos_test): Add more tests.
19175 (ccosh_test): Likewise.
19176 (csin_test): Likewise.
19177 (csinh_test): Likewise.
19178 * sysdeps/i386/fpu/libm-test-ulps: Update.
19179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19181 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19183 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19184 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19186 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19188 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19190 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19191 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19192 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19193 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19194 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19195 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19196 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19197 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19198 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19199 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19200 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19201 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19202 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19203 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19204 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19205 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19206 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19207 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19208 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19209 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19210 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19211 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19212 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19213 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19214 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19215 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19216 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19217 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19218 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19219 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19220 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19222 2012-05-18 Andreas Jaeger <aj@suse.de>
19224 * csu/.gitignore: Delete.
19226 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19228 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19229 (timex): Use __syscall_slong_t.
19231 2012-05-18 Andreas Jaeger <aj@suse.de>
19232 Carlos O'Donell <carlos_odonell@mentor.com>
19234 * manual/install.texi (Configuring and compiling): Update
19235 description about files modified in the source directory.
19236 * INSTALL: Regenerated.
19238 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19240 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19241 value. Use "or" to set return value to -1.
19242 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19243 negate return value.
19245 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19247 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19248 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19249 failure if the compiler has Graphite support disabled.
19250 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19252 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19253 CFLAGS-memmove.c): Likewise.
19254 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19257 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19259 * sysdeps/x86_64/x32/_itoa.h: New file.
19261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19262 getdents system call only if kernel and user dirents have the
19263 same d_ino and d_off.
19265 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19266 LLONG_MAX != LONG_MAX.
19267 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19268 (_fitoa_word): Likewise.
19270 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19272 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19273 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19274 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19277 include <bits/wordsize.h>. Check __x86_64__ instead of
19279 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19280 if __x86_64__ is defined. Use anonymous union on fpstate.
19282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19285 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19287 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19288 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19289 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19290 Refer to _rtld_local_ro instead of _rtld_global_ro.
19291 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19293 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19295 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19297 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19298 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19299 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19301 * sysdeps/powerpc/powerpc32/dl-machine.c
19302 (__elf_machine_runtime_setup) [PROF]: Don't reference
19305 2012-05-18 Andreas Jaeger <aj@suse.de>
19307 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19308 function only available for GCCs before 3.4 since GCC 3.4
19309 introduced a builtin.
19311 (llrintf): Likewise.
19312 (llrint): Likewise.
19319 (nearbyint): Likewise.
19320 (nearbyintf): Likewise.
19324 (floorf): Likewise.
19326 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19328 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19329 on both fields and cast pointer to __syscall_ulong_t.
19331 * bits/types.h (__fsword_t): New type.
19332 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19333 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19335 (__FSWORD_T_TYPE): Likewise.
19336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19337 (__FSWORD_T_TYPE): Likewise.
19338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19339 (__FSWORD_T_TYPE): Likewise.
19340 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19341 (__FSWORD_T_TYPE): Likewise.
19342 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19343 __SWORD_TYPE with __fsword_t.
19344 (statfs64): Likewise.
19346 2012-05-17 David S. Miller <davem@davemloft.net>
19348 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19350 2012-05-17 Andreas Jaeger <aj@suse.de>
19352 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19355 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19357 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19359 2012-05-17 Andreas Jaeger <aj@suse.de>
19361 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19364 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19366 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19368 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19370 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19371 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19373 2012-05-17 Andreas Jaeger <aj@suse.de>
19374 Carlos O'Donell <carlos_odonell@mentor.com>
19377 * sysdeps/x86_64/multiarch/init-arch.h
19378 (bit_YMM_Usable): Rename to...
19379 (bit_AVX_Usable): ... this.
19380 (bit_FMA4_Usable): New macro.
19381 (bit_XMM_state): New macro.
19382 (bit_YMM_state): New macro.
19383 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19384 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19385 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19386 (CPUID_OSXSAVE): New macro.
19387 (CPUID_AVX): New macro.
19388 (CPUID_FMA4): New macro.
19389 (index_YMM_Usable): Rename to...
19390 (index_AVX_Usable): ... this.
19391 (HAS_AVX): Use HAS_ARCH_FEATURE.
19392 (HAS_FMA4): Likewise.
19393 (HAS_YMM_USABLE): Remove.
19394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19395 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19397 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19398 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19399 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19400 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19401 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19403 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19405 * math/libm-test.c: Support platforms without multiple rounding modes.
19406 * math/bug-nextafter.c: Support platforms without FP exceptions.
19407 * math/bug-nexttoward.c: Likewise.
19408 * math/test-fenv.c: Likewise.
19409 * math/test-misc.c: Likewise.
19410 * stdlib/bug-getcontext.c: Likewise.
19412 2012-05-17 Andreas Jaeger <aj@suse.de>
19414 * manual/examples/search.c (critter_cmp): Change signature to
19416 * manual/string.texi (Collation Functions): Likewise.
19418 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19420 * bits/types.h: Fold copyright years.
19421 * bits/typesizes.h: Likewise.
19422 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19423 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19426 * time/time.h: Likewise.
19428 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19431 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19432 in instead of returning them. Return void.
19433 (__libc_mallinfo): Accumulate over all arenas.
19434 (__malloc_stats): Adjust for change in int_mallinfo interface.
19436 2012-05-16 Roland McGrath <roland@hack.frob.com>
19439 * configure.in (NM): Add AC_CHECK_TOOL for it.
19440 (libc_extra_cflags): New substituted variable.
19441 Check for -fstack-protector being used implicitly.
19442 * configure: Regenerated.
19443 * config.make.in (config-extra-cflags): New variable,
19444 gets @libc_extra_cflags@.
19445 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19448 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19449 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19450 * configure: Regenerated.
19451 * config.make.in (CPPUNDEFS): New substituted variable.
19452 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19453 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19454 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19456 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19458 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19459 (mq_attr): Use __syscall_slong_t.
19461 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19463 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19464 Check __x86_64__ instead of __WORDSIZE.
19465 (_STAT_VER_LINUX): Likewise.
19466 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19467 __syscall_ulong_t and __syscall_slong_t.
19468 (stat64): Likewise.
19470 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19472 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19474 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19476 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19480 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19483 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19484 include <bits/wordsize.h>. Check __x86_64__ instead of
19486 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19488 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19490 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19491 include <bits/wordsize.h>. Check __x86_64__ instead of
19493 (user_regs_struct): Use "__extension__ unsigned long long"
19494 instead of "unsigned long" if __x86_64__ is defined.
19495 (user): Likewise. Pad after pointer field if __ILP32__ is
19498 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19500 * configure.in (makeinfo): Require version 4.5 or later. Allow
19502 * configure: Regenerated.
19503 * manual/install.texi (texinfo): Increase version requirement to
19505 * INSTALL: Regenerated.
19507 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19509 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19511 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19513 * sysdeps/x86_64/x32/ffs.c: New file.
19515 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19517 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19518 defined. Use __syscall_ulong_t.
19519 (shminfo): Use __syscall_ulong_t.
19520 (shm_info): Likewise.
19522 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19525 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19527 (msgqnum_t): Use __syscall_ulong_t.
19528 (msglen_t): Likewise.
19529 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19532 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19533 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19535 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19537 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19538 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19540 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19543 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19544 include <bits/wordsize.h>. Check __x86_64__ instead of
19547 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19548 "unsigned long long int" if __x86_64__ is defined.
19549 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19551 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19552 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19553 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19555 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19557 (GET_PC): Cast to uintptr_t first.
19558 (GET_FRAME): Likewise.
19559 (GET_STACK): Likewise.
19561 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19562 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19563 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19565 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19567 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19568 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19569 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19570 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19572 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19573 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19574 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19575 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19576 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19577 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19578 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19579 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19580 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19581 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19582 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19583 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19584 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19585 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19586 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19587 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19588 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19589 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19591 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19593 * Makerules (+depfiles): Also collect depfiles from .oS in
19595 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19596 .oS, $(libnldbl-routines)).
19598 * Makerules (native-compile-mkdep-flags): Define.
19599 * sunrpc/Makefile (extra-objs): Add $(addprefix
19600 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19601 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19602 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19603 calling $(make-target-directory).
19605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19607 * bits/types.h (__snseconds_t): Removed.
19608 * time/time.h (struct timespec): Replace __snseconds_t with
19610 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19611 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19614 (__SNSECONDS_T_TYPE): Likewise.
19615 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19616 (__SNSECONDS_T_TYPE): Likewise.
19617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19618 (__SNSECONDS_T_TYPE): Likewise.
19620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19622 * sysdeps/mach/hurd/bits/typesizes.h
19623 (__SYSCALL_SLONG_TYPE): New macro.
19624 (__SYSCALL_ULONG_TYPE): Likewise.
19626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19628 * bits/types.h (__syscall_slong_t): New type.
19629 (__syscall_ulong_t): Likewise.
19631 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19632 (__SYSCALL_ULONG_TYPE): Likewise.
19633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19634 (__SYSCALL_SLONG_TYPE): Likewise.
19635 (__SYSCALL_ULONG_TYPE): Likewise.
19636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19637 (__SYSCALL_SLONG_TYPE): Likewise.
19638 (__SYSCALL_ULONG_TYPE): Likewise.
19639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19640 (__SYSCALL_SLONG_TYPE): Likewise.
19641 (__SYSCALL_ULONG_TYPE): Likewise.
19643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19645 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19646 Add sigaltstack-offsets.sym.
19647 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19648 <sigaltstack-offsets.h>.
19649 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19650 longjmp_msg pointer.
19651 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19652 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19654 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19656 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19658 * elf/stackguard-macros.h: Remove file.
19659 * sysdeps/generic/stackguard-macros.h: New file.
19660 * sysdeps/i386/stackguard-macros.h: Likewise.
19661 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19662 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19663 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19664 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19665 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19666 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19667 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19668 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19669 <elf/stackguard-macros.h>.
19672 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19673 __aligned__ in attribute.
19674 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19675 (gregset_t): Likewise.
19677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19679 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19680 * sysdeps/x86_64/64/Implies-after: Here. New file.
19681 * sysdeps/x86_64/x32/Implies-after: New file.
19683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19685 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19686 and access return value for _dl_profile_fixup. Use R10_LP to
19689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19691 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19695 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19696 * sysdeps/x86_64/x32/sysdep.h: New file.
19698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19700 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19701 * sysdeps/x86_64/setjmp.S: Likewise.
19703 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19705 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19706 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19707 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19709 remove unused global constant.
19711 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19713 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19714 include of <not-cancel.h>.
19716 2012-05-15 Roland McGrath <roland@hack.frob.com>
19718 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19720 2012-05-15 Jeff Law <law@redhat.com>
19721 Andreas Jaeger <aj@suse.de>
19724 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19726 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19727 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19728 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19729 code changing __hst_map_handle.map.
19731 2012-05-15 Roland McGrath <roland@hack.frob.com>
19733 * configure.in (sysnames): Look for Implies-before and Implies-after
19735 * configure: Regenerated.
19737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19739 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19740 8-byte data alignment with LP_SIZE alignment.
19742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19744 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19749 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19753 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19754 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19755 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19757 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19761 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19762 (stackinfo_sub_sp): Likewise.
19764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19771 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19781 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19785 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19786 into R11_LP and load __x86_64_shared_cache_size_half into
19789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19791 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19794 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19802 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19803 powerpc32/power7/fpu/s_logb.c via #include.
19804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19805 powerpc32/power7/fpu/s_logbf.c via #include.
19806 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19807 powerpc32/power7/fpu/s_logbl.c via #include.
19809 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19811 * README.libm: Remove file.
19813 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19815 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19816 count for x32. Use R*_LP and omit operand-size suffix.
19818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19820 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19821 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19822 * sysdeps/x86_64/x32/shlib-versions: New file.
19824 2012-05-14 Roland McGrath <roland@hack.frob.com>
19826 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19827 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19828 Use _dl_fatal_printf instead.
19830 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19832 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19833 set if not set by the user. Do not allow for being unset.
19834 * sysdeps/unix/sysv/linux/configure: Regenerated.
19836 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19838 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19839 the `q' suffix from lea and replace .quad with ASM_ADDR.
19841 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19844 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19846 (PTR_DEMANGLE): Likewise.
19848 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19850 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19852 (ASM_ADDR): Likewise.
19853 (RAX_LP): Likewise.
19854 (RBP_LP): Likewise.
19855 (RBX_LP): Likewise.
19856 (RCX_LP): Likewise.
19857 (RDI_LP): Likewise.
19858 (RSI_LP): Likewise.
19859 (RSP_LP): Likewise.
19862 (R10_LP): Likewise.
19863 (R10_LP): Likewise.
19864 (R11_LP): Likewise.
19865 (R12_LP): Likewise.
19866 (R13_LP): Likewise.
19867 (R14_LP): Likewise.
19868 (R15_LP): Likewise.
19870 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19872 * sysdeps/x86_64/x32/dl-machine.h: New file.
19874 2012-05-14 Andreas Jaeger <aj@suse.de>
19876 * manual/Makefile (subdir): Remove export of subdir.
19877 (all): Remove target.
19878 (.PHONY): Remove all from list.
19879 (mkinstalldirs): Remove.
19880 (.PHONY): Remove installdirs from list.
19881 ($(inst_infodir)/libc.info): Use make-target-directory.
19882 (installdirs): Remove.
19883 (subdir_%): Remove.
19884 (glibc-targets): Remove.
19887 ($(objpfx)stubs ../po/manual.pot): Remove.
19888 ($(objpfx)stamp%): Remove.
19889 (make-target-directory): Remove.
19890 (subdir_install): Remove.
19891 (routines): Remove.
19898 * manual/.gitignore: Remove, it's not needed anymore.
19899 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19901 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19903 (texis): Renamed to $(objpfx)texis.
19904 (texis-path): New, contains path to generated files.
19905 (chapters.%): Use texis-path for complete path, add extra argument
19907 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19908 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19909 (summary,texi, stamp-summary): Use complete path of
19910 files. Generate files in build dir.
19911 (dir-add.texi): Build in build dir.
19912 (libm-err.texi,stamp-libm-err): Likewise.
19913 (version.texi, stamp-version): Likewise.
19914 (.%c.texi): Likewise.
19915 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19916 (mostlyclean): Remove target.
19917 (realclean): Remove target.
19918 (generated): Add new variable with contents from mostlyclean and
19919 realclean, remove entries duplicated in common-mostlyclean, add
19920 stamp-libm-err and stamp-version.
19921 (generated-dirs): Add libc directory.
19922 ($(inst_infodir)/libc.info): Install files from build dir.
19924 * manual/install.texi (Configuring and compiling): Adjust since
19925 the info files are not part of the tar ball anymore.
19927 2012-05-14 Andreas Jaeger <aj@suse.de>
19929 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19932 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19936 to 2.2.0 where earlier.
19937 * sysdeps/unix/sysv/linux/configure: Regenerated.
19938 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19939 Remove conditional code.
19940 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19941 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19942 Remove conditional code.
19943 [!__NR_lchown]: Likewise.
19944 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19945 [__NR_lchown]: Likewise.
19946 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19947 comment referencing __ASSUME_LCHOWN_SYSCALL.
19948 * sysdeps/unix/sysv/linux/i386/sigaction.c
19949 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19950 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19951 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19952 Remove conditional code.
19953 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19954 (__protocol_available): Remove #if 0 code.
19955 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19957 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19958 * sysdeps/unix/sysv/linux/kernel-features.h
19959 (__ASSUME_GETCWD_SYSCALL): Don't define.
19960 (__ASSUME_REALTIME_SIGNALS): Likewise.
19961 (__ASSUME_PREAD_SYSCALL): Likewise.
19962 (__ASSUME_PWRITE_SYSCALL): Likewise.
19963 (__ASSUME_POLL_SYSCALL): Likewise.
19964 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19965 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19967 (__ASSUME_SIOCGIFNAME): Don't define.
19968 (__ASSUME_MSG_NOSIGNAL): Likewise.
19969 (__ASSUME_SENDFILE): Define unconditionally.
19970 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19971 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19973 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19974 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19975 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19976 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19977 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19978 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19979 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19981 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19984 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19985 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19987 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19990 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19993 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19996 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20002 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20004 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20005 Remove conditional code.
20006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20007 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20008 Remove conditional code.
20009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20010 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20011 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20012 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20013 Remove conditional code.
20014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20015 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20016 Remove conditional code.
20017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20018 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20019 Remove conditional code.
20020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20021 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20022 Remove conditional code.
20023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20024 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20025 Remove conditional code.
20026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20027 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20030 * sysdeps/unix/sysv/linux/sigaction.c
20031 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20032 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20033 * sysdeps/unix/sysv/linux/sigpending.c
20034 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20035 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20036 * sysdeps/unix/sysv/linux/sigprocmask.c
20037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20039 * sysdeps/unix/sysv/linux/sigsuspend.c
20040 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20041 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20042 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20043 (__libc_missing_rt_sigs): Remove.
20044 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20045 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20046 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20047 Remove conditional code.
20048 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20049 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20051 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20052 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20053 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20054 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20056 2012-05-14 Andreas Jaeger <aj@suse.de>
20058 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20059 it's not used in glibc.
20060 (__coshm1): Likewise.
20061 (__acosh1p): Likewise.
20064 * manual/string.texi (Copying and Concatenation): Add missing
20065 variable in concat example.
20066 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20071 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20072 __builtin_clzl with __builtin_clzll.
20074 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20077 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20080 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20082 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20083 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20084 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20085 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20087 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20089 * NEWS: Update ia64 info.
20091 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20093 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20096 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20098 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20099 * sysdeps/unix/syscalls.list (dup3): Likewise.
20100 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20101 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20103 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20105 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20106 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20108 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20110 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20112 (TLS_IE): Use mov/add instead of movq/addq to load thread
20114 (TLS_GD_PREFIX): New.
20117 2012-05-11 David S. Miller <davem@davemloft.net>
20119 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20120 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20121 (_FPU_SETCW): Likewise.
20123 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20125 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20126 is 32-byte aligned.
20128 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20131 * iconvdata/gb18030.c: Update tables.
20132 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20133 characters specially.
20134 (BODY for TO_LOOP): Add encoding of missing ranges.
20136 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20139 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20140 * sysdeps/mach/hurd/dup3.c: Likewise.
20141 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20142 * sysdeps/powerpc/memmove.c:: Likewise.
20144 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20147 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20149 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20151 * elf/elf.h (R_X86_64_RELATIVE64): New.
20152 (R_X86_64_NUM): Updated.
20153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20154 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20155 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20156 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20157 tst-quad1pie tst-quad2pie
20158 (modules-names): Add tst-quadmod1 tst-quadmod2.
20159 ($(objpfx)tst-quad1): New dependency.
20160 ($(objpfx)tst-quad2): Likewise.
20161 ($(objpfx)tst-quad1pie): Likewise.
20162 ($(objpfx)tst-quad2pie): Likewise.
20163 * sysdeps/x86_64/tst-quad1.c: New file.
20164 * sysdeps/x86_64/tst-quad1pie.c: New file.
20165 * sysdeps/x86_64/tst-quad2.c: Likewise.
20166 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20167 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20168 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20169 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20170 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20172 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20174 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20175 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20176 * streams/stropts.h (t_scalar_t): Define type.
20178 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20179 (_PATH_PRESERVE): Set to "/var/lib".
20180 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20182 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20185 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20186 if __dir_mkfile succeeded.
20188 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20189 checking for _hurd_dtablesize. Unlock it right after having
20190 finished _hurd_dtable allocation.
20192 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20194 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20195 * sysdeps/mach/hurd/configure: Regenerated.
20196 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20197 special-casing to...
20198 * sysdeps/gnu/configure.in: ... this new file.
20199 * sysdeps/unix/sysv/linux/configure: Regenerated.
20200 * sysdeps/gnu/configure: New generated file.
20202 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20203 for Linux: use nsec instead of usec, as well as:
20204 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20205 members of type struct timespec.
20206 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20208 (struct stat64): Likewise.
20209 (_STATBUF_ST_NSEC): New macro.
20210 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20212 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20213 __strtoul_internal rather than strtoul.
20215 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20217 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20220 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20222 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20223 which preserves existing values.
20224 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20226 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20228 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20229 TIMEOUT values. Return EINVAL for NFDS values either negative or
20230 greater than FD_SETSIZE.
20232 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20234 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20235 allocated, call __vm_protect to finish enabling the existing space, and
20236 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20237 allocate the remainder.
20239 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20241 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20242 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20244 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20246 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20247 sysdeps/mach/hurd/readlink.c.
20249 * posix/tst-sysconf.c (posix_options): Only use
20250 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20251 _POSIX_SYNCHRONIZED_IO when they are defined
20252 * sysdeps/mach/hurd/bits/posix_opt.h:
20253 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20254 (_XOPEN_REALTIME): Undefine macro.
20255 (_XOPEN_REALTIME_THREADS): Undefine macro.
20256 (_XOPEN_SHM): Undefine macro.
20257 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20259 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20261 (_POSIX_ASYNC_IO): Undefine macro.
20262 (_POSIX_PRIORITIZED_IO): Undefine macro.
20263 (_POSIX_SPIN_LOCKS): Define macro to -1.
20265 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20266 SA_NODEFER, SA_RESETHAND.
20267 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20268 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20271 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20273 * elf/Makefile (pldd-modules): Define unconditionally.
20275 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20277 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20279 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20281 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20282 Return ENOENT when name is empty.
20283 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20287 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20289 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20293 Fix mlock in all cases except non-readable pages.
20294 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20295 instead of VM_PROT_ALL as parameter to __vm_wire function.
20297 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20298 (__mkdir): When path is `/', just fail with EEXIST.
20299 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20303 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20304 <sys/uio.h> (for writev).
20305 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20306 and <sys/param.h> (for MIN).
20308 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20310 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20311 REQUESTED_TIME. Properly set the remaining time and return EINTR
20314 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20316 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20317 Depend on against $(link-rpcuserlibs).
20319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20321 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20322 (__libc_stack_end): Do not use attribute_relro.
20323 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20324 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20325 to libthread-provided value.
20326 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20332 * bits/libc-lock.h (__libc_once_get): New macro.
20333 * sysdeps/mach/bits/libc-lock.h: Likewise.
20334 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20336 instead of using implementation details.
20338 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20339 * libio/freopen.c: Likewise.
20340 * libio/freopen64.c: Likewise.
20341 * misc/syslog.c: Likewise.
20342 * nscd/connections.c: Likewise.
20343 * nscd/netgroupcache.c: Likewise.
20344 * sysdeps/posix/getcwd.c: Likewise.
20346 2012-05-10 Roland McGrath <roland@hack.frob.com>
20348 * math/w_ilogbf.c: Add #include <limits.h>.
20350 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20352 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20353 path instead of returning without unlocking.
20355 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20356 immediate-write ioctls.
20357 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20361 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20362 __builtin_frame_address instead of making assumptions about the
20363 location of the return address relative to DATA. Force early load of
20364 the return address.
20365 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20366 __builtin_frame_address.
20369 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20370 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20371 implement dup3 and do some further code clean-ups.
20372 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20373 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20375 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20377 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20379 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20380 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20381 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20382 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20383 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20386 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20387 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20388 when handler == SIG_ERR, not when handler != SIG_ERR.
20390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20392 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20393 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20396 accept4 for GNU Hurd.
20397 * include/sys/socket.h (__libc_accept4): New prototype.
20398 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20399 to implement __libc_accept4.
20400 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20402 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20404 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20405 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20406 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20407 signal-defines.sym.
20409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20411 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20413 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20415 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20416 assertion on O_CLOEXEC flag.
20417 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20418 * hurd/intern-fd.c: Likewise.
20419 * hurd/port2fd.c: Likewise.
20421 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20424 * bits/in.h (IPV6_PKTINFO): Define new macro.
20425 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20427 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20432 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20434 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20435 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20438 * math/libm-test.inc (logb_test) : Additional logb tests.
20440 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20441 Andreas Jaeger <aj@suse.de>
20443 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20444 * configure: Regenerated.
20445 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20446 * config.make.in (link-obsolete-rpc): New substituted variable.
20447 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20448 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20449 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20450 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20451 so that libc.a contains the symbols.
20452 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20453 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20454 * sunrpc/auth_none.c: Likewise.
20455 * sunrpc/auth_unix.c: Likewise.
20456 * sunrpc/authdes_prot.c: Likewise.
20457 * sunrpc/authuxprot.c: Likewise.
20458 * sunrpc/clnt_gen.c: Likewise.
20459 * sunrpc/clnt_perr.c: Likewise.
20460 * sunrpc/clnt_raw.c: Likewise.
20461 * sunrpc/clnt_simp.c: Likewise.
20462 * sunrpc/clnt_tcp.c: Likewise.
20463 * sunrpc/clnt_udp.c: Likewise.
20464 * sunrpc/clnt_unix.c: Likewise.
20465 * sunrpc/des_crypt.c: Likewise.
20466 * sunrpc/des_soft.c: Likewise.
20467 * sunrpc/get_myaddr.c: Likewise.
20468 * sunrpc/key_call.c: Likewise.
20469 * sunrpc/key_prot.c: Likewise.
20470 * sunrpc/netname.c: Likewise.
20471 * sunrpc/pm_getmaps.c: Likewise.
20472 * sunrpc/pm_getport.c: Likewise.
20473 * sunrpc/pmap_clnt.c: Likewise.
20474 * sunrpc/pmap_prot.c: Likewise.
20475 * sunrpc/pmap_prot2.c: Likewise.
20476 * sunrpc/pmap_rmt.c: Likewise.
20477 * sunrpc/publickey.c: Likewise.
20478 * sunrpc/rpc_cmsg.c: Likewise.
20479 * sunrpc/rpc_common.c: Likewise.
20480 * sunrpc/rpc_dtable.c: Likewise.
20481 * sunrpc/rpc_prot.c: Likewise.
20482 * sunrpc/rpc_thread.c: Likewise.
20483 * sunrpc/rtime.c: Likewise.
20484 * sunrpc/svc.c: Likewise.
20485 * sunrpc/svc_auth.c: Likewise.
20486 * sunrpc/svc_raw.c: Likewise.
20487 * sunrpc/svc_run.c: Likewise.
20488 * sunrpc/svc_tcp.c: Likewise.
20489 * sunrpc/svc_udp.c: Likewise.
20490 * sunrpc/svc_unix.c: Likewise.
20491 * sunrpc/svcauth_des.c: Likewise.
20492 * sunrpc/xcrypt.c: Likewise.
20493 * sunrpc/xdr.c: Likewise.
20494 * sunrpc/xdr_array.c: Likewise.
20495 * sunrpc/xdr_float.c: Likewise.
20496 * sunrpc/xdr_intXX_t.c: Likewise.
20497 * sunrpc/xdr_mem.c: Likewise.
20498 * sunrpc/xdr_rec.c: Likewise.
20499 * sunrpc/xdr_ref.c: Likewise.
20500 * sunrpc/xdr_sizeof.c: Likewise.
20501 * sunrpc/xdr_stdio.c: Likewise.
20503 2012-05-10 Roland McGrath <roland@hack.frob.com>
20505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20506 change. Update copyright years.
20508 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20510 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20512 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20513 Joseph Myers <joseph@codesourcery.com>
20514 Paul Pluzhnikov <ppluzhnikov@google.com>
20517 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20519 [cross-compiling] (extra-libs): Likewise.
20520 [cross-compiling] (extra-libs-others): Likewise.
20521 [cross-compiling] (librpcsvc-routines): Likewise.
20522 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20523 [cross-compiling] (omit-deps): Likewise.
20524 (sunrpc-CPPFLAGS): New variable.
20525 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20526 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20527 (cross-rpcgen-objs): New variable.
20528 (extra-objs): Append $(cross-rpcgen-objs).
20529 ($(cross-rpcgen-objs)): New rule.
20530 ($(objpfx)cross-rpcgen): Likewise.
20531 (rpcgen-cmd): Define to use $(built-program-file). Expand
20533 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20534 ($(objpfx)x%.stmp): Likewise.
20535 * sunrpc/proto.h [IS_IN_build] (_): Define.
20536 [IS_IN_build] (_libc_intl_domainname): Likewise.
20538 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20540 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20541 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20542 and R_X86_64_TPOFF64.
20544 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20546 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20547 sysdeps/unix/sysv/syscalls.list.
20550 * sysdeps/unix/sysv/syscalls.list: Remove file.
20552 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20555 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20556 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20557 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20558 (__LC_IDENTIFICATION): Make these macros useful in #if
20559 expressions, as required by C99.
20561 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20563 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20564 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20567 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20569 * stdlib/longlong.h: Updated from GCC.
20571 2012-05-09 Andreas Jaeger <aj@suse.de>
20573 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20574 default is first entry.
20575 (run_mode): Set type.
20576 (main): Remove informal message about syslog.
20577 (options): Fix typo.
20580 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20583 (llrintf): Likewise.
20584 (llrint): Likewise.
20587 (nearbyint): Likewise.
20588 (nearbyintf): Likewise.
20590 2012-05-09 Andreas Jaeger <aj@suse.de>
20591 Pedro Alves <palves@redhat.com>
20593 * nscd/nscd.c (run_mode): Use enum.
20594 (main): Cleanup coding style issue.
20596 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20597 Andreas Jaeger <aj@suse.de>
20599 * nscd/nscd.c (go_background): Replaced with...
20600 (run_mode): ... this.
20601 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20602 (options): Add -F --foreground.
20603 (main): Implement it.
20604 (parse_opt): Parse it.
20606 2012-05-09 Andreas Jaeger <aj@suse.de>
20609 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20610 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20611 -Wconversion warning.
20612 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20615 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20617 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20619 (LC_ALL): Use macro-int-constant.
20620 (LC_COLLATE): Likewise.
20621 (LC_CTYPE): Likewise.
20622 (LC_MESSAGES): Likewise.
20623 (LC_MONETARY): Likewise.
20624 (LC_NUMERIC): Likewise.
20625 (LC_TIME): Likewise.
20626 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20627 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20629 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20631 [C99-based standards] (float_t): Expect type.
20632 [C99-based standards] (double_t): Expect type.
20633 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20635 [C99-based standards] (HUGE_VALL): Likewise.
20636 [C99-based standards] (INFINITY): Likewise.
20637 [C99-based standards] (NAN): Likewise.
20638 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20639 [C99-based standards] (FP_NAN): Likewise.
20640 [C99-based standards] (FP_NORMAL): Likewise.
20641 [C99-based standards] (FP_SUBNORMAL): Likewise.
20642 [C99-based standards] (FP_ZERO): Likewise.
20643 [C99-based standards] (FP_FAST_FMA): Use
20644 optional-macro-int-constant. Specify type. Require == 1.
20645 [C99-based standards] (FP_FAST_FMAF): Likewise.
20646 [C99-based standards] (FP_FAST_FMAL): Likewise.
20647 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20648 [C99-based standards] (FP_ILOGBNAN): Likewise.
20649 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20651 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20652 [C99-based standards] (math_errhandling): Specify type.
20653 [ISO99 || ISO11] (signgam): Do not allow.
20654 [non-C99-based standards] (copysignf): Do not allow.
20655 [non-C99-based standards] (exp2f): Likewise.
20656 [non-C99-based standards] (log2f): Likewise.
20657 [non-C99-based standards] (modff): Allow.
20658 [non-C99-based standards] (erff): Do not allow.
20659 [non-C99-based standards] (erfcf): Likewise.
20660 [non-C99-based standards] (gammaf): Likewise.
20661 [non-C99-based standards] (hypotf): Likewise.
20662 [non-C99-based standards] (j0f): Likewise.
20663 [non-C99-based standards] (j1f): Likewise.
20664 [non-C99-based standards] (jnf): Likewise.
20665 [non-C99-based standards] (lgammaf): Likewise.
20666 [non-C99-based standards] (tgammaf): Likewise.
20667 [non-C99-based standards] (y0f): Likewise.
20668 [non-C99-based standards] (y1f): Likewise.
20669 [non-C99-based standards] (ynf): Likewise.
20670 [non-C99-based standards] (isnanf): Likewise.
20671 [non-C99-based standards] (acoshf): Likewise.
20672 [non-C99-based standards] (asinhf): Likewise.
20673 [non-C99-based standards] (atanhf): Likewise.
20674 [non-C99-based standards] (cbrtf): Likewise.
20675 [non-C99-based standards] (expm1f): Likewise.
20676 [non-C99-based standards] (ilogbf): Likewise.
20677 [non-C99-based standards] (log1pf): Likewise.
20678 [non-C99-based standards] (logbf): Likewise.
20679 [non-C99-based standards] (nextafterf): Likewise.
20680 [non-C99-based standards] (remainderf): Likewise.
20681 [non-C99-based standards] (rintf): Likewise.
20682 [non-C99-based standards] (scalbf): Likewise.
20683 [non-C99-based standards] (copysignl): Likewise.
20684 [non-C99-based standards] (exp2l): Likewise.
20685 [non-C99-based standards] (log2l): Likewise.
20686 [non-C99-based standards] (modfl): Allow.
20687 [non-C99-based standards] (erfl): Do not allow.
20688 [non-C99-based standards] (erfcl): Likewise.
20689 [non-C99-based standards] (gammal): Likewise.
20690 [non-C99-based standards] (hypotl): Likewise.
20691 [non-C99-based standards] (j0l): Likewise.
20692 [non-C99-based standards] (j1l): Likewise.
20693 [non-C99-based standards] (jnl): Likewise.
20694 [non-C99-based standards] (lgammal): Likewise.
20695 [non-C99-based standards] (tgammal): Likewise.
20696 [non-C99-based standards] (y0l): Likewise.
20697 [non-C99-based standards] (y1l): Likewise.
20698 [non-C99-based standards] (ynl): Likewise.
20699 [non-C99-based standards] (isnanl): Likewise.
20700 [non-C99-based standards] (acoshl): Likewise.
20701 [non-C99-based standards] (asinhl): Likewise.
20702 [non-C99-based standards] (atanhl): Likewise.
20703 [non-C99-based standards] (cbrtl): Likewise.
20704 [non-C99-based standards] (expm1l): Likewise.
20705 [non-C99-based standards] (ilogbl): Likewise.
20706 [non-C99-based standards] (log1pl): Likewise.
20707 [non-C99-based standards] (logbl): Likewise.
20708 [non-C99-based standards] (nextafterl): Likewise.
20709 [non-C99-based standards] (remainderl): Likewise.
20710 [non-C99-based standards] (rintl): Likewise.
20711 [non-C99-based standards] (scalbl): Likewise.
20712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20713 [non-C99-based standards] (FP_*): Do not allow.
20714 [C99-based standards] (FP_*): Change to
20715 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20716 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20718 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20719 (SIG_ERR): Likewise.
20720 [X/Open-based standards] (SIG_HOLD): Likewise.
20721 (SIG_IGN): Likewise.
20722 (SIGABRT): Use macro-int-constant. Specify type. Require
20724 (SIGFPE): Likewise.
20725 (SIGILL): Likewise.
20726 (SIGINT): Likewise.
20727 (SIGSEGV): Likewise.
20728 (SIGTER): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20747 [X/Open-based standards] (SIGTRAP): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20752 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20755 2012-05-08 Ian Wienand <ianw@vmware.com>
20758 * time/tzset.c (__tzset_parse_tz): Update default rules for
20759 daylight time changes in the Energy Policy Act of 2005.
20761 2012-05-09 Andreas Jaeger <aj@suse.de>
20764 * elf/ldconfig.c (parse_conf): Change string to make clear that
20765 ldconfig only issued a warning if ld.so.conf does not exist.
20767 2012-05-08 David S. Miller <davem@davemloft.net>
20769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20770 movxtod instead of popping the value on the stack.
20772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20774 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20776 * config.h.in: Add HAVE_ARM_PCS_VFP.
20778 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20781 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20782 checking but the checks are disabled for any reason.
20784 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20786 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20787 and ELF64_R_TYPE with ELFW(R_TYPE).
20789 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20791 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20792 (ulimit): Likewise.
20794 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20795 (settimeofday): Likewise.
20797 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20799 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20800 a struct th_u2 inside the union, and move tu_block/tu_code into
20801 a new th_u3 union of tu_block/tu_code inside of that. Move
20802 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20803 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20804 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20805 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20806 (th_stuff): Change to th_u1.tu_stuff.
20808 (th_msg): Change to th_u1.th_u2.tu_data.
20810 2012-05-07 David S. Miller <davem@davemloft.net>
20812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20815 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20816 (SETUP_PIC_REG): Use it.
20817 (SETUP_PIC_REG_LEAF): Use it.
20819 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20825 (EXPL_FINITE): Likewise.
20826 (FLDLOG): Likewise.
20827 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20828 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20830 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20832 (EXPL_FINITE): Likewise.
20833 (FLDLOG): Likewise.
20834 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20835 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20837 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20838 test of -max_value argument for long double.
20839 * sysdeps/i386/fpu/libm-test-ulps: Update.
20840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20842 2012-05-06 David S. Miller <davem@davemloft.net>
20844 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20845 quad soft-float symbols whose references which are compiler
20847 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20849 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20853 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20855 (EXPL_FINITE): Likewise.
20856 (FLDLOG): Likewise.
20859 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20860 Adjust comments for base varying.
20861 (__expl_finite): Change alias to EXPL_FINITE.
20862 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20864 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20865 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20866 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20867 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20868 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20870 (EXPL_FINITE): Likewise.
20871 (FLDLOG): Likewise.
20874 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20875 Adjust comments for base varying.
20876 (__expl_finite): Change alias to EXPL_FINITE.
20877 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20882 * math/libm-test.inc (check_float_internal): Correct ulp
20883 calculation for subnormal expected results.
20885 2012-05-06 Andreas Jaeger <aj@suse.de>
20887 * Makeconfig (+math-flags): New, set to -frounding-math.
20888 (+cflags): Add +math-flags so that all of glibc gets compiled with
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20893 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20895 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20901 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20902 (__ieee754_expl): Allow for and saturate large arguments.
20903 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20904 (u_threshold): Likewise.
20905 (__exp): Call __ieee754_exp before checking for overflow and
20907 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20908 (u_threshold): Likewise.
20909 (__expf): Call __ieee754_expf before checking for overflow and
20911 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20912 (u_threshold): Likewise.
20913 (__expl): Call __ieee754_expl before checking for overflow and
20915 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20916 (__ieee754_expl): Allow for and saturate large arguments.
20917 * math/libm-test.inc (exp_test): Add another test. Do not allow
20918 missing overflow exception on overflow.
20919 (expm1_test): Do not allow missing overflow exception on overflow.
20921 * sysdeps/i386/fpu/e_expl.c: Move to ...
20922 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20923 rather than using inline asm.
20924 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20925 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20926 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20928 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20931 (signal): Likewise.
20935 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20937 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20938 sysdeps/unix/common/syscalls.list.
20939 (fchmod): Likewise.
20940 (fchown): Likewise.
20941 (ftruncate): Likewise.
20942 (getrusage): Likewise.
20943 (gettimeofday): Likewise.
20944 (setpgid): Likewise.
20945 (setregid): Likewise.
20946 (setreuid): Likewise.
20947 (sigaction): Likewise.
20948 (truncate): Likewise.
20949 (vhangup): Likewise.
20950 * sysdeps/unix/common/syscalls.list: Remove file.
20951 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20952 * sysdeps/unix/sysv/linux/Implies: Likewise.
20954 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20956 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20958 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20962 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20965 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20968 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20971 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20974 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20977 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20980 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20984 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20988 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20991 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20995 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20999 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21001 * sysdeps/unix/common/bits/dirent.h: Remove file.
21002 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21004 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21005 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21006 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21007 * sysdeps/unix/bsd/isatty.c: Likewise.
21008 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21009 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21010 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21012 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21015 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21016 long double comparison inaccuracies.
21017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21020 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21022 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21025 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21029 nonzero digits before rounding a hex value.
21030 * stdlib/tst-strtod.c (tests): Add another test.
21032 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21034 * sysdeps/s390/fpu/libm-test-ulps: Update.
21036 2012-05-03 Andreas Jaeger <aj@suse.de>
21038 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21039 does not get optimized out.
21040 (malloc_opt_barrier): New.
21042 2012-05-03 Andreas Jaeger <aj@suse.de>
21043 Roland McGrath <roland@hack.frob.com>
21045 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21046 intermediate file deletion.
21047 (generated): Add .symlist files.
21049 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21052 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21053 Redirect under this condition.
21054 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21055 [__USE_GNU] (__dprintf_chk): Not under this condition.
21056 [__USE_GNU] (__vdprintf_chk): Likewise.
21057 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21058 under this condition.
21059 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21060 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21061 [__USE_XOPEN2K8] (vdprintf): Likewise.
21062 [__USE_GNU] (__dprintf_chk): Not under this condition.
21063 [__USE_GNU] (__vdprintf_chk): Likewise.
21064 [__USE_GNU] (dprintf): Likewise.
21065 [__USE_GNU] (vdprintf): Likewise.
21067 2012-05-03 Roland McGrath <roland@hack.frob.com>
21069 * elf/Makefile (common-generated): Set this instead of generated for
21070 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21071 $(all-built-dso)-derived lists.
21073 2012-05-03 Andreas Jaeger <aj@suse.de>
21075 * sysdeps/i386/fpu/libm-test-ulps: Update.
21078 * FAQ.in: Likewise.
21079 * scripts/gen-FAQ.pl: Likewise.
21080 * manual/install.texi (Installation): Point to online location of
21082 * Makefile (files-for-dist): Remove FAQ.
21085 2012-05-02 Allan McRae <allan@archlinux.org>
21087 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21088 (LDFLAGS-reldepmod5.so): Likewise.
21089 (LDFLAGS-reldep6mod1.so): Likewise.
21090 (LDFLAGS-reldep6mod4.so): Likewise.
21091 (LDFLAGS-reldep8mod3.so): Likewise.
21092 (LDFLAGS-unload4mod1.so): Likewise.
21093 (LDFLAGS-unload4mod2.so): Likewise.
21094 (LDFLAGS-tst-initorder): Likewise.
21095 (LDFLAGS-tst-initordera2.so): Likewise.
21096 (LDFLAGS-tst-initordera3.so): Likewise.
21097 (LDFLAGS-tst-initordera4.so): Likewise.
21098 (LDFLAGS-tst-initorderb2.so): Likewise.
21099 (LDFLAGS-noload): Likewise.
21100 (LDFLAGS-next): Likewise.
21101 (LDFLAGS-order2mod1.so): Likewise.
21102 (LDFLAGS-order2mod2.so): Likewise.
21103 (LDFLAGS-tst-initorder2): Likewise.
21104 (LDFLAGS-tst-initorder2a.so): Likewise.
21105 (LDFLAGS-tst-initorder2b.so): Likewise.
21106 (LDFLAGS-tst-initorder2c.so): Likewise.
21107 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21109 2012-05-02 David S. Miller <davem@davemloft.net>
21111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21113 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21116 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21118 2012-05-02 Andreas Jaeger <aj@suse.de>
21120 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21121 since we manipulate rounding mode.
21122 (CPPFLAGS-test-idouble.c): Likewise.
21123 (CPPFLAGS-test-ifloat.c): Likewise.
21124 (CFLAGS-test-ldouble.c): Likewise.
21125 (CFLAGS-test-double.c): Likewise.
21126 (CFLAGS-test-float.c): Likewise.
21127 (CFLAGS-test-misc.c): Likewise.
21128 (CFLAGS-test-test-fenv.c): Likewise.
21130 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21134 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21135 comparisons to determine direction to adjust input.
21137 2012-05-01 Roland McGrath <roland@hack.frob.com>
21139 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21140 output to the target.
21142 * scripts/localplt.awk: New file.
21143 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21144 (check-localplt-CFLAGS): Variable removed.
21145 ($(all-built-dso:=.jmprel)): New static pattern rule.
21146 (generated): Add those targets.
21147 (localplt-built-dso): New variable.
21148 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21150 * elf/check-localplt.c: File removed.
21152 * scripts/check-execstack.awk: New file.
21153 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21154 (check-execstack-CFLAGS): Variable removed.
21155 ($(objpfx)check-execstack.h): Target removed.
21156 ($(objpfx)execstack-default): New target.
21157 (generated): Add that instead of check-execstack.h.
21158 ($(all-built-dso:=.phdr)): New static pattern rule.
21159 (generated): Add those targets.
21160 * elf/check-execstack.c: File removed.
21162 * scripts/check-textrel.awk: New file.
21163 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21164 (check-textrel-CFLAGS): Variable removed.
21165 (all-built-dso): Use := to define.o
21166 ($(all-built-dso:=.dyn)): New static pattern rule.
21167 (generated): Add those targets.
21168 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21169 * config.make.in (READELF): New substituted variable.
21170 * elf/check-textrel.c: File removed.
21172 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21174 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21176 * conform/data/ctype.h-data [C99-based standards] (isblank):
21178 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21179 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21181 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21182 Specify type. Require positive value.
21183 (EILSEQ): Likewise.
21184 (ERANGE): Likewise.
21185 [ISO || POSIX] (EILSEQ): Do not expect.
21186 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21187 Specify type. Require positive value.
21188 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21189 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21190 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21191 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21192 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21193 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21194 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21195 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21196 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21197 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21198 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21199 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21200 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21201 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21202 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21203 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21204 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21205 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21206 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21207 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21208 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21209 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21210 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21211 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21212 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21213 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21214 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21215 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21216 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21217 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21218 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21219 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21220 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21221 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21222 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21223 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21224 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21225 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21226 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21227 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21228 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21229 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21230 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21231 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21232 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21233 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21234 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21235 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21236 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21237 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21238 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21239 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21240 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21241 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21242 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21243 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21244 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21245 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21246 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21247 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21248 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21249 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21251 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21252 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21254 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21256 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21257 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21258 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21262 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21263 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21264 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21266 (FLT_ROUNDS): Expect as macro, not constant.
21267 (FLT_MANT_DIG): Use macro-int-constant.
21268 (DBL_MANT_DIG): Likewise.
21269 (LDBL_MANT_DIG): Likewise.
21270 (FLT_DIG): Likewise.
21271 (DBL_DIG): Likewise.
21272 (LDBL_DIG): Likewise.
21273 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21274 (DBL_MIN_EXP): Likewise.
21275 (LDBL_MIN_EXP): Likewise.
21276 (FLT_MAX_EXP): Use macro-int-constant.
21277 (DBL_MAX_EXP): Likewise.
21278 (LDBL_MAX_EXP): Likewise.
21279 (FLT_MAX_10_EXP): Likewise.
21280 (DBL_MAX_10_EXP): Likewise.
21281 (LDBL_MAX_10_EXP): Likewise.
21282 (FLT_MAX): Use macro-constant.
21283 (DBL_MAX): Likewise.
21284 (LDBL_MAX): Likewise.
21285 (FLT_EPSILON): Use macro-constant. Give upper bound.
21286 (DBL_EPSILON): Likewise.
21287 (LDBL_EPSILON): Likewise.
21288 (FLT_MIN): Likewise.
21289 (DBL_MIN): Likewise.
21290 (LDBL_MIN): Likewise.
21291 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21292 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21293 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21294 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21295 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21296 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21297 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21298 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21299 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21300 [ISO11] (FLT_TRUE_MIN): Likewise.
21301 [ISO11] (LDBL_TRUE_MIN): Likewise.
21302 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21303 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21304 (SCHAR_MIN): Use macro-int-constant. Specify type.
21305 (SCHAR_MAX): Likewise.
21306 (UCHAR_MAX): Likewise.
21307 (CHAR_MIN): Likewise.
21308 (CHAR_MAX): Likewise.
21309 (MB_LEN_MAX): Use macro-int-constant.
21310 (SHRT_MIN): Use macro-int-constant. Specify type.
21311 (SHRT_MAX): Likewise.
21312 (USHRT_MAX): Likewise.
21313 (INT_MAX): Likewise.
21314 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21316 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21318 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21320 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21321 bound negative. Suffix upper bound with "L".
21322 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21324 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21326 [C99-based standards] (LLONG_MAX): Likewise.
21327 [C99-based standards] (ULLONG_MAX): Likewise.
21328 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21330 [ISO11] (max_align_t): Require type.
21331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21333 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21334 from $CFLAGS, without defining away __attribute__ calls.
21335 (checknamespace): Use $CFLAGS_namespace.
21337 * conform/conformtest.pl (@keywords): Only include C99 keywords
21338 for standards based on C99 or C11.
21340 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21342 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21345 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21346 usability of symbols in #if.
21348 * conform/conformtest.pl: If macro or constant types start
21349 "promoted:", expect the symbol to be of the following type
21350 promoted by the integer promotions.
21352 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21353 in one place. Also handle "macro-constant".
21355 * conform/conformtest.pl: Only accept expected macro values with
21356 "==". Parse all "macro" lines in one place.
21357 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21359 * conform/conformtest.pl: Handle braced types on "constant" lines
21360 instead of handling "typed-constant".
21361 * conform/data/signal.h-data: Use "constant" instead of
21364 * conform/conformtest.pl: Handle "optional-" at start of lines in
21365 one place rather than duplicating several cases. Handle each
21366 format of "macro" line with initial "optional-".
21368 * conform/conformtest.pl: Only accept expected constant or
21369 optional-constant values with "==". Parse all "constant" lines in
21370 one place. Parse all "optional-constant" lines in one place.
21371 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21372 * conform/data/fmtmsg.h-data: Likewise.
21373 * conform/data/netinet/in.h-data: Likewise.
21374 * conform/data/tar.h-data: Likewise.
21375 * conform/data/limits.h-data: Use "==" form on "constant" and
21376 "optional-constant" lines.
21378 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21379 Use -std=c99 for XOPEN2K.
21380 (@knownproblems): Remove.
21381 (newtoken): Don't check %isknown.
21383 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21384 Do not expect macro.
21385 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21386 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21387 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21388 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21389 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21390 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21391 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21392 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21393 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21394 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21395 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21396 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21397 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21398 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21399 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21400 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21401 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21402 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21403 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21404 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21405 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21406 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21407 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21408 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21409 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21410 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21411 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21412 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21413 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21414 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21415 [XPG3] (acosh): Likewise.
21416 [XPG3] (asinh): Likewise.
21417 [XPG3] (atanh): Likewise.
21418 [XPG3] (cbrt): Likewise.
21419 [XPG3] (expm1): Likewise.
21420 [XPG3] (ilogb): Likewise.
21421 [XPG3] (log1p): Likewise.
21422 [XPG3] (logb): Likewise.
21423 [XPG3] (nextafter): Likewise.
21424 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21425 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21426 [XPG3] (remainder): Likewise.
21427 [XPG3] (rint): Likewise.
21428 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21429 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21430 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21431 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21432 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21433 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21434 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21435 [UNIX98 || XOPEN2K] (scalb): Expect.
21436 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21437 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21438 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21439 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21440 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21441 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21442 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21443 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21445 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21446 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21454 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21455 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21458 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21459 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21472 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21473 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21474 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21475 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21476 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21477 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21478 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21479 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21480 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21481 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21482 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21483 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21484 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21485 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21486 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21487 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21488 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21489 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21490 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21491 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21492 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21493 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21494 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21495 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21496 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21497 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21498 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21500 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21501 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21502 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21503 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21505 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21506 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21507 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21509 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21510 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21511 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21512 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21513 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21514 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21515 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21516 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21517 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21518 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21519 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21520 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21521 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21522 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21523 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21524 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21525 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21526 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21527 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21528 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21529 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21530 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21531 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21532 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21533 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21534 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21535 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21536 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21537 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21538 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21542 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21543 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21546 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21547 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21551 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21552 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21553 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21558 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21559 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21560 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21561 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21562 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21563 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21564 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21565 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21566 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21567 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21568 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21569 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21570 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21571 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21572 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21574 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21575 _XOPEN_SOURCE_EXTENDED for XPG4.
21577 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21579 * Makeconfig (localtime): Remove variable.
21580 (inst_localtime-file): Likewise.
21582 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21603 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21607 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21608 comparisons to determine direction to adjust input.
21609 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21610 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21611 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21613 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21615 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21617 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21618 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21620 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21622 * math/libm-test.inc (nexttoward_test): Add more tests.
21624 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21627 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21628 in version GLIBC_2.1, not GLIBC_2.0.
21629 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21632 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21635 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21637 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21638 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21639 * math/libm-test.inc (acos_test): Add more tests.
21640 (asin_test): Likewise.
21641 * sysdeps/i386/fpu/libm-test-ulps: Update.
21642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21647 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21648 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21649 * math/libm-test.inc (acos_test_tonearest): New function.
21650 (acos_test_towardzero): Likewise.
21651 (acos_test_downward): Likewise.
21652 (acos_test_upward): Likewise.
21653 (asin_test_tonearest): Likewise.
21654 (asin_test_towardzero): Likewise.
21655 (asin_test_downward): Likewise.
21656 (asin_test_upward): Likewise.
21657 (main): Call the new functions.
21658 * sysdeps/i386/fpu/libm-test-ulps: Update.
21659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21663 * math/e_exp10.c: Include <float.h>.
21664 (__ieee754_exp10): Handle underflow here rather than multiplying
21665 large negative argument by M_LN10.
21666 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21668 * math/e_exp10l.c: Include <float.h>.
21669 (__ieee754_exp10l): Handle underflow here rather than multiplying
21670 large negative argument by M_LN10l.
21671 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21672 spurious overflow exception on underflow.
21674 2012-04-29 Marek Polacek <polacek@redhat.com>
21676 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21677 (__fortify_function): New macro.
21678 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21679 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21680 __extern_always_inline.
21681 * libio/bits/stdio2.h: Likewise.
21682 * libio/bits/stdio.h: Likewise.
21683 * string/string.h: Likewise.
21684 * string/bits/string3.h: Likewise.
21685 * include/stdio.h: Likewise.
21686 * stdlib/bits/stdlib.h: Likewise.
21687 * stdlib/stdlib.h: Likewise.
21688 * rt/bits/mqueue2.h: Likewise.
21689 * rt/mqueue.h: Likewise.
21690 * posix/bits/unistd.h: Likewise.
21691 * posix/unistd.h: Likewise.
21692 * io/bits/poll2.h: Likewise.
21693 * io/bits/fcntl2.h: Likewise.
21694 * io/fcntl.h: Likewise.
21695 * io/sys/poll.h: Likewise.
21696 * misc/bits/syslog.h: Likewise.
21697 * misc/bits/syslog-ldbl.h: Likewise.
21698 * misc/sys/syslog.h: Likewise.
21699 * socket/bits/socket2.h: Likewise.
21700 * socket/sys/socket.h: Likewise.
21701 * debug/tst-chk1.c: Likewise.
21702 * wcsmbs/bits/wchar2.h: Likewise.
21703 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21704 * wcsmbs/wchar.h: Likewise.
21706 2012-04-29 Andreas Jaeger <aj@suse.de>
21708 * Makerules (tests): Remove enable-check-abi protection.
21709 (check-abi-warn): Remove.
21710 (check-abi-%): Remove check-abi-warn usage.
21712 * configure.in: Remove check-abi configure option.
21713 * configure: Regenerated.
21714 * config.make.in (enable-check-abi): Remove.
21716 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21719 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21720 double functions to double *_finite functions.
21723 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21724 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21726 * stdio-common/Makefile (tests): Add tst-sprintf3.
21727 * stdio-common/tst-sprintf3.c: New file.
21729 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21730 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21732 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21734 * conform/conformtest.pl: Remove duplicate typed-constant
21737 2012-04-28 David S. Miller <davem@davemloft.net>
21739 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21740 (check-abi-%): Remove AWK script prerequisite and explicit
21742 (check-abi): Rewrite to just diff the symlist with the abilist.
21743 (config-tls, config-abi-config): Delete, no longer used.
21744 (update-abi-%): Remove AWK script and explicit abilist directory.
21745 (update-abi): Rewrite to simply compare and conditionally copy the
21746 symlist and the sysdep abilist file. Remove update-abi-config
21748 * abilist/ld.abilist: Remove.
21749 * abilist/libBrokenLocale.abilist: Remove.
21750 * abilist/libanl.abilist: Remove.
21751 * abilist/libcrypt.abilist: Remove.
21752 * abilist/libdl.abilist: Remove.
21753 * abilist/librt.abilist: Remove.
21754 * abilist/libthread_db.abilist: Remove.
21755 * abilist/libutil.abilist: Remove.
21756 * scripts/extract-abilist.awk: Remove.
21757 * scripts/merge-abilist.awk: Remove.
21758 * sysdeps/generic/libcidn.abilist: New file.
21759 * sysdeps/generic/libnss_compat.abilist: New file.
21760 * sysdeps/generic/libnss_db.abilist: New file.
21761 * sysdeps/generic/libnss_dns.abilist: New file.
21762 * sysdeps/generic/libnss_files.abilist: New file.
21763 * sysdeps/generic/libnss_hesiod.abilist: New file.
21764 * sysdeps/generic/libnss_nis.abilist: New file.
21765 * sysdeps/generic/libnss_nisplus.abilist: New file.
21766 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21767 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21768 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21771 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21772 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21773 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21774 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21775 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21776 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21777 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21778 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21780 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21781 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21782 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21783 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21785 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21786 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21787 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21788 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21789 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21790 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21792 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21793 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21794 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21796 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21899 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21900 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21901 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21903 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21904 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21905 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21906 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21907 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21908 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21909 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21910 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21911 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21912 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21964 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21966 * conform/conformtest.pl: Fix typo in handling typed-constant from
21969 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21971 * README: Cut down references to pre-2.6 Linux kernels and
21972 Linuxthreads. Update lists of configurations in libc and ports
21973 and sort alphabetically. Say "or newer" with Linux kernel version
21976 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21978 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21981 * math/libm-test.inc (logb_test_downward): New test to expose
21982 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21985 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21988 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21990 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21991 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21993 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21995 * sysdeps/unix/i386/brk.S: Remove file.
21996 * sysdeps/unix/i386/dl-brk.S: Likewise.
21997 * sysdeps/unix/i386/pipe.S: Likewise.
21998 * sysdeps/unix/i386/sigreturn.S: Likewise.
21999 * sysdeps/unix/i386/syscall.S: Likewise.
22000 * sysdeps/unix/i386/vfork.S: Likewise.
22001 * sysdeps/unix/i386/wait.S: Likewise.
22003 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22004 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22006 * configure.in (arm*-none*): Do not allow without
22007 --enable-hacker-mode.
22008 (netbsd*): Remove case setting base_os.
22009 (386bsd*): Likewise.
22010 (freebsd*): Likewise.
22013 (sunos*): Likewise.
22014 (ultrix*): Likewise.
22015 (newsos*): Likewise.
22016 (dynix*): Likewise.
22022 (minix*): Likewise.
22023 (irix4*): Likewise.
22024 (irix6*): Likewise.
22025 (solaris[2-9]*): Likewise.
22027 * configure: Regenerated.
22029 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22032 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22033 overflow or cancellation in calculating denominator.
22034 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22036 down expression to avoid unexpected rounding in newer GCCs.
22037 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22039 2012-04-26 David S. Miller <davem@davemloft.net>
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22042 long-double compat symbols.
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22057 2012-04-25 David S. Miller <davem@davemloft.net>
22059 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22060 HWCAP_* values only after the memory barriers have been defined.
22061 (atomic_full_barrier): Define.
22062 (atomic_read_barrier): Define.
22063 (atomic_write_barrier): Define.
22065 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22067 * shlib-versions: Add libgcc_s version information.
22068 * sysdeps/generic/libgcc_s.h: Remove.
22069 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22071 * sysdeps/gnu/unwind-resume.c: Likewise.
22072 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22074 2012-04-25 David S. Miller <davem@davemloft.net>
22076 * sysdeps/unix/sparc/brk.S: Delete.
22077 * sysdeps/unix/sparc/dl-brk.S: Delete.
22078 * sysdeps/unix/sparc/pipe.S: Delete.
22079 * sysdeps/unix/sparc/sysdep.S: Delete.
22080 * sysdeps/unix/sparc/sysdep.h: Delete.
22081 * sysdeps/unix/sparc/vfork.S: Delete.
22082 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22083 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22084 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22085 ret_ERRVAL, r0, r1, MOVE): Define.
22086 (JUMPTARGET): Remove.
22087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22088 sysdeps/unix/sparc/sysdep.h
22089 (ENTRY, END): Remove.
22090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22092 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22094 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22095 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22098 * timezone/README: Update upstream location and email address for
22100 * timezone/zdump.c: Update from tzcode 2012b.
22101 * timezone/zic.c: Likewise.
22103 * configure.in (libc_cv_as_needed): Remove test.
22104 * configure: Regenerated.
22105 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22106 conditional definition.
22107 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22108 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22109 * config.make.in (have-as-needed): Remove variable.
22111 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22112 Paul Pluzhnikov <ppluzhnikov@google.com>
22114 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22117 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22119 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22120 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22121 * sysdeps/sh/strlen.S: Likewise.
22123 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22125 * sysdeps/unix/fork.S: Remove file.
22126 * sysdeps/unix/i386/fork.S: Likewise.
22127 * sysdeps/unix/sparc/fork.S: Likewise.
22129 * sysdeps/unix/system.c: Remove file.
22130 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22132 * sysdeps/unix/getegid.S: Remove file.
22133 * sysdeps/unix/geteuid.S: Likewise.
22135 2012-04-24 Roland McGrath <roland@hack.frob.com>
22137 * scripts/check-localplt.awk: New file.
22138 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22140 * scripts/data/localplt-generic.data: Add a comment.
22142 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22143 NODE when __dir_mkfile failed.
22144 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22145 Reported by Ludovic Courtès <ludo@gnu.org>.
22147 2012-04-24 Andreas Jaeger <aj@suse.de>
22149 * Makerules (common-clean): Also remove gen-as-const-headers
22152 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22154 * Makerules (native-compile): Do not change working directory for
22155 build. Use $(OUTPUT_OPTION) in command.
22156 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22158 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22161 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22162 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22163 * math/libm-test.inc (floor_test): Add more tests.
22164 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22166 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22168 * sysdeps/unix/getdents.c: Remove file.
22169 * sysdeps/unix/sysv/getdents.c: Likewise.
22170 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22172 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22173 sysdeps/unix/mman/syscalls.list.
22175 (mprotect): Likewise.
22177 (munmap): Likewise.
22178 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22179 * sysdeps/unix/mman/syscalls.list: Remove.
22180 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22182 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22183 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22184 * configure: Regenerated.
22185 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22186 $(libgcc_s_suffix).
22187 * config.make.in (libgcc_s_suffix): Remove variable.
22189 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22191 * sysdeps/unix/sysv/gethostname.c: Move to ...
22192 * sysdeps/posix/gethostname.c: ... here.
22194 * sysdeps/unix/execve.S: Remove file.
22196 * sysdeps/unix/_exit.S: Remove file.
22198 2012-04-23 Andreas Jaeger <aj@suse.de>
22201 * manual/Makefile: Remove make dist support, there's no
22202 need for a stand-alone documentation tar ball.
22203 (TEXI2DVI): Define always, it's not in Makeconfig.
22206 (edition): Removed.
22207 (glibc-doc-$(edition).tar): Removed
22211 (ETAGS): Remove, it's in Makeconfig.
22212 (move-if-change): Remove, it's in Makeconfig.
22214 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22217 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22218 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22219 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22220 (strtod_l, strtof_l, strtold_l): Remove __wur.
22221 It is not necessarily an error to ignore strtol's return value.
22222 One can reliably look at the stored endptr to decide whether
22223 the number had valid syntax.
22225 2012-04-21 Andreas Jaeger <aj@suse.de>
22228 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22230 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22232 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22233 * sysdeps/unix/sysv/Versions: Remove file.
22235 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22240 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22244 version from __vm86.
22246 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22248 * sysdeps/unix/common/lxstat.c: Remove file.
22249 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22251 * sysdeps/unix/sysv/Makefile: Remove file.
22253 * sysdeps/unix/sysv/direct.h: Remove file.
22255 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22256 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22257 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22258 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22259 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22260 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22261 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22263 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22265 * sysdeps/unix/xmknod.c: Remove file.
22266 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22268 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22270 * sysdeps/unix/sysv/i386/time.S: Remove file.
22272 * sysdeps/unix/fxstat.c: Remove file.
22273 * sysdeps/unix/xstat.c: Likewise.
22274 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22276 * sysdeps/unix/sysv/sigaction.c: Remove file.
22278 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22279 (sysdep_headers): Remove variable.
22280 [termio.h not in sysdep_headers] (generated): Likewise.
22281 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22282 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22283 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22284 * sysdeps/unix/sysv/tcflow.c: Likewise.
22285 * sysdeps/unix/sysv/tcflush.c: Likewise.
22286 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22287 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22288 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22289 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22290 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22292 * sysdeps/unix/siglist.c: Remove file.
22294 * sysdeps/unix/getppid.S: Remove file.
22296 * sysdeps/unix/mkdir.c: Remove file.
22297 * sysdeps/unix/rmdir.c: Likewise.
22299 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22301 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22303 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22304 errlist-compat value.
22306 2012-04-18 David S. Miller <davem@davemloft.net>
22308 * sysdeps/generic/memcopy.h (reg_char): Delete.
22309 * debug/strcat_chk.c: Use char, not reg_char.
22310 * debug/strcpy_chk.c: Likewise.
22311 * debug/strncat_chk.c: Likewise.
22312 * debug/strncpy_chk.c: Likewise.
22313 * string/memchr.c: Likewise.
22314 * string/memrchr.c: Likewise.
22315 * string/rawmemchr.c: Likewise.
22316 * string/strcat.c: Likewise.
22317 * string/strchr.c: Likewise.
22318 * string/strchrnul.c: Likewise.
22319 * string/strcmp.c: Likewise.
22320 * string/strcpy.c: Likewise.
22321 * string/strncat.c: Likewise.
22322 * string/strncmp.c: Likewise.
22323 * string/strncpy.c: Likewise.
22325 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22327 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22328 __builtin_memcopy is called when src and dest ranges are known to not
22331 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22333 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22334 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22335 fwd_align_merge macro call.
22336 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22337 bwd_align_merge macro call.
22338 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22340 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22342 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22343 bwd_align_merge macros.
22344 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22345 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22346 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22348 2012-04-18 David S. Miller <davem@davemloft.net>
22350 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22352 2012-04-18 Andreas Jaeger <aj@suse.de>
22355 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22356 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22357 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22359 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22360 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22361 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22363 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22364 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22365 Adjust for changed ldbl-128 files.
22367 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22368 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22371 2012-04-17 David S. Miller <davem@davemloft.net>
22373 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22375 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22377 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22378 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22379 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22380 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22381 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22382 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22384 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22387 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22388 * math/libm-test.inc: Add ilogb errno and exception tests.
22389 * math/w_ilogb.c: New file: ilogb wrapper.
22390 * math/w_ilogbf.c: New file: ilogbf wrapper.
22391 * math/w_ilogbl.c: New file: ilogbl wrapper.
22392 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22393 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22394 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22395 exception being thrown with 0.0 as argument.
22396 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22397 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22398 exception being thrown with 0.0 as argument.
22399 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22400 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22401 exception being thrown with 0.0 as argument.
22402 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22403 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22404 exception being thrown with 0.0 as argument.
22405 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22406 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22407 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22408 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22409 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22410 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22411 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22412 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22413 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22415 2012-04-17 Petr Baudis <pasky@ucw.cz>
22417 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22420 2012-04-16 Marek Polacek <polacek@redhat.com>
22422 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22424 2012-04-16 Marek Polacek <polacek@redhat.com>
22426 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22427 operands of fdivp instruction.
22429 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22431 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22432 * elf/tst-auditmod3b.c: Likewise.
22433 * elf/tst-auditmod4b.c: Likewise.
22434 * elf/tst-auditmod5b.c: Likewise.
22435 * elf/tst-auditmod6b.c: Likewise.
22436 * elf/tst-auditmod6c.c: Likewise.
22437 * elf/tst-auditmod7b.c: Likewise.
22438 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22439 * sysdeps/x86_64/preconfigure.in: Likewise.
22440 * sysdeps/x86_64/preconfigure: Regenerated.
22442 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22444 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22447 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22450 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22452 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22455 * locale/iso-639.def: Fix gl language name. Spotted by
22458 2012-04-12 Roland McGrath <roland@hack.frob.com>
22461 * libio/libio.h (__io_write_fn): Update comment.
22463 2012-04-12 Petr Baudis <pasky@ucw.cz>
22466 * stdio.texi (Hook Functions): The user provided writer function
22467 is not allowed to return -1.
22469 2012-04-11 David S. Miller <davem@davemloft.net>
22471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22473 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22475 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22476 Add a leading slash to rtkaio.
22478 2012-04-11 Jim Meyering <meyering@redhat.com>
22481 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22482 It is not necessarily an error to ignore fwrite's return
22483 value. One can reliably use ferror to test for errors after
22486 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22488 * bits/types.h (__snseconds_t): New type.
22489 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22491 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22493 (__SNSECONDS_T_TYPE): Likewise.
22494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22495 (__SNSECONDS_T_TYPE): Likewise.
22496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22497 (__SNSECONDS_T_TYPE): Likewise.
22499 2012-04-10 Andreas Jaeger <aj@suse.de>
22502 * manual/time.texi (Processor Time): Return type of times is
22503 elapsed real time since an arbitrary point in the past.
22504 (CPU Time): Move CLK_TCK from here...
22505 (Processor Time): ...to here. Correct description.
22506 * manual/conf.texi (Constants for Sysconf): Correct description of
22509 2012-04-10 David S. Miller <davem@davemloft.net>
22512 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22513 where the is a gap between DT_REL(A) and DT_JMPREL.
22515 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22517 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22518 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22519 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22521 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22523 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22524 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22525 (dl_main): Handle --inhibit-cache.
22526 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22528 * elf/dl-load.c (_dl_map_object): Use it.
22529 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22531 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22534 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22535 (__ieee754_powl): Saturate large exponents rather than testing for
22536 overflow of y*log2(x).
22537 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22538 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22542 * math/s_ctan.c: Include <float.h>.
22543 (__ctan): Avoid internal overflow or cancellation in calculating
22545 * math/s_ctanf.c: Likewise.
22546 * math/s_ctanl.c: Likewise.
22547 * math/s_ctanh.c: Likewise.
22548 * math/s_ctanhf.c: Likewise.
22549 * math/s_ctanhl.c: Likewise.
22550 * math/libm-test.inc (ctan_test): Add more tests.
22551 (ctanh_test): Likewise.
22552 * sysdeps/i386/fpu/libm-test-ulps: Update.
22553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22555 2012-04-09 Andreas Jaeger <aj@suse.de>
22558 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22559 is an optional BSD extension.
22562 * manual/stdio.texi (Opening Streams): Document additional fopen
22565 2012-04-09 Roland McGrath <roland@hack.frob.com>
22567 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22568 %eax without telling the compiler.
22570 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22573 * manual/install.texi: Use sourceware.org.
22575 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22578 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22579 (__ieee754_pow): Generate overflow and underflow using huge*huge
22580 and tiny*tiny rather than just returning constant infinity or zero
22581 for large exponents.
22582 * math/libm-test.inc (pow_test): Require overflow exceptions for
22583 applicable cases of large exponents.
22586 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22587 (__ieee754_pow): Use iterative multiplication algorithm only for
22588 integer exponents with absolute value below 1024. Check for odd
22589 integer exponents when using algorithm for real exponents.
22590 * math/libm-test.inc (pow_test): Add more tests.
22591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22593 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22596 * math/libm-test.inc (exp_test): Do not allow overflow exception
22599 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22602 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22603 instead of __kernel_standard_f.
22605 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22607 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22608 * sysdeps/x86_64/memset_chk.S: Likewise.
22610 2012-04-08 Andreas Jaeger <aj@suse.de>
22613 * manual/startup.texi (Environment Access): Describe return value
22614 for putenv and setenv.
22617 * manual/filesys.texi (Directory Entries): Add description for
22621 * manual/filesys.texi (Directory Entries): Clarify that it's file
22622 system not operating system in the description of DT_UNKNOWN.
22625 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22627 2012-04-08 Stephen Compall <s11@member.fsf.org>
22630 * manual/llio.texi (Opening and Closing Files): Add cross
22631 reference to explain mode argument.
22633 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22635 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22636 * sysdeps/x86_64/memset_chk.S: Likewise.
22638 2012-04-07 David S. Miller <davem@davemloft.net>
22640 * elf/elf.h (R_SPARC_WDISP10): Define.
22641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22643 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22644 R_SPARC_SIZE64 and R_SPARC_H34.
22646 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22648 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22649 conditions and remove no longer applicable assertion.
22651 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22653 * bits/byteswap.h: Include <features.h>.
22654 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22655 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22657 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22659 * bits/byteswap.h (__bswap_16): Removed.
22660 Include <bits/byteswap-16.h> to get __bswap_16.
22661 * sysdeps/i386/bits/byteswap.h: Likewise.
22662 * sysdeps/s390/bits/byteswap.h: Likewise.
22663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22664 * bits/byteswap-16.h: New file.
22665 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22666 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22667 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22668 * string/Makefile (headers): Add bits/byteswap-16.h.
22670 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22673 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22675 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22676 * nss/tst-nss-static.c: New.
22678 2012-04-06 Robert Millan <rmh@gnu.org>
22681 * manual/llio.texi (File Position Primitive): lseek
22682 refers to WHENCE when it really means OFFSET.
22684 2012-04-06 Andreas Jaeger <aj@suse.de>
22686 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22687 strncmp declarations.
22689 * abilist/libc.abilist: Add __poll and __ppoll.
22691 2012-04-05 David S. Miller <davem@davemloft.net>
22693 * scripts/check-local-headers.sh: Accept a host triplet in the
22694 path matched by the exclude regexp.
22696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22698 * sysdeps/powerpc/powerpc32/dl-machine.h
22699 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22700 * sysdeps/s390/s390-32/dl-machine.h
22701 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22702 * sysdeps/sparc/sparc32/dl-machine.h
22703 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22704 * sysdeps/sparc/sparc64/dl-machine.h
22705 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22707 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22709 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22710 undefined symbol errors.
22712 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22715 2012-04-05 Michael Matz <matz@suse.de>
22718 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22720 2012-04-05 Andreas Jaeger <aj@suse.de>
22723 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22726 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22728 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22729 which ROUND is no valid rounding mode.
22731 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22733 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22735 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22737 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22739 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22740 an exception using FPU order intentionally.
22742 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22744 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22745 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22746 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22747 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22749 2012-04-05 Simon Josefsson <simon@josefsson.org>
22752 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22753 EINVAL when BUFLEN is too smal.
22755 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22758 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22759 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22761 2012-04-03 Andreas Jaeger <aj@suse.de>
22764 * manual/setjmp.texi (System V contexts): Fix sentence.
22767 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22768 New macro for this case.
22769 [!__GNUC__] (__bswap_64): New inline function for this case.
22770 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22771 * bits/byteswap.h: Likewise.
22772 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22773 ull, guard with __GLIBC_HAVE_LONG_LONG.
22775 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22776 __GLIBC_HAVE_LONG_LONG.
22778 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22779 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22781 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22784 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22785 inptr and inend, rather than using last_ch.
22787 2012-04-02 David S. Miller <davem@davemloft.net>
22789 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22790 * stdio-common/printf-parse.h (read_int): Change return type to
22791 'int', return -1 on INT_MAX overflow.
22792 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22793 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22794 overflows INT_MAX. Check for overflow of in-format-string precision
22795 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22796 SIZE_MAX not INT_MAX for integer overflow test.
22797 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22798 skip the construct in the format string but do not record anything.
22799 * stdio-common/bug22.c: Adjust to test both width/prevision
22800 INT_MAX overflow as well as total length INT_MAX overflow. Check
22801 explicitly for proper errno values.
22803 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22805 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22807 * string/test-strcmp.c [! WIDE]: Likewise.
22808 * time/tst-mktime2.c: Likewise for INT_MAX.
22809 * string/test-string.h: #include <sys/param.h> for MIN.
22811 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22812 * sysdeps/i386/init-first.c (init): Likewise.
22813 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22814 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22815 * sysdeps/sh/init-first.c (init): Likewise.
22817 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22819 * po/ru.po: Update from translation team.
22820 * po/vi.po: Likewise.
22822 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22824 * resolv/nss_dns/dns-host.c: Merge copyright years.
22826 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22828 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22829 Optimize memcpy with prefetch if
22830 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22831 src, dst pointers have unequal 16 byte alignments.
22833 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22836 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22837 from a CNAME entry and return the minimum ttl for the query.
22838 (gaih_getanswer_slice): Likewise.
22840 2012-03-30 Jeff Law <law@redhat.com>
22842 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22844 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22845 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22847 * resolv/nss_dns/dns-host.c: Update copyright year.
22849 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22851 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22852 requests to save a system call. Fix check that all bytes are sent.
22854 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22855 comments for sendmmsg.
22857 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22860 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22861 with only 1 character between 0x0041 and 0x01b0.
22862 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22863 * wcsmbs/tst-mbsnrtowcs.c: New file.
22865 2012-03-29 David S. Miller <davem@davemloft.net>
22867 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22868 small copies by hand.
22870 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22873 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22874 _nss_compat_initgroups_dyn): Fall back to malloc/free
22875 for large group memberships.
22877 2012-03-28 David S. Miller <davem@davemloft.net>
22879 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22880 that branches into memcpy.
22881 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22882 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22884 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22887 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22888 implementation too.
22889 * sysdeps/sparc/mempcpy.S: New file.
22891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22892 the IFUNC routine in the libc case.
22893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22895 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22896 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22897 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22898 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22899 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22900 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22901 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22902 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22904 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22905 loop to 256 bytes instead of 64 bytes and fix test signedness.
22907 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22908 * sysdeps/sparc/sparc32/Makefile: rather than here...
22909 * sysdeps/sparc/sparc64/Makefile: and here.
22911 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22913 * malloc/mallocbug.c: Avoid warnings about unused variables.
22915 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22918 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22919 in the right place. Discard and retry query if response is
22920 larger than input buffer size.
22922 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22927 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22928 x for large integer exponent.
22929 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22930 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22931 sign of result as needed afterwards.
22932 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22933 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22934 result for underflowing pow the same as for overflow.
22935 (__kernel_standard_l): Handle powl overflow and underflow here
22936 rather than calling __kernel_standard.
22937 * math/libm-test.inc (pow_test): Add more tests.
22952 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22953 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22954 (__kernel_standard_l): New function.
22955 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22957 * math/w_acosl.c (__acosl): Likewise.
22958 * math/w_asinl.c (__asinl): Likewise.
22959 * math/w_atan2l.c (__atan2l): Likewise.
22960 * math/w_atanhl.c (__atanhl): Likewise.
22961 * math/w_coshl.c (__coshl): Likewise.
22962 * math/w_exp10l.c (__exp10l): Likewise.
22963 * math/w_exp2l.c (__exp2l): Likewise.
22964 * math/w_fmodl.c (__fmodl): Likewise.
22965 * math/w_hypotl.c (__hypotl): Likewise.
22966 * math/w_j0l.c (__j0l, __y0l): Likewise.
22967 * math/w_j1l.c (__j1l, __y1l): Likewise.
22968 * math/w_jnl.c (__jnl, __ynl): Likewise.
22969 * math/w_lgammal.c (__lgammal): Likewise.
22970 * math/w_log10l.c (__log10l): Likewise.
22971 * math/w_log2l.c (__log2l): Likewise.
22972 * math/w_logl.c (__logl): Likewise.
22973 * math/w_powl.c (__powl): Likewise.
22974 * math/w_remainderl.c (__remainderl): Likewise.
22975 * math/w_scalbl.c (sysv_scalbl): Likewise.
22976 * math/w_sinhl.c (__sinhl): Likewise.
22977 * math/w_sqrtl.c (__sqrtl): Likewise.
22978 * math/w_tgammal.c (__tgammal): Likewise.
22979 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22980 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22981 * math/libm-test.inc (acos_test): Add more tests.
22982 (acosh_test): Likewise.
22983 (asin_test): Likewise.
22984 (atanh_test): Likewise.
22985 (exp_test): Likewise.
22986 (exp10_test): Likewise.
22987 (exp2_test): Likewise.
22988 (expm1_test): Likewise.
22989 (lgamma_test): Likewise.
22990 (log_test): Likewise.
22991 (log10_test): Likewise.
22992 (log1p_test): Likewise.
22993 (log2_test): Likewise.
22994 (pow_test): Do not allow some spurious overflow exceptions.
22995 (sqrt_test): Add more tests.
22996 (tgamma_test): Likewise.
22997 (y0_test): Likewise.
22998 (y1_test): Likewise.
22999 (yn_test): Likewise.
23001 2012-03-27 Anton Blanchard <anton@samba.org>
23003 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23005 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23006 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23007 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23009 2012-03-27 David S. Miller <davem@davemloft.net>
23011 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23013 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23014 have-as-vis3 check.
23016 2012-03-27 Andreas Jaeger <aj@suse.de>
23018 * sysdeps/x86_64/elf/configure.in: Moved to ...
23019 * sysdeps/x86_64/configure.in: ... here.
23020 * sysdeps/x86_64/elf/start.S: Moved to ...
23021 * sysdeps/x86_64/start.S: ... here.
23022 * sysdeps/x86_64/elf/configure: Delete.
23024 * sysdeps/x86_64/configure.in: Merge contents from
23025 sysdeps/i386/configure.in (without i686 check).
23027 * sysdeps/i386/elf/Versions: Merge into ...
23028 * sysdeps/i386/Versions: ... this.
23029 * sysdeps/i386/elf/Versions: Delete file.
23030 * sysdeps/i386/elf/start.S: Moved to ...
23031 * sysdeps/i386/start.S: ...here.
23032 * sysdeps/i386/elf/configure.in: Merge into...
23033 * sysdeps/i386/configure.in: ...here.
23034 * sysdeps/i386/elf/configure.in: Delete file.
23035 * sysdeps/i386/elf/configure: Delete file.
23037 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23038 * debug/backtracesyms.c: ... here.
23039 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23040 * debug/backtracesymsfd.c: ... here.
23041 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23042 * sysdeps/generic/ifunc-sel.h: ... here.
23044 * sysdeps/unix/i386/start.c: Delete file.
23045 * sysdeps/unix/sparc/start.c: Delete file.
23046 * sysdeps/unix/start.c: Delete file.
23048 * sysdeps/sh/elf/configure.in: Moved to ...
23049 * sysdeps/sh/configure.in: ... here.
23050 * sysdeps/sh/elf/start.S: Moved to ...
23051 * sysdeps/sh/start.S: ... here.
23052 * sysdeps/sh/elf/configure: Delete file.
23054 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23055 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23056 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23057 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23058 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23059 * sysdeps/powerpc/powerpc64/start.S: here.
23060 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23061 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23062 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23063 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23064 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23066 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23067 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23068 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23069 * sysdeps/powerpc/powerpc32/start.S: ... here.
23070 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23071 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23072 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23074 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23075 * sysdeps/powerpc/ifunc-sel.h: ... here.
23076 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23077 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23079 * sysdeps/sparc/elf/configure.in: Moved to ...
23080 * sysdeps/sparc/configure.in: ... here.
23081 * sysdeps/sparc/elf/configure: Delete file.
23082 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23083 * sysdeps/sparc/sparc32/start.S: ... here.
23084 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23085 * sysdeps/sparc/sparc64/start.S: ... here.
23086 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23087 * sysdeps/sparc/sparc32/Makefile: ... this.
23088 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23089 * sysdeps/sparc/sparc64/Makefile: ... this.
23091 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23092 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23093 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23094 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23095 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23096 * sysdeps/s390/s390-32/setjmp.S: ... here.
23097 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23098 * sysdeps/s390/s390-32/configure.in: ... here.
23099 * sysdeps/s390/s390-32/elf/configure: Delete file.
23100 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23101 * sysdeps/s390/s390-32/start.S: ... here.
23103 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23104 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23105 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23106 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23107 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23108 * sysdeps/s390/s390-64/setjmp.S: ... here.
23109 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23110 * sysdeps/s390/s390-64/configure.in: ... here
23111 * sysdeps/s390/s390-64/elf/configure: Delete file.
23112 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23113 * sysdeps/s390/s390-64/start.S: ... here.
23114 * sysdeps/s390/s390-64/elf/configure: Delete.
23116 * configure.in: Remove support for elf directories in sysdeps.
23118 * configure: Regenerated.
23119 * sysdeps/i386/configure: Regenerated.
23120 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23121 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23122 * sysdeps/s390/s390-32/configure: Regenerated.
23123 * sysdeps/s390/s390-64/configure: Regenerated.
23124 * sysdeps/sh/configure: Regenerated.
23125 * sysdeps/sparc/configure: Regenerated.
23126 * sysdeps/x86_64/configure: Regenerated.
23128 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23132 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23133 denormal result into account.
23135 2012-03-25 Roland McGrath <roland@hack.frob.com>
23137 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23138 Reported by Allan McRae <allan@archlinux.org>.
23140 2012-03-23 Jeff Law <law@redhat.com>
23142 * nss/getnssent.c (__nss_getent): Fix typo.
23144 2012-03-23 David S. Miller <davem@davemloft.net>
23146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23148 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23150 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23151 to pad to uint64_t for each field.
23152 (dl_tls_index): Replace unsigned long with uint64_t.
23154 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23155 Paul Pluzhnikov <ppluzhnikov@google.com>
23158 * grp/Makefile (otherlibs): Don't set it.
23159 * inet/Makefile (otherlibs): Likewise.
23160 * login/Makefile (otherlibs): Likewise.
23161 * nscd/Makefile (otherlibs): Likewise.
23162 * posix/Makefile (otherlibs): Likewise.
23163 * pwd/Makefile (otherlibs): Likewise.
23164 * rt/Makefile (otherlibs): Likewise.
23165 * sunrpc/Makefile (otherlibs): Likewise.
23166 * nss/Makefile (otherlibs): Likewise.
23167 Add libnss_files to routines and static-only-routines.
23168 ($(objpfx)getent): Remove rule.
23169 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23170 static-only-routines.
23172 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23175 * math/s_cexp.c: Include <float.h>.
23176 (__cexp): Handle exp result overflowing not necessarily
23177 overflowing both real and imaginary parts of result.
23178 * math/s_cexpf.c: Likewise.
23179 * math/s_cexpl.c: Likewise.
23180 * math/libm-test.inc (cexp_test): Add more tests.
23181 * sysdeps/i386/fpu/libm-test-ulps: Update.
23182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23184 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23186 * include/link.h (ELFW): New macro.
23187 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23188 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23190 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23192 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23195 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23197 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23199 (struct La_x32_retval): Likewise.
23201 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23203 * sysdeps/x86_64/preconfigure.in: New file.
23204 * sysdeps/x86_64/preconfigure: New generated file.
23206 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23209 * math/e_exp2l.c: Include <float.h>.
23210 (__ieee754_exp2l): Handle overflow and underflow cases
23211 separately. Only pass fractional part of argument to
23213 * math/libm-test.inc (exp2_test): Add more tests.
23215 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23216 negating x to take absolute value.
23217 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23219 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23220 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23222 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23223 computing low part if x was negated.
23224 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23226 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23228 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23229 la_x32_gnu_pltexit.
23230 (pltexit): Cast int_retval to ptrdiff_t.
23231 * elf/tst-auditmod3b.c: Likewise.
23232 * elf/tst-auditmod4b.c: Likewise.
23233 * elf/tst-auditmod5b.c: Likewise.
23234 * elf/tst-auditmod6b.c: Likewise.
23235 * elf/tst-auditmod6c.c: Likewise.
23236 * elf/tst-auditmod7b.c: Likewise.
23238 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23239 and x32_gnu_pltexit.
23241 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23242 __ELF_NATIVE_CLASS.
23243 (La_x32_regs): New macro.
23244 (La_x32_retval): Likewise.
23245 (la_x32_gnu_pltenter): New function prototype.
23246 (la_x32_gnu_pltexit): Likewise.
23248 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23255 * configure.in (libc_cv_cc_nofma): Check for option to disable
23256 generation of FMA instructions.
23257 * configure: Regenerate.
23258 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23259 * sysdeps/ieee754/dbl-64/Makefile: New file.
23260 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23261 Remove brandred-fma4.
23262 (CFLAGS-brandred-fma4.c): Remove.
23263 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23264 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23266 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23269 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23271 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23272 LLONG_MAX != LONG_MAX.
23273 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23274 (_fitoa_word): Likewise.
23275 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23276 LLONG_MAX != LONG_MAX.
23277 * stdio-common/_itowa.h: Include <_itoa.h>.
23278 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23279 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23280 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23281 only if not defined.
23282 (_ITOA_WORD_TYPE): Likewise.
23283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23284 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23286 2012-03-21 David S. Miller <davem@davemloft.net>
23288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23290 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23292 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23293 of x86_64 when setting libc_cv_slibdir, libdir and
23295 * sysdeps/unix/sysv/linux/configure: Regenerated.
23297 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23299 * manual/lang.texi (Old Varargs): Remove section.
23300 (How Variadic): Update menu.
23301 (va_start): Do not mention varargs.h.
23303 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23304 Joseph Myers <joseph@codesourcery.com>
23306 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23308 * configure: Regenerated.
23310 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23312 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23313 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23316 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23319 * Makefile (files-for-dist): Remove NOTES.
23320 (NOTES): Remove rule.
23321 * README: Don't refer to NOTES.
23322 * manual/creature.texi: Don't include macros.texi.
23323 * manual/intro.texi (creature.texi): Remove comment referring to
23326 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23327 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23328 * configure: Regenerated.
23329 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23330 LIBC_TRY_CC_OPTION.
23331 (libc_cv_as_i686): Likewise.
23332 (libc_cv_cc_avx): Likewise.
23333 (libc_cv_cc_sse2avx): Likewise.
23334 (libc_cv_cc_fma4): Likewise.
23335 (libc_cv_cc_novzeroupper): Likewise.
23336 * sysdeps/i386/configure: Regenerated.
23339 * sysdeps/i386/fpu/s_cexp.S: Remove.
23340 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23341 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23342 * math/libm-test.inc (cexp_test): Add more tests.
23343 * sysdeps/i386/fpu/libm-test-ulps: Update.
23344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23346 2012-03-21 Allan McRae <allan@archlinux.org>
23348 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23350 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23353 * math/w_exp2.c: Do not include <float.h>.
23354 (o_threshold, u_threshold): Remove.
23355 (__exp2): Calculate result before checking finiteness and calling
23357 * math/w_exp2f.c: Likewise.
23358 * math/w_exp2l.c: Likewise.
23359 * math/libm-test.inc (exp2_test): Require overflow exception for
23363 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23364 range of signed 64-bit integers before using fistpll. Remove
23365 checks for whether integers fit in mantissa bits.
23366 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23367 the range of signed 32-bit integers before using fistpl. Remove
23368 checks for whether integers fit in mantissa bits.
23369 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23370 (__ieee754_powl): Test for y outside the range of signed 64-bit
23371 integers before using fistpll. Reduce 64-bit values to 63-bit
23373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23374 divide-by-zero is raised for zero to large negative powers.
23375 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23376 (__ieee754_powl): Test for y outside the range of signed 64-bit
23377 integers before using fistpll. Reduce 64-bit values to 63-bit
23379 * math/libm-test.inc (pow_test): Add more tests.
23381 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23383 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23384 <stdio-common/_itoa.h>.
23385 * debug/segfault.c: Likewise.
23386 * elf/dl-cache.c: Likewise.
23387 * elf/dl-minimal.c: Likewise.
23388 * elf/dl-misc.c: Likewise.
23389 * elf/dl-sysdep.c: Likewise.
23390 * elf/dl-version.c: Likewise.
23391 * elf/rtld.c: Likewise.
23392 * hurd/hurdsock.c: Likewise.
23393 * hurd/lookup-retry.c: Likewise.
23394 * malloc/malloc.c: Likewise.
23395 * malloc/mtrace.c: Likewise.
23396 * nscd/nscd_getgr_r.c: Likewise.
23397 * nscd/nscd_getpw_r.c: Likewise.
23398 * nscd/nscd_getserv_r.c: Likewise.
23399 * posix/getopt_init.c: Likewise.
23400 * posix/wordexp.c: Likewise.
23401 * stdio-common/_itoa.c: Likewise.
23402 * stdio-common/printf_fphex.c: Likewise.
23403 * stdio-common/vfprintf.c: Likewise.
23404 * string/_strerror.c: Likewise.
23405 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23406 * sysdeps/i386/i686/hp-timing.h: Likewise.
23407 * sysdeps/mach/_strerror.c: Likewise.
23408 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23409 * sysdeps/mach/hurd/sethostid.c: Likewise.
23410 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23411 * sysdeps/mach/xpg-strerror.c: Likewise.
23412 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23413 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23414 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23415 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23416 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23417 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23419 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23420 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23421 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23422 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23423 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23424 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23425 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23426 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23427 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23428 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23429 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23430 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23431 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23432 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23434 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23436 * stdio-common/_itoa.h: Moved to ...
23437 * sysdeps/generic/_itoa.h: Here.
23439 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23441 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23442 instead of "_itoa.h" and "_itowa.h".
23443 * stdio-common/vfprintf.: Likewise.
23445 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23447 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23449 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23450 (__signbit): Likwise.
23451 (llrintf): Likwise.
23454 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23456 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23459 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23461 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23462 OVERFLOW_EXCEPTION_OK.
23463 * math/libm-test.inc ("Philosophy"): Update comment about
23465 (OVERFLOW_EXCEPTION): Define.
23466 (OVERFLOW_EXCEPTION_OK): Likewise.
23467 (INVALID_EXCEPTION_OK): Renumber.
23468 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23469 (IGNORE_ZERO_INF_SIGN): Likewise.
23470 (test_exceptions): Handle FE_OVERFLOW.
23471 (exp10_test): Expect overflow exceptions.
23472 (exp2_test): Likewise.
23473 (expm1_test): Likewise.
23474 (nextafter_test): Likewise.
23475 (pow_test): Likewise.
23476 (scalbn_test): Likewise.
23477 (scalbln_test): Likewise.
23479 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23481 * sysdeps/x86_64/bits/atomic.h
23482 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23484 (atomic_exchange_acq): Likewise.
23485 (__arch_exchange_and_add_body): Likewise.
23486 (__arch_add_body): Likewise.
23487 (atomic_add_negative): Likewise.
23488 (atomic_add_zero): Likewise.
23490 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23492 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23493 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23495 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23497 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23498 Check __x86_64__ instead of __WORDSIZE.
23500 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23502 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23504 2012-03-19 David S. Miller <davem@davemloft.net>
23506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23508 * sysdeps/sparc/fpu/fenv_private.h: New file.
23509 * sysdeps/sparc/fpu/math_private.h: Use it.
23510 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23512 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23513 (libc_feholdexcept_setroundl): Remove.
23514 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23516 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23517 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23519 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23521 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23522 int64_t instead of long int.
23523 (INSERT_WORDS64): Likwise.
23525 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23527 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23528 _Unwind_GetCFA return to _Unwind_Ptr first.
23530 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23533 * math/s_clog.c: Include <float.h>.
23534 (__clog): Scale large or subnormal inputs.
23535 * math/s_clogf.c: Likewise.
23536 * math/s_clogl.c: Likewise.
23537 * math/s_clog10.c: Include <float.h>.
23538 (M_LOG10_2): Define.
23539 (__clog10): Scale large or subnormal inputs.
23540 * math/s_clog10f.c: Likewise.
23541 * math/s_clog10l.c: Likewise.
23542 * math/libm-test.inc (clog_test): Add more tests.
23543 (clog10_test): Likewise.
23544 * sysdeps/i386/fpu/libm-test-ulps: Update.
23545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23548 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23550 * math/libm-test.inc (atan2_test): Add another test.
23552 * Makerules (common-objdir-compile): Remove.
23553 * sysdeps/unix/Makefile (config-generated): Do not add
23554 $(unix-generated) to variable.
23555 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23556 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23558 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23560 [generic bits/local_lim.h] (before-compile): Do not append to
23562 [generic bits/local_lim.h] (common-generated): Likewise.
23563 [generic sys/param.h] (before-compile): Do not append to variable.
23564 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23565 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23566 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23567 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23569 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23570 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23571 [generic sys/param.h] ($(addprefix
23572 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23573 [generic sys/param.h] (common-generated): Do not append to
23575 [generic sys/param.h] (sysdep_headers): Likewise.
23576 [generic bits/errno.h] (before-compile): Do not append to
23578 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23580 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23581 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23582 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23583 [generic bits/errno.h] (common-generated): Do not append to
23585 [generic bits/ioctls.h] (before-compile): Do not append to
23587 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23589 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23590 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23591 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23593 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23594 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23595 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23596 [generic bits/ioctls.h] (common-generated): Do not append to
23598 [generic sys/syscall.h] (syscall.h): Remove variable.
23599 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23601 [generic sys/syscall.h] (before-compile): Do not append to
23603 [generic sys/syscall.h] (common-generated): Likewise.
23604 * sysdeps/unix/errnos-tmpl.c: Remove file.
23605 * sysdeps/unix/errnos.awk: Likewise.
23606 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23607 * sysdeps/unix/ioctls.awk: Likewise.
23608 * sysdeps/unix/mk-local_lim.c: Likewise.
23609 * sysdeps/unix/snarf-ioctls: Likewise.
23611 2012-03-19 Richard Henderson <rth@twiddle.net>
23613 * sysdeps/i386/fpu/fenv_private.h: New file.
23614 * sysdeps/i386/fpu/math_private.h: Use it.
23615 (math_opt_barrier, math_force_eval): Remove.
23616 (libc_feholdexcept_setround_53bit): Remove.
23617 (libc_feupdateenv_53bit): Remove.
23618 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23619 (math_opt_barrier, math_force_eval): Remove.
23620 (libc_feholdexcept): Remove.
23621 (libc_feholdexcept_setround): Remove.
23622 (libc_fetestexcept, libc_fesetenv): Remove.
23623 (libc_feupdateenv_test): Remove.
23624 (libc_feupdateenv, libc_feholdsetround): Remove.
23625 (libc_feresetround): Remove.
23627 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23628 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23630 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23631 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23632 (libc_feupdateenv_testl): New.
23633 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23634 (libc_feupdateenv_testf): New.
23635 (libc_feupdateenv): Use libc_feupdateenv_test.
23636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23637 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23639 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23640 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23641 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23642 (libc_feresetround_noex): New.
23643 (libc_feresetround_noexf): New.
23644 (libc_feresetround_noexl): New.
23645 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23646 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23647 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23648 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23653 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23654 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23655 SET_RESTORE_ROUND_NOEX.
23656 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23657 SET_RESTORE_ROUND_NOEXF.
23658 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23659 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23660 (libc_feholdsetroundf): New.
23661 (libc_feresetround, libc_feresetroundf): New.
23663 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23664 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23665 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23667 * sysdeps/generic/math_private.h: Include <fenv.h>.
23668 (default_libc_feholdexcept): New.
23669 (default_libc_feholdexcept_setround): New.
23670 (default_libc_fesetenv, default_libc_feupdateenv): New.
23671 (libc_feholdexcept): Only define if undefined.
23672 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23673 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23674 (libc_feholdexcept_setroundl): Likewise.
23675 (libc_feholdexcept_setround_53bit): Likewise.
23676 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23677 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23678 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23679 (libc_feupdateenv_53bit): Likewise.
23680 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23681 (libc_feholdexcept): Convert from macro to inline function.
23682 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23683 (libc_fesetenv, libc_feupdateenv): Likewise.
23685 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23686 not previously defined.
23687 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23688 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23689 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23690 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23691 * sysdeps/ieee754/flt-32/math_private.h: New file.
23692 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23693 math_private.h below SET_FLOAT_WORD.
23694 (__isnan, __isinf_ns, __finite): Remove.
23695 (__isnanf, __isinf_nsf, __finitef): Remove.
23697 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23701 2012-03-17 David S. Miller <davem@davemloft.net>
23704 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23707 2012-03-16 David S. Miller <davem@davemloft.net>
23709 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23713 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23715 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23716 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23717 sysdep_routines when subdir is sysvipc.
23718 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23719 __getshmlba helper.
23721 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23723 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23725 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23728 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23730 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23731 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23732 (__lround): Renamed to ...
23733 (__llround): This. Replace long int with long long int.
23734 Define lround functions as aliases of llround functions.
23735 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23737 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23739 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23740 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23741 adresses to uintptr_t. Replace "long int" and "unsigned long
23742 int" with "greg_t" on va_arg.
23744 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23746 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23747 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23749 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23750 Move e_machine check before EI_CLASS check. Handle x32
23751 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23752 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23753 SKIP_EM_IA_64 and include
23754 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23756 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23757 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23758 (add_system_dir): New macro.
23760 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23761 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23763 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23774 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23776 * math/w_j0f.c (j0f): Likewise.
23778 * math/w_j0l.c (__j0l): Likewise.
23780 * math/w_j1.c (j1): Likewise.
23782 * math/w_j1f.c (j1f): Likewise.
23784 * math/w_j1l.c (__j1l): Likewise.
23786 * math/w_jn.c (jn): Likewise.
23788 * math/w_jnf.c (jnf): Likewise.
23790 * math/w_jnl.c (__jnl): Likewise.
23792 * math/libm-test.inc (j0_test): Add more tests.
23793 (j1_test): Likewise.
23794 (jn_test): Likewise. Add trailing semicolon to existing test.
23795 (y0_test): Likewise.
23796 (y1_test): Likewise.
23797 * sysdeps/i386/fpu/libm-test-ulps: Update.
23798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23803 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23804 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23806 (__tanl): Set errno for infinite argument.
23807 * sysdeps/i386/fpu/mptan.c: Remove.
23808 * sysdeps/i386/fpu/s_tan.S: Likewise.
23809 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23810 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23811 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23812 * math/libm-test.inc (tan_test): Add more tests and enable more
23813 tests for double and long double.
23814 * sysdeps/i386/fpu/libm-test-ulps: Update.
23815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23817 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23819 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23820 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23822 2012-03-16 Roland McGrath <roland@hack.frob.com>
23824 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23825 * configure.in: Use it for both main tree and add-ons.
23826 * configure: Regenerated.
23828 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23830 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23832 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23834 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23838 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23839 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23844 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23846 != 0 for prec == 2.
23847 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23848 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23849 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23850 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23851 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23852 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23853 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23854 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23855 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23856 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23857 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23858 * math/libm-test.inc (cos_test): Add more tests and enable more
23859 tests for long double.
23860 (sin_test): Likewise.
23861 (sincos_test): Likewise.
23862 * sysdeps/i386/fpu/libm-test-ulps: Update.
23863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23865 2012-03-16 David S. Miller <davem@davemloft.net>
23867 * sysdeps/sparc/fpu/math_private.h: New file.
23869 2012-03-15 David S. Miller <davem@davemloft.net>
23871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23885 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23886 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23888 * sysdeps/sparc/sparc-ifunc.h: New file.
23889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23934 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23936 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23940 2012-03-15 Andreas Jaeger <aj@suse.de>
23943 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23944 ieee754/flt-32 implementation for sin, cos and sincos.
23945 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23946 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23947 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23948 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23949 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23950 ieee754/flt-32 implementation for tan.
23952 * math/libm-test.inc (cos_test): Enable some large input tests for
23954 (sin_test): Likewise.
23955 (sincos_test): Likewise.
23956 (tan_test): Add tests for large input.
23958 * sysdeps/i386/fpu/libm-test-ulps: Update.
23960 2012-03-15 Andreas Jaeger <aj@suse.de>
23963 * math/libm-test.inc (cos_test): Add more test cases.
23964 (sin_test): Likewise.
23965 (sincos_test): Likewise.
23967 2012-03-15 Andreas Jaeger <aj@suse.de>
23970 * math/libm-test.inc (cos_test): Add a test case for large input
23972 (sin_test): Likewise.
23973 (sincos_test): Likewise.
23975 2012-03-15 Andreas Jaeger <aj@suse.de>,
23976 Joseph Myers <joseph@codesourcery.com>
23979 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23980 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23981 * sysdeps/i386/fpu/branred.c: Likewise.
23982 * sysdeps/i386/fpu/dosincos.c: Likewise.
23983 * sysdeps/i386/fpu/mpa.c: Likewise.
23984 * sysdeps/i386/fpu/s_cos.S: Likewise.
23985 * sysdeps/i386/fpu/s_sin.S: Likewise.
23986 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23987 * sysdeps/i386/fpu/sincos32.c: Likewise.
23989 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23991 (libc_feupdateenv_53bit): Define.
23992 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23994 (libc_feupdateenv_53bit): Define.
23996 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23997 53 bit (without extend i386 double precision).
23999 * math/libm-test.inc (sincos_test): Add tests for large input.
24003 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24005 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24009 2012-03-15 David S. Miller <davem@davemloft.net>
24011 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24012 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24013 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24014 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24038 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24039 fmin/fmax sysdep routines.
24040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24042 2012-03-14 David S. Miller <davem@davemloft.net>
24044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24065 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24121 * sysdeps/sparc/configure.in: New file.
24122 * sysdeps/sparc/configure: Generate.
24123 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24124 * configure: Regenerate.
24125 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24126 * config.make.in (have-as-vis3): New.
24127 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24128 available use -Av9d instead of -Av9a.
24129 * sysdeps/sparc/sparc64/Makefile: Likewise.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24142 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24145 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24146 fzeros/fnegs to load 0x80000000 into a float register instead of
24148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24150 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24154 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24155 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24156 ($(inst_includedir)/bits/syscall.h): Remove rule.
24157 ($(objpfx)bits/syscall.d): Include instead of
24158 $(objpfx)syscall-list.d.
24159 (generated): Change syscall-list.h and syscall-list.d to
24160 bits/syscall.h and bits/syscall.d.
24162 2012-03-14 Roland McGrath <roland@hack.frob.com>
24165 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24167 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24170 * math/s_csqrt.c: Include <float.h>.
24171 (__csqrt): Scale large or subnormal inputs.
24172 * math/s_csqrtf.c: Likewise.
24173 * math/s_csqrtl.c: Likewise.
24174 * math/libm-test.inc (csqrt_test): Add more tests.
24175 * sysdeps/i386/fpu/libm-test-ulps: Update.
24176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24179 * math/libm-test.inc (hypot_test): Add more tests.
24181 2012-03-13 David S. Miller <davem@davemloft.net>
24184 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24185 double-precision for the calculation instead of scaling.
24187 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24189 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24190 manipulate bits before adding and subtracting TWO52[sx].
24191 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24194 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24196 2012-03-13 David S. Miller <davem@davemloft.net>
24198 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24199 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24201 rtld-global-offsets.h
24202 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24204 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24207 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24209 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24210 'err' in the ifdef scope in which it is actually used.
24212 * nss/nss_db/db-init.c: Include string.h
24214 2012-03-12 David S. Miller <davem@davemloft.net>
24216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24217 masking out of the most significant byte of random value used.
24218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24219 Fix coding style in previous change.
24221 * sysdeps/unix/sysv/linux/kernel-features.h
24222 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24223 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24225 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24228 2012-03-11 David S. Miller <davem@davemloft.net>
24230 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24231 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24232 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24233 for 'resultvar' otherwise things get truncated on 64-bit.
24235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24236 Fix masking out of the most significant byte of random value used.
24238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24240 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24244 2012-03-09 David S. Miller <davem@davemloft.net>
24246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24247 variables with appropriate CPP guards.
24248 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24249 frame pointer, not the stack pointer. Correct layout comments. Fix test
24250 on resulting framesize and the management of the outregs buffer for pltexit.
24251 Preserve floating point return values across _dl_call_pltexit call.
24252 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24253 framesize and the management of the outregs buffer for pltexit.
24254 Preserve floating point return values across _dl_call_pltexit
24256 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24257 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24258 (print_exit): Fix format string for return register value.
24260 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24262 * sunrpc/Makefile (others): Add rpcgen.
24263 ($(objpfx)rpcgen): Remove special build rule and dependency on
24265 * sunrpc/rpcgen.c: New file.
24267 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24270 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24271 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24272 * sysdeps/i386/crti.S: Likewise.
24273 * sysdeps/i386/crtn.S: Likewise.
24274 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24275 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24276 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24277 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24278 * sysdeps/sh/crti.S: Likewise.
24279 * sysdeps/sh/crtn.S: Likewise.
24280 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24283 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24285 * locale/programs/locfile-kw.gperf: Likewise.
24286 * locale/programs/charmap-kw.h: Regenerated.
24287 * locale/programs/locfile-kw.h: Likewise.
24290 * intl/plural.y: Replace FSF snail mail address with URL.
24291 * intl/plural.c: Regenerated.
24293 2012-03-09 Richard Henderson <rth@twiddle.net>
24295 * include/math_private.h: Remove file.
24296 * math/math_private.h: Move file ...
24297 * sysdeps/generic/math_private.h: ... here.
24299 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24300 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24301 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24303 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24304 and <math_private.h>.
24305 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24306 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24307 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24308 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24309 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24310 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24311 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24313 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24314 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24317 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24319 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24320 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24321 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24322 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24324 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24327 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24329 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24331 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24335 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24337 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24338 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24339 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24340 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24342 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24343 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24345 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24346 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24347 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24348 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24349 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24350 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24351 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24352 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24353 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24354 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24355 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24356 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24357 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24358 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24359 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24362 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24364 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24366 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24368 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24369 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24373 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24374 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24375 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24378 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24379 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24386 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24389 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24390 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24392 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24393 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24394 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24395 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24396 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24397 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24398 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24399 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24400 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24401 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24402 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24403 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24404 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24405 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24406 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24407 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24408 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24409 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24410 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24411 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24412 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24413 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24414 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24415 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24416 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24418 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24419 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24420 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24421 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24422 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24423 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24424 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24425 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24426 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24427 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24428 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24430 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24431 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24432 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24433 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24434 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24435 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24436 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24437 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24438 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24439 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24440 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24441 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24442 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24443 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24444 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24445 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24446 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24447 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24448 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24449 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24450 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24451 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24452 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24453 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24454 * sysdeps/ieee754/k_standard.c: Likewise.
24455 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24456 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24457 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24458 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24459 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24461 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24462 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24464 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24466 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24472 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24473 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24474 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24475 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24478 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24479 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24480 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24481 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24482 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24483 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24486 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24488 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24489 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24490 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24491 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24492 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24493 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24494 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24499 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24500 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24501 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24505 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24506 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24507 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24511 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24554 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24570 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24574 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24575 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24577 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24582 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24604 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24615 * sysdeps/ieee754/s_lib_version.c: Likewise.
24616 * sysdeps/ieee754/s_matherr.c: Likewise.
24617 * sysdeps/ieee754/s_signgam.c: Likewise.
24618 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24620 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24621 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24622 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24623 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24624 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24625 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24626 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24627 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24628 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24629 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24630 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24631 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24632 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24633 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24635 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24636 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24637 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24640 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24642 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24643 * sunrpc/rpc_main.c: Likewise.
24644 * sunrpc/rpc_svcout.c: Likewise.
24646 2012-03-09 David S. Miller <davem@davemloft.net>
24648 * include/math_private.h: New file.
24650 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24652 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24653 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24654 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24655 from <bits/socket_type.h>.
24656 (enum __socket_type): Don't define here.
24657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24659 bits/socket_type.h.
24662 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24663 checking __USE_GNU.
24665 * Makerules ($(inst_includedir)/%.h): New rule.
24666 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24667 (install-others): Remove variable setting.
24668 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24670 2012-03-08 Richard Henderson <rth@twiddle.net>
24672 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24673 from macro to inline function; merge with the
24674 !__LIBC_INTERNAL_MATH_INLINES version.
24675 (__ieee754_sqrtf): Likewise.
24677 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24678 to inline function.
24679 (__rintf, __floor, __floorf): Likewise.
24681 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24682 macro to inline function.
24683 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24686 not <math/math_private.h>.
24688 2012-03-08 David S. Miller <davem@davemloft.net>
24690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24692 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24694 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24696 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24698 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24699 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24701 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24703 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24704 be defined individually, they must be defined as a block. Define
24705 S for printing a string instead of hidint the different by using a
24706 macro for adding the 'l'.
24707 * stdio-common/tst-fphex-wide.c: Adjust.
24709 2012-03-07 Marek Polacek <polacek@redhat.com>
24711 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24713 2012-03-08 Marek Polacek <polacek@redhat.com>
24716 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24717 * stdio-common/tst-fphex.c: Define a few macros to make the
24718 test reusable. Use them.
24719 * stdio-common/tst-fphex-wide.c: New file.
24721 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24724 * manual/macros.texi (gnusystems): New macro.
24725 (nongnusystems): Likewise.
24726 (gnulinuxhurdsystems): Likewise.
24727 (gnuhurdsystems): Likewise..
24728 (gnulinuxsystems): Likewise.
24729 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24730 variants of the GNU system, not "GNU system".
24731 * manual/conf.texi: Likewise.
24732 * manual/errno.texi: Likewise. Update example of errno macro
24734 * manual/filesys.texi: Likewise.
24735 (getumask): Document as specific to GNU/Hurd.
24736 * manual/install.texi: Likewise. Reword some references to
24738 * manual/intro.texi: Likewise.
24739 * manual/io.texi: Likewise.
24740 (File Name Portability): Detail which constraints are inapplicable
24741 to all GNU systems and which are only inapplicable to GNU/Hurd.
24742 * manual/job.texi: Likewise.
24743 * manual/llio.texi: Likewise.
24744 (O_NOCTTY): Document as present on GNU/Linux.
24745 * manual/maint.texi: Likewise.
24746 * manual/memory.texi: Likewise.
24747 * manual/pattern.texi: Likewise.
24748 * manual/pipe.texi: Likewise.
24749 * manual/process.texi: Likewise.
24750 * manual/resource.texi: Likewise.
24751 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24753 * manual/setjmp.texi: Likewise.
24754 * manual/signal.texi: Likewise.
24755 * manual/startup.texi: Likewise.
24756 * manual/stdio.texi: Likewise.
24757 * manual/terminal.texi: Likewise.
24758 (ONLCR): Document as POSIX.
24759 (OXTABS): Document availability on GNU/Linux as XTABS.
24760 (ONOEOT): Document availability separately from other bits.
24761 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24762 * manual/time.texi: Likewise.
24763 * manual/users.texi: Likewise.
24764 * INSTALL: Regenerated.
24765 * sysdeps/gnu/errlist.c: Regenerated.
24767 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24768 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24769 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24771 * configure: Regenerated.
24773 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24775 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24776 default includes instead of AC_HEADER_CHECK.
24777 * sysdeps/i386/configure: Regenerated.
24780 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24781 * math/s_cacoshf.c (__cacoshf): Likewise.
24782 * math/s_cacoshl.c (__cacoshl): Likewise.
24783 * math/s_casinh.c (__casinh): Set signs of result from argument.
24784 * math/s_casinhf.c (__casinhf): Likewise.
24785 * math/s_casinhl.c (__casinhl): Likewise.
24786 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24787 (casinh_test): Add more tests.
24788 * sysdeps/i386/fpu/libm-test-ulps: Update.
24789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24793 * po/zh_TW.po: Update from translation team.
24795 * login/Makefile (distribute): Remove variable.
24796 * catgets/Makefile: Likewise.
24797 * mach/Makefile: Likewise.
24798 * malloc/Makefile: Likewise.
24799 * misc/Makefile: Likewise.
24800 * iconv/Makefile: Likewise.
24801 * nscd/Makefile: Likewise.
24802 * hurd/Makefile: Likewise.
24803 * manual/Makefile: Likewise.
24804 * locale/Makefile: Likewise.
24805 * intl/Makefile: Likewise.
24806 * conform/Makefile: Likewise.
24807 * nss/Makefile: Likewise.
24808 * time/Makefile: Likewise.
24809 * soft-fp/Makefile: Likewise.
24810 * dirent/Makefile: Likewise.
24811 * gmon/Makefile: Likewise.
24812 * po/Makefile: Likewise.
24813 * rt/Makefile: Likewise.
24814 * socket/Makefile: Likewise.
24815 * math/Makefile: Likewise.
24816 * signal/Makefile: Likewise.
24817 * debug/Makefile: Likewise.
24818 * elf/Makefile: Likewise.
24819 * timezone/Makefile: Likewise.
24820 * stdlib/Makefile: Likewise.
24821 * iconvdata/Makefile: Likewise.
24822 * sunrpc/Makefile: Likewise.
24823 * io/Makefile: Likewise.
24824 * argp/Makefile: Likewise.
24825 * inet/Makefile: Likewise.
24826 * hesiod/Makefile: Likewise.
24827 * grp/Makefile: Likewise.
24828 * csu/Makefile: Likewise.
24829 * wctype/Makefile: Likewise.
24830 * crypt/Makefile: Likewise.
24831 * libio/Makefile: Likewise.
24832 * string/Makefile: Likewise.
24833 * nis/Makefile: Likewise.
24834 * resolv/Makefile: Likewise.
24835 * stdio-common/Makefile: Likewise.
24836 * wcsmbs/Makefile: Likewise.
24837 * dlfcn/Makefile: Likewise.
24838 * posix/Makefile: Likewise.
24841 * timezone/Makefile: Don't install timezone files, just the programs
24844 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24846 * nss/databases.def: Add missing gshadow entry.
24848 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24850 2012-03-06 Marek Polacek <polacek@redhat.com>
24853 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24854 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24855 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24856 * stdio-common/tst-long-dbl-fphex.c: New file.
24858 2012-03-06 David S. Miller <davem@davemloft.net>
24860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24861 (set_obp_int): New function.
24862 (get_obp_int): New function.
24863 (__get_clockfreq_via_dev_openprom): Likewise.
24864 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24865 Avoid unused variable warnings on 'val' and use builtin_expect.
24866 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24868 (INLINE_CLONE_SYSCALL): Likewise.
24870 2012-03-05 David S. Miller <davem@davemloft.net>
24872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24874 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24878 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24879 only for |x| >= 40.
24880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24882 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24885 Replace gettimeofday with __vdso_gettimeofday.
24887 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24888 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24889 __vdso_clock_gettime and __vdso_getcpu.
24891 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24892 time with __vdso_time.
24894 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24896 * manual/lang.texi (size_t): Note types to which size_t may be
24897 equivalent with the GNU C Library, but do not describe when
24898 differences between them are significant.
24900 2012-03-05 Andreas Jaeger <aj@suse.de>
24902 * sysdeps/i386/fpu/libm-test-ulps: Update.
24904 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24907 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24908 (__ieee754_pow): Save and restore rounding mode and use
24909 round-to-nearest for main computations.
24910 * math/libm-test.inc (pow_test_tonearest): New function.
24911 (pow_test_towardzero): Likewise.
24912 (pow_test_downward): Likewise.
24913 (pow_test_upward): Likewise.
24914 (main): Call the new functions.
24915 * sysdeps/i386/fpu/libm-test-ulps: Update.
24916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24919 * math/libm-test.inc (cosh_test_tonearest): New function.
24920 (cosh_test_towardzero): Likewise.
24921 (cosh_test_downward): Likewise.
24922 (cosh_test_upward): Likewise.
24923 (sinh_test_tonearest): Likewise.
24924 (sinh_test_towardzero): Likewise.
24925 (sinh_test_downward): Likewise.
24926 (sinh_test_upward): Likewise.
24927 (main): Call the new functions.
24928 * sysdeps/i386/fpu/libm-test-ulps: Update.
24929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24931 2012-03-05 Tom de Vries <tom@codesourcery.com>
24933 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24934 default stack guard is set in last bytes.
24935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24937 2012-03-05 Kees Cook <keescook@chromium.org>
24939 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24942 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24943 possibly allocate from heap instead of stack.
24944 * stdio-common/bug-vfprintf-nargs.c: New file.
24945 * stdio-common/Makefile (tests): Add nargs overflow test.
24947 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24951 2012-03-03 Marek Polacek <polacek@redhat.com>
24953 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24954 * math/math_private.h: Likewise.
24955 * stdlib/tst-strtod.c: Likewise.
24956 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24957 * sysdeps/x86_64/bits/atomic.h: Likewise.
24959 2012-03-02 David S. Miller <davem@davemloft.net>
24961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24965 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24966 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24967 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24968 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24970 2012-03-02 Roland McGrath <roland@hack.frob.com>
24973 * manual/examples/README: New file, says the example source files
24974 can be used under GPL>=2.
24975 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24976 line containing just "*/".
24977 * manual/examples/add.c: Add copyright header (GPL>=2).
24978 * manual/examples/argp-ex1.c: Likewise.
24979 * manual/examples/argp-ex2.c: Likewise.
24980 * manual/examples/argp-ex3.c: Likewise.
24981 * manual/examples/argp-ex4.c: Likewise.
24982 * manual/examples/atexit.c: Likewise.
24983 * manual/examples/db.c: Likewise.
24984 * manual/examples/dir.c: Likewise.
24985 * manual/examples/dir2.c: Likewise.
24986 * manual/examples/execinfo.c: Likewise.
24987 * manual/examples/filecli.c: Likewise.
24988 * manual/examples/filesrv.c: Likewise.
24989 * manual/examples/fmtmsgexpl.c: Likewise.
24990 * manual/examples/genpass.c: Likewise.
24991 * manual/examples/inetcli.c: Likewise.
24992 * manual/examples/inetsrv.c: Likewise.
24993 * manual/examples/isockad.c: Likewise.
24994 * manual/examples/longopt.c: Likewise.
24995 * manual/examples/memopen.c: Likewise.
24996 * manual/examples/memstrm.c: Likewise.
24997 * manual/examples/mkfsock.c: Likewise.
24998 * manual/examples/mkisock.c: Likewise.
24999 * manual/examples/mygetpass.c: Likewise.
25000 * manual/examples/pipe.c: Likewise.
25001 * manual/examples/popen.c: Likewise.
25002 * manual/examples/rprintf.c: Likewise.
25003 * manual/examples/search.c: Likewise.
25004 * manual/examples/select.c: Likewise.
25005 * manual/examples/setjmp.c: Likewise.
25006 * manual/examples/sigh1.c: Likewise.
25007 * manual/examples/sigusr.c: Likewise.
25008 * manual/examples/stpcpy.c: Likewise.
25009 * manual/examples/strdupa.c: Likewise.
25010 * manual/examples/strftim.c: Likewise.
25011 * manual/examples/strncat.c: Likewise.
25012 * manual/examples/subopt.c: Likewise.
25013 * manual/examples/swapcontext.c: Likewise.
25014 * manual/examples/termios.c: Likewise.
25015 * manual/examples/testopt.c: Likewise.
25016 * manual/examples/testpass.c: Likewise.
25017 * manual/examples/timeval_subtract.c: Likewise.
25020 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25022 * manual/timeval_subtract.c.texi: ... here, new file.
25024 2012-03-02 David S. Miller <davem@davemloft.net>
25026 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25028 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25031 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25032 (__sin): Save and restore rounding mode and use round-to-nearest
25033 for all computations.
25034 (__cos): Save and restore rounding mode and use round-to-nearest
25035 for all computations.
25036 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25038 (tan): Save and restore rounding mode and use round-to-nearest for
25040 * math/libm-test.inc (cos_test_tonearest): New function.
25041 (cos_test_towardzero): Likewise.
25042 (cos_test_downward): Likewise.
25043 (cos_test_upward): Likewise.
25044 (sin_test_tonearest): Likewise.
25045 (sin_test_towardzero): Likewise.
25046 (sin_test_downward): Likewise.
25047 (sin_test_upward): Likewise.
25048 (tan_test_tonearest): Likewise.
25049 (tan_test_towardzero): Likewise.
25050 (tan_test_downward): Likewise.
25051 (tan_test_upward): Likewise.
25052 (main): Call the new functions.
25053 * sysdeps/i386/fpu/libm-test-ulps: Update.
25054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25058 small n, then large n, before computing and testing k+n.
25059 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25064 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25065 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25070 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25071 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25072 * math/libm-test.inc (scalbn_test): Add more tests.
25073 (scalbln_test): Likewise.
25075 * manual/filesys.texi (mode_t): Describe constraints on size and
25076 signedness, not exact equivalence to a particular type.
25078 (ino64_t): Likewise.
25080 (nlink_t): Likewise.
25081 (blkcnt_t): Likewise.
25082 (blkcnt64_t): Likewise.
25083 * manual/llio.texi (off_t): Likewise.
25086 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25087 (__ieee754_exp): Save and restore rounding mode and use
25088 round-to-nearest for all computations.
25089 * math/libm-test.inc (exp_test_tonearest): New function.
25090 (exp_test_towardzero): Likewise.
25091 (exp_test_downward): Likewise.
25092 (exp_test_upward): Likewise.
25093 (main): Call the new functions.
25094 * sysdeps/i386/fpu/libm-test-ulps: Update.
25095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25097 2012-03-01 Chris Demetriou <cgd@google.com>
25099 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25100 have predictable order.
25102 2012-03-01 David S. Miller <davem@davemloft.net>
25104 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25106 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25107 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25108 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25109 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25111 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25112 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25113 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25115 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25116 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25117 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25118 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25119 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25123 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25124 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25125 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25127 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25128 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25129 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25130 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25131 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25132 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25133 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25134 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25135 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25136 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25137 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25140 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25141 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25143 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25144 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25145 * sysdeps/sparc/elf/configure: Regenerated.
25147 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25149 * configure.in (AS, LD): Require binutils 2.20 or later.
25150 * configure: Regenerated.
25151 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25152 as required minimum version.
25153 * INSTALL: Regenerated.
25157 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25158 before squaring exponent.
25159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25160 bottom long double and 27 bits of top long double before squaring
25162 * math/libm-test.inc (erfc_test): Add more tests.
25163 * sysdeps/i386/fpu/libm-test-ulps: Update.
25164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167 2012-03-01 Kai Tietz <ktietz@redhat.com>
25169 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25170 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25171 containing bit-fields.
25172 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25173 * soft-fp/single.h (_FP_UNION_S): Likewise.
25174 * soft-fp/double.h (_FP_UNION_D): Likewise.
25176 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25179 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25180 not include ../strcmp.S.
25181 [USE_AS_STRNCASECMP_L]: Likewise.
25182 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25183 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25184 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25185 (__strncasecmp_l_ia32): Define as alias to
25186 __strncasecmp_l_nonascii.
25189 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25190 * sysdeps/i386/fpu/libm-test-ulps: Update.
25191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25193 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25196 2012-02-29 Jeff Law <law@redhat.com>
25198 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25199 out of bounds read.
25201 2012-02-29 Marek Polacek <polacek@redhat.com>
25204 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25205 * elf/Makefile: Add rules to run tst-unused-dep.out.
25207 2012-02-28 David S. Miller <davem@davemloft.net>
25209 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25210 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25211 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25213 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25216 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25218 * math/libm-test.inc (llround_test): Move one test from
25219 lround_test. Use TEST_f_L in moved test.
25220 (lround_test): Move misplaced test to llround_test. Add testcase
25223 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25225 * sysdeps/x86_64/fpu/e_expf.S: New file.
25226 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25228 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25231 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25232 of remain_len that may cause incomplete multi-byte character and
25234 * posix/bug-regex33.c: New file.
25235 * posix/Makefile (tests): Add bug-regex33.
25237 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25239 * manual/macros.texi: New file.
25240 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25241 * manual/libc.texinfo: Include macros.texi.
25242 * manual/creatute.texi: Likewise.
25243 * manual/install.texi: Likewise.
25244 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25245 @glibcadj{} in references to the GNU C Library.
25246 * manual/charset.texi: Likewise.
25247 * manual/conf.texi: Likewise.
25248 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25249 when not using those macros.
25250 * manual/creature.texi: Likewise.
25251 * manual/crypt.texi: Likewise.
25252 * manual/errno.texi: Likewise.
25253 * manual/filesys.texi: Likewise.
25254 * manual/header.texi: Likewise.
25255 * manual/install.texi: Likewise.
25256 * manual/intro.texi: Likewise.
25257 * manual/io.texi: Likewise.
25258 * manual/job.texi: Likewise.
25259 * manual/lang.texi: Likewise.
25260 * manual/libc.texiinfo: Likewise.
25261 * manual/llio.texi: Likewise.
25262 * manual/locale.texi: Likewise.
25263 * manual/maint.texi: Likewise.
25264 * manual/math.texi: Likewise.
25265 * manual/memory.texi: Likewise.
25266 * manual/message.texi: Likewise.
25267 * manual/nss.texi: Likewise.
25268 * manual/pattern.texi: Likewise.
25269 * manual/process.texi: Likewise.
25270 * manual/resource.texi: Likewise.
25271 * manual/search.texi: Likewise.
25272 * manual/setjmp.texi: Likewise.
25273 * manual/signal.texi: Likewise.
25274 * manual/socket.texi: Likewise.
25275 * manual/startup.texi: Likewise.
25276 * manual/stdio.texi: Likewise.
25277 * manual/string.texi: Likewise.
25278 * manual/sysinfo.texi: Likewise.
25279 * manual/syslog.texi: Likewise.
25280 * manual/terminal.texi: Likewise.
25281 * manual/time.texi: Likewise.
25282 * manual/users.texi: Likewise.
25283 * INSTALL: Regenerated.
25284 * NOTES: Regenerated.
25285 * sysdeps/gnu/errlist.c: Regenerated.
25287 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25289 * include/dirent.h: Include <dirstream.h> before
25292 2012-02-28 David S. Miller <davem@davemloft.net>
25294 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25295 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25296 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25297 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25299 2012-02-27 David S. Miller <davem@davemloft.net>
25301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25303 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25304 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25307 frame pointer instead of stack pointer relative arg slot.
25308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25309 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25310 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25312 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25315 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25317 2012-02-27 David S. Miller <davem@davemloft.net>
25319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25323 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25324 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25325 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25326 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25328 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25330 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25331 later. Allow versions 5-9.
25332 * configure: Regenerated.
25333 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25334 required minimum version and 4.6 as recommended version. Do not
25335 mention bugs in GCC 2.7 and 2.8.
25336 * INSTALL: Regenerated.
25338 2012-02-27 David S. Miller <davem@davemloft.net>
25340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25344 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25345 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25346 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25347 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25350 manipulate bits before adding and subtracting TWO112[sx].
25351 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25353 2012-02-27 Roland McGrath <roland@hack.frob.com>
25356 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25357 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25358 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25359 being in POSIX, because they are in 1003.1-2008.
25361 * rt/tst-aio.c: Include <fcntl.h>.
25362 * rt/tst-aio7.c: Likewise.
25363 * rt/tst-aio64.c: Likewise.
25365 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25367 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25369 * manual/install.texi (--with-headers): Describe headers as
25370 interface headers, not private headers.
25371 (Specific advice for GNU/Linux systems): Describe use of headers
25372 from "make headers_install", not private headers from older
25374 * INSTALL: Regenerated.
25375 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25377 * sysdeps/unix/sysv/linux/configure: Regenerated.
25379 * manual/llio.texi (fclean): Remove documentation.
25381 * manual/Makefile (libc-texi-generated): New variable. Include
25383 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25384 $(libc-texi-generated), not duplicated list of files.
25385 (version.texi, stamp-version): New rules.
25386 (realclean): Remove $(libc-texi-generated), not individual files
25387 from that list. Do not remove dir-add.texinfo.
25388 * manual/libc.texinfo: Comment out uses of edition numbers and
25389 references to printed manual. Remove last-updated dates.
25390 (EDITION): Comment out.
25392 (VERSION, UPDATED): Remove.
25393 (version.texi): Include.
25395 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25397 * sysdeps/posix/spawni.c: Include <signal.h>.
25398 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25399 * sysdeps/pthread/aio_fsync.c: Likewise.
25401 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25403 * conform/Makefile (tests): Run only when not cross-compiling and
25404 when fast-check is not defined.
25406 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25407 * conform/data/limits.h-data: Fixes for POSIX2008.
25408 * conform/run-conformtest.sh: Run all tests.
25409 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25411 * include/bits/dlfcn.h: Likewise.
25412 * include/langinfo.h: Likewise.
25413 * include/monetary.h: Likewise.
25414 * include/sys/poll.h: Likewise.
25416 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25418 * posix/spawn.h: Define __need_sigset_t.
25419 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25420 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25421 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25422 to get sigevent_t only.
25423 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25424 only for __USE_GNU.
25425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25426 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25427 process_vm_writev only for __USE_GNU.
25428 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25430 * conform/Makefile: For now ignore errors from run-conformtest.
25431 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25432 POSIX to avoid namespace pollution. Don't prepend headers.
25433 * conform/data/aio.h-data: Fixes for POSIX testing.
25434 * conform/data/fcntl.h-data: Likewise.
25435 * conform/data/glob.h-data: Likewise.
25436 * conform/data/grp.h-data: Likewise.
25437 * conform/data/pthread.h-data: Likewise.
25438 * conform/data/pwd.h-data: Likewise.
25439 * conform/data/signal.h-data: Likewise.
25440 * conform/data/spawn.h-data: Likewise.
25441 * conform/data/stdio.h-data: Likewise.
25442 * conform/data/stdlib.h-data: Likewise.
25443 * conform/data/stropts.h-data: Likewise.
25444 * conform/data/sys/mman.h-data: Likewise.
25445 * conform/data/sys/stat.h-data: Likewise.
25446 * conform/data/sys/types.h-data: Likewise.
25447 * conform/data/sys/wait.h-data: Likewise.
25448 * conform/data/time.h-data: Likewise.
25449 * conform/data/unistd.h-data: Likewise.
25450 * conform/data/utime.h-data: Likewise.
25452 * io/sys/stat.h: fchmod was always in POSIX.
25453 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25454 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25455 * rt/aio.h: Define __need_timespec before including <time.h>.
25456 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25457 struct. Add forward declaration of pthread_attr_t and use it in
25459 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25461 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25462 always remove CLK_TCK definition.
25464 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25466 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25468 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25470 * conform/run-conformtest.sh: New file.
25471 * conform/Makefile: Run run-conformtest for tests.
25472 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25475 * conform/data/uchar.h-data: New file.
25476 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25477 * conform/data/arpa/inet.h-data: Likewise.
25478 * conform/data/assert.h-data: Likewise.
25479 * conform/data/complex.h-data: Likewise.
25480 * conform/data/cpio.h-data: Likewise.
25481 * conform/data/ctype.h-data: Likewise.
25482 * conform/data/dirent.h-data: Likewise.
25483 * conform/data/dlfcn.h-data: Likewise.
25484 * conform/data/errno.h-data: Likewise.
25485 * conform/data/fcntl.h-data: Likewise.
25486 * conform/data/float.h-data: Likewise.
25487 * conform/data/fmtmsg.h-data: Likewise.
25488 * conform/data/fnmatch.h-data: Likewise.
25489 * conform/data/ftw.h-data: Likewise.
25490 * conform/data/glob.h-data: Likewise.
25491 * conform/data/grp.h-data: Likewise.
25492 * conform/data/iconv.h-data: Likewise.
25493 * conform/data/inttypes.h-data: Likewise.
25494 * conform/data/langinfo.h-data: Likewise.
25495 * conform/data/libgen.h-data: Likewise.
25496 * conform/data/limits.h-data: Likewise.
25497 * conform/data/locale.h-data: Likewise.
25498 * conform/data/math.h-data: Likewise.
25499 * conform/data/monetary.h-data: Likewise.
25500 * conform/data/mqueue.h-data: Likewise.
25501 * conform/data/ndbm.h-data: Likewise.
25502 * conform/data/net/if.h-data: Likewise.
25503 * conform/data/netdb.h-data: Likewise.
25504 * conform/data/netinet/in.h-data: Likewise.
25505 * conform/data/nl_types.h-data: Likewise.
25506 * conform/data/poll.h-data: Likewise.
25507 * conform/data/pthread.h-data: Likewise.
25508 * conform/data/pwd.h-data: Likewise.
25509 * conform/data/regex.h-data: Likewise.
25510 * conform/data/sched.h-data: Likewise.
25511 * conform/data/search.h-data: Likewise.
25512 * conform/data/semaphore.h-data: Likewise.
25513 * conform/data/setjmp.h-data: Likewise.
25514 * conform/data/signal.h-data: Likewise.
25515 * conform/data/spawn.h-data: Likewise.
25516 * conform/data/stdarg.h-data: Likewise.
25517 * conform/data/stdio.h-data: Likewise.
25518 * conform/data/stdlib.h-data: Likewise.
25519 * conform/data/string.h-data: Likewise.
25520 * conform/data/strings.h-data: Likewise.
25521 * conform/data/stropts.h-data: Likewise.
25522 * conform/data/sys/ipc.h-data: Likewise.
25523 * conform/data/sys/mman.h-data: Likewise.
25524 * conform/data/sys/msg.h-data: Likewise.
25525 * conform/data/sys/resource.h-data: Likewise.
25526 * conform/data/sys/select.h-data: Likewise.
25527 * conform/data/sys/sem.h-data: Likewise.
25528 * conform/data/sys/shm.h-data: Likewise.
25529 * conform/data/sys/socket.h-data: Likewise.
25530 * conform/data/sys/stat.h-data: Likewise.
25531 * conform/data/sys/statvfs.h-data: Likewise.
25532 * conform/data/sys/time.h-data: Likewise.
25533 * conform/data/sys/timeb.h-data: Likewise.
25534 * conform/data/sys/times.h-data: Likewise.
25535 * conform/data/sys/types.h-data: Likewise.
25536 * conform/data/sys/uio.h-data: Likewise.
25537 * conform/data/sys/un.h-data: Likewise.
25538 * conform/data/sys/utsname.h-data: Likewise.
25539 * conform/data/sys/wait.h-data: Likewise.
25540 * conform/data/syslog.h-data: Likewise.
25541 * conform/data/tar.h-data: Likewise.
25542 * conform/data/termios.h-data: Likewise.
25543 * conform/data/utime.h-data: Likewise.
25544 * conform/data/utmpx.h-data: Likewise.
25545 * conform/data/varargs.h-data: Likewise.
25546 * conform/data/wchar.h-data: Likewise.
25547 * conform/data/wctype.h-data: Likewise.
25548 * conform/data/wordexp.h-data: Likewise.
25550 * include/stropts.h: New file.
25551 * include/uchar.h: New file.
25552 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25553 * include/assert.h: Likewise.
25554 * include/ctype.h: Likewise.
25555 * include/dirent.h: Likewise.
25556 * include/dlfcn.h: Likewise.
25557 * include/fcntl.h: Likewise.
25558 * include/fnmatch.h: Likewise.
25559 * include/glob.h: Likewise.
25560 * include/grp.h: Likewise.
25561 * include/libio.h: Likewise.
25562 * include/locale.h: Likewise.
25563 * include/math.h: Likewise.
25564 * include/net/if.h: Likewise.
25565 * include/netdb.h: Likewise.
25566 * include/netinet/in.h: Likewise.
25567 * include/pthread.h: Likewise.
25568 * include/pwd.h: Likewise.
25569 * include/regex.h: Likewise.
25570 * include/sched.h: Likewise.
25571 * include/search.h: Likewise.
25572 * include/setjmp.h: Likewise.
25573 * include/signal.h: Likewise.
25574 * include/stdio.h: Likewise.
25575 * include/stdlib.h: Likewise.
25576 * include/string.h: Likewise.
25577 * include/sys/cdefs.h: Likewise.
25578 * include/sys/mman.h: Likewise.
25579 * include/sys/msg.h: Likewise.
25580 * include/sys/resource.h: Likewise.
25581 * include/sys/select.h: Likewise.
25582 * include/sys/socket.h: Likewise.
25583 * include/sys/stat.h: Likewise.
25584 * include/sys/statvfs.h: Likewise.
25585 * include/sys/time.h: Likewise.
25586 * include/sys/times.h: Likewise.
25587 * include/sys/uio.h: Likewise.
25588 * include/sys/utsname.h: Likewise.
25589 * include/sys/wait.h: Likewise.
25590 * include/termios.h: Likewise.
25591 * include/time.h: Likewise.
25592 * include/ulimit.h: Likewise.
25593 * include/unistd.h: Likewise.
25594 * include/utime.h: Likewise.
25595 * include/wchar.h: Likewise.
25596 * include/wctype.h: Likewise.
25597 * include/wordexp.h: Likewise.
25599 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25601 * time/time.h: TIME_UTC must be a macro.
25602 Make timespec_get available for ISO C11 only as well.
25604 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25606 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25607 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25609 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25611 * configure.in: Use -o not -a in test for unsupported multi-arch.
25613 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25615 * manual/texinfo.tex: Update to version 2012-01-19.16.
25617 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25619 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25621 2012-02-24 Roland McGrath <roland@hack.frob.com>
25624 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25625 * manual/fdl-1.3.texi: New file.
25626 * manual/fdl-1.1.texi: File removed.
25629 * manual/libc.texinfo (FDL_VERSION): New @set.
25630 Use it for mention of FDL in cover text.
25631 (Documentation License): Use it in @include file name.
25633 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25634 Roland McGrath <roland@hack.frob.com>
25637 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25638 not LONG_LONG_MAX and LONG_LONG_MIN.
25639 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25640 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25642 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25644 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25648 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25649 manipulate bits before adding and subtracting TWO23[sx].
25650 * math/libm-test.inc (nearbyint_test): Add more tests.
25652 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25655 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25656 bits before adding and subtracting TWO23[sx].
25657 * math/libm-test.inc (rint_test): Add more tests.
25658 (rint_test_tonearest): Likewise.
25659 (rint_test_towardzero): Likewise.
25660 (rint_test_downward): Likewise.
25661 (rint_test_upward: Likewise.
25663 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25666 * include/stdc-predef.h: New file. Extracted from features.h.
25667 * include/features.h: Include stdc-predef.h.
25668 * Makefile (headers): Add stdc-predef.h.
25669 * CONFORMANCE (Compiler limitations): Update.
25671 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25673 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25675 2012-02-21 David S. Miller <davem@davemloft.net>
25677 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25678 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25680 2012-02-20 David S. Miller <davem@davemloft.net>
25682 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25683 using a normal save/restore sequence, rather than allocating a
25684 dummy stack frame just to store a frame pointer and restore.
25685 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25687 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25689 * manual/install.texi: Fix stray word in line-wrapped comment.
25691 2012-02-20 David S. Miller <davem@davemloft.net>
25693 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25694 both binutils and gcc support GOTDATA.
25696 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25697 "rd %pc" in the PIC register setup sequences.
25699 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25700 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25701 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25702 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25703 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25706 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25708 (SYSCALL_ERROR_HANDLER): Likewise.
25709 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25710 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25712 (SYSCALL_ERROR_HANDLER): Likewise.
25714 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25715 (HAVE_GCC_GOTDATA): New.
25716 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25717 relocation support in both binutils and gcc.
25718 * sysdeps/sparc/elf/configure: Regenerate.
25720 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25721 * sysdeps/sparc/sparc32/elf/configure: Delete.
25722 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25723 * sysdeps/sparc/sparc64/elf/configure: Delete.
25724 * sysdeps/sparc/elf/configure.in: New file.
25725 * sysdeps/sparc/elf/configure: Generate.
25727 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25728 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25729 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25730 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25731 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25733 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25735 * manual/install.texi: Do not mention specific glibc version
25737 * manual/libc.texinfo (VERSION, UPDATED): Update.
25738 (@copying): Use @copyright{} and range of years.
25740 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25743 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25744 [crti.S not in sysdirs] (generated): Do not append.
25745 [crti.S not in sysdirs] (omit-deps): Likewise.
25746 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25747 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25748 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25749 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25750 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25752 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25753 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25754 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25755 * csu/defs.awk: Remove file.
25756 * sysdeps/generic/initfini.c: Likewise.
25757 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25759 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25762 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25764 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25765 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25766 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25768 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25769 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25771 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25772 (__EPOLL_PACKED): Define to empty if not defined by
25774 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25778 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25780 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25781 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25782 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25783 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25785 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25789 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25791 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25794 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25795 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25801 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25803 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25805 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25806 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25808 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25810 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25813 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25815 * math/w_acos.c: Use non-signaling floating-point comparisons.
25816 * math/w_acosf.c: Likewise.
25817 * math/w_acosh.c: Likewise.
25818 * math/w_acoshf.c: Likewise.
25819 * math/w_acoshl.c: Likewise.
25820 * math/w_acosl.c: Likewise.
25821 * math/w_asin.c: Likewise.
25822 * math/w_asinf.c: Likewise.
25823 * math/w_asinl.c: Likewise.
25824 * math/w_atanh.c: Likewise.
25825 * math/w_atanhf.c: Likewise.
25826 * math/w_atanhl.c: Likewise.
25827 * math/w_exp2.c: Likewise.
25828 * math/w_exp2f.c: Likewise.
25829 * math/w_exp2l.c: Likewise.
25830 * math/w_j0.c: Likewise.
25831 * math/w_j0f.c: Likewise.
25832 * math/w_j0l.c: Likewise.
25833 * math/w_j1.c: Likewise.
25834 * math/w_j1f.c: Likewise.
25835 * math/w_j1l.c: Likewise.
25836 * math/w_jn.c: Likewise.
25837 * math/w_jnf.c: Likewise.
25838 * math/w_log.c: Likewise.
25839 * math/w_log10.c: Likewise.
25840 * math/w_log10f.c: Likewise.
25841 * math/w_log10l.c: Likewise.
25842 * math/w_log2.c: Likewise.
25843 * math/w_log2f.c: Likewise.
25844 * math/w_log2l.c: Likewise.
25845 * math/w_logf.c: Likewise.
25846 * math/w_logl.c: Likewise.
25847 * math/w_sqrt.c: Likewise.
25848 * math/w_sqrtf.c: Likewise.
25849 * math/w_sqrtl.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25852 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25853 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25854 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25856 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25859 * manual/string.texi (strnlen): Use correct parameter name in
25860 equivalent expression.
25862 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25865 * manual/users.texi (seteuid): Consistently use neweuid for
25868 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25871 * manual/nss.texi (Services in the NSS configuration): Correct
25872 list of services in example configuration file.
25874 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25877 * manual/arith.texi: Remove statements about negative zero
25878 behaving identically to zero.
25880 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25883 * manual/install.texi: Do not document upgrading from libc5.
25885 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25888 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25890 2012-02-18 David S. Miller <davem@davemloft.net>
25892 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25893 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25894 %o7 across the call.
25895 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25898 SETUP_PIC_REG_LEAF.
25899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25900 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25901 * sysdeps/sparc/crtn.S: Likewise.
25903 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25905 * aout/Makefile: Remove.
25907 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25910 * manual/examples/argp-ex1.c (main): Format definition in GNU
25912 * manual/examples/argp-ex2.c (main): Likewise.
25913 * manual/examples/argp-ex3.c (main): Likewise.
25914 * manual/examples/argp-ex4.c (main): Likewise.
25915 * manual/examples/longopt.c (main): Use new-style prototype
25917 * manual/examples/strncat.c (main): Specify return type and use
25918 (void) for arguments.
25919 * manual/examples/subopt.c (main): Use char **argv argument.
25921 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25924 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25927 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25930 * manual/string.texi (strchr): Change when strchrnul is
25933 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25936 * manual/locale.texi (setlocale): Document LOCPATH.
25938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25941 * manual/process.texi (execle): Move @dots{} before last argument.
25943 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25946 * manual/charset.texi (Generic Charset Conversion): Fix typo
25947 (LC_TYPE -> LC_CTYPE).
25949 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25952 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25953 (scalbnf): Likewise.
25954 (scalbnl): Likewise.
25955 (scalbln): Likewise.
25956 (scalblnf): Likewise.
25957 (scalblnl): Likewise.
25958 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25959 (vwarnx): Likewise.
25962 * manual/filesys.texi (telldir): Use braces around return type.
25963 * manual/llio.texi (mmap): Add space after comma.
25964 (mmap64): Likewise.
25965 * manual/math.texi (jn): Use @var{} on parameter names.
25971 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25973 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25975 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25976 (sched_get_priority_max): Likewise.
25977 * manual/signal.texi (sigvec): Add space after comma.
25978 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25980 (if_indextoname): Likewise.
25981 (if_freenameindex): Likewise.
25982 (sendto): Use ',' instead of '.' in prototype.
25983 * manual/startup.texi (syscall): Use @dots{} instead of literal
25985 * manual/stdio.texi (__fpending): Separate initial words of
25986 paragraph from @deftypefun line.
25987 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25989 (vsyslog): Use @var{} on parameter names.
25990 * manual/terminal.texi (stty): Use @var{} on parameter names.
25991 * manual/users.texi (getutmp): Use @var{} on parameter names.
25992 (getutmpx): Likewise.
25994 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25997 * manual/stdio.texi (fopen): Fix typos in description of
26000 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26003 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26004 get clock_id definition.
26006 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26009 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26010 (madvise): Cast every argument to void on its own.
26012 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26015 * manual/startup.texi (Exit Status): Fix typo.
26017 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26020 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26021 * manual/examples/argp-ex2.c: Likewise.
26022 * manual/examples/argp-ex3.c: Likewise.
26024 2012-02-16 Richard Henderson <rth@redhat.com>
26026 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26027 * sysdeps/s390/s390-32/initfini.c: Remove.
26028 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26029 * sysdeps/s390/s390-64/initfini.c: Remove.
26031 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26033 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26034 compiler output for sysdeps/generic/initfini.c.
26035 * sysdeps/sh/elf/initfini.c: Remove file.
26037 2012-02-16 David S. Miller <davem@davemloft.net>
26040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26042 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26043 * sysdeps/sparc/crti.S: New file.
26044 * sysdeps/sparc/crtn.S: New file.
26045 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26046 * sysdeps/sparc/sparc64/Makefile: Likewise.
26048 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26051 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26053 2012-02-15 Roland McGrath <roland@hack.frob.com>
26056 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26058 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26059 (write, read, close): Likewise.
26060 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26062 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26064 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26065 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26066 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26067 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26069 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26073 2012-02-14 Marek Polacek <polacek@redhat.com>
26075 * sysdeps/x86_64/crti.S: New file.
26076 * sysdeps/x86_64/crtn.S: New file.
26077 * sysdeps/x86_64/elf/initfini.c: Remove file.
26079 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26081 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26082 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26083 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26084 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26086 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26090 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26092 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26093 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26094 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26095 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26097 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26101 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26103 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26104 __feraiseexcept instead of feraiseexcept.
26106 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26107 nanosleep invocations.
26108 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26109 strings, and add error checking for a nanosleep invocations.
26111 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26113 Replace FSF snail mail address with URLs, as per GNU coding standards.
26114 Most of the snail mail addresses were wrong anyway, and omitting
26115 them makes the source code easier to maintain. Almost all of the
26116 changes are to license notices and to locale LC_IDENTIFICATION
26117 addresses, except for this one:
26118 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26119 not its snail mail address.
26121 2012-02-09 Richard Henderson <rth@twiddle.net>
26123 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26124 of kernel-features.h.
26126 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26128 2012-02-08 Marek Polacek <polacek@redhat.com>
26130 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26131 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26132 * sysdeps/gnu/_G_config.h: Likewise.
26133 * sysdeps/generic/_G_config.h: Likewise.
26135 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26137 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26141 * sysdeps/powerpc/powerpc32/crti.S: New file.
26142 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26143 * sysdeps/powerpc/powerpc64/crti.S: New file.
26144 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26146 * Makeconfig (have-initfini): Don't set.
26147 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26148 * configure.in (nopic_initfini): Don't substitute.
26149 * config.h.in (HAVE_INITFINI): Don't #undef.
26150 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26151 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26153 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26155 Support crti.S and crtn.S provided directly by architectures.
26156 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26157 [crti.S in sysdirs] (omit-deps): Likewise.
26158 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26159 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26160 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26161 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26162 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26163 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26164 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26165 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26166 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26167 compiler output for sysdeps/generic/initfini.c.
26168 * sysdeps/i386/elf/Makefile: Remove file.
26169 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26171 2012-02-07 Marek Polacek <polacek@redhat.com>
26173 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26174 * sysdeps/gnu/_G_config.h: Likewise.
26175 * sysdeps/mach/hurd/_G_config.h: Likewise.
26177 2012-02-07 Marek Polacek <polacek@redhat.com>
26179 * math/Makefile (tests): Add tst-CMPLX2.
26180 * math/tst-CMPLX2.c: New file.
26182 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26186 * math/libm-test.inc (jn_test): Add missing L suffix.
26188 2012-02-06 Marek Polacek <polacek@redhat.com>
26190 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26191 * sysdeps/i386/fpu/e_powf.S: Likewise.
26192 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26193 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26194 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26195 * sysdeps/i386/fpu/e_pow.S: Likewise.
26196 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26197 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26198 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26199 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26200 * sysdeps/i386/fpu/e_log2.S: Likewise.
26201 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26202 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26203 * sysdeps/i386/fpu/e_powl.S: Likewise.
26204 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26205 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26206 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26207 * sysdeps/i386/fpu/e_logl.S: Likewise.
26208 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26209 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26210 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26211 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26212 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26213 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26214 * sysdeps/i386/fpu/e_log.S: Likewise.
26215 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26216 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26217 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26218 * sysdeps/i386/fpu/e_logf.S: Likewise.
26219 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26220 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26221 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26222 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26223 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26224 * sysdeps/i386/fpu/e_log10.S: Likewise.
26225 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26226 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26227 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26228 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26230 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26231 * sysdeps/i386/asm-syntax.h: Likewise.
26232 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26233 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26234 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26235 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26236 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26238 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26239 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26240 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26241 * sysdeps/powerpc/sysdep.h: Likewise.
26242 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26243 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26245 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26248 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26250 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26252 * sysdeps/i386/sysdep.h: Include <features.h>.
26253 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26256 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26258 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26260 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26263 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26265 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26266 (SETUP_PIC_REG): Use GET_PC_THUNK.
26267 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26270 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26272 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26273 for non-PIC compilation.
26274 (SETUP_PIC_REG): Add .p2align directive.
26275 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26276 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26277 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26278 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26279 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26280 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26281 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26282 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26283 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26284 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26285 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26286 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26287 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26288 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26289 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26290 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26291 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26292 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26293 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26294 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26295 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26297 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26298 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26302 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26303 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26304 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26305 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26307 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26308 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26309 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26310 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26311 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26312 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26313 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26314 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26315 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26317 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26319 * math/tst-CMPLX.c: Include <stdio.h>.
26321 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26323 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26325 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26326 * sysdeps/sparc/bits/mathdef.h: Likewise.
26328 2012-01-31 Marek Polacek <polacek@redhat.com>
26330 * libio/libio.h: Don't define _PARAMS.
26331 * locale/programs/config.h: Don't define PARAMS.
26332 * stdlib/strtol_l.c: Likewise.
26333 (__strtol_l): Remove PARAMS from the prototype.
26335 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26337 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26338 names. Just use the correct names. Remove unnecessary wrapper
26340 * malloc/arena.c: Likewise.
26341 * malloc/hooks.c: Likewise.
26343 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26344 ARENA_TEST says not to. Simplify test for creation of a new arena.
26345 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26347 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26349 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26351 (update_get_addr): New function.
26352 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26353 GET_ADDR_MODULE parameter.
26355 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26357 * crypt/cert.c: Remove __STDC__ conditionals.
26358 * crypt/crypt-entry.c: Likewise.
26359 * crypt/crypt_util.c: Likewise.
26360 * libio/filedoalloc.c: Likewise.
26361 * libio/fileops.c: Likewise.
26362 * libio/genops.c: Likewise.
26363 * libio/iofclose.c: Likewise.
26364 * libio/iofdopen.c: Likewise.
26365 * libio/iofopen.c: Likewise.
26366 * libio/iofopen64.c: Likewise.
26367 * libio/iogetdelim.c: Likewise.
26368 * libio/iopopen.c: Likewise.
26369 * libio/obprintf.c: Likewise.
26370 * libio/oldfileops.c: Likewise.
26371 * libio/oldiofclose.c: Likewise.
26372 * libio/oldiofdopen.c: Likewise.
26373 * libio/oldiofopen.c: Likewise.
26374 * libio/oldiopopen.c: Likewise.
26375 * libio/wfiledoalloc.c: Likewise.
26376 * libio/wgenops.c: Likewise.
26377 * locale/programs/xmalloc.c: Likewise.
26378 * misc/syslog.c: Likewise.
26379 * stdio-common/xbug.c: Likewise.
26380 * string/memchr.c: Likewise.
26381 * string/memcmp.c: Likewise.
26382 * string/memrchr.c: Likewise.
26383 * string/rawmemchr.c: Likewise.
26384 * sysdeps/posix/getcwd.c: Likewise.
26385 * time/strftime_l.c: Likewise.
26387 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26389 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26390 * config.make.in (config-cflags-sse2avx): Define.
26391 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26394 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26396 * scripts/config.guess: Update from upstream config git repository.
26397 * scripts/config.sub: Likewise.
26399 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26401 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26403 (R_TILEPRO_*, R_TILEGX_*): New macros.
26405 * scripts/firstversions.awk: Fix bug in version range handling.
26407 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26409 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26411 * include/sys/epoll.h: New file.
26412 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26415 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26417 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26418 Avoid unnecessary __WORDSIZE == 64 test.
26419 (fmaxf): Use VEX format if possible.
26424 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26425 * math/math_private.h: Remove libc_fegetround* and
26427 * sysdeps/i386/configure.in: Check for -msse2avx.
26428 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26429 also if SSE2AVX is defined.
26430 Remove libc_fegetround* and libc_fesetround*.
26431 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26432 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26433 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26435 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26436 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26437 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26438 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26439 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26441 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26443 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26445 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26447 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26449 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26452 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26454 * Makeconfig (libm): Define.
26455 * elf/Makefile: Add rules to build and run tst-relsort1.
26456 * elf/tst-relsort1.c: New file.
26457 * elf/tst-relsort1mod1.c: New file.
26458 * elf/tst-relsort1mod2.c: New file.
26460 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26462 * math/s_ldexp.c: Remove __STDC__ conditionals.
26463 * math/s_ldexpf.c: Likewise.
26464 * math/s_ldexpl.c: Likewise.
26465 * math/s_nextafter.c: Likewise.
26466 * math/s_nexttowardf.c: Likewise.
26467 * math/s_significand.c: Likewise.
26468 * math/s_significandf.c: Likewise.
26469 * math/s_significandl.c: Likewise.
26470 * math/w_jnl.c: Likewise.
26471 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26472 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26473 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26474 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26475 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26477 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26478 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26479 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26480 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26481 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26482 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26483 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26485 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26488 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26492 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26493 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26494 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26495 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26496 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26497 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26498 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26499 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26500 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26501 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26502 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26503 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26504 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26505 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26506 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26507 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26508 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26509 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26510 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26511 * sysdeps/ieee754/k_standard.c: Likewise.
26512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26513 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26514 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26515 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26516 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26517 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26518 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26519 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26520 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26521 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26523 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26524 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26525 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26526 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26528 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26529 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26530 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26531 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26532 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26533 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26534 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26535 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26536 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26537 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26573 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26578 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26582 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26586 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26587 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26591 * sysdeps/ieee754/s_matherr.c: Likewise.
26592 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26593 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26594 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26595 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26597 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26599 * crypt/md5.h: Remove __STDC__ conditionals.
26600 * libio/libioP.h: Likewise.
26601 * locale/programs/config.h: Likewise.
26602 * sysdeps/generic/sysdep.h: Likewise.
26603 * sysdeps/i386/asm-syntax.h: Likewise.
26604 * sysdeps/s390/asm-syntax.h: Likewise.
26605 * sysdeps/unix/sysdep.h: Likewise.
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26609 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26611 * libio/libio.h: Remove __STDC__ conditionals.
26612 * malloc/obstack.h: Likewise.
26613 * math/complex.h: Likewise.
26614 * math/math.h: Likewise.
26615 * sysdeps/generic/_G_config.h: Likewise.
26616 * sysdeps/gnu/_G_config.h: Likewise.
26617 * sysdeps/mach/hurd/_G_config.h: Likewise.
26618 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26619 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26620 * sysdeps/sparc/bits/mathdef.h: Likewise.
26622 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26625 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26626 Clean up HAS_* macros.
26627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26628 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26630 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26632 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26633 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26635 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26636 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26638 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26640 * elf/tst-unique3.cc (gets): Remove declaration.
26641 * elf/tst-unique3lib.cc (gets): Likewise.
26642 * elf/tst-unique3lib2.cc (gets): Likewise.
26643 * elf/tst-unique4.cc (gets): Likewise.
26645 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26647 * include/stdio.h: Add C++ protection. Add gets declarations and
26649 * debug/tst-chk1.c: Don't declare gets here.
26650 * stdio-common/tst-gets.c: Likewise.
26652 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26654 * posix/glob: Remove directory.
26656 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26658 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26660 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26662 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26663 of the non-standard EPFNOSUPPORT.
26665 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26667 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26668 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26669 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26671 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26673 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26675 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26677 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26679 * nscd/grpcache.c (cache_addgr): Likewise.
26680 * nscd/hstcache.c (cache_addhst): Likewise.
26681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26682 * nscd/pwdcache.c (cache_addpw): Likewise.
26683 * nscd/servicescache.c (cache_addserv): Likewise.
26685 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26687 * malloc/malloc.c: Various cleanups.
26688 * malloc/hooks.c: Likewise.
26690 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26691 * stdlib/bug-fmtmsg1.c: New file.
26693 * stdlib/fmtmsg.c (init): Add missing unlock.
26694 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26696 2012-01-12 Marek Polacek <polacek@redhat.com>
26698 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26701 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26703 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26704 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26705 macro to ensure uniqueness of label name.
26706 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26707 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26709 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26711 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26713 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26714 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26715 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26718 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26720 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26722 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26723 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26724 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26726 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26728 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26729 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26730 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26733 * math/bits/math-finite.h: Add ldexp support.
26735 2012-01-10 Marek Polacek <polacek@redhat.com>
26737 * locale/programs/localedef.h (show_archive_content): Add noreturn
26740 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26742 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26744 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26746 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26748 * io/Makefile (headers): Add bits/poll2.h.
26750 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26753 typo #include statement.
26755 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26757 * include/sys/cdefs.h: Define __attribute_alloc_size.
26758 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26759 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26760 * elf/pldd.c: Likewise.
26761 * iconv/iconv_charmap.c: Likewise.
26762 * iconv/iconvconfig.c: Likewise.
26763 * iconv/strtab.c: Likewise.
26764 * locale/programs/locale.c: Likewise.
26765 * locale/programs/localedef.h: Likewise.
26766 * locale/programs/simple-hash.c: Likewise.
26767 * nscd/nscd.h: Likewise.
26768 * nss/makedb.c: Likewise.
26769 * sysdeps/generic/ldconfig.h: Likewise.
26770 * locale/programs/localedef.c: Remove xmalloc prototype.
26771 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26773 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26775 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26778 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26780 * math/Makefile (tests): Add tst-CMPLX.
26781 * math/tst-CMPLX.c: New file.
26783 * math/complex.h (CMPLXL): Fix typo.
26785 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26786 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26788 * debug/tst-chk1.c: Add poll and ppoll tests.
26789 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26790 * include/sys/poll.h: Add hidden proto for ppoll.
26791 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26792 * sysdeps/mach/hurd/ppoll.c: Likewise.
26793 * io/ppoll.c: Likewise.
26794 * debug/poll_chk.c: New file.
26795 * debug/ppoll_chk.c: New file.
26796 * include/bits/poll2.h: New file.
26797 * io/bits/poll2.h: New file.
26800 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26802 * configure.in: static is always set to yes. Remove.
26803 * config.make.in: Don't set build-static.
26804 * Makeconfig: Remove use of build-static.
26805 * dlfcn/Makefile: Likewise.
26806 * elf/Makefile: Likewise.
26807 * math/Makefile: Likewise.
26808 * misc/Makefile: Likewise.
26809 * nptl/Makefile: Likewise.
26810 * sysdeps/mach/hurd/Makefile: Likewise.
26812 * configure.in: PWD_P is not used anymore.
26813 * config.make.in: Remove PWD_P entry.
26815 * configure.in: Remove last remnants of RANLIB.
26816 No need to check for signed size_t anymore.
26817 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26819 Remove __builtin_expect test because we require at least gcc 3.4.
26820 * aclocal.m4: Likewise.
26822 * wcsmbs/mbrtoc16.c: Implement using towc function.
26823 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26824 * wcsmbs/wcsmbsload.c: Likewise.
26825 * iconv/gconv_simple.c: Likewise.
26826 * iconv/gconv_int.h: Likewise.
26827 * iconv/gconv_builtin.h: Likewise.
26828 * iconv/iconv_prog.c: Remove CHAR16 handling.
26830 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26832 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26834 * configure.in: Remove --with-elf and --enable-bounded options.
26835 Dont set base_machine for ia64. More non-ELF conditions removed.
26836 Remove testing and setting of leading underscore information.
26837 * config.make.in (build-bounded): Set to no.
26838 * config.h.in: Remove NO_UNDERSCORES entry.
26839 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26841 * csu/start.c: Remove !NO_UNDERSCORE code.
26842 * locale/localeinfo.h: Likewise.
26843 * sysdeps/generic/machine-gmon.h: Likewise.
26844 * sysdeps/generic/sysdep.h: Likewise.
26845 * sysdeps/i386/sysdep.h: Likewise.
26846 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26847 * sysdeps/mach/sysdep.h: Likewise.
26848 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26849 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26850 * sysdeps/sh/sysdep.h: Likewise.
26851 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26852 * sysdeps/unix/i386/sysdep.S: Likewise.
26853 * sysdeps/unix/sparc/start.c: Likewise.
26854 * sysdeps/unix/sparc/sysdep.S: Likewise.
26855 * sysdeps/unix/sparc/sysdep.h: Likewise.
26856 * sysdeps/unix/start.c: Likewise.
26857 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26858 * sysdeps/x86_64/sysdep.h: Likewise.
26860 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26863 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26865 * argp/argp-fmtstream.h: Use const instead __const.
26866 * argp/argp.h: Likewise.
26867 * assert/assert.h: Likewise.
26868 * bits/fenv.h: Likewise.
26869 * bits/sched.h: Likewise.
26870 * bits/sigset.h: Likewise.
26871 * bits/sigthread.h: Likewise.
26872 * catgets/nl_types.h: Likewise.
26873 * conform/data/pthread.h-data: Likewise.
26874 * crypt/crypt-private.h: Likewise.
26875 * crypt/crypt.h: Likewise.
26876 * crypt/crypt_util.c: Likewise.
26877 * ctype/ctype.h: Likewise.
26878 * debug/execinfo.h: Likewise.
26879 * debug/mbsnrtowcs_chk.c: Likewise.
26880 * debug/mbsrtowcs_chk.c: Likewise.
26881 * debug/wcsnrtombs_chk.c: Likewise.
26882 * debug/wcsrtombs_chk.c: Likewise.
26883 * debug/wcstombs_chk.c: Likewise.
26884 * dirent/dirent.h: Likewise.
26885 * dlfcn/dlfcn.h: Likewise.
26886 * elf/neededtest4.c: Likewise.
26887 * grp/grp.h: Likewise.
26888 * gshadow/gshadow.h: Likewise.
26889 * iconv/gconv.h: Likewise.
26890 * iconv/gconv_int.h: Likewise.
26891 * iconv/gconv_simple.c: Likewise.
26892 * iconv/iconv.h: Likewise.
26893 * iconv/loop.c: Likewise.
26894 * iconv/skeleton.c: Likewise.
26895 * include/aio.h: Likewise.
26896 * include/aliases.h: Likewise.
26897 * include/argz.h: Likewise.
26898 * include/arpa/inet.h: Likewise.
26899 * include/assert.h: Likewise.
26900 * include/dirent.h: Likewise.
26901 * include/dlfcn.h: Likewise.
26902 * include/execinfo.h: Likewise.
26903 * include/fcntl.h: Likewise.
26904 * include/fenv.h: Likewise.
26905 * include/glob.h: Likewise.
26906 * include/grp.h: Likewise.
26907 * include/libintl.h: Likewise.
26908 * include/mntent.h: Likewise.
26909 * include/netdb.h: Likewise.
26910 * include/pwd.h: Likewise.
26911 * include/rpc/netdb.h: Likewise.
26912 * include/sched.h: Likewise.
26913 * include/search.h: Likewise.
26914 * include/shadow.h: Likewise.
26915 * include/signal.h: Likewise.
26916 * include/stdio.h: Likewise.
26917 * include/stdlib.h: Likewise.
26918 * include/string.h: Likewise.
26919 * include/sys/socket.h: Likewise.
26920 * include/sys/stat.h: Likewise.
26921 * include/sys/statfs.h: Likewise.
26922 * include/sys/statvfs.h: Likewise.
26923 * include/sys/syslog.h: Likewise.
26924 * include/sys/time.h: Likewise.
26925 * include/sys/uio.h: Likewise.
26926 * include/time.h: Likewise.
26927 * include/unistd.h: Likewise.
26928 * include/utmp.h: Likewise.
26929 * include/wchar.h: Likewise.
26930 * include/wctype.h: Likewise.
26931 * inet/aliases.h: Likewise.
26932 * inet/arpa/inet.h: Likewise.
26933 * inet/netinet/ether.h: Likewise.
26934 * inet/netinet/in.h: Likewise.
26935 * intl/libintl.h: Likewise.
26936 * io/bits/fcntl2.h: Likewise.
26937 * io/fcntl.h: Likewise.
26938 * io/ftw.h: Likewise.
26939 * io/sys/poll.h: Likewise.
26940 * io/sys/stat.h: Likewise.
26941 * io/sys/statfs.h: Likewise.
26942 * io/sys/statvfs.h: Likewise.
26943 * io/utime.h: Likewise.
26944 * libio/bits/stdio.h: Likewise.
26945 * libio/bits/stdio2.h: Likewise.
26946 * libio/libio.h: Likewise.
26947 * libio/libioP.h: Likewise.
26948 * libio/stdio.h: Likewise.
26949 * locale/lc-ctype.c: Likewise.
26950 * locale/locale.h: Likewise.
26951 * login/utmp.h: Likewise.
26952 * malloc/arena.c: Likewise.
26953 * malloc/malloc.c: Likewise.
26954 * malloc/malloc.h: Likewise.
26955 * malloc/mcheck.c: Likewise.
26956 * malloc/mtrace.c: Likewise.
26957 * math/bits/mathcalls.h: Likewise.
26958 * math/fenv.h: Likewise.
26959 * math/math_private.h: Likewise.
26960 * misc/bits/error.h: Likewise.
26961 * misc/bits/syslog.h: Likewise.
26962 * misc/err.h: Likewise.
26963 * misc/error.h: Likewise.
26964 * misc/fstab.h: Likewise.
26965 * misc/mntent.h: Likewise.
26966 * misc/regexp.h: Likewise.
26967 * misc/search.h: Likewise.
26968 * misc/sgtty.h: Likewise.
26969 * misc/sys/mman.h: Likewise.
26970 * misc/sys/syslog.h: Likewise.
26971 * misc/sys/uio.h: Likewise.
26972 * misc/sys/xattr.h: Likewise.
26973 * misc/ttyent.h: Likewise.
26974 * nis/rpcsvc/ypclnt.h: Likewise.
26975 * nss/nss.h: Likewise.
26976 * posix/bits/unistd.h: Likewise.
26977 * posix/fnmatch.h: Likewise.
26978 * posix/glob.h: Likewise.
26979 * posix/sched.h: Likewise.
26980 * posix/spawn.h: Likewise.
26981 * posix/sys/wait.h: Likewise.
26982 * posix/unistd.h: Likewise.
26983 * posix/wordexp.h: Likewise.
26984 * pwd/pwd.h: Likewise.
26985 * resolv/netdb.h: Likewise.
26986 * resource/sys/resource.h: Likewise.
26987 * rt/aio.h: Likewise.
26988 * rt/bits/mqueue2.h: Likewise.
26989 * rt/mqueue.h: Likewise.
26990 * shadow/shadow.h: Likewise.
26991 * signal/signal.h: Likewise.
26992 * socket/send.c: Likewise.
26993 * socket/sendto.c: Likewise.
26994 * socket/sys/socket.h: Likewise.
26995 * stdio-common/printf.h: Likewise.
26996 * stdlib/bits/stdlib.h: Likewise.
26997 * stdlib/fmtmsg.h: Likewise.
26998 * stdlib/monetary.h: Likewise.
26999 * stdlib/stdlib.h: Likewise.
27000 * stdlib/ucontext.h: Likewise.
27001 * streams/stropts.h: Likewise.
27002 * string/argz.h: Likewise.
27003 * string/bits/string2.h: Likewise.
27004 * string/string.h: Likewise.
27005 * string/strings.h: Likewise.
27006 * sunrpc/rpc/auth.h: Likewise.
27007 * sunrpc/rpc/auth_des.h: Likewise.
27008 * sunrpc/rpc/clnt.h: Likewise.
27009 * sunrpc/rpc/netdb.h: Likewise.
27010 * sunrpc/rpc/pmap_clnt.h: Likewise.
27011 * sunrpc/rpc/xdr.h: Likewise.
27012 * sysdeps/generic/inttypes.h: Likewise.
27013 * sysdeps/generic/net/if.h: Likewise.
27014 * sysdeps/generic/sys/swap.h: Likewise.
27015 * sysdeps/gnu/net/if.h: Likewise.
27016 * sysdeps/gnu/utmpx.h: Likewise.
27017 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27018 * sysdeps/i386/i486/bits/string.h: Likewise.
27019 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27020 * sysdeps/s390/bits/string.h: Likewise.
27021 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27022 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27023 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27024 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27025 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27026 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27027 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27028 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27029 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27030 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27031 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27032 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27033 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27034 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27035 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27036 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27037 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27039 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27040 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27041 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27042 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27043 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27044 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27045 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27046 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27047 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27049 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27050 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27051 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27052 * sysvipc/sys/ipc.h: Likewise.
27053 * sysvipc/sys/msg.h: Likewise.
27054 * sysvipc/sys/sem.h: Likewise.
27055 * sysvipc/sys/shm.h: Likewise.
27056 * termios/termios.h: Likewise.
27057 * time/sys/time.h: Likewise.
27058 * time/time.h: Likewise.
27059 * wcsmbs/bits/wchar2.h: Likewise.
27060 * wcsmbs/uchar.h: Likewise.
27061 * wcsmbs/wchar.h: Likewise.
27062 * wctype/wctype.h: Likewise.
27065 * Makeconfig: Remove all but ELF support including AIX support.
27066 * Makerules: Likewise.
27067 * config.h.in: Likewise.
27068 * config.make.in: Likewise.
27069 * configure: Likewise.
27070 * configure.in: Likewise.
27071 * csu/Makefile: Likewise.
27072 * csu/version.c: Likewise.
27073 * debug/Makefile: Likewise.
27074 * dlfcn/Makefile: Likewise.
27075 * elf/Makefile: Likewise.
27076 * extra-lib.mk: Likewise.
27077 * iconv/Makefile: Likewise.
27078 * include/libc-symbols.h: Likewise.
27079 * include/shlib-compat.h: Likewise.
27080 * resolv/Makefile: Likewise.
27081 * resolv/res_libc.c: Likewise.
27082 * rt/Makefile: Likewise.
27083 * sysdeps/i386/asm-syntax.h: Likewise.
27084 * sysdeps/i386/sysdep.h: Likewise.
27085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27086 * sysdeps/mach/sysdep.h: Likewise.
27087 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27088 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27089 * sysdeps/s390/asm-syntax.h: Likewise.
27090 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27091 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27092 * sysdeps/sh/sysdep.h: Likewise.
27093 * sysdeps/unix/sparc/sysdep.h: Likewise.
27094 * sysdeps/wordsize-32/divdi3.c: Likewise.
27095 * sysdeps/x86_64/sysdep.h: Likewise.
27097 * argp/Versions: Remove _argp_unlock_xxx.
27100 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27101 * abilist/libBrokenLocale.abilist: Likewise.
27102 * abilist/libanl.abilist: Likewise.
27103 * abilist/libc.abilist: Likewise.
27104 * abilist/libcrypt.abilist: Likewise.
27105 * abilist/libdl.abilist: Likewise.
27106 * abilist/libm.abilist: Likewise.
27107 * abilist/libnsl.abilist: Likewise.
27108 * abilist/libpthread.abilist: Likewise.
27109 * abilist/libresolv.abilist: Likewise.
27110 * abilist/librt.abilist: Likewise.
27111 * abilist/libthread_db.abilist: Likewise.
27112 * abilist/libutil.abilist: Likewise.
27113 * abilist/libnss_db.abilist: New file.
27115 * scripts/abilist.awk: Add support for indirect functions.
27117 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27119 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27121 * shlib-versions: Remove entries for ports architectures.
27123 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27125 * elf/stackguard-macros.h: Remove support for IA-64.
27126 * elf/tst-auditmod1.c: Likewise.
27127 * sysdeps/generic/ldsodefs.h: Likewise.
27129 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27130 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27134 * configure.in: Remove --enable-omitfp support.
27136 * config.make.in: Likewise.
27137 * Makeconfig: Likewise.
27138 * manual/install.texi: Likewise.
27140 In case anyone cares, the IA-64 architecture could move to ports.
27141 * sysdeps/ia64/*: Removed.
27142 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27143 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27146 * configure.in: Remove entries for unsupported architectures.
27149 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27150 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27152 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27153 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27154 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27155 fall back to using wcrtomb.
27156 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27157 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27159 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27160 * wcsmbs/tst-c16c32-1.c: New file.
27162 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27165 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27167 * elf/tst-unique3.cc: Add explicit declaration of gets.
27168 * elf/tst-unique3lib.cc: Likewise.
27169 * elf/tst-unique3lib2.cc: Likewise.
27170 * elf/tst-unique4.cc: Likewise.
27172 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27174 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27177 * assert/assert.h (static_assert): Don't define for C++.
27178 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27179 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27181 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27183 * iconv/loop.c (single loop): Fix assertion in storing of
27186 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27188 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27190 * posix/getconf.c: Update copyright year.
27191 * nss/getent.c: Likewise.
27192 * nss/makedb.c: Likewise.
27193 * iconv/iconvconfig.c: Likewise.
27194 * iconv/iconv_prog.c: Likewise.
27195 * elf/ldconfig.c: Likewise.
27196 * elf/pldd.c: Likewise.
27197 * elf/sotruss.ksh: Likewise.
27198 * catgets/gencat.c: Likewise.
27199 * csu/version.c: Likewise.
27200 * elf/ldd.bash.in: Likewise.
27201 * elf/sprof.c (print_version): Likewise.
27202 * locale/programs/locale.c: Likewise.
27203 * locale/programs/localedef.c: Likewise.
27204 * login/programs/pt_chown.c: Likewise.
27205 * nscd/nscd.c (print_version): Likewise.
27206 * debug/xtrace.sh: Likewise.
27207 * malloc/memusage.sh: Likewise.
27208 * malloc/mtrace.pl: Likewise.
27209 * debug/catchsegv.sh: Likewise.
27211 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27213 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27216 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27219 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27220 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27222 * iconv/gconv_int.h: Likewise.
27223 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27224 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27225 from libc for GLIBC_2.16.
27226 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27227 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27228 * wcsmbs/uchar.h: Really define mbstate_t.
27229 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27230 * wcsmbs/c16rtomb.c: New file.
27231 * wcsmbs/mbrtoc16.c: New file.
27232 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27233 for C/POSIX locale.
27234 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27235 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27237 * wcsmbs/wchar.h: Add missing __restrict.
27239 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27242 * time/Makefile (routines): Add timespec_get.
27243 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27244 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27245 timespec for ISO C11.
27246 * time/timespec_get.c: New file.
27247 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27248 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27251 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27252 * stdlib/stdlib.h: Declare aligned_alloc.
27253 * Versions.def: Add GLIBC_2.16 for libc.
27254 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27257 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27260 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27264 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27267 * assert/assert.h (static_assert): Define.
27269 * version.h: Update for 2.16 development version.
27272 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27275 * version.h (RELEASE): Bump for 2.15 release.
27276 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27278 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27279 Patch by Marek Polacek <mpolacek@redhat.com>.
27281 * bits/byteswap.h: Protect long long constants with __extension__.
27282 * sysdeps/i386/bits/byteswap.h: Likewise.
27283 * sysdeps/ia64/bits/byteswap.h: Likewise.
27284 * sysdeps/s390/bits/byteswap.h: Likewise.
27285 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27287 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27290 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27291 destination buffer.
27292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27294 2011-12-23 Marek Polacek <polacek@redhat.com>
27296 * elf/dl-addr.c (determine_info): Add inline keyword.
27297 * elf/tst-auditmod4b.c (check_avx): Likewise.
27298 * elf/tst-auditmod6b.c (check_avx): Likewise.
27299 * elf/tst-auditmod6c.c (check_avx): Likewise.
27300 * elf/tst-auditmod7b.c (check_avx): Likewise.
27302 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27304 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27307 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27311 processing for last bytes.
27313 2011-08-06 Bruno Haible <bruno@clisp.org>
27316 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27317 U+0385, not to U+1FEE.
27320 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27321 entry for U+00A5 U+0301.
27323 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27326 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27327 buffer for the output is too small.
27329 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27333 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27334 SSE flags if possible.
27336 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27340 processing for last bytes.
27342 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27344 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27345 (syscall-list-default-options, syscall-list-default-condition)
27346 (syscall-list-includes): Define.
27347 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27348 list of ABIs and options and #if conditions for each ABI. Do not
27349 handle common syscalls between ABIs specially.
27350 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27352 (syscall-list-variants, syscall-list-32bit-options)
27353 (syscall-list-32bit-condition, syscall-list-64bit-options)
27354 (syscall-list-64bit-condition): Define.
27355 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27356 (syscall-list-variants, syscall-list-32bit-options)
27357 (syscall-list-32bit-condition, syscall-list-64bit-options)
27358 (syscall-list-64bit-condition): Define.
27359 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27361 (syscall-list-variants, syscall-list-32bit-options)
27362 (syscall-list-32bit-condition, syscall-list-64bit-options)
27363 (syscall-list-64bit-condition): Define.
27364 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27366 (syscall-list-variants, syscall-list-32bit-options)
27367 (syscall-list-32bit-condition, syscall-list-64bit-options)
27368 (syscall-list-64bit-condition): Define.
27370 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27372 * locale/iso-639.def: Add brx entry.
27375 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27376 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27378 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27379 __feraiseexcept_renamed.
27381 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27384 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27385 EPOLLET with unsigned values.
27386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27389 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27390 to large cancellation.
27391 * math/s_cacoshf.c: Likewise.
27392 * math/s_cacoshl.c: Likewise.
27394 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27398 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27399 * math/s_cacoshf.c: Likewise.
27400 * math/s_cacoshl.c: Likewise.
27402 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27405 * iconv/gconv.h: Define __GCONV_SWAP.
27406 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27407 * iconvdata/utf-16.c: Likewise.
27408 * iconvdata/utf-32.c: Likewise.
27410 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27413 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27414 numerator after shifting it by one limb.
27416 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27418 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27419 under [__USE_EXTERN_INLINES].
27421 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27424 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27426 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27428 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27429 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27431 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27432 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27433 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27434 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27435 for strncasecmp/strncasecmp_l compilation.
27436 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27437 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27439 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27442 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27445 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27448 * time/tzfile.c (__tzfile_read): Check values from file header.
27450 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27452 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27453 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27454 * powerpc/powerpc32/dl-start.S: Likewise.
27455 * powerpc/powerpc32/elf/start.S: Likewise.
27456 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27457 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27458 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27459 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27460 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27461 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27462 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27463 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27464 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27465 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27466 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27467 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27468 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27469 * powerpc/powerpc32/memset.S: Likewise.
27470 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27471 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27472 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27473 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27474 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27475 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27476 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27477 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27478 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27479 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27480 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27481 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27482 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27484 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27486 * math/libm-test.inc: Added more nearbyint tests.
27487 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27488 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27490 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27492 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27494 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27497 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27499 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27500 Add wcscpy-ssse3 wcscpy-c.
27501 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27502 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27503 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27504 * sysdeps/x86_64/wcschr.S: New file.
27505 * sysdeps/x86_64/wcsrchr.S: New file.
27506 * string/test-strcmp.c: Remove checking of wcscmp function for
27508 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27509 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27510 wcsrchr-sse2 wcsrchr-c.
27511 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27512 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27513 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27514 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27515 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27516 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27517 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27518 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27519 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27520 * wcsmbc/wcschr.c (WCSCHR): New macro.
27522 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27524 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27525 * wcsmbs/test-wcsrchr.c: New file.
27526 * string/test-strrchr.c: Add wcsrchr support.
27528 * wcsmbs/test-wcscpy.c: New file.
27529 * string/test-strcpy.c: Add wcscpy support.
27532 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27534 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27537 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27540 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27542 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27545 Minor optimizations.
27547 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27548 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27549 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27551 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27553 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27554 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27555 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27556 for gcc to avoid warnings.
27557 * inet/Makefile (tests): Add tst-checks.
27558 * inet/tst-checks.c: New file.
27560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27563 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27566 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27567 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27569 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27571 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27573 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27576 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27578 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27581 conditional on GCC version.
27582 (__arch_compare_and_exchange_val_8_acq)
27583 (__arch_compare_and_exchange_val_16_acq)
27584 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27585 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27586 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27588 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27590 * sysdeps/sh/backtrace.c: New file.
27592 2011-12-02 Andreas Schwab <schwab@redhat.com>
27594 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27597 2011-12-01 Andreas Schwab <schwab@redhat.com>
27599 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27600 falling back to utime.
27602 2011-11-30 Andreas Schwab <schwab@redhat.com>
27604 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27605 expectations for float.
27607 2011-11-29 Andreas Schwab <schwab@redhat.com>
27609 * locale/weight.h (findidx): Add parameter len.
27610 * locale/weightwc.h (findidx): Likewise.
27611 * posix/fnmatch_loop.c (FCT): Adjust caller.
27612 * posix/regcomp.c (build_equiv_class): Likewise.
27613 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27614 * posix/regexec.c (check_node_accept_bytes): Likewise.
27615 * string/strcoll_l.c (STRCOLL): Likewise.
27616 * string/strxfrm_l.c (STRXFRM): Likewise.
27618 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27620 * Makefile.in: Remove CVSOPT handling.
27621 * configure.in: Remove use of AC_REVISION.
27622 * iconvdata/Makefile (distribute): No need to filter out CVS.
27623 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27626 2011-11-16 Andreas Schwab <schwab@redhat.com>
27628 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27629 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27630 [USE_AS_STRNCASECMP_L]: Likewise.
27631 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27632 NO_TLS_DIRECT_SEG_REFS.
27633 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27634 Fix argument offsets for non-PIC.
27635 [USE_AS_STRNCASECMP_L]: Likewise.
27636 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27637 NO_TLS_DIRECT_SEG_REFS.
27639 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27641 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27643 * locale/loadlocale.c (_nl_load_locale): Likewise.
27645 2011-11-15 Andreas Schwab <schwab@redhat.com>
27647 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27648 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27649 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27650 (SYSCALL_GETTIME): Set errno on error.
27652 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27653 count references to noai6ai_cached.
27655 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27657 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27659 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27660 FD_CLOEXEC for /proc/self/maps.
27662 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27663 FD_CLOEXEC for /proc/meminfo.
27665 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27668 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27669 FD_CLOEXEC for given file.
27671 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27673 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27674 FD_CLOEXEC for /etc/hosts.
27675 (_gethtent): Likewise.
27677 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27679 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27680 cancellation and set FD_CLOEXEC for /etc/netgroup.
27682 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27683 reading /etc/publickey.
27685 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27686 allow cancellation when reading /etc/group.
27688 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27690 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27692 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27693 when using data file.
27695 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27697 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27698 (write_nis_obj): Use "c" and "e" in fopen.
27700 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27702 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27704 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27706 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27708 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27711 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27713 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27715 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27717 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27718 file parsing and set FD_CLOEXEC.
27720 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27722 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27724 2011-11-14 Andreas Schwab <schwab@redhat.com>
27726 * malloc/arena.c (arena_get2): Don't call reused_arena when
27727 _int_new_arena failed.
27729 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27731 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27732 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27733 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27734 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27736 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27737 to compile strcasecmp and strncasecmp.
27738 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27739 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27743 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27745 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27746 locale-defines.sym to gen-as-const-headers.
27747 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27748 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27750 to compile strcasecmp and strncasecmp.
27751 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27752 strcasecmp_l and strncasecmp_l.
27753 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27754 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27755 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27756 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27757 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27758 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27759 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27760 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27761 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27762 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27763 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27765 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27767 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27768 result of SYSDEP_GETTIME_CPU to retval.
27769 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27770 parameter list to macro. Remove trailing semicolon. Adjust users.
27772 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27775 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27777 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27779 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27780 from unused variable.
27782 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27784 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27787 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27790 * sunrpc/rpc_prot.c (rejected): Fix case value.
27792 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27793 unsigned long long int to avoid warnings in shift.
27795 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27797 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27800 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27801 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27802 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27804 * nis/nis_table.c (nis_list): Use variable of correct type for
27805 result of __follow_path call.
27807 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27809 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27810 of math functions ceil, trunc, floor, round, and sqrt, when
27811 avaliable on the platform.
27812 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27815 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27816 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27818 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27820 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27821 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27823 2011-11-11 Roland McGrath <roland@hack.frob.com>
27825 * include/unistd.h: Fix __readlink return type.
27826 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27828 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27830 * stdlib/ucontext.h: Undo last change for makecontext.
27832 2011-11-11 Andreas Schwab <schwab@redhat.com>
27834 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27836 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27837 * setjmp/setjmp.h: Mark functions as non-leaf.
27838 * setjmp/bits/setjmp2.h: Likewise.
27839 * stdlib/ucontext.h: Likewise.
27841 2011-11-10 Andreas Schwab <schwab@redhat.com>
27843 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27844 (reused_arena): Don't check arena limit.
27845 (arena_get2): Atomically check arena limit.
27847 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27849 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27850 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27855 2011-11-07 Andreas Schwab <schwab@redhat.com>
27857 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27858 handler when locking.
27860 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27861 Fix size of allocated buffer.
27863 2011-11-04 Andreas Schwab <schwab@redhat.com>
27866 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27867 declarations for long double functions.
27868 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27870 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27872 2011-11-03 Andreas Schwab <schwab@redhat.com>
27874 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27877 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27880 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27882 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27884 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27886 * include/alloca.h (stackinfo_alloca_round): Define.
27887 (extend_alloca): Use it.
27888 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27889 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27892 * scripts/check-local-headers.sh: Ignore libaudit.h.
27894 * nscd/Makefile (extra-objs): Make recursively expanded.
27896 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27898 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27901 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27902 * posix/tst-rfc3484-2.c: Likewise.
27903 * posix/tst-rfc3484-3.c: Likewise.
27905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27907 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27909 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27910 process_vm_writev from libc using GLIBC_2.15 version.
27912 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27914 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27916 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27919 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27922 * nss/getent.c (initgroups_keys): Show error message in case no group
27925 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27926 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27927 __bump_nl_timestamp.
27928 * nscd/connections (nscd_init): When host database is served open
27929 netlink socket and request notification about configuration changes.
27930 (main_loop_poll): Track netlink file descriptor and bump timestamp
27931 in case data becomes available.
27932 (main_loop_epoll): Likewise.
27933 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27934 (database_pers_head): Add extra_data fileds.
27935 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27936 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27937 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27939 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27940 in6ai data, call __free_in6ai.
27941 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27942 Add -DHAVE_NETLINK.
27943 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27944 interface information. Reuse previous data if netlink timestamp
27946 (__bump_nl_timestamp): New function.
27947 (__free_in6ai): New function.
27949 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27951 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27952 close_not_cancel_no_status here.
27953 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27955 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27958 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27961 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27962 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27963 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27965 2011-07-03 Andreas Jaeger <aj@suse.de>
27968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27969 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27970 * math/libm-test.inc (sin_test): Add test case.
27972 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27975 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27976 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27978 * elf/chroot_canon.c (chroot_canon): Cleanups.
27980 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27983 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27984 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27986 * string/test-strchr.c: Make usable for strchrnul testing.
27987 * string/test-strchrnul.c: New file.
27988 * string/Makefile (strop-tests): Add strchrnul.
27990 * po/it.po: Update from translation team.
27991 * po/es.po: Likewise.
27993 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27996 the three constants needed as parameters. Drop the others.
27997 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27998 __m128i_strloadu_tolower.
27999 Create and initialize variable zero and use it in all the places
28000 where _mm_setzero_si128 was used.
28002 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28003 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28004 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28005 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28007 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28008 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28009 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28010 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28011 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28012 __mpranred, __mptan.
28013 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28014 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28015 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28016 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28017 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28018 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28020 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28021 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28023 2011-10-28 Andreas Schwab <schwab@redhat.com>
28025 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28026 redefine if SHARED.
28027 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28030 wide char related routines to wcsmbs subdir.
28032 2011-10-27 Andreas Schwab <schwab@redhat.com>
28035 * misc/sys/cdefs.h (__THROWNL): Define.
28036 * posix/unistd.h: Use __THREADNL instead of __THREAD
28037 for memory synchronization functions.
28039 2011-10-26 Roland McGrath <roland@hack.frob.com>
28042 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28044 * manual/stdio.texi (Obstack Streams): Node removed.
28046 2011-10-26 Andreas Schwab <schwab@redhat.com>
28048 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28049 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28050 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28052 * math/math_private.h (math_force_eval): Allow non-addressable
28054 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28056 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28058 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28059 file is not needed.
28061 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28062 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28063 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28064 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28066 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28068 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28070 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28071 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28072 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28073 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28074 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28075 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28076 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28077 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28078 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28079 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28080 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28081 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28083 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28084 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28085 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28086 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28087 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28088 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28090 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28091 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28094 place. Use VEX encoding when compiling for AVX.
28096 2011-10-25 Andreas Schwab <schwab@redhat.com>
28098 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28099 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28101 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28103 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28105 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28106 useless if() expression.
28107 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28116 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28117 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28118 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28119 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28120 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28121 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28122 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28125 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28127 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28129 2011-10-25 Andreas Schwab <schwab@redhat.com>
28131 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28135 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28137 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28138 .text section. Avoid duplicate constants.
28139 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28143 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28147 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28149 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28151 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28154 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28156 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28162 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28163 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28164 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28165 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28166 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28167 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28168 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28169 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28170 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28171 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28172 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28173 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28174 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28175 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28176 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28177 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28178 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28181 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28182 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28183 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28185 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28187 * sysdeps/x86_64/dla.h: Move to ...
28188 * sysdeps/x86_64/fpu/dla.h: ...here.
28189 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28190 situations. Use __builtin_fma only for gcc 4.6 and up.
28192 * config.make.in: Add have-mfma4 entry.
28193 * configure.in: Substitute libc_cv_cc_fma4.
28194 * math/Makefile (dbl-only-routines): Add sincostab.
28195 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28196 Use __sincostab not sincos.
28197 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28199 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28204 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28205 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28206 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28207 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28209 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28210 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28212 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28213 define aliases when function name is a macro.
28214 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28215 sysdeps/ieee754/dbl-64/sincos.tbl.
28216 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28217 fma4-enabled routines.
28218 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28219 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28220 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28221 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28222 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28223 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28225 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28227 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28228 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28229 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28230 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28231 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28233 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28234 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28235 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28236 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28237 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28238 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28239 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28240 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28241 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28245 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28246 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28247 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28249 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28254 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28260 2011-10-24 Andreas Schwab <schwab@redhat.com>
28262 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28264 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28266 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28268 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28270 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28272 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28273 Remove unused variable magic_bits.
28274 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28276 * string/strnlen.c: Define and use STRNLEN macro.
28277 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28278 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28280 * wcsmbs/wcslen.c: Define and use WCSLEN.
28281 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28282 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28283 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28284 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28285 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28286 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28287 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28289 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28292 strnlen-sse2-no-bsf.
28293 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28294 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28295 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28296 Add strnlen support.
28297 (USE_AS_STRNLEN): New macro.
28298 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28299 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28300 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28301 * sysdeps/x86_64/wcslen.S: New file.
28303 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28306 XMM-moves are used for copying on small sizes.
28308 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28310 * wcsmbs/Makefile (strop-tests): Add wcschr.
28311 * wcsmbs/test-wcschr.c: New file.
28312 * string/test-strchr.c: Update.
28313 Add wcschr support.
28316 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28318 * wcsmbs/Makefile (strop-tests): Add wcslen.
28319 * wcsmbs/test-wcslen.c: New file.
28320 * string/test-strlen.c: Update.
28321 Add wcslen support.
28324 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28326 * po/it.po: Update from translation team.
28328 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28330 * sysdeps/x86_64/wcscmp.S: Update.
28331 Fix wrong comparison semantics.
28332 wcscmp shall use signed comparison not unsigned.
28333 Don't use substraction to avoid overflow bug.
28334 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28335 * wcsmbc/wcscmp.c: Likewise.
28336 * string/test-strcmp.c: Likewise.
28337 Add new tests to check cases with negative values.
28339 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28341 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28342 * sysdeps/x86_64/dla.h: ...here. New file.
28343 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28346 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28347 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28348 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28353 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28356 __ynl_finite aliases.
28358 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28362 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28364 [DLA_FMA] (EMULV): Use DLA_FMA.
28365 [DLA_FMA] (MUL12): Use EMULV.
28366 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28367 that are not needed.
28368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28376 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28378 * math/s_nan.c: Undef __nan.
28379 * math/s_nanf.c: Undef __nanf.
28380 * math/s_nanl.c: Undef __nanl.
28381 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28384 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28386 * math/s_catan.c: Add branch predictions.
28387 * math/s_catanf.c: Likewise.
28388 * math/s_catanh.c: Likewise.
28389 * math/s_catanhf.c: Likewise.
28390 * math/s_catanhl.c: Likewise.
28391 * math/s_catanl.c: Likewise.
28392 * math/s_cexp.c: Likewise.
28393 * math/s_cexpf.c: Likewise.
28394 * math/s_cexpl.c: Likewise.
28395 * math/s_clog.c: Likewise.
28396 * math/s_clog10.c: Likewise.
28397 * math/s_clog10f.c: Likewise.
28398 * math/s_clog10l.c: Likewise.
28399 * math/s_clogf.c: Likewise.
28400 * math/s_clogl.c: Likewise.
28401 * math/s_csqrt.c: Likewise.
28402 * math/s_csqrtf.c: Likewise.
28403 * math/s_csqrtl.c: Likewise.
28404 * math/s_ctanf.c: Likewise.
28405 * math/s_ctanh.c: Likewise.
28406 * math/s_ctanhf.c: Likewise.
28407 * math/s_ctanhl.c: Likewise.
28408 * math/s_ctanl.c: Likewise.
28410 * math/math_private.h: Define __nan, __nanf, __nanl.
28411 * math/s_cacosh.c: Include <math_private.h>.
28412 * math/s_cacoshl.c: Likewise.
28413 * math/s_casinh.c: Likewise.
28414 * math/s_casinhf.c: Likewise.
28415 * math/s_casinhl.c: Likewise.
28416 * math/s_ccos.c: Rely entire on ccosh.
28417 * math/s_ccosf.c: Rely entire on ccoshf.
28418 * math/s_ccosl.c: Rely entirely on ccoshl.
28419 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28420 Remove tests for FE_INVALID.
28421 * math/s_ccoshf.c: Likewise.
28422 * math/s_ccoshl.c: Likewise.
28423 * math/s_csin.c: Likewise.
28424 * math/s_csinf.c: Likewise.
28425 * math/s_csinh.c Likewise.
28426 * math/s_csinhf.c: Likewise.
28427 * math/s_csinhl.c: Likewise.
28428 * math/s_csinl.c: Likewise.
28429 * math/s_ctan.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28431 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28432 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28434 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28437 compilation problems.
28439 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28442 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28444 * sysdeps/i386/configure.in: Test for -mfma4 option.
28445 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28446 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28447 COMMON_CPUID_INDEX_80000001.
28448 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28449 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28450 use it if FMA3 is not supported.
28451 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28453 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28454 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28456 2011-10-20 Andreas Schwab <schwab@redhat.com>
28459 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28460 it would create a cycle with a link time dependency.
28462 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28464 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28466 * string/Makefile (strop-tests): Add rawmemchr.
28467 * string/test-rawmemchr.c: New file.
28469 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28471 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28472 when compiling str{,n}casecmp and when AVX is available. Hook up
28473 new optimized code in initializers.
28475 2011-10-19 Andreas Schwab <schwab@redhat.com>
28477 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28478 __feraiseexcept instead of feraiseexcept.
28480 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28482 * math/math_private.h: Define defaults for libc_fetestexcept and
28484 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28485 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28486 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28487 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28488 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28489 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28490 libc_fetestexcept and libc_feupdateenv.
28492 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28493 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28494 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28495 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28496 libc_feholdexcept_setround.
28498 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28499 Add s_nearbyint-c and s_nearbyintf-c.
28500 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28501 nearbyintf inlines.
28502 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28503 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28504 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28505 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28507 * math/math_private.h: Define defaults for libc_fegetround,
28508 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28509 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28510 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28511 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28512 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28513 standard functions.
28514 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28515 Remove comments and hacks for old compiler versions.
28516 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28517 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28518 libc_feholdexceptl.
28520 2011-10-18 Andreas Schwab <schwab@redhat.com>
28522 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28523 (__feraiseexcept_renamed): Add __NTH.
28524 (feraiseexcept): Add __NTH. Rename local variables to fix
28525 namespace violations.
28527 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28529 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28531 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28533 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28534 recently added interfaces.
28535 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28537 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28538 about macro parameter expansion.
28540 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28541 __NO_MATH_INLINES is defined. Cleanups.
28543 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28544 and __floorf is target has SSE4.1.
28545 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28546 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28547 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28548 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28550 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28552 (floorf): Likewise.
28554 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28556 2011-10-17 Andreas Schwab <schwab@redhat.com>
28558 * misc/sys/cdefs.h: Fix last change.
28560 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28563 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28565 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28567 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28568 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28573 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28574 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28575 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28576 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28577 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28578 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28579 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28580 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28581 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28582 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28583 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28584 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28585 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28586 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28587 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28588 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28590 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28591 ceil, ceilf, floor, floorf.
28593 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28594 Perform IRELATIVE relocations last.
28596 * elf/do-rel.h: Add another parameter nrelative, replacing the
28597 local variable with the same name. Change name of the function
28598 to end in Rel or Rela (uppercase).
28599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28600 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28601 elf_dynamic_do_##reloc function.
28603 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28605 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28606 is sufficient, at least on modern CPUs.
28608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28610 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28613 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28615 * math/bits/math-finite.h: Add entries for exp.
28616 * math/e_expl.c: Add __*_finite alias.
28617 * sysdeps/i386/fpu/e_exp.S: Likewise.
28618 * sysdeps/i386/fpu/e_expf.S: Likewise.
28619 * sysdeps/i386/fpu/e_expl.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28621 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28625 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28626 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28628 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28629 is sufficient, at least on modern CPUs.
28631 * ctype/ctype-info.c (__ctype_init): Define.
28632 * include/ctype.h (__ctype_init): Declare.
28633 (__ctype_b_loc): The variable is always initialized.
28634 (__ctype_toupper_loc): Likewise.
28635 (__ctype_tolower_loc): Likewise.
28636 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28637 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28639 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28641 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28643 * configure.in: Also look in $cxxmachine/include for C++ system
28646 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28648 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28649 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28650 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28651 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28652 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28653 (USE_AS_WMEMCMP): New macro.
28655 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28656 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28657 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28658 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28660 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28661 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28662 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28663 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28664 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28665 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28666 (USE_AS_WMEMCMP): New macro.
28667 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28668 * sysdeps/string/test-memcmp.c: Update.
28669 Fix simple_wmemcmp.
28671 * wcsmbs/wmemcmp.c: Update.
28672 (WMEMCMP): New macro.
28675 2011-10-12 Andreas Jaeger <aj@suse.de>
28678 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28680 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28682 * libio/iofwide.c (do_length): Avoid warning.
28684 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28686 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28688 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28690 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28691 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28692 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28693 * sysdeps/i386/i686/fpu/e_log.S: New file.
28694 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28695 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28697 * ctype/ctype.h: Add support for inlined isXXX functions when
28698 compiling C++ code.
28700 2011-10-14 Andreas Schwab <schwab@redhat.com>
28702 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28704 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28706 2011-10-13 Roland McGrath <roland@hack.frob.com>
28709 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28711 2011-10-13 Andreas Schwab <schwab@redhat.com>
28713 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28714 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28717 * sysdeps/x86_64/memrchr.S: Check for zero size.
28719 * string/stratcliff.c: Add memrchr tests.
28721 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28724 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28725 rawmemchr-sse2 rawmemchr-sse2-bsf.
28726 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28727 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28728 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28729 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28730 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28731 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28732 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28733 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28734 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28735 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28736 * string/memrchr.c (MEMRCHR): New macro.
28738 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28740 Add integration with gcc's -ffinite-math-only and optimize wrapper
28742 * Versions.def: Define GLIBC_2.15 version for libm.
28743 * math/Makefile (headers): Add bits/math-finite.h.
28744 * math/bits/math-finite.h: New file.
28745 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28746 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28747 * math/e_acoshl.c: Add __*_finite alias.
28748 * math/e_acosl.c: Likewise.
28749 * math/e_asinl.c: Likewise.
28750 * math/e_atan2l.c: Likewise.
28751 * math/e_atanhl.c: Likewise.
28752 * math/e_coshl.c: Likewise.
28753 * math/e_exp10.c: Likewise.
28754 * math/e_exp10f.c: Likewise.
28755 * math/e_exp10l.c: Likewise.
28756 * math/e_exp2l.c: Likewise.
28757 * math/e_fmodl.c: Likewise.
28758 * math/e_gammal_r.c: Likewise.
28759 * math/e_hypotl.c: Likewise.
28760 * math/e_j0l.c: Likewise.
28761 * math/e_j1l.c: Likewise.
28762 * math/e_jnl.c: Likewise.
28763 * math/e_lgammal_r.c: Likewise.
28764 * math/e_log10l.c: Likewise.
28765 * math/e_log2l.c: Likewise.
28766 * math/e_logl.c: Likewise.
28767 * math/e_powl.c: Likewise.
28768 * math/e_sinhl.c: Likewise.
28769 * math/e_sqrtl.c: Likewise.
28770 * math/e_scalb.c: Completely rewritten and optimized.
28771 * math/e_scalbf.c: Likewise.
28772 * math/e_scalbl.c: Likewise.
28773 * math/w_acos.c: Likewise.
28774 * math/w_acosf.c: Likewise.
28775 * math/w_acosl.c: Likewise.
28776 * math/w_acosh.c: Likewise.
28777 * math/w_acoshf.c: Likewise.
28778 * math/w_acoshl.c: Likewise.
28779 * math/w_asin.c: Likewise.
28780 * math/w_asinf.c: Likewise.
28781 * math/w_asinl.c: Likewise.
28782 * math/w_atan2.c: Likewise.
28783 * math/w_atan2f.c: Likewise.
28784 * math/w_atan2l.c: Likewise.
28785 * math/w_atanh.c: Likewise.
28786 * math/w_atanhf.c: Likewise.
28787 * math/w_atanhl.c: Likewise.
28788 * math/w_exp10.c: Likewise.
28789 * math/w_exp10f.c: Likewise.
28790 * math/w_exp10l.c: Likewise.
28791 * math/w_fmod.c: Likewise.
28792 * math/w_fmodf.c: Likewise.
28793 * math/w_fmodl.c: Likewise.
28794 * math/w_j0.c: Likewise.
28795 * math/w_j0f.c: Likewise.
28796 * math/w_j0l.c: Likewise.
28797 * math/w_j1.c: Likewise.
28798 * math/w_j1f.c: Likewise.
28799 * math/w_j1l.c: Likewise.
28800 * math/w_jn.c: Likewise.
28801 * math/w_jnf.c: Likewise.
28802 * math/w_log.c: Likewise.
28803 * math/w_logf.c: Likewise.
28804 * math/w_logl.c: Likewise.
28805 * math/w_log10.c: Likewise.
28806 * math/w_log10f.c: Likewise.
28807 * math/w_log10l.c: Likewise.
28808 * math/w_log2.c: Likewise.
28809 * math/w_log2f.c: Likewise.
28810 * math/w_log2l.c: Likewise.
28811 * math/w_pow.c: Likewise.
28812 * math/w_powf.c: Likewise.
28813 * math/w_powl.c: Likewise.
28814 * math/w_remainder.c: Likewise.
28815 * math/w_remainderf.c: Likewise.
28816 * math/w_remainderl.c: Likewise.
28817 * math/w_scalb.c: Likewise.
28818 * math/w_scalbf.c: Likewise.
28819 * math/w_scalbl.c: Likewise.
28820 * math/w_sqrt.c: Likewise.
28821 * math/w_sqrtf.c: Likewise.
28822 * math/w_sqrtl.c: Likewise.
28823 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28824 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28826 * math/math_private.h: Declare __kernel_standard_f.
28827 * math/w_cosh.c: Remove cruft and optimize a bit.
28828 * math/w_coshf.c: Likewise.
28829 * math/w_coshl.c: Likewise.
28830 * math/w_exp2.c: Likewise.
28831 * math/w_exp2f.c: Likewise.
28832 * math/w_exp2l.c: Likewise.
28833 * math/w_hypot.c: Likewise.
28834 * math/w_hypotf.c: Likewise.
28835 * math/w_hypotl.c: Likewise.
28836 * math/w_lgamma.c: Likewise.
28837 * math/w_lgamma_r.c: Likewise.
28838 * math/w_lgammaf.c: Likewise.
28839 * math/w_lgammaf_r.c: Likewise.
28840 * math/w_lgammal.c: Likewise.
28841 * math/w_lgammal_r.c: Likewise.
28842 * math/w_sinh.c: Likewise.
28843 * math/w_sinhf.c: Likewise.
28844 * math/w_sinhl.c: Likewise.
28845 * math/w_tgamma.c: Likewise.
28846 * math/w_tgammaf.c: Likewise.
28847 * math/w_tgammal.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28850 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28851 Minor optimizations. Pretty printing. Remove cruft.
28852 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28853 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28854 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28855 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28856 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28857 * sysdeps/i386/fpu/e_asin.S: Likewise.
28858 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28859 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28860 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28861 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28864 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28865 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28866 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28867 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28868 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28869 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28870 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28871 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28872 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28873 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28874 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28875 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28876 * sysdeps/i386/fpu/e_log.S: Likewise.
28877 * sysdeps/i386/fpu/e_log10.S: Likewise.
28878 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28879 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28880 * sysdeps/i386/fpu/e_log2.S: Likewise.
28881 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28882 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28883 * sysdeps/i386/fpu/e_logf.S: Likewise.
28884 * sysdeps/i386/fpu/e_logl.S: Likewise.
28885 * sysdeps/i386/fpu/e_pow.S: Likewise.
28886 * sysdeps/i386/fpu/e_powf.S: Likewise.
28887 * sysdeps/i386/fpu/e_powl.S: Likewise.
28888 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28889 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28890 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28891 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28892 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28893 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28894 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28895 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28896 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28898 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28906 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28907 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28908 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28910 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28911 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28912 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28913 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28918 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28921 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28922 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28923 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28924 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28925 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28926 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28928 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28930 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28931 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28932 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28933 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28934 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28935 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28936 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28937 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28938 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28977 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28980 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28982 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28985 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28988 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28989 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28990 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28991 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28992 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28993 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28994 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28995 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28996 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28997 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28998 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28999 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29000 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29002 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29003 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29004 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29005 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29006 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29007 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29008 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29009 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29010 (__isnanf): Likewise.
29011 (__isinf_ns): Likewise.
29012 (__isinf_nsf): Likewise.
29013 (__finite): Likewise.
29014 (__finitef): Likewise.
29015 (__ieee754_sqrt): Define as macro.
29016 (__ieee754_sqrtf): Define as macro.
29017 (__ieee754_sqrtl): Define as macro.
29018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29020 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29021 __FINITE_MATH_ONLY__ consistent.
29022 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29024 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29026 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29029 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29031 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29033 * po/ja.po: Update from translation team.
29035 2011-10-08 Roland McGrath <roland@hack.frob.com>
29037 * locale/programs/locarchive.c (prepare_address_space): New function.
29038 (create_archive, enlarge_archive, open_archive): Use it.
29040 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29041 inside [SHARED], where it is used.
29043 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29045 * nss/getent.c (netgroup_keys): Remove unused variable.
29046 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29048 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29050 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29051 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29053 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29054 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29055 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29056 * math/Makefile (libm-calls): Add s_isinf_ns.
29057 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29058 * math/multc3.c: Likewise.
29059 * math/s_casin.c: Likewise.
29060 * math/s_casinf.c: Likewise.
29061 * math/s_casinl.c: Likewise.
29062 * math/s_ccos.c: Likewise.
29063 * math/s_ccosf.c: Likewise.
29064 * math/s_ccosl.c: Likewise.
29065 * math/s_ctan.c: Likewise.
29066 * math/s_ctanf.c: Likewise.
29067 * math/s_ctanh.c: Likewise.
29068 * math/s_ctanhf.c: Likewise.
29069 * math/s_ctanhl.c: Likewise.
29070 * math/s_ctanl.c: Likewise.
29071 * math/w_fmod.c: Likewise.
29072 * math/w_fmodf.c: Likewise.
29073 * math/w_fmodl.c: Likewise.
29074 * math/w_remainder.c: Likewise.
29075 * math/w_remainderf.c: Likewise.
29076 * math/w_remainderl.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29078 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29079 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29081 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29082 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29083 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29084 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29086 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29088 * stdio-common/printf_fphex.c: Likewise.
29089 * stdio-common/printf_size.c: Likewise.
29091 * math/e_exp10.c: Include math_private.h using <...> not "...".
29092 * math/e_exp10f.c: Likewise.
29093 * math/e_exp10l.c: Likewise.
29094 * math/e_exp2l.c: Likewise.
29095 * math/e_j0l.c: Likewise.
29096 * math/e_j1l.c: Likewise.
29097 * math/e_jnl.c: Likewise.
29098 * math/e_lgammal_r.c: Likewise.
29099 * math/e_rem_pio2l.c: Likewise.
29100 * math/e_scalb.c: Likewise.
29101 * math/e_scalbf.c: Likewise.
29102 * math/e_scalbl.c: Likewise.
29103 * math/k_cosl.c: Likewise.
29104 * math/k_sinl.c: Likewise.
29105 * math/k_tanl.c: Likewise.
29106 * math/s_cacoshf.c: Likewise.
29107 * math/s_catan.c: Likewise.
29108 * math/s_catanf.c: Likewise.
29109 * math/s_catanh.c: Likewise.
29110 * math/s_catanhf.c: Likewise.
29111 * math/s_catanhl.c: Likewise.
29112 * math/s_catanl.c: Likewise.
29113 * math/s_ccosh.c: Likewise.
29114 * math/s_ccoshf.c: Likewise.
29115 * math/s_ccoshl.c: Likewise.
29116 * math/s_cexp.c: Likewise.
29117 * math/s_cexpf.c: Likewise.
29118 * math/s_cexpl.c: Likewise.
29119 * math/s_clog.c: Likewise.
29120 * math/s_clog10.c: Likewise.
29121 * math/s_clog10f.c: Likewise.
29122 * math/s_clog10l.c: Likewise.
29123 * math/s_clogf.c: Likewise.
29124 * math/s_clogl.c: Likewise.
29125 * math/s_csin.c: Likewise.
29126 * math/s_csinf.c: Likewise.
29127 * math/s_csinh.c: Likewise.
29128 * math/s_csinhf.c: Likewise.
29129 * math/s_csinhl.c: Likewise.
29130 * math/s_csinl.c: Likewise.
29131 * math/s_csqrt.c: Likewise.
29132 * math/s_csqrtf.c: Likewise.
29133 * math/s_csqrtl.c: Likewise.
29134 * math/s_ctan.c: Likewise.
29135 * math/s_ctanf.c: Likewise.
29136 * math/s_ctanh.c: Likewise.
29137 * math/s_ctanhf.c: Likewise.
29138 * math/s_ctanhl.c: Likewise.
29139 * math/s_ctanl.c: Likewise.
29140 * math/s_ldexp.c: Likewise.
29141 * math/s_ldexpf.c: Likewise.
29142 * math/s_ldexpl.c: Likewise.
29143 * math/s_significand.c: Likewise.
29144 * math/s_significandf.c: Likewise.
29145 * math/s_significandl.c: Likewise.
29146 * math/w_acos.c: Likewise.
29147 * math/w_acosf.c: Likewise.
29148 * math/w_acosh.c: Likewise.
29149 * math/w_acoshf.c: Likewise.
29150 * math/w_acoshl.c: Likewise.
29151 * math/w_acosl.c: Likewise.
29152 * math/w_asin.c: Likewise.
29153 * math/w_asinf.c: Likewise.
29154 * math/w_asinl.c: Likewise.
29155 * math/w_atan2.c: Likewise.
29156 * math/w_atan2f.c: Likewise.
29157 * math/w_atan2l.c: Likewise.
29158 * math/w_atanh.c: Likewise.
29159 * math/w_atanhf.c: Likewise.
29160 * math/w_atanhl.c: Likewise.
29161 * math/w_cosh.c: Likewise.
29162 * math/w_coshf.c: Likewise.
29163 * math/w_coshl.c: Likewise.
29164 * math/w_dremf.c: Likewise.
29165 * math/w_exp10.c: Likewise.
29166 * math/w_exp10f.c: Likewise.
29167 * math/w_exp10l.c: Likewise.
29168 * math/w_exp2.c: Likewise.
29169 * math/w_exp2f.c: Likewise.
29170 * math/w_fmod.c: Likewise.
29171 * math/w_fmodf.c: Likewise.
29172 * math/w_fmodl.c: Likewise.
29173 * math/w_hypot.c: Likewise.
29174 * math/w_hypotf.c: Likewise.
29175 * math/w_hypotl.c: Likewise.
29176 * math/w_j0.c: Likewise.
29177 * math/w_j0f.c: Likewise.
29178 * math/w_j0l.c: Likewise.
29179 * math/w_j1.c: Likewise.
29180 * math/w_j1f.c: Likewise.
29181 * math/w_j1l.c: Likewise.
29182 * math/w_jn.c: Likewise.
29183 * math/w_jnf.c: Likewise.
29184 * math/w_jnl.c: Likewise.
29185 * math/w_lgamma.c: Likewise.
29186 * math/w_lgamma_r.c: Likewise.
29187 * math/w_lgammaf.c: Likewise.
29188 * math/w_lgammaf_r.c: Likewise.
29189 * math/w_lgammal.c: Likewise.
29190 * math/w_lgammal_r.c: Likewise.
29191 * math/w_log.c: Likewise.
29192 * math/w_log10.c: Likewise.
29193 * math/w_log10f.c: Likewise.
29194 * math/w_log10l.c: Likewise.
29195 * math/w_log2.c: Likewise.
29196 * math/w_log2f.c: Likewise.
29197 * math/w_log2l.c: Likewise.
29198 * math/w_logf.c: Likewise.
29199 * math/w_logl.c: Likewise.
29200 * math/w_pow.c: Likewise.
29201 * math/w_powf.c: Likewise.
29202 * math/w_powl.c: Likewise.
29203 * math/w_remainder.c: Likewise.
29204 * math/w_remainderf.c: Likewise.
29205 * math/w_remainderl.c: Likewise.
29206 * math/w_scalb.c: Likewise.
29207 * math/w_scalbf.c: Likewise.
29208 * math/w_scalbl.c: Likewise.
29209 * math/w_sinh.c: Likewise.
29210 * math/w_sinhf.c: Likewise.
29211 * math/w_sinhl.c: Likewise.
29212 * math/w_sqrt.c: Likewise.
29213 * math/w_sqrtf.c: Likewise.
29214 * math/w_sqrtl.c: Likewise.
29215 * math/w_tgamma.c: Likewise.
29216 * math/w_tgammaf.c: Likewise.
29217 * math/w_tgammal.c: Likewise.
29219 * po/ja.po: Update from translation team.
29221 2011-09-29 Andreas Jaeger <aj@suse.de>
29224 * sunrpc/netname.c (netname2host): Fix logic.
29228 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29230 * math/w_remainder.c (__remainder): Likewise.
29231 * math/w_remainderf.c (__remainderf): Likewise.
29232 * math/libm-test.inc (remainder_test): Add test cases.
29234 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29236 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29239 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29241 * string/test-memcmp.c: Avoid unncessary #defines.
29242 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29244 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29246 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29247 Use new sse2 version for core i3 - i7 as it's faster
29248 than sse42 version.
29249 (bit_Prefer_PMINUB_for_stringop): New.
29250 * sysdeps/x86_64/rawmemchr.S: Update.
29251 Replace with faster SSE2 version.
29252 * sysdeps/x86_64/memrchr.S: New file.
29253 * sysdeps/x86_64/memchr.S: Update.
29254 Replace with faster SSE2 version.
29256 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29258 * elf/dl-load.c (lose): Add cast to avoid warning.
29260 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29262 * po/ca.po: Update from translation team.
29264 * inet/getnetgrent_r.c: Hook up nscd.
29265 * nscd/Makefile (routines): Add nscd_netgroup.
29266 (nscd-modules): Add netgroupcache.
29267 (CFLAGS-netgroupcache.c): Define.
29268 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29269 (cache_search): Add const to second parameter.
29270 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29272 (dbs): Add netgrdb entry.
29273 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29274 (verify_persistent_db): Handle netgrdb.
29275 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29276 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29278 (netgroup_response_header): Define.
29279 (innetgroup_response_header): Define.
29280 (datahead): Add netgroup_response_header and innetgroup_response_header
29282 * nscd/nscd.conf: Add entries for netgroup cache.
29283 * nscd/nscd.h (dbtype): Add netgrdb.
29284 (_PATH_NSCD_NETGROUP_DB): Define.
29285 (netgroup_iov_disabled): Declare.
29286 (xmalloc, xcalloc, xrealloc): Move declarations here.
29287 (cache_search): Adjust prototype.
29288 Add netgroup-related prototypes.
29289 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29290 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29291 (__nscd_innetgr): Declare.
29292 * nscd/selinux.c (perms): Use access_vector_t as element type and
29293 add netgroup-related initializers.
29294 * nscd/netgroupcache.c: New file.
29295 * nscd/nscd_netgroup.c: New file.
29296 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29297 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29298 For four parameters use innetgr.
29299 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29300 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29301 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29302 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29304 * nscd/connections.c (register_traced_file): Don't register file
29305 for disabled databases.
29307 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29309 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29311 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29312 from tree and freeing node.
29314 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29316 * nss/nsswitch.c (__nss_database_lookup): Handle
29317 nss_parse_service_list out of memory case.
29319 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29321 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29322 out of memory case.
29324 2011-10-04 Andreas Schwab <schwab@redhat.com>
29326 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29327 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29329 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29330 elf_machine_rela, elf_machine_lazy_rel.
29331 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29332 (ELF_DYNAMIC_DO_REL): Likewise.
29333 (ELF_DYNAMIC_DO_RELA): Likewise.
29334 (ELF_DYNAMIC_RELOCATE): Likewise.
29335 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29336 to ELF_DYNAMIC_DO_REL.
29337 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29338 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29339 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29341 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29342 skip_ifunc, don't call ifunc function if non-zero.
29343 (elf_machine_rela): Likewise.
29344 (elf_machine_lazy_rel): Likewise.
29345 (elf_machine_lazy_rela): Likewise.
29346 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29347 (elf_machine_lazy_rel): Likewise.
29348 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29350 (elf_machine_lazy_rel): Likewise.
29351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29353 (elf_machine_lazy_rel): Likewise.
29354 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29355 (elf_machine_lazy_rel): Likewise.
29356 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29357 (elf_machine_lazy_rel): Likewise.
29358 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29359 (elf_machine_lazy_rel): Likewise.
29360 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29361 (elf_machine_lazy_rel): Likewise.
29362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29363 (elf_machine_lazy_rel): Likewise.
29364 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29365 (elf_machine_lazy_rel): Likewise.
29367 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29369 * nss/nss_files/files-init.c (_nss_files_init): Use static
29370 initialization for all the *_traced_file variables.
29372 2011-09-28 Andreas Schwab <schwab@redhat.com>
29374 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29376 2011-09-27 Roland McGrath <roland@hack.frob.com>
29379 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29381 2011-09-27 Andreas Schwab <schwab@redhat.com>
29383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29384 Reread the line before reparsing it.
29386 2011-09-26 Andreas Schwab <schwab@redhat.com>
29388 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29390 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29391 Maxim Kuvyrkov <maxim@codesourcery.com>
29392 Joseph Myers <joseph@codesourcery.com>
29394 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29395 if needed for __stack_chk_guard.
29397 2011-09-19 Roland McGrath <roland@hack.frob.com>
29399 * sysdeps/posix/spawni.c (script_execute): Always define it.
29400 It will be optimized away if unused.
29401 (maybe_script_execute): New function.
29402 (__spawni): Call it.
29404 * Makerules: Don't include tls.make.
29405 (config-tls): Always set to thread.
29406 * tls.make.c: File removed.
29408 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29410 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29411 * config.make.in (CPPFLAGS-config): New substituted variable.
29413 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29415 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29418 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29419 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29421 2011-09-15 Roland McGrath <roland@hack.frob.com>
29423 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29424 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29426 (CALL_FAIL): Likewise.
29427 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29428 (CALL_FAIL): Macro removed.
29429 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29431 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29433 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29434 for __FINITE_MATH_ONLY__ == 1.
29436 2011-09-15 Andreas Schwab <schwab@redhat.com>
29438 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29439 __ieee754_sqrt instead of sqrt.
29440 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29441 __ieee754_sqrtf instead of sqrtf.
29442 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29443 __floorf instead of floorf.
29444 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29445 __floorf, __truncf instead of floorf, truncf.
29447 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29449 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29451 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29452 __extern_always_inline.
29453 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29456 2011-09-14 Andreas Schwab <schwab@redhat.com>
29458 * elf/rtld.c (dl_main): Also relocate in dependency order when
29459 doing symbol dependency testing.
29461 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29464 Always define `refsym'.
29466 2011-09-13 Andreas Schwab <schwab@redhat.com>
29468 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29469 (__FD_ELT): Renamed from __FDELT.
29470 * misc/bits/select2.h (__FD_ELT): Likewise.
29471 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29472 __FD_MASK instead of __FDELT, __FDMASK.
29473 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29475 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29478 * elf/Makefile (gen-ldd): Fix pattern.
29480 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29481 (init_tls): Likewise.
29483 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29485 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29487 2011-09-12 Andreas Schwab <schwab@redhat.com>
29489 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29490 `struct cmsghdr *' instead of `void *'.
29491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29494 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29496 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29498 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29499 ldd_rewrite_script.
29501 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29503 * configure.in: Remove --with-tls option.
29504 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29505 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29506 out in case it is missing.
29507 * sysdeps/ia64/elf/configure.in: Likewise.
29508 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29509 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29510 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29511 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29512 * sysdeps/sh/elf/configure.in: Likewise.
29513 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29514 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29515 * sysdeps/x86_64/elf/configure.in: Likewise.
29516 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29517 * sysdeps/mach/hurd/tls.h: Likewise.
29520 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29523 * configure.in: Fix use of AC_INIT.
29525 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29527 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29529 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29531 * malloc/hooks.c: Likewise.
29534 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29535 variables statically.
29536 (narenas): Initialize.
29537 (list_lock): Initialize.
29538 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29539 initializtion of main_arena and list_lock. Small cleanups.
29540 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29541 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29542 Add initializers to main_arena and mp_.
29543 (malloc_state): Remove pagesize member. Change all users to use
29546 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29547 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29548 is always initialized.
29550 * malloc/malloc.c: Removed unused configurations and dead code.
29551 * malloc/arena.c: Likewise.
29552 * malloc/hooks.c: Likewise.
29553 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29555 * include/tls.h: Removed. USE___THREAD must always be defined.
29556 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29557 * elf/dl-libc.c: Likewise.
29558 * elf/dl-tsd.c: Likewise.
29559 * include/errno.h: Likewise.
29560 * include/netdb.h: Likewise.
29561 * include/resolv.h: Likewise.
29562 * inet/herrno-loc.c: Likewise.
29563 * inet/herrno.c: Likewise.
29564 * malloc/arena.c: Likewise.
29565 * malloc/hooks.c: Likewise.
29566 * malloc/malloc.c: Likewise.
29567 * resolv/res-state.c: Likewise.
29568 * resolv/res_libc.c: Likewise.
29569 * sysdeps/i386/dl-machine.h: Likewise.
29570 * sysdeps/ia64/dl-machine.h: Likewise.
29571 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29572 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29573 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29574 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29575 * sysdeps/sh/dl-machine.h: Likewise.
29576 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29577 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29578 * sysdeps/unix/i386/sysdep.S: Likewise.
29579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29580 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29585 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29589 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29590 * sysdeps/x86_64/dl-machine.h: Likewise.
29591 * tls.make.c: Likewise.
29593 * configure.in: Remove --with-__thread option. Make tests for
29594 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29595 tls_model attribute fail if no support is available. Remove
29597 * Makeconfig: Adjust for dropped configure option. All features are
29599 * Makerules: Likewise.
29600 * Versions.def: Likewise.
29601 * argp/argp-fmtstream.c: Likewise.
29602 * argp/argp-fmtstream.h: Likewise.
29603 * argp/argp-help.c: Likewise.
29604 * assert/assert.c: Likewise.
29605 * config.h.in: Likewise.
29606 * config.make.in: Likewise.
29607 * configure: Likewise.
29608 * configure.in: Likewise.
29609 * csu/Versions: Likewise.
29610 * csu/init.c: Likewise.
29611 * elf/tst-audit2.c: Likewise.
29612 * elf/tst-tls10.c: Likewise.
29613 * elf/tst-tls10.h: Likewise.
29614 * elf/tst-tls11.c: Likewise.
29615 * elf/tst-tls12.c: Likewise.
29616 * elf/tst-tls14.c: Likewise.
29617 * elf/tst-tlsmod11.c: Likewise.
29618 * elf/tst-tlsmod12.c: Likewise.
29619 * elf/tst-tlsmod13.c: Likewise.
29620 * elf/tst-tlsmod13a.c: Likewise.
29621 * elf/tst-tlsmod14a.c: Likewise.
29622 * elf/tst-tlsmod15b.c: Likewise.
29623 * elf/tst-tlsmod16a.c: Likewise.
29624 * elf/tst-tlsmod16b.c: Likewise.
29625 * elf/tst-tlsmod7.c: Likewise.
29626 * elf/tst-tlsmod8.c: Likewise.
29627 * elf/tst-tlsmod9.c: Likewise.
29628 * gmon/gmon.c: Likewise.
29629 * grp/fgetgrent_r.c: Likewise.
29630 * grp/putgrent.c: Likewise.
29631 * hurd/fopenport.c: Likewise.
29632 * include/libc-symbols.h: Likewise.
29633 * include/tls.h: Likewise.
29634 * intl/gettextP.h: Likewise.
29635 * intl/loadinfo.h: Likewise.
29636 * locale/global-locale.c: Likewise.
29637 * locale/localeinfo.h: Likewise.
29638 * mach/devstream.c: Likewise.
29639 * malloc/arena.c: Likewise.
29640 * malloc/set-freeres.c: Likewise.
29641 * misc/err.c: Likewise.
29642 * misc/getttyent.c: Likewise.
29643 * misc/mntent_r.c: Likewise.
29644 * posix/getopt.c: Likewise.
29645 * posix/wordexp.c: Likewise.
29646 * pwd/fgetpwent_r.c: Likewise.
29647 * resolv/Versions: Likewise.
29648 * resolv/res_hconf.c: Likewise.
29649 * shadow/fgetspent_r.c: Likewise.
29650 * shadow/putspent.c: Likewise.
29651 * stdio-common/printf_fphex.c: Likewise.
29652 * stdio-common/tmpfile.c: Likewise.
29653 * stdlib/abort.c: Likewise.
29654 * stdlib/fmtmsg.c: Likewise.
29655 * sunrpc/auth_unix.c: Likewise.
29656 * sunrpc/clnt_perr.c: Likewise.
29657 * sunrpc/clnt_tcp.c: Likewise.
29658 * sunrpc/clnt_udp.c: Likewise.
29659 * sunrpc/clnt_unix.c: Likewise.
29660 * sunrpc/openchild.c: Likewise.
29661 * sunrpc/svc_simple.c: Likewise.
29662 * sunrpc/svc_tcp.c: Likewise.
29663 * sunrpc/svc_udp.c: Likewise.
29664 * sunrpc/svc_unix.c: Likewise.
29665 * sunrpc/xdr.c: Likewise.
29666 * sunrpc/xdr_array.c: Likewise.
29667 * sunrpc/xdr_rec.c: Likewise.
29668 * sunrpc/xdr_ref.c: Likewise.
29669 * sunrpc/xdr_stdio.c: Likewise.
29671 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29673 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29675 2011-07-03 Andreas Jaeger <aj@suse.de>
29677 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29678 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29679 regenerate with gen-libm-tests.pl.
29681 2010-05-12 Petr Baudis <pasky@suse.cz>
29684 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29685 around j0() zero points by switching to j1().
29686 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29687 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29689 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29691 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29693 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29695 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29698 Patch in part by Pavel Roskin <proski@gnu.org>.
29701 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29703 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29704 Free memory block if necessary.
29707 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29708 be NULL. Don't lock in this case.
29710 2011-09-09 Roland McGrath <roland@hack.frob.com>
29712 * elf/elf.h (ELFOSABI_GNU): New macro.
29713 (ELFOSABI_LINUX): Define to that.
29715 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29717 * string/strncat.c (strncat): Undef the symbol in case it has been
29718 defined in bits/string.h.
29720 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29722 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29724 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29727 2011-08-17 Andreas Jaeger <aj@suse.de>
29729 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29731 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29732 Ian Lance Taylor <iant@google.com>
29734 * math/libm-test.inc (lround_test): New testcase.
29735 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29737 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29739 * Makefile: Remove support for automatic cvs check-ins.
29740 * Makerules: Likewise.
29741 * config.make.in: Likewise.
29742 * configure.in: Likewise.
29743 * intl/Makefile: Likewise.
29744 * locale/Makefile: Likewise.
29745 * po/Makefile: Likewise.
29746 * posix/Makefile: Likewise.
29747 * sysdeps/gnu/Makefile: Likewise.
29748 * sysdeps/mach/hurd/Makefile: Likewise.
29749 * sysdeps/sparc/sparc32/Makefile: Likewise.
29752 * posix/Makefile (bug-regex32-ENV): Define.
29753 Patch by John Stanley <jpsinthemix@verizon.net>.
29755 * misc/Makefile (headers): Add bits/select2.h.
29756 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29757 * misc/bits/select2.h: New file.
29758 * include/bits/select2.h: New file.
29759 * debug/Makefile (routines): Add fdelt_chk.
29760 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29761 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29763 * debug/fdelt_chk.c: New file.
29765 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29766 * wcsmbs/test-wmemcmp.c: Likewise.
29767 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29768 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29770 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29772 * string/Makefile (strop-tests): Add memcmp.
29773 * string/test-wmemcmp.c: New file.
29774 * string/test-memcmp.c: Add wmemcmp support.
29776 2011-09-08 Roland McGrath <roland@hack.frob.com>
29779 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29782 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29783 garbage value in a __mach_port_mod_refs call in the cases of the
29784 task-self and thread-self ports.
29786 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29788 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29790 2011-09-08 Andreas Schwab <schwab@redhat.com>
29792 * elf/dl-load.c (lose): Check for non-null L.
29794 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29796 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29798 * elf/dl-libc.c (dlerror_run): Pass back error code from
29802 * elf/dl-load.c (lose): Free l_origin if it is valid.
29804 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29806 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29807 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29808 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29809 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29810 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29811 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29813 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29815 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29816 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29817 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29818 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29819 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29820 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29821 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29822 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29823 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29824 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29826 2011-08-15 Alan Modra <amodra@gmail.com>
29829 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29830 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29831 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29832 ppc_mcount to static-only-routines.
29833 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29835 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29836 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29838 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29840 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29841 for finite and infinity parameters.
29843 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29846 and add nop instructions for throughput optimization.
29847 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29849 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29851 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29852 aligned copy for power7 with vector-scalar instructions.
29853 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29855 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29860 2011-09-07 Andreas Schwab <schwab@redhat.com>
29863 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29866 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29868 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29869 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29870 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29871 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29874 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29877 Forgot to demangle the pointer.
29879 * sysdeps/i386/sysdep.h: Define atom_text_section.
29880 * sysdeps/x86_64/sysdep.h: Likewise.
29881 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29882 section with atom_text_section.
29883 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29884 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29885 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29887 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29889 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29890 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29891 already be defined. Change to take two parameters and don't assign
29892 result to variable. Adjust all users.
29893 Define INTERNAL_GETTIME if not already defined.
29894 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29897 HAVE_CLOCK_GETTIME_VSYSCALL.
29898 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29901 gettimeofday vsyscall, just use time.
29903 2011-09-06 Andreas Schwab <schwab@redhat.com>
29905 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29908 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29910 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29914 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29916 syscall if possible.
29918 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29920 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29921 e_ident. Don't pass to find_mapsXX.
29922 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29924 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29927 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29928 * sysdeps/x86_64/multiarch/strchr.S: Update.
29929 Check bit_slow_BSF bit.
29930 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29932 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29934 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29937 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29939 (tryshell): Define.
29940 (__spawni): Change last parameter to be flag. Test
29941 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29942 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29943 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29944 * posix/spawni.c: Likewise.
29945 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29946 * posix/spawnp.c: Likewise. Change normal version to use
29947 SPAWN_XFLAGS_USE_PATH.
29948 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29949 SPAWN_XFLAGS_TRY_SHELL.
29952 * posix/glob.h: Remove gcc 1.x support.
29955 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29957 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29960 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29962 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29963 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29964 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29965 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29966 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29967 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29969 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29971 * sysdeps/x86_64/wcscmp.S: New file.
29973 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29974 wcscmp-c wcscmp-sse2
29975 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29976 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29977 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29978 * wcsmbs/wcscmp.c: Allow renaming.
29980 2011-09-05 David S. Miller <davem@davemloft.net>
29982 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29983 stack slot, rather than the struct return pointer slot.
29984 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29985 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29987 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29989 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29991 * po/ja.po: Update from translation team.
29994 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29995 kernel in 64-bit binaries.
29997 2011-09-01 David S. Miller <davem@davemloft.net>
29999 * elf/elf.h (HWCAP_SPARC_*): Move to..
30000 * sysdeps/sparc/sysdep.h: this new file and add new values.
30001 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30002 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30003 _DL_HWCAP_COUNT to 24.
30004 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30006 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30007 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30008 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30010 instead of magic constants.
30011 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30013 2011-08-31 David S. Miller <davem@davemloft.net>
30015 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30017 Reimplement to do errno handling inline.
30018 (SYSCALL_ERROR_HANDLER): New macro.
30019 (__SYSCALL_STRING): Do not do errno handling in asm.
30020 (__CLONE_SYSCALL_STRING): Delete.
30021 (__INTERNAL_SYSCALL_STRING): Delete.
30022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30023 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30024 (PSEUDO): Reimplement to do errno handling inline.
30025 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30026 (SYSCALL_ERROR_HANDLER): New macro.
30027 (__SYSCALL_STRING): Do not do errno handling in asm.
30028 (__CLONE_SYSCALL_STRING): Delete.
30029 (__INTERNAL_SYSCALL_STRING): Delete.
30030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30031 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30033 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30034 (inline_syscall*): Add 'err' argument.
30035 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30036 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30037 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30038 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30040 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30041 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30043 2011-08-30 Andreas Schwab <schwab@redhat.com>
30045 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30047 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30049 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30052 2011-08-24 David S. Miller <davem@davemloft.net>
30054 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30056 2011-08-24 Andreas Schwab <schwab@redhat.com>
30058 * elf/Makefile: Add rules to build and run unload8 test.
30059 * elf/unload8.c: New file.
30060 * elf/unload8mod1.c: New file.
30061 * elf/unload8mod1x.c: New file.
30062 * elf/unload8mod2.c: New file.
30063 * elf/unload8mod3.c: New file.
30065 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30068 2011-08-23 David S. Miller <davem@davemloft.net>
30070 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30071 subtract stack bias.
30072 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30073 %sp not %fp in calculations.
30074 (_JMPBUF_UNWINDS_ADJ): Likewise.
30076 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30077 (aio_suspend): Call it to force an exception region around the
30078 AIO_MISC_WAIT() invocation.
30080 2011-08-23 Andreas Schwab <schwab@redhat.com>
30082 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30085 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30087 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30089 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30090 and <dl-machine.h>.
30091 (Elf64_FuncDesc): Remove.
30093 2011-08-22 David S. Miller <davem@davemloft.net>
30095 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30096 sigaltstack check, add missing cfi directives.
30097 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30098 missing cfi directives, and sigaltstack handling.
30100 2011-08-16 Andreas Schwab <schwab@redhat.com>
30103 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30104 object is seen twice.
30105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30107 * elf/Makefile (distribute): Add tst-initorder2.c.
30108 (tests): Add tst-initorder2.
30109 (modules-names): Add tst-initorder2a tst-initorder2b
30110 tst-initorder2c tst-initorder2d. Add rules to build them.
30111 ($(objpfx)tst-initorder2.out): New rule.
30112 * elf/tst-initorder2.c: New file.
30113 * elf/tst-initorder2.exp: New file.
30115 2011-08-22 Andreas Schwab <schwab@redhat.com>
30117 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30119 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30120 dependencies back to end of function.
30122 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30123 $(elfobjdir)/ld.so.
30125 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30128 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30130 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30131 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30132 of __vdso_gettimeofday.
30133 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30134 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30136 (_libc_vdso_platform_setup): Remove initialization of
30137 __vdso_gettimeofday and __vdso_time.
30139 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30141 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30142 and fgetc_unlocked.
30143 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30146 * elf/dl-open.c (add_to_global): Report additions to the global scope
30147 for LD_DEBUG=scopes.
30148 (dl_open_worker): Also print scope of newly loaded dependencies.
30149 (_dl_show_scope): Indicate if there is no scope.
30152 * stdio-common/Makefile (tests): Add bug24.
30153 * stdio-common/bug24.c: New file.
30155 2011-08-19 Andreas Jaeger <aj@suse.de>
30158 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30159 non-existant file when using close-on-exec mode.
30161 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30164 the very first instruction.
30166 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30167 the CFI state in the end.
30168 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30169 inclusion of dl-trampoline.h.
30170 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30172 2011-08-19 Andreas Schwab <schwab@redhat.com>
30174 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30175 expectations for long double.
30177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30178 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30180 2011-08-14 David S. Miller <davem@davemloft.net>
30182 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30183 artificual limit depends upon the system page size.
30185 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30187 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30188 * resolv/Makefile: Define CFLAGS-libresolv.
30190 2011-08-17 Andreas Schwab <schwab@redhat.com>
30192 * nss/makedb.c (compute_tables): Make variables used in nested
30195 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30197 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30198 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30199 if buffer was too small.
30201 * elf/pldd.c (main): Attach to all threads in the process.
30202 Rewrite /proc handling to use *at functions.
30204 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30206 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30207 specifies first scope to show.
30208 (dl_open_worker): Update callers. Move printing scope of new
30209 object to before the relocation.
30210 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30211 * sysdeps/generic/ldsodefs.h: Update declaration.
30213 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30214 string for the scope number.
30216 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30218 * nscd/servicescache.c (cache_addserv): Make sure written is always
30221 2011-08-14 Roland McGrath <roland@hack.frob.com>
30223 * sysdeps/i386/i486/bits/atomic.h
30224 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30225 statement expression, so as to suppress "set but not used" warning.
30226 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30228 * string/strncat.c (STRNCAT): Use prototype definition.
30230 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30231 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30233 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30234 (localedef-modules): Add localedef.
30235 (locale-modules): Add locale.
30237 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30238 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30239 to avoid a warning.
30241 2011-08-14 David S. Miller <davem@davemloft.net>
30243 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30244 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30246 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30248 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30249 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30250 * elf/rtld.c (dl_main): Set l_name of vDSO.
30251 Call _dl_show_scope when DL_DEBUG_SCOPES.
30252 (process_dl_debug): Recognize scopes flag and also set it for all.
30253 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30254 Declare _dl_show_scope.
30256 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30257 (do_dlopen): Pass caller_dlopen to dl_open.
30258 (__libc_dlopen_mode): Initialize caller_dlopen.
30260 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30261 of libc. Make tolower call locale-independent. Optimize a bit by
30262 using isdigit instead of isalnum.
30263 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30265 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30267 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30268 was a dependency or dynamically loaded.
30270 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30272 * intl/l10nflist.c: Allow architecture-specific pop function.
30273 * sysdeps/x86_64/l10nflist.c: New file.
30275 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30278 2011-08-10 Andreas Schwab <schwab@redhat.com>
30280 * include/dirent.h: Add libc_hidden_proto for scandirat and
30281 scandirat64. Don't declare __scandirat64.
30282 * dirent/scandirat.c: Add libc_hidden_def.
30283 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30284 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30286 2011-08-10 David S. Miller <davem@davemloft.net>
30288 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30290 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30292 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30294 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30296 * Versions.def [libc]: Add GLIBC_2.15.
30297 * dirent/Makefile (routines): Add scandirat and scandirat64.
30298 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30300 * dirent/dirent.h: Declare scandirat and scandirat64.
30301 * dirent/scandirat.c: New file.
30302 * dirent/scandirat64.c: New file.
30303 * sysdeps/wordsize-64/scandirat.c: New file.
30304 * sysdeps/wordsize-64/scandirat64.c: New file.
30305 * dirent/opendir.c: Define opendirat.
30306 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30308 * dirent/scandir64.c: Adjust for scandir.c change.
30309 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30310 __scandirat64, and __scandir_cancel_handler.
30311 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30312 additional parameter and use openat instead of open (outside of ld.so).
30313 Add new __opendir as wrapper around __opendirat.
30314 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30315 here without requiring old scandirat implementation.
30317 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30319 * dirent/scandir.c (cancel_handler): Renamed to
30320 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30321 defined. Adjust users.
30322 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30323 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30325 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30327 * string/test-string.h (IMPL): Use __STRING to expand name and then
30330 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30333 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30335 * string/Makefile: Update.
30336 (strop-tests): Append strncat.
30337 * string/test-wcscmp.c: New file.
30338 New comprehensive test for wcscmp.
30339 * string/test-strcmp.c: Update.
30340 (WIDE): New define.
30342 2011-07-22 Andreas Schwab <schwab@redhat.com>
30344 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30347 2011-07-26 Andreas Schwab <schwab@redhat.com>
30349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30350 encoding to ACE if AI_IDN.
30352 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30354 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30355 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30357 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30360 Fix overflow bug in strncat.
30361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30363 * string/test-strncat.c: Update.
30364 Add new tests for checking overflow bugs.
30366 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30369 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30370 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30371 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30372 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30373 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30374 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30375 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30376 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30378 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30379 (USE_AS_STRCAT): Define.
30380 Add strcat and strncat support.
30381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30383 2011-07-25 Andreas Schwab <schwab@redhat.com>
30385 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30386 __n bigger than INT_MAX+1.
30387 (__strncmp_g): Likewise.
30389 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30391 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30392 * libio/stido.h: Likewise.
30394 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30399 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30400 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30402 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30403 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30406 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30411 (_dl_x86_64_save_sse): Likewise.
30413 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30417 (_dl_x86_64_save_sse): Likewise.
30419 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30421 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30423 2011-07-21 Andreas Schwab <schwab@redhat.com>
30425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30427 (_dl_x86_64_save_sse): Use correct AVX check.
30429 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30432 bug in strncpy/strncat.
30433 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30435 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30437 * string/tester.c (test_strcat): Add tests for different alignments
30438 of source and destination.
30439 (test_strncat): Likewise.
30441 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30444 * posix/glob.c (glob): Check passed in values before using them in
30445 expressions to avoid some overflows.
30446 (glob_in_dir): Likewise.
30449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30450 check for AVX enablement so that we don't crash with old kernels and
30452 * elf/tst-audit4.c: Add same checks here.
30453 * elf/tst-audit6.c: Likewise.
30455 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30457 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30459 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30461 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30463 * po/cs.po: Update from translation team.
30464 * po/bg.po: Likewise.
30466 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30468 * misc/sys/cdefs.h: Add support for const attribute.
30469 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30470 to gnu_dev_{major,minor,makedev} functions.
30472 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30474 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30476 2011-07-20 Andreas Schwab <schwab@redhat.com>
30478 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30481 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30483 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30484 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30485 register in order to avoid conflicts with the soft frame pointer
30486 being held in r11 when necessary.
30487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30488 (INTERNAL_VSYSCALL_NCS): Likewise.
30490 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30492 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30493 * elf/dl-fini.c (_dl_fini): Adjust caller.
30494 * elf/dl-close.c (_dl_close_worker): Likewise.
30495 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30497 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30499 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30500 "aux_cache->nlibs < 0".
30502 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30503 in the reload-count case.
30505 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30508 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30509 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30510 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30511 * sysdeps/x86_64/multiarch/strcat.S: New file.
30512 * sysdeps/x86_64/multiarch/strncat.S: New file.
30513 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30514 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30515 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30516 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30518 (USE_AS_STRCAT): Define.
30519 Add strcat and strncat support.
30520 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30521 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30522 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30523 * string/strncat.c: Update.
30524 (USE_AS_STRNCAT): Define.
30525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30526 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30528 * sysdeps/x86_64/multiarch/init-arch.h
30529 (bit_Prefer_PMINUB_for_stringop): New.
30530 (index_Prefer_PMINUB_for_stringop): Likewise.
30531 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30532 bit_Prefer_PMINUB_for_stringop.
30534 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30536 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30538 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30539 of casting of buffer.
30540 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30541 buffer32 and buffer64.
30542 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30543 writes instead of casting of buffer.
30544 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30546 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30549 2011-07-19 Andreas Schwab <schwab@redhat.com>
30551 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30553 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30555 * nscd/nscd.c (termination_handler): Don't do anything for a database
30556 if it has not yet been initialized.
30558 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30560 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30562 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30564 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30566 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30568 * po/nl.po: Update from translation team.
30569 * po/sv.po: Likewise.
30571 2011-07-16 Roland McGrath <roland@hack.frob.com>
30573 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30574 now disallowed by GCC.
30576 * configure.in (use-default-link): Default to yes if a test -shared
30577 link meets our qualifications.
30578 * configure: Regenerated.
30580 * config.make.in (output-format): New variable.
30581 * configure.in: Check for ld --print-output-format support.
30582 * configure: Regenerated.
30583 * Makerules ($(common-objpfx)format.lds)
30584 [$(output-format) != unknown]: Just use $(output-format),
30585 instead of the linker-script munging.
30587 2011-07-14 Roland McGrath <roland@hack.frob.com>
30589 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30590 of $(common-objpfx)shlib.lds.
30591 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30593 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30594 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30596 * configure.in (-z relro check): Adjust test code to add a large
30597 writable data section after it.
30598 * configure: Regenerated.
30600 2011-07-11 Roland McGrath <roland@hack.frob.com>
30602 * configure.in (-z relro check): Fix test code to make the variable
30604 * configure: Regenerated.
30606 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30608 * nscd/nscd.h (struct traced_file): Define.
30609 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30610 elements. Add traced_files.
30611 (inotify_fd): Declare.
30612 (register_traced_file): Declare.
30613 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30614 (inotify_fd): Export.
30615 (resolv_conf_descr): Remove.
30616 (nscd_init): Move inotify descriptor creation to main.
30617 Don't register files for notification here.
30618 (register_traced_file): New function.
30619 (invalidate_cache): Don't use reset_res to determine whether to call
30620 res_init, go through the list of registered files.
30621 (main_loop_poll): The inotify descriptors are now stored in the
30622 structures for the traced files.
30623 (main_loop_epoll): Likewise
30624 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30625 to __nss_disable_nscd.
30626 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30627 for a database anymore. Check the records for all the registered
30629 * nss/Makefile (libnss_files-routines): Add files-init.
30630 (libnss_db-routines): Add db-init.
30631 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30632 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30633 * nss/nss_db/db-init.c: New file.
30634 * nss/nss_files/files-init.c: New file.
30635 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30636 __nss_lookup_function.
30637 (__nss_lookup_function): Call nss_load_library.
30638 (nss_load_all_libraries): New function.
30639 (__nss_disable_nscd): Take parameter with callback function for files
30640 to register. Set is_nscd. Load all the DSOs for the NSS modules
30641 used for the cached services.
30642 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30643 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30644 options for features to all the files in nscd.
30646 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30648 2011-07-10 Roland McGrath <roland@hack.frob.com>
30650 * csu/elf-init.c (__libc_csu_init): Comment typo.
30652 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30654 * po/pl.po: Update from translation team.
30655 * po/ja.po: Likewise.
30656 * po/ru.po: Likewise.
30657 * po/ko.po: Likewise.
30658 * po/fr.po: Likewise.
30660 2011-07-09 Roland McGrath <roland@hack.frob.com>
30662 * configure.in (.ctors/.dtors header and trailer check):
30663 Use an empirical test on a built program.
30664 * configure: Regenerated.
30666 * configure.in (-z relro check): Use an empirical test on a built DSO.
30667 Detect, but do not require, on ia64.
30668 * configure: Regenerated.
30670 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30671 Update tests that use readelf to use $READELF instead.
30672 * configure: Regenerated.
30674 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30676 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30677 if the result is not used.
30679 2011-07-05 Andreas Jaeger <aj@suse.de>
30682 * stdlib/tst-strtod.c: Add testcase.
30684 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30686 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30687 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30688 The latter has a higher limit. Take additional parameter to pass to
30690 (__pathconf): Pass file to __statfs_link_max.
30691 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30693 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30697 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30698 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30700 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30701 (__statfs_filesize_max): Likewise.
30702 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30704 2011-07-05 Andreas Jaeger <aj@suse.de>
30706 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30708 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30710 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30712 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30715 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30717 * Makefile (strop-tests): Add strncat.
30718 * string/test-strncat.c: New file.
30720 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30722 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30724 2011-06-21 Andreas Jaeger <aj@suse.de>
30726 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30727 Copy rule from iconvdata/Makefile.
30729 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30732 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30733 but no long options are defined, just return 'W'.
30735 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30738 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30740 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30742 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30744 (innetgr): Likewise.
30746 2011-07-05 Roland McGrath <roland@hack.frob.com>
30748 * config.make.in (install_root): Default to $(DESTDIR).
30750 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30752 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30754 2011-07-02 Roland McGrath <roland@hack.frob.com>
30756 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30758 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30759 containing directory rather than embedding absolute directory names.
30761 * scripts/check-local-headers.sh: Rewritten using awk.
30762 Match by word, not by line. Print error messages for matches.
30763 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30765 * Makerules [shlib-lds-flags empty]:
30766 ($(common-objpfx)libc_pic.opts): New target.
30767 ($(common-objpfx)libc_pic.os.clean): New target.
30768 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30770 * config.make.in (OBJCOPY): New variable.
30771 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30772 * configure: Regenerated.
30774 * config.make.in (use-default-link): New variable.
30775 * configure.in (use_default_link): Grok --with-default-link to set it.
30776 * configure: Regenerated.
30777 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30778 (shlib-lds, shlib-lds-flags): Define to empty.
30780 * Makerules (shlib-lds): New variable.
30781 (shlib-lds-flags): New variable.
30782 (build-shlib, build-moduile, build-module-asneeded): Use it.
30783 ($(common-objpfx)libc.so): Use $(shlib-lds).
30784 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30785 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30787 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30788 DT_FLAGS/DT_FLAGS_1 with zero flags.
30790 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30791 linker script munging.
30793 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30795 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30797 * crypt/sha512.c (sha512_process_block): Perform total addition using
30798 128-bit if possible.
30799 (__sha512_finish_ctx): Likewise.
30800 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30802 * crypt/sha256.c (SWAP64): Define.
30803 (sha256_process_block): Perform total addition using 64-bit if
30805 (__sha256_finish_ctx): Likewise.
30807 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30809 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30811 * nscd/hstcache.c (cache_addhst): Likewise.
30812 * nscd/grpcache.c (cache_addgr): Likewise.
30813 * nscd/aicache.c (addhstaiX): Likewise
30814 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30816 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30818 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30819 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30820 * nscd/hstcache.c (cache_addhst): Likewise.
30821 * nscd/grpcache.c (cache_addgr): Likewise.
30822 * nscd/aicache.c (addhstaiX): Likewise
30824 2011-07-01 Andreas Schwab <schwab@redhat.com>
30826 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30827 domain only when needed.
30829 2011-06-30 Andreas Schwab <schwab@redhat.com>
30831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30832 is always restored.
30834 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30836 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30837 are re-adding the entry.
30838 * nscd/servicescache.c (cache_addserv): Likewise.
30840 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30842 * sysdeps/generic/dl-irel.h: fix protection against multiple
30844 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30846 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30849 * malloc/memusage.sh: Fix quoting in message.
30850 * debug/xtrace.sh: Likewise.
30852 * configure.in: Remove support for --experimental-malloc option, make
30854 * config.make.in: Likewise.
30855 * malloc/Makefile: Likewise.
30857 2011-06-27 Andreas Schwab <schwab@redhat.com>
30859 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30860 two-byte characters.
30862 2011-06-27 Roland McGrath <roland@hack.frob.com>
30864 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30865 AC_CACHE_CHECK invocation.
30866 * configure: Regenerated.
30868 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30870 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30873 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30874 bit from old_res_options.
30876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30878 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30879 value type for setfct.
30881 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30883 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30884 __gettimeofday instead of gettimeofday.
30886 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30888 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30890 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30892 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30897 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30900 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30901 strcpy-sse2-unaligned strncpy-sse2-unaligned
30902 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30903 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30904 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30905 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30906 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30907 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30908 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30909 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30910 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30911 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30912 (STRCPY): Support SSE2 and SSSE3 versions.
30914 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30917 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30918 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30919 kernels which artificially limit size of requests.
30921 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30924 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30925 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30926 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30927 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30928 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30929 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30930 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30931 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30933 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30934 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30935 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30936 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30937 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30939 Enable unaligned load optimization for Intel Core i3, i5 and i7
30941 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30943 (index_Fast_Unaligned_Load): Define.
30944 (HAS_FAST_UNALIGNED_LOAD): Define.
30946 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30948 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30950 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30954 until it is clear that the information is realy needed.
30955 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30957 2011-06-22 Andreas Schwab <schwab@redhat.com>
30959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30961 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30964 /sys/devices/system/cpu/online if it is usable.
30966 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30967 reading the information from the /proc filesystem to once a second.
30969 2011-06-21 Andreas Jaeger <aj@suse.de>
30971 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30972 NULL after inclusion of kernel headers.
30974 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30976 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30977 calls to internal_setent.
30980 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30981 addresses using gethostbyname4_r ignore IPv4 addresses.
30983 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30984 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30986 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30988 2011-06-20 David S. Miller <davem@davemloft.net>
30990 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30992 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30994 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30995 (elf_irel): Use it.
30996 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30997 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30998 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30999 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31000 * sysdeps/x86_64/dl-irel.h: Likewise.
31002 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31003 * elf/dl-sym.c: Likewise.
31005 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31007 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31008 need to dereference resplen2.
31010 2011-06-14 Andreas Schwab <schwab@redhat.com>
31012 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31014 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31016 * Makeconfig: Define vardbdir and inst_vardbdir.
31017 * nss/Makefile: Add rules to install db-Makefile.
31019 * nss/nss_db/db-XXX.c: Cleanup.
31021 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31022 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31024 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31025 * nss/makedb.c: Implement -g option to specify that value strings
31026 are generated and should not be added to table iterated over for
31028 * nss/nss_db/db-initgroups.c: New file.
31030 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31033 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31034 (internal_getgrouplist): Adjust to name change.
31035 Update use_initgroups_entry if this is not the first call.
31036 * nss/databases.def: Add initgroups entry.
31038 * nss/makedb.c (compute_tables): Check result of multiple hash table
31039 sizes to minimize maximum chain length.
31041 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31043 * Versions.def: Add entry for libnss_db.
31044 * shlib-versions: Likewise.
31045 * nss/Makefile: Add rules to build libnss_db.
31046 * nss/Versions: Add libnss_db information. Organize libnss_files
31048 * nss/db-Makefile: Add gshadow support. Change rules for the new
31049 makedb progra. Some minor improvements to generate smaller files.
31050 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31052 * nss/makedb.c: ...here.
31053 Improve database format to be smaller and require less memory at
31055 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31057 * nss/nss_db/db-netgrp.c: Likewise.
31058 * nss/nss_db/db-open.c: Likewise.
31059 * nss/nss_files/flies-XXX.x: Adjust comments.
31060 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31061 * nss/nss_files/files-grp.c: Likewise.
31062 * nss/nss_files/files-hosts.c: Likewise.
31063 * nss/nss_files/files-network.c: Likewise.
31064 * nss/nss_files/files-proto.c: Likewise.
31065 * nss/nss_files/files-pwd.c: Likewise.
31066 * nss/nss_files/files-rpc.c: Likewise.
31067 * nss/nss_files/files-service.c: Likewise.
31068 * nss/nss_files/files-sgrp.c: Likewise.
31069 * nss/nss_files/files-spwd.c: Likewise.
31070 * nss/nss_db/db-alias.c: Removed.
31071 * nss/nss_db/dummy-db.h: Removed.
31073 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31075 * nss/makedb.c: Rewritten to not use database library.
31076 * nss/Makefile: Update to build new makedb program.
31078 2011-06-14 Andreas Jaeger <aj@suse.de>
31080 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31081 memset declaration.
31083 2011-06-10 Andreas Schwab <schwab@redhat.com>
31085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31088 2011-06-10 Roland McGrath <roland@hack.frob.com>
31090 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31091 * elf/Makefile ($(objpfx)ld.so): Likewise.
31093 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31094 Don't list ld.so twice in dependencies.
31096 * posix/bug-regex31.c: Include <stdlib.h>.
31098 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31100 * nis/nss_compat/compat-spwd.c
31101 (getspent_next_nss_netgr): Remove unused variable.
31102 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31104 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31105 nonmembers" output to use the right array.
31107 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31109 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31111 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31112 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31113 * catgets/gencat.c (read_input_file): Likewise.
31114 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31116 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31117 variable definition inside #if's controlling its use.
31119 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31121 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31123 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31125 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31128 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31130 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31131 * configure: Regenerated.
31133 * Makerules: Revert last change.
31134 * elf/Makefile: Likewise.
31136 2011-06-09 Roland McGrath <roland@hack.frob.com>
31138 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31139 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31140 (reloc-link): Likewise.
31142 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31144 * elf/Makefile: Add rules to build pldd.
31145 * elf/pldd.c: New file.
31146 * elf/pldd-xx.c: New file.
31148 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31150 * version.h: Update for 2.15 development version.
31152 2011-06-07 David S. Miller <davem@davemloft.net>
31154 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31157 elf_machine_lazy_rel): Likewise.
31158 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31160 elf_machine_lazy_rel): Likewise.
31161 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31162 dl_hwcap via passed in argument.
31163 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31166 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31168 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31170 2011-06-06 Roland McGrath <roland@hack.frob.com>
31173 * manual/fdl-1.1.texi: New file, verbatim from:
31174 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31175 * manual/lgpl-2.1.texi: New file, verbatim from:
31176 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31177 * manual/Makefile (licenses): New variable, list those new file names.
31179 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31181 * manual/fdl.texi: File removed.
31182 * manual/lesser.texi: File removed.
31183 * manual/libc.texinfo (Copying, Documentation License):
31184 Use new @include file names, put @appendix directive before @include.
31186 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31189 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31190 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31191 (mq_open): Add __NTH.
31193 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31196 Assume Intel Core i3/i5/i7 processor if AVX is available.
31198 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31203 2011-05-31 Andreas Schwab <schwab@redhat.com>
31205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31206 memory. Use alloca_account. Fix memory leak when retrying.
31208 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31210 * version.h (RELEASE): Bump for 2.14 release.
31211 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31213 * config.make.in (RANLIB): Remove entry.
31215 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31217 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31218 (libc.pot): Work around missing support for .ksh extension in xgettext.
31221 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31222 if both request failed.
31223 (send_dg): In case of server errors clear resplen or *resplen2.
31226 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31227 when there are multiple maps.
31228 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31229 (_dl_fini): Remove test here.
31231 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31233 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31236 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31237 bit from old_res_options.
31238 (gaih_inet): Likewise.
31241 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31244 * resolv/res_init.c (res_setoptions): Make the code more compact.
31247 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31251 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31253 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31256 * malloc/malloc.h: Declare malloc hook variables as volatile.
31258 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31262 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31263 raise in the comment.
31264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31266 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31268 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31271 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31272 grow the buffers more if it already has to be sufficient.
31273 (build_wcs_upper_buffer): Likewise.
31274 * posix/regexec.c (check_matching): Likewise.
31275 (clean_state_log_if_needed): Likewise.
31276 (extend_buffers): Don't enlarge buffers beyond size of the input
31278 Patches mostly by Emil Wojak <emil@wojak.eu>.
31279 * posix/bug-regex32.c: New file.
31280 * posix/Makefile (tests): Add bug-regex32.
31282 * locale/findlocale.c (_nl_find_locale): Return right away if
31283 _nl_explode_name failed.
31284 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31286 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31288 * debug/xtrace.sh: Unify messages.
31289 * malloc/memusage.sh: Likewise.
31292 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31293 time symbol from vDSO. Substitute with vsyscall if not available.
31294 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31297 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31298 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31299 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31300 Add sendmmsg and internal_sendmmsg.
31301 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31302 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31303 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31305 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31306 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31307 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31309 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31312 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31313 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31315 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31319 * iconvdata/Makefile (tests): Add bug-iconv9.
31320 * iconvdata/bug-iconv9.c: New file.
31322 2011-05-27 Andreas Schwab <schwab@redhat.com>
31325 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31327 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31330 (struct user_regs_struct): Change intcs field back to cs.
31332 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31334 * po/ja.po: Update from translation team.
31336 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31339 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31340 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31342 2011-05-20 Andreas Schwab <schwab@redhat.com>
31344 * stdlib/longlong.h: Update from GCC.
31346 2011-05-23 Andreas Schwab <schwab@redhat.com>
31348 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31350 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31351 Add parameter name.
31352 (__sysconf): Pass it down.
31354 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31357 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31359 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31360 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31361 add in in __libc_use_alloca calls. Adjust callers.
31362 (glob): Use malloc in some situations.
31364 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31365 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31368 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31370 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31371 and CLOCK_BOOTTIME_ALARM.
31374 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31377 * string/_strerror.c (__strerror_r): Print negative errors as signed
31381 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31382 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31383 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31385 * configure.in: Fix typo in redirection and correct removal of test
31386 files in two cases.
31389 * locale/setlocale.c (new_composite_name): Fix test to check for
31390 identical name of all categories.
31393 * libio/filedoalloc.c (local_isatty): New function.
31394 (_IO_file_doallocate): Use local_isatty.
31395 * stdio-common/perror.c (perror): In case a new stream is used
31396 forward the stream error.
31397 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31400 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31405 * include/alloca.h (extend_alloca_account): Define.
31408 * posix/regex.h: Fix comments with documentation of user-accessible
31409 fields after compilation and describe correct free'ing of pattern
31410 after re_compile_pattern.
31411 Patch by Reuben Thomas <rrt@sc3d.org>.
31413 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31415 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31416 and -mno-altivec to prevent the compiler from using Altivec and/or
31417 VSX instructions when the corresponding registers are not available.
31419 2011-05-19 Andreas Schwab <schwab@redhat.com>
31421 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31423 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31425 * libio/freopen.c (freopen): Use __dup2, not dup2.
31426 * libio/freopen64.c (freopen64): Likewise.
31428 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31431 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31432 * math/Makefile (tests): Add test-powl.
31433 (CFLAGS-test-powl.c): Define.
31434 * math/test-powl.c: New file.
31436 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31438 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31440 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31443 * iconvdata/gb18030.c: Update to GB18020-2005.
31445 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31447 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31448 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31449 Patch by Aharon Robbins <arnold@skeeve.com>.
31452 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31456 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31457 through underflows.
31460 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31461 point to strings before performing equality test for error_one_per_line
31465 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31468 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31469 (struct user_fpregs_struct): Avoid __uint*_t types.
31472 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31473 symbol info. Use it instead of calling _dl_addr locally.
31474 (lock_and_info): New function.
31475 (tr_freehook): Call lock_and_info and pass symbol info as additional
31476 parameter to tr_where.
31477 (tr_mallochook): Likewise.
31478 (tr_reallochook): Likewise.
31479 (tr_memalignhook): Likewise.
31481 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31482 used and couldn't be at all thread-safe.
31484 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31486 * libio/freopen.c (freopen): Don't close old file descriptor
31487 before the new one is opened. Instead dup the new file descriptor
31488 to the old one after the new stream is created.
31489 * libio/freopen64.c (freopen64): Likewise.
31490 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31491 * libio/fileops.c (_IO_new_file_close_it): Handle new
31492 _IO_FLAGS2_NOCLOSE flag.
31493 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31494 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31495 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31496 _IO_FLAGS2_NOCLOSE flag.
31497 * include/unistd.h: Add hidden_proto for dup3.
31498 Define __have_dup3.
31499 * io/dup3.c: Define hidden symbol.
31500 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31503 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31504 when an incomplete long option is used.
31505 * posix/tst-getopt_long1.c: New file.
31506 * posix/Makefile (tests): Add tst-getopt_long1.
31509 * scripts/config.guess: Update from autoconf-2.68.
31510 * scripts/config.sub: Likewise.
31513 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31515 (has_cpuclock): ...this. New function.
31516 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31517 macro here based on has_cpuclock code.
31520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31521 First byte (not low byte) is now always NUL.
31522 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31525 Use non-cancelable interfaces.
31528 * locale/iso-639.def: Add entry for Sorani.
31531 * include/stdlib.h: Move include protection to the right place.
31532 Define abort_msg_s. Declare __abort_msg with it.
31533 * stdlib/abort.c (__abort_msg): Adjust type.
31534 * assert/assert.c (__assert_fail_base): New function. Majority
31535 of code from __assert_fail. Allocate memory for __abort_msg with
31537 (__assert_fail): Now call __assert_fail_base.
31538 * assert/assert-perr.c: Remove bulk of implementation. Use
31539 __assert_fail_base.
31540 * include/assert.hL Declare __assert_fail_base.
31541 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31543 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31545 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31549 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31550 until all modules are registered in the DTV.
31551 * elf/Makefile: Add rules to build and run tst-tls19.
31552 * elf/tst-tls19.c: New file.
31553 * elf/tst-tls19mod1.c: New file.
31554 * elf/tst-tls19mod2.c: New file.
31555 * elf/tst-tls19mod3.c: New file.
31556 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31559 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31563 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31564 two-byte sequence errors.
31565 * iconvdata/Makefile (tests): Add bug-iconv8.
31566 * iconvdata/bug-iconv8.c: New file.
31569 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31572 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31575 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31576 (dummy_getcfa): New function.
31577 (init): Get _Unwind_GetCFA address, use dummy if not found.
31578 (backtrace_helper): In recursion check, also check whether CFA changes.
31579 (__backtrace): Completely initialize arg.
31581 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31582 storing incomplete byte sequence in state object. Avoid testing for
31583 guaranteed too small input if we know there is enough data available.
31585 2011-05-11 Andreas Schwab <schwab@redhat.com>
31587 * Makeconfig (+link-pie): Indent.
31588 * Rules (binaries-pie): Define if $(have-fpie) and
31590 (binaries-shared): Also filter out $(binaries-pie).
31591 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31592 * nscd/Makefile (others-pie): Add nscd.
31593 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31594 ($(objpfx)nscd): Remove command override.
31595 * login/Makefile (others-pie): Add pt_chown.
31596 ($(objpfx)pt_chown): Remove command override.
31597 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31598 remove command overrides.
31600 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31602 * libio/tst_putwc.c: Fix error messages.
31605 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31606 currently writing and seek to current position when not.
31607 * libio/Makefile (tests): Add bug-fclose1.
31608 * libio/bug-fclose1.c: New file.
31610 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31613 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31614 don't set DF_1_NODELETE here.
31615 (do_lookup_x): When entering new entry test for copy relocation
31616 and if necessary set DF_1_NODELETE flag.
31617 * elf/tst-unique4.cc: New file.
31618 * elf/tst-unique4.h: New file.
31619 * elf/tst-unique4lib.cc: New file.
31620 * elf/Makefile: Add rules to build and run tst-unique4.
31621 Patch by Piotr Bury <pbury@goahead.com>.
31623 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31626 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31629 * misc/mntent_r.c (addmntent): Flush the stream after the output
31632 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31633 (is_trusted_path_normalize): Skip initial colon. Append slash
31634 to empty buffer. Duplicate is_trusted_path code but allow
31635 constructed patch to be prefix.
31636 (is_dst): Allow $ORIGIN followed by /.
31637 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31638 Correct testing of result of is_trusted_path_normalize
31639 (decompose_rpath): Fix warning.
31641 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31644 * grp/initgroups.c (internal_getgrouplist): When we found the service
31645 list through the initgroups entry in nsswitch.conf do not always
31646 continue on a successful lookup. Don't always use the
31647 __nss_group_database value if it is set.
31648 * nss/nsswitch.conf (initgroups): Change action for successful db
31649 lookup to continue for compatibility.
31651 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31654 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31656 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31658 * iconvdata/tst-tables.sh: Likewise.
31659 * iconvdata/cp770.c: New file.
31660 * iconvdata/cp771.c: New file.
31661 * iconvdata/cp772.c: New file.
31662 * iconvdata/cp773.c: New file.
31663 * iconvdata/cp774.c: New file.
31664 * iconvdata/testdata/CP770: New file.
31665 * iconvdata/testdata/CP770..UTF8: New file.
31666 * iconvdata/testdata/CP771: New file.
31667 * iconvdata/testdata/CP771..UTF8: New file.
31668 * iconvdata/testdata/CP772: New file.
31669 * iconvdata/testdata/CP772..UTF8: New file.
31670 * iconvdata/testdata/CP773: New file.
31671 * iconvdata/testdata/CP773..UTF8: New file.
31672 * iconvdata/testdata/CP774: New file.
31673 * iconvdata/testdata/CP774..UTF8: New file.
31675 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31677 * iconvdata/gen-8bit-gap.sh: Likewise.
31678 * iconvdata/gen-8bit.sh: Likewise.
31680 * locale/iso-639.def: Add ary entry.
31683 * locale/C-translit.h.in: Add U20A1 transliteration.
31686 * locale/iso-639.def: Add wae entry.
31687 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31690 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31694 * locale/C-translit.h.in: Add entry for U20B9.
31695 Patch by pravin.d.s@gmail.com.
31697 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31700 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31701 ENAMETOOLONG use generic getcwd.
31702 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31703 in rtld. Use *stat64.
31704 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31705 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31706 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31707 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31708 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31709 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31710 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31711 __fstatat64 macros.
31712 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31713 * dirent/rewinddir.c: Add libc_hidden_def.
31714 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31715 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31717 * include/dirent.h (__alloc_dir): Add flags parameter.
31718 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31719 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31721 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31722 from fdopendir if O_CLOEXEC is already set.
31724 2011-03-15 Alan Modra <amodra@gmail.com>
31726 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31727 l_tls_firstbyte_offset non-zero. Save padding offset in
31728 l_tls_firstbyte_offset for later use.
31729 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31730 freeing static tls block.
31732 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31734 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31735 where #ifdef was intended. The intent is to prevent ARG_MAX from
31736 being defined by the kernel headers.
31738 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31741 * resolv/resolv.h: Define RES_NOTLDQUERY.
31742 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31743 no-tld-query and set RES_NOTLDQUERY.
31744 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31745 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31746 modern BIND to search name as TLD unless forbidden.
31748 2011-05-07 Petr Baudis <pasky@suse.cz>
31749 Ulrich Drepper <drepper@gmail.com>
31752 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31753 (is_trusted_path): ...to here.
31754 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31755 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31756 using is_trusted_path_normalize() in setuid scripts.
31758 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31760 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31761 __BEGIN/__END_DECLS.
31763 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31766 NSS_STATUS_NOTFOUND if no record was found.
31768 2011-05-05 Andreas Schwab <schwab@redhat.com>
31770 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31771 (headers-not-in-tirpc): Remove rpc/netdb.h
31772 * resolv/netdb.h: Revert last change.
31774 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31776 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31777 circular dependency between libgcc.a and libc.a.
31779 2011-05-05 Andreas Schwab <schwab@redhat.com>
31781 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31782 * nis/Makefile: Don't install rpcsvc/*.
31783 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31784 instead of <rpc/types.h>.
31785 (MAXHOSTNAMELEN): Define.
31787 2011-05-03 Andreas Schwab <schwab@redhat.com>
31789 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31791 2011-04-28 Maciej Babinski <mbabinski@google.com>
31794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31795 gethostbyname4_r when IPv6 results are possible.
31797 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31800 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31801 _PC_PIPE_BUF handling.
31803 2011-04-30 Bruno Haible <bruno@clisp.org>
31806 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31807 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31809 * inet/getnameinfo.c (getnameinfo): Likewise.
31811 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31813 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31814 to groups setting in database lookup.
31815 * nss/nsswitch.conf: Add initgroups entry.
31817 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31820 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31822 Patch by Eric Blake <eblake@redhat.com>.
31824 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31826 * sunrpc/Makefile (need-export-routines): Add svc_run.
31827 (routines): Remove svc_run.
31828 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31829 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31830 * sunrpc/svc_run.c (svc_run): Likewise.
31831 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31833 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31835 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31836 problem in reallocation in last patch.
31838 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31840 * sunrpc/Makefile: Move inclusion of Rules.
31842 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31844 * nss/nss_files/files-initgroups.c: New file.
31845 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31846 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31847 _nss_files_initgroups_dyn.
31849 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31851 * elf/elf.h (R_ARM_IRELATIVE): Define.
31853 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31855 * po/ru.po: Update from translation team.
31857 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31859 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31862 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31865 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31866 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31867 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31869 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31871 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31873 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31875 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31877 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31879 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31882 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31884 * stdlib/bug-getcontext.c: New file.
31885 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31887 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31889 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31890 instructions into .machine "z9-109".
31891 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31892 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31894 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31896 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31897 between environment variables and auxiliary vector.
31899 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31901 * Makefile: Add rules to build linkobj/libc.so.
31902 * include/libc-symbols.h: Define libc_hidden_nolink.
31903 * include/rpc/auth.h: Mark functions which are to be hidden.
31904 * include/rpc/auth_des.h: Likewise.
31905 * include/rpc/auth_unix.h: Likewise.
31906 * include/rpc/clnt.h: Likewise.
31907 * include/rpc/des_crypt.h: Likewise.
31908 * include/rpc/key_prot.h: Likewise.
31909 * include/rpc/pmap_clnt.h: Likewise.
31910 * include/rpc/pmap_prot.h: Likewise.
31911 * include/rpc/pmap_rmt.h: Likewise.
31912 * include/rpc/rpc_msg.h: Likewise.
31913 * include/rpc/svc.h: Likewise.
31914 * include/rpc/svc_auth.h: Likewise.
31915 * include/rpc/xdr.h: Likewise.
31916 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31917 * nss/Makefile: Likewise.
31918 * sunrpc/Makefile: Don't install headers. Build library with normal
31919 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31920 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31921 for the compat linking library. Remove use of INTDEF/INTUSE.
31922 * sunrpc/auth_none.c: Likewise.
31923 * sunrpc/auth_unix.c: Likewise.
31924 * sunrpc/authdes_prot.c: Likewise.
31925 * sunrpc/authuxprot.c: Likewise.
31926 * sunrpc/clnt_gen.c: Likewise.
31927 * sunrpc/clnt_perr.c: Likewise.
31928 * sunrpc/clnt_raw.c: Likewise.
31929 * sunrpc/clnt_simp.c: Likewise.
31930 * sunrpc/clnt_tcp.c: Likewise.
31931 * sunrpc/clnt_udp.c: Likewise.
31932 * sunrpc/clnt_unix.c: Likewise.
31933 * sunrpc/des_crypt.c: Likewise.
31934 * sunrpc/des_soft.c: Likewise.
31935 * sunrpc/get_myaddr.c: Likewise.
31936 * sunrpc/key_call.c: Likewise.
31937 * sunrpc/key_prot.c: Likewise.
31938 * sunrpc/netname.c: Likewise.
31939 * sunrpc/pm_getmaps.c: Likewise.
31940 * sunrpc/pm_getport.c: Likewise.
31941 * sunrpc/pmap_clnt.c: Likewise.
31942 * sunrpc/pmap_prot.c: Likewise.
31943 * sunrpc/pmap_prot2.c: Likewise.
31944 * sunrpc/pmap_rmt.c: Likewise.
31945 * sunrpc/publickey.c: Likewise.
31946 * sunrpc/rpc_cmsg.c: Likewise.
31947 * sunrpc/rpc_common.c: Likewise.
31948 * sunrpc/rpc_dtable.c: Likewise.
31949 * sunrpc/rpc_prot.c: Likewise.
31950 * sunrpc/rpc_thread.c: Likewise.
31951 * sunrpc/rtime.c: Likewise.
31952 * sunrpc/svc.c: Likewise.
31953 * sunrpc/svc_auth.c: Likewise.
31954 * sunrpc/svc_authux.c: Likewise.
31955 * sunrpc/svc_raw.c: Likewise.
31956 * sunrpc/svc_run.c: Likewise.
31957 * sunrpc/svc_simple.c: Likewise.
31958 * sunrpc/svc_tcp.c: Likewise.
31959 * sunrpc/svc_udp.c: Likewise.
31960 * sunrpc/svc_unix.c: Likewise.
31961 * sunrpc/svcauth_des.c: Likewise.
31962 * sunrpc/xcrypt.c: Likewise.
31963 * sunrpc/xdr.c: Likewise.
31964 * sunrpc/xdr_array.c: Likewise.
31965 * sunrpc/xdr_float.c: Likewise.
31966 * sunrpc/xdr_intXX_t.c: Likewise.
31967 * sunrpc/xdr_mem.c: Likewise.
31968 * sunrpc/xdr_rec.c: Likewise.
31969 * sunrpc/xdr_ref.c: Likewise.
31970 * sunrpc/xdr_sizeof.c: Likewise.
31971 * sunrpc/xdr_stdio.c: Likewise.
31973 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31976 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31977 * sysdeps/ia64/dl-tls.h: Likewise.
31978 * sysdeps/powerpc/dl-tls.h: Likewise.
31979 * sysdeps/s390/dl-tls.h: Likewise.
31980 * sysdeps/sh/dl-tls.h: Likewise.
31981 * sysdeps/sparc/dl-tls.h: Likewise.
31982 * sysdeps/x86_64/dl-tls.h: Likewise.
31983 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31985 2011-03-14 Andreas Schwab <schwab@redhat.com>
31987 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31988 rpath element also skip the following colon.
31989 (expand_dynamic_string_token): Add is_path parameter and pass
31990 down to DL_DST_REQUIRED and _dl_dst_substitute.
31991 (decompose_rpath): Call expand_dynamic_string_token with
31992 non-zero is_path. Ignore empty rpaths.
31993 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31996 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32001 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32004 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32005 Patch by Filipe David Manana <fdmanana@apache.org>.
32007 2011-04-07 Andreas Schwab <schwab@redhat.com>
32009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32010 Maintain aligned stack.
32011 (CHECK_RSP): Remove unused macro.
32013 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32015 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32016 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32018 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32020 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32022 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32024 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32027 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32028 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32029 * sysdeps/x86_64/memmove.c: New file.
32030 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32031 (memcpy): Renamed to ...
32032 (__new_memcpy): This.
32033 (memcpy): Provide GLIBC_2_14 memcpy.
32034 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32035 (memcpy): Provide GLIBC_2_2_5 memcpy.
32037 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32040 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32042 2011-03-30 Andreas Schwab <schwab@redhat.com>
32044 * misc/syncfs.c: New file.
32045 * misc/Makefile (routines): Add syncfs.
32046 * posix/unistd.h: Declare syncfs.
32047 * sysdeps/unix/syscalls.list: Add syncfs.
32049 2011-04-01 Andreas Schwab <schwab@redhat.com>
32051 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32053 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32054 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32058 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32061 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32065 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32071 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32072 sync_file_range.c with -fexceptions.
32073 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32074 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32075 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32076 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32077 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32078 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32079 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32080 sync_file_range as cancellation point
32081 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32082 now a wrapper around __call_sync_file_range with cancellation handling.
32083 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32084 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32085 function name to __call_sync_file_range.
32086 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32087 Add call_sync_file_range.
32089 2011-04-01 Andreas Schwab <schwab@redhat.com>
32091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32094 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32096 * iconv/iconv.h: Fix typo in comment.
32097 * io/fcntl.h: Likewise.
32098 * libio/stdio.h: Likewise.
32099 * posix/spawn.h: Likewise.
32100 * posix/unistd.h: Likewise.
32101 * stdlib/stdlib.h: Likewise.
32102 * time/time.h: Likewise.
32103 * wcsmbs/wchar.h: Likewise.
32105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32106 open_by_handle): Add.
32107 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32108 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32109 Augment a few comments.
32110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32112 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32114 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32115 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32118 * io/fcntl.h (AT_EMPTY_PATH): Define.
32120 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32122 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32123 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32124 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32126 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32127 * Versions.def: Add GLIBC_2.14.
32128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32131 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32133 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32135 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32137 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32140 * string/test-strncmp.c (do_page_test): New function.
32141 (check2): Likewise.
32142 (test_main): Call check2.
32143 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32145 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32148 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32149 Handle cache information in CPU leaf 4.
32150 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32152 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32155 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32156 character representation.
32157 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32159 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32161 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32162 END(__isnan) to END(__isnanf) to match function entry point/label
32163 EALIGN(__isnanf,...).
32165 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32167 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32169 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32172 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32173 copy from the symbol referenced in the relocation to initialize the
32175 Patch by Piotr Bury <pbury@goahead.com>.
32176 * elf/Makefile: Add rules to build and tst-unique3.
32177 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32178 * elf/tst-unique3.cc: New file.
32179 * elf/tst-unique3.h: New file.
32180 * elf/tst-unique3lib.cc: New file.
32181 * elf/tst-unique3lib2.cc: New file.
32183 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32185 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32187 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32188 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32191 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32193 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32194 to-be-loaded object along a path to loader is ld.so.
32196 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32197 Ulrich Drepper <drepper@gmail.com>
32199 * sysdeps/x86_64/memset.S: After aligning destination, code
32200 branches to different locations depending on the value of
32201 misalignment, when multiarch is enabled. Fix this.
32203 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32205 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32206 Set _x86_64_preferred_memory_instruction for AMD processsors.
32207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32208 Set bit_Prefer_SSE_for_memop for AMD processors.
32210 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32212 * libio/fmemopen.c (fmemopen): Optimize a bit.
32214 2011-03-03 Andreas Schwab <schwab@redhat.com>
32216 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32218 2011-03-03 Roland McGrath <roland@redhat.com>
32220 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32222 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32224 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32225 __bzero_ultra1 instead of __memset_ultra1.
32227 2011-02-23 Andreas Schwab <schwab@redhat.com>
32228 Ulrich Drepper <drepper@gmail.com>
32231 * include/link.h (struct link_map): Add l_orig_initfini.
32232 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32233 returning unsuccessfully.
32234 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32235 close of a file loaded at startup, restore the original l_initfini
32237 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32238 list, store the pointer.
32239 * elf/Makefile ($(objpfx)noload-mem): New rule.
32240 (noload-ENV): Define.
32241 (tests): Add $(objpfx)noload-mem.
32242 * elf/noload.c: Include <memcheck.h>.
32243 (main): Call mtrace. Close all opened handles.
32245 2011-02-17 Andreas Schwab <schwab@redhat.com>
32248 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32249 dependencies are missing.
32251 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32253 Fix __if_freereq crash: Unlike the generic version which uses free,
32255 * sysdeps/mach/hurd/ifreq.h: New file.
32257 2011-01-27 Petr Baudis <pasky@suse.cz>
32258 Ulrich Drepper <drepper@gmail.com>
32261 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32262 to extend_alloca().
32263 * stdio-common/bug23.c: New file.
32264 * stdio-common/Makefile (tests): Add bug23.
32266 2010-09-28 Andreas Schwab <schwab@redhat.com>
32267 Ulrich Drepper <drepper@gmail.com>
32270 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32271 before performing relro protection. At old place add assertion
32272 to make sure nothing changed.
32274 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32275 Glauber de Oliveira Costa <glommer@gmail.com>
32277 * elf/elf.h: Add new ARM TLS relocs.
32279 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32282 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32284 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32286 * sysdeps/wordsize-64/tst-writev.c: New file.
32288 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32290 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32291 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32292 insns in _dl_start to prevent a TOC reference before relocs are
32295 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32298 * Makeconfig: Remove RANLIB definition.
32299 * Makerules: Don't use RANLIB.
32300 * aclocal.m4: Remove ranlib test.
32301 * configure.in: No need to check for ranlib.
32302 * elf/rtld-Rules: Don't use RANLIB.
32304 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32306 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32308 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32309 inclusion protection macro.
32311 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32312 SIGRTMIN and SIGRTMAX and print information in that case only when
32313 SIGRTMIN is defined.
32315 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32317 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32318 arginfo fn returning -1.
32320 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32321 and thousands string is zero terminated.
32323 2011-02-03 Andreas Schwab <schwab@redhat.com>
32325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32326 sysdeps/unix/sysv/linux/bits/socket.h.
32328 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32330 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32331 (__CPU_COUNT): Remove old macros.
32332 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32333 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32334 (__CPU_ALLOC, __CPU_FREE): Add macros.
32335 (__sched_cpualloc, __sched_cpufree): Add declarations.
32337 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32339 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32340 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32341 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32342 (readdhstai): Return value of addhstaiX call.
32343 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32344 (addgrbyX): Return value returned by cache_addgr.
32345 (readdgrbyname): Return value returned by addgrbyX.
32346 (readdgrbygid): Likewise.
32347 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32348 (addpwbyX): Return value returned by cache_addpw.
32349 (readdpwbyname): Return value returned by addhstbyX.
32350 (readdpwbyuid): Likewise.
32351 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32352 (addservbyX): Return value returned by cache_addserv.
32353 (readdservbyname): Return value returned by addservbyX:
32354 (readdservbyport): Likewise.
32355 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32356 (addhstbyX): Return value returned by cache_addhst.
32357 (readdhstbyname): Return value returned by addhstbyX.
32358 (readdhstbyaddr): Likewise.
32359 (readdhstbynamev6): Likewise.
32360 (readdhstbyaddrv6): Likewise.
32361 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32362 (readdinitgroups): Return value returned by addinitgroupsX.
32363 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32364 (prune_cache): Keep track of timeout value of re-added entries.
32365 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32366 * nscd/nscd.h: Adjust prototypes of readd* functions.
32368 2011-02-04 Roland McGrath <roland@redhat.com>
32370 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32371 (nis_stats): Likewise.
32372 * nis/nis_modify.c (nis_modify): Likewise.
32373 * nis/nis_remove.c (nis_remove): Likewise.
32374 * nis/nis_add.c (nis_add): Likewise.
32376 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32378 * posix/fnmatch_loop.c: Add some consts.
32380 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32382 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32385 * config.make.in (config-cflags-novzeroupper): Define.
32386 * configure.in: Substitute libc_cv_cc_novzeroupper.
32387 * elf/Makefile (AVX-CFLAGS): Define.
32388 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32389 (CFLAGS-tst-auditmod4a.c): Likewise.
32390 (CFLAGS-tst-auditmod4b.c): Likewise.
32391 (CFLAGS-tst-auditmod6b.c): Likewise.
32392 (CFLAGS-tst-auditmod6c.c): Likewise.
32393 (CFLAGS-tst-auditmod7b.c): Likewise.
32394 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32396 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32398 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32399 function to the callback.
32400 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32402 2011-02-02 Andreas Schwab <schwab@redhat.com>
32404 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32407 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32410 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32412 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32414 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32417 * elf/Makefile: Add rules to build and run new test.
32418 * elf/tst-initorder.c: New file.
32419 * elf/tst-initorder.exp: New file.
32420 * elf/tst-initordera1.c: New file.
32421 * elf/tst-initordera2.c: New file.
32422 * elf/tst-initordera3.c: New file.
32423 * elf/tst-initordera4.c: New file.
32424 * elf/tst-initorderb1.c: New file.
32425 * elf/tst-initorderb2.c: New file.
32426 * elf/tst-order-a1.c: New file.
32427 * elf/tst-order-a2.c: New file.
32428 * elf/tst-order-a3.c: New file.
32429 * elf/tst-order-a4.c: New file.
32430 * elf/tst-order-b1.c: New file.
32431 * elf/tst-order-b2.c: New file.
32432 * elf/tst-order-main.c: New file.
32433 New test case by George Gensure <werkt0@gmail.com>.
32435 2010-10-01 Andreas Schwab <schwab@redhat.com>
32437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32438 decoding ACE if AI_CANONIDN.
32440 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32442 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32444 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32446 * version.h (RELEASE): Bump for 2.13 release.
32447 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32449 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32451 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32453 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32455 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32456 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32457 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32458 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32460 * posix/getconf.c: Update copyright year.
32461 * catgets/gencat.c: Likewise.
32462 * csu/version.c: Likewise.
32463 * debug/catchsegv.sh: Likewise.
32464 * debug/xtrace.sh: Likewise.
32465 * elf/ldconfig.c: Likewise.
32466 * elf/ldd.bash.in: Likewise.
32467 * elf/sprof.c (print_version): Likewise.
32468 * iconv/iconv_prog.c: Likewise.
32469 * iconv/iconvconfig.c: Likewise.
32470 * locale/programs/locale.c: Likewise.
32471 * locale/programs/localedef.c: Likewise.
32472 * malloc/memusage.sh: Likewise.
32473 * malloc/mtrace.pl: Likewise.
32474 * nscd/nscd.c (print_version): Likewise.
32475 * nss/getent.c: Likewise.
32477 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32478 PF_CAIF, and PF_ALG.
32479 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32481 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32483 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32484 (modules-names): Use them.
32485 (ifunc-test-modules, ifunc-pie-tests): Define.
32486 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32487 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32488 (test-extras): Likewise.
32489 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32490 $(compile-command.c).
32491 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32492 (all-built-dso): Define.
32493 (check-textrel.out, check-execstack.out): Depend on it.
32495 * configure.in: Don't override --enable-multi-arch.
32497 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32500 * nscd/hstcache.c (tryagain): Define.
32501 (cache_addhst): Return tryagain not notfound for temporary errors.
32502 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32505 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32508 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32509 to make the syscall.
32510 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32513 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32514 and fall back to matching as normal character if the string ends before
32515 the matching ']' is found. This is what POSIX requires.
32516 * posix/testfnm.c: Adjust test result.
32517 * posix/globtest.sh: Adjust test result. Add new test.
32518 * posix/tst-fnmatch.input: Likewise.
32519 * posix/tst-fnmatch2.c: Add new test.
32521 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32523 * elf/Makefile (check-execstack): Revert last change. Depend on
32525 (check-execstack.h): New target.
32526 (generated): Add check-execstack.h.
32527 * elf/check-execstack.c: Include "check-execstack.h".
32528 (main): Revert last change.
32529 (handle_file): Return zero if GNU_STACK is absent and
32530 DEFAULT_STACK_PERMS doesn't include PF_X.
32532 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32534 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32535 in child fails because the descriptor is already closed.
32536 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32537 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32538 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32541 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32545 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32546 temporary buffer used to handle multi lookups locally.
32547 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32549 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32551 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32554 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32556 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32557 alignment for SSE2.
32559 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32562 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32563 characters. When rounding increased number of integer digits recompute
32565 * stdio-common/tst-grouping.c: New file.
32566 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32568 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32570 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32571 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32573 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32575 * bits/select.h: Likewise.
32577 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32579 * po/ja.po: Update from translation team.
32581 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32584 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32585 implementation just like for lxstat, fxstatat, et al.
32587 2010-12-27 Jim Meyering <meyering@redhat.com>
32590 * posix/regexec.c (build_trtable): Return failure indication upon
32591 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32593 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32596 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32597 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32598 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32599 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32602 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32605 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32606 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32608 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32610 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32611 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32612 script has SORT_BY_INIT_PRIORITY.
32613 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32614 NO_CTORS_DTORS_SECTIONS is defined.
32615 * elf/soinit.c: Likewise.
32616 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32617 NO_CTORS_DTORS_SECTIONS is defined.
32618 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32619 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32620 * sysdeps/sh/init-first.c: Likewise.
32621 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32623 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32625 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32626 always use the slow path.
32628 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32630 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32631 similar rule which adds the sysdep directories to the header search in
32632 order to pick up the correct platform stackinfo.h.
32633 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32634 perform test if it is, otherwise return successfully without testing.
32635 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32636 DEFAULT_STACK_PERMS define in stackinfo.h.
32637 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32638 defined in stackinfo.h.
32639 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32640 DEFAULT_STACK_PERMS defined in stackinfo.h.
32641 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32642 * sysdeps/ia64/stackinfo.h: Likewise.
32643 * sysdeps/s390/stackinfo.h: Likewise.
32644 * sysdeps/sh/stackinfo.h: Likewise.
32645 * sysdeps/sparc/stackinfo.h: Likewise.
32646 * sysdeps/x86_64/stackinfo.h: Likewise.
32647 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32648 PF_X for powerpc64. Retain PF_X for powerpc32.
32650 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32652 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32654 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32655 GETDENTS_64BIT_ALIGNED.
32657 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32659 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32661 2010-12-10 Andreas Schwab <schwab@redhat.com>
32663 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32666 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32667 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32669 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32670 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32672 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32675 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32678 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32680 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32682 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32684 * po/it.po: Update from translation team.
32686 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32691 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32693 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32695 2010-11-24 Andreas Schwab <schwab@redhat.com>
32697 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32699 (gaih_getanswer_slice): Likewise.
32701 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32705 2010-05-31 Petr Baudis <pasky@suse.cz>
32708 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32709 silently even in the chroot mode.
32711 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32713 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32714 last patch a bit. Pretty printing
32716 2010-05-31 Petr Baudis <pasky@suse.cz>
32719 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32720 initialization of skip_initgroups_dyn.
32722 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32724 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32725 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32727 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32729 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32731 2010-11-11 Andreas Schwab <schwab@redhat.com>
32733 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32734 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32735 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32736 ($(objpfx)tst-fnmatch-mem): New rule.
32737 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32738 * posix/tst-fnmatch.c (main): Call mtrace.
32740 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32743 Support Intel processor model 6 and model 0x2c.
32745 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32747 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32750 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32753 * string/test-strncasecmp.c (check_result): New function.
32754 (do_one_test): Use it.
32755 (check1): New function.
32756 (test_main): Use it.
32757 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32758 Support strcasecmp and strncasecmp.
32760 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32763 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32766 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32768 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32772 * sysdeps/x86_64/multiarch/bzero.S: New file.
32773 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32774 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32775 * sysdeps/x86_64/multiarch/memset.S: New file.
32776 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32778 Set bit_Prefer_SSE_for_memop for Intel processors.
32779 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32781 (index_Prefer_SSE_for_memop): Define.
32782 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32784 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32786 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32787 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32789 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32792 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32793 (__x86_64_raw_data_cache_size_half): Likewise.
32794 (__x86_64_raw_shared_cache_size): Likewise.
32795 (__x86_64_raw_shared_cache_size_half): Likewise.
32797 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32798 (__x86_64_raw_data_cache_size_half): Likewise.
32799 (__x86_64_raw_shared_cache_size): Likewise.
32800 (__x86_64_raw_shared_cache_size_half): Likewise.
32801 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32802 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32803 and __x86_64_raw_shared_cache_size_half. Round
32804 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32805 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32806 to multiple of 256 bytes.
32808 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32812 of inacessible symlinks. Verify result of symlink before returning it.
32813 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32814 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32816 2010-10-28 Erich Ritz <erichritz@gmail.com>
32818 * math/math.h (isinf): Fix typo in comment.
32820 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32822 * po/da.po: Update from translation team.
32824 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32826 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32827 is added to the list.
32829 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32830 Ulrich Drepper <drepper@gmail.com>
32832 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32833 the global list here. Move code to...
32834 (_dl_add_to_namespace_list): ...here. New function.
32835 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32836 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32837 * elf/dl-load.c (lose): Don't remove the element from the list.
32838 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32839 (_dl_map_object): Likewise.
32841 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32844 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32845 into all bytes of SSE register.
32846 Patch by Richard Li <richardpku@gmail.com>.
32848 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32851 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32854 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32856 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32857 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32858 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32859 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32864 2010-10-22 Andreas Schwab <schwab@redhat.com>
32866 * include/dlfcn.h (__RTLD_SECURE): Define.
32867 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32868 mode & __RTLD_SECURE instead.
32869 (open_path): Rename preloaded parameter to secure.
32870 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32871 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32872 * elf/dl-deps.c (openaux): Likewise.
32873 * elf/rtld.c (struct map_args): Remove is_preloaded.
32874 (map_doit): Don't use it.
32875 (dl_main): Likewise.
32876 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32877 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32879 2010-09-09 Andreas Schwab <schwab@redhat.com>
32881 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32882 (sysd-rules-targets): Remove duplicates.
32883 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32884 rtld-%.$o dependency.
32886 2010-10-18 Andreas Schwab <schwab@redhat.com>
32888 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32889 _dl_map_object do it.
32891 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32893 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32894 fast fma builtins, define the macros in the C99 standard.
32895 (FP_FAST_FMAF): Likewise.
32896 (FP_FAST_FMAL): Likewise.
32897 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32899 * bits/mathdef.h: Update copyright year.
32900 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32902 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32904 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32905 builtins, define the macros in the C99 standard.
32906 (FP_FAST_FMAF): Likewise.
32907 (FP_FAST_FMAL): Likewise.
32908 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32910 (FP_FAST_FMAF): Likewise.
32912 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32915 * math/libm-test.inc (fma_test): Some new testcases.
32916 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32918 y and infinite z. Do multiplication by C already in long double.
32919 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32921 y and infinite z. Do bitwise or of inexact bit into u.d.
32922 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32923 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32924 * sysdeps/i386/fpu/s_fma.S: Removed.
32925 * sysdeps/i386/fpu/s_fmal.S: Removed.
32927 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32930 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32932 computation is not scheduled after fetestexcept. Fix value
32933 of minimum denormal long double.
32935 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32938 * math/libm-test.inc (fma_test): Add some more tests.
32939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32942 2010-10-15 Andreas Schwab <schwab@redhat.com>
32944 * scripts/data/localplt-s390-linux-gnu.data: New file.
32945 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32947 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32950 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32951 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32953 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32955 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32957 if one of x and y is very large and the other is subnormal.
32958 * sysdeps/s390/fpu/s_fmaf.c: New file.
32959 * sysdeps/s390/fpu/s_fma.c: New file.
32960 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32961 * sysdeps/powerpc/fpu/s_fma.S: New file.
32962 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32963 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32964 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32966 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32969 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32972 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32973 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32974 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32975 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32976 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32977 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32979 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32982 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32983 * posix/bug-regex31.input: Add test case.
32985 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32987 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32988 * posix/bug-regex31.input: New file.
32991 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32992 (parse_sub_exp): Fix last change, use postorder.
32994 * posix/bug-regex31.c: New file.
32995 * posix/Makefile: Add rules to build and run bug-regex31.
32997 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33000 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33003 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33004 to have entries in sys_siglist.
33007 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33010 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33013 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33014 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33015 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33016 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33017 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33018 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33019 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33020 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33021 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33022 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33023 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33024 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33025 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33026 * math/ftestexcept.c (fetestexcept): Likewise.
33027 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33028 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33029 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33030 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33031 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33032 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33033 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33035 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33038 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33041 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33043 * string/bug-strstr1.c: New file.
33044 * string/Makefile: Add rules to build and run bug-strstr1.
33046 2010-10-05 Eric Blake <eblake@redhat.com>
33049 * string/str-two-way.h (two_way_long_needle): Always clear memory
33050 when skipping input due to the shift table.
33052 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33055 * malloc/mcheck.c: Handle large requests.
33058 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33059 for strncmp and strncasecmp.
33060 * string/stratcliff.c: Add tests for strcmp and strncmp.
33061 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33063 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33065 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33068 2010-09-30 Andreas Jaeger <aj@suse.de>
33070 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33071 (CGROUP_SUPER_MAGIC): Define.
33072 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33073 Handle btrfs and cgroup file systems.
33074 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33077 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33079 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33080 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33082 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33085 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33086 trying to locate the ELF header.
33088 2010-09-27 Andreas Schwab <schwab@redhat.com>
33091 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33092 Mask out sign-bit copies when constructing f_fsid.
33094 2010-09-24 Petr Baudis <pasky@suse.cz>
33096 * debug/stack_chk_fail_local.c: Add missing licence exception.
33097 * debug/warning-nop.c: Likewise.
33099 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33101 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33102 implementing getdents64 using getdents syscall, set d_type if
33103 __ASSUME_GETDENTS32_D_TYPE.
33105 2010-09-16 Andreas Schwab <schwab@redhat.com>
33107 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33108 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33110 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33113 * posix/unistd.h: Undo change of feature selection for ftruncate from
33116 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33118 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33121 2010-09-20 Andreas Schwab <schwab@redhat.com>
33123 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33125 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33127 2010-09-14 Andreas Schwab <schwab@redhat.com>
33129 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33130 variables after CHECK_SP call.
33131 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33133 2010-09-13 Andreas Schwab <schwab@redhat.com>
33134 Ulrich Drepper <drepper@redhat.com>
33136 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33137 re-relocationg ld.so.
33138 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33139 _dl_init_paths call.
33140 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33143 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33145 * resolv/res_init.c (__res_vinit): Count the default server we added.
33147 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33148 Ulrich Drepper <drepper@redhat.com>
33151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33152 (____longjmp_chk): Use %ebx for saving value across system call.
33155 2010-09-06 Andreas Schwab <schwab@redhat.com>
33157 * manual/Makefile: Don't mix pattern rules with normal rules.
33159 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33161 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33163 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33164 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33165 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33166 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33170 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33173 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33174 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33176 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33178 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33179 * sysdeps/x86_64/addmul_1.S: Likewise.
33180 * sysdeps/x86_64/lshift.S: Likewise.
33181 * sysdeps/x86_64/mul_1.S: Likewise.
33182 * sysdeps/x86_64/rshift.S: Likewise.
33183 * sysdeps/x86_64/sub_n.S: Likewise.
33184 * sysdeps/x86_64/submul_1.S: Likewise.
33186 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33188 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33189 Define __sched_param instead of SCHED_* and sched_param when
33190 <bits/sched.h> is included with __need_schedparam defined.
33191 * bits/sched.h [__need_schedparam]
33192 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33193 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33194 (__defined_schedparam): Define to 1.
33195 (__sched_param): New structure, identical to sched_param.
33196 (__need_schedparam): Undefine.
33198 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33200 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33201 (epoll_create1): Declare.
33203 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33205 2010-08-31 Andreas Schwab <schwab@redhat.com>
33208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33209 shifting retval into place.
33211 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33213 * nis/rpcsvc/nis.h: Update copyright notice.
33214 * nis/rpcsvc/nis.x: Likewise.
33215 * nis/rpcsvc/nis_callback.h: Likewise.
33216 * nis/rpcsvc/nis_callback.x: Likewise.
33217 * nis/rpcsvc/nis_object.x: Likewise.
33218 * nis/rpcsvc/nis_tags.h: Likewise.
33219 * nis/rpcsvc/yp.h: Likewise.
33220 * nis/rpcsvc/yp.x: Likewise.
33221 * nis/rpcsvc/ypupd.h: Likewise.
33222 * nis/yp_xdr.c: Likewise.
33223 * nis/ypupdate_xdr.c: Likewise.
33225 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33226 mainly the body of pmap_getport. Add parameters to specify timeouts.
33227 (pmap_getport): Use __libc_rpc_getport.
33228 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33229 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33230 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33232 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33237 2010-08-27 Roland McGrath <roland@redhat.com>
33239 * sysdeps/i386/i686/multiarch/Makefile
33240 (CFLAGS-varshift.c): New variable.
33242 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33244 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33245 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33247 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33249 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33251 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33253 * sysdeps/x86_64/strlen.S: Unroll the loop.
33254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33255 strlen-sse2 strlen-sse2-bsf.
33256 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33257 __strlen_no_bsf if bit_Slow_BSF is set.
33258 (__strlen_sse42): Removed.
33259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33260 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33262 2010-08-25 Roland McGrath <roland@redhat.com>
33264 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33265 * sysdeps/x86_64/multiarch/varshift.c: New file.
33266 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33267 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33268 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33269 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33271 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33274 strlen-sse2 strlen-sse2-bsf.
33275 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33276 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33277 (__strlen_sse2): Removed.
33278 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33281 bit_Slow_BSF for Atom.
33282 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33283 (index_Slow_BSF): Define.
33284 (HAS_SLOW_BSF): Define.
33286 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33289 * resolv/res_init.c (__res_vinit): When no server address at all
33290 is given default to loopback.
33292 2010-08-24 Roland McGrath <roland@redhat.com>
33294 * configure.in: Remove config-name.h generation.
33295 * configure: Regenerated.
33296 * config-name.in: File removed.
33297 * scripts/config-uname.sh: New file.
33298 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33299 ($(objdir)config-name.h): New target.
33301 * sunrpc/rpc_parse.h: Avoid nested comment.
33303 2010-08-24 Richard Henderson <rth@redhat.com>
33304 Ulrich Drepper <drepper@redhat.com>
33305 H.J. Lu <hongjiu.lu@intel.com>
33307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33309 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33310 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33311 _mm_alignr_epi8 with _mm_loadu_si128.
33312 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33313 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33314 (__m128i_shift_right): Removed.
33315 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33316 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33317 * sysdeps/x86_64/multiarch/varshift.h: New file.
33318 * sysdeps/x86_64/multiarch/varshift.S: New file.
33320 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33322 * configure.in: Move assembler checks to before sysdep dir checking.
33324 2010-08-20 Petr Baudis <pasky@suse.cz>
33326 * LICENSES: Sync the sunrpc license.
33328 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33330 * sunrpc/auth_des.c: Update copyright notice once again.
33331 * sunrpc/auth_none.c: Likewise.
33332 * sunrpc/auth_unix.c: Likewise.
33333 * sunrpc/authdes_prot.c: Likewise.
33334 * sunrpc/authuxprot.c: Likewise.
33335 * sunrpc/bindrsvprt.c: Likewise.
33336 * sunrpc/clnt_gen.c: Likewise.
33337 * sunrpc/clnt_perr.c: Likewise.
33338 * sunrpc/clnt_raw.c: Likewise.
33339 * sunrpc/clnt_simp.c: Likewise.
33340 * sunrpc/clnt_tcp.c: Likewise.
33341 * sunrpc/clnt_udp.c: Likewise.
33342 * sunrpc/clnt_unix.c: Likewise.
33343 * sunrpc/des_crypt.c: Likewise.
33344 * sunrpc/des_soft.c: Likewise.
33345 * sunrpc/get_myaddr.c: Likewise.
33346 * sunrpc/getrpcport.c: Likewise.
33347 * sunrpc/key_call.c: Likewise.
33348 * sunrpc/key_prot.c: Likewise.
33349 * sunrpc/openchild.c: Likewise.
33350 * sunrpc/pm_getmaps.c: Likewise.
33351 * sunrpc/pm_getport.c: Likewise.
33352 * sunrpc/pmap_clnt.c: Likewise.
33353 * sunrpc/pmap_prot.c: Likewise.
33354 * sunrpc/pmap_prot2.c: Likewise.
33355 * sunrpc/pmap_rmt.c: Likewise.
33356 * sunrpc/rpc/auth.h: Likewise.
33357 * sunrpc/rpc/auth_unix.h: Likewise.
33358 * sunrpc/rpc/clnt.h: Likewise.
33359 * sunrpc/rpc/des_crypt.h: Likewise.
33360 * sunrpc/rpc/key_prot.h: Likewise.
33361 * sunrpc/rpc/netdb.h: Likewise.
33362 * sunrpc/rpc/pmap_clnt.h: Likewise.
33363 * sunrpc/rpc/pmap_prot.h: Likewise.
33364 * sunrpc/rpc/pmap_rmt.h: Likewise.
33365 * sunrpc/rpc/rpc.h: Likewise.
33366 * sunrpc/rpc/rpc_des.h: Likewise.
33367 * sunrpc/rpc/rpc_msg.h: Likewise.
33368 * sunrpc/rpc/svc.h: Likewise.
33369 * sunrpc/rpc/svc_auth.h: Likewise.
33370 * sunrpc/rpc/types.h: Likewise.
33371 * sunrpc/rpc/xdr.h: Likewise.
33372 * sunrpc/rpc_clntout.c: Likewise.
33373 * sunrpc/rpc_cmsg.c: Likewise.
33374 * sunrpc/rpc_common.c: Likewise.
33375 * sunrpc/rpc_cout.c: Likewise.
33376 * sunrpc/rpc_dtable.c: Likewise.
33377 * sunrpc/rpc_hout.c: Likewise.
33378 * sunrpc/rpc_main.c: Likewise.
33379 * sunrpc/rpc_parse.c: Likewise.
33380 * sunrpc/rpc_parse.h: Likewise.
33381 * sunrpc/rpc_prot.c: Likewise.
33382 * sunrpc/rpc_sample.c: Likewise.
33383 * sunrpc/rpc_scan.c: Likewise.
33384 * sunrpc/rpc_scan.h: Likewise.
33385 * sunrpc/rpc_svcout.c: Likewise.
33386 * sunrpc/rpc_tblout.c: Likewise.
33387 * sunrpc/rpc_util.c: Likewise.
33388 * sunrpc/rpc_util.h: Likewise.
33389 * sunrpc/rpcinfo.c: Likewise.
33390 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33391 * sunrpc/rpcsvc/key_prot.x: Likewise.
33392 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33393 * sunrpc/rpcsvc/mount.x: Likewise.
33394 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33395 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33396 * sunrpc/rpcsvc/rex.x: Likewise.
33397 * sunrpc/rpcsvc/rstat.x: Likewise.
33398 * sunrpc/rpcsvc/rusers.x: Likewise.
33399 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33400 * sunrpc/rpcsvc/spray.x: Likewise.
33401 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33402 * sunrpc/rtime.c: Likewise.
33403 * sunrpc/svc.c: Likewise.
33404 * sunrpc/svc_auth.c: Likewise.
33405 * sunrpc/svc_authux.c: Likewise.
33406 * sunrpc/svc_raw.c: Likewise.
33407 * sunrpc/svc_run.c: Likewise.
33408 * sunrpc/svc_simple.c: Likewise.
33409 * sunrpc/svc_tcp.c: Likewise.
33410 * sunrpc/svc_udp.c: Likewise.
33411 * sunrpc/svc_unix.c: Likewise.
33412 * sunrpc/svcauth_des.c: Likewise.
33413 * sunrpc/xcrypt.c: Likewise.
33414 * sunrpc/xdr.c: Likewise.
33415 * sunrpc/xdr_array.c: Likewise.
33416 * sunrpc/xdr_float.c: Likewise.
33417 * sunrpc/xdr_mem.c: Likewise.
33418 * sunrpc/xdr_rec.c: Likewise.
33419 * sunrpc/xdr_ref.c: Likewise.
33420 * sunrpc/xdr_sizeof.c: Likewise.
33421 * sunrpc/xdr_stdio.c: Likewise.
33423 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33426 2010-08-19 Andreas Schwab <schwab@redhat.com>
33428 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33430 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33432 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33433 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33434 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33435 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33436 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33437 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33438 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33439 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33440 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33441 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33442 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33443 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33444 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33445 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33447 2010-07-26 Anton Blanchard <anton@samba.org>
33449 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33450 * malloc/arena.c (heap_trim): Likewise.
33452 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33454 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33456 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33457 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33459 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33461 * sysdeps/i386/elf/Makefile: New file.
33463 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33465 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33466 from fanotify_init.
33467 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33470 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33472 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33474 * sysdeps/multiarch/strcmp.S: Likewise.
33476 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33478 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33479 strncase_l-nonascii.
33480 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33481 Add strncase_l-ssse3.
33482 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33483 * sysdeps/x86_64/strcmp.S: Likewise.
33484 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33485 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33486 * sysdeps/x86_64/strncase.S: New file.
33487 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33488 * sysdeps/x86_64/strncase_l.S: New file.
33489 * string/Makefile (strop-tests): Add strncasecmp.
33490 * string/test-strncasecmp.c: New file.
33492 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33495 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33496 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33498 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33500 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33502 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33504 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33505 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33506 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33508 2010-05-01 Alan Modra <amodra@gmail.com>
33510 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33511 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33512 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33513 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33514 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33515 tidying. Don't tail-call __sigjmp_save for static lib.
33516 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33518 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33519 (CALL_MCOUNT): Add eh info, and nop after bl.
33520 (TAIL_CALL_SYSCALL_ERROR): New macro.
33521 (PSEUDO_RET): Use it.
33522 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33523 Correct save location of integer regs and cr.
33524 (_dl_profile_resolve): Correct cr save location. Delete nops
33525 after bl when SHARED. Reduce cfi size a little by better
33526 placement of cfi directives.
33527 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33528 make a stack frame. Instead use parm save area as a temp.
33529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33530 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33532 Don't make a stack frame for parent, use parm save area.
33533 Increase child stack frame to 112 bytes. Don't save unused reg,
33534 and adjust reg usage. Set up cfi on error recovery and
33535 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33537 (__makecontext): Add dummy nop after jump to exit.
33538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33539 Use correct parm save area and cr save, reduce stack frame.
33540 Correct cfi for possible PSEUDO_RET frame setup.
33541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33542 Branch to local label emitted by PSEUDO_RET rather than
33545 2010-08-12 Andreas Schwab <schwab@redhat.com>
33548 * locale/programs/locale.c (print_assignment): New function.
33549 (show_locale_vars): Use it.
33551 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33553 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33555 (struct statfs64): Likewise.
33556 (_STATFS_F_FLAGS): Define.
33557 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33559 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33560 (ST_VALID): Define locally.
33561 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33562 __statvfs_getflags, use the provided value.
33563 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33564 __ASSUME_STATFS_F_FLAGS.
33566 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33568 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33569 Add sys/fanotify.h.
33570 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33571 fanotify_mask for GLIBC_2.13.
33572 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33573 fanotify_init and fanotify_mark.
33574 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33575 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33577 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33579 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33580 prlimit64 for GLIBC_2.13.
33581 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33587 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33588 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33591 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33594 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33595 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33597 * nss/Makefile: Add rules to build and run tst-nss-test1.
33598 * shlib-versions: Add entry for libnss_test1.
33599 * nss/nss_test1.c: New file.
33600 * nss/tst-nss-test1.c: New file.
33602 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33603 (__nss_configure_lookup): Set appropriate entry in
33604 __nss_configure_lookup to true.
33605 * nss/nsswitch.h: Define enum with indeces of databases in
33606 databases and __nss_database_custom arrays. Declare
33607 __nss_database_custom.
33608 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33609 to avoid using nscd when custom rules are installed.
33610 * nss/getXXbyYY_r.c: Likewise.
33611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33613 * nss/nss_files/files-parse.c: Whitespace fixes.
33615 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33618 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33619 * posix/fnmatch_loop.c: Likewise.
33621 2010-07-17 Andi Kleen <ak@linux.intel.com>
33623 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33624 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33625 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33626 * Versions.def [GLIBC_2.13]: Add.
33628 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33630 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33631 Also fail if tpwd after pwuid call is NULL.
33633 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33635 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33636 when converting to ms.
33638 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33640 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33641 EOPNOTSUPP errors with ENOTTY.
33642 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33643 EOPNOTSUPP errors with ENOTTY.
33645 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33647 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33648 Add strcasecmp_l-ssse3.
33649 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33651 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33652 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33653 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33655 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33657 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33659 * string/Makefile (strop-tests): Add strcasecmp.
33660 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33661 strcasecmp_l-nonascii.
33662 (gen-as-const-headers): Add locale-defines.sym.
33663 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33664 * sysdeps/x86_64/strcasecmp.S: New file.
33665 * sysdeps/x86_64/strcasecmp_l.S: New file.
33666 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33667 * sysdeps/x86_64/locale-defines.sym: New file.
33668 * string/test-strcasecmp.c: New file.
33670 * string/test-strcasestr.c: Test both ends of the range of characters.
33671 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33673 2010-07-29 Roland McGrath <roland@redhat.com>
33676 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33678 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33680 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33683 2010-07-27 Andreas Schwab <schwab@redhat.com>
33685 * manual/memory.texi (Malloc Tunable Parameters): Document
33688 2010-07-26 Roland McGrath <roland@redhat.com>
33691 * configure.in (-fgnu89-inline check): Set and substitute
33692 gnu89_inline, not libc_cv_gnu89_inline.
33693 * configure: Regenerated.
33694 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33696 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33698 * string/test-strnlen.c: New file.
33699 * string/Makefile (strop-tests): Add strnlen.
33700 * string/tester.c (test_strnlen): Add a few more test cases.
33701 * string/tst-strlen.c: Better error reporting.
33703 * sysdeps/x86_64/strnlen.S: New file.
33705 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33707 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33708 lower-latency instructions.
33710 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33712 * string/test-strcasestr.c: New file.
33713 * string/test-strstr.c: New file.
33714 * string/Makefile (strop-tests): Add strstr and strcasestr.
33715 * string/str-two-way.h: Don't undefine MAX.
33716 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33718 2010-07-21 Andreas Schwab <schwab@redhat.com>
33720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33721 strcasestr-nonascii.
33722 (CFLAGS-strcasestr-nonascii.c): Define.
33723 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33724 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33725 Remove unused attribute.
33727 2010-07-20 Roland McGrath <roland@redhat.com>
33729 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33730 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33731 ld.so.cache was broken. With it, there is no way to disable dsocaps
33732 like LD_HWCAP_MASK can disable hwcaps.
33734 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33736 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33738 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33740 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33741 call in strcasestr.
33742 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33743 __strcasestr_sse42_nonascii.
33744 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33745 strcasestr-nonascii.c.
33746 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33748 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33750 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33751 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33752 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33753 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33755 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33757 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33760 2010-07-06 Andreas Schwab <schwab@redhat.com>
33763 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33766 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33769 _PC_PIPE_BUF using F_GETPIPE_SZ.
33771 2010-07-05 Roland McGrath <roland@redhat.com>
33773 * manual/arith.texi (Rounding Functions): Fix rint description
33774 implicit in round description.
33776 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33778 * elf/Makefile: Fix linking for a few tests to make recent linker
33781 2010-06-30 Andreas Schwab <schwab@redhat.com>
33783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33784 $(common-objpfx)libc_nonshared.a.
33786 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33788 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33789 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33790 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33791 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33792 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33793 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33794 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33795 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33810 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33811 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33812 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33813 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33814 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33815 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33816 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33817 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33818 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33819 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33820 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33821 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33837 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33839 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33840 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33841 * string/memmove.c (memmove): Renamed to ...
33842 (MEMMOVE): ...this. Default to memmove.
33843 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33844 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33847 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33848 mempcpy-ssse3-back memmove-ssse3-back.
33849 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33850 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33851 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33852 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33853 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33854 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33855 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33856 * sysdeps/x86_64/multiarch/memmove.c: New file.
33857 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33858 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33859 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33860 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33861 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33864 (index_Fast_Copy_Backward): Define.
33865 (HAS_ARCH_FEATURE): Define.
33866 (HAS_FAST_REP_STRING): Define.
33867 (HAS_FAST_COPY_BACKWARD): Define.
33869 2010-06-21 Andreas Schwab <schwab@redhat.com>
33871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33872 Restore proper fallback handling.
33874 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33877 * posix/group_member.c (__group_member): Correct checking loop.
33879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33880 OOM in getpwuid_r correctly. Return error number when the caller
33881 should return, otherwise -1.
33882 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33883 call returning > 0 value.
33884 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33886 2010-06-07 Andreas Schwab <schwab@redhat.com>
33888 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33889 libc_nonshared.a from targets in modules-names.
33891 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33893 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33896 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33898 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33899 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33900 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33901 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33903 2010-06-02 Andreas Schwab <schwab@redhat.com>
33905 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33907 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33909 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33911 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33915 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33918 2010-06-14 Roland McGrath <roland@redhat.com>
33920 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33922 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33924 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33925 __REDIRECT followed by __THROW.
33926 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33927 * posix/getopt.h (getopt): Likewise.
33929 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33931 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33932 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33933 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33935 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33936 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33938 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33942 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33946 Properly check family and model.
33948 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33950 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33952 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33954 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33956 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33958 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33961 2010-05-19 Andreas Schwab <schwab@redhat.com>
33963 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33966 2010-05-21 Andreas Schwab <schwab@redhat.com>
33968 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33969 and internal_recvmmsg.
33970 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33971 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33972 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33973 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33975 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33976 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33977 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33979 2010-05-20 Andreas Schwab <schwab@redhat.com>
33981 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33983 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33985 POWER7 optimizations.
33986 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33987 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33989 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33991 * version.h: Update for 2.13 development version.
33993 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33995 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33996 exceptions. Return 0.
33998 2010-05-07 Roland McGrath <roland@redhat.com>
34000 * elf/ldconfig.c (main): Add a const.
34002 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34004 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34005 (args_options): Add no-idn option.
34006 (ahosts_keys_int): Add idn_flags to ai_flags.
34007 (parse_option): Handle 'i' option to clear idn_flags.
34009 * malloc/malloc.c (_int_free): Possible race in the most recently
34010 added check. Only act on the data if no current modification
34013 See ChangeLog.17 for earlier changes.