1 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5 * sysdeps/generic/math_private.h (__mpsin1): Remove
8 (__mpsin): New argument __range_reduce.
10 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11 (slow): Use __mpsin and __mpcos.
24 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25 range_reduce. Merge in __mpsin1.
30 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32 * locale/loadlocale.c (_nl_intern_locale_data): Use
34 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37 obstack data is appropriately aligned.
38 (obstack_int32_grow_fast): Likewise.
39 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40 * locale/programs/locfile.c (add_locale_uint32): Likewise.
41 (add_locale_uint32_array): Likewise.
43 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45 * benchtests/Makefile: Remove ARGLIST and RET variables.
46 ($(objpfx)bench-%.c): Pass only function name to the script.
47 * benchtests/README: Update documentation.
48 * benchtests/acos-inputs: Add new directives.
49 * benchtests/acosh-inputs: Likewise.
50 * benchtests/asin-inputs: Likewise.
51 * benchtests/asinh-inputs: Likewise.
52 * benchtests/atan-inputs: Likewise.
53 * benchtests/atanh-inputs: Likewise.
54 * benchtests/cos-inputs: Likewise.
55 * benchtests/cosh-inputs: Likewise.
56 * benchtests/exp-inputs: Likewise.
57 * benchtests/log-inputs: Likewise.
58 * benchtests/pow-inputs: Likewise.
59 * benchtests/rint-inputs: Likewise.
60 * benchtests/sin-inputs: Likewise.
61 * benchtests/sinh-inputs: Likewise.
62 * benchtests/tan-inputs: Likewise.
63 * benchtests/tanh-inputs: Likewise.
64 * scripts/bench.pl: Add support for new directives.
66 2013-10-07 Alan Modra <amodra@gmail.com>
68 * README: Fix careless merge.
70 2013-10-05 Alan Modra <amodra@gmail.com>
72 * NEWS: Mention powerpc64le support and bugs fixed.
73 * README: Both big-endian and little-endian powerpc64 supported.
75 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
77 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
78 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
79 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
80 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
82 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
84 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
87 2013-10-04 Joseph Myers <joseph@codesourcery.com>
89 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
90 Move -mhard-float appending from
91 ports/sysdeps/powerpc/powerpc32/Makefile.
92 [$(with-fp) = yes] (ASFLAGS): Likewise.
93 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
94 * sysdeps/powerpc/nofpu: Move directory from
95 ports/sysdeps/powerpc/nofpu.
96 * sysdeps/powerpc/soft-fp: Move directory from
97 ports/sysdeps/powerpc/soft-fp.
98 * sysdeps/powerpc/powerpc32/405: Move directory from
99 ports/sysdeps/powerpc/powerpc32/405.
100 * sysdeps/powerpc/powerpc32/440: Move directory from
101 ports/sysdeps/powerpc/powerpc32/440.
102 * sysdeps/powerpc/powerpc32/464: Move directory from
103 ports/sysdeps/powerpc/powerpc32/464.
104 * sysdeps/powerpc/powerpc32/476: Move directory from
105 ports/sysdeps/powerpc/powerpc32/476.
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
107 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
109 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
111 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
113 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
115 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
116 * README: Update for powerpc-*-linux-gnu software floating point
119 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
120 case to powerpc/powerpc32*.
121 * sysdeps/unix/sysv/linux/configure: Regenerated.
123 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
124 (_FPU_MASK_OM): Define as 0x04.
125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
133 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
136 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
139 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
142 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
144 * locale/iso-3166.def: Update iso-1366.def and related occurrences
146 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
148 * manual/threads.texi (Default Thread Attributes): Fix typo.
150 2013-10-04 Will Newton <will.newton@linaro.org>
152 * malloc/Makefile: Add tst-memalign.
153 * malloc/tst-memalign.c: New file.
155 * malloc/tst-posix_memalign.c: Add comments.
156 (do_test): Add comments and call free on all potentially
157 allocated pointers. Add space after cast.
159 * malloc/tst-pvalloc.c: Add comments.
160 (do_test): Add comments and call free on all potentially
161 allocated pointers. Remove duplicate check for NULL pointer.
162 Add space after cast.
164 * malloc/tst-valloc.c: Add comments.
165 (do_test): Add comments and call free on all potentially
166 allocated pointers. Remove duplicate check for NULL pointer.
167 Add space after cast.
169 2013-10-04 Alan Modra <amodra@gmail.com>
171 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
172 Use stdint types in rather than __attribute__((mode())).
173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
175 2013-10-04 Alan Modra <amodra@gmail.com>
177 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
178 Correct handling of unaligned relocs for little-endian.
179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
181 2013-10-04 Alan Modra <amodra@gmail.com>
183 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
184 * configure: Regenerate.
185 * nptl/shlib-versions: Powerpc*le starts at 2.18.
186 * shlib-versions: Likewise.
188 2013-10-04 Alan Modra <amodra@gmail.com>
190 * string/tester.c (test_memrchr): Increment reported test cycle.
192 2013-10-04 Alan Modra <amodra@gmail.com>
194 * string/test-memcpy.c (do_one_test): When reporting errors, print
195 string address and don't overrun end of string.
197 2013-10-04 Alan Modra <amodra@gmail.com>
199 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
200 insrdi. Make better use of reg selection to speed exit slightly.
201 Schedule entry path a little better. Remove useless "are we done"
202 checks on entry to main loop. Handle wrapping around zero address.
203 Correct main loop count. Handle single left-over word from main
204 loop inline rather than by using loop_small. Remove extra word
205 case in loop_small caused by wrong loop count. Add little-endian
207 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
208 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
211 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
212 support. Avoid rlwimi.
213 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
215 2013-10-04 Alan Modra <amodra@gmail.com>
217 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
219 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
220 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
221 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
222 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
223 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
224 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
226 2013-10-04 Alan Modra <amodra@gmail.com>
228 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
229 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
231 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
232 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
233 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
234 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
235 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
236 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
237 use of regs. Use power7 mtocrf. Tidy function tails.
239 2013-10-04 Alan Modra <amodra@gmail.com>
241 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
242 Formatting. Consistently use rXXX register defines or rN defines.
243 Use early exit labels that avoid restoring unused non-volatile regs.
244 Make cr field use more consistent with rWORDn compares. Rename
245 regs used as shift registers for unaligned loop, using rN defines
246 for short lifetime/multiple use regs.
247 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
248 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
249 addi 1,1,64 to pop stack frame. Simplify return value code.
250 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
252 2013-10-04 Alan Modra <amodra@gmail.com>
254 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
255 support. Correct typos, formatting. Optimize tail. Use insrdi
257 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
258 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
259 little-endian support. Correct typos.
260 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
262 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
263 in loop and entry code to keep "and." results.
264 (strchr): Add little-endian support. Comment. Move cntlzd
266 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
268 2013-10-04 Alan Modra <amodra@gmail.com>
270 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
271 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
272 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
273 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
275 2013-10-04 Alan Modra <amodra@gmail.com>
277 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
278 (rTMP): Define as r11.
279 (strcmp): Add little-endian support. Optimise tail.
280 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
281 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
282 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
283 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
284 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
286 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
288 2013-10-04 Alan Modra <amodra@gmail.com>
290 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
291 little-endian support. Remove unnecessary "are we done" tests.
292 Handle "s" wrapping around zero and extremely large "size".
293 Correct main loop count. Handle single left-over word from main
294 loop inline rather than by using small_loop. Correct comments.
295 Delete "zero" tail, use "end_max" instead.
296 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
298 2013-10-04 Alan Modra <amodra@gmail.com>
300 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
301 support. Don't branch over align.
302 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
303 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
304 support. Rearrange tmp reg use to suit. Comment.
305 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
307 2013-10-04 Alan Modra <amodra@gmail.com>
309 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
311 2013-10-04 Alan Modra <amodra@gmail.com>
313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
314 conditional form of branch and link when obtaining pc.
315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
317 2013-10-04 Alan Modra <amodra@gmail.com>
319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
324 2013-10-04 Alan Modra <amodra@gmail.com>
326 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
327 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
328 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
329 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
330 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
331 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
332 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
333 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
334 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
335 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
337 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
338 Alistair Popple <alistair@ozlabs.au.ibm.com>
339 Alan Modra <amodra@gmail.com>
342 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
343 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
344 _dl_hwcap access for little-endian.
345 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
346 destroy vmx regs when saving unaligned.
347 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
348 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
349 destroy vmx regs when saving unaligned.
351 2013-10-04 Alan Modra <amodra@gmail.com>
353 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
354 Don't use a union to pack hi/low value.
356 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
358 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
360 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
361 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
362 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
363 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
364 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
366 2013-10-04 Alan Modra <amodra@gmail.com>
368 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
369 constants to usual value for .cst8 section, and remove redundant
371 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
372 constant for 0x1p52. Load little-endian words of double from
373 correct stack offsets.
375 2013-10-04 Alan Modra <amodra@gmail.com>
377 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
378 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
379 words of double from correct stack offsets.
380 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
381 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
382 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
383 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
384 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
386 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
387 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
388 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
389 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
390 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
391 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
392 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
393 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
394 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
395 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
396 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
398 2013-10-04 Alan Modra <amodra@gmail.com>
400 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
401 64-bit int/double union.
402 (_FPU_SETCW): Likewise.
403 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
404 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
406 2013-10-04 Alan Modra <amodra@gmail.com>
408 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
409 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
411 2013-10-04 Alan Modra <amodra@gmail.com>
413 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
414 use vector int constants.
415 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
417 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
419 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
420 array with long long.
421 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
422 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
423 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
424 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
425 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
426 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
427 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
428 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
429 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
430 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
431 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
432 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
433 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
435 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
437 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
438 (__signbit): Likewise. Correct for little-endian.
439 (__signbitl): Call __signbit.
440 (lrint): Correct for little-endian.
441 (lrintf): Call lrint.
443 2013-10-04 Alan Modra <amodra@gmail.com>
445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
446 union 32-bit int array member with 64-bit int array.
447 (t515, tm256): Double rather than long double.
448 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
450 2013-10-04 Alan Modra <amodra@gmail.com>
452 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
454 (IEEE854_LONG_DOUBLE_BIAS): Delete.
455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
456 version of math_ldbl.h.
458 2013-10-04 Alan Modra <amodra@gmail.com>
460 [BZ #15734], [BZ #15735]
461 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
462 all uses of ieee875 long double macros and unions. Simplify test
463 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
464 ldbl_extract_mantissa value for ix,iy exponents. Properly
465 normalize after ldbl_extract_mantissa, and don't add hidden bit
466 already handled. Don't treat low word of ieee854 mantissa like
467 low word of IBM long double and mask off bit when testing for
469 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
470 all uses of ieee875 long double macros and unions. Simplify tests
471 for 0.0L and inf. Correct double adjustment of k. Delete dead code
472 adjusting ha,hb. Simplify code setting kld. Delete two600 and
473 two1022, instead use their values. Recognise that tests for large
474 "a" and small "b" are mutually exclusive. Rename vars. Comment.
475 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
476 Rewrite all uses of ieee875 long double macros and unions. Simplify
477 test for 0.0L and nan. Correct negation.
478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
479 ieee875 long double macros and unions. Correct output for large
480 magnitude x. Correct absolute value calculation.
482 * math/libm-test.inc: Add tests for errors discovered in IBM long
483 double versions of fmodl, remainderl, erfl and erfcl.
485 2013-10-04 Alan Modra <amodra@gmail.com>
487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
488 all uses of ieee854 long double macros and unions. Simplify tests
489 for long doubles that are fully specified by the high double.
490 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
492 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
493 Remove dead code too.
494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
495 (__ieee754_ynl): Likewise.
496 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
497 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
498 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
499 Remove dead code too.
500 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
502 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
503 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
505 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
507 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
508 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
509 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
510 Comment on variable precision.
511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
512 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
514 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
515 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
516 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
517 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
518 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
520 2013-10-04 Alan Modra <amodra@gmail.com>
522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
523 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
524 all uses of ieee854 long double macros and unions.
525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
527 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
528 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
529 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
532 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
534 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
535 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
536 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
537 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
538 Simplify sign and nan test too.
539 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
540 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
541 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
542 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
544 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
545 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
548 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
549 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
550 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
551 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
554 2013-10-04 Alan Modra <amodra@gmail.com>
556 * stdio-common/printf_size.c (__printf_size): Don't use
557 union ieee854_long_double in fpnum union.
558 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
559 signbit macro to retrieve sign from long double.
560 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
561 retrieve sign from long double.
562 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
563 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
564 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
565 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
566 * math/test-misc.c (main): Don't use union ieee854_long_double.
568 2013-10-04 Alan Modra <amodra@gmail.com>
571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
572 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
573 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
574 calculation. Remove unnecessary test for denormal exponent.
575 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
576 Correct handling of denormals. Avoid undefined shift behaviour.
577 Correct normalisation of low mantissa when low double is denormal.
578 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
579 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
580 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
581 Correct normalisation of low mantissa. Test for overflow of high
582 mantissa and normalise.
583 (ldbl_nearbyint): Use more readable constant for two52.
584 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
585 (__mpn_construct_long_double): Fix test for overflow of high
586 mantissa and correct normalisation. Avoid undefined shift.
588 2013-10-04 Alan Modra <amodra@gmail.com>
590 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
591 (union ibm_extended_long_double): Define as an array of ieee754_double.
592 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
593 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
594 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
595 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
597 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
598 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
599 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
601 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
602 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
604 2013-10-03 Joseph Myers <joseph@codesourcery.com>
606 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
607 page size instead of calling getpagesize.
609 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
610 (LOCFILE_ALIGN_MASK): Likewise.
611 (LOCFILE_ALIGN_UP): Likewise.
612 (LOCFILE_ALIGNED_P): Likewise.
613 * locale/programs/ld-collate.c (collate_output): Use the new
614 macros instead of __alignof__ (int32_t).
615 * locale/weight.h (findidx): Likewise.
617 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
620 * manual/string.texi: Fix strncat and wcsncat.
622 2013-10-03 Brooks Moses <bmoses@google.com>
625 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
626 * Makerules: ...here, and adjust associated comments.
628 2013-10-02 Will Newton <will.newton@linaro.org>
630 * malloc/Makefile: Add tst-pvalloc.
631 * malloc/tst-pvalloc.c: New file.
633 2013-10-02 Will Newton <will.newton@linaro.org>
635 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
636 improve test coverage.
638 2013-10-02 Will Newton <will.newton@linaro.org>
640 * malloc/Makefile: Add tst-posix_memalign.
641 * malloc/tst-posix_memalign.c: New file.
643 2013-10-01 Eric Blake <eblake@redhat.com>
645 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
646 Use __THROWNL rather than __THROW on static functions.
648 2013-09-30 Petr Machata <pmachata@redhat.com>
650 * elf/elf.h (R_AARCH64_ABS16): New macro.
651 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
652 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
653 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
654 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
655 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
656 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
657 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
658 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
659 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
660 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
661 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
662 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
663 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
664 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
665 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
666 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
667 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
668 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
669 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
670 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
671 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
672 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
673 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
674 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
675 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
676 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
677 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
678 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
679 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
680 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
681 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
682 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
683 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
684 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
685 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
686 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
687 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
688 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
689 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
690 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
691 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
692 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
693 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
694 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
695 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
696 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
697 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
698 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
699 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
700 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
701 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
702 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
703 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
704 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
705 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
706 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
707 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
708 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
709 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
710 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
711 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
712 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
713 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
714 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
715 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
716 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
717 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
718 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
719 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
720 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
721 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
722 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
723 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
724 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
725 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
726 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
727 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
728 (R_AARCH64_TLSDESC_LDR): Likewise.
729 (R_AARCH64_TLSDESC_ADD): Likewise.
730 (R_AARCH64_TLSDESC_CALL): Likewise.
732 2013-09-30 Andreas Schwab <schwab@suse.de>
735 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
736 the nss database lookup.
737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
740 2013-09-28 Mike Frysinger <vapier@gentoo.org>
742 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
744 2013-09-28 P. J. McDermott <pj@pehjota.net>
746 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
747 ${Bash-specific parameter/pattern/string} parameter expansion.
748 * sysdeps/unix/make-syscalls.sh: Likewise.
750 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
752 * sysdeps/sh/stackguard-macros.h: New file.
754 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
758 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
759 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
760 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
761 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
763 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
766 Fix thread ID register.
768 2013-09-25 Joseph Myers <joseph@codesourcery.com>
770 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
771 [POSIX || UNIX98]: Require rather than permitting all symbols from
773 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
774 element of struct sched_param.
775 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
776 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
777 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
778 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
781 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
783 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
784 argument calculation.
786 2013-09-24 Joseph Myers <joseph@codesourcery.com>
788 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
790 [POSIX] (pthread_attr_t): Do not require type.
791 [POSIX] (pthread_cond_t): Likewise.
792 [POSIX] (pthread_condattr_t): Likewise.
793 [POSIX] (pthread_key_t): Likewise.
794 [POSIX] (pthread_mutex_t): Likewise.
795 [POSIX] (pthread_mutexattr_t): Likewise.
796 [POSIX] (pthread_once_t): Likewise.
797 [POSIX] (pthread_t): Likewise.
798 [POSIX-based standards] (pthread_atfork): Expect function.
800 2013-09-24 Joseph Myers <joseph@codesourcery.com>
801 Richard Sandiford <richard@codesourcery.com>
803 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
804 (swap_endianness_p): New extern variable.
805 (set_big_endian): New inline function.
806 (maybe_swap_uint32): Likewise.
807 (maybe_swap_uint32_array): Likewise.
808 (maybe_swap_uint32_obstack): Likewise.
809 * locale/programs/locfile.c: Include <stdbool.h>.
810 (swap_endianness_p): New variable.
811 (add_locale_uint32): Call maybe_swap_uint32.
812 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
813 (write_locale_data): Call maybe_swap_uint32_array.
814 * locale/programs/ld-collate.c (obstack_int32_grow): Call
816 (obstack_int32_grow_fast): Likewise.
817 (output_weightwc): Call maybe_swap_uint32_obstack.
818 (collate_output): Likewise.
819 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
820 (OPT_LITTLE_ENDIAN): Likewise.
821 (options): Add --little-endian and --big-endian options.
822 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
823 * locale/programs/locarchive.c: Include "locfile.h".
827 (create_archive): Use the new macros to access fields of
828 structures directly mapped from or written to locale archives.
829 (oldlocrecentcmp): Likewise.
830 (enlarge_archive): Likewise.
831 (insert_name): Likewise.
832 (add_alias): Likewise.
833 (add_locale): Likewise.
834 (delete_locales_from_archive): Likewise.
835 (show_archive_content): Likewise.
836 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
839 2013-09-24 Roland McGrath <roland@hack.frob.com>
841 * manual/freemanuals.texi: Updated from (newly) canonical copy at
842 http://www.gnu.org/doc/freemanuals.texi.
843 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
845 2013-09-24 Will Newton <will.newton@linaro.org>
847 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
850 2013-09-23 Joseph Myers <joseph@codesourcery.com>
852 * locale/hashval.h (compute_hashval): Interpret bytes of key as
855 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
857 * manual/threads.texi (POSIX Threads): Fix a typo.
859 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
862 * string/tst-strcoll-overflow.c: New test case.
863 * string/Makefile (xtests): Add tst-strcoll-overflow.
864 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
865 cache if string sizes may cause integer overflow.
868 * string/strcoll_l.c (coll_seq): New members rule, idx,
869 save_idx and back_us.
870 (get_next_seq_nocache): New function.
871 (do_compare_nocache): New function.
872 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
875 2013-09-23 Carlos O'Donell <carlos@redhat.com>
878 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
879 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
880 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
883 * elf/Makefile (tests): Add tst-ptrguard1.
884 (tests-static): Add tst-ptrguard1-static.
885 (tst-ptrguard1-ARGS): Define.
886 (tst-ptrguard1-static-ARGS): Define.
887 * elf/tst-ptrguard1.c: New file.
888 * elf/tst-ptrguard1-static.c: New file.
889 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
890 * sysdeps/i386/stackguard-macros.h: Likewise.
891 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
892 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
893 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
894 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
895 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
896 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
898 2013-09-23 Hector Marco <hecmargi@upv.es>
899 Ismael Ripoll <iripoll@disca.upv.es>
900 Carlos O'Donell <carlos@redhat.com>
903 * sysdeps/generic/stackguard-macros.h: Define
904 __pointer_chk_guard_local and POINTER_CHK_GUARD.
905 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
906 Define __pointer_chk_guard_local.
907 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
908 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
910 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
913 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
915 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
917 * include/string.h (__ffs): Declare as hidden.
918 * string/ffs.c (__ffs): Define as hidden.
919 * sysdeps/i386/ffs.c (__ffs): Likewise.
920 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
921 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
922 * sysdeps/s390/ffs.c (__ffs): Likewise.
923 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
925 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
927 * NEWS: Mention malloc probes.
929 * malloc/arena.c (new_heap): New memory_heap_new probe.
930 (grow_heap): New memory_heap_more probe.
931 (shrink_heap): New memory_heap_less probe.
932 (heap_trim): New memory_heap_free probe.
933 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
934 (systrim): New memory_sbrk_less probe.
935 * manual/probes.texi: Document them.
937 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
938 * manual/probes.texi: Document it.
940 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
941 (__libc_realloc): Add memory_realloc_retry probe.
942 (__libc_memalign): Add memory_memalign_retry probe.
943 (__libc_valloc): Add memory_valloc_retry probe.
944 (__libc_pvalloc): Add memory_pvalloc_retry probe.
945 (__libc_calloc): Add memory_calloc_retry probe.
946 * manual/probes.texi: Document them.
948 * malloc/arena.c (get_free_list): Add probe
949 memory_arena_reuse_free_list.
950 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
951 and memory_arena_reuse.
952 (arena_get2) [!PER_THREAD]: Likewise.
953 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
954 memory_arena_reuse_realloc.
955 * manual/probes.texi: Document them.
957 * malloc/malloc.c (__libc_free): Add
958 memory_mallopt_free_dyn_thresholds probe.
959 (__libc_mallopt): Add multiple memory_mallopt probes.
960 * manual/probes.texi: Document them.
962 * malloc/malloc.c: Include stap-probe.h.
963 (__libc_mallopt): Add memory_mallopt probe.
964 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
965 * manual/probes.texi: New.
966 * manual/Makefile (chapters): Add probes.
967 * manual/threads.texi: Set next node.
969 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
972 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
973 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
974 Add `Chinese' to `nan' entry name.
976 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
978 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
979 (POLYNOMIAL): Likewise.
980 (TAYLOR_SINCOS): Likewise.
981 (TAYLOR_SLOW): Likewise.
982 (__sin): Use TAYLOR_SINCOS.
984 (slow): Use TAYLOR_SLOW.
989 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
991 * stdlib/strtod_l.c: Fix buffer overrun.
993 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
995 * benchtests/Makefile (bench): Add sincos.
996 * benchtests/bench-sincos.c: New file.
998 * math/libm-test.inc (cos_test_data): New test inputs.
999 (sin_test_data): Likewise.
1001 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1009 (bsloww1): Likewise.
1010 (bsloww2): Likewise.
1012 (csloww1): Likewise.
1013 (csloww2): Likewise.
1015 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1024 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1026 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1027 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1028 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1029 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1030 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1031 * elf/cache.c (print_entry): Handle the new cache flags.
1033 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1034 Aldy Hernandez <aldyh@redhat.com>
1036 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1037 Change condition to [_SOFT_FLOAT].
1038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1050 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1053 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1056 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1058 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1059 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1060 (__longjmp): Use LOAD_GP to load saved GPRs.
1061 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1062 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1063 (__sigsetjmp): Use SAVE_GP to save GPRs.
1065 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1066 Do not append -msoft-float.
1067 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1069 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1071 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1073 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1076 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1077 (_FPU_GETCW): Use initial "__" on variable and field names but not
1078 on macro parameter name.
1079 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1080 parentheses around reference to macro parameter.
1082 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1084 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1086 (ctype_startup): Use uint32_t in cast and sizeof for
1089 2013-09-11 Jia Liu <proljc@gmail.com>
1091 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1093 [__FreeBSD__]: Likewise.
1095 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1098 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1099 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1100 (strchr): Remove __strchr_sse42 ifunc selection.
1101 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1102 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1104 2013-09-11 Will Newton <will.newton@linaro.org>
1106 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1107 parameter to RES. Remove hardcoded 1000 value.
1108 * benchtests/bench-skeleton.c (main): Pass RES parameter
1109 to TIMING_INIT and multiply result by 1000.
1111 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1115 2013-09-11 Andreas Schwab <schwab@suse.de>
1117 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1119 (O_TMPFILE) [__USE_GNU]: Define.
1120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1123 2013-09-11 Will Newton <will.newton@linaro.org>
1126 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1129 2013-09-11 Will Newton <will.newton@linaro.org>
1132 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1135 2013-09-11 Will Newton <will.newton@linaro.org>
1138 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1141 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1143 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1144 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1145 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1146 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1149 2013-09-10 Allan McRae <allan@archlinux.org>
1152 * manual/arith.texi (Parsing of Floats): Clarify
1156 * manual/install.texi (Running make install): Mention
1158 * INSTALL: Regenerated.
1160 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1162 * csu/init-first.c (_init): Remove the !SHARED condition around
1163 FPU control word initialization.
1164 * elf/dl-support.c (_dl_fpu_control): New variable.
1165 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1166 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1167 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1168 * math/test-fpucw-static.c: New file.
1169 * math/test-fpucw-ieee.c: New file.
1170 * math/test-fpucw-ieee-static.c: New file.
1171 * math/Makefile (tests): Add `test-fpucw-ieee' and
1173 (tests-static): New variable.
1174 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1176 [($(build-shared),yes)]
1177 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1179 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1182 2013-09-09 Allan McRae <allan@archlinux.org>
1185 * manual/string.texi (Collation Functions): Fix typo in
1187 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1190 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1193 * libio/memstream.c (open_memstream): Fix memory leak.
1194 * libio/wmemstream.c (open_wmemstream): Likewise.
1197 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1199 2013-09-09 Will Newton <will.newton@linaro.org>
1201 * malloc/Makefile: Add tst-realloc to tests.
1202 * malloc/tst-realloc.c: New file.
1204 2013-09-09 Allan McRae <allan@archlinux.org>
1207 * COPYING: Update from GNU website to fix FSF address.
1208 * COPYING.LIB: Likewise.
1210 2013-09-06 David S. Miller <davem@davemloft.net>
1212 * po/zh_TW.po: Update Chinese (traditional) translation from
1213 translation project.
1215 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1216 Joseph Myers <joseph@codesourcery.com>
1218 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1220 (obstack_chunk_alloc): New macro.
1221 (obstack_chunk_free): Likewise.
1222 (record_offset): New function.
1223 (init_locale_data): Likewise.
1224 (align_locale_data): Likewise.
1225 (add_locale_empty): Likewise.
1226 (add_locale_raw_data): Likewise.
1227 (add_locale_raw_obstack): Likewise.
1228 (add_locale_string): Likewise.
1229 (add_locale_wstring): Likewise.
1230 (add_locale_uint32): Likewise.
1231 (add_locale_uint32_array): Likewise.
1232 (add_locale_char): Likewise.
1233 (start_locale_structure): Likewise.
1234 (end_locale_structure): Likewise.
1235 (start_locale_prelude): Likewise.
1236 (end_locale_prelude): Likewise.
1237 (write_locale_data): Take locale_file structure rather than an
1239 * locale/programs/locfile.h: Include "obstack.h".
1240 (struct locale_file): Change to store locale file contents instead
1242 (init_locale_data): New prototype.
1243 (align_locale_data): Likewise.
1244 (add_locale_empty): Likewise.
1245 (add_locale_raw_data): Likewise.
1246 (add_locale_raw_obstack): Likewise.
1247 (add_locale_string): Likewise.
1248 (add_locale_wstring): Likewise.
1249 (add_locale_uint32): Likewise.
1250 (add_locale_uint32_array): Likewise.
1251 (add_locale_char): Likewise.
1252 (start_locale_structure): Likewise.
1253 (end_locale_structure): Likewise.
1254 (start_locale_prelude): Likewise.
1255 (end_locale_prelude): Likewise.
1256 (write_locale_data): Update prototype.
1257 * locale/programs/3level.h (struct TABLE): Remove result field.
1258 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1259 Use new locale_file interface.
1260 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1261 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1262 * locale/programs/ld-address.c (address_output): Use new
1263 locale_file interface.
1264 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1266 (collate_finish): Don't call collseq_table_finalize.
1267 (collate_output): Use new locale_file interface.
1268 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1270 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1271 (TABLE): Move defines earlier in file.
1272 (ELEMENT): Likewise.
1273 (DEFAULT): Likewise.
1274 (wctrans_table_add): Move macro and inline function earlier in
1276 (struct wctype_table): Move type earlier in file.
1277 (add_locale_wctype_table): New static prototype.
1278 (struct locale_ctype_t): Use logical types instead of struct iovec
1279 pointers for members.
1280 (ctype_output): Use new locale_file interface.
1281 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1282 new locale_file interface.
1283 (allocate_arrays): Update for use of new locale_file interface.
1284 * locale/programs/ld-identification.c (identification_output): Use
1285 new locale_file interface.
1286 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1287 * locale/programs/ld-messages.c (messages_output): Likewise.
1288 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1289 * locale/programs/ld-name.c (name_output): Likewise.
1290 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1291 * locale/programs/ld-paper.c (paper_output): Likewise.
1292 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1293 * locale/programs/ld-time.c (time_output): Likewise.
1295 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297 * benchtests/Makefile: Add memrchr benchmark.
1298 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1299 benchmark as memrchr.
1300 * benchtests/bench-memrchr-ifunc.c: New file.
1301 * benchtests/bench-memrchr.c: New file.
1303 2013-09-06 Will Newton <will.newton@linaro.org>
1305 * benchtests/Makefile (string-bench): Add memcpy.
1307 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1308 Cong Wang <amwang@redhat.com>
1310 * sysdeps/unix/sysv/linux/bits/in.h
1311 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1312 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1313 before __USE_KERNEL_IPV6_DEFS uses.
1314 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1316 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1317 sockaddr_in6, or ipv6_mreq.
1319 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1321 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1322 memory access for final bytes in some large inputs.
1323 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1325 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327 * string/test-memrchr.c: New file.
1328 * string/test-memrchr-ifunc.c: New file.
1329 * string/Makefile: Add new memrchr testcase.
1331 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1333 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1334 fanotify_init returns EPERM.
1336 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1338 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1340 (top level): Treat second token from macro or constant entries for
1341 allowed headers as allowed.
1342 * include/complex.h: Condition internal declarations on
1344 * include/fenv.h: Condition include of <stdbool.h> and internal
1345 declarations on [!_ISOMAC].
1347 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1350 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1352 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1354 * configure.in (--enable-versioning): Remove configure option.
1355 (libc_cv_asm_symver_directive): Remove configure test.
1356 (libc_cv_ld_version_script_option): Likewise.
1357 (VERSIONING): Remove variable and AC_SUBST.
1358 (DO_VERSIONING): Remove AC_DEFINE.
1359 * configure: Regenerated.
1360 * config.h.in (DO_VERSIONING): Remove macro.
1361 * Makerules [$(versioning) = yes]: Change conditionals to
1362 [$(build-shared) = yes].
1363 * config.make.in (versioning): Remove variable.
1364 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1365 [$(build-shared) = yes].
1366 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1367 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1368 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1369 [$(build-shared) = yes].
1370 * extra-lib.mk [$(versioning) = yes]: Likewise.
1371 * hurd/Makefile [$(versioning) = yes]: Likewise.
1372 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1374 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1376 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1377 [SHARED && !NO_HIDDEN].
1378 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1380 [SHARED && DO_VERSIONING]: Likewise..
1381 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1382 [$(build-shared) = yes].
1383 * manual/install.texi (--disable-versioning): Remove
1385 * INSTALL: Regenerated.
1386 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1388 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1389 [$(build-shared) = yes].
1390 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1391 * sysdeps/i386/i686/multiarch/strstr-c.c
1392 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1393 [SHARED && !NO_HIDDEN].
1394 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1395 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1396 * sysdeps/powerpc/powerpc32/dl-machine.c
1397 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1398 * sysdeps/powerpc/powerpc32/sysdep.h
1399 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1400 to [SHARED && PIC && !NO_HIDDEN].
1401 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1402 conditional to [SHARED].
1404 2013-09-04 Will Newton <will.newton@linaro.org>
1406 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1407 * benchtests/bench-string.h: Include bench-timing.h instead
1408 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1409 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1410 call to HP_TIMING_DIFF_INIT.
1411 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1412 instead of hp-timing.h macros.
1413 * benchtests/bench-memchr.c: Likewise.
1414 * benchtests/bench-memcmp.c: Likewise.
1415 * benchtests/bench-memcpy.c: Likewise.
1416 * benchtests/bench-memmem.c: Likewise.
1417 * benchtests/bench-memmove.c: Likewise.
1418 * benchtests/bench-memset.c: Likewise.
1419 * benchtests/bench-rawmemchr.c: Likewise.
1420 * benchtests/bench-strcasecmp.c: Likewise.
1421 * benchtests/bench-strcasestr.c: Likewise.
1422 * benchtests/bench-strcat.c: Likewise.
1423 * benchtests/bench-strchr.c: Likewise.
1424 * benchtests/bench-strcmp.c: Likewise.
1425 * benchtests/bench-strcpy.c: Likewise.
1426 * benchtests/bench-strcpy_chk.c: Likewise.
1427 * benchtests/bench-strlen.c: Likewise.
1428 * benchtests/bench-strncasecmp.c: Likewise.
1429 * benchtests/bench-strncat.c: Likewise.
1430 * benchtests/bench-strncmp.c: Likewise.
1431 * benchtests/bench-strncpy.c: Likewise.
1432 * benchtests/bench-strnlen.c: Likewise.
1433 * benchtests/bench-strpbrk.c: Likewise.
1434 * benchtests/bench-strrchr.c: Likewise.
1435 * benchtests/bench-strspn.c: Likewise.
1436 * benchtests/bench-strstr.c: Likewise.
1438 2013-09-04 Will Newton <will.newton@linaro.org>
1440 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1442 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1445 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1446 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1447 * math/libm-test.inc (lgamma_test_data): Add more tests.
1448 * sysdeps/i386/fpu/libm-test-ulps: Update.
1449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1451 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1453 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1457 Add strcmp-sse2-unaligned
1458 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1460 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1462 * Versions.def (libc): Add GLIBC_2.19.
1464 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1466 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1467 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1469 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1472 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1473 intermediate calculations in recurrence.
1474 (__ieee754_ynf): Likewise.
1475 * math/libm-test.inc (jn_test_data): Do not allow spurious
1476 underflow exception. Add more tests.
1477 (yn_test_data): Add more tests.
1478 * sysdeps/i386/fpu/libm-test-ulps: Update.
1479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1481 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1483 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1485 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1487 * csu/init-first.c: Fix then/than typos.
1488 * locale/programs/ld-collate.c: Likewise.
1489 * locale/programs/linereader.h: Likewise.
1490 * manual/charset.texi: Likewise.
1491 * manual/filesys.texi: Likewise.
1492 * manual/stdio.texi: Likewise.
1493 * manual/string.texi: Likewise.
1494 * stdlib/fmtmsg.c: Likewise.
1495 * sysdeps/i386/stpncpy.S: Likewise.
1496 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1497 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1498 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1499 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1501 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1503 * elf/dl-open.c: Fix typos.
1504 * iconvdata/gbbig5.c: Likewise.
1505 * iconvdata/iso-2022-jp.c: Likewise.
1506 * iconv/gconv_int.h: Likewise.
1507 * iconv/loop.c: Likewise.
1508 * nis/rpcsvc/nis.h: Likewise.
1509 * resolv/ns_name.c: Likewise.
1510 * stdio-common/vfscanf.c: Likewise.
1511 * streams/stropts.h: Likewise.
1512 * sunrpc/rpc_thread.c: Likewise.
1513 * sysdeps/i386/strpbrk.S: Likewise.
1514 * sysdeps/ieee754/k_standard.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1517 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1518 * sysdeps/mach/hurd/profil.c: Likewise.
1519 * sysdeps/s390/dl-procinfo.h: Likewise.
1520 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1521 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1522 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1523 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1524 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1526 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1528 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1531 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1533 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1535 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1536 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1537 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1538 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1539 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1540 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1541 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1542 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1544 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1545 Roland McGrath <roland@hack.frob.com>
1547 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1548 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1550 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1552 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1553 __executable_start symbol instead of _start.
1555 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1557 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1558 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1560 * sysdeps/gnu/ldsodefs.h: ... this new file.
1562 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1563 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1564 instead of ELFOSABI_LINUX.
1566 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1567 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1568 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1569 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1571 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1572 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1573 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1575 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1576 (ibm_extended_long_double): Add ieee_nan member.
1577 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1578 (do_test): New function.
1580 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1582 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1583 functions, renamed from truncdfsf_test, trunctfsf_test,
1585 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1587 (do_test): Run all these.
1589 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1591 * argp/argp-help.c: Fix typos.
1592 * argp/argp-parse.c: Likewise.
1593 * debug/backtracesyms.c: Likewise.
1594 * elf/elf.h: Likewise.
1595 * malloc/malloc.c: Likewise.
1596 * nis/nis_print.c: Likewise.
1597 * resolv/res_comp.c: Likewise.
1598 * stdlib/stdlib.h: Likewise.
1599 * sunrpc/clnt_tcp.c: Likewise.
1600 * sunrpc/clnt_udp.c: Likewise.
1601 * sunrpc/clnt_unix.c: Likewise.
1602 * sysdeps/unix/bsd/ptsname.c: Likewise.
1603 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1604 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1611 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1613 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1615 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1618 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1621 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1622 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1623 ($(objpfx)bug-dl-leaf): New rule.
1624 ($(objpfx)bug-dl-leaf.so): Likewise.
1625 ($(objpfx)bug-dl-leaf.out): Likewise.
1626 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1627 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1628 * dlfcn/bug-dl-leaf.c: New test.
1629 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1630 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1631 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1632 (dlclose): Likewise.
1633 (dlmopen): Likewise.
1635 2013-08-27 Roland McGrath <roland@hack.frob.com>
1637 * include/netdb.h [!_ISOMAC]:
1638 Don't include <tls.h>.
1639 (h_errno, __libc_h_errno): Move declaration and macros out of
1642 * include/resolv.h [_RESOLV_H_]:
1643 Don't include <tls.h>.
1644 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1645 * resolv/res_libc.c: Don't include <tls.h>.
1646 (_res): Use __attribute__ ((nocommon)) in place of
1647 __attribute__ ((section (".bss"))).
1649 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1650 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1652 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1654 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1655 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1657 * resolv/res_mkquery.c: Include <sys/time.h>.
1659 * inet/ifreq.c: Moved to ...
1660 * sysdeps/unix/ifreq.c: ... here.
1661 * inet/ifreq.c: New file, true stub version.
1663 * socket/sa_len.c: New file.
1664 * socket/Makefile (aux): Add it.
1665 * sysdeps/unix/sysv/linux/Makefile
1666 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1667 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1668 and #include <socket/sa_len.c>.
1669 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1670 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1672 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1673 * bits/socket.h: ... here.
1675 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1676 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1677 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1679 2013-08-27 Andreas Schwab <schwab@suse.de>
1682 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1683 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1684 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1685 * string/test-strcasecmp.c (test_main): Run tests in several
1687 * string/test-strncasecmp.c (test_main): Likewise.
1689 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1690 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1691 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1693 (__strncasecmp_ssse3) [PIC]: Likewise.
1695 2013-08-26 Roland McGrath <roland@hack.frob.com>
1697 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1699 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1700 instead of explicitly declaring xdecrypt.
1701 * nis/nss_nis/nis-publickey.c: Likewise.
1703 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1706 * nscd/aicache.c: Include res_hconf.h.
1707 (addhstaiX): Initialize res_hconf.
1709 2013-08-26 Andreas Schwab <schwab@suse.de>
1711 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1712 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1714 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1716 * nscd/aicache.c (addhstaiX): Fix indentation.
1718 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1720 * configure.ac: Quote $build_pt_chown test.
1721 * configure: Regenerated.
1723 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1726 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1727 * math/s_cexpf.c (__cexpf): Likewise.
1728 * math/s_cexpl.c (__cexpl): Likewise.
1729 * math/libm-test.inc (cexp_test_data): Correct expected return
1730 value for NaN + i0. Add another test.
1732 2013-08-22 David S. Miller <davem@davemloft.net>
1734 * po/ca.po: Update Catalan translation from translation project.
1735 * po/uk.po: Add Ukrainian translations from translation project.
1737 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1740 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1741 is infinite, not alongside NaN test.
1742 * math/s_fdimf.c (__fdimf): Likewise.
1743 * math/s_fdiml.c (__fdiml): Likewise.
1744 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1747 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1749 * argp/argp-help.c: Fix typos.
1750 * crypt/speeds.c: Likewise.
1751 * csu/check_fds.c: Likewise.
1752 * elf/dl-load.c: Likewise.
1753 * elf/dl-open.c: Likewise.
1754 * elf/reldep3.c: Likewise.
1755 * elf/reldep.c: Likewise.
1756 * elf/sprof.c: Likewise.
1757 * iconv/iconv_charmap.c: Likewise.
1758 * iconv/skeleton.c: Likewise.
1759 * iconv/strtab.c: Likewise.
1760 * io/lockf64.c: Likewise.
1761 * libio/libioP.h: Likewise.
1762 * resolv/gai_notify.c: Likewise.
1763 * resolv/ns_name.c: Likewise.
1764 * resolv/ns_samedomain.c: Likewise.
1765 * resolv/res_send.c: Likewise.
1766 * stdlib/random.c: Likewise.
1767 * sunrpc/rpc/xdr.h: Likewise.
1768 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1769 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1770 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1771 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1772 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1773 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1775 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1776 * sysdeps/mach/hurd/check_fds.c: Likewise.
1777 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1778 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1779 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1780 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1781 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1782 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1783 * sysdeps/pthread/aio_notify.c: Likewise.
1784 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1785 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1786 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1787 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1788 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1790 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1792 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1793 version if bit_Slow_SSE4_2 is set.
1794 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1797 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1800 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1801 trampoline stack frame information.
1802 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1803 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1804 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1805 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1806 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1807 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1808 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1809 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1811 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1812 interrupting a syscall and set with option SA_SIGINFO.
1814 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1817 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1818 argument is infinite.
1819 * math/s_cprojf.c (__cprojf): Likewise.
1820 * math/s_cprojl.c (__cprojl): Likewise.
1821 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1822 * math/libm-test.inc (cproj_test_data): Add more tests.
1824 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1826 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1827 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1828 size. Use __ffs to determine corresponding shift.
1830 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1831 Roland McGrath <roland@hack.frob.com>
1833 * Makefile (INSTALL): Remove trailing blank lines from output of
1836 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1838 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1839 Align 32 bit compat elf_greg to 8 bytes.
1841 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1843 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1845 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1847 * string/strcoll_l.c (coll_seq): New structure.
1848 (get_next_seq_cached): New function.
1849 (get_next_seq): New function.
1850 (do_compare): New function.
1851 (STRCOLL): Use GNU style definition. Simplify implementation
1852 by using get_next_seq, get_next_seq_cached and do_compare.
1854 2013-08-16 Florian Weimer <fweimer@redhat.com>
1858 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1860 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1862 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1863 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1864 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1866 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1867 GETDENTS_64BIT_ALIGNED.
1868 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1869 * manual/filesys.texi (Reading/Closing Directory): Document
1870 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1872 * manual/conf.texi (Limits for Files): Add portability note to
1874 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1876 2013-08-13 Andreas Schwab <schwab@suse.de>
1879 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1881 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1882 LDBL_MAX_EXP >= 16384]: Add tests for it.
1884 2013-08-12 David S. Miller <davem@davemloft.net>
1886 * version.h (RELEASE): Set to "development".
1887 (VERSION): Set to "2.18.90".
1888 * NEWS: Add 2.19 section.
1890 2013-08-03 David S. Miller <davem@davemloft.net>
1892 * po/ko.po: Update Korean translation from translation project.
1894 2013-08-01 David S. Miller <davem@davemloft.net>
1896 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1897 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1900 2013-07-30 David S. Miller <davem@davemloft.net>
1902 * po/fr.po: Update French translation from translation project.
1904 2013-07-28 David S. Miller <davem@davemloft.net>
1906 * po/cs.po: Update Czech translation from translation project.
1908 * po/sv.po: Update Swedish translation from translation project.
1910 2013-07-27 David S. Miller <davem@davemloft.net>
1912 * po/eo.po: Update Esperanto translation from translation project.
1914 * po/vi.po: Update Vietnamese translation from translation project.
1916 * po/de.po: Update German translation from translation project.
1918 2013-07-26 David S. Miller <davem@davemloft.net>
1920 * po/bg.po: Update Bulgarian translation from translation project.
1922 * po/nl.po: Update Dutch translation from translation project.
1923 * po/pl.po: Update Polish translation from translation project.
1924 * po/ru.po: Update Russian translation from translation project.
1926 2013-07-24 David S. Miller <davem@davemloft.net>
1928 * po/libc.pot: Update.
1930 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1934 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1936 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1938 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1940 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1942 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1943 Andreas Schwab <schwab@suse.de>
1944 Roland McGrath <roland@hack.frob.com>
1945 Joseph Myers <joseph@codesourcery.com>
1946 Carlos O'Donell <carlos@redhat.com>
1949 * config.h.in: Define HAVE_PT_CHOWN.
1950 * config.make.in (build-pt-chown): New variable.
1951 * configure.in (--enable-pt_chown): New configure option.
1952 * configure: Regenerate.
1953 * login/Makefile: Include Makeconfig. Build pt_chown only if
1954 build-pt-chown is enabled.
1955 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1956 pt_chown to fix pty ownership.
1957 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1959 * manual/install.texi (Configuring and compiling): Mention
1960 --enable-pt_chown. Add @findex for grantpt.
1961 * INSTALL: Regenerate.
1963 2013-07-20 David S. Miller <davem@davemloft.net>
1965 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1966 difference between 32-bit and 64-bit.
1968 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1971 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1972 Avoid system header dependency with -ffreestanding.
1973 ($(objpfx)bits/syscall%d): Likewise.
1975 2013-07-13 David S. Miller <davem@davemloft.net>
1977 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1978 underflows from atanl/atan2l due to bug 15319.
1979 (casinh_test_data): Likewise.
1981 2013-07-07 David S. Miller <davem@davemloft.net>
1983 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1985 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1987 * sysdeps/i386/fpu/libm-test-ulps: Update.
1988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1990 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1992 * configure.in (--enable-lock-elision): Fix message text.
1993 * INSTALL: Regenerate.
1994 * configure: Regenerate.
1996 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2000 2013-07-03 Andreas Jaeger <aj@suse.de>
2002 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2004 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2005 (ptrace_peeksiginfo_args): Add.
2006 (__ptrace_peeksiginfo_flags): Add.
2007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2009 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2011 2013-07-03 Allan McRae <allan@archlinux.org>
2013 * sysdeps/i386/fpu/libm-test-ulps: Update.
2015 2013-07-02 David S. Miller <davem@davemloft.net>
2017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2019 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2023 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2025 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2028 2013-07-02 Andi Kleen <ak@linux.intel.com>
2030 * config.h.in (ENABLE_LOCK_ELISION): Add.
2031 * configure.in (--enable-lock-elision): Add option.
2032 * manual/install.texi: Document --enable lock elision.
2033 * configure: Regenerate
2034 * INSTALL: Regenerate.
2036 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2038 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2039 SSE4.2 strcasecmp for libc.a.
2040 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2042 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2045 * soft-fp/op-common.h (_FP_FMA): New macro.
2046 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2047 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2048 (_FP_MUL_MEAT_1_imm): ... here.
2049 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2050 (_FP_MUL_MEAT_1_wide): ... here.
2051 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2052 (_FP_MUL_MEAT_1_hard): ... here.
2053 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2054 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2055 (_FP_MUL_MEAT_2_wide): ... here.
2056 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2057 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2058 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2059 (_FP_MUL_MEAT_2_gmp): ... here.
2060 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2061 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2062 (_FP_MUL_MEAT_4_wide): ... here.
2063 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2064 (_FP_MUL_MEAT_4_gmp): ... here.
2065 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2066 (_FP_WFRACBITS_DW_S): Likewise.
2067 (_FP_WFRACXBITS_DW_S): Likewise.
2068 (_FP_HIGHBIT_DW_S): Likewise.
2069 (FP_FMA_S): Likewise.
2070 (_FP_FRAC_HIGH_DW_S): Likewise.
2071 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2072 (_FP_WFRACBITS_DW_D): Likewise.
2073 (_FP_WFRACXBITS_DW_D): Likewise.
2074 (_FP_HIGHBIT_DW_D): Likewise.
2075 (FP_FMA_D): Likewise.
2076 (_FP_FRAC_HIGH_DW_D): Likewise.
2077 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2078 (_FP_WFRACBITS_DW_E): Likewise.
2079 (_FP_WFRACXBITS_DW_E): Likewise.
2080 (_FP_HIGHBIT_DW_E): Likewise.
2081 (FP_FMA_E): Likewise.
2082 (_FP_FRAC_HIGH_DW_E): Likewise.
2083 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2084 (_FP_WFRACBITS_DW_Q): Likewise.
2085 (_FP_WFRACXBITS_DW_Q): Likewise.
2086 (_FP_HIGHBIT_DW_Q): Likewise.
2087 (FP_FMA_Q): Likewise.
2088 (_FP_FRAC_HIGH_DW_Q): Likewise.
2089 * soft-fp/fmasf4.c: New file.
2090 * soft-fp/fmadf4.c: Likewise.
2091 * soft-fp/fmatf4.c: Likewise.
2093 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2096 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2100 (index_Slow_SSE4_2): Likewise.
2101 (index_Prefer_PMINUB_for_stringop): Likewise.
2102 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2103 bit_Slow_SSE4_2 is set.
2104 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2105 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2107 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2109 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2110 rtld_global._dl_hwcap2.
2111 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2113 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2114 POWER8 feature descriptions defined in _dl_hwcap2.
2115 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2116 string handling for POWER8 feature bits.
2117 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2118 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2119 _dl_powerpc_cap_flags.
2120 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2121 * sysdeps/powerpc/rtld-global-offsets.sym
2122 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2123 _dl_hwcap2 in the rtld_global_ro structure.
2125 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2127 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2128 hardware capabilities in support of AT_HWCAP2.
2129 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2130 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2132 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2133 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2134 explicitly the unknown a_type display mechanism is used.
2135 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2136 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2138 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2139 to macro prototype for AT_HWCAP2 support.
2140 * sysdeps/i386/dl-procinfo.h: Likewise.
2141 * sysdeps/s390/dl-procinfo.h: Likewise.
2142 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2143 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2144 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2145 return -1 for unknown a_type display fallback.
2146 * sysdeps/sparc/dl-procinfo.h: Likewise.
2147 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2148 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2150 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2153 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2155 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2158 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2159 mprotect making __stack_prot writable.
2161 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2162 Joseph Myers <joseph@codesourcery.com>
2164 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2165 as being properly aligned.
2167 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2169 * dlfcn/modstatic5.c: New file.
2170 * dlfcn/tststatic5.c: New file.
2171 * dlfcn/Makefile (tests): Add tststatic5.
2172 (tests-static): Likewise.
2173 (modules-names): Add modstatic5.
2174 (tststatic5-ENV): New variable.
2175 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2178 * elf/dl-support.c (_dl_main_map): New variable.
2179 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2180 (_dl_nns, _dl_load_adds): Set to 1.
2181 (_dl_initial_searchlist): Refer to _dl_main_map.
2182 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2183 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2184 call to _dl_get_origin.
2185 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2187 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2188 * dlfcn/modstatic3.c: New file.
2189 * dlfcn/tststatic3.c: New file.
2190 * dlfcn/tststatic4.c: New file.
2191 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2192 (tests-static): Likewise.
2193 (modules-names): Add modstatic3.
2194 (tststatic3-ENV, tststatic4-ENV): New variables.
2195 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2196 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2198 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2200 * configure.in (CC): Require GCC version 4.4 or later.
2201 * configure: Regenerated.
2202 * manual/install.texi (Tools for Compilation): Update GCC version
2204 * INSTALL: Regenerated.
2206 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2209 * string/test-memcmp.c (check2): New.
2210 (main): Call check2.
2212 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2214 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2217 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2219 (dl_open_worker) [!SHARED]: ... here.
2221 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2223 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2225 2013-06-25 Richard Henderson <rth@redhat.com>
2227 * locale/programs/locarchive.c: Include <libc-internal.h>
2229 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2231 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2232 trailing whitespace removed.
2234 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2237 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2238 * locale/programs/locarchive.c: Include libc-mmap.h.
2239 (prepare_address_space): Take two new outputs (the mmap base and len).
2240 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2242 (create_archive): Declare new mmap base and len values for
2243 prepare_address_space, and store the result in ah.
2244 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2245 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2246 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2247 Declare new mmap base and len values for
2248 prepare_address_space, and store the result in new_ah.
2249 (open_archive): Declare new mmap base and len values for
2250 prepare_address_space, and store the result in ah.
2251 (close_archive): If ah->mmap_base is not NULL, use that and
2252 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2253 * sysdeps/generic/libc-mmap.h: New file.
2255 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2257 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2258 (ALIGN_UP): Likewise.
2259 (PTR_ALIGN_DOWN): Likewise.
2260 (PTR_ALIGN_UP): Likewise.
2262 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2264 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2265 entry mapped to PPC_PLATFORM_POWER8.
2266 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2268 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2269 (_dl_string_platform): Add case for exporting platform position for
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2272 search path to sysdeps/powerpc/powerpc32/power8 directory.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2274 search path to sysdeps/powerpc/powerpc64/power8 directory.
2275 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2277 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2280 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 * INSTALL: Regenerate.
2284 * nscd/connections.c (nscd_init): Fix comment.
2286 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2288 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2291 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2292 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2294 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2296 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2298 (DL_DST_REQ_STATIC): Remove macro.
2300 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2303 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2304 with a shift of 0 bits.
2306 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2308 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2311 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2314 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2316 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2319 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2320 accepts -fno-tree-loop-distribute-patterns.
2321 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2322 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2324 * string/memset.c (memset): Likewise.
2325 * string/test-memmove.c (simple_memmove): Disable loop transformation
2327 * string/test-memset.c (simple_memset): Likewise.
2328 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2329 * benchtests/bench-memset.c (simple_memset): Likewise.
2330 * configure: Regenerated.
2332 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2334 * math/test-misc.c (main): Ignore fesetround failure when failures
2335 of subsequent rounding tests would be ignored.
2338 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2339 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2340 * math/fegetenv.c (__fegetenv): Return 0.
2341 * math/fegetexcept.c (fegetexcept): Return 0.
2342 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2344 * math/feholdexcpt.c (feholdexcept): Return 0.
2345 * math/fesetenv.c (__fesetenv): Return 0.
2346 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2347 argument FE_TONEAREST.
2348 * math/feupdateenv.c (__feupdateenv): Return 0.
2349 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2351 2013-06-18 Roland McGrath <roland@hack.frob.com>
2353 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2354 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2355 ($(objpfx)rtld-%.os rules): Use them.
2357 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2359 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2362 2013-06-17 Roland McGrath <roland@hack.frob.com>
2364 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2365 length of target pattern, then descending length of dependency pattern.
2366 * configure.in (AWK): Require gawk 3.1.2 or newer.
2367 * manual/install.texi (Tools for Compilation): Say that we do.
2368 * configure: Regenerated.
2370 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2371 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2372 * scripts/sysd-rules.awk: ... this new script.
2373 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2374 than a glob-style pattern.
2376 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2378 * math/test-misc.c (main): Do not treat incorrectly rounded
2379 conversions as failure unless ROUNDING_TESTS passes.
2381 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2384 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2385 restore exception state around main square root computation, then
2386 check for inexactness explicitly.
2388 * math/libm-test.inc (fma_test_data): Add another test.
2390 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2392 * manual/threads.texi (Non-POSIX Extensions): New document
2393 node. Document pthread_getattr_default_np and
2394 pthread_setattr_default_np.
2396 * Versions.def (libpthread): Add GLIBC_2.18.
2397 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2406 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2417 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2420 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2422 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2423 H.J. Lu <hjl.tools@gmail.com>
2426 * sysdeps/x86_64/rtld-memset.c: Remove file.
2427 * sysdeps/x86_64/rtld-memset.S: New file.
2429 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2431 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2432 (test_in_one_mode): Take arguments for whether the rounding mode
2433 is supported for each floating-point type.
2434 (do_test): Pass new arguments to test_in_one_mode using
2437 2013-06-13 Roland McGrath <roland@hack.frob.com>
2439 * posix/tst-waitid.c (do_test): Distinguish different instances of
2440 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2441 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2442 before entering the kernel for waitpid.
2444 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2446 * NEWS: Fix note on clock function precision. Text by Roland
2449 2013-06-13 Roland McGrath <roland@hack.frob.com>
2451 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2452 it into place only when and if the sanity check passes.
2454 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2456 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2457 output for whether conversion result is exact. Take argument
2458 indicating whether type is IBM long double.
2459 (round_for_all): Change need_exact field to ibm_ld.
2460 * stdlib/tst-strtod-round.c (struct exactness): New type.
2461 (struct test): Change bool ld_ok field to struct exactness exact.
2462 (TEST): Update all definitions for change to field.
2463 (tests): Regenerate array contents.
2464 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2465 field value. Check for IBM long double here.
2466 (do_test): Update calls to test_in_one_mode.
2468 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2471 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2472 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2474 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2478 generated by the compiler on loop optimizations.
2479 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2480 general definitions.
2482 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2484 * math/bug-nextafter.c: Include <math-tests.h>.
2485 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2487 * math/bug-nexttoward.c: Include <math-tests.h>.
2488 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2490 * math/test-misc.c: Include <math-tests.h>.
2491 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2494 2013-06-12 Andreas Jaeger <aj@suse.de>
2496 * po/ia.po: Update Interlingua translation from translation
2499 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2501 * include/fenv.h: Include stdbool.h.
2502 (struct rm_ctx): New structure.
2503 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2505 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2506 (SET_RESTORE_ROUNDF): Likewise.
2507 (SET_RESTORE_ROUNDL): Likewise.
2508 (SET_RESTORE_ROUND_NOEX): Likewise.
2509 (SET_RESTORE_ROUND_NOEXF): Likewise.
2510 (SET_RESTORE_ROUND_NOEXL): Likewise.
2511 (SET_RESTORE_ROUND_53BIT): Likewise.
2512 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2513 (libc_feresetround_noexf_ctx): Likewise.
2514 (libc_feresetround_noexl_ctx): Likewise.
2515 (libc_feholdsetround_53bit_ctx): Likewise.
2516 (libc_feresetround_53bit_ctx): Likewise.
2517 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2518 (libc_feholdexcept_setround_sse_ctx): New function.
2519 (libc_fesetenv_sse_ctx): Likewise.
2520 (libc_feupdateenv_sse_ctx): Likewise.
2521 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2522 (libc_feholdexcept_setround_387_ctx): Likewise.
2523 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2524 (libc_feholdsetround_387_prec_ctx): Likewise.
2525 (libc_feholdsetround_387_ctx): Likewise.
2526 (libc_feholdsetround_387_53bit_ctx): Likewise.
2527 (libc_feholdsetround_sse_ctx): Likewise.
2528 (libc_feresetround_sse_ctx): Likewise.
2529 (libc_feresetround_387_ctx): Likewise.
2530 (libc_feupdateenv_387_ctx): Likewise.
2531 (libc_feholdexcept_setroundf_ctx): Define macro.
2532 (libc_fesetenvf_ctx): Likewise.
2533 (libc_feupdateenvf_ctx): Likewise.
2534 (libc_feholdsetroundf_ctx): Likewise.
2535 (libc_feresetroundf_ctx): Likewise.
2536 (libc_feholdexcept_setround_ctx): Likewise.
2537 (libc_fesetenv_ctx): Likewise.
2538 (libc_feupdateenv_ctx): Likewise.
2539 (libc_feholdsetround_ctx): Likewise.
2540 (libc_feresetround_ctx): Likewise.
2541 (libc_feholdexcept_setroundl_ctx): Likewise.
2542 (libc_feupdateenvl_ctx): Likewise.
2543 (libc_feholdsetroundl_ctx): Likewise.
2544 (libc_feresetroundl_ctx): Likewise.
2545 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2546 (libc_feresetround_53bit_ctx): Likewise.
2548 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2550 * locale/iso-639.def: Convert to UTF-8.
2552 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2554 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2555 (EXCEPTION_TESTS_double): Likewise.
2556 (EXCEPTION_TESTS_long_double): Likewise.
2557 (EXCEPTION_TESTS): Likewise.
2558 * math/libm-test.inc (test_exceptions): Only test exceptions if
2559 EXCEPTION_TESTS (FLOAT).
2561 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2563 * benchtests/Makefile (string-bench): Add strcpy_chk and
2565 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2566 * benchtests/bench-stpcpy_chk.c: New file.
2567 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2568 * benchtests/bench-strcpy_chk.c: New file.
2569 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2571 (do_test): Likewise.
2573 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2575 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2576 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2577 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2578 with tabs where appropriate.
2579 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2581 [PPC_PLATFORM_PPC440]: Likewise.
2582 [PPC_PLATFORM_PPC464]: Likewise.
2583 [PPC_PLATFORM_PPC476]: Likewise.
2584 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2585 ppc464, and ppc476 platform strings merging from ports/
2588 2013-06-11 Andreas Schwab <schwab@suse.de>
2591 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2592 (from_ucs4_idx): Regenerate.
2593 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2594 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2595 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2596 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2597 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2598 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2599 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2600 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2601 from FROM_LOOP and TO_LOOP specific macros.
2602 (BODY): Handle combining characters.
2603 * iconvdata/BIG5HKSCS.irreversible: Update.
2604 * iconvdata/BIG5HKSCS.precomposed: New file.
2605 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2607 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2609 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2611 * include/sys/time.h: Fix indentation and add copyright header.
2613 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2614 (do_test): Likewise.
2615 * string/test-memchr.c (do_one_test): Likewise.
2616 (do_test): Likewise.
2617 * string/test-memcmp.c (do_one_test): Likewise.
2618 (do_test): Likewise.
2619 * string/test-memcpy.c (do_one_test): Likewise.
2620 (do_test): Likewise.
2621 * string/test-memmem.c (do_one_test): Likewise.
2622 (do_test): Likewise.
2623 (do_random_tests): Likewise.
2624 * string/test-memmove.c (do_one_test): Likewise.
2625 (do_test): Likewise.
2626 * string/test-memset.c (do_one_test): Likewise.
2627 (do_test): Likewise.
2628 * string/test-rawmemchr.c (do_one_test): Likewise.
2629 (do_test): Likewise.
2630 * string/test-strcasecmp.c (do_one_test): Likewise.
2631 (do_test): Likewise.
2632 * string/test-strcasestr.c (do_one_test): Likewise.
2633 (do_test): Likewise.
2634 * string/test-strcat.c (do_one_test): Likewise.
2635 (do_test): Likewise.
2636 * string/test-strchr.c (do_one_test): Likewise.
2637 (do_test): Likewise.
2638 * string/test-strcmp.c (do_one_test): Likewise.
2639 (do_test): Likewise.
2640 * string/test-strcpy.c (do_one_test): Likewise.
2641 (do_test): Likewise.
2642 * string/test-string.h: Likewise.
2643 (test_init): Likewise.
2644 * string/test-strlen.c (do_one_test): Likewise.
2645 (do_test): Likewise.
2646 * string/test-strncasecmp.c (do_one_test): Likewise.
2647 (do_test): Likewise.
2648 * string/test-strncat.c (do_one_test): Likewise.
2649 (do_test): Likewise.
2650 * string/test-strncmp.c (do_one_test): Likewise.
2651 (do_test_limit): Likewise.
2652 (do_test): Likewise.
2653 * string/test-strncpy.c (do_one_test): Likewise.
2654 (do_test): Likewise.
2655 * string/test-strnlen.c (do_one_test): Likewise.
2656 (do_test): Likewise.
2657 * string/test-strpbrk.c (do_one_test): Likewise.
2658 (do_test): Likewise.
2659 * string/test-strrchr.c (do_one_test): Likewise.
2660 (do_test): Likewise.
2661 * string/test-strspn.c (do_one_test): Likewise.
2662 (do_test): Likewise.
2663 * string/test-strstr.c (do_one_test): Likewise.
2664 (do_test): Likewise.
2666 * benchtests/Makefile (string-bench): Add string benchmarks.
2667 * benchtests/bench-bcopy-ifunc.c: New file.
2668 * benchtests/bench-bcopy.c: New file.
2669 * benchtests/bench-bzero-ifunc.c: New file.
2670 * benchtests/bench-bzero.c: New file.
2671 * benchtests/bench-memccpy-ifunc.c: New file.
2672 * benchtests/bench-memccpy.c: New file.
2673 * benchtests/bench-memchr-ifunc.c: New file.
2674 * benchtests/bench-memchr.c: New file.
2675 * benchtests/bench-memcmp-ifunc.c: New file.
2676 * benchtests/bench-memcmp.c: New file.
2677 * benchtests/bench-memmem-ifunc.c: New file.
2678 * benchtests/bench-memmem.c: New file.
2679 * benchtests/bench-memmove-ifunc.c: New file.
2680 * benchtests/bench-memmove.c: New file.
2681 * benchtests/bench-mempcpy-ifunc.c: New file.
2682 * benchtests/bench-mempcpy.c: New file.
2683 * benchtests/bench-memset-ifunc.c: New file.
2684 * benchtests/bench-memset.c: New file.
2685 * benchtests/bench-rawmemchr-ifunc.c: New file.
2686 * benchtests/bench-rawmemchr.c: New file.
2687 * benchtests/bench-stpcpy-ifunc.c: New file.
2688 * benchtests/bench-stpcpy.c: New file.
2689 * benchtests/bench-stpncpy-ifunc.c: New file.
2690 * benchtests/bench-stpncpy.c: New file.
2691 * benchtests/bench-strcasecmp-ifunc.c: New file.
2692 * benchtests/bench-strcasecmp.c: New file.
2693 * benchtests/bench-strcasestr-ifunc.c: New file.
2694 * benchtests/bench-strcasestr.c: New file.
2695 * benchtests/bench-strcat-ifunc.c: New file.
2696 * benchtests/bench-strcat.c: New file.
2697 * benchtests/bench-strchr-ifunc.c: New file.
2698 * benchtests/bench-strchr.c: New file.
2699 * benchtests/bench-strchrnul-ifunc.c: New file.
2700 * benchtests/bench-strchrnul.c: New file.
2701 * benchtests/bench-strcmp-ifunc.c: New file.
2702 * benchtests/bench-strcmp.c: New file.
2703 * benchtests/bench-strcpy-ifunc.c: New file.
2704 * benchtests/bench-strcpy.c: New file.
2705 * benchtests/bench-strcspn-ifunc.c: New file.
2706 * benchtests/bench-strcspn.c: New file.
2707 * benchtests/bench-strlen-ifunc.c: New file.
2708 * benchtests/bench-strlen.c: New file.
2709 * benchtests/bench-strncasecmp-ifunc.c: New file.
2710 * benchtests/bench-strncasecmp.c: New file.
2711 * benchtests/bench-strncat-ifunc.c: New file.
2712 * benchtests/bench-strncat.c: New file.
2713 * benchtests/bench-strncmp-ifunc.c: New file.
2714 * benchtests/bench-strncmp.c: New file.
2715 * benchtests/bench-strncpy-ifunc.c: New file.
2716 * benchtests/bench-strncpy.c: New file.
2717 * benchtests/bench-strnlen-ifunc.c: New file.
2718 * benchtests/bench-strnlen.c: New file.
2719 * benchtests/bench-strpbrk-ifunc.c: New file.
2720 * benchtests/bench-strpbrk.c: New file.
2721 * benchtests/bench-strrchr-ifunc.c: New file.
2722 * benchtests/bench-strrchr.c: New file.
2723 * benchtests/bench-strspn-ifunc.c: New file.
2724 * benchtests/bench-strspn.c: New file.
2725 * benchtests/bench-strstr-ifunc.c: New file.
2726 * benchtests/bench-strstr.c: New file.
2728 * benchtests/Makefile: Disable parallel execution of targets.
2729 (string-bench): Add memcpy.
2730 (benchset): New variable to store a list of benchmark sets.
2731 (bench-func): Renamed from bench.
2732 (bench-set): New target.
2733 (bench): Depend on bench-func and bench-set.
2734 * benchtests/README: Add section on benchmark sets.
2735 * benchtests/bench-memcpy-ifunc.c: New file.
2736 * benchtests/bench-memcpy.c: New file.
2737 * benchtests/bench-string.h: New file.
2739 2013-06-11 Andreas Schwab <schwab@suse.de>
2742 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2743 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2744 values in the triple.
2745 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2746 terminator in the group key.
2748 2013-06-11 Andreas Jaeger <aj@suse.de>
2750 * po/zh_TW.po: Update Chinese (traditional) translation from
2751 translation project.
2753 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2755 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2756 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2757 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2759 (clock_getcpuclockid): Likewise.
2760 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2761 Add weak_alias and libc_hidden_def.
2762 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2763 * rt/clock_gettime.c (clock_gettime): Rename to
2764 __clock_gettime. Add weak_alias and libc_hidden_def.
2765 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2766 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2767 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2768 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2769 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2771 * rt/clock_settime.c (clock_settime): Rename to
2772 __clock_settime. Add weak_alias and libc_hidden_def.
2773 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2775 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2777 * mach/err_boot.sub: Remove trailing whitespace.
2778 * mach/err_ipc.sub: Likewise.
2779 * mach/err_mach.sub: Likewise.
2781 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2782 (ROUNDING_TESTS_double): Likewise.
2783 (ROUNDING_TESTS_long_double): Likewise.
2784 (ROUNDING_TESTS): Likewise.
2785 * math/libm-test.inc: Include <math-tests.h>.
2786 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2787 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2788 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2789 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2791 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2793 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2796 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2798 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2799 otherwise empty TRANS lines.
2800 * sysdeps/gnu/errlist.c: Regenerated.
2802 * catgets/gencat.c (error_print): Use (void) in function
2804 * crypt/crypt_util.c (__init_des): Likewise.
2805 * crypt/speeds.c (Stop): Likewise.
2807 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2808 * inet/ruserpass.c (token): Likewise.
2809 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2810 * intl/localealias.c (extend_alias_table): Likewise.
2811 * intl/plural-exp.c (init_germanic_plural): Likewise.
2812 * libio/fcloseall.c (__fcloseall): Likewise.
2813 * libio/genops.c (_IO_flush_all): Likewise.
2814 (_IO_flush_all_linebuffered): Likewise.
2815 (_IO_cleanup): Likewise.
2816 (_IO_iter_begin): Likewise.
2817 (_IO_iter_end): Likewise.
2818 (_IO_list_lock): Likewise.
2819 (_IO_list_unlock): Likewise.
2820 (_IO_list_resetlock): Likewise.
2821 * libio/getchar.c (getchar): Likewise.
2822 * libio/getchar_u.c (getchar_unlocked): Likewise.
2823 * libio/getwchar.c (getwchar): Likewise.
2824 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2825 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2826 * login/getpt.c (__getpt): Likewise.
2827 * login/tst-utmp.c (main): Likewise.
2828 * malloc/hooks.c (__malloc_check_init): Likewise.
2829 * malloc/malloc.c (__malloc_stats): Likewise.
2830 * malloc/mtrace.c (tr_break): Likewise.
2832 (muntrace): Likewise.
2833 * misc/fstab.c (endfsent): Likewise.
2834 * misc/getclktck.c (__getclktck): Likewise.
2835 * misc/getdtsz.c (__getdtablesize): Likewise.
2836 * misc/gethostid.c (gethostid): Likewise.
2837 * misc/getpagesize.c (__getpagesize): Likewise.
2838 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2839 (__get_nprocs): Likewise.
2840 (__get_phys_pages): Likewise.
2841 (__get_avphys_pages): Likewise.
2842 * misc/getttyent.c (getttyent): Likewise.
2843 (setttyent): Likewise.
2844 (endttyent): Likewise.
2845 * misc/getusershell.c (getusershell): Likewise.
2846 (endusershell): Likewise.
2847 (setusershell): Likewise.
2848 (initshells): Likewise.
2849 * misc/hsearch.c (__hdestroy): Likewise.
2850 * misc/sync.c (sync): Likewise.
2851 * misc/syslog.c (closelog_internal): Likewise.
2852 (closelog): Likewise.
2853 * misc/ttyslot.c (ttyslot): Likewise.
2854 * misc/vhangup.c (vhangup): Likewise.
2855 * posix/fork.c (__fork): Likewise.
2856 * posix/getegid.c (__getegid): Likewise.
2857 * posix/geteuid.c (__geteuid): Likewise.
2858 * posix/getgid.c (__getgid): Likewise.
2859 * posix/getpid.c (__getpid): Likewise.
2860 * posix/getppid.c (__getppid): Likewise.
2861 * posix/getuid.c (__getuid): Likewise.
2862 * posix/pause.c (pause): Likewise.
2863 * posix/setpgrp.c (setpgrp): Likewise.
2864 * posix/setsid.c (__setsid): Likewise.
2865 * posix/test-vfork.c (noop): Likewise.
2866 * resolv/gethnamaddr.c (_endhtent): Likewise.
2867 (_gethtent): Likewise.
2868 (ht_endhostent): Likewise.
2869 (gethostent): Likewise.
2870 (dns_service): Likewise.
2871 * stdlib/drand48.c (drand48): Likewise.
2872 * stdlib/lrand48.c (lrand48): Likewise.
2873 * stdlib/mrand48.c (mrand48): Likewise.
2874 * stdlib/rand.c (rand): Likewise.
2875 * stdlib/random.c (__random): Likewise.
2876 * stdlib/setenv.c (clearenv): Likewise.
2877 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2878 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2879 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2880 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2881 (__get_nprocs): Likewise.
2882 (__get_phys_pages): Likewise.
2883 (__get_avphys_pages): Likewise.
2884 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2885 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2886 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2887 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2888 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2889 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2890 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2891 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2892 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2893 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2894 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2895 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2896 * sysdeps/posix/clock.c (clock): Likewise.
2897 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2898 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2899 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2900 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2901 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2902 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2903 (__get_nprocs_conf): Likewise.
2904 (__get_phys_pages): Likewise.
2905 (__get_avphys_pages): Likewise.
2906 * time/clock.c (clock): Likewise.
2907 * time/tzset.c (__tzname_max): Likewise.
2909 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2911 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2912 (__bswap_32): Do not use "register".
2913 * crypt/crypt.c (_ufc_doit_r): Likewise.
2914 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2915 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2916 * gmon/gmon.c (__monstartup): Likewise.
2917 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2918 * hurd/hurdmalloc.c (more_memory): Likewise.
2921 (realloc): Likewise.
2922 (malloc_fork_prepare): Likewise.
2923 (malloc_fork_parent): Likewise.
2924 (malloc_fork_child): Likewise.
2925 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2926 (_svcauth_des): Likewise.
2927 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2928 * inet/inet_net.c (inet_network): Likewise.
2929 * inet/inet_netof.c (inet_netof): Likewise.
2930 * inet/rcmd.c (__validuser2_sa): Likewise.
2931 * io/fts.c (fts_open): Likewise.
2932 (fts_load): Likewise.
2933 (fts_close): Likewise.
2934 (fts_read): Likewise.
2935 (fts_children): Likewise.
2936 (fts_build): Likewise.
2937 (fts_stat): Likewise.
2938 (fts_sort): Likewise.
2939 (fts_alloc): Likewise.
2940 (fts_lfree): Likewise.
2941 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2942 (_IO_file_xsgetn): Likewise.
2943 (_IO_file_xsgetn_mmap): Likewise.
2944 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2945 (_IO_cookie_write): Likewise.
2946 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2947 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2948 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2949 * malloc/obstack.c (_obstack_begin): Likewise.
2950 (_obstack_begin_1): Likewise.
2951 (_obstack_newchunk): Likewise.
2952 (_obstack_allocated_p): Likewise.
2953 (obstack_free): Likewise.
2954 (_obstack_memory_used): Likewise.
2955 * misc/getttyent.c (getttynam): Likewise.
2956 (getttyent): Likewise.
2959 * misc/getusershell.c (initshells): Likewise.
2960 * misc/syslog.c (__vsyslog_chk): Likewise.
2961 * misc/ttyslot.c (ttyslot): Likewise.
2962 * nis/nis_hash.c (__nis_hash): Likewise.
2963 * posix/fnmatch_loop.c (FCT): Likewise.
2964 * posix/getconf.c (print_all): Likewise.
2966 * posix/getopt.c (exchange): Likewise.
2967 * posix/glob.c (globfree): Likewise.
2968 (prefix_array): Likewise.
2969 (__glob_pattern_type): Likewise.
2970 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2971 (NS_GET32): Likewise.
2972 (NS_PUT16): Likewise.
2973 (NS_PUT32): Likewise.
2974 * resolv/gethnamaddr.c (getanswer): Likewise.
2975 (gethostbyname2): Likewise.
2976 (gethostbyaddr): Likewise.
2977 (_gethtent): Likewise.
2978 (_gethtbyname2): Likewise.
2979 (_gethtbyaddr): Likewise.
2980 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2981 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2982 * resolv/res_init.c (__res_vinit): Likewise.
2983 (net_mask): Likewise.
2984 * resolv/res_mkquery.c (outchar): Likewise.
2986 * stdio-common/printf_fp.c (outchar): Likewise.
2988 * stdio-common/printf_fphex.c (outchar): Likewise.
2990 * stdio-common/printf_size.c (outchar): Likewise.
2992 * stdio-common/test_rdwr.c (main): Likewise.
2993 * stdio-common/tfformat.c (matches): Likewise.
2994 * stdio-common/vfprintf.c (outchar): Likewise.
2995 (printf_unknown): Likewise.
2996 (buffered_vfprintf): Likewise.
2997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2998 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2999 (ReadFile): Likewise.
3000 * stdlib/qsort.c (SWAP): Likewise.
3001 (_quicksort): Likewise.
3002 * stdlib/setenv.c (__add_to_environ): Likewise.
3003 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3004 * stdlib/strtol_l.c (__strtol_l): Likewise.
3005 * stdlib/tst-strtod.c (main): Likewise.
3006 * stdlib/tst-strtol.c (main): Likewise.
3007 * stdlib/tst-strtoll.c (main): Likewise.
3008 * string/bits/string2.h (__strcmp_cc): Likewise.
3009 (__strcmp_cg): Likewise.
3010 (__strcspn_c1): Likewise.
3011 (__strcspn_c2): Likewise.
3012 (__strcspn_c3): Likewise.
3013 (__strspn_c1): Likewise.
3014 (__strspn_c2): Likewise.
3015 (__strspn_c3): Likewise.
3016 (__strsep_1c): Likewise.
3017 (__strsep_2c): Likewise.
3018 (__strsep_3c): Likewise.
3019 * string/memccpy.c (__memccpy): Likewise.
3020 * string/stpcpy.c (__stpcpy): Likewise.
3021 * string/strcmp.c (strcmp): Likewise.
3022 * string/strrchr.c (strrchr): Likewise.
3023 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3025 * sysdeps/mach/hurd/getcwd.c
3026 (_hurd_canonicalize_directory_name_internal): Likewise.
3027 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3028 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3029 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3030 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3031 Likewise, in both definitions.
3032 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3034 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3035 64] (__bswap_64): Likewise.
3036 * time/test_time.c (main): Likewise.
3037 * time/tzfile.c (__tzfile_read): Likewise.
3038 (__tzfile_compute): Likewise.
3039 * time/tzset.c (__tzset_parse_tz): Likewise.
3040 (tzset_internal): Likewise.
3041 (compute_change): Likewise.
3042 * wcsmbs/wcscat.c (__wcscat): Likewise.
3043 * wcsmbs/wcschr.c (wcschr): Likewise.
3044 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3045 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3046 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3047 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3048 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3049 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3050 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3051 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3052 * wcsmbs/wmemset.c (wmemset): Likewise.
3054 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3056 * scripts/config.guess: Update to version 2013-05-16.
3057 * scripts/config.sub: Update to version 2013-04-24.
3058 * scripts/install-sh: Update to version 2011-11-20.07.
3059 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3060 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3062 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3064 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3065 * elf/sln.c: Likewise.
3066 * hurd/hurd/ioctl.h: Likewise.
3067 * hurd/hurdmalloc.c: Likewise.
3068 * hurd/xattr.c: Likewise.
3069 * include/shlib-compat.h: Likewise.
3070 * inet/ruserpass.c: Likewise.
3071 * libio/iofgets_u.c: Likewise.
3072 * libio/iofgetws_u.c: Likewise.
3073 * locale/programs/ld-identification.c: Likewise.
3074 * locale/programs/ld-time.c: Likewise.
3075 * mach/msg-destroy.c: Likewise.
3076 * nss/nss_files/files-netgrp.c: Likewise.
3077 * resolv/res_data.c: Likewise.
3078 * soft-fp/op-1.h: Likewise.
3079 * soft-fp/op-2.h: Likewise.
3080 * soft-fp/op-4.h: Likewise.
3081 * soft-fp/op-common.h: Likewise.
3082 * stdio-common/printf_fphex.c: Likewise.
3083 * stdlib/strtod_l.c: Likewise.
3084 * sunrpc/rpc/clnt.h: Likewise.
3085 * sysdeps/generic/framestate.c: Likewise.
3086 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3087 * sysdeps/i386/bsd-setjmp.S: Likewise.
3088 * sysdeps/i386/__longjmp.S: Likewise.
3089 * sysdeps/i386/setjmp.S: Likewise.
3090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3091 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3093 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3099 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3100 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3102 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3107 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3108 * sysdeps/ieee754/support.c: Likewise.
3109 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3110 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3111 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3112 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3113 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3114 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3115 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3116 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3117 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3118 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3119 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3120 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3121 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3122 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3123 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3124 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3125 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3128 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3130 * posix/transbug.c: Remove executable mode.
3132 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3134 * crypt/speeds.c: Remove trailing whitespace.
3135 * dlfcn/default.c: Likewise.
3136 * elf/ifuncdep2.c: Likewise.
3137 * elf/ifuncmain1.c: Likewise.
3138 * elf/ifuncmain1vis.c: Likewise.
3139 * elf/testobj.h: Likewise.
3140 * elf/tst-stackguard1.c: Likewise.
3141 * gmon/sys/gmon.h: Likewise.
3142 * hurd/hurdmsg.c: Likewise.
3143 * hurd/new-fd.c: Likewise.
3144 * hurd/ports-get.c: Likewise.
3145 * iconvdata/ibm1008_420.c: Likewise.
3146 * inet/tst-getni1.c: Likewise.
3147 * inet/tst-getni2.c: Likewise.
3148 * libio/ioungetc.c: Likewise.
3149 * libio/wfiledoalloc.c: Likewise.
3150 * manual/libm-err-tab.pl: Likewise.
3151 * math/w_dremf.c: Likewise.
3152 * misc/ftruncate.c: Likewise.
3153 * posix/bug-glob2.c: Likewise.
3154 * posix/tst-pcre.c: Likewise.
3155 * posix/wait4.c: Likewise.
3156 * resolv/README: Likewise.
3157 * resolv/res_debug.h: Likewise.
3158 * resolv/tst-inet_ntop.c: Likewise.
3159 * setjmp/bug269-setjmp.c: Likewise.
3160 * soft-fp/extended.h: Likewise.
3161 * soft-fp/op-1.h: Likewise.
3162 * soft-fp/op-2.h: Likewise.
3163 * soft-fp/op-4.h: Likewise.
3164 * soft-fp/op-8.h: Likewise.
3165 * soft-fp/testit.c: Likewise.
3166 * stdio-common/bug16.c: Likewise.
3167 * stdlib/random.c: Likewise.
3168 * sunrpc/rpcsvc/rquota.x: Likewise.
3169 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3170 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3171 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3172 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3173 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3174 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3175 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3176 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3177 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3178 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3179 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3197 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3198 * sysdeps/ieee754/s_lib_version.c: Likewise.
3199 * sysdeps/mach/hurd/check_fds.c: Likewise.
3200 * sysdeps/mach/hurd/getsockname.c: Likewise.
3201 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3202 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3203 * sysdeps/powerpc/bits/link.h: Likewise.
3204 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3205 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3206 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3207 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3208 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3209 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3210 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3211 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3212 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3213 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3214 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3215 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3216 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3217 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3218 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3219 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3220 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3221 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3223 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3224 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3225 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3226 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3227 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3228 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3229 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3230 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3231 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3232 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3233 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3234 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3235 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3237 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3238 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3239 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3240 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3241 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3242 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3243 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3244 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3245 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3246 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3247 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3248 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3249 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3250 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3251 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3252 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3253 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3256 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3257 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3258 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3259 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3260 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3261 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3262 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3263 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3264 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3265 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3266 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3267 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3268 * sysdeps/powerpc/sysdep.h: Likewise.
3269 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3270 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3271 * sysdeps/sh/dl-trampoline.S: Likewise.
3272 * sysdeps/sh/memset.S: Likewise.
3273 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3274 * sysdeps/sh/strlen.S: Likewise.
3275 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3276 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3277 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3278 * sysdeps/sparc/sparc32/rem.S: Likewise.
3279 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3280 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3281 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3282 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3283 * sysdeps/sparc/sparc32/urem.S: Likewise.
3284 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3285 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3286 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3287 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3288 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3289 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3290 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3291 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3292 * sysdeps/unix/bsd/times.c: Likewise.
3293 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3294 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3298 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3299 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3300 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3301 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3302 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3303 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3304 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3305 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3306 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3307 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3308 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3309 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3310 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3311 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3312 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3313 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3314 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3315 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3316 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3317 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3318 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3321 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3322 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3323 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3324 * sysdeps/x86_64/strcspn.S: Likewise.
3326 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3328 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3329 generated file. Regenerate properly from gen-translit.pl.
3330 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3331 locale/C-translit.h.
3333 2013-06-05 Andreas Schwab <schwab@suse.de>
3336 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3337 week as 6 instead of -1.
3338 * time/tst-strptime.c (day_tests): Add test case.
3340 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3342 * sysdeps/generic/math_private.h
3343 (libc_feholdexcept_setround_53bit): Replace with
3344 libc_feholdsetround_53bit.
3345 (libc_feupdateenv_53bit): Replace with
3346 libc_feresetround_53bit.
3347 (SET_RESTORE_ROUND_53BIT): Adjust.
3349 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3351 * string/test-strchrnul.c: Add copyright header.
3353 * posix/tst-getaddrinfo4.c: Increase test timeout.
3355 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3358 * math/libm-test.inc (MAX_EXP): Remove
3360 (ulp): Use MIN_EXP - MANT_DIG.
3361 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3363 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3365 * po/be.po: Revert last change.
3366 * po/zh_CN.po: Likewise.
3367 * po/header.pot: Likewise.
3369 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3371 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3372 link-libc-deps to empty as target-specific variable.
3373 * Makerules (link-libc-args): New variable.
3374 (libc-for-link): Likewise.
3375 (link-libc-deps): Likewise.
3376 (lib%.so): Depend on $(link-libc-deps). Link with
3378 (build-module): Link with $(link-libc-args).
3379 (build-module-asneeded): Likewise.
3380 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3382 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3383 target-specific variable.
3384 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3385 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3386 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3388 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3390 ($(objpfx)libpcprofile.so): Likewise.
3391 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3393 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3394 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3395 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3397 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3398 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3399 * login/Makefile ($(objpfx)libutil.so): Likewise.
3400 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3401 * math/Makefile ($(objpfx)libm.so): Likewise.
3402 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3403 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3404 variable instead of depending directly on libc.
3405 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3406 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3408 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3410 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3411 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3412 ($(objpfx)libanl.so): Likewise.
3413 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3415 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3417 * sysdeps/i386/fpu/Makefile: Remove file.
3418 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3419 ($(objpfx)libm.so): Remove dependency on ld.so.
3421 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3424 * nis/yp_xdr.c (XDRMAXNAME): Define.
3425 (XDRMAXRECORD): Define.
3426 (xdr_domainname): Use XDRMAXNAME.
3427 (xdr_mapname): Likewise.
3428 (xdr_peername): Likewise.
3429 (xdr_keydat): Use XDRMAXRECORD.
3430 (xdr_valdat): Likewise.
3432 2013-05-30 Jeff Law <law@redhat.com>
3435 * manual/errno.texi (ESTALE): Update to account for more than
3436 just NFS file systems.
3437 * sysdeps/gnu/errlist.c: Regenerated.
3439 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3442 * elf/Makefile (tests): Add tst-null-argv.
3443 (modules-names): Add tst-null-argv-lib.
3444 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3445 (tst-null-argv-ENV): Set environment for tst-null-argv.
3446 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3447 (RTLD_PROGNAME): New macro.
3448 * elf/tst-null-argv.c: New test case.
3449 * elf/tst-null-argv-lib.c: Library for test case.
3450 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3451 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3452 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3453 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3454 * elf/dl-init.c (call_init): Likewise.
3455 (_dl_init): Likewise.
3456 * elf/dl-load.c (print_search_path): Likewise.
3457 (_dl_map_object): Likewise.
3458 * elf/dl-lookup.c (do_lookup_x): Likewise.
3459 (add_dependency): Likewise.
3460 (_dl_lookup_symbol_x): Likewise.
3461 (_dl_debug_bindings): Likewise.
3462 * elf/dl-open.c (_dl_show_scope): Likewise.
3463 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3464 * elf/dl-version.c (match_symbol): Likewise.
3465 (_dl_check_map_versions): Likewise.
3466 * elf/rtld.c (dl_main): Likewise.
3467 (print_unresolved): Use RTLD_PROGNAME.
3468 (print_missing_version): Likewise.
3469 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3470 (elf_machine_rela): Likewise.
3471 * sysdeps/powerpc/powerpc32/dl-machine.c
3472 (__process_machine_rela): Likewise.
3473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3475 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3477 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3479 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3480 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3486 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3488 * po/be.po: Add descriptive title.
3489 * po/zh_CN.po: Likewise.
3490 * po/header.pot: Likewise.
3492 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3494 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3496 (enlarge_archive): Likewise.
3498 2013-05-28 Ben North <ben@redfrontdoor.org>
3500 * manual/arith.texi (frexp): It is the magnitude of the return
3501 value which lies in [0.5, 1), not the return value itself.
3503 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3507 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3509 * stdio-common/bug26.c (main): Correct fscanf template.
3511 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3512 declare _dl_skip_args.
3514 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3517 * manual/platform.texi: Add missing @end deftypefun.
3519 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3522 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3523 bit of mantissa of 2^16382.
3524 * math/libm-test.inc (hypot_test_data): Add more tests.
3526 * math/libm-test.inc: Add drem and pow10 to list of tested
3528 (pow10_test): New function.
3529 (drem_test): Likewise.
3530 (drem_test_tonearest): Likewise.
3531 (drem_test_towardzero): Likewise.
3532 (drem_test_downward): Likewise.
3533 (drem_test_upward): Likewise.
3534 (main): Call the new functions.
3536 * math/libm-test.inc (finite_test_data): Remove.
3537 (finite_test): Run tests from isfinite_test_data.
3538 (gamma_test_data): Remove.
3539 (gamma_test): Run tests from lgamma_test_data.
3540 * sysdeps/i386/fpu/libm-test-ulps: Update.
3541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3543 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3545 * manual/platform.texi: Add PowerPC PPR function set documentation.
3546 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3549 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3551 * math/libm-test.inc (MAX_EXP): Define.
3553 (ulp): New function.
3554 (check_float_internal): Use ULPDIFF.
3555 (cpow_test): Disable failing test.
3556 (check_ulp): Test ulp() implemetnation.
3557 (main): Call check_ulp before starting tests.
3559 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3561 * math/gen-libm-test.pl (generate_testfile): Do not handle
3562 START_DATA and END_DATA.
3563 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3565 (acos_tonearest_test_data): Likewise.
3566 (acos_towardzero_test_data): Likewise.
3567 (acos_downward_test_data): Likewise.
3568 (acos_upward_test_data): Likewise.
3569 (acosh_test_data): Likewise.
3570 (asin_test_data): Likewise.
3571 (asin_tonearest_test_data): Likewise.
3572 (asin_towardzero_test_data): Likewise.
3573 (asin_downward_test_data): Likewise.
3574 (asin_upward_test_data): Likewise.
3575 (asinh_test_data): Likewise.
3576 (atan_test_data): Likewise.
3577 (atanh_test_data): Likewise.
3578 (atan2_test_data): Likewise.
3579 (cabs_test_data): Likewise.
3580 (cacos_test_data): Likewise.
3581 (cacosh_test_data): Likewise.
3582 (carg_test_data): Likewise.
3583 (casin_test_data): Likewise.
3584 (casinh_test_data): Likewise.
3585 (catan_test_data): Likewise.
3586 (catanh_test_data): Likewise.
3587 (cbrt_test_data): Likewise.
3588 (ccos_test_data): Likewise.
3589 (ccosh_test_data): Likewise.
3590 (ceil_test_data): Likewise.
3591 (cexp_test_data): Likewise.
3592 (cimag_test_data): Likewise.
3593 (clog_test_data): Likewise.
3594 (clog10_test_data): Likewise.
3595 (conj_test_data): Likewise.
3596 (copysign_test_data): Likewise.
3597 (cos_test_data): Likewise.
3598 (cos_tonearest_test_data): Likewise.
3599 (cos_towardzero_test_data): Likewise.
3600 (cos_downward_test_data): Likewise.
3601 (cos_upward_test_data): Likewise.
3602 (cosh_test_data): Likewise.
3603 (cosh_tonearest_test_data): Likewise.
3604 (cosh_towardzero_test_data): Likewise.
3605 (cosh_downward_test_data): Likewise.
3606 (cosh_upward_test_data): Likewise.
3607 (cpow_test_data): Likewise.
3608 (cproj_test_data): Likewise.
3609 (creal_test_data): Likewise.
3610 (csin_test_data): Likewise.
3611 (csinh_test_data): Likewise.
3612 (csqrt_test_data): Likewise.
3613 (ctan_test_data): Likewise.
3614 (ctan_tonearest_test_data): Likewise.
3615 (ctan_towardzero_test_data): Likewise.
3616 (ctan_downward_test_data): Likewise.
3617 (ctan_upward_test_data): Likewise.
3618 (ctanh_test_data): Likewise.
3619 (ctanh_tonearest_test_data): Likewise.
3620 (ctanh_towardzero_test_data): Likewise.
3621 (ctanh_downward_test_data): Likewise.
3622 (ctanh_upward_test_data): Likewise.
3623 (erf_test_data): Likewise.
3624 (erfc_test_data): Likewise.
3625 (exp_test_data): Likewise.
3626 (exp_tonearest_test_data): Likewise.
3627 (exp_towardzero_test_data): Likewise.
3628 (exp_downward_test_data): Likewise.
3629 (exp_upward_test_data): Likewise.
3630 (exp10_test_data): Likewise.
3631 (exp2_test_data): Likewise.
3632 (expm1_test_data): Likewise.
3633 (fabs_test_data): Likewise.
3634 (fdim_test_data): Likewise.
3635 (finite_test_data): Likewise.
3636 (floor_test_data): Likewise.
3637 (fma_test_data): Likewise.
3638 (fma_towardzero_test_data): Likewise.
3639 (fma_downward_test_data): Likewise.
3640 (fma_upward_test_data): Likewise.
3641 (fmax_test_data): Likewise.
3642 (fmin_test_data): Likewise.
3643 (fmod_test_data): Likewise.
3644 (fpclassify_test_data): Likewise.
3645 (frexp_test_data): Likewise.
3646 (gamma_test_data): Likewise.
3647 (hypot_test_data): Likewise.
3648 (ilogb_test_data): Likewise.
3649 (isfinite_test_data): Likewise.
3650 (isgreater_test_data): Likewise.
3651 (isgreaterequal_test_data): Likewise.
3652 (isinf_test_data): Likewise.
3653 (isless_test_data): Likewise.
3654 (islessequal_test_data): Likewise.
3655 (islessgreater_test_data): Likewise.
3656 (isnan_test_data): Likewise.
3657 (isnormal_test_data): Likewise.
3658 (issignaling_test_data): Likewise.
3659 (isunordered_test_data): Likewise.
3660 (j0_test_data): Likewise.
3661 (j1_test_data): Likewise.
3662 (jn_test_data): Likewise.
3663 (ldexp_test_data): Likewise.
3664 (lgamma_test_data): Likewise.
3665 (lrint_test_data): Likewise.
3666 (lrint_tonearest_test_data): Likewise.
3667 (lrint_towardzero_test_data): Likewise.
3668 (lrint_downward_test_data): Likewise.
3669 (lrint_upward_test_data): Likewise.
3670 (llrint_test_data): Likewise.
3671 (llrint_tonearest_test_data): Likewise.
3672 (llrint_towardzero_test_data): Likewise.
3673 (llrint_downward_test_data): Likewise.
3674 (llrint_upward_test_data): Likewise.
3675 (log_test_data): Likewise.
3676 (log10_test_data): Likewise.
3677 (log1p_test_data): Likewise.
3678 (log2_test_data): Likewise.
3679 (logb_test_data): Likewise.
3680 (logb_downward_test_data): Likewise.
3681 (lround_test_data): Likewise.
3682 (llround_test_data): Likewise.
3683 (modf_test_data): Likewise.
3684 (nearbyint_test_data): Likewise.
3685 (nextafter_test_data): Likewise.
3686 (nexttoward_test_data): Likewise.
3687 (pow_test_data): Likewise.
3688 (pow_tonearest_test_data): Likewise.
3689 (pow_towardzero_test_data): Likewise.
3690 (pow_downward_test_data): Likewise.
3691 (pow_upward_test_data): Likewise.
3692 (remainder_test_data): Likewise.
3693 (remainder_tonearest_test_data): Likewise.
3694 (remainder_towardzero_test_data): Likewise.
3695 (remainder_downward_test_data): Likewise.
3696 (remainder_upward_test_data): Likewise.
3697 (remquo_test_data): Likewise.
3698 (rint_test_data): Likewise.
3699 (rint_tonearest_test_data): Likewise.
3700 (rint_towardzero_test_data): Likewise.
3701 (rint_downward_test_data): Likewise.
3702 (rint_upward_test_data): Likewise.
3703 (round_test_data): Likewise.
3704 (scalb_test_data): Likewise.
3705 (scalbn_test_data): Likewise.
3706 (scalbln_test_data): Likewise.
3707 (signbit_test_data): Likewise.
3708 (sin_test_data): Likewise.
3709 (sin_tonearest_test_data): Likewise.
3710 (sin_towardzero_test_data): Likewise.
3711 (sin_downward_test_data): Likewise.
3712 (sin_upward_test_data): Likewise.
3713 (sincos_test_data): Likewise.
3714 (sinh_test_data): Likewise.
3715 (sinh_tonearest_test_data): Likewise.
3716 (sinh_towardzero_test_data): Likewise.
3717 (sinh_downward_test_data): Likewise.
3718 (sinh_upward_test_data): Likewise.
3719 (sqrt_test_data): Likewise.
3720 (tan_test_data): Likewise.
3721 (tan_tonearest_test_data): Likewise.
3722 (tan_towardzero_test_data): Likewise.
3723 (tan_downward_test_data): Likewise.
3724 (tan_upward_test_data): Likewise.
3725 (tanh_test_data): Likewise.
3726 (tgamma_test_data): Likewise.
3727 (trunc_test_data): Likewise.
3728 (y0_test_data): Likewise.
3729 (y1_test_data): Likewise.
3730 (yn_test_data): Likewise.
3731 (significand_test_data): Likewise.
3733 * math/gen-libm-test.pl (@functions): Remove variable.
3734 (generate_testfile): Don't handle START and END lines.
3735 * math/libm-test.inc (START): New macro.
3737 (END_COMPLEX): Likewise.
3738 (acos_test): Use END macro without arguments.
3739 (acos_test_tonearest): Likewise.
3740 (acos_test_towardzero): Likewise.
3741 (acos_test_downward): Likewise.
3742 (acos_test_upward): Likewise.
3743 (acosh_test): Likewise.
3744 (asin_test): Likewise.
3745 (asin_test_tonearest): Likewise.
3746 (asin_test_towardzero): Likewise.
3747 (asin_test_downward): Likewise.
3748 (asin_test_upward): Likewise.
3749 (asinh_test): Likewise.
3750 (atan_test): Likewise.
3751 (atanh_test): Likewise.
3752 (atan2_test): Likewise.
3753 (cabs_test): Likewise.
3754 (cacos_test): Use END_COMPLEX macro without arguments.
3755 (cacosh_test): Likewise.
3756 (carg_test): Use END macro without arguments.
3757 (casin_test): Use END_COMPLEX macro without arguments.
3758 (casinh_test): Likewise.
3759 (catan_test): Likewise.
3760 (catanh_test): Likewise.
3761 (cbrt_test): Use END macro without arguments.
3762 (ccos_test): Use END_COMPLEX macro without arguments.
3763 (ccosh_test): Likewise.
3764 (ceil_test): Use END macro without arguments.
3765 (cexp_test): Use END_COMPLEX macro without arguments.
3766 (cimag_test): Use END macro without arguments.
3767 (clog_test): Use END_COMPLEX macro without arguments.
3768 (clog10_test): Likewise.
3769 (conj_test): Likewise.
3770 (copysign_test): Use END macro without arguments.
3771 (cos_test): Likewise.
3772 (cos_test_tonearest): Likewise.
3773 (cos_test_towardzero): Likewise.
3774 (cos_test_downward): Likewise.
3775 (cos_test_upward): Likewise.
3776 (cosh_test): Likewise.
3777 (cosh_test_tonearest): Likewise.
3778 (cosh_test_towardzero): Likewise.
3779 (cosh_test_downward): Likewise.
3780 (cosh_test_upward): Likewise.
3781 (cpow_test): Use END_COMPLEX macro without arguments.
3782 (cproj_test): Likewise.
3783 (creal_test): Use END macro without arguments.
3784 (csin_test): Use END_COMPLEX macro without arguments.
3785 (csinh_test): Likewise.
3786 (csqrt_test): Likewise.
3787 (ctan_test): Likewise.
3788 (ctan_test_tonearest): Likewise.
3789 (ctan_test_towardzero): Likewise.
3790 (ctan_test_downward): Likewise.
3791 (ctan_test_upward): Likewise.
3792 (ctanh_test): Likewise.
3793 (ctanh_test_tonearest): Likewise.
3794 (ctanh_test_towardzero): Likewise.
3795 (ctanh_test_downward): Likewise.
3796 (ctanh_test_upward): Likewise.
3797 (erf_test): Use END macro without arguments.
3798 (erfc_test): Likewise.
3799 (exp_test): Likewise.
3800 (exp_test_tonearest): Likewise.
3801 (exp_test_towardzero): Likewise.
3802 (exp_test_downward): Likewise.
3803 (exp_test_upward): Likewise.
3804 (exp10_test): Likewise.
3805 (exp2_test): Likewise.
3806 (expm1_test): Likewise.
3807 (fabs_test): Likewise.
3808 (fdim_test): Likewise.
3809 (finite_test): Likewise.
3810 (floor_test): Likewise.
3811 (fma_test): Likewise.
3812 (fma_test_towardzero): Likewise.
3813 (fma_test_downward): Likewise.
3814 (fma_test_upward): Likewise.
3815 (fmax_test): Likewise.
3816 (fmin_test): Likewise.
3817 (fmod_test): Likewise.
3818 (fpclassify_test): Likewise.
3819 (frexp_test): Likewise.
3820 (gamma_test): Likewise.
3821 (hypot_test): Likewise.
3822 (ilogb_test): Likewise.
3823 (isfinite_test): Likewise.
3824 (isgreater_test): Likewise.
3825 (isgreaterequal_test): Likewise.
3826 (isinf_test): Likewise.
3827 (isless_test): Likewise.
3828 (islessequal_test): Likewise.
3829 (islessgreater_test): Likewise.
3830 (isnan_test): Likewise.
3831 (isnormal_test): Likewise.
3832 (issignaling_test): Likewise.
3833 (isunordered_test): Likewise.
3834 (j0_test): Likewise.
3835 (j1_test): Likewise.
3836 (jn_test): Likewise.
3837 (ldexp_test): Likewise.
3838 (lgamma_test): Likewise.
3839 (lrint_test): Likewise.
3840 (lrint_test_tonearest): Likewise.
3841 (lrint_test_towardzero): Likewise.
3842 (lrint_test_downward): Likewise.
3843 (lrint_test_upward): Likewise.
3844 (llrint_test): Likewise.
3845 (llrint_test_tonearest): Likewise.
3846 (llrint_test_towardzero): Likewise.
3847 (llrint_test_downward): Likewise.
3848 (llrint_test_upward): Likewise.
3849 (log_test): Likewise.
3850 (log10_test): Likewise.
3851 (log1p_test): Likewise.
3852 (log2_test): Likewise.
3853 (logb_test): Likewise.
3854 (logb_test_downward): Likewise.
3855 (lround_test): Likewise.
3856 (llround_test): Likewise.
3857 (modf_test): Likewise.
3858 (nearbyint_test): Likewise.
3859 (nextafter_test): Likewise.
3860 (nexttoward_test): Likewise.
3861 (pow_test): Likewise.
3862 (pow_test_tonearest): Likewise.
3863 (pow_test_towardzero): Likewise.
3864 (pow_test_downward): Likewise.
3865 (pow_test_upward): Likewise.
3866 (remainder_test): Likewise.
3867 (remainder_test_tonearest): Likewise.
3868 (remainder_test_towardzero): Likewise.
3869 (remainder_test_downward): Likewise.
3870 (remainder_test_upward): Likewise.
3871 (remquo_test): Likewise.
3872 (rint_test): Likewise.
3873 (rint_test_tonearest): Likewise.
3874 (rint_test_towardzero): Likewise.
3875 (rint_test_downward): Likewise.
3876 (rint_test_upward): Likewise.
3877 (round_test): Likewise.
3878 (scalb_test): Likewise.
3879 (scalbn_test): Likewise.
3880 (scalbln_test): Likewise.
3881 (signbit_test): Likewise.
3882 (sin_test): Likewise.
3883 (sin_test_tonearest): Likewise.
3884 (sin_test_towardzero): Likewise.
3885 (sin_test_downward): Likewise.
3886 (sin_test_upward): Likewise.
3887 (sincos_test): Likewise.
3888 (sinh_test): Likewise.
3889 (sinh_test_tonearest): Likewise.
3890 (sinh_test_towardzero): Likewise.
3891 (sinh_test_downward): Likewise.
3892 (sinh_test_upward): Likewise.
3893 (sqrt_test): Likewise.
3894 (tan_test): Likewise.
3895 (tan_test_tonearest): Likewise.
3896 (tan_test_towardzero): Likewise.
3897 (tan_test_downward): Likewise.
3898 (tan_test_upward): Likewise.
3899 (tanh_test): Likewise.
3900 (tgamma_test): Likewise.
3901 (trunc_test): Likewise.
3902 (y0_test): Likewise.
3903 (y1_test): Likewise.
3904 (yn_test): Likewise.
3905 (significand_test): Likewise.
3907 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3910 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3912 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3915 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3916 __ppc_mdoio and __ppc_mdoom.
3917 * manual/platform.texi: Document new functions __ppc_yield,
3918 __ppc_mdoio and __ppc_mdoom.
3920 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3922 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3923 (main): Mention "tls" pseudo-hwcap is legacy.
3924 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3926 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3928 * math/gen-libm-test.pl (parse_args): Output only string of
3929 arguments as text for test name, not full call or descriptions of
3930 tests for extra outputs.
3931 (generate_testfile): Do not pass function name to parse_args.
3932 Generate this_func variable from START.
3933 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3935 (struct test_ff_f_data): Likewise.
3936 (test_ff_f_data_nexttoward): Likewise.
3937 (struct test_fi_f_data): Likewise.
3938 (struct test_fl_f_data): Likewise.
3939 (struct test_if_f_data): Likewise.
3940 (struct test_fff_f_data): Likewise.
3941 (struct test_c_f_data): Likewise.
3942 (struct test_f_f1_data): Likewise. Remove field extra_name.
3943 (struct test_fF_f1_data): Likewise.
3944 (struct test_ffI_f1_data): Likewise.
3945 (struct test_c_c_data): Rename test_name field to arg_str.
3946 (struct test_cc_c_data): Likewise.
3947 (struct test_f_i_data): Likewise.
3948 (struct test_ff_i_data): Likewise.
3949 (struct test_f_l_data): Likewise.
3950 (struct test_f_L_data): Likewise.
3951 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3953 (COMMON_TEST_SETUP): New macro.
3954 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3955 (COMMON_TEST_CLEANUP): Likewise.
3956 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3957 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3959 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3960 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3962 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3963 (RUN_TEST_fff_f): Take argument string. Call new setup and
3965 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3966 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3968 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3969 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3971 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3972 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3974 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3975 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3977 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3978 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3980 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3981 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3983 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3984 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3986 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3987 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3989 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3990 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3992 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3993 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3995 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3996 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3998 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3999 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4001 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4002 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4004 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4005 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4007 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4008 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4010 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4012 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4014 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4015 to _sifields.sigfault.
4016 (si_addr_lsb): Define new macro.
4017 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4018 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4019 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4021 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4024 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4026 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4028 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4031 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4033 * math/gen-libm-test.pl (parse_args): Do not include expected
4034 result in test name.
4035 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4036 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4037 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4038 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4039 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4042 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4044 * benchtests/Makefile: Sort function entries.
4046 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4047 tanh, asinh, acosh, atanh.
4048 * benchtests/acos-inputs: New file.
4049 * benchtests/acosh-inputs: New file.
4050 * benchtests/asin-inputs: New file.
4051 * benchtests/asinh-inputs: New file.
4052 * benchtests/atanh-inputs: New file.
4053 * benchtests/cosh-inputs: New file.
4054 * benchtests/log-inputs: New file.
4055 * benchtests/sinh-inputs: New file.
4056 * benchtests/tanh-inputs: New file.
4058 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4061 * posix/tst-getaddrinfo4.c: New test.
4062 * posix/Makefile (tests): Add it.
4064 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4067 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4068 when no services were used.
4069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4070 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4072 2013-05-21 Andreas Schwab <schwab@suse.de>
4075 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4076 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4078 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4079 redundant variable declarations and reallocation of buffer when
4080 parsing as IPv6 address. Always set NSS status when called from
4081 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4082 buffer too small. Correct computation of needed size.
4083 * nss/Makefile (tests): Add test-digits-dots.
4084 * nss/test-digits-dots.c: New test.
4086 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4088 * benchtests/Makefile: Remove instructions for adding
4090 * benchtests/README: New file to explain how to execute and
4091 enhance the benchmark tests.
4093 2013-05-21 Andreas Schwab <schwab@suse.de>
4096 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4097 * setjmp/tst-sigsetjmp.c: New test.
4099 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4101 * sysdeps/x86_64/memset.S (memset): New implementation.
4102 (__bzero): Likewise.
4103 (__memset_tail): New function.
4105 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4107 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4108 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4109 __memcpy_sse2_unaligned ifunc selection.
4110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4111 Add memcpy-sse2-unaligned.S.
4112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4113 Add: __memcpy_sse2_unaligned.
4115 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4118 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4119 math_force_eval before restoring floating-point envrionment.
4120 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4123 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4125 (__nearbyintl): Use math_force_eval before restoring
4126 floating-point environment.
4127 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4129 * math/gen-libm-test.pl (special_functions): Remove.
4130 (parse_args): Don't handle TEST_extra. Handle functions with no
4132 * math/libm-test.inc (struct test_sincos_data): Replace with
4133 struct test_fFF_11_data.
4134 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4135 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4136 (sincos_test_data): Change element type to struct
4137 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4138 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4139 RUN_TEST_LOOP_sincos.
4140 * math/README.libm-test: Don't mention special handling of
4141 individual functions.
4142 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4143 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4144 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4145 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4146 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4149 * math/gen-libm-test.pl (get_variable): Remove function.
4150 (parse_args): Don't show pointer parameters to call in test
4151 names. Use "extra output N" in test names for extra outputs
4152 rather than naming variables.
4154 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4157 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4158 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4159 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4161 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4163 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4166 * math/gen-libm-test.pl (@tests): Remove variable.
4168 (new_test): Remove function.
4169 (show_exceptions): New function.
4170 (special_functions): Use show_exceptions instead of new_test.
4171 (parse_args): Likewise.
4172 (generate_testfile): Pass only function name in generated call to
4173 print_max_error or print_complex_max_error.
4174 (get_ulps): Do not handle complex tests specially.
4175 (output_test): Rename to ...
4176 (get_all_ulps_for_test): ... this. Return a string rather than
4177 printing to a file. Require ulps to be present.
4178 (output_ulps): Generate arrays rather than #defines.
4179 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4180 (struct ulp_data): New type.
4181 (BUILD_COMPLEX_ULP): Remove macro.
4182 (compare_ulp_data): New function.
4183 (find_ulps): Likewise.
4184 (find_test_ulps): Likewise.
4185 (find_function_ulps): Likewise.
4186 (find_complex_function_ulps): Likewise.
4187 (print_max_error): Determine allowed ulps using
4189 (print_complex_max_error): Determine allowed ulps using
4190 find_complex_function_ulps.
4191 (check_float_internal): Determine max ulps using find_test_ulps.
4192 (check_float): Do not take max_ulp parameter. Update call to
4193 check_float_internal.
4194 (check_complex): Likewise.
4195 (check_int): Do not take max_ulp parameter.
4196 (check_long): Likewise.
4197 (check_bool): Likewise.
4198 (check_longlong): Likewise.
4199 (struct test_f_f_data): Remove max_ulp field.
4200 (struct test_ff_f_data): Likewise.
4201 (struct test_ff_f_data_nexttoward): Likewise.
4202 (struct test_fi_f_data): Likewise.
4203 (struct test_fl_f_data): Likewise.
4204 (struct test_if_f_data): Likewise.
4205 (struct test_fff_f_data): Likewise.
4206 (struct test_c_f_data): Likewise.
4207 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4208 (struct test_fF_f1_data): Likewise.
4209 (struct test_ffI_f1_data): Likewise.
4210 (struct test_c_c_data): Remove max_ulp field.
4211 (struct test_cc_c_data): Likewise.
4212 (struct test_f_i_data): Likewise.
4213 (struct test_ff_i_data): Likewise.
4214 (struct test_f_l_data): Likewise.
4215 (struct test_f_L_data): Likewise.
4216 (struct test_sincos_data): Likewise.
4217 (RUN_TEST_f_f): Do not handle ulps.
4218 (RUN_TEST_LOOP_f_f): Likewise.
4219 (RUN_TEST_2_f): Likewise.
4220 (RUN_TEST_LOOP_2_f): Likewise.
4221 (RUN_TEST_fff_f): Likewise.
4222 (RUN_TEST_LOOP_fff_f): Likewise.
4223 (RUN_TEST_c_f): Likewise.
4224 (RUN_TEST_LOOP_c_f): Likewise.
4225 (RUN_TEST_f_f1): Likewise.
4226 (RUN_TEST_LOOP_f_f1): Likewise.
4227 (RUN_TEST_fF_f1): Likewise.
4228 (RUN_TEST_LOOP_fF_f1): Likewise.
4229 (RUN_TEST_fI_f1): Likewise.
4230 (RUN_TEST_LOOP_fI_f1): Likewise.
4231 (RUN_TEST_ffI_f1): Likewise.
4232 (RUN_TEST_LOOP_ffI_f1): Likewise.
4233 (RUN_TEST_c_c): Likewise.
4234 (RUN_TEST_LOOP_c_c): Likewise.
4235 (RUN_TEST_cc_c): Likewise.
4236 (RUN_TEST_LOOP_cc_c): Likewise.
4237 (RUN_TEST_f_i): Likewise.
4238 (RUN_TEST_LOOP_f_i): Likewise.
4239 (RUN_TEST_f_i_tg): Likewise.
4240 (RUN_TEST_LOOP_f_i_tg): Likewise.
4241 (RUN_TEST_ff_i_tg): Likewise.
4242 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4243 (RUN_TEST_f_b): Likewise.
4244 (RUN_TEST_LOOP_f_b): Likewise.
4245 (RUN_TEST_f_b_tg): Likewise.
4246 (RUN_TEST_LOOP_f_b_tg): Likewise.
4247 (RUN_TEST_f_l): Likewise.
4248 (RUN_TEST_LOOP_f_l): Likewise.
4249 (RUN_TEST_f_L): Likewise.
4250 (RUN_TEST_LOOP_f_L): Likewise.
4251 (RUN_TEST_sincos): Likewise.
4252 (RUN_TEST_LOOP_sincos): Likewise.
4254 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4258 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4259 main case of finite arguments, set rounding mode to FE_TONEAREST
4260 and discard exceptions.
4261 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4263 (remainder_tonearest_test_data): New variable.
4264 (remainder_test_tonearest): New function.
4265 (remainder_towardzero_test_data): New variable.
4266 (remainder_test_towardzero): New function.
4267 (remainder_downward_test_data): New variable.
4268 (remainder_test_downward): New function.
4269 (remainder_upward_test_data): New variable.
4270 (remainder_test_upward): New function.
4271 (main): Call the new test functions.
4273 * math/libm-test.inc (struct test_f_f1_data): Remove field
4275 (struct test_fF_f1_data): Likewise.
4276 (struct test_ffI_f1_data): Likewise.
4277 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4278 based on value of EXTRA_EXPECTED.
4279 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4280 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4281 EXTRA_VAR based on value of EXTRA_EXPECTED.
4282 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4283 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4284 EXTRA_VAR based on value of EXTRA_EXPECTED.
4285 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4286 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4287 EXTRA_VAR based on value of EXTRA_EXPECTED.
4288 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4289 * math/gen-libm-test.pl (parse_args): Don't output initializers
4290 for extra output values.
4292 * math/libm-test.inc (check_int): Expect result to be exactly
4293 equal to expected value and do not handle ulps.
4294 (check_long): Likewise.
4295 (check_longlong): Likewise.
4297 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4299 (cimag_test_data): Likewise.
4300 (conj_test_data): Likewise.
4301 (copysign_test_data): Likewise.
4302 (cproj_test_data): Likewise.
4303 (creal_test_data): Likewise.
4304 (fabs_test_data): Likewise.
4305 (fdim_test_data): Likewise.
4306 (finite_test_data): Likewise.
4307 (floor_test_data): Likewise.
4308 (fmax_test_data): Likewise.
4309 (fmin_test_data): Likewise.
4310 (fmod_test_data): Likewise.
4311 (fpclassify_test_data): Likewise.
4312 (frexp_test_data): Likewise.
4313 (ilogb_test_data): Likewise.
4314 (isfinite_test_data): Likewise.
4315 (isgreater_test_data): Likewise.
4316 (isgreaterequal_test_data): Likewise.
4317 (isinf_test_data): Likewise.
4318 (isless_test_data): Likewise.
4319 (islessequal_test_data): Likewise.
4320 (islessgreater_test_data): Likewise.
4321 (isnan_test_data): Likewise.
4322 (isnormal_test_data): Likewise.
4323 (issignaling_test_data): Likewise.
4324 (isunordered_test_data): Likewise.
4325 (ldexp_test_data): Likewise.
4326 (lrint_test_data): Likewise.
4327 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4328 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4329 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4330 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4331 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4332 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4334 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4335 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4336 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4337 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4339 (lrint_downward_test_data): Test for "inexact" exceptions.
4340 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4341 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4342 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4344 (lrint_upward_test_data): Test for "inexact" exceptions.
4345 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4347 (llrint_test_data): Test for "inexact" exceptions.
4348 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4349 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4350 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4351 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4352 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4353 (llrint_downward_test_data): Test for "inexact" exceptions.
4354 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4355 (llrint_upward_test_data): Test for "inexact" exceptions.
4356 (logb_test_data): Likewise.
4357 (logb_downward_test_data): Likewise.
4358 (nextafter_test_data): Likewise.
4359 (nexttoward_test_data): Likewise.
4360 (remainder_test_data): Likewise.
4361 (remquo_test_data): Likewise.
4362 (scalbn_test_data): Likewise.
4363 (scalbln_test_data): Likewise.
4364 (signbit_test_data): Likewise.
4365 (sqrt_test_data): Likewise.
4366 (significand_test_data): Likewise.
4368 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4371 * benchtests/bench-modf.c (struct args): Mark arg0 as
4373 * scripts/bench.pl: Mark members of struct args as volatile.
4375 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4378 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4379 negative infinity on POWER6 or lower.
4380 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4382 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4385 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4386 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4387 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4388 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4389 (_FP_SETQNAN): New macro.
4390 (_FP_SETQNAN_SEMIRAW): Likewise.
4391 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4392 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4393 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4394 (FP_EXTEND): Use _FP_FRAC_SNANP.
4395 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4396 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4398 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4400 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4403 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4405 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4406 with DIVIDE_BY_ZERO_EXCEPTION.
4407 (gamma_test_data): Likewise.
4408 (lgamma_test_data): Likewise.
4409 (log_test_data): Likewise.
4410 (log10_test_data): Likewise.
4411 (log2_test_data): Likewise.
4412 (tgamma_test_data): Likewise.
4414 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4415 (acos_test_tonearest): Likewise.
4416 (acos_test_towardzero): Likewise.
4417 (acos_test_downward): Likewise.
4418 (acos_test_upward): Likewise.
4419 (acosh_test): Likewise.
4420 (asin_test): Likewise.
4421 (asin_test_tonearest): Likewise.
4422 (asin_test_towardzero): Likewise.
4423 (asin_test_downward): Likewise.
4424 (asin_test_upward): Likewise.
4425 (asinh_test): Likewise.
4426 (atan_test): Likewise.
4427 (atanh_test): Likewise.
4428 (atan2_test): Likewise.
4429 (cabs_test): Likewise.
4430 (cacos_test): Likewise.
4431 (cacosh_test): Likewise.
4432 (casin_test): Likewise.
4433 (casinh_test): Likewise.
4434 (catan_test): Likewise.
4435 (catanh_test): Likewise.
4436 (cbrt_test): Likewise.
4437 (ccos_test): Likewise.
4438 (ccosh_test): Likewise.
4439 (cexp_test): Likewise.
4440 (clog_test): Likewise.
4441 (clog10_test): Likewise.
4442 (cos_test): Likewise.
4443 (cos_test_tonearest): Likewise.
4444 (cos_test_towardzero): Likewise.
4445 (cos_test_downward): Likewise.
4446 (cos_test_upward): Likewise.
4447 (cosh_test): Likewise.
4448 (cosh_test_tonearest): Likewise.
4449 (cosh_test_towardzero): Likewise.
4450 (cosh_test_downward): Likewise.
4451 (cosh_test_upward): Likewise.
4452 (cpow_test): Likewise.
4453 (csin_test): Likewise.
4454 (csinh_test): Likewise.
4455 (csqrt_test): Likewise.
4456 (ctan_test): Likewise.
4457 (ctan_test_tonearest): Likewise.
4458 (ctan_test_towardzero): Likewise.
4459 (ctan_test_downward): Likewise.
4460 (ctan_test_upward): Likewise.
4461 (ctanh_test): Likewise.
4462 (ctanh_test_tonearest): Likewise.
4463 (ctanh_test_towardzero): Likewise.
4464 (ctanh_test_downward): Likewise.
4465 (ctanh_test_upward): Likewise.
4466 (erf_test): Likewise.
4467 (erfc_test): Likewise.
4468 (exp_test): Likewise.
4469 (exp_test_tonearest): Likewise.
4470 (exp_test_towardzero): Likewise.
4471 (exp_test_downward): Likewise.
4472 (exp_test_upward): Likewise.
4473 (exp10_test): Likewise.
4474 (exp2_test): Likewise.
4475 (expm1_test): Likewise.
4476 (fmod_test): Likewise.
4477 (gamma_test): Likewise.
4478 (hypot_test): Likewise.
4479 (j0_test): Likewise.
4480 (j1_test): Likewise.
4481 (jn_test): Likewise.
4482 (lgamma_test): Likewise.
4483 (log_test): Likewise.
4484 (log10_test): Likewise.
4485 (log1p_test): Likewise.
4486 (log2_test): Likewise.
4487 (logb_test_downward): Likewise.
4488 (pow_test): Likewise.
4489 (pow_test_tonearest): Likewise.
4490 (pow_test_towardzero): Likewise.
4491 (pow_test_downward): Likewise.
4492 (pow_test_upward): Likewise.
4493 (remainder_test): Likewise.
4494 (remquo_test): Likewise.
4495 (sin_test): Likewise.
4496 (sin_test_tonearest): Likewise.
4497 (sin_test_towardzero): Likewise.
4498 (sin_test_downward): Likewise.
4499 (sin_test_upward): Likewise.
4500 (sincos_test): Likewise.
4501 (sinh_test): Likewise.
4502 (sinh_test_tonearest): Likewise.
4503 (sinh_test_towardzero): Likewise.
4504 (sinh_test_downward): Likewise.
4505 (sinh_test_upward): Likewise.
4506 (sqrt_test): Likewise.
4507 (tan_test): Likewise.
4508 (tan_test_tonearest): Likewise.
4509 (tan_test_towardzero): Likewise.
4510 (tan_test_downward): Likewise.
4511 (tan_test_upward): Likewise.
4512 (tanh_test): Likewise.
4513 (tgamma_test): Likewise.
4514 (y0_test): Likewise.
4515 (y1_test): Likewise.
4516 (yn_test): Likewise.
4518 * math/gen-libm-test.pl (adjust_arg): Remove function.
4519 (special_function): Remove argument $in_func. Only handle
4520 generating output for tables of tests, not inside functions.
4521 (parse_args): Likewise.
4522 (generate_testfile): Remove variable $in_func. Update call to
4524 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4525 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4526 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4527 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4528 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4529 (MAX_VALUE_INIT): Rename macro to max_value.
4530 (MIN_VALUE_INIT): Rename macro to min_value.
4531 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4532 (plus_zero): Remove variable.
4533 (minus_zero): Likewise.
4534 (plus_infty): Likewise.
4535 (minus_infty): Likewise.
4536 (qnan_value): Likewise.
4537 (max_value): Likewise.
4538 (min_value): Likewise.
4539 (min_subnorm_value): Likewise.
4541 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4543 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4544 uint64_t or uint32_t usage.
4545 * crypt/sha256-block.c: Likewise.
4546 * crypt/sha256-crypt.c: Likewise.
4547 * crypt/sha256.c: Likewise.
4548 * crypt/sha512-block.c: Likewise.
4549 * crypt/sha512-crypt.c: Likewise.
4550 * crypt/sha512.c: Likewise.
4551 * debug/backtrace-tst.c: Likewise.
4552 * debug/pcprofiledump.c: Likewise.
4553 * elf/cache.c: Likewise.
4554 * elf/dl-cache.c: Likewise.
4555 * elf/dl-misc.c: Likewise.
4556 * elf/dl-profile.c: Likewise.
4557 * elf/dl-support.c: Likewise.
4558 * elf/ldconfig.c: Likewise.
4559 * elf/sprof.c: Likewise.
4560 * iconv/dummy-repertoire.c: Likewise.
4561 * iconv/iconv_charmap.c: Likewise.
4562 * iconv/skeleton.c: Likewise.
4563 * iconvdata/8bit-generic.c: Likewise.
4564 * iconvdata/cp737.h: Likewise.
4565 * iconvdata/cp775.h: Likewise.
4566 * iconvdata/ibm1008.h: Likewise.
4567 * iconvdata/ibm1025.h: Likewise.
4568 * iconvdata/ibm1046.h: Likewise.
4569 * iconvdata/ibm1097.h: Likewise.
4570 * iconvdata/ibm1112.h: Likewise.
4571 * iconvdata/ibm1122.h: Likewise.
4572 * iconvdata/ibm1123.h: Likewise.
4573 * iconvdata/ibm1124.h: Likewise.
4574 * iconvdata/ibm1129.h: Likewise.
4575 * iconvdata/ibm1130.h: Likewise.
4576 * iconvdata/ibm1132.h: Likewise.
4577 * iconvdata/ibm1133.h: Likewise.
4578 * iconvdata/ibm1137.h: Likewise.
4579 * iconvdata/ibm1140.h: Likewise.
4580 * iconvdata/ibm1141.h: Likewise.
4581 * iconvdata/ibm1142.h: Likewise.
4582 * iconvdata/ibm1143.h: Likewise.
4583 * iconvdata/ibm1144.h: Likewise.
4584 * iconvdata/ibm1145.h: Likewise.
4585 * iconvdata/ibm1146.h: Likewise.
4586 * iconvdata/ibm1147.h: Likewise.
4587 * iconvdata/ibm1148.h: Likewise.
4588 * iconvdata/ibm1149.h: Likewise.
4589 * iconvdata/ibm1153.h: Likewise.
4590 * iconvdata/ibm1154.h: Likewise.
4591 * iconvdata/ibm1155.h: Likewise.
4592 * iconvdata/ibm1156.h: Likewise.
4593 * iconvdata/ibm1157.h: Likewise.
4594 * iconvdata/ibm1158.h: Likewise.
4595 * iconvdata/ibm1160.h: Likewise.
4596 * iconvdata/ibm1161.h: Likewise.
4597 * iconvdata/ibm1162.h: Likewise.
4598 * iconvdata/ibm1163.h: Likewise.
4599 * iconvdata/ibm1164.h: Likewise.
4600 * iconvdata/ibm1166.h: Likewise.
4601 * iconvdata/ibm1167.h: Likewise.
4602 * iconvdata/ibm12712.h: Likewise.
4603 * iconvdata/ibm1390.h: Likewise.
4604 * iconvdata/ibm1399.h: Likewise.
4605 * iconvdata/ibm16804.h: Likewise.
4606 * iconvdata/ibm4517.h: Likewise.
4607 * iconvdata/ibm4899.h: Likewise.
4608 * iconvdata/ibm4909.h: Likewise.
4609 * iconvdata/ibm4971.h: Likewise.
4610 * iconvdata/ibm5347.h: Likewise.
4611 * iconvdata/ibm803.h: Likewise.
4612 * iconvdata/ibm856.h: Likewise.
4613 * iconvdata/ibm901.h: Likewise.
4614 * iconvdata/ibm902.h: Likewise.
4615 * iconvdata/ibm9030.h: Likewise.
4616 * iconvdata/ibm9066.h: Likewise.
4617 * iconvdata/ibm921.h: Likewise.
4618 * iconvdata/ibm922.h: Likewise.
4619 * iconvdata/ibm9448.h: Likewise.
4620 * iconvdata/isiri-3342.h: Likewise.
4621 * iconvdata/jis0201.h: Likewise.
4622 * include/link.h: Likewise.
4623 * include/netdb.h: Likewise.
4624 * inet/check_native.c: Likewise.
4625 * inet/check_pf.c: Likewise.
4626 * inet/getipv4sourcefilter.c: Likewise.
4627 * inet/getnameinfo.c: Likewise.
4628 * inet/getsourcefilter.c: Likewise.
4629 * inet/htonl.c: Likewise.
4630 * inet/setipv4sourcefilter.c: Likewise.
4631 * inet/setsourcefilter.c: Likewise.
4632 * inet/test-inet6_opt.c: Likewise.
4633 * inet/tst-network.c: Likewise.
4634 * locale/C-collate.c: Likewise.
4635 * locale/C-ctype.c: Likewise.
4636 * locale/C-time.c: Likewise.
4637 * locale/C-translit.h: Likewise.
4638 * locale/loadarchive.c: Likewise.
4639 * locale/programs/3level.h: Likewise.
4640 * locale/programs/charmap.c: Likewise.
4641 * locale/programs/charmap.h: Likewise.
4642 * locale/programs/ld-address.c: Likewise.
4643 * locale/programs/ld-collate.c: Likewise.
4644 * locale/programs/ld-ctype.c: Likewise.
4645 * locale/programs/ld-identification.c: Likewise.
4646 * locale/programs/ld-measurement.c: Likewise.
4647 * locale/programs/ld-messages.c: Likewise.
4648 * locale/programs/ld-monetary.c: Likewise.
4649 * locale/programs/ld-name.c: Likewise.
4650 * locale/programs/ld-numeric.c: Likewise.
4651 * locale/programs/ld-paper.c: Likewise.
4652 * locale/programs/ld-telephone.c: Likewise.
4653 * locale/programs/ld-time.c: Likewise.
4654 * locale/programs/linereader.c: Likewise.
4655 * locale/programs/locale.c: Likewise.
4656 * locale/programs/locarchive.c: Likewise.
4657 * locale/programs/locfile.h: Likewise.
4658 * locale/programs/repertoire.c: Likewise.
4659 * locale/programs/simple-hash.c: Likewise.
4660 * locale/programs/simple-hash.h: Likewise.
4661 * malloc/memusage.c: Likewise.
4662 * malloc/memusagestat.c: Likewise.
4663 * nis/nis_defaults.c: Likewise.
4664 * nis/nis_hash.c: Likewise.
4665 * nis/nis_print.c: Likewise.
4666 * nis/nis_xdr.c: Likewise.
4667 * nscd/connections.c: Likewise.
4668 * nscd/hstcache.c: Likewise.
4669 * nscd/nscd_gethst_r.c: Likewise.
4670 * nscd/nscd_getserv_r.c: Likewise.
4671 * nscd/nscd_helper.c: Likewise.
4672 * nscd/servicescache.c: Likewise.
4673 * nss/makedb.c: Likewise.
4674 * nss/nss_db/db-XXX.c: Likewise.
4675 * nss/nss_db/db-initgroups.c: Likewise.
4676 * nss/nss_db/db-netgrp.c: Likewise.
4677 * nss/nss_files/files-network.c: Likewise.
4678 * nss/nss_files/files-parse.c: Likewise.
4679 * posix/bug-regex5.c: Likewise.
4680 * posix/fnmatch_loop.c: Likewise.
4681 * posix/regcomp.c: Likewise.
4682 * posix/regexec.c: Likewise.
4683 * posix/tst-rfc3484-2.c: Likewise.
4684 * posix/tst-rfc3484-3.c: Likewise.
4685 * posix/tst-rfc3484.c: Likewise.
4686 * resolv/nss_dns/dns-canon.c: Likewise.
4687 * resolv/nss_dns/dns-network.c: Likewise.
4688 * resolv/res_init.c: Likewise.
4689 * resolv/res_mkquery.c: Likewise.
4690 * resolv/tst-aton.c: Likewise.
4691 * stdlib/cxa_atexit.c: Likewise.
4692 * stdlib/cxa_finalize.c: Likewise.
4693 * stdlib/gen-fpioconst.c: Likewise.
4694 * stdlib/strtol_l.c: Likewise.
4695 * string/tst-endian.c: Likewise.
4696 * sunrpc/auth_des.c: Likewise.
4697 * sunrpc/clnt_udp.c: Likewise.
4698 * sunrpc/rtime.c: Likewise.
4699 * sunrpc/svcauth_des.c: Likewise.
4700 * sunrpc/xdr.c: Likewise.
4701 * sunrpc/xdr_intXX_t.c: Likewise.
4702 * sunrpc/xdr_rec.c: Likewise.
4703 * sysdeps/generic/ldconfig.h: Likewise.
4704 * sysdeps/generic/ldsodefs.h: Likewise.
4705 * sysdeps/generic/memusage.h: Likewise.
4706 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4716 * sysdeps/posix/getaddrinfo.c: Likewise.
4717 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4718 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4719 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4720 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4721 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4722 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4723 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4724 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4725 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4726 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4727 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4728 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4729 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4730 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4731 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4732 * sysdeps/x86_64/dl-tls.h: Likewise.
4733 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4734 * time/alt_digit.c: Likewise.
4735 * time/era.c: Likewise.
4736 * wcsmbs/tst-c16c32-1.c: Likewise.
4738 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4740 * math/libm-test.inc (struct test_sincos_data): New type.
4741 (RUN_TEST_LOOP_sincos): New macro.
4742 (sincos_test_data): New variable.
4743 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4745 2013-05-16 Richard Henderson <rth@redhat.com>
4747 * math/atest-exp2.c (LIMB64): New macro.
4748 (CONSTSZ): New macro.
4749 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4751 (print_mpn_fp): ... to function scope.
4752 (read_mpn_hex): Remove.
4754 (exp2_mpn): Use mp_log2.
4755 (main): Use mp_exp1.
4757 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4759 * math/libm-test.inc: Remove comment about not testing "inexact"
4761 (INEXACT_EXCEPTION): New macro.
4762 (NO_INEXACT_EXCEPTION): Likewise.
4763 (INVALID_EXCEPTION_OK): Update value.
4764 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4765 (OVERFLOW_EXCEPTION_OK): Likewise.
4766 (UNDERFLOW_EXCEPTION_OK): Likewise.
4767 (IGNORE_ZERO_INF_SIGN): Likewise.
4768 (ERRNO_UNCHANGED): Likewise.
4769 (ERRNO_EDOM): Likewise.
4770 (ERRNO_ERANGE): Likewise.
4771 (test_exceptions): Handle testing "inexact" exceptions.
4772 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4773 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4774 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4775 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4777 (rint_towardzero_test_data): Likewise.
4778 (rint_downward_test_data): Likewise.
4779 (rint_upward_test_data): Likewise.
4781 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4782 with OVERFLOW_EXCEPTION.
4783 (exp10_test_data): Likewise.
4784 (exp2_test_data): Likewise.
4785 (expm1_test_data): Likewise.
4786 (lgamma_test_data): Likewise.
4787 (pow_test_data): Likewise.
4788 (tgamma_test_data): Likewise.
4789 (yn_test_data): Remove duplicate test of overflow.
4791 * math/libm-test.inc (struct test_cc_c_data): New type.
4792 (RUN_TEST_LOOP_cc_c): New macro.
4793 (cpow_test_data): New variable.
4794 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4796 * math/libm-test.inc (struct test_f_L_data): New type.
4797 (RUN_TEST_LOOP_f_L): New macro.
4798 (llrint_test_data): New variable.
4799 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4800 (llrint_tonearest_test_data): New variable.
4801 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4802 (llrint_towardzero_test_data): New variable.
4803 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4804 (llrint_downward_test_data): New variable.
4805 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4806 (llrint_upward_test_data): New variable.
4807 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4808 (llround_test_data): New variable.
4809 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4811 2013-05-13 Peter Collingbourne <pcc@google.com>
4813 * math/atest-exp2.c (get_log2): Remove const attribute.
4815 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4817 * math/libm-test.inc (struct test_f_l_data): New type.
4818 (RUN_TEST_LOOP_f_l): New macro.
4819 (lrint_test_data): New variable.
4820 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4821 (lrint_tonearest_test_data): New variable.
4822 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4823 (lrint_towardzero_test_data): New variable.
4824 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4825 (lrint_downward_test_data): New variable.
4826 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4827 (lrint_upward_test_data): New variable.
4828 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4829 (lround_test_data): New variable.
4830 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4832 2013-05-15 Peter Collingbourne <pcc@google.com>
4834 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4835 (EXTRACT_WORDS64) Use where appropriate.
4836 (INSERT_WORDS64) Likewise.
4838 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4839 constraints with x constraints.
4840 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4842 * malloc/obstack.c (_obstack_compat): Add initializer.
4844 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4847 si_trapno and add si_addr_lsb to _sifields.sigfault.
4848 (si_trapno): Remove macro.
4849 (si_addr_lsb): Define new macro.
4850 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4852 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4854 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4855 instead of TEST_f_l.
4856 (llrint_test_tonearest): Likewise.
4857 (llrint_test_towardzero): Likewise.
4858 (llrint_test_downward): Likewise.
4859 (llrint_test_upward): Likewise.
4860 (llround_test): Likewise.
4862 * math/libm-test.inc (struct test_f_i_data): Add comment.
4863 (RUN_TEST_LOOP_f_b): New macro.
4864 (RUN_TEST_LOOP_f_b_tg): Likewise.
4865 (finite_test_data): New variable.
4866 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4867 (isfinite_test_data): New variable.
4868 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4869 (isinf_test_data): New variable.
4870 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4871 (isnan_test_data): New variable.
4872 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4873 (isnormal_test_data): New variable.
4874 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4875 (issignaling_test_data): New variable.
4876 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4877 (signbit_test_data): New variable.
4878 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4880 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4881 with INVALID_EXCEPTION.
4882 (acosh_test_data): Likewise.
4883 (asin_test_data): Likewise.
4884 (atanh_test_data): Likewise.
4885 (fmod_test_data): Likewise.
4886 (log_test_data): Likewise.
4887 (log10_test_data): Likewise.
4888 (log2_test_data): Likewise.
4889 (pow_test_data): Likewise.
4890 (sqrt_test_data): Likewise.
4891 (y0_test_data): Likewise.
4892 (y1_test_data): Likewise.
4893 (yn_test_data): Likewise.
4895 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4898 * math/libm-test.inc (struct test_ff_i_data): New type.
4899 (RUN_TEST_LOOP_ff_i_tg): New macro.
4900 (isgreater_test_data): New variable.
4901 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4902 (isgreaterequal_test_data): New variable.
4903 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4904 (isless_test_data): New variable.
4905 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4906 (islessequal_test_data): New variable.
4907 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4908 (islessgreater_test_data): New variable.
4909 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4910 (isunordered_test_data): New variable.
4911 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4913 2013-05-14 David S. Miller <davem@davemloft.net>
4915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4917 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4919 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4921 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4923 (struct test_f_i_data): Change type of max_ulp to int.
4925 * math/libm-test.inc (test_ffI_f1_data): New type.
4926 (RUN_TEST_LOOP_ffI_f1): New macro.
4927 (remquo_test_data): New variable.
4928 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4930 * setjmp/tst-setjmp-fp.c: New file.
4931 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4932 (link-libm): New variable.
4933 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4935 * math/libm-test.inc (struct test_f_i_data): New type.
4936 (RUN_TEST_LOOP_f_i): New macro.
4937 (RUN_TEST_LOOP_f_i_tg): Likewise.
4938 (fpclassify_test_data): New variable.
4939 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4940 (ilogb_test_data): New variable.
4941 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4943 * math/libm-test.inc (scalbln_test): Correct function name in END
4946 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4947 (RUN_TEST_LOOP_fI_f1): New macro.
4948 (frexp_test_data): New variable.
4949 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4951 * math/libm-test.inc (struct test_fF_f1_data): New type.
4952 (RUN_TEST_LOOP_fF_f1): New macro.
4953 (modf_test_data): New variable.
4954 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4956 * math/libm-test.inc (struct test_f_f1_data): New type.
4957 (RUN_TEST_LOOP_f_f1): New macro.
4958 (gamma_test_data): New variable.
4959 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4960 (lgamma_test_data): New variable.
4961 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4963 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4965 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4966 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4967 (main): Comment "tls" pseudo-hwcap.
4969 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4971 * math/libm-test.inc (struct test_fl_f_data): New type.
4972 (RUN_TEST_LOOP_fl_f): New variable.
4973 (scalbln_test_data): New variable.
4974 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4976 * math/libm-test.inc (struct test_fi_f_data): New type.
4977 (RUN_TEST_LOOP_fi_f): New macro.
4978 (ldexp_test_data): New variable.
4979 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4980 (scalbn_test_data): New variable.
4981 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4983 * math/libm-test.inc (struct test_c_f_data): New type.
4984 (RUN_TEST_LOOP_c_f): New macro.
4985 (cabs_test_data): New variable.
4986 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4987 (carg_test_data): New variable.
4988 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4989 (cimag_test_data): New variable.
4990 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4991 (creal_test_data): New variable.
4992 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4994 * math/libm-test.inc (struct test_if_f_data): New type.
4995 (RUN_TEST_LOOP_if_f): New macro.
4996 (jn_test_data): New variable.
4997 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4998 (yn_test_data): New variable.
4999 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5001 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5003 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5005 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5006 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5008 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5010 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5011 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5012 (bench-deps): Add bench-timing.h.
5013 * benchtests-bench-skeleton.c: Include bench-timing.h.
5014 (main): Use TIMING_* macros instead of clock_gettime.
5015 * benchtests/bench-timing.h: New file.
5018 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5019 Renamed from _LIB_VERSION.
5020 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5022 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5024 * math/libm-test.inc (struct test_fff_f_data): New type.
5025 (RUN_TEST_LOOP_fff_f): New macro.
5026 (fma_test_data): New variable.
5027 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5028 (fma_towardzero_test_data): New variable.
5029 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5030 (fma_downward_test_data): New variable.
5031 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5032 (fma_upward_test_data): New variable.
5033 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5035 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5036 (struct test_c_c_data): New type.
5037 (RUN_TEST_LOOP_c_c): New macro.
5038 (cacos_test_data): New variable.
5039 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5040 (cacosh_test_data): New variable.
5041 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5042 (casin_test_data): New variable.
5043 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5044 (casinh_test_data): New variable.
5045 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5046 (catan_test_data): New variable.
5047 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5048 (catanh_test_data): New variable.
5049 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5050 (ccos_test_data): New variable.
5051 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5052 (ccosh_test_data): New variable.
5053 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5054 (cexp_test_data): New variable.
5055 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5056 (clog_test_data): New variable.
5057 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5058 (clog10_test_data): New variable.
5059 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5060 (conj_test_data): New variable.
5061 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5062 (cproj_test_data): New variable.
5063 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5064 (csin_test_data): New variable.
5065 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5066 (csinh_test_data): New variable.
5067 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5068 (csqrt_test_data): New variable.
5069 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5070 (ctan_test_data): New variable.
5071 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5072 (ctan_tonearest_test_data): New variable.
5073 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5074 (ctan_towardzero_test_data): New variable.
5075 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5076 (ctan_downward_test_data): New variable.
5077 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5078 (ctan_upward_test_data): New variable.
5079 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5080 (ctanh_test_data): New variable.
5081 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5082 (ctanh_tonearest_test_data): New variable.
5083 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5084 (ctanh_towardzero_test_data): New variable.
5085 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5086 (ctanh_downward_test_data): New variable.
5087 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5088 (ctanh_upward_test_data): New variable.
5089 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5090 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5093 * math/libm-test.inc (struct test_ff_f_data): New type.
5094 (struct test_ff_f_data_nexttoward): Likewise.
5095 (RUN_TEST_LOOP_2_f): New macro.
5096 (RUN_TEST_LOOP_ff_f): Likewise.
5097 (atan2_test_data): New variable.
5098 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5099 (copysign_test_data): New variable.
5100 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5101 (fdim_test_data): New variable.
5102 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5103 (fmax_test_data): New variable.
5104 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5105 (fmin_test_data): New variable.
5106 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5107 (fmod_test_data): New variable.
5108 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5109 (hypot_test_data): New variable.
5110 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5111 (nextafter_test_data): New variable.
5112 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5113 (nexttoward_test_data): New variable.
5114 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5115 (pow_test_data): New variable.
5116 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5117 (pow_tonearest_test_data): New variable.
5118 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5119 (pow_towardzero_test_data): New variable.
5120 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5121 (pow_downward_test_data): New variable.
5122 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5123 (pow_upward_test_data): New variable.
5124 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5125 (remainder_test_data): New variable.
5126 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5127 (scalb_test_data): New variable.
5128 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5129 * sysdeps/i386/fpu/libm-test-ulps: Update.
5131 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5133 * math/libm-test.inc (fma_test): Use max_value instead of local
5135 (nextafter_test): Likewise.
5137 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5138 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5139 (acos_downward_test_data): New variable.
5140 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5141 (acos_upward_test_data): New variable.
5142 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5143 (acosh_test_data): New variable.
5144 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5145 (asin_test_data): New variable.
5146 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5147 (asin_tonearest_test_data): New variable.
5148 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5149 (asin_towardzero_test_data): New variable.
5150 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5151 (asin_downward_test_data): New variable.
5152 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5153 (asin_upward_test_data): New variable.
5154 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5155 (asinh_test_data): New variable.
5156 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5157 (atan_test_data): New variable.
5158 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5159 (atanh_test_data): New variable.
5160 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5161 (cbrt_test_data): New variable.
5162 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5163 (ceil_test_data): New variable.
5164 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5165 (cos_test_data): New variable.
5166 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5167 (cos_tonearest_test_data): New variable.
5168 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5169 (cos_towardzero_test_data): New variable.
5170 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5171 (cos_downward_test_data): New variable.
5172 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5173 (cos_upward_test_data): New variable.
5174 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5175 (cosh_test_data): New variable.
5176 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5177 (cosh_tonearest_test_data): New variable.
5178 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5179 (cosh_towardzero_test_data): New variable.
5180 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5181 (cosh_downward_test_data): New variable.
5182 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5183 (cosh_upward_test_data): New variable.
5184 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5185 (erf_test_data): New variable.
5186 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5187 (erfc_test_data): New variable.
5188 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5189 (exp_test_data): New variable.
5190 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5191 (exp_tonearest_test_data): New variable.
5192 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5193 (exp_towardzero_test_data): New variable.
5194 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5195 (exp_downward_test_data): New variable.
5196 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5197 (exp_upward_test_data): New variable.
5198 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5199 (exp10_test_data): New variable.
5200 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5201 (exp2_test_data): New variable.
5202 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5203 (expm1_test_data): New variable.
5204 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5205 (fabs_test_data): New variable.
5206 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5207 (floor_test_data): New variable.
5208 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5209 (j0_test_data): New variable.
5210 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5211 (j1_test_data): New variable.
5212 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5213 (log_test_data): New variable.
5214 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5215 (log10_test_data): New variable.
5216 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5217 (log1p_test_data): New variable.
5218 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5219 (log2_test_data): New variable.
5220 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5221 (logb_test_data): New variable.
5222 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5223 (logb_downward_test_data): New variable.
5224 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5225 (nearbyint_test_data): New variable.
5226 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5227 (rint_test_data): New variable.
5228 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5229 (rint_tonearest_test_data): New variable.
5230 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5231 (rint_towardzero_test_data): New variable.
5232 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5233 (rint_downward_test_data): New variable.
5234 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5235 (rint_upward_test_data): New variable.
5236 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5237 (round_test_data): New variable.
5238 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5239 (sin_test_data): New variable.
5240 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5241 (sin_tonearest_test_data): New variable.
5242 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5243 (sin_towardzero_test_data): New variable.
5244 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5245 (sin_downward_test_data): New variable.
5246 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5247 (sin_upward_test_data): New variable.
5248 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5249 (sinh_test_data): New variable.
5250 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5251 (sinh_tonearest_test_data): New variable.
5252 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5253 (sinh_towardzero_test_data): New variable.
5254 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5255 (sinh_downward_test_data): New variable.
5256 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5257 (sinh_upward_test_data): New variable.
5258 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5259 (sqrt_test_data): New variable.
5260 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5261 (tan_test_data): New variable.
5262 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5263 (tan_tonearest_test_data): New variable.
5264 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5265 (tan_towardzero_test_data): New variable.
5266 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5267 (tan_downward_test_data): New variable.
5268 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5269 (tan_upward_test_data): New variable.
5270 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5271 (tanh_test_data): New variable.
5272 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5273 (tgamma_test_data): New variable.
5274 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5275 (trunc_test_data): New variable.
5276 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5277 (y0_test_data): New variable.
5278 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5279 (y1_test_data): New variable.
5280 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5281 (significand_test_data): New variable.
5282 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5284 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5287 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5289 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5291 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5293 2013-05-10 Andreas Jaeger <aj@suse.de>
5296 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5297 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5299 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5301 * math/gen-libm-test.pl (adjust_arg): New function.
5302 (special_functions): Handle generating output in both functions
5304 (parse_args): Likewise.
5305 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5306 $in_func argument to parse_args.
5307 * math/libm-test.inc (struct test_f_f_data): New type.
5308 (IF_ROUND_INIT_): New macro.
5309 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5310 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5311 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5312 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5313 (ROUND_RESTORE_): Likewise.
5314 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5315 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5316 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5317 (ROUND_RESTORE_FE_UPWARD): Likewise.
5318 (RUN_TEST_LOOP_f_f): New macro.
5319 (acos_test_data): New variable.
5320 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5321 (acos_tonearest_test_data): New variable.
5322 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5324 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5326 * benchtests/bench-skeleton.c (startup): Fix coding style.
5328 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5331 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5332 negative infinity argument.
5333 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5334 negative infinity argument.
5335 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5336 negative infinity argument.
5337 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5340 2013-05-10 Florian Weimer <fweimer@redhat.com>
5342 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5343 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5344 * iconv/iconv_prog.c (main): Likewise.
5345 * locale/programs/charmap-dir.c (charmap_readdir)
5346 (fopen_uncompressed): Likewise.
5347 * locale/programs/locfile.c (siblings_uncached)
5348 (write_locale_data): Use lstat64 instead of lstat.
5349 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5352 2013-05-10 Andreas Jaeger <aj@suse.de>
5355 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5359 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5361 * elf/dl-close.c (_dl_close_worker): Add comments.
5363 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5366 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5368 (__ieee754_rem_pio2l): Update comments.
5371 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5373 (__ieee754_rem_pio2l): Update comments.
5375 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5376 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5378 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5381 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5382 (M_PI_34_LOG10El): Likewise.
5383 (M_PI2_LOG10El): Likewise.
5384 (M_PI4_LOG10El): Likewise.
5385 (M_PI_LOG10El): Likewise.
5387 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5391 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5393 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5394 (MINUS_ZERO_INIT): Likewise.
5395 (PLUS_INFTY_INIT): Likewise.
5396 (MINUS_INFTY_INIT): Likewise.
5397 (QNAN_VALUE_INIT): Likewise.
5398 (MAX_VALUE_INIT): Likewise.
5399 (MIN_VALUE_INIT): Likewise.
5400 (MIN_SUBNORM_VALUE_INIT): Likewise.
5401 (plus_zero): Initialize with PLUS_ZERO_INIT.
5402 (minus_zero): Initialize with MINUS_ZERO_INIT.
5403 (plus_infty): Initialize with PLUS_INFTY_INIT.
5404 (minus_infty): Initialize with MINUS_INFTY_INIT.
5405 (qnan_value): Initialize with QNAN_VALUE_INIT.
5406 (max_value): Initialize with MAX_VALUE_INIT.
5407 (min_value): Initialize with MIN_VALUE_INIT.
5408 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5410 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5411 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5412 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5413 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5415 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5416 (RUN_TEST_2_f): Likewise.
5417 (RUN_TEST_ff_f): Likewise.
5418 (RUN_TEST_fi_f): Likewise.
5419 (RUN_TEST_fl_f): Likewise.
5420 (RUN_TEST_fff_f): Likewise.
5421 (RUN_TEST_c_f): Likewise.
5422 (RUN_TEST_f_f1): Likewise.
5423 (RUN_TEST_fF_f1): Likewise.
5424 (RUN_TEST_fI_f1): Likewise.
5425 (RUN_TEST_ffI_f1): Likewise.
5426 (RUN_TEST_c_c): Likewise.
5427 (RUN_TEST_cc_c): Likewise.
5428 (RUN_TEST_f_i): Likewise.
5429 (RUN_TEST_f_i_tg): Likewise.
5430 (RUN_TEST_ff_i_tg): Likewise.
5431 (RUN_TEST_f_b): Likewise.
5432 (RUN_TEST_f_b_tg): Likewise.
5433 (RUN_TEST_f_l): Likewise.
5434 (RUN_TEST_f_L): Likewise.
5435 (RUN_TEST_sincos): Likewise.
5436 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5437 whether to show exceptions. Do not include ");\n" in return
5439 (special_functions): Output call to RUN_TEST_sincos instead of
5440 check_float calls. Update calls to new_test.
5441 (parse_args): Output call to single RUN_TEST_* macro instead of
5442 check_* calls and other assignments. Update calls to new_test.
5448 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5449 input to result for tgamma overflow.
5450 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5451 (gamma_coeff): New variable.
5452 (NCOEFF): New macro.
5453 (gamma_positive): New function.
5454 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5455 underflow here. Use gamma_positive instead of exp (lgamma) for
5457 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5458 (gamma_coeff): New variable.
5459 (NCOEFF): New macro.
5460 (gammaf_positive): New function.
5461 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5462 underflow here. Use gamma_positive instead of exp (lgamma) for
5464 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5465 (gamma_coeff): New variable.
5466 (NCOEFF): New macro.
5467 (gammal_positive): New function.
5468 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5469 underflow here. Use gamma_positive instead of exp (lgamma) for
5471 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5472 (gamma_coeff): New variable.
5473 (NCOEFF): New macro.
5474 (gammal_positive): New function.
5475 (__ieee754_gammal_r): Handle positive infinity, overflow and
5476 underflow here. Handle NaN the same as positive infinity. Remove
5477 check x < 0xffffffff for negative integers. Use gamma_positive
5478 instead of exp (lgamma) for other arguments.
5479 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5480 (gamma_coeff): New variable.
5481 (NCOEFF): New macro.
5482 (gammal_positive): New function.
5483 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5484 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5488 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5489 * sysdeps/generic/math_private.h (__gamma_productf): New
5491 (__gamma_product): Likewise.
5492 (__gamma_productl): Likewise.
5493 * math/Makefile (libm-calls): Add gamma_product.
5494 * math/libm-test.inc (tgamma_test): Add more tests.
5495 * sysdeps/i386/fpu/libm-test-ulps: Update.
5496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5498 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5500 * benchtests/bench-skeleton.c (main): Preheat CPU.
5502 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5504 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5506 2013-05-07 Roland McGrath <roland@hack.frob.com>
5508 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5509 and _dl_skip_args_internal.
5511 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5513 * manual/message.texi (Message Translation): Talk about users.
5514 Message to key mapping impacts design.
5516 2013-05-06 Roland McGrath <roland@hack.frob.com>
5518 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5520 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5522 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5523 * sysdeps/wordsize-64/glob64.c: ... here.
5525 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5526 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5529 * debug/getlogin_r_chk.c: Moved to ...
5530 * login/getlogin_r_chk.c: ... here.
5531 * debug/Makefile (routines): Move getlogin_r_chk to ...
5532 * login/Makefile (routines): ... here.
5533 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5534 * login/Versions (libc: GLIBC_2.4): ... here.
5536 * io/poll.c (__poll): Renamed from poll.
5537 Add libc_hidden_def.
5538 (poll): Define as weak alias.
5540 * debug/ptsname_r_chk.c: Moved to ...
5541 * login/ptsname_r_chk.c: ... here.
5542 * debug/Makefile (routines): Move ptsname_r_chk to ...
5543 * login/Makefile (routines): ... here.
5544 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5545 * login/Versions (libc: GLIBC_2.4): ... here.
5547 * posix/getlogin.c: Moved to ...
5548 * login/getlogin.c: ... here.
5549 * posix/getlogin_r.c: Moved to ...
5550 * login/getlogin_r.c: ... here.
5551 * posix/getlogin_r.c: Moved to ...
5552 * login/getlogin_r.c: ... here.
5553 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5554 * login/Makefile (routines): ... here.
5555 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5556 * login/Versions (libc: GLIBC_2.0): ... here.
5558 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5559 (setrlimit): Define as weak alias.
5561 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5562 Call __ names for open, ftruncate, and close.
5563 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5564 (truncate): Define as weak alias.
5566 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5568 * math/gen-libm-test.pl (parse_args): Initialize x before each
5569 test of frexp, modf and remquo.
5571 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5574 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5578 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5580 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5582 2013-05-06 Roland McGrath <roland@hack.frob.com>
5584 * elf/dl-writev.h: New file.
5585 * elf/dl-misc.c: Include it.
5586 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5587 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5589 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5591 * math/libm-test.inc (noXFails): Remove variable.
5592 (noXPasses): Likewise.
5593 (BUILD_COMPLEX_INT): Remove macro.
5594 (print_screen): Remove xfail argument.
5595 (print_screen_max_error): Likewise.
5596 (update_stats): Likewise.
5597 (print_max_error): Likewise. Update calls to other affected
5599 (print_complex_max_error): Likewise.
5600 (test_single_exception): Update calls to print_screen.
5601 (test_single_errno): Likewise.
5602 (check_float_internal): Remove xfail argument. Update calls to
5603 other affected functions.
5604 (check_float): Likewise.
5605 (check_complex): Likewise.
5606 (check_int): Likewise.
5607 (check_long): Likewise.
5608 (check_bool): Likewise.
5609 (check_longlong): Likewise.
5610 (main): Don't print noXFails and noXPasses.
5611 * math/gen-libm-test.pl (top level): Don't mention expected
5612 failure handling in comment.
5613 (new_test): Don't handle expected failures.
5614 (parse_args): Don't mention expected failure handling in comment.
5615 (generate_testfile): Don't handle expected failures.
5616 (parse_ulps): Likewise.
5617 (print_ulps_file): Likewise.
5618 (get_failure): Remove function.
5619 (output_test): Don't handle expected failures.
5620 * make/README.libm-test: Don't mention expected failure handling.
5622 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5623 (minus_zero): Likewise.
5624 (plus_infty): Likewise.
5625 (minus_infty): Likewise.
5626 (qnan_value): Likewise.
5627 (max_value): Likewise.
5628 (min_value): Likewise.
5629 (min_subnorm_value): Likewise.
5630 (initialize): Do not initialize those variables dynamically.
5632 2013-05-03 Roland McGrath <roland@hack.frob.com>
5634 * io/open.c (__open_2): Moved to ...
5635 * io/open_2.c: ... this new file.
5636 * io/open64.c (__open64_2): Moved to ...
5637 * io/open64_2.c: ... this new file.
5638 * io/openat.c (__openat_2): Moved to ...
5639 * io/openat_2.c: ... this new file.
5640 * io/openat64.c (__openat64_2): Moved to ...
5641 * io/openat64_2.c: ... this new file.
5642 * io/Makefile (routines): Add them.
5643 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5644 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5645 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5646 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5647 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5648 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5649 (__openat64): Add hidden_ver.
5650 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5651 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5653 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5654 Separately conditionalize setting of GLRO(dl_sysinfo) so
5655 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5656 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5658 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5661 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5663 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5664 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5665 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5666 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5667 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5669 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5671 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5674 * math/libm-test.inc (hypot_test): Do not use
5675 IGNORE_ZERO_INF_SIGN.
5677 2013-05-03 Andreas Jaeger <aj@suse.de>
5679 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5681 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5682 (PF_MAX): Adjust for VSOCK change.
5684 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5688 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5691 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5692 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5693 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5695 2013-05-02 David S. Miller <davem@davemloft.net>
5697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5699 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5701 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5703 2013-05-01 Roland McGrath <roland@hack.frob.com>
5705 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5707 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5710 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5711 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5712 Use __attribute__ ((__gnu_inline__)).
5713 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5714 Don't use __attribute__ ((__gnu_inline__)).
5716 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5719 * math/s_catan.c (__catan): Handle small real or imaginary part of
5720 input specially to avoid spurious underflow.
5721 * math/s_catanf.c (__catanf): Likewise.
5722 * math/s_catanh.c (__catanh): Likewise.
5723 * math/s_catanhf.c (__catanhf): Likewise.
5724 * math/s_catanhl.c (__catanhl): Likewise.
5725 * math/s_catanl.c (__catanl): Likewise.
5726 * math/libm-test.inc (catan_test): Add more tests.
5727 (catanh_test): Likewise.
5728 * sysdeps/i386/fpu/libm-test-ulps: Update.
5729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5731 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5735 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5738 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5739 accurately for denominator in atan2.
5740 * math/s_catanf.c (__catanf): Likewise.
5741 * math/s_catanh.c (__catanh): Likewise.
5742 * math/s_catanhf.c (__catanhf): Likewise.
5743 * math/s_catanhl.c (__catanhl): Likewise.
5744 * math/s_catanl.c (__catanl): Likewise.
5745 * math/libm-test.inc (catan_test): Add more tests.
5746 (catanh_test): Likewise.
5747 * sysdeps/i386/fpu/libm-test-ulps: Update.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5752 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5754 * benchtests/Makefile (bench): Remove slow benchmarks.
5755 * benchtests/atan-inputs: Add slow benchmark inputs.
5756 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5757 (BENCH_FUNC): Accept variant offset.
5759 * benchtests/bench-skeleton.c (main): Run benchmark for each
5761 * benchtests/cos-inputs: Add slow benchmark inputs.
5762 * benchtests/exp-inputs: Likewise.
5763 * benchtests/pow-inputs: Likewise.
5764 * benchtests/sin-inputs: Likewise.
5765 * benchtests/slowatan-inputs: Remove.
5766 * benchtests/slowatan.c: Remove.
5767 * benchtests/slowcos-inputs: Remove.
5768 * benchtests/slowcos.c: Remove.
5769 * benchtests/slowexp-inputs: Remove.
5770 * benchtests/slowexp.c: Remove.
5771 * benchtests/slowpow-inputs: Remove.
5772 * benchtests/slowpow.c: Remove.
5773 * benchtests/slowsin-inputs: Remove.
5774 * benchtests/slowsin.c: Remove.
5775 * benchtests/slowtan-inputs: Remove.
5776 * benchtests/slowtan.c: Remove.
5777 * benchtests/tan-inputs: Add slow benchmark inputs.
5778 * scripts/bench.pl: Parse comments and directives.
5780 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5782 ($(objpfx)bench-%.c): Remove *-ITER.
5783 * benchtests/bench-modf.c: Remove definition of ITER.
5784 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5785 (main): Loop for DURATION seconds instead of fixed number of
5787 * scripts/bench.pl: Don't expect iterations in parameters.
5789 2013-04-29 Roland McGrath <roland@hack.frob.com>
5791 * io/fchdir.c (__fchdir): Renamed from fchdir.
5792 (fchdir): Define as weak alias.
5794 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5796 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5797 (ERRNO_EDOM): Likewise.
5798 (ERRNO_ERANGE): Likewise.
5799 (noErrnoTests): New variable.
5800 (init_max_error): Set errno to 0.
5801 (test_single_errno): New function.
5802 (test_errno): Likewise.
5803 (check_float_internal): Call test_errno. Set errno to 0.
5804 (check_complex): Refer to errno tests in comment.
5805 (check_int): Call test_errno. Set errno to 0.
5806 (check_long): Likewise.
5807 (check_bool): Likewise.
5808 (check_longlong): Likewise.
5809 (cos_test): Use ERRNO_* flags for errno tests instead of
5811 (expm1_test): Likewise.
5812 (fmod_test): Likewise.
5813 (ilogb_test): Likewise.
5814 (lgamma_test): Likewise.
5815 (pow_test): Likewise.
5816 (remainder_test): Likewise.
5817 (sin_test): Likewise.
5818 (tan_test): Likewise.
5819 (yn_test): Likewise.
5820 (initialize): Set errno to 0.
5821 (main): Print number of errno tests.
5822 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5824 2013-04-29 Andreas Jaeger <aj@suse.de>
5827 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5831 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5832 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5836 * stdlib/random.c (__initstate): Return NULL if
5840 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5841 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5844 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5848 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5850 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5851 of individual tests.
5852 (casin_test): Likewise.
5853 (casinh_test): Likewise.
5855 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5858 * math/s_catan.c (__catan): Handle arguments with large real or
5859 imaginary part separately without squaring.
5860 * math/s_catanf.c (__catanf): Likewise.
5861 * math/s_catanh.c (__catanh): Likewise.
5862 * math/s_catanhf.c (__catanhf): Likewise.
5863 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5865 (__catanhl): Handle arguments with large real or imaginary part
5866 separately without squaring.
5867 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5869 (__catanl): Handle arguments with large real or imaginary part
5870 separately without squaring.
5871 * math/libm-test.inc (catan_test): Add more tests.
5872 (catanh_test): Likewise.
5873 * sysdeps/i386/fpu/libm-test-ulps: Update.
5874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5876 2013-04-27 Andreas Jaeger <aj@suse.de>
5879 * stdlib/stdlib.h: Update guards for qecvt.
5880 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5883 2013-04-27 Allan McRae <allan@archlinux.org>
5885 * sysdeps/i386/fpu/libm-test-ulps: Update.
5887 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5890 * math/s_catan.c: Include <float.h>.
5891 (__catan): Ensure underflow exception occurs for underflowed
5893 * math/s_catanf.c: Include <float.h>.
5894 (__catanf): Ensure underflow exception occurs for underflowed
5896 * math/s_catanh.c: Include <float.h>.
5897 (__catanh): Ensure underflow exception occurs for underflowed
5899 * math/s_catanhf.c: Include <float.h>.
5900 (__catanhf): Ensure underflow exception occurs for underflowed
5902 * math/s_catanhl.c: Include <float.h>.
5903 (__catanhl): Ensure underflow exception occurs for underflowed
5905 * math/s_catanl.c: Include <float.h>.
5906 (__catanl): Ensure underflow exception occurs for underflowed
5908 * math/libm-test.inc (catan_test): Add more tests.
5909 (catanh_test): Likewise.
5912 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5914 * math/s_ccoshf.c (__ccoshf): Likewise.
5915 * math/s_ccoshl.c (__ccoshl): Likewise.
5916 * math/s_csin.c (__csin): Likewise.
5917 * math/s_csinf.c (__csinf): Likewise.
5918 * math/s_csinh.c (__csinh): Likewise.
5919 * math/s_csinhf.c (__csinhf): Likewise.
5920 * math/s_csinhl.c (__csinhl): Likewise.
5921 * math/s_csinl.c (__csinl): Likewise.
5922 * math/libm-test.inc (ccos_test): Add more tests.
5923 (ccosh_test): Likewise.
5924 (csin_test): Likewise.
5925 (csinh_test): Likewise.
5927 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5930 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5931 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5932 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5933 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5934 powerpc/power5+/fpu folders.
5935 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5938 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5942 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5944 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5945 additions to variable.
5946 [$(config-machine) = x86_64] (modules-names): Likewise.
5947 ($(objpfx)tst-audit3): Remove dependency.
5948 ($(objpfx)tst-audit3.out): Likewise.
5949 ($(objpfx)tst-audit4): Likewise.
5950 ($(objpfx)tst-audit4.out): Likewise.
5951 ($(objpfx)tst-audit5): Likewise.
5952 ($(objpfx)tst-audit5.out): Likewise.
5953 ($(objpfx)tst-audit6): Likewise.
5954 ($(objpfx)tst-audit6.out): Likewise.
5955 ($(objpfx)tst-audit7): Likewise.
5956 ($(objpfx)tst-audit7.out): Likewise.
5957 (tst-audit3-ENV): Remove variable.
5958 (tst-audit4-ENV): Likewise.
5959 (tst-audit5-ENV): Likewise.
5960 (tst-audit6-ENV): Likewise.
5961 (tst-audit7-ENV): Likewise.
5962 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5963 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5964 addition to variable.
5965 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5966 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5967 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5968 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5969 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5970 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5971 tst-audit3, tst-audit4 and tst-audit5.
5972 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5973 tst-audit6 and tst-audit7.
5974 [$(subdir) = elf] (modules-names): Add audit modules for those
5976 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5977 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5978 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5979 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5980 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5981 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5982 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5983 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5984 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5985 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5986 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5987 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5988 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5989 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5990 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5991 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5993 [$(subdir) = elf && $(config-cflags-avx) = yes]
5994 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5995 [$(subdir) = elf && $(config-cflags-avx) = yes]
5996 (CFLAGS-tst-auditmod4a.c): Likewise.
5997 [$(subdir) = elf && $(config-cflags-avx) = yes]
5998 (CFLAGS-tst-auditmod4b.c): Likewise.
5999 [$(subdir) = elf && $(config-cflags-avx) = yes]
6000 (CFLAGS-tst-auditmod6b.c): Likewise.
6001 [$(subdir) = elf && $(config-cflags-avx) = yes]
6002 (CFLAGS-tst-auditmod6c.c): Likewise.
6003 [$(subdir) = elf && $(config-cflags-avx) = yes]
6004 (CFLAGS-tst-auditmod7b.c): Likewise.
6005 * elf/tst-audit3.c: Move to ...
6006 * sysdeps/x86_64/tst-audit3.c: ... here.
6007 * elf/tst-audit4.c: Move to ...
6008 * sysdeps/x86_64/tst-audit4.c: ... here.
6009 * elf/tst-audit5.c: Move to ...
6010 * sysdeps/x86_64/tst-audit5.c: ... here.
6011 * elf/tst-audit6.c: Move to ...
6012 * sysdeps/x86_64/tst-audit6.c: ... here.
6013 * elf/tst-audit7.c: Move to ...
6014 * sysdeps/x86_64/tst-audit7.c: ... here.
6015 * elf/tst-auditmod3a.c: Move to ...
6016 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6017 * elf/tst-auditmod3b.c: Move to ...
6018 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6019 * elf/tst-auditmod4a.c: Move to ...
6020 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6021 * elf/tst-auditmod4b.c: Move to ...
6022 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6023 * elf/tst-auditmod5a.c: Move to ...
6024 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6025 * elf/tst-auditmod5b.c: Move to ...
6026 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6027 * elf/tst-auditmod6a.c: Move to ...
6028 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6029 * elf/tst-auditmod6b.c: Move to ...
6030 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6031 * elf/tst-auditmod6c.c: Move to ...
6032 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6033 * elf/tst-auditmod7a.c: Move to ...
6034 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6035 * elf/tst-auditmod7b.c: Move to ...
6036 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6038 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6041 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6042 define unconditionally.
6043 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6044 define unconditionally.
6045 (INT8_C, INT16_C, etc.): Likewise.
6047 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6049 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6050 __ehdr_start with hidden visibility.
6052 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6054 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6056 * math/libm-test.inc (cos_test): Use accurate hex constants.
6057 (sincost_test): Likewise.
6059 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6061 * math/libm-test.inc (catan_test): Add more tests.
6062 (catanh_test): Likewise.
6064 * math/s_catanf.c (__catanf): Use suffixed floating-point
6066 * math/s_catanhf.c (__catanhf): Likewise.
6067 * math/s_catanhl.c (__catanhl): Likewise.
6068 * math/s_catanl.c (__catanl): Likewise.
6071 * math/s_catan.c (__catan): Calculate imaginary part of result
6072 with log1p not log unless computing log of number close to 0.
6073 * math/s_catanf.c (__catanf): Likewise.
6074 * math/s_catanl.c (__catanl): Likewise.
6075 * math/s_catanh.c (__catanh): Calculate real part of result with
6076 log1p not log unless computing log of number close to 0.
6077 * math/s_catanhf.c (__catanhf): Likewise.
6078 * math/s_catanhl.c (__catanhl): Likewise.
6079 * math/libm-test.inc (catan_test): Add more tests.
6080 (catanh_test): Likewise.
6081 * sysdeps/i386/fpu/libm-test-ulps: Update.
6082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6084 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6086 * benchtests/Makefile: Mention files in which fast and slow
6087 paths of math functions are implemented.
6089 2013-04-23 Roland McGrath <roland@hack.frob.com>
6091 * sysdeps/posix/timespec_get.c: New file.
6093 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6095 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6097 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6099 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6100 powerpc/power5/fpu folders.
6101 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6102 * benchtests/Makefile: Add modf testcase.
6103 * benchtests/bench-modf.c: New file: Benchmark test for mo
6105 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6108 * time/Makefile (tests): Add tst-strptime-whitespace.
6109 * time/strptime_l.c (get_number): Use ISSPACE.
6110 (__strptime_internal): Likewise.
6111 * time/tst-strptime-whitespace.c: New test case.
6113 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6115 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6117 (_nss_files_init): Set it here.
6119 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6121 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6122 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6125 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6127 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6129 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6134 2013-04-21 David S. Miller <davem@davemloft.net>
6136 * po/ru.po: Update Russion translation from translation project.
6138 2013-04-17 Adam Conrad <adconrad@0c3.net>
6140 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6143 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6145 * configure.in: Remove i386 configure warning. Remove i386 case.
6146 * configure: Regenerate.
6147 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6148 Add example to error message.
6149 * sysdeps/i386/configure: Regenerate.
6151 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6153 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6155 * benchtests/cos-inputs: New file.
6156 * benchtests/slowcos-inputs: New file.
6157 * benchtests/slowcos.c: New file.
6158 * benchtests/slowtan-inputs: New file.
6159 * benchtests/slowtan.c: New file.
6160 * benchtests/tan-inputs: New file.
6162 2013-04-16 Roland McGrath <roland@hack.frob.com>
6164 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6167 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6169 * benchtests/Makefile: Include cppflags-iterator.mk to add
6170 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6172 * Makefile.in (bench-clean): New target.
6173 * benchtests/Makefile (bench-clean): Likewise.
6175 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6177 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6179 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6181 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6183 2013-04-15 Andreas Schwab <schwab@suse.de>
6185 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6187 * nscd/pwdcache.c (cache_addpw): Likewise.
6188 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6191 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6193 * benchtests/Makefile (bench): Write all output to
6194 bench-out.tmp together.
6196 2013-04-15 Andreas Schwab <schwab@suse.de>
6198 * nscd/nscd.c (main): Don't fork again after closing files.
6200 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6202 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6204 * benchtests/Rules (bench-deps): Collect dependencies into a
6205 single variable. Add Makefile to dependencies.
6206 ($(objpfx)bench-%.c): Depend on bench-deps.
6208 2013-04-12 Roland McGrath <roland@hack.frob.com>
6209 Xavier Roche <roche+kml2@exalead.com>
6212 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6213 just that it's a file descriptor.
6214 * manual/llio.texi (Synchronizing AIO Operations): Update description
6215 for EBADF error from aio_fsync.
6217 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6219 * Rules (bench): Move target definition...
6220 * benchtests/Makefile: ... here.
6222 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6224 * math/libm-test.inc (cos_test): Fix PI/2 test.
6225 (sincos_test): Likewise.
6226 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6227 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6229 2013-04-11 Andreas Schwab <schwab@suse.de>
6232 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6233 accept exponent character only when digits were seen.
6234 * stdio-common/Makefile (tests): Add bug26.
6235 * stdio-common/bug26.c: New file.
6238 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6241 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6243 * Makeconfig (rtld-prefix): Define built linker prefix.
6244 * Rules (run-bench): Use it.
6245 * math/Makefile (run-regen-ulps): Likewise.
6247 * Rules (bench): Remove eval.
6249 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6250 Roland McGrath <roland@hack.frob.com>
6251 Ondrej Bilka <neleai@seznam.cz>
6254 * time/getdate.c: Include ctype.h and alloca.h.
6255 (__getdate_r): Trim leading and trailing spaces of input.
6256 * time/tst-getdate.c (tests): Add tests with leading and
6259 2013-04-08 Roland McGrath <roland@hack.frob.com>
6262 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6263 when computing value.
6265 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6267 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6268 Use testrun.sh to run libm tests.
6271 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6273 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6276 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6278 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6280 * Makefile.in (regen-ulps): New target.
6281 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6282 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6283 [ifneq (no,$(PERL)] (regen-ulps): New target.
6284 [ifeq (no,$(PERL)] (regen-ulps): New target.
6285 * math/libm-test.inc (ulps_file_name): Define.
6286 (output_dir): New variable.
6287 (options): Add "output-dir" option.
6288 (parse_opt): Handle 'o' case.
6289 (main): If output_dir is non-NULL use it as a prefix
6291 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6293 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6296 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6297 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6298 fail configure if __sync_val_compare_and_swap is not inlined.
6299 * sysdeps/i386/configure: Regenerate.
6300 * configure.in: Build for i686 when configured for i386.
6301 * configure: Regenerate.
6302 * README: Remove i386 reference.
6304 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6306 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6309 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6311 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6312 (lmsnanval): New variables.
6313 (F): Add conversion tests.
6314 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6315 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6317 * stdio-common/tstdiomisc.c (F): Properly collect individual
6321 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6322 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6323 Instead, use input NaN values or generate a qNaN by arithmetic
6324 operation. Also fix bugs to comply with the standard.
6325 * math/libm-test.inc (remainder_test): Add more tests.
6328 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6330 input NaN values or generate a qNaN by arithmetic operation.
6332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6335 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6338 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6341 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6343 * math/s_cexpf.c (__cexpf): Likewise.
6344 * math/s_cexpl.c (__cexpl): Likewise.
6345 * math/libm-test.inc (cexp_test): Add more tests.
6347 2013-04-03 Andreas Schwab <schwab@suse.de>
6350 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6351 order arrays from heap if bigger than alloca cutoff.
6353 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6355 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6356 (SNAN_TESTS_double): Refer to GCC PR56831.
6357 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6360 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6362 * Rules (bench): Move bench.out after the run is complete.
6364 * Rules (bench): Echo currently running benchmark.
6366 * benchtests/Makefile (bench): Add atan and slowatan.
6367 * benchtests/atan-inputs: New file.
6368 * benchtests/slowatan-inputs: New file.
6369 * benchtests/slowatan.c: New file.
6371 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6372 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6376 * sysdeps/unix/sysv/linux/kernel-features.h
6377 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6378 __ASSUME_XFS_RESTRICTED_CHOWN.
6379 * sysdeps/unix/sysv/linux/pathconf.c
6380 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6381 Save and restore errno.
6383 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6386 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6387 arguments using __kernel_casinh.
6388 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6389 arguments using __kernel_casinhf.
6390 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6391 arguments using __kernel_casinhl.
6392 * math/libm-test.inc (cacosh_test): Add more tests.
6393 * sysdeps/i386/fpu/libm-test-ulps: Update.
6394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6396 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6398 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6401 * bench/Makefile (bench): Add sin and slowsin.
6402 * benchtests/sin-inputs: New file.
6403 * benchtests/slowsin-inputs: New file.
6404 * benchtests/slowsin.c: New file.
6406 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6407 (bench): Add slowexp and slowpow.
6408 (exp-ITER): Increase iterations.
6409 (pow-ITER): Likewise.
6410 * benchtests/exp-inputs: Change input.
6411 * benchtests/pow-inputs: Likewise.
6412 * benchtests/slowexp-inputs: New file.
6413 * benchtests/slowexp.c: New file.
6414 * benchtests/slowpow-inputs: New file.
6415 * benchtests/slowpow.c: New file.
6417 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6419 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6421 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6422 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6423 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6424 * benchtests/Makefile: Add rint benchtest.
6425 * benchtests/rint-inputs: Input for rint benchtest.
6427 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6429 * Versions.def (libm): Add GLIBC_2.18.
6430 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6431 hidden libm prototypes.
6432 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6433 * math/Makefile (libm-calls): Add s_issignaling.
6434 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6435 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6436 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6438 * math/math.h [__USE_GNU] (issignaling): New macro.
6439 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6440 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6445 * manual/arith.texi (issignaling): New section.
6446 * manual/libm-err-tab.pl (@all_functions): Update comment.
6447 * math/gen-libm-test.pl (parse_args): Apply special handling for
6449 * math/libm-test.inc (print_float, issignaling_test): New
6451 (check_float_internal): Add issignaling checks.
6452 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6454 * sysdeps/powerpc/math-tests.h: New file.
6455 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6457 * math/test-snan.c (TEST_FUNC): Likewise.
6459 2013-03-30 David S. Miller <davem@davemloft.net>
6461 * po/de.po: Update from translation team.
6463 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6466 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6467 imaginary part less than 1.0 and real part less than 0.5
6469 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6470 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6471 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6472 (cacos_test): Add more tests.
6473 (casin_test): Likewise.
6474 (casinh_test): Likewise.
6475 * sysdeps/i386/fpu/libm-test-ulps: Update.
6476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6478 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6480 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6483 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6484 (__pow_mp): Replace ONE and MONE with their values.
6485 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6486 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6487 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6488 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6489 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6490 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6492 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6494 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6495 (__pow_mp): Replace ZERO and MZERO with their values.
6496 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6497 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6498 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6500 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6501 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6504 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6506 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6508 2013-03-28 Roland McGrath <roland@hack.frob.com>
6510 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6511 Declare with __attribute__ ((weak)).
6512 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6513 Call __call_tls_dtors only if it's not NULL.
6515 2013-03-28 Roland McGrath <roland@hack.frob.com>
6517 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6518 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6519 magic __ehdr_start linker symbol if it's defined.
6520 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6521 them up here if it was already done.
6523 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6524 (_dl_aux_init): Use const in cast when setting it.
6525 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6526 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6527 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6529 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6531 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6532 * csu/libc-tls.c: Nor here.
6533 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6535 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6536 (__libc_message): Never call vsyslog.
6538 2013-03-28 Alan Modra <amodra@gmail.com>
6540 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6542 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6545 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6552 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6555 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6556 Don't add gid passed as argument.
6558 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6560 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6563 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6564 imaginary part between 1.0 and 1.5 and real part less than 0.5
6566 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6567 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6568 * math/libm-test.inc (cacos_test): Add more tests.
6569 (casin_test): Likewise.
6570 (casinh_test): Likewise.
6571 * sysdeps/i386/fpu/libm-test-ulps: Update.
6572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6574 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6576 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6580 (__dbl_mp): Likewise.
6581 (add_magnitudes): Likewise.
6582 (sub_magnitudes): Likewise.
6590 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6592 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6593 (__dubcos): Likewise.
6594 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6595 (__ieee754_acos): Likewise.
6596 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6597 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6602 (my_log2): Likewise.
6603 (checkint): Likewise.
6604 * sysdeps/ieee754/dbl-64/e_remainder.c
6605 (__ieee754_remainder): Likewise.
6606 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6609 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6611 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6612 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6613 MANTISSA_STORE_T to store computations on mantissa. Use
6614 macros for rounding and division.
6616 (__dbl_mp): Likewise.
6617 (add_magnitudes): Likewise.
6618 (sub_magnitudes): Likewise.
6621 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6622 powers of two in terms of TWOPOW macro.
6623 (mp_no): Make type of mantissa as MANTISSA_T.
6624 [!RADIXI]: Define RADIXI.
6625 [!TWO52]: Define TWO52.
6626 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6628 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6631 llroundl symbol when building for PPC32.
6633 2013-03-24 Mark H Weaver <mhw@netris.org>
6635 * manual/arith.texi (Normalization Functions): Fix prototypes for
6636 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6638 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6642 high value to check if expl overflow.
6643 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6644 to check for underflow and overflow.
6645 * math/libm-test.inc: Add exp test.
6647 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6650 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6653 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6655 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6658 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6660 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6661 wrap blocks consisting of several statements.
6663 * sysdeps/generic/math-tests.h: New file.
6664 * sysdeps/i386/fpu/math-tests.h: Likewise.
6665 * math/test-snan.c: Include it.
6666 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6668 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6671 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6672 (__ieee754_j0l): Do not improve calculations using cos of twice
6673 input for inputs above LDBL_MAX / 2.0L.
6674 (__ieee754_y0l): Likewise.
6675 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6676 (__ieee754_j1l): Do not improve calculations using cos of twice
6677 input for inputs above LDBL_MAX / 2.0L.
6678 (__ieee754_y1l): Likewise.
6679 * math/libm-test.inc (j0_test): Add another test.
6680 (j1_test): Likewise.
6681 (y0_test): Likewise.
6682 (y1_test): Likewise.
6683 * sysdeps/i386/fpu/libm-test-ulps: Update.
6685 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6687 * Rules ($(objpfx)bench-%.c): Include code from a C source
6690 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6693 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6694 imaginary part 1.0 and real part less than 0.5 specially.
6695 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6696 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6697 * math/libm-test.inc (cacos_test): Add more tests.
6698 (casin_test): Likewise.
6699 (casinh_test): Likewise.
6700 * sysdeps/i386/fpu/libm-test-ulps: Update.
6701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6703 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6705 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6706 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6708 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6710 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6711 * config.make.in (config-cflags-sse4): Remove variable.
6712 (config-cflags-avx): Likewise.
6713 (config-cflags-sse2avx): Likewise.
6714 (config-cflags-novzeroupper): Likewise.
6715 (config-asflags-i686): Likewise.
6716 (have-mfma4): Likewise.
6717 (have-as-vis3): Likewise.
6719 * configure.in (MIG): Do not AC_SUBST.
6720 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6721 (libc_cv_cc_sse4): Do not AC_SUBST.
6722 (libc_cv_cc_avx): Likewise.
6723 (libc_cv_cc_sse2avx): Likewise.
6724 (libc_cv_cc_novzeroupper): Likewise.
6725 (libc_cv_cc_fma4): Likewise.
6726 (libc_cv_as_i686): Likewise.
6727 (libc_cv_sparc_as_vis3): Likewise.
6728 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6730 (config-asflags-i686): Likewise.
6731 (config-cflags-avx): Likewise.
6732 (config-cflags-sse2avx): Likewise.
6733 (have-mfma4): Likewise.
6734 (config-cflags-novzeroupper): Likewise.
6735 * sysdeps/mach/configure.in (MIG): Likewise.
6736 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6737 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6739 (config-cflags-avx): Likewise.
6740 (config-cflags-sse2avx): Likewise.
6741 (have-mfma4): Likewise.
6742 (config-cflags-novzeroupper): Likewise.
6743 * configure: Regenerated.
6744 * sysdeps/i386/configure: Likewise.
6745 * sysdeps/mach/configure: Likewise.
6746 * sysdeps/sparc/configure: Likewise.
6747 * sysdeps/x86_64/configure: Likewise.
6749 2013-03-20 Roland McGrath <roland@hack.frob.com>
6752 * locale/programs/localedef.c (options): Put N_ translation marker
6753 on argument names, not just descriptions.
6755 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6757 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6759 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6762 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6764 2013-03-19 Roland McGrath <roland@hack.frob.com>
6766 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6767 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6768 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6769 [!BEFORE_ABORT] (before_abort): New function.
6770 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6771 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6772 (writev_for_fatal): New function.
6773 (WRITEV_FOR_FATAL): New macro; call that.
6774 (backtrace_and_maps): New function.
6775 (BEFORE_ABORT): New macro; call that.
6776 (struct str_list): Type removed.
6777 (__libc_message, __libc_fatal): Functions removed.
6778 Include <sysdeps/posix/libc_fatal.c> instead.
6780 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6782 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6784 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6787 2013-03-19 Andreas Schwab <schwab@suse.de>
6789 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6790 * sysdeps/gnu/configure: Regenerate.
6792 * configure.in: Substitute libc_cv_rtlddir.
6793 * configure: Regenerate.
6794 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6795 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6796 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6797 * elf/Makefile (install-others, CFLAGS-interp.c)
6798 (ldso_install, common-ldd-rewrite): Likewise.
6799 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6800 $(inst_slibdir)/$(rtld-installed-name).
6801 * scripts/rellns-sh: Add -p option.
6802 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6805 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6807 * manual/nptl.texi: Renamed to ...
6808 * manual/threads.texi: ... this.
6809 * manual/Makefile (chapters): Update.
6811 2013-03-18 Roland McGrath <roland@hack.frob.com>
6814 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6815 on argument names, not just descriptions.
6816 * malloc/memusagestat.c (options): Likewise.
6817 * nss/getent.c (options): Likewise.
6819 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6822 * iconv/iconv_prog.c (options): Put N_ translation marker
6823 on argument names, not just descriptions.
6824 * iconv/iconvconfig.c (options): Likewise.
6826 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6828 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6829 implementation which is faster on all x86_64 architectures.
6830 Tested on AMD, Intel Nehalem, SNB, IVB.
6831 * sysdeps/x86_64/strnlen.S: Likewise.
6833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6834 Remove all multiarch strlen and strnlen versions.
6835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6836 Remove strlen and strnlen related parts.
6838 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6840 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6842 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6843 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6844 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6845 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6846 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6847 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6849 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6851 * manual/memory.texi (Malloc Tunable Parameters):
6852 Sort parameters alphabetically. Add comments for missing entries.
6854 2013-03-17 David S. Miller <davem@davemloft.net>
6856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6858 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6861 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6862 for arguments at most half maximum finite value.
6863 * math/libm-test.inc (j0_test): Add more tests.
6864 (j1_test): Likewise.
6865 (y0_test): Likewise.
6866 (y1_test): Likewise.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6871 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6872 1 / x and functions P and Q for arguments above 0x1p256L.
6873 (__ieee754_y0l): Likewise.
6874 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6875 (__ieee754_y1l): Likewise.
6876 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6877 (j1_test): Likewise.
6878 (y0_test): Likewise.
6879 (y1_test): Likewise.
6881 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6883 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6886 2013-03-15 Roland McGrath <roland@hack.frob.com>
6888 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6889 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6890 zero since it's initialized to EXEC_PAGESIZE.
6892 * sysdeps/unix/sysv/linux/ldsodefs.h
6893 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6894 * sysdeps/generic/ldsodefs.h: ... here.
6896 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6898 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6900 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6902 * math/test-snan.c: Renamed from
6903 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6904 * math/Makefile (tests): Add test-snan.
6905 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6908 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6909 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6911 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6912 __builtin_nan family of functions.
6913 * math/libm-test.inc (initialize): Initialize qnan_value with
6914 __builtin_nan family of functions.
6915 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6917 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6919 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6920 storage class. Initialize qNaN_var and sNaN_var with
6921 __builtin_nan and __builtin_nans families of functions,
6924 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6925 (sqrt_test): Remove duplicate test with qNaN input.
6926 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6927 (round_test, signbit_test, significand_test): Note missing +/-Inf
6928 as well as qNaN tests.
6930 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6931 qNaN_var. Fix a few strings, too.
6932 * math/libm-test.inc (nan_value): Rename to qnan_value.
6933 * math/gen-libm-test.pl (%beautify): Adjust to that.
6934 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6935 * math/test-misc.c (main): Likewise.
6936 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6937 to __qnan_bytes, and __qnan_union, respectively.
6938 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6940 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6941 and lqnanval, respectively.
6942 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6943 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6944 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6945 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6947 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6948 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6951 * math/test-misc.c (main): Fix copy'n'pastos.
6952 * misc/tst-efgcvt.c (special): Likewise.
6954 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6955 Remove declarations.
6957 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6959 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6960 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6961 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6962 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6964 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6966 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6967 macro to return vdso values correctly in IFUNC implementations.
6968 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6969 Optimization by using IFUNC.
6971 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6972 Richard Henderson <rth@redhat.com>
6973 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6975 * Makefile.in (bench): New target.
6976 * NEWS: Mention the benchmark framework.
6977 * Rules (bench): Likewise.
6978 (binaries-bench): Generate binaries for functions to
6980 * benchtests/Makefile: New makefile for benchmark tests.
6981 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6983 * benchtests/exp-inputs: New input file for EXP function.
6984 * benchtests/pow-inputs: New input file for POW function.
6985 * scripts/bench.pl: New script to generate source files for
6988 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6990 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6991 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6992 computations on mantissa. Use macros for rounding and
6995 (__dbl_mp): Likewise.
6996 (add_magnitudes): Likewise.
6997 (sub_magnitudes): Likewise.
7000 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7001 powers of two in terms of TWOPOW macro.
7002 (mp_no): Make type of mantissa as MANTISSA_T.
7003 [!RADIXI]: Define RADIXI.
7004 [!TWO52]: Define TWO52.
7005 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7007 * manual/nptl.texi (cindex): Modify threads to pthreads.
7009 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7011 * sysdeps/x86_64/preconfigure: Regenerated.
7013 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7016 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7018 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7019 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7021 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7022 * math/libm-test.inc (j0_test): Do not allow one spurious
7023 underflow exception.
7024 (y1_test): Likewise.
7026 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7028 * manual/Makefile (chapters): Add nptl.
7029 * manual/debug.texi (Debugging Support): Add link to Threads
7031 * manual/nptl.texi: New file.
7033 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7035 2013-03-14 Petr Baudis <pasky@ucw.cz>
7037 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7038 for non-NULL pointer before the memory validity test. Pointed
7039 out by Holger Brunck <holger.brunck@keymile.com>.
7041 2013-03-13 Andreas Schwab <schwab@suse.de>
7043 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7046 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7048 * timezone/zic.c: Update from tzcode 2013b.
7050 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7052 * manual/install.texi (Configuring and compiling):
7053 Mention i686 and i586.
7054 * INSTALL: Regenerate.
7056 2013-03-12 Roland McGrath <roland@hack.frob.com>
7058 * sysdeps/init_array/elf-init.c: New file.
7060 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7061 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7063 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7064 __gmon_start__ as global, but as static with a .preinit_array pointer.
7065 * sysdeps/init_array/gmon-start.c: New file. Use that.
7066 * sysdeps/init_array/crti.S: New file, empty except for comments.
7067 * sysdeps/init_array/crtn.S: Likewise.
7069 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7071 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7074 Remove Prefer_SSE_for_memop.
7075 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7076 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7077 HAS_PREFER_SSE_FOR_MEMOP.
7078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7081 Remove bzero, memset ifunc support.
7082 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7083 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7084 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7085 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7087 2013-03-11 Andreas Schwab <schwab@suse.de>
7090 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7093 (GLIBC_2.16): Remove pthread_atfork.
7095 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7097 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7098 (ptestcases.h): Likewise.
7100 2013-03-08 Roland McGrath <roland@hack.frob.com>
7102 * Makeconfig ($(common-objpfx)config.status): Depend on
7103 sysdeps/*/preconfigure{,.in} too.
7105 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7107 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7108 (__free_hook): Use void * instead of __malloc_ptr_t.
7109 (__malloc_hook): Likewise.
7110 (__realloc_hook): Likewise.
7111 (__memalign_hook): Likewise.
7112 (__after_morecore_hook): Likewise.
7113 * malloc/arena.c (save_malloc_hook): Likewise.
7114 (save_free_hook): Likewise.
7115 * malloc/hooks.c (malloc_hook_ini): Likewise.
7116 (realloc_hook_ini): Likewise.
7117 (memalign_hook_ini): Likewise.
7118 * malloc/malloc.c (malloc_hook_ini): Likewise.
7119 (realloc_hook_ini): Likewise.
7120 (memalign_hook_ini): Likewise.
7121 (__free_hook): Likewise.
7122 (__malloc_hook): Likewise.
7123 (__realloc_hook): Likewise.
7124 (__memalign_hook): Likewise.
7125 (__libc_malloc): Likewise.
7126 (__libc_free): Likewise.
7127 (__libc_realloc): Likewise.
7128 (__libc_memalign): Likewise.
7129 (__libc_valloc): Likewise.
7130 (__libc_pvalloc): Likewise.
7131 (__libc_calloc): Likewise.
7132 (__posix_memalign): Likewise.
7133 * malloc/morecore.c (__sbrk): Likewise.
7134 (__default_morecore): Likewise.
7136 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7138 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7139 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7142 * malloc/malloc.h (__malloc_size_t): Remove macro.
7143 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7145 (old_memalign_hook): Likewise.
7146 (old_realloc_hook): Likewise.
7147 (struct hdr): Likewise.
7149 (mallochook): Likewise.
7150 (memalignhook): Likewise.
7151 (reallochook): Likewise.
7152 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7153 (tr_old_realloc_hook): Likewise.
7154 (tr_old_memalign_hook): Likewise.
7155 (tr_mallochook): Likewise.
7156 (tr_reallochook): Likewise.
7157 (tr_memalignhook): Likewise.
7159 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7162 default_ldbl_pack and using as default implementation.
7163 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7165 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7166 redundant definition.
7167 (ldbl_insert_mantissa): Likewise.
7168 (ldbl_canonicalize): Likewise.
7169 (ldbl_nearbyint): Likewise.
7170 (ldbl_pack): Rename to ldbl_pack_ppc.
7171 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7172 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7173 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7175 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7178 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7179 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7180 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7182 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7183 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7184 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7186 2013-03-07 Andreas Jaeger <aj@suse.de>
7188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7191 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7193 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7194 Include mpa.h and declare __MPEXP.
7195 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7196 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7197 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7198 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7199 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7200 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7201 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7203 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7204 (__slowpow): Use long double EXPL and LOGL functions to
7206 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7207 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7208 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7209 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7210 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7211 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7214 intermediate variable to calculate exponent.
7216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7220 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7221 [!NO__SQR]: Define __sqr.
7222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7223 and NO__SQR. Remove all code except __mul and __sqr. Include
7224 sysdeps/ieee754/dbl-64/mpa.c.
7225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7228 * posix/Makefile (tests): Add tst-pathconf.
7229 * posix/tst-pathconf.c: New test case.
7230 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7232 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7234 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7236 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7238 2013-03-06 Andreas Jaeger <aj@suse.de>
7240 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7241 definition via __MAP_ANONYMOUS.
7243 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7244 it's not part of Linux headers.
7246 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7247 (MAP_HUGE_MASK): Define.
7249 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7251 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7254 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7255 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7257 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7260 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7262 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7263 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7264 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7265 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7266 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7267 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7269 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7273 Handle f2fs and efivarfs.
7275 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7278 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7279 (EFIVARFS_MAGIC): Add.
7280 (F2FS_LINK_MAX): Add.
7282 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7284 * stdio-common/vfprintf.c: Replace __builtin_expect with
7287 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7290 * sysdeps/generic/bp-sym.h: Remove file.
7291 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7292 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7293 <bp-sym.h> and <bp-asm.h>.
7294 (__longjmp): Don't use BP_SYM.
7295 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7297 (memcpy): Don't use BP_SYM.
7298 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7299 <bp-sym.h> and <bp-asm.h>.
7300 (memcpy): Don't use BP_SYM.
7301 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7303 (memcpy): Don't use BP_SYM.
7304 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7306 (memset): Don't use BP_SYM.
7307 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7308 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7309 (__bzero): Don't use BP_SYM.
7310 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7311 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7312 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7313 <bp-sym.h> and <bp-asm.h>.
7314 (memcmp): Don't use BP_SYM. Remove comment about bounded
7316 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7317 <bp-sym.h> and <bp-asm.h>.
7318 (memcpy): Don't use BP_SYM.
7319 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7320 <bp-sym.h> and <bp-asm.h>.
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/strncmp.S: Don't include
7328 <bp-sym.h> and <bp-asm.h>.
7329 (strncmp): Don't use BP_SYM. Remove comment about bounded
7331 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7332 <bp-sym.h> and <bp-asm.h>.
7333 (memcpy): Don't use BP_SYM.
7334 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
7343 <bp-sym.h> and <bp-asm.h>.
7344 (__memchr): Don't use BP_SYM.
7345 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7346 <bp-sym.h> and <bp-asm.h>.
7347 (memcmp): Don't use BP_SYM. Remove comment about bounded
7349 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7350 <bp-sym.h> and <bp-asm.h>.
7351 (memcpy): Don't use BP_SYM.
7352 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7353 <bp-sym.h> and <bp-asm.h>.
7354 (__mempcpy): Don't use BP_SYM.
7355 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7356 <bp-sym.h> and <bp-asm.h>.
7357 (__memrchr): Don't use BP_SYM.
7358 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7359 <bp-sym.h> and <bp-asm.h>.
7360 (memset): Don't use BP_SYM.
7361 (__bzero): Likewise.
7362 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7363 <bp-sym.h> and <bp-asm.h>.
7364 (__rawmemchr): Don't use BP_SYM.
7365 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7366 <bp-sym.h> and <bp-asm.h>.
7367 (__STRCMP): Don't use BP_SYM.
7368 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7369 <bp-sym.h> and <bp-asm.h>.
7370 (strchr): Don't use BP_SYM.
7371 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7372 <bp-sym.h> and <bp-asm.h>.
7373 (__strchrnul): Don't use BP_SYM.
7374 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7375 <bp-sym.h> and <bp-asm.h>.
7376 (strlen): Don't use BP_SYM.
7377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7378 <bp-sym.h> and <bp-asm.h>.
7379 (strncmp): Don't use BP_SYM. Remove comment about bounded
7381 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7382 <bp-sym.h> and <bp-asm.h>.
7383 (__strnlen): Don't use BP_SYM.
7384 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7385 <bp-sym.h> and <bp-asm.h>.
7386 (__GI__setjmp): Don't use BP_SYM.
7387 (_setjmp): Likewise.
7388 (__sigsetjmp): Likewise.
7389 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7390 (L(start_addresses)): Don't use BP_SYM.
7392 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7394 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7395 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7396 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7397 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7398 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7400 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7401 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7402 about bounded pointers.
7403 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7404 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7405 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7407 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7408 about bounded pointers. Remove GKM FIXME comments.
7409 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7410 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7412 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7413 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7414 Remove GKM FIXME comments.
7415 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7416 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7417 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7419 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7420 about bounded pointers. Remove GKM FIXME comment.
7421 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7423 (strncmp): Don't use BP_SYM. Remove comment about bounded
7425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7426 <bp-sym.h> and <bp-asm.h>.
7427 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7429 <bp-sym.h> and <bp-asm.h>.
7430 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7433 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7435 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7438 2013-03-05 David S. Miller <davem@davemloft.net>
7440 * po/es.po: Update from translation team.
7442 2013-03-05 Andreas Jaeger <aj@suse.de>
7444 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7445 <bits/mman-linux.h>.
7446 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7448 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7449 <bits/mman-linux.h> to end of file.
7450 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7452 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7453 <bits/mman-linux.h> to end of file.
7454 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7456 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7457 <bits/mman-linux.h> to end of file.
7459 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7460 (MCL_CURRENT, MCL_FUTURE): Define here.
7462 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7465 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7467 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7469 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7471 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7472 fourth parameter needed for rt_sigprocmask syscall.
7473 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7474 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7477 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7478 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7480 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7483 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7484 comment about bounded pointers.
7485 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7486 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7488 2013-03-04 Andreas Jaeger <aj@suse.de>
7490 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7493 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7494 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7495 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7496 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7500 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7503 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7504 __ieee754_sqrl instead of __sqrl.
7506 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7508 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7509 * sysdeps/powerpc/fpu_control.h: ... here.
7510 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7511 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7512 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7513 * sysdeps/powerpc/bits/mathinline.h: ... here.
7515 2013-03-01 Roland McGrath <roland@hack.frob.com>
7517 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7518 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7519 to just [NEED_DL_SYSINFO_DSO].
7520 * elf/dl-support.c: Likewise.
7521 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7522 * elf/rtld.c (dl_main): Likewise.
7523 * elf/setup-vdso.h (setup_vdso): Likewise.
7524 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7525 * sysdeps/unix/sysv/linux/dl-sysdep.c
7526 (_dl_discover_osversion): Likewise.
7528 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7530 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7531 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7533 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7535 * NEWS: Mention libm performance improvements and non-x86 PI
7538 * csu/libc-start.c (__pthread_initialize_minimal): Change
7540 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7542 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7545 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7546 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7547 <bp-sym.h> and <bp-asm.h>.
7548 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7549 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7551 (memcpy): Don't use BP_SYM.
7552 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7554 (__mpn_add_n): Don't use BP_SYM.
7555 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7556 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7558 (__mpn_addmul_1): Don't use BP_SYM.
7559 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7560 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7562 (_setjmp): Don't use BP_SYM.
7563 (__novmx_setjmp): Likewise.
7564 (__GI__setjmp): Likewise.
7565 (__vmx_setjmp): Likewise.
7566 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7568 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7569 (__bzero): Don't use BP_SYM.
7570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7572 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7573 <bp-sym.h> and <bp-asm.h>.
7574 (memcpy): Don't use BP_SYM.
7575 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7576 <bp-sym.h> and <bp-asm.h>.
7577 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7578 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7579 <bp-sym.h> and <bp-asm.h>.
7580 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7581 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7583 (__mpn_lshift): Don't use BP_SYM.
7584 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7585 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7587 (memset): Don't use BP_SYM.
7588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7590 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7592 (__mpn_mul_1): Don't use BP_SYM.
7593 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7594 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7595 <bp-sym.h> and <bp-asm.h>.
7596 (memcmp): Don't use BP_SYM.
7597 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7598 <bp-sym.h> and <bp-asm.h>.
7599 (memcpy): Don't use BP_SYM.
7600 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7601 <bp-sym.h> and <bp-asm.h>.
7602 (memset): Don't use BP_SYM.
7603 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7604 <bp-sym.h> and <bp-asm.h>.
7605 (strncmp): Don't use BP_SYM.
7606 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7607 <bp-sym.h> and <bp-asm.h>.
7608 (memcpy): Don't use BP_SYM.
7609 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7610 <bp-sym.h> and <bp-asm.h>.
7611 (memset): Don't use BP_SYM.
7612 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7613 <bp-sym.h> and <bp-asm.h>.
7614 (__memchr): Don't use BP_SYM.
7615 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7616 <bp-sym.h> and <bp-asm.h>.
7617 (memcmp): Don't use BP_SYM.
7618 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7619 <bp-sym.h> and <bp-asm.h>.
7620 (memcpy): Don't use BP_SYM.
7621 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7622 <bp-sym.h> and <bp-asm.h>.
7623 (__mempcpy): Don't use BP_SYM.
7624 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7625 <bp-sym.h> and <bp-asm.h>.
7626 (__memrchr): Don't use BP_SYM.
7627 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7628 <bp-sym.h> and <bp-asm.h>.
7629 (memset): Don't use BP_SYM.
7630 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7631 <bp-sym.h> and <bp-asm.h>.
7632 (__rawmemchr): Don't use BP_SYM.
7633 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7634 <bp-sym.h> and <bp-asm.h>.
7635 (__STRCMP): Don't use BP_SYM.
7636 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7637 <bp-sym.h> and <bp-asm.h>.
7638 (strchr): Don't use BP_SYM.
7639 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7640 <bp-sym.h> and <bp-asm.h>.
7641 (__strchrnul): Don't use BP_SYM.
7642 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7643 <bp-sym.h> and <bp-asm.h>.
7644 (strlen): Don't use BP_SYM.
7645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7646 <bp-sym.h> and <bp-asm.h>.
7647 (strncmp): Don't use BP_SYM.
7648 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7649 <bp-sym.h> and <bp-asm.h>.
7650 (__strnlen): Don't use BP_SYM.
7651 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7653 (__mpn_rshift): Don't use BP_SYM.
7654 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7655 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7656 <bp-sym.h> and <bp-asm.h>.
7657 (__sigsetjmp): Don't use BP_SYM.
7658 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7659 (L(start_addresses)): Don't use BP_SYM.
7661 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7663 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7664 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7665 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7666 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7668 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7669 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7670 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7671 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7673 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7675 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7676 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7678 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7680 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7681 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7682 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7684 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7686 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7688 (strncmp): Don't use BP_SYM,
7689 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7691 (__mpn_sub_n): Don't use BP_SYM.
7692 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7693 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7695 (__mpn_submul_1): Don't use BP_SYM.
7696 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7698 <bp-sym.h> and <bp-asm.h>.
7699 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7701 <bp-sym.h> and <bp-asm.h>.
7702 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7705 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7708 Use ZK to minimize writes to Z.
7709 (sub_magnitudes): Simplify code a bit.
7710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7711 Use ZK to minimize writes to Z.
7712 (sub_magnitudes): Simplify code a bit.
7714 2013-02-27 Roland McGrath <roland@hack.frob.com>
7716 * csu/gmon-start.c: Add special exception to license text.
7718 2013-02-27 Richard Henderson <rth@redhat.com>
7720 * scripts/config.guess: Update from config.git.
7721 * scripts/config.sub: Likewise.
7723 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7727 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7729 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7731 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7733 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7735 2013-02-26 Roland McGrath <roland@hack.frob.com>
7737 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7738 [$(build-shared = yes].
7740 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7742 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7743 (__mul): Reduce iterations for calculating mantissa.
7745 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7747 (__mpranred): Likewise.
7750 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7751 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7753 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7755 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7756 Define __attribute__.
7758 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7760 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7762 * posix/regex_internal.h (__attribute): Remove.
7763 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7764 (re_string_context_at): Likewise.
7765 (bitset_not): Use __attribute__ and mark function as possibly
7767 (bitset_merge): Likewise.
7768 (bitset_mask): Likewise.
7769 (re_string_char_size_at): Likewise.
7770 (re_string_wchar_at): Likewise.
7771 (re_string_elem_size_at): Likewise.
7773 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7775 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7779 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7784 (__dbl_mp): Likewise.
7785 (add_magnitudes): Likewise.
7786 (sub_magnitudes): Likewise.
7790 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7793 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7796 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7800 up changes with default code.
7801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7804 2013-02-24 Allan McRae <allan@archlinux.org>
7806 * manual/socket.texi (The Internet Namespace): Order menu items
7807 to match that in the file.
7809 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7810 node listing of the info page menu.
7812 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7815 * sysdeps/i386/bp-asm.h: Remove file.
7816 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7817 (PARMS): Do not use macros from bp-asm.h.
7821 (__mpn_add_n): Do not use BP_SYM
7822 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7824 (PARMS): Do not use macros from bp-asm.h.
7827 (__mpn_addmul_1): Do not use BP_SYM
7828 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7830 (PARMS): Do not use macros from bp-asm.h.
7832 (_setjmp): Likewise. Do not use BP_SYM.
7833 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7835 (PARMS): Do not use macros from bp-asm.h.
7837 (setjmp): Likewise. Do not use BP_SYM.
7838 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7840 (PARMS): Do not use macros from bp-asm.h.
7841 (__frexp): Do not use BP_SYM.
7843 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7845 (PARMS): Do not use macros from bp-asm.h.
7846 (__frexpf): Do not use BP_SYM.
7848 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7850 (PARMS): Do not use macros from bp-asm.h.
7851 (__frexpl): Do not use BP_SYM.
7853 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7855 (PARMS): Do not use macros from bp-asm.h.
7856 (__remquo): Do not use BP_SYM.
7858 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7860 (PARMS): Do not use macros from bp-asm.h.
7861 (__remquof): Do not use BP_SYM.
7862 (remquof): Likewise.
7863 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7865 (PARMS): Do not use macros from bp-asm.h.
7866 (__remquol): Do not use BP_SYM.
7867 (remquol): Likewise.
7868 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7870 (PARMS): Do not use macros from bp-asm.h.
7873 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7874 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7876 (PARMS): Do not use macros from bp-asm.h.
7877 (strlen): Do not use BP_SYM.
7878 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7880 (PARMS): Do not use macros from bp-asm.h.
7884 (__mpn_add_n): Do not use BP_SYM.
7885 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7887 (PARMS): Do not use macros from bp-asm.h.
7890 (__mpn_addmul_1): Do not use BP_SYM.
7891 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7894 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7896 (PARMS): Do not use macros from bp-asm.h.
7899 (__mpn_lshift): Do not use BP_SYM.
7900 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7902 (PARMS): Do not use macros from bp-asm.h.
7906 (memcpy): Likewise. Do not use BP_SYM.
7907 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7908 libc_hidden_def and weak_alias.
7909 (mempcpy): Do not use BP_SYM in weak_alias.
7910 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7912 (PARMS): Do not use macros from bp-asm.h.
7915 [!BZERO_P] (CHR): Likewise.
7916 (memset): Likewise. Do not use BP_SYM.
7917 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7919 (PARMS): Do not use macros from bp-asm.h.
7922 (__mpn_mul_1): Do not use BP_SYM.
7923 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7925 (PARMS): Do not use macros from bp-asm.h.
7928 (__mpn_rshift): Do not use BP_SYM.
7929 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7931 (PARMS): Do not use macros from bp-asm.h.
7934 (strchr): Likewise. Do not use BP_SYM.
7935 (index): Do not use BP_SYM in weak_alias.
7936 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7938 (PARMS): Do not use macros from bp-asm.h.
7941 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7942 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7944 (PARMS): Do not use macros from bp-asm.h.
7945 (strlen): Do not use BP_SYM.
7946 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7948 (PARMS): Do not use macros from bp-asm.h.
7952 (__mpn_sub_n): Do not use BP_SYM.
7953 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7955 (PARMS): Do not use macros from bp-asm.h.
7958 (__mpn_submul_1): Do not use BP_SYM.
7959 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7961 (PARMS): Do not use macros from bp-asm.h.
7965 (__mpn_add_n): Do not use BP_SYM.
7966 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7969 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7971 (PARMS): Do not use macros from bp-asm.h.
7974 (memcmp): Do not use BP_SYM.
7975 (bcmp): Do not use BP_SYM in weak_alias.
7976 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7978 (PARMS): Do not use macros from bp-asm.h.
7982 (memcpy): Likewise. Do not use BP_SYM.
7983 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7985 (PARMS): Do not use macros from bp-asm.h.
7989 (memmove): Likewise. Do not use BP_SYM.
7990 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7992 (PARMS): Do not use macros from bp-asm.h.
7996 (__mempcpy): Likewise. Do not use BP_SYM.
7997 (mempcpy): Do not use BP_SYM in weak_alias.
7998 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8000 (PARMS): Do not use macros from bp-asm.h.
8003 [!BZERO_P] (CHR): Likewise.
8004 (memset): Likewise. Do not use BP_SYM.
8005 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8007 (PARMS): Do not use macros from bp-asm.h.
8009 (strcmp): Do not use BP_SYM.
8010 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8012 (PARMS): Do not use macros from bp-asm.h.
8015 [USE_AS_STRTOK_R] (SAVE): Likewise.
8016 (FUNCTION): Likewise. Do not use BP_SYM.
8017 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8019 (strtok_r): Likewise.
8020 (__GI___strtok_r): Likewise.
8021 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8022 (PARMS): Do not use macros from bp-asm.h.
8025 (__mpn_lshift): Do not use BP_SYM.
8026 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8027 (PARMS): Do not use macros from bp-asm.h.
8030 (__memchr): Do not use BP_SYM.
8031 (memchr): Do not use BP_SYM in weak_alias.
8032 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8033 (PARMS): Do not use macros from bp-asm.h.
8036 (memcmp): Do not use BP_SYM.
8037 (bcmp): Do not use BP_SYM in weak_alias.
8038 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8039 (PARMS): Do not use macros from bp-asm.h.
8042 (__mpn_mul_1): Do not use BP_SYM.
8043 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8045 (PARMS): Do not use macros from bp-asm.h.
8048 (__rawmemchr): Do not use BP_SYM.
8049 (rawmemchr): Do not use BP_SYM in weak_alias.
8050 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8051 (PARMS): Do not use macros from bp-asm.h.
8054 (__mpn_rshift): Do not use BP_SYM.
8055 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8056 (PARMS): Do not use macros from bp-asm.h.
8058 (__sigsetjmp): Likewise. Do not use BP_SYM.
8059 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8060 (_start): Do not use BP_SYM.
8061 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8062 (PARMS): Do not use macros from bp-asm.h.
8065 (__stpcpy): Likewise. Do not use BP_SYM.
8066 (stpcpy): Do not use BP_SYM in weak_alias.
8067 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8069 (PARMS): Do not use macros from bp-asm.h.
8073 (__stpncpy): Likewise. Do not use BP_SYM.
8074 (stpncpy): Do not use BP_SYM in weak_alias.
8075 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8076 (PARMS): Do not use macros from bp-asm.h.
8079 (strchr): Likewise. Do not use BP_SYM.
8080 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8082 (PARMS): Do not use macros from bp-asm.h.
8085 (__strchrnul): Likewise. Do not use BP_SYM.
8086 (strchrnul): Do not use BP_SYM in weak_alias.
8087 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8089 (PARMS): Do not use macros from bp-asm.h.
8091 (strcspn): Do not use BP_SYM.
8092 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8094 (PARMS): Do not use macros from bp-asm.h.
8097 (strpbrk): Likewise. Do not use BP_SYM.
8098 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8100 (PARMS): Do not use macros from bp-asm.h.
8103 (strrchr): Likewise. Do not use BP_SYM.
8104 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8105 (PARMS): Do not use macros from bp-asm.h.
8107 (strspn): Do not use BP_SYM.
8108 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8109 (PARMS): Do not use macros from bp-asm.h.
8113 (FUNCTION): Likewise. Do not use BP_SYM.
8114 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8116 (strtok_r): Likewise.
8117 (__GI___strtok_r): Likewise.
8118 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8119 (PARMS): Do not use macros from bp-asm.h.
8123 (__mpn_sub_n): Do not use BP_SYM.
8124 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8126 (PARMS): Do not use macros from bp-asm.h.
8129 (__mpn_submul_1): Do not use BP_SYM.
8130 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8132 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8134 (PARMS): Do not use macros from bp-asm.h.
8139 (__clone): Do not use BP_SYM.
8140 (clone): Do not use BP_SYM in weak_alias.
8141 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8143 (PARMS): Do not use macros from bp-asm.h.
8145 (__mmap64): Do not use BP_SYM.
8146 (mmap64): Do not use BP_SYM in weak_alias.
8147 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8148 <bp-sym.h> and <bp-asm.h>.
8149 (PARMS): Do not use macros from bp-asm.h.
8150 (__posix_fadvise64_l64): Do not use BP_SYM.
8151 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8152 (PARMS): Do not use macros from bp-asm.h.
8154 (semtimedop): Do not use BP_SYM.
8155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8158 2013-02-21 Allan McRae <allan@archlinux.org>
8160 * manual/message.texi (Charset conversion in gettext):
8161 Move @end statement to beginning of line.
8163 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8170 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8175 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8177 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8178 tail-call to the resolved function if pltexit isn't needed.
8180 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8183 or Y being zero as being unlikely.
8184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8187 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8189 * manual/nss.texi (System Databases and Name Service Switch):
8190 Remove frobnicate @pxref.
8192 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8194 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8195 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8197 2013-02-20 Petr Machata <pmachata@redhat.com>
8199 * elf/elf.h (R_ARM_TARGET1): New macro.
8200 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8201 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8202 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8203 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8204 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8205 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8206 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8207 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8208 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8209 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8210 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8211 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8212 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8213 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8214 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8215 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8216 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8217 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8218 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8219 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8220 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8221 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8222 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8223 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8224 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8225 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8226 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8227 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8228 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8229 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8230 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8231 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8232 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8233 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8234 (R_ARM_THM_GOT_BREL12): Likewise.
8235 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8236 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8237 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8238 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8239 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8240 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8241 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8242 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8243 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8245 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8247 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8248 __attribute_used__ to __attribute__ ((unused)).
8250 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8252 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8258 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8261 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8263 (ENTER): Remove both macro definitions.
8265 (CHECK_BOUNDS_LOW): Likewise.
8266 (CHECK_BOUNDS_HIGH): Likewise.
8267 (CHECK_BOUNDS_BOTH): Likewise.
8268 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8269 (RETURN_BOUNDED_POINTER): Likewise.
8270 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8271 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8272 (POP_ERRNO_LOCATION_RETURN): Likewise.
8273 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8274 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8275 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8277 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8278 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8279 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8280 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8281 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8282 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8283 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8284 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8285 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8286 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8287 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8288 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8289 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8290 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8292 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8293 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8295 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8296 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8297 * sysdeps/i386/i586/memset.S (memset): Likewise.
8298 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8299 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8300 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8302 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8303 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8304 Change uses of L(2) to L(out).
8305 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8306 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8307 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8308 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8309 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8311 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8312 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8314 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8315 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8316 (RETURN): Do not use macro LEAVE.
8317 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8318 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8319 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8320 * sysdeps/i386/i686/memset.S (memset): Likewise.
8321 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8322 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8323 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8324 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8326 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8327 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8328 L(1_2) and L(1_3) into L(1).
8329 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8330 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8331 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8332 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8333 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8334 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8335 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8336 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8337 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8339 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8340 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8341 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8342 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8343 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8344 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8345 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8346 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8347 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8348 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8349 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8350 * sysdeps/i386/strspn.S (strspn): Likewise.
8351 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8353 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8354 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8355 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8356 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8358 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8359 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8360 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8362 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8364 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8366 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8369 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8371 * math/atest-exp.c (exp_mpn): Remove ROUND.
8372 * math/atest-exp2.c (exp_mpn): Likewise.
8373 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8375 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8376 * stdlib/tst-tls-atexit-lib.c: Likewise.
8377 * stdlib/tst-tls-atexit.c: Likewise.
8379 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8381 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8382 and __attribute_alloc_size__.
8384 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8386 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8387 __attribute_alloc_size__.
8388 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8389 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8391 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8393 * include/programs/xmalloc.h: New file.
8394 * catgets/gencat.c: Include it.
8395 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8396 * elf/pldd.c: Likewise.
8397 * iconv/iconv_charmap.c: Likewise.
8398 * iconv/iconvconfig.c: Likewise.
8399 * iconv/strtab.c: Likewise.
8400 * locale/programs/locale.c: Likewise.
8401 * locale/programs/localedef.h: Likewise.
8402 * locale/programs/simple-hash.c: Likewise.
8403 * nscd/nscd.h: Likewise.
8404 * nss/makedb.c: Likewise.
8405 * sysdeps/generic/ldconfig.h: Likewise.
8407 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8409 * Versions.def: Add GLIBC_2.18.
8410 * include/link.h (struct link_map): New member l_tls_dtor_count.
8411 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8412 (__call_tls_dtors): Likewise.
8413 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8414 __cxa_thread_atexit_impl.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8431 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8432 (tests): Add test case tst-tls-atexit.
8433 (modules-names): Add shared library for tst-tls-atexit.
8434 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8435 (GLIBC_PRIVATE): Add __call_tls_dtors.
8436 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8438 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8439 * stdlib/tst-tls-atexit.c: New test case.
8440 * stdlib/tst-tls-atexit-lib.c: New test case.
8442 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8444 * elf/Versions (ld): Add _dl_find_dso_for_object.
8445 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8446 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8447 (dl_open_worker): Use _dl_find_dso_for_object.
8448 * elf/dl-sym.c (do_sym): Likewise.
8449 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8451 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8453 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8454 Syntactic changes only.
8455 (_dl_runtime_profile): Do a tail-call to the resolved function.
8457 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8460 * sysdeps/x86_64/bp-asm.h: Remove file.
8461 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8462 <bp-sym.h> and <bp-asm.h>.
8463 (__clone): Do not use BP_SYM.
8464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8465 <bp-sym.h> and <bp-asm.h>.
8466 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8467 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8469 (_setjmp): Do not use BP_SYM.
8470 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8472 (setjmp): Do not use BP_SYM.
8473 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8475 (mempcpy): Do not use BP_SYM in weak_alias.
8476 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8478 (strchr): Do not use BP_SYM.
8479 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8481 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8482 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8483 (_start): Do not use BP_SYM.
8484 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8486 (strcat): Do not use BP_SYM.
8487 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8489 (STRCMP): Do not use BP_SYM.
8490 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8492 (STRCPY): Do not use BP_SYM.
8493 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8495 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8497 (FUNCTION): Do not use BP_SYM.
8498 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8500 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8502 2013-02-17 Andreas Jaeger <aj@suse.de>
8504 * time/Versions: Sort entries.
8505 * string/Versions: Likewise.
8506 * resolv/Versions: Likewise.
8507 * posix/Versions: Likewise.
8508 * iconv/Versions: Likewise.
8509 * elf/Versions: Likewise.
8510 * wcsmbs/Versions: Likewise.
8512 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8514 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8515 loop termination condition.
8517 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8518 variable to calculate EZ.
8521 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8522 the lower precision input.
8524 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8527 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8528 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8529 (run-via-rtld-prefix): Do not handle %-bp tests.
8530 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8531 (all-object-suffixes): Remove .ob.
8532 (bppfx): Remove variable.
8533 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8534 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8535 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8536 [$(build-bounded) = yes] (libtype.ob): Likewise.
8537 * Makerules (elide-routines.ob): Remove variable.
8538 (do-tests-clean): Do not handle *-bp.out.
8539 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8540 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8541 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8542 (tests): Do not include $(tests-bp.out).
8543 (xtests): Do not include $(xtests-bp.out).
8544 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8545 [$(build-bounded) = yes] ($(addprefix
8546 $(objpfx),$(binaries-bounded))): Remove rule.
8547 ($(objpfx)%-bp.out): Remove rule.
8548 * config.make.in (build-bounded): Remove variable.
8549 * crypt/Makefile [$(build-bounded) = yes]
8550 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8551 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8553 [$(build-bounded) = yes] (install-lib): Likewise.
8554 [$(build-bounded) = yes] (generated): Likewise.
8555 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8557 * intl/Makefile [$(build-bounded) = yes]
8558 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8559 * math/Makefile [$(build-bounded) = yes]
8560 ($(tests:%=$(objpfx)%-bp): Likewise.
8561 * misc/Makefile [$(build-bounded) = yes]
8562 ($(objpfx)tst-tsearch-bp): Likewise.
8563 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8564 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8566 * string/Makefile (o-objects.ob): Remove variable.
8567 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8568 (CFLAGS-.ob): Remove variable.
8569 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8570 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8571 both definitions of variable.
8572 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8573 (ASFLAGS-.ob): Remove variable.
8575 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8578 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8579 Remove __BOUNDED_POINTERS__ from condition.
8580 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8581 * string/bits/string2.h [!__NO_STRING_INLINES &&
8582 !__BOUNDED_POINTERS__]: Likewise.
8583 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8585 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8586 Remove conditional code.
8587 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8588 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8589 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8593 * csu/libc-start.c: Do not include <bp-sym.h>.
8594 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8595 * elf/dl-open.c: Do not include <bp-sym.h>.
8596 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8597 * math/fegetenv.c: Do not include <bp-sym.h>.
8598 (fegetenv): Do not use BP_SYM in versioned symbols.
8599 * nptl/sysdeps/pthread/bits/libc-lockP.h
8600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8603 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8605 (__pthread_mutex_destroy): Likewise.
8606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8607 (__pthread_mutex_lock): Likewise.
8608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8609 (__pthread_mutex_trylock): Likewise.
8610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8611 (__pthread_mutex_unlock): Likewise.
8612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8613 (__pthread_mutexattr_init): Likewise.
8614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8615 (__pthread_mutexattr_destroy): Likewise.
8616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8617 (__pthread_mutexattr_settype): Likewise.
8618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8619 (__pthread_rwlock_init): Likewise.
8620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8621 (__pthread_rwlock_destroy): Likewise.
8622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8623 (__pthread_rwlock_rdlock): Likewise.
8624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8625 (__pthread_rwlock_tryrdlock): Likewise.
8626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8627 (__pthread_rwlock_wrlock): Likewise.
8628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8629 (__pthread_rwlock_trywrlock): Likewise.
8630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8631 (__pthread_rwlock_unlock): Likewise.
8632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8633 (__pthread_key_create): Likewise.
8634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8635 (__pthread_setspecific): Likewise.
8636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8637 (__pthread_getspecific): Likewise.
8638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8641 (_pthread_cleanup_push_defer): Likewise.
8642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8643 (_pthread_cleanup_pop_restore): Likewise.
8644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8645 (pthread_setcancelstate): Likewise.
8646 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8648 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8649 (memchr): Do not use BP_SYM in weak_alias.
8650 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8651 (fegetenv): Do not use BP_SYM in versioned symbols.
8652 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8653 (fesetenv): Do not use BP_SYM in versioned symbols.
8654 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8655 (feupdateenv): Do not use BP_SYM in versioned symbols.
8656 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8657 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8658 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8659 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8660 (open64): Do not use BP_SYM in weak_alias.
8661 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8662 (fegetenv): Do not use BP_SYM in versioned symbols.
8663 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8664 (fesetenv): Do not use BP_SYM in versioned symbols.
8665 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8666 (feupdateenv): Do not use BP_SYM in versioned symbols.
8667 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8668 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8669 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8670 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8671 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8672 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8673 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8675 (__libc_start_main): Do not use BP_SYM.
8677 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8680 redundant return line.
8684 (sub_magnitudes): Likewise.
8690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8694 (sub_magnitudes): Likewise.
8701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8703 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8704 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8707 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8708 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8710 of __mul for squares.
8711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8715 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8716 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8718 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8721 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8723 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8724 prototype or function definition. Rename ubp_* variables and
8725 parameters. Remove argv definitions conditional on
8726 [__BOUNDED_POINTERS__].
8727 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8728 * elf/dl-runtime.c (_dl_fixup): Likewise.
8729 * include/set-hooks.h (RUN_HOOK): Likewise.
8730 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8732 * string/strcpy.c (strcpy): Do not use __unbounded.
8733 * sysdeps/generic/frame.h (struct layout): Likewise.
8734 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8735 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8736 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8737 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8738 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8739 (__backtrace): Likewise.
8740 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8742 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8743 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8744 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8746 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8747 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8748 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8749 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8750 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8751 Do not use __unbounded.
8752 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8753 Rename __unboundedrlimits parameter to rlimits in prototype.
8754 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8755 Do not use __unbounded.
8756 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8758 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8759 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8760 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8761 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8762 __ptrvalue or __unbounded.
8763 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8764 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8766 (__new_msgctl): Do not use __ptrvalue.
8767 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8769 (__libc_msgrcv): Do not use __ptrvalue.
8770 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8771 startup_info): Do not use __unbounded.
8772 (__libc_start_main): Likewise. Rename ubp_* variables and
8773 parameters. Remove argv definitions conditional on
8774 [__BOUNDED_POINTERS__].
8775 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8777 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8779 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8781 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8783 (__new_shmctl): Do not use __ptrvalue.
8784 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8785 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8787 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8788 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8789 (__libc_sigaction): Likewise.
8790 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8791 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8793 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8795 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8797 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8799 * string/mempcpy.c: Implement by calling memcpy.
8801 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8808 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8809 values in the mantissa.
8811 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8812 minimize writes to Z.
8813 (sub_magnitudes): Simplify code a bit.
8815 2013-02-12 Roland McGrath <roland@hack.frob.com>
8817 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8818 from the message. The linker prefixes all warnings with that already.
8820 2013-02-12 Andreas Schwab <schwab@suse.de>
8823 * posix/regexec.c (extend_buffers): Add parameter min_len.
8824 (check_matching): Pass minimum needed length.
8825 (clean_state_log_if_needed): Likewise.
8826 (get_subexp): Likewise.
8827 * posix/Makefile (tests): Add bug-regex34.
8828 (bug-regex34-ENV): Define.
8829 * posix/bug-regex34.c: New file.
8832 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8833 elements compare against the byte sequence of it, not its name.
8834 * posix/Makefile (tests): Add bug-regex35.
8835 (bug-regex35-ENV): Define.
8836 * posix/bug-regex35.c: New file.
8838 2013-02-11 Tom de Vries <tom@codesourcery.com>
8840 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8842 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8843 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8844 (CHECK_EOL): Add undef.
8846 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8848 * bits/stdlib-bsearch.h: New file.
8849 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8850 * stdlib/stdlib.h: Likewise.
8852 2013-02-11 Roland McGrath <roland@hack.frob.com>
8854 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8855 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8857 * manual/search.texi (Array Search Function): Add missing const in
8859 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8860 declaration to use rlim_t.
8861 (Basic Scheduling Functions): Remove erroneous const from
8862 sched_getparam prototype. Remove erroneous * from
8863 sched_get_priority_max and sched_get_priority_min prototypes.
8864 (Resource Usage): Fix summary @comment on vtimes to refer to
8865 sys/vtimes.h rather than vtimes.h.
8866 Add missing *s in vtimes prototype.
8867 (Limits on Resources): Fix ulimit prototype to return long int.
8868 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8869 prototypes to use long int rather than double.
8870 (BSD Random): Fix initstate and setstate to use char *, not void *.
8871 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8872 prototype to make second argument 'struct aiocb64 *const[]'.
8873 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8874 (Status of AIO Operations): Remove erroneous const in aio_return and
8875 aio_return64 prototypes.
8876 (Synchronizing I/O): Fix sync prototype to return void.
8877 * manual/startup.texi (Suboptions): Remove an erroneous const in
8878 getsubopt prototype.
8879 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8880 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8881 use size_t rather than int.
8882 (Scanning All Users): Likewise for getpwent_r.
8883 (Setting Groups): Add missing const to setgroups prototype.
8884 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8885 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8886 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8887 'const void *' rather than 'const char *'.
8888 (Host Address Functions): Likewise for inet_ntop.
8889 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8890 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8891 ssize_t for return value.
8892 (Sending Data): Likewise for send, sendto, sendmsg.
8893 (Socket Option Functions): Add a missing const in setsockopt prototype.
8894 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8895 use wchar_t for the argument.
8896 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8897 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8899 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8900 double/float/long double for second argument.
8901 Fix return types of significand, significandf, significandl.
8902 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8903 argument in fchmod prototype.
8904 (File Owner): Use uid_t and gid_t in fchown prototype.
8905 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8906 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8907 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8908 use 'const struct dirent **' as argument types to CMP function pointer
8910 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8911 (File Times): Fix summary magic @comment for struct utimbuf and utime
8912 to refer to utime.h, not time.h.
8913 * manual/string.texi (Argz Functions): Add missing const in
8914 argz_extract and argz_next prototypes.
8915 (Finding Tokens in a String): Likewise for basename.
8916 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8917 (Copying and Concatenation): Fix typo in wmemmove prototype.
8918 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8919 (Signal Stack): Remove erroneous const in sigstack prototype.
8920 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8922 (Simple Calendar Time): Likewise for stime.
8923 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8925 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8926 say sys/sysctl.h instead.
8927 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8928 and vsyslog prototypes.
8930 2013-02-11 Tom de Vries <tom@codesourcery.com>
8932 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8935 2013-02-11 Roland McGrath <roland@hack.frob.com>
8937 * misc/sys/mman.h: Fix typo in mremap comment.
8939 2013-02-08 Roland McGrath <roland@hack.frob.com>
8941 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8942 the '\0' terminator.
8944 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8947 * debug/segfault.c: Don't include <bp-checks.h>.
8948 * sysdeps/generic/bp-checks.h: Remove file.
8949 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8950 (__GETDENTS): Don't use CHECK_N.
8951 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8952 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8953 (__getgroups): Don't use CHECK_N.
8954 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8955 (setgroups): Don't use CHECK_N.
8956 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8957 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8958 (__libc_msgrcv): Don't use CHECK_N.
8959 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8960 (__libc_msgsnd): Don't use CHECK_N.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8963 (__libc_pread): Don't use CHECK_N.
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8965 include <bp-checks.h>.
8966 (__libc_pread64): Don't use CHECK_N.
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8968 include <bp-checks.h>.
8969 (__libc_pwrite): Don't use CHECK_N.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8971 include <bp-checks.h>.
8972 (__libc_pwrite64): Don't use CHECK_N.
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8975 (__libc_pread): Don't use CHECK_N.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8977 include <bp-checks.h>.
8978 (__libc_pread64): Don't use CHECK_N.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8980 include <bp-checks.h>.
8981 (__libc_pwrite): Don't use CHECK_N.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8983 include <bp-checks.h>.
8984 (__libc_pwrite64): Don't use CHECK_N.
8985 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8986 (do_pread): Don't use CHECK_N.
8987 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8988 (do_pread64): Don't use CHECK_N.
8989 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8990 (do_pwrite): Don't use CHECK_N.
8991 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8992 (do_pwrite64): Don't use CHECK_N.
8993 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8994 (__libc_readv): Don't use CHECK_N.
8995 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8996 (semop): Don't use CHECK_N.
8997 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8999 (semtimedop): Don't use CHECK_N.
9000 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9001 (__libc_pread): Don't use CHECK_N.
9002 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9004 (__libc_pread64): Don't use CHECK_N.
9005 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9007 (__libc_pwrite): Don't use CHECK_N.
9008 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9010 (__libc_pwrite64): Don't use CHECK_N.
9011 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9013 (__libc_msgrcv): Don't use CHECK_N.
9014 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9015 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9016 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9017 (__libc_writev): Don't use CHECK_N.
9019 2013-02-08 Roland McGrath <roland@hack.frob.com>
9021 * string/strcpy.c: Removed unused variable.
9023 * Makeconfig (+sysdep-includes): Define with := rather than =.
9024 Use an existing include/ subdir of each sysdeps dir before it.
9026 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9028 * nscd/connection.c (register_traced_file): Comment function.
9029 [HAVE_INOTIFY] (union __inev): Define.
9030 [HAVE_INOTIFY] (inotify_check_files): New function.
9031 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9032 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9034 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9036 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9038 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9039 loaded if not already and that a failure is permanent.
9041 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9044 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9045 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9047 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9050 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9051 (CHECK_1_NULL_OK): Likewise.
9052 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9053 (__fxstat): Do not use CHECK_1.
9054 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9056 (___fxstat64): Do not use CHECK_1.
9057 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9059 (__fxstatat): Do not use CHECK_1.
9060 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9062 (__fxstatat64): Do not use CHECK_1.
9063 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9065 (__fxstat): Do not use CHECK_1.
9066 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9068 (__fxstatat): Do not use CHECK_1.
9069 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9071 (__getresgid): Do not use CHECK_1.
9072 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9074 (__getresuid): Do not use CHECK_1.
9075 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9077 (__lxstat): Do not use CHECK_1.
9078 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9080 (__old_msgctl): Do not use CHECK_1.
9081 (__new_msgctl): Likewise.
9082 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9084 (__new_setrlimit): Do not use CHECK_1.
9085 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9087 (__old_shmctl): Do not use CHECK_1.
9088 (__new_shmctl): Likewise.
9089 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9091 (__xstat): Do not use CHECK_1.
9092 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9093 (__lxstat): Do not use CHECK_1.
9094 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9096 (___lxstat64): Do not use CHECK_1.
9097 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9098 (__old_msgctl): Do not use CHECK_1.
9099 (__new_msgctl): Likewise.
9100 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9102 (__gettimeofday): Do not use CHECK_1.
9103 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9104 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9105 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9107 (__gettimeofday): Do not use CHECK_1.
9108 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9109 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9110 (__new_shmctl): Do not use CHECK_1.
9111 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9113 (do_sigtimedwait): Do not use CHECK_1.
9114 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9116 (do_sigwaitinfo): Do not use CHECK_1.
9117 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9119 (msgctl): Do not use CHECK_1.
9120 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9122 (shmctl): Do not use CHECK_1.
9123 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9124 (ustat): Do not use CHECK_1.
9125 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9127 (__fxstat): Do not use CHECK_1.
9128 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9130 (__fxstatat): Do not use CHECK_1.
9131 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9133 (__lxstat): Do not use CHECK_1.
9134 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9136 (__xstat): Do not use CHECK_1.
9137 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9138 (__xstat): Do not use CHECK_1.
9139 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9140 (___xstat64): Do not use CHECK_1.
9143 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9145 (CHECK_BOUNDS_HIGH): Likewise.
9146 * string/strcpy.c: Do not include <bp-checks.h>.
9147 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9149 2013-02-07 Roland McGrath <roland@hack.frob.com>
9151 * nscd/nscd-client.h (__nscd_drop_map_ref):
9152 Add __attribute__ ((unused)).
9153 * nis/nss-nisplus.h (niserr2nss): Likewise.
9155 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9156 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9158 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9159 Remove inline keyword.
9160 * include/rounding-mode.h (round_away): Likewise.
9161 * libio/wfileops.c (adjust_wide_data): Likewise.
9162 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9163 (__m128i_strloadu_tolower): Likewise.
9164 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9165 (__m128i_strloadu_tolower): Likewise.
9166 * time/mktime.c (ydhms_diff): Likewise.
9167 * locale/elem-hash.h (elem_hash): Likewise.
9168 * locale/setlocale.c (setdata): Likewise.
9169 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9170 (re_string_wchar_at): Likewise.
9171 (bitset_not, bitset_merge, bitset_mask): Likewise.
9172 [!(__GNUC__ > 3)] (inline): Remove macro.
9173 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9174 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9175 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9176 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9177 * string/memcmp.c (memcmp_bytes): Likewise.
9178 * locale/programs/locarchive.c (compute_hashval): Likewise.
9179 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9180 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9181 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9182 * nss/getent.c (print_rpc, print_protocols): Likewise.
9183 (print_passwd, print_group, print_aliases): Likewise.
9184 * nis/nss-nisplus.h (niserr2nss): Likewise.
9185 * nscd/connections.c (restart_p): Likewise.
9186 Change return type to bool.
9188 2013-02-05 Roland McGrath <roland@hack.frob.com>
9190 * Makeconfig (all-Depend-files): Add existing
9191 $(sorted-subdirs:=/Depend) files.
9192 (all-subdirs): Remove nss.
9193 * sysdeps/unix/inet/Subdirs: Add it here instead.
9194 * hesiod/Depend: New file.
9196 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9197 instead of calling alloca.
9199 * io/lseek.c (__lseek): Rename to __libc_lseek.
9200 Define __lseek as an alias.
9202 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9204 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9206 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9207 else clause and remove check for non-standard endianness.
9209 2013-02-04 David S. Miller <davem@davemloft.net>
9211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9213 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9216 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9217 (__ubp_memchr): Remove prototype.
9218 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9219 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9220 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9221 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9222 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9224 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9225 (__ubp_memchr): Likewise.
9226 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9227 (__ubp_memchr): Likewise.
9228 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9229 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9230 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9231 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9233 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9234 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9235 (__getcwd): Do not use CHECK_STRING.
9236 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9238 (__real_chown): Do not use CHECK_STRING.
9239 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9241 (fchownat): Do not use CHECK_STRING.
9242 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9244 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9246 (__lchown): Do not use CHECK_STRING.
9247 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9248 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9249 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9250 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9252 include <bp-checks.h>.
9253 (truncate64): Do not use CHECK_STRING.
9254 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9256 (__real_chown): Do not use CHECK_STRING.
9257 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9259 (__lchown): Do not use CHECK_STRING.
9260 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9262 (__chown): Do not use CHECK_STRING.
9263 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9265 (truncate64): Do not use CHECK_STRING.
9266 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9268 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9269 (__xmknod): Do not use CHECK_STRING.
9270 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9272 (__xmknodat): Do not use CHECK_STRING.
9273 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9274 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9276 2013-02-04 Andreas Schwab <schwab@suse.de>
9279 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9280 * include/netdb.h: Likewise for h_errno.
9281 * elf/tst-stackguard1.c: Include <tls.h>.
9283 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9285 * elf/link.h (struct link_map): Extend the l_addr comment.
9286 * include/link.h (struct link_map): Likewise.
9288 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9291 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9292 (BOUNDED_1): Remove macro.
9293 * debug/backtrace.c: Don't include <bp-checks.h>.
9294 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9295 (__backtrace): Likewise.
9296 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9298 (__backtrace): Don't use BOUNDED_1.
9299 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9301 (__backtrace): Don't use BOUNDED_1.
9302 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9303 (__backtrace): Don't use BOUNDED_1.
9304 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9305 (shmat): Don't use BOUNDED_N.
9307 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9310 * sysdeps/generic/bp-start.h: Remove file.
9311 * csu/libc-start.c: Don't include <bp-start.h>.
9312 (LIBC_START_MAIN): Set up __environ directly instead of using
9313 INIT_ARGV_and_ENVIRON.
9314 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9318 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9320 (CHECK_FCNTL): Likewise.
9321 (CHECK_N_PAGES): Likewise.
9324 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9326 (CHECK_SIGSET_NULL_OK): Likewise.
9327 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9329 (sigpending): Don't use CHECK_SIGSET.
9330 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9332 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9333 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9335 (do_sigsuspend): Don't use CHECK_SIGSET.
9336 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9338 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9339 (do_sigwait): Don't use CHECK_SIGSET.
9340 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9342 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9343 include <bp-checks.h>.
9344 (sigpending): Don't use CHECK_SIGSET.
9345 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9346 include <bp-checks.h>.
9347 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9348 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9350 (sigpending): Don't use CHECK_SIGSET.
9351 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9353 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9356 * sysdeps/generic/bp-semctl.h: Remove file.
9357 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9358 <bp-checks.h> and <bp-semctl.h>.
9359 (__old_semctl): Don't use CHECK_SEMCTL.
9360 (__new_semctl): Likewise.
9361 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9363 (__old_semctl): Don't use CHECK_SEMCTL.
9364 (__new_semctl): Likewise.
9365 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9366 <bp-checks.h> and <bp-semctl.h>.
9367 (__old_semctl): Don't use CHECK_SEMCTL.
9368 (__new_semctl): Likewise.
9369 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9370 <bp-checks.h> and <bp-semctl.h>.
9371 (semctl): Don't use CHECK_SEMCTL.
9374 * Makerules (elide-bp-thunks): Remove variable.
9375 (elide-routines.oS): Don't use $(elide-bp-thunks).
9376 (elide-routines.os): Likewise.
9377 (elide-routines.o): Likewise.
9378 (elide-routines.op): Likewise.
9379 (elide-routines.og): Likewise.
9380 (objects): Don't use $(bp-thunks).
9381 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9383 (common-generated): Do not add s-proto-bp.d.
9384 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9387 Do not generate makefile rules for bounded-pointer thunks.
9388 * sysdeps/generic/bp-thunks.h: Remove file.
9389 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9390 * sysdeps/unix/s-proto-bp.S: Likewise.
9393 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9394 parts of result separately when argument is not close to line from
9395 -i to i and one part of argument is small.
9396 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9397 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9398 * math/libm-test.inc (cacos_test): Add more tests.
9399 (casin_test): Likewise.
9400 (casinh_test): Likewise.
9401 * sysdeps/i386/fpu/libm-test-ulps: Update.
9402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9404 2013-01-31 David S. Miller <davem@davemloft.net>
9406 * po/de.po: Update from translation team.
9408 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9410 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9412 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9414 * configure.in (_AC_PROG_CC_C89): New definition.
9415 * configure: Regenerate.
9417 * configure.in (AC_PROG_CPP): New definition.
9418 * configure: Regenerate.
9420 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9422 * debug/tst-backtrace.h: New file.
9423 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9424 (ret): Remove variable.
9426 (FAIL): Remove macro.
9427 (NO_INLINE): Likewise.
9428 (fn1): Use match function instead of strstr.
9429 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9430 (ret): Remove variable.
9432 (FAIL): Remove macro.
9433 (NO_INLINE): Likewise.
9434 (fn): Use match function instead of strstr.
9435 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9436 (ret): Remove variable.
9438 (FAIL): Remove macro.
9439 (NO_INLINE): Likewise.
9440 (handle_signal): Use match function instead of strstr.
9441 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9442 (ret): Remove variable.
9444 (FAIL): Remove macro.
9445 (NO_INLINE): Likewise.
9446 (handle_signal): Use match function instead of strstr.
9448 2013-01-23 Roland McGrath <roland@hack.frob.com>
9450 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9452 2013-01-23 David S. Miller <davem@davemloft.net>
9454 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9455 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9456 argument of CAS if possible.
9457 * sysdeps/sparc/sparc64/bits/atomic.h
9458 (__arch_compare_and_exchange_val_32_acq): Likewise.
9459 (__arch_compare_and_exchange_val_64_acq): Likewise.
9461 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9463 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9464 * sysdeps/posix/ulimit.c: ... this.
9466 * sysdeps/unix/bsd/ulimit.c: Remove file.
9468 2013-01-23 Adam Conrad <adconrad@0c3.net>
9470 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9471 (LDFLAGS-tst-array5): Likewise.
9473 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9476 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9477 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9478 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9479 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9481 2013-01-21 David S. Miller <davem@davemloft.net>
9483 * sysdeps/sparc/backtrace.c: New file.
9484 * sysdeps/sparc/sparc32/backtrace.h: New file.
9485 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9486 * sysdeps/sparc/sparc64/backtrace.h: New file.
9487 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9488 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9491 2013-01-21 Andreas Schwab <schwab@suse.de>
9494 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9497 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9503 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9504 Mark Mitchell <mark@codesourcery.com>
9505 Tom de Vries <tom@codesourcery.com>
9506 Paul Pluzhnikov <ppluzhnikov@google.com>
9508 * debug/tst-backtrace2.c: New file.
9509 * debug/tst-backtrace3.c: Likewise.
9510 * debug/tst-backtrace4.c: Likewise.
9511 * debug/tst-backtrace5.c: Likewise.
9512 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9513 (CFLAGS-tst-backtrace3.c): Likewise.
9514 (CFLAGS-tst-backtrace4.c): Likewise.
9515 (CFLAGS-tst-backtrace5.c): Likewise.
9516 (LDFLAGS-tst-backtrace2): Likewise.
9517 (LDFLAGS-tst-backtrace3): Likewise.
9518 (LDFLAGS-tst-backtrace4): Likewise.
9519 (LDFLAGS-tst-backtrace5): Likewise.
9520 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9521 tst-backtrace4 and tst-backtrace5.
9523 2013-01-18 Anton Blanchard <anton@samba.org>
9524 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9526 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9527 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9528 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9529 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9531 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9532 "+r" and remove output regs list as redundant. Add explicit inline
9533 asm to specify register of return val to work around compiler codegen
9534 bug. Remove (int) cast on return value. Add return type parameter to
9535 use in macro so that this macro does not truncate return value for
9537 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9538 pass to INTERNAL_VSYSCALL_NCS.
9539 (INLINE_VSYSCALL): Add 'long int' as return type to
9540 INTERNAL_VSYSCALL_NCS macro invocation.
9541 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9542 INTERNAL_VSYSCALL_NCS macro invocation.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9545 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9548 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9549 Fix application of SIMD FP exception mask.
9551 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9552 mp_no from a power of two.
9553 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9554 __mpexp_twomm1. Use __pow_mp.
9556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9559 2013-01-17 David S. Miller <davem@davemloft.net>
9561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9563 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9566 * include/complex.h: Condition contents on [!_COMPLEX_H].
9567 (__kernel_casinhf): New prototype.
9568 (__kernel_casinh): Likewise.
9569 (__kernel_casinhl): Likewise.
9570 * math/Makefile (libm_calls): Add k_casinh.
9571 * math/k_casinh.c: New file.
9572 * math/k_casinhf.c: Likewise.
9573 * math/k_casinhl.c: Likewise.
9574 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9575 finite nonzero arguments.
9576 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9577 finite nonzero arguments.
9578 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9579 finite nonzero arguments.
9580 * math/s_casinh.c: Do not include <float.h>.
9581 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9582 * math/s_casinhf.c: Do not include <float.h>.
9583 (__casinhf): Move code for finite nonzero arguments to
9585 * math/s_casinhl.c: Do not include <float.h>.
9586 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9588 (__casinhl): Move code for finite nonzero arguments to
9590 * math/libm-test.inc (cacos_test): Add more tests.
9591 * sysdeps/i386/fpu/libm-test-ulps: Update.
9592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9594 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9596 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9597 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9598 [!HAVE_MREMAP]: Remove [defined linux] case.
9599 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9601 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9603 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9605 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9607 * elf/elf.h (R_386_SIZE32): New relocation.
9608 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9610 (elf_machine_rela): Likewise.
9611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9612 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9614 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9616 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9617 (FP_FAST_FMA): Do not define.
9618 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9619 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9620 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9621 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9622 !_SOFT_FLOAT]: Likewise.
9623 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9624 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9626 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9627 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9628 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9629 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9630 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9631 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9634 2013-01-16 Andreas Schwab <schwab@suse.de>
9637 * include/stdlib.h (__mktemp): Add declaration.
9638 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9639 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9641 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9643 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9645 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9646 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9647 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9649 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9650 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9652 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9654 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9655 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9656 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9658 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9659 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9661 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9663 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9665 2013-01-15 David S. Miller <davem@davemloft.net>
9667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9668 trunc{,f} to libm-sysdep_routes.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9679 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9680 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9681 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9682 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9683 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9684 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9687 nearbyint{,f} to libm-sysdep_routes.
9688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9699 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9702 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9705 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9706 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9708 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9709 libc_feholdexcept and libc_fesetenv.
9711 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9713 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9715 2013-01-14 David S. Miller <davem@davemloft.net>
9717 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9718 (SPARC_ASM_VIS2_IFUNC): Likewise.
9719 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9721 use of 'siam' instruction.
9722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9755 routines to libm-sysdep_routines.
9756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9759 fdim/fdimf to libm-sysdep_routines.
9760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9768 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9769 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9770 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9773 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9775 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9778 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9783 local variable MPTWO.
9784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9787 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9789 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9792 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9794 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9796 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9798 * manual/pattern.texi (glob_t): Document gl_flags.
9799 (glob64_t): Likewise.
9801 2013-01-11 David S. Miller <davem@davemloft.net>
9803 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9804 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9805 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9806 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9807 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9808 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9809 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9810 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9811 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9812 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9813 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9814 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9815 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9817 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9818 sparc V9 rather than using V8 code.
9819 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9820 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9824 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9827 2013-01-11 Roland McGrath <roland@hack.frob.com>
9829 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9830 not in the main loop.
9831 * configure: Regenerated.
9833 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9835 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9836 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9838 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9839 [!__GLIBC_HAVE_LONG_LONG] case.
9840 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9841 condition to just #else.
9842 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9843 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9844 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9845 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9847 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9848 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9849 #elif condition to just #else.
9850 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9851 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9852 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9853 #elif condition to just #else.
9855 2013-01-11 Steve Ellcey <sellcey@mips.com>
9857 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9858 (EF_MIPS_ARCH_64): Fix value.
9859 (EF_MIPS_ARCH_32R2): New.
9860 (EF_MIPS_ARCH_64R2): New.
9862 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9864 * Makeconfig (+link-pie-before-libc): New.
9865 (+link-pie-after-libc): Likewise.
9866 (+link-pie-tests): Likewise.
9867 (+link-pie): Rewritten.
9868 (link-before-libc): Remove $(config-LDFLAGS).
9869 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9870 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9871 (config-LDFLAGS): Renamed to ...
9872 (rtld-LDFLAGS): This.
9873 (rtld-tests-LDFLAGS): New macro.
9874 (link-libc-rpath-link): Likewise.
9875 (link-libc-tests-rpath-link): Likewise.
9876 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9877 (link-libc): Prepand $(link-libc-rpath-link).
9878 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9879 (test-program-prefix): New macro.
9880 (test-via-rtld-prefix): Likewise.
9881 (test-program-cmd): Likewise.
9882 (host-test-program-cmd): Likewise.
9883 * Makefile ($(common-objpfx)testrun.sh): Replace
9884 $(run-program-prefix) with $(test-program-prefix).
9885 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9887 ($(common-objpfx)shlib.lds): Likewise.
9888 (build-module-helper): Likewise.
9889 ($(common-objpfx)format.lds): Likewise.
9890 * Rules (binaries-pie-tests): New.
9891 (binaries-pie-notests): Likewise.
9892 (binaries-pie): Rewritten.
9893 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9894 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9895 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9896 (make-test-out): Replace $(host-built-program-cmd) with
9897 $(host-test-program-cmd).
9898 * config.make.in (build-hardcoded-path-in-tests): New variable.
9899 * configure.in (--enable-hardcoded-path-in-tests): New configure
9901 (hardcoded_path_in_tests): New AC_SUBST.
9902 * configure: Regenerated.
9903 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9904 $(built-program-cmd) with $(test-program-cmd).
9905 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9906 (test_program_cmd): This.
9907 * elf/Makefile ($(objpfx)order.out): Run test with
9908 $(test-program-prefix).
9909 ($(objpfx)order2.out): Likewise.
9910 ($(objpfx)tst-initorder.out): Likewise.
9911 ($(objpfx)tst-initorder2.out): Likewise.
9912 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9913 $(test-program-cmd).
9914 ($(objpfx)tst-array1-static.out): Likewise.
9915 ($(objpfx)tst-array2.out): Likewise.
9916 ($(objpfx)tst-array3.out): Likewise.
9917 ($(objpfx)tst-array4.out): Likewise.
9918 ($(objpfx)tst-array5.out): Likewise.
9919 ($(objpfx)tst-array5-static.out): Likewise.
9920 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9921 $(test-program-cmd).
9922 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9923 $(run-program-prefix) with $(test-program-prefix).
9924 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9925 (test_program_prefix): This.
9926 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9927 $(run-program-prefix) with $(test-program-prefix).
9928 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9929 (test_program_prefix): This.
9930 * iconvdata/tst-tables.sh: Likewise.
9931 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9932 $(run-program-prefix) with $(test-program-prefix).
9933 ($(objpfx)tst-translit.out): Likewise.
9934 ($(objpfx)tst-gettext2.out): Likewise.
9935 ($(objpfx)tst-gettext4.out): Likewise.
9936 ($(objpfx)tst-gettext6.out): Likewise.
9937 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9938 (test_program_prefix): This.
9939 * intl/tst-gettext2.sh: Likewise.
9940 * intl/tst-gettext4.sh Likewise.
9941 * intl/tst-gettext6.sh: Likewise.
9942 * intl/tst-translit.sh: Likewise.
9943 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9944 with $(test-program-cmd).
9945 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9946 $(run-program-prefix) with $(test-program-prefix).
9947 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9948 (test_program_prefix): This.
9949 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9950 $(run-program-prefix) with $(test-program-prefix).
9951 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9952 (test_program_prefix): This.
9953 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9954 * posix/Makefile ($(objpfx)globtest.out): Replace
9955 $(run-via-rtld-prefix) and $(test-wrapper) with
9956 $(test-program-prefix) and $(test-via-rtld-prefix).
9957 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9958 $(test-program-prefix).
9959 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9960 $(host-test-program-cmd).
9961 (tst-spawn-ARGS): Likewise.
9962 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9963 $(test-program-prefix).
9964 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9965 (test_via_rtld_prefix): This.
9966 (test_wrapper): Renamed to ...
9967 (test_program_prefix): This.
9968 (run_program_prefix): Replaced by test_program_prefix.
9969 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9970 (test_program_prefix): This.
9971 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9972 with $(host-test-program-cmd).
9973 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9974 $(run-program-prefix) with $(test-program-prefix).
9975 ($(objpfx)tst-printf.out): Likewise.
9976 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9977 $(test-program-cmd).
9978 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9979 (test_program_prefix): This.
9980 * stdio-common/tst-unbputc.sh: Likewise.
9981 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9982 $(run-program-prefix) with $(test-program-prefix).
9983 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9984 (test_program_prefix): This.
9985 * string/Makefile ($(objpfx)tst-svc.out): Replace
9986 $(built-program-cmd) with $(test-program-cmd).
9988 2013-01-11 Andreas Jaeger <aj@suse.de>
9991 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9992 value. Sync with Linux 3.7.
9994 2013-01-10 David S. Miller <davem@davemloft.net>
9996 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9997 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9998 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10000 2013-01-10 Roland McGrath <roland@hack.frob.com>
10002 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10004 * configure: Regenerated.
10006 2013-01-10 David S. Miller <davem@davemloft.net>
10008 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10009 sparc V9 rather than using V8 code.
10010 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10011 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10013 2013-01-10 Roland McGrath <roland@hack.frob.com>
10015 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10016 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10017 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10018 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10019 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10020 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10021 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10022 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10023 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10024 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10025 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10026 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10027 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10028 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10029 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10030 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10031 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10032 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10033 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10034 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10035 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10036 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10037 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10038 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10039 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10040 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10041 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10043 2013-01-10 David S. Miller <davem@davemloft.net>
10045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10047 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10049 * posix/Makefile (tests-static): New variable.
10050 (tests): Add $(tests-static).
10051 (tst-exec-static-ARGS): New variable.
10052 (tst-spawn-static-ARGS): Likewise.
10053 * posix/tst-exec-static.c: New file.
10054 * posix/tst-spawn-static.c: Likewise.
10055 * posix/tst-exec.c: Support run directly.
10056 * posix/tst-spawn.c: Likewise.
10058 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10060 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10062 * math/bits/mathcalls.h (llrint): Likewise.
10063 (llround): Likewise.
10064 * stdlib/stdlib.h (struct drand48_data): Likewise.
10065 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10066 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10069 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10071 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10072 (elf_greg_t): Likewise.
10073 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10074 (__jmp_buf): Likewise.
10075 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10077 (llrint): Likewise, for all definitions.
10078 (llrintl): Likewise.
10080 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10081 Remove [__GNUC__] condition.
10082 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10083 condition to just [__USE_ISOC99].
10084 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10086 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10089 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10090 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10092 (_POSIX_V6_ILP32_OFF32): Likewise.
10093 (_XBS5_ILP32_OFF32): Likewise.
10094 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10095 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10097 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10099 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10102 doubles __mpexp_twomm1. Adjust usage.
10103 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10106 2013-01-10 Andreas Schwab <schwab@suse.de>
10109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10110 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10112 2013-01-09 David S. Miller <davem@davemloft.net>
10115 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10116 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10117 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10118 TCP_FASTOPEN): Define.
10119 (tcp_repair_opt): New structure.
10120 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10122 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10123 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10124 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10125 (tcp_cookie_transactions): New structure.
10127 2013-01-09 Anton Blanchard <anton@samba.org>
10129 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10130 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10131 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10132 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10134 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10136 * include/features.h (__USE_ANSI): Remove.
10138 2013-01-09 Roland McGrath <roland@hack.frob.com>
10140 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10142 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10144 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10146 * sysdeps/s390/fpu/libm-test-ulps: Update.
10148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10150 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10154 (denorm): Likewise.
10155 (__mp_dbl): Likewise.
10156 (__dbl_mp): Likewise.
10157 (add_magnitudes): Likewise.
10158 (sub_magnitudes): Likewise.
10164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10168 (denorm): Likewise.
10169 (__mp_dbl): Likewise.
10170 (__dbl_mp): Likewise.
10171 (add_magnitudes): Likewise.
10172 (sub_magnitudes): Likewise.
10178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10182 (denorm): Likewise.
10183 (__mp_dbl): Likewise.
10184 (__dbl_mp): Likewise.
10185 (add_magnitudes): Likewise.
10186 (sub_magnitudes): Likewise.
10193 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10195 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10196 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10197 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10198 2 && __USE_EXTERN_INLINES]: Likewise.
10200 2013-01-08 Andreas Jaeger <aj@suse.de>
10203 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10205 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10206 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10208 2013-01-07 Anton Blanchard <anton@samba.org>
10210 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10211 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10212 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10213 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10214 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10215 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10216 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10217 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10219 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10220 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10222 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10223 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10224 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10225 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10226 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10227 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10228 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10229 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10230 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10231 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10232 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10233 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10234 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10235 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10236 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10237 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10239 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10240 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10242 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10243 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10244 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10245 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10246 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10247 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10248 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10249 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10250 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10251 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10252 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10254 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10256 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10257 (__MALLOC_PMT): Likewise.
10258 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10259 [__GNUC__], only on [_LIBC].
10260 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10261 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10262 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10263 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10264 forward declaration.
10265 (realloc_hook_ini): Likewise.
10266 (memalign_hook_ini): Likewise.
10267 (__libc_memalign): Do not use __MALLOC_PMT in variable
10269 (__libc_valloc): Likewise.
10270 (__libc_pvalloc): Likewise.
10271 (__libc_calloc): Likewise.
10272 (__posix_memalign): Likewise.
10275 * math/s_casinh.c: Include <float.h>.
10276 (__casinh): Do not do computation with squaring and square root
10277 for large arguments.
10278 * math/s_casinhf.c: Include <float.h>.
10279 (__casinhf): Do not do computation with squaring and square root
10280 for large arguments.
10281 * math/s_casinhl.c: Include <float.h>.
10282 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10283 (__casinhl): Do not do computation with squaring and square root
10284 for large arguments.
10285 * math/libm-test.inc (casin_test): Add more tests.
10286 (casinh_test): Likewise.
10287 * sysdeps/i386/fpu/libm-test-ulps: Update.
10288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10290 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10292 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10293 (__x86_64_raw_data_cache_size): Likewise.
10294 (__x86_64_data_cache_size_half): Likewise.
10295 (__x86_64_raw_data_cache_size_half): Likewise.
10296 (__x86_64_shared_cache_size): Likewise.
10297 (__x86_64_raw_shared_cache_size): Likewise.
10298 (__x86_64_shared_cache_size_half): Likewise.
10299 (__x86_64_raw_shared_cache_size_half): Likewise.
10300 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10302 (__x86_data_cache_size): This.
10303 (__x86_64_raw_data_cache_size): Renamed to ...
10304 (__x86_raw_data_cache_size): This.
10305 (__x86_64_data_cache_size_half): Renamed to ...
10306 (__x86_data_cache_size_half): This.
10307 (__x86_64_raw_data_cache_size_half): Renamed to ...
10308 (__x86_raw_data_cache_size_half): This.
10309 (__x86_64_shared_cache_size): Renamed to ...
10310 (__x86_shared_cache_size): This.
10311 (__x86_64_raw_shared_cache_size): Renamed to ...
10312 (__x86_raw_shared_cache_size): This.
10313 (__x86_64_shared_cache_size_half): Renamed to ...
10314 (__x86_shared_cache_size_half): This.
10315 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10316 (__x86_raw_shared_cache_size_half): This.
10317 * sysdeps/x86_64/memcpy.S: Updated.
10318 * sysdeps/x86_64/memset.S: Likewise.
10319 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10323 2013-01-04 David S. Miller <davem@davemloft.net>
10325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10327 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10329 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10330 1 to avoid redefinition warning.
10331 (__USE_GNU): Don't define.
10332 (init_signaling_nan): Protoize.
10334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10336 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10338 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10340 (__cpymn): Likewise.
10341 (norm): Remove commented code.
10342 (denorm): Likewise.
10343 (__mp_dbl): Likewise.
10345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10346 (__cpymn): Likewise.
10347 (norm): Remove commented code.
10348 (denorm): Likewise.
10349 (__mp_dbl): Likewise.
10352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10353 mp_no value for 1.0 and 2.0.
10354 (norm): Use RADIXI instead of radixi.d.
10355 (denorm): Likewise.
10356 (__mul): Use 0.0 instead of zero.d.
10357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10358 mp_no value for 1.0 and 2.0.
10359 (norm): Use RADIXI instead of radixi.d.
10360 (denorm): Likewise.
10361 (__mul): Use 0.0 instead of zero.d.
10363 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10366 * math/s_casinh.c (__casinh): Reduce finite argument to first
10367 quadrant then set signs of results at the end.
10368 * math/s_casinhf.c (__casinhf): Likewise.
10369 * math/s_casinhl.c (__casinhl): Likewise.
10370 * math/libm-test.inc (casin_test): Add more tests.
10371 (casinh_test): Likewise.
10372 * sysdeps/i386/fpu/libm-test-ulps: Update.
10373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10375 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10377 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10379 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10381 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10383 (denorm): Likewise.
10384 (__mp_dbl): Likewise.
10387 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10388 and adjust the header comment.
10390 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10391 variable name from declaration.
10393 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10396 Initialize COMMON_CPUID_INDEX_7 element.
10397 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10398 (CPUID_RTM): Likewise.
10399 (HAS_RTM): Likewise.
10400 (COMMON_CPUID_INDEX_7): New enum.
10402 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10405 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10406 size is zero, record memory as freed.
10408 2013-01-03 Andreas Jaeger <aj@suse.de>
10410 * po/ia.po: Add new Interlingua translation.
10412 2012-01-03 Allan McRae <allan@archlinux.org>
10414 * locale/programs/localedef.c: Fix description of '--posix' flag.
10416 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10418 * NEWS: Update dates in second copyright notice.
10419 * README: Update copyright dates in example.
10420 * manual/libc.texinfo: Update copyright dates.
10421 * scripts/test-installation.pl: Update copyright date in --version
10424 * hurd/ctty-input.c: Fix copyright notice formatting.
10425 * hurd/ctty-output.c: Likewise.
10426 * hurd/dtable.c: Likewise.
10427 * hurd/hurd-raise.c: Likewise.
10428 * hurd/hurdprio.c: Likewise.
10429 * hurd/msgportdemux.c: Likewise.
10430 * misc/sys/file.h: Likewise.
10431 * misc/sys/ioctl.h: Likewise.
10432 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10433 * sysdeps/mach/hurd/chdir.c: Likewise.
10434 * sysdeps/mach/hurd/fchdir.c: Likewise.
10435 * sysdeps/mach/hurd/rename.c: Likewise.
10436 * sysdeps/mach/hurd/rmdir.c: Likewise.
10437 * sysdeps/mach/hurd/seekdir.c: Likewise.
10438 * sysdeps/mach/hurd/setsid.c: Likewise.
10439 * sysdeps/posix/wait3.c: Likewise.
10441 * All files with FSF copyright notices: Update copyright dates
10442 using scripts/update-copyrights.
10443 * intl/plural.c: Regenerated.
10444 * locale/programs/charmap-kw.h: Likewise.
10445 * locale/programs/locfile-kw.h: Likewise.
10447 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10449 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10453 calculation loop and add branch prediction.
10455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10456 check access beyond bounds of m1np.
10458 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10460 (__inv): Remove local variable MPTWO to use the global
10462 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10463 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10465 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10466 MP3HALFS static const.
10468 2013-01-01 David S. Miller <davem@davemloft.net>
10470 * po/ca.po: Update from translation team.
10472 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10474 * scripts/update-copyrights: New file.
10475 * Makeconfig: Reformat copyright notice.
10476 * ctype/ctype.h: Likewise.
10477 * debug/swprintf_chk.c: Likewise.
10478 * elf/dl-cache.c: Likewise.
10479 * elf/dl-debug.c: Likewise.
10480 * elf/dl-object.c: Likewise.
10481 * grp/initgroups.c: Likewise.
10482 * hurd/Makefile: Likewise.
10483 * hurd/hurd/signal.h: Likewise.
10484 * hurd/hurdfault.c: Likewise.
10485 * hurd/hurdioctl.c: Likewise.
10486 * hurd/hurdlookup.c: Likewise.
10487 * hurd/intr-msg.c: Likewise.
10488 * iconv/gconv_open.c: Likewise.
10489 * libio/swprintf.c: Likewise.
10490 * locale/lc-ctype.c: Likewise.
10491 * locale/nl_langinfo.c: Likewise.
10492 * mach/Machrules: Likewise.
10493 * mach/Makefile: Likewise.
10494 * malloc/obstack.h: Likewise.
10495 * manual/Makefile: Likewise.
10496 * manual/tsort.awk: Likewise.
10497 * misc/bits/stab.def: Likewise.
10498 * nis/nis_print_group_entry.c: Likewise.
10499 * nis/nis_table.c: Likewise.
10500 * nis/nss_compat/compat-pwd.c: Likewise.
10501 * nis/nss_compat/compat-spwd.c: Likewise.
10502 * po/Makefile: Likewise.
10503 * posix/fnmatch.c: Likewise.
10504 * posix/regex.h: Likewise.
10505 * resolv/Makefile: Likewise.
10506 * resolv/nss_dns/dns-network.c: Likewise.
10507 * resolv/res_hconf.c: Likewise.
10508 * scripts/gen-sorted.awk: Likewise.
10509 * soft-fp/soft-fp.h: Likewise.
10510 * stdio-common/printf.h: Likewise.
10511 * stdlib/monetary.h: Likewise.
10512 * stdlib/random.c: Likewise.
10513 * stdlib/random_r.c: Likewise.
10514 * sysdeps/generic/Makefile: Likewise.
10515 * sysdeps/gnu/Makefile: Likewise.
10516 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10527 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10528 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10529 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10530 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10531 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10532 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10544 * sysdeps/mach/hurd/errnos.awk: Likewise.
10545 * sysdeps/mach/hurd/fork.c: Likewise.
10546 * sysdeps/mach/hurd/getcwd.c: Likewise.
10547 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10548 * sysdeps/mach/hurd/mmap.c: Likewise.
10549 * sysdeps/mach/hurd/utimes.c: Likewise.
10550 * sysdeps/mach/hurd/xmknod.c: Likewise.
10551 * sysdeps/posix/profil.c: Likewise.
10552 * sysdeps/posix/readdir_r.c: Likewise.
10553 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10554 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10555 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10556 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10558 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10559 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10560 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10562 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10563 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10564 * sysdeps/pthread/lio_listio.c: Likewise.
10565 * sysdeps/sparc/dl-procinfo.h: Likewise.
10566 * sysdeps/unix/i386/sysdep.S: Likewise.
10567 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10568 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10569 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10570 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10572 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10573 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10574 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10575 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10576 * sysdeps/wordsize-32/divdi3.c: Likewise.
10577 * time/sys/time.h: Likewise.
10578 * wcsmbs/Makefile: Likewise.
10580 2013-01-01 David S. Miller <davem@davemloft.net>
10582 * po/fr.po: Update from translation team.
10584 * catgets/gencat.c: Update copyright year.
10585 * csu/version.c: Likewise.
10586 * debug/catchsegv.sh: Likewise.
10587 * debug/pcprofiledump.c: Likewise.
10588 * debug/xtrace.sh: Likewise.
10589 * elf/ldconfig.c: Likewise.
10590 * elf/ldd.bash.in: Likewise.
10591 * elf/pldd.c: Likewise.
10592 * elf/sotruss.ksh: Likewise.
10593 * elf/sprof.c: Likewise.
10594 * iconv/iconv_prog.c: Likewise.
10595 * iconv/iconvconfig.c: Likewise.
10596 * locale/programs/locale.c: Likewise.
10597 * locale/programs/localedef.c: Likewise.
10598 * login/programs/pt_chown.c: Likewise.
10599 * malloc/memusage.sh: Likewise.
10600 * malloc/memusagestat.c: Likewise.
10601 * malloc/mtrace.pl: Likewise.
10602 * nscd/nscd.c: Likewise.
10603 * nss/getent.c: Likewise.
10604 * nss/makedb.c: Likewise.
10605 * posix/getconf.c: Likewise.
10607 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10609 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10612 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10614 * math/bits/mathcalls.h (modf): Use __nonnull.
10616 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10618 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10619 (split): Use macro CN instead of the bare value.
10620 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10623 instead of the bare value.
10624 (power1): Likewise.
10626 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10628 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10630 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10632 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10634 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10635 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10636 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10637 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10639 2012-12-28 Andreas Jaeger <aj@suse.de>
10641 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10642 values are from Linux 3.7.
10644 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10645 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10647 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10649 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10652 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10654 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10655 variables with preprocessor constants.
10656 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10657 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10658 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10660 2012-12-27 Bruno Haible <bruno@clisp.org>
10663 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10666 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10669 and use variable directly.
10670 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10672 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10674 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10675 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10677 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10679 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10680 include directive. Remove local variable MPONE.
10681 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10682 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10683 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10685 2012-12-25 David S. Miller <davem@davemloft.net>
10687 * version.h (RELEASE): Set to "development".
10688 (VERSION): Set to "2.17.90".
10689 * NEWS: Add 2.18 section.
10691 2012-12-21 David S. Miller <davem@davemloft.net>
10693 * po/hr.po: Update from translation team.
10695 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10697 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10699 2012-12-19 Steve Ellcey <sellcey@mips.com>
10701 * NEWS: Mention new memcpy for MIPS.
10703 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10705 * manual/contrib.texi (Contributors): Spelling correction.
10707 2012-12-15 David S. Miller <davem@davemloft.net>
10709 * po/ru.po: Update from translation team.
10711 2012-12-13 David S. Miller <davem@davemloft.net>
10713 * NEWS: Mention IFUNC testsuite enhancements.
10715 * po/pl.po: Update from translation team.
10716 * po/bg.po: Likewise.
10718 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10719 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10721 2012-12-11 David S. Miller <davem@davemloft.net>
10723 * po/sv.po: Update from translation team.
10725 * po/vi.po: Update from translation team.
10727 * po/cs.po: Update from translation team.
10729 * po/de.po: Update from translation team.
10730 * po/eo.po: Likewise.
10731 * po/nl.po: Likewise.
10733 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10736 * manual/argp.texi (Argp Helper Functions): Move node to follow
10737 Argp Parsing State.
10740 * manual/conf.texi (Limits on File System Capacity): Mention if
10741 terminating null is included in the max size.
10743 2012-12-10 Andreas Jaeger <aj@suse.de>
10745 * po/cs.po: Update from translation team.
10747 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10749 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10750 void pointer and cast to uintptr_t.
10751 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10753 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10754 * sysdeps/s390/s390-64/memset.S: Likewise.
10756 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10759 * menual/message.texi (Message Translation): Fix typos.
10760 (Helper programs for gettext): Likewise.
10762 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10765 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10768 2012-12-07 David S. Miller <davem@davemloft.net>
10770 * po/libc.pot: Update.
10772 2012-12-07 Richard Henderson <rth@redhat.com>
10775 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10776 normal/normal case to before the switch.
10777 (_FP_DIV): Likewise.
10779 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10780 Mike Frysinger <vapier@gentoo.org>
10782 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10783 check for __NR_fadvise64_64.
10785 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10787 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10788 0, not just to plain "0" as a statement.
10789 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10792 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10794 * NEWS: Use sourceware.org in Bugzilla URL.
10796 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10799 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10801 * stdio-common/tst-put-error.c (do_test): Add newline to the
10802 padded test to ensure flush.
10804 2012-12-05 Jeff Law <law@redhat.com>
10806 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10808 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10810 * README: Don't refer to ports add-on as distributed separately.
10811 Mention AArch64 in list of systems supported in the ports add-on.
10813 * LICENSES: Add more non-FSF copyright and license notices.
10815 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10818 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10820 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10821 10000 as width of padded output.
10823 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10825 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10827 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10828 variable LX with __attribute__ ((unused)).
10829 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10831 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10834 with __attribute__ ((unused)).
10836 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10838 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10840 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10842 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10843 (CFLAGS-nldbl-acos.c): New variable.
10844 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10845 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10846 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10847 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10848 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10849 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10850 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10851 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10852 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10853 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10854 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10855 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10856 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10857 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10858 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10859 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10860 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10861 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10862 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10863 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10864 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10865 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10866 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10867 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10868 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10869 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10870 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10871 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10872 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10873 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10874 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10875 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10876 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10877 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10878 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10879 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10880 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10881 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10882 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10883 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10884 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10885 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10886 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10887 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10888 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10889 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10890 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10891 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10892 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10893 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10894 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10895 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10896 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10897 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10898 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10899 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10900 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10901 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10902 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10903 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10904 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10905 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10906 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10907 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10908 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10909 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10910 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10911 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10912 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10913 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10914 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10915 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10916 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10917 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10918 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10919 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10920 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10921 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10922 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10923 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10924 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10925 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10926 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10927 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10928 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10929 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10930 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10931 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10932 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10933 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10934 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10935 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10936 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10937 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10938 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10939 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10940 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10943 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10947 whole low double instead of just low 47 bits when splitting values
10950 2012-12-03 Allan McRae <allan@archlinux.org>
10952 * manual/stdio.texi (Predefined Printf Handlers): Remove
10953 @hsep and @vsep usage.
10955 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10957 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10958 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10960 2012-12-03 Jeff Law <law@redhat.com>
10962 * time/sys/time.h (settimeofday): Do not mark TV argument
10965 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10967 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10968 when currently writing and seek to current position when not.
10969 * libio/Makefile (tests): Remove bug-fclose1.
10970 * libio/bug-fclose1.c: Delete.
10972 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10974 * manual/arith.texi (feenableexcept): Fix typo.
10975 (fedisableexcept): Likewise.
10977 2012-11-30 Roland McGrath <roland@hack.frob.com>
10979 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10980 second, differently-typed declaration, rather than a cast.
10982 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10984 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10985 * include/rpc/svc.h: ... here.
10987 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10990 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10991 depending n and resplen2 to catch cases where answer
10994 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10996 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10997 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10999 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11001 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11003 2012-11-29 Roland McGrath <roland@hack.frob.com>
11005 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11007 2012-11-28 Jeff Law <law@redhat.com>
11010 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11011 dataset_temporary. Track alloca usage into alloca_used.
11012 If dataset is large allocate and release it via malloc/free.
11014 2012-06-04 Florian Weimer <fweimer@redhat.com>
11017 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11019 2012-11-28 David S. Miller <davem@davemloft.net>
11021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11023 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11026 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11027 of pi/2 rounded to nearest to 64 bits.
11028 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11029 nearest to 64 bits.
11030 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11033 2012-11-28 Jeff Law <law@redhat.com>
11034 Martin Osvald <mosvald@redhat.com>
11037 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11038 * sunrpc/svc.c: Include time.h.
11039 (__svc_accept_failed): New function.
11040 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11041 any reason other than EINTR, call __svc_accept_failed.
11042 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11043 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11045 2012-11-28 Andreas Schwab <schwab@suse.de>
11047 * scripts/abilist.awk: Also handle indirect functions in .opd
11050 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11053 * sysdeps/x86/fpu/powl_helper.c: New file.
11054 * sysdeps/x86/fpu/Makefile: Likewise.
11055 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11057 (__ieee754_powl): Use __powl_helper for finite arguments except
11058 integer exponents below 8.
11059 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11061 (__ieee754_powl): Use __powl_helper for finite arguments except
11062 integer exponents below 8.
11063 * math/libm-test.inc (pow_test): Add more tests and enable some
11064 previously disabled tests.
11065 * sysdeps/i386/fpu/libm-test-ulps: Update.
11066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11068 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11069 Carlos O'Donell <carlos_odonell@mentor.com>
11071 * nss/makedb.c (is_prime): Assert that input is odd and greater
11072 than 4. Note that fact in a comment too.
11073 (next_prime): Add 4 to input.
11075 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11078 * libio/Makefile (tests): Add test case tst-fwrite-error.
11079 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11080 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11081 * libio/tst-fwrite-error.c: New test case.
11083 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11085 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11086 before casting to void *.
11087 * include/libc-internal.h (__pointer_type): New macro.
11088 (__integer_if_pointer_type_sub): Likewise.
11089 (__integer_if_pointer_type): Likewise.
11090 (cast_to_integer): Likewise.
11091 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11092 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11093 before casting to atomic64_t.
11094 (atomic_exchange_acq): Likewise.
11095 (__arch_exchange_and_add_body): Likewise.
11096 (__arch_add_body): Likewise.
11097 (atomic_add_negative): Likewise.
11098 (atomic_add_zero): Likewise.
11100 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11102 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11103 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11104 (add_fdes): Likewise.
11105 (linear_search_fdes): Likewise.
11106 (binary_search_unencoded_fdes): Likewise.
11108 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11110 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11112 2012-11-24 Adam Conrad <adconrad@0c3.net>
11114 * configure.in: Autodetect C++ header directories.
11115 * configure: Regenerated.
11117 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11119 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11121 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11125 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11127 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11128 LDBL_MANT_DIG == 106]: Disable some tests.
11129 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11131 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11135 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11136 input for small inputs. Return +/- pi/2 for large inputs.
11137 * math/libm-test.inc (atan_test): Add more tests.
11139 * sysdeps/generic/unwind-dw2-fde-glibc.c
11140 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11141 __attribute__ ((unused)).
11144 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11145 x * y if x and y are nonzero and z is zero.
11148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11149 nonzero exponents with absolute value below 0x1p-117 to +/-
11153 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11154 up arguments below 2**-450, not just those below 2**-500.
11155 * math/libm-test.inc (hypot_test): Add another test.
11158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11159 Return a+b for ratio over 2**120, not 2**60.
11160 * math/libm-test.inc (hypot_test): Add another test.
11162 * math/libm-test.inc (clog_test): Use
11163 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11164 (clog10_test): Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11169 2012-11-22 Andreas Schwab <schwab@suse.de>
11171 * sysdeps/i386/fpu/libm-test-ulps: Update.
11173 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11175 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11176 printf output with newline.
11178 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11181 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11182 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11183 -z nodlopen, -z initfirst and -z execstack support.
11184 * configure: Regenerated.
11186 * elf/elf.h (DF_1_NODIRECT): New macro.
11187 (DF_1_IGNMULDEF): Likewise.
11188 (DF_1_NOKSYMS): Likewise.
11189 (DF_1_NOHDR): Likewise.
11190 (DF_1_EDITED): Likewise.
11191 (DF_1_NORELOC): Likewise.
11192 (DF_1_SYMINTPOSE): Likewise.
11193 (DF_1_GLOBAUDIT): Likewise.
11194 (DF_1_SINGLETON): Likewise.
11195 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11196 DT_1_SUPPORTED_MASK bits.
11197 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11199 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11201 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11203 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11205 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11208 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11209 (sendmmsg): Move declarations...
11210 * socket/sys/socket.h: ... here.
11211 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11212 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11214 * socket/recvmmsg.c: ... this new file.
11215 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11216 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11217 definition of __sendmmsg hidden.
11218 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11219 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11220 Move ENOSYS stub into and include it from...
11221 * socket/sendmmsg.c: ... this new file.
11222 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11223 (sysdep_routines): Move recvmmsg and sendmmsg...
11224 * socket/Makefile (routines): ... here.
11225 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11226 (GLIBC_PRIVATE): Add __sendmmsg.
11227 * include/sys/socket.h (__sendmmsg): Add declarations.
11228 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11231 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11234 variable I1 with __attribute__ ((unused)).
11235 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11237 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11239 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11240 DUMMY variables with __attribute__ ((unused)).
11242 * bits/byteswap.h: Include <bits/types.h>.
11243 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11245 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11247 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11248 string_t. Do not manually set errno.
11249 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11250 length with __strnlen. Make sure to both set errno and return it on
11253 2012-11-19 David S. Miller <davem@davemloft.net>
11255 With help from Joseph Myers.
11256 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11257 very large arguments properly.
11258 * math/libm-test.inc (atan_test): New tests.
11259 (atan2_test): New tests.
11260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11263 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11266 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11269 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11270 [POSIX] (EADDRNOTAVAIL): Likewise.
11271 [POSIX] (EAFNOSUPPORT): Likewise.
11272 [POSIX] (EALREADY): Likewise.
11273 [POSIX] (ECONNABORTED): Likewise.
11274 [POSIX] (ECONNREFUSED): Likewise.
11275 [POSIX] (ECONNRESET): Likewise.
11276 [POSIX] (EDESTADDRREQ): Likewise.
11277 [POSIX] (EDQUOT): Likewise.
11278 [POSIX] (EHOSTUNREACH): Likewise.
11279 [POSIX] (EIDRM): Likewise.
11280 [POSIX] (EISCONN): Likewise.
11281 [POSIX] (ELOOP): Likewise.
11282 [POSIX] (EMULTIHOP): Likewise.
11283 [POSIX] (ENETDOWN): Likewise.
11284 [POSIX] (ENETUNREACH): Likewise.
11285 [POSIX] (ENOBUFS): Likewise.
11286 [POSIX] (ENODATA): Likewise.
11287 [POSIX] (ENOLINK): Likewise.
11288 [POSIX] (ENOMSG): Likewise.
11289 [POSIX] (ENOPROTOOPT): Likewise.
11290 [POSIX] (ENOSR): Likewise.
11291 [POSIX] (ENOSTR): Likewise.
11292 [POSIX] (ENOTCONN): Likewise.
11293 [POSIX] (ENOTSOCK): Likewise.
11294 [POSIX] (EOPNOTSUPP): Likewise.
11295 [POSIX] (EOVERFLOW): Likewise.
11296 [POSIX] (EPROTO): Likewise.
11297 [POSIX] (EPROTONOSUPPORT): Likewise.
11298 [POSIX] (EPROTOTYPE): Likewise.
11299 [POSIX] (ESTALE): Likewise.
11300 [POSIX] (ETIME): Likewise.
11301 [POSIX] (ETXTBSY): Likewise.
11302 [POSIX] (EWOULDBLOCK): Likewise.
11303 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11304 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11305 [POSIX] (SEEK_CUR): Likewise.
11306 [POSIX] (SEEK_END): Likewise.
11307 [POSIX || UNIX98] (mode_t): Do not require.
11308 [POSIX] (off_t): Likewise.
11309 [POSIX] (pid_t): Likewise.
11310 [POSIX] (sys/stat.h): Do not allow header.
11311 [POSIX] (unistd.h): Likewise.
11312 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11313 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11314 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11315 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11317 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11318 sigevent): Specify elements.
11319 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11321 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11322 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11324 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11325 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11326 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11327 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11328 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11329 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11330 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11331 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11332 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11333 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11334 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11335 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11336 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11337 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11339 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11341 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11343 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11345 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11346 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11347 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11348 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11349 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11350 Specify lower bound on value.
11351 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11352 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11353 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11354 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11355 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11356 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11357 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11358 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11360 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11362 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11363 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11364 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11365 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11366 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11367 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11368 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11369 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11370 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11371 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11372 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11373 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11374 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11375 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11376 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11377 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11379 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11381 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11382 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11383 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11385 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11386 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11388 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11389 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11390 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11391 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11392 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11393 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11394 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11396 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11397 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11398 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11399 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11400 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11401 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11402 specify as optional.
11403 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11405 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11406 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11407 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11408 [XPG3] (NL_LANGMAX): Likewise.
11409 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11410 [POSIX || XPG3] (NL_NMAX): Likewise.
11411 [POSIX || XPG3] (NL_SETMAX): Likewise.
11412 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11413 [XPG3] (NZERO): Likewise.
11414 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11415 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11416 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11417 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11418 (REG_ERANGE): Expect.
11419 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11421 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11422 Use (void) in prototype.
11423 [POSIX] (*_t): Allow.
11424 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11425 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11426 (WRDE_BADVAL): Expect.
11428 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11430 [XPG3 || XPG4] (O_RSYNC): Likewise.
11431 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11433 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11434 [XPG3 || XPG4] (sigqueue): Likewise.
11435 [XPG3 || XPG4] (sigtimedwait): Likewise.
11436 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11437 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11438 [XPG3 || XPG4] (vsnprintf): Likewise.
11439 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11441 [XPG3 || XPG4] (blksize_t): Likewise.
11442 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11444 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11445 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11446 [XPG3 || XPG4] (struct itimerspec): Likewise.
11447 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11448 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11449 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11450 [XPG3 || XPG4] (clockid_t): Likewise.
11451 [XPG3 || XPG4] (timer_t): Likewise.
11452 [XPG3 || XPG4] (clock_getres): Likewise.
11453 [XPG3 || XPG4] (clock_gettime): Likewise.
11454 [XPG3 || XPG4] (clock_settime): Likewise.
11455 [XPG3 || XPG4] (nanosleep): Likewise.
11456 [XPG3 || XPG4] (timer_create): Likewise.
11457 [XPG3 || XPG4] (timer_delete): Likewise.
11458 [XPG3 || XPG4] (timer_gettime): Likewise.
11459 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11460 [XPG3 || XPG4] (timer_settime): Likewise.
11461 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11462 [XPG3 || XPG4] (getlogin_r): Likewise.
11463 [XPG3 || XPG4] (pread): Likewise.
11464 [XPG3 || XPG4] (pthread_atfork): Likewise.
11465 [XPG3 || XPG4] (pwrite): Likewise.
11468 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11471 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11473 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11474 finalizing MALLSTREAM.
11476 * sysdeps/mach/hurd/syncfs.c: New file.
11478 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11481 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11482 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11483 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11484 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11485 (_nss_dns_gethostbyname4_r): Likewise.
11486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11487 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11489 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11492 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11494 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11496 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11497 * elf/cache.c (print_entry): Print ",AArch64" for
11500 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11501 * elf/cache.c (print_entry): Print ",hard-float" for
11504 2012-11-18 David S. Miller <davem@davemloft.net>
11506 With help from Joseph Myers.
11507 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11509 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11511 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11512 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11514 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11515 * math/libm-test.inc (y0_test): New tests.
11516 (y1_test): New tests.
11517 * sysdeps/i386/fpu/libm-test-ulps: Update.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11521 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11523 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11525 * configure: Regenerated.
11527 2012-11-17 David S. Miller <davem@davemloft.net>
11530 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11531 nonzero exponents with absolute value below 0x1p-128 to +/-
11534 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11536 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11538 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11540 * posix/getconf-speclist.c: New file.
11541 * posix/posix-envs.def: Likewise.
11542 * posix/confstr.c (START_ENV_GROUP): New macro.
11543 (END_ENV_GROUP): Likewise.
11544 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11545 (KNOWN_PRESENT_ENV_STRING): Likewise.
11546 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11547 (UNKNOWN_ENVIRONMENT): Likewise.
11548 (confstr): Include posix-envs.def instead of handling
11549 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11550 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11551 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11552 (END_ENV_GROUP): Likewise.
11553 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11554 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11555 (UNKNOWN_ENVIRONMENT): Likewise.
11556 (__sysconf): Include posix-envs.def instead of handling associated
11557 cases directly here.
11558 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11559 preprocessing getconf-speclist.c rather than running getconf or
11560 generating empty file.
11562 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11564 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11566 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11569 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11571 2012-11-16 David S. Miller <davem@davemloft.net>
11573 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11574 smaller than LDBL_EPSILON/2.0L, just return xm1.
11576 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11578 * elf/tst-array1.c (init): Set constructor priority to 1000.
11579 (fini): Set destructor priority to 1000.
11580 * elf/tst-array2dep.c: Likewise.
11582 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11585 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11586 (_IO_new_file_xsputn): Also return EOF if none of the input
11587 data was written when overflow failed.
11588 * libio/iopadn.c (_IO_padn): Likewise.
11589 * libio/iowpadn.c (_IO_wpadn): Likewise.
11590 * stdio-common/tst-put-error.c: Add copyright notice.
11591 (do_test): Add case for printing padded string.
11592 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11593 _IO_padn returned error.
11594 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11595 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11598 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11600 * libio/libioP.h: Add comment note that the references to C++
11601 bits are now obsolete.
11603 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11605 * math/libm-test.inc (check_complex): Use asprintf.
11607 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11609 * debug/pcprofiledump.c (print_version): Update copyright year.
11610 * malloc/memusagestat.c (print_version): Likewise.
11612 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11615 * elf/Makefile (tests): Add tst-audit8.
11616 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11617 ($(objpfx)tst-audit8.out): New target.
11618 (tst-audit8-ENV): New variable.
11619 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11620 audit if l_reloc_result is NULL.
11621 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11622 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11623 * elf/tst-audit8.c: New file.
11625 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11627 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11628 * misc/Makefile (CFLAGS-select.c): Define.
11629 * posix/Makefile (CFLAGS-pause.c): Define.
11631 2012-11-13 David S. Miller <davem@davemloft.net>
11633 * crypt/Makefile: Move test targets after toplevel Rules
11634 inclusion. Grab any necessary sysdep routines when linking.
11635 * crypt/md5.c (md5_process_block): Remove define, we will always
11636 name it __md5_process_block.
11637 (md5_finish_ctx): Update md5_process_block call.
11638 (md5_stream): Likewise.
11639 (md5_process_bytes): Likewise.
11640 (md5_process_block): Rename to __md5_process_block and move to ...
11641 * crypt/md5-block.c: ... here.
11642 * crypt/sha256.c (sha256_process_block): Move to ...
11643 * crypt/sha256-block.c: ... here.
11644 * crypt/sha512.c (sha512_process_block): Move to ...
11645 * crypt/sha512-block.c: ... here.
11646 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11648 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11649 * sysdeps/sparc/sparc64/multiarch/Makefile
11650 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11652 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11653 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11655 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11656 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11657 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11658 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11659 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11660 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11661 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11662 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11663 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11665 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11666 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11668 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11670 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11672 * timezone/tzselect.ksh: Update from tzcode git revision
11673 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11674 * timezone/zdump.c: Likewise.
11675 * timezone/zic.c: Likewise.
11676 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11677 in TZVERSION setting, not $(PKGVERSION).
11678 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11679 REPORT_BUGS_TO settings.
11682 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11685 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11687 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11688 detection to immediately after _FP_ROUND().
11689 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11692 2012-11-11 David S. Miller <davem@davemloft.net>
11694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11696 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11697 __close rather than their public counterparts.
11699 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11701 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11703 [UNIX98] (sem_timedwait): Do not expect.
11704 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11705 [XPG4 || UNIX98] (sockatmark): Do not expect.
11706 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11707 (clock_getcpuclockid): Do not expect.
11708 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11709 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11711 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11712 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11713 [UNIX98] (vwscanf): Likewise.
11714 [UNIX98] (vswscanf): Likewise.
11716 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11718 * timezone/version.h: Remove file.
11719 * timezone/README: Do not refer to version.h.
11720 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11721 $(objpfx)version.h.
11722 ($(objpfx)zdump.o): Likewise.
11723 ($(objpfx)version.h): New target.
11725 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11727 * timezone/README: Don't mention modification to tzselect.ksh.
11728 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11729 work on unmodified tzselect.ksh. Substitute version numbers in
11732 * Makefile (format-me): Remove.
11733 (INSTALL): Adjust indentation. Use commands directly instead of
11734 using $(format-me).
11736 * aclocal.m4 (ACX_PKGVERSION): New macro.
11737 (ACX_BUGURL): Likewise.
11738 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11739 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11740 (REPORT_BUGS_TO): Likewise.
11741 * configure: Regenerated.
11742 * config.h.in (PKGVERSION): New macro.
11743 (REPORT_BUGS_TO): Likewise.
11744 * config.make.in (PKGVERSION): New variable.
11745 (PKGVERSION_TEXI): Likewise.
11746 (REPORT_BUGS_TO): Likewise.
11747 (REPORT_BUGS_TEXI): Likewise.
11748 * Makefile (format-me): Use -I$(common-objpfx)manual.
11749 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11750 ($(common-objpfx)manual/%): New target.
11751 (manual/%): Remove target.
11752 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11753 (print_version): Use PKGVERSION.
11754 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11755 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11756 and REPORT_BUGS_TO.
11757 ($(objpfx)xtrace): Likewise.
11758 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11759 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11760 (print_version): Use PKGVERSION.
11761 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11762 (do_version): Use PKGVERSION.
11763 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11765 (common-ldd-rewrite): Likewise.
11766 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11767 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11768 (print_version): Use PKGVERSION.
11769 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11770 * elf/pldd.c (argp_program_bug_address): Remove variable.
11771 (more_help): New function.
11772 (argp): Use more_help.
11773 (print_version): Use PKGVERSION.
11774 * elf/sln.c (main): Use PKGVERSION.
11775 (usage): Use REPORT_BUGS_TO.
11776 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11777 (top level): Use PKGVERSION.
11778 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11779 (print_version): Use PKGVERSION.
11780 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11781 (print_version): Use PKGVERSION.
11782 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11783 (print_version): Use PKGVERSION.
11784 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11785 (print_version): Use PKGVERSION.
11786 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11787 (print_version): Use PKGVERSION.
11788 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11789 (print_version): Use PKGVERSION.
11790 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11792 ($(objpfx)memusage): Likewise.
11793 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11794 (do_version): Use PKGVERSION.
11795 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11796 (print_version): Use PKGVERSION.
11797 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11798 ($PKGVERSION): New variable.
11799 ($REPORT_BUGS_TO): Likewise.
11800 (usage): Use $REPORT_BUGS_TO.
11801 (top level): Use $PKGVERSION.
11802 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11803 ($(objpfx)pkgvers.texi): New rule.
11804 ($(objpfx)stamp-pkgvers): Likewise.
11805 * manual/install.texi: Include pkgvers.texi.
11806 (--with-pkgversion): Document new configure option.
11807 (--with-bugurl): Likewise.
11808 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11809 than necessarily for this particular distribution. Use
11810 REPORT_BUGS_TO for where to report bugs.
11811 * INSTALL: Regenerated.
11812 * manual/libc.texinfo: Include pkgvers.texi.
11813 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11814 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11815 (print_version): Use PKGVERSION.
11816 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11817 (print_version): Use PKGVERSION.
11818 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11819 (print_version): Use PKGVERSION.
11820 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11821 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11823 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11824 (print_version): Use PKGVERSION.
11825 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11826 (print_version): Use PKGVERSION.
11827 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11830 * timezone/checktab.awk: Update from tzcode 2012i.
11831 * timezone/ialloc.c: Likewise.
11832 * timezone/private.h: Likewise.
11833 * timezone/scheck.c: Likewise.
11834 * timezone/tzfile.h: Likewise.
11835 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11836 (TZVERSION): Hardcode tzcode version number.
11837 * timezone/zdump.c: Update from tzcode 2012i.
11838 * timezone/zic.c: Likewise.
11839 * timezone/version.h: New file.
11840 * timezone/README: Describe version.h. Update upstream location.
11843 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11844 (mktemp): Enable declaration.
11845 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11846 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11862 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11863 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11864 for copies of such integer values.
11865 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11866 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11868 2012-11-09 Andreas Jaeger <aj@suse.de>
11870 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11871 definitions and declarations that are provided by
11872 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11874 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11876 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11877 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11878 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11881 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11883 * elf/elf.h: Update comment before AArch64 relocations.
11885 2012-11-07 David S. Miller <davem@davemloft.net>
11887 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11888 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11889 (__start_context): Declare.
11890 (__makecontext_ret): Delete.
11891 (__makecontext): Hook up __start_context instead of
11893 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11894 (sysdep_routines): Add __start_context when in stdlib.
11896 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11898 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11899 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11900 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11902 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11903 (READELF): New variable. Use it instead of hardcoded "readelf".
11905 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11907 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11908 * sysdeps/x86/Makefile: Here.
11909 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11910 * sysdeps/x86/tst-xmmymm.sh: This.
11912 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11914 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11916 [UNIX98] (pthread_barrier_t): Do not expect.
11917 [UNIX98] (pthread_barrierattr_t): Likewise.
11918 [UNIX98] (pthread_spinlock_t): Likewise.
11919 [UNIX98] (pthread_barrier_destroy): Likewise.
11920 [UNIX98] (pthread_barrier_init): Likewise.
11921 [UNIX98] (pthread_barrier_wait): Likewise.
11922 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11923 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11924 [UNIX98] (pthread_barrierattr_init): Likewise.
11925 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11926 [UNIX98] (pthread_getcpuclockid): Likewise.
11927 [UNIX98] (pthread_mutex_timedlock): Likewise.
11928 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11929 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11930 [UNIX98] (pthread_sigmask): Likewise.
11931 [UNIX98] (pthread_spin_destroy): Likewise.
11932 [UNIX98] (pthread_spin_init): Likewise.
11933 [UNIX98] (pthread_spin_lock): Likewise.
11934 [UNIX98] (pthread_spin_trylock): Likewise.
11935 [UNIX98] (pthread_spin_unlock): Likewise.
11936 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11938 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11939 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11940 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11941 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11942 [XPG3 || XPG4] (pthread_key_t): Likewise.
11943 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11944 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11945 [XPG3 || XPG4] (pthread_once_t): Likewise.
11946 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11947 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11949 [XPG3 || XPG4] (pthread_t): Likewise.
11951 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11953 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11955 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11956 Change function return type to int.
11958 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11959 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11960 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11961 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11962 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11963 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11964 [!POSIX] (posix_madvise): Likewise.
11965 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11967 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11968 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11969 (mode_t): Likewise.
11970 (posix_mem_offset): Likewise.
11971 (posix_typed_mem_get_info): Likewise.
11972 (posix_typed_mem_open): Likewise.
11974 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11975 Change condition to [XOPEN2K8].
11977 * conform/conformtest.pl: Preprocess allow-header data with -x c
11978 instead of from stdin.
11979 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11980 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11981 [C99-based standards] (cerfc): Likewise.
11982 [C99-based standards] (cexp2): Likewise.
11983 [C99-based standards] (cexpm1): Likewise.
11984 [C99-based standards] (clog10): Likewise.
11985 [C99-based standards] (clog1p): Likewise.
11986 [C99-based standards] (clog2): Likewise.
11987 [C99-based standards] (clgamma): Likewise.
11988 [C99-based standards] (ctgamma): Likewise.
11989 [C99-based standards] (cerff): Likewise.
11990 [C99-based standards] (cerfcf): Likewise.
11991 [C99-based standards] (cexp2f): Likewise.
11992 [C99-based standards] (cexpm1f): Likewise.
11993 [C99-based standards] (clog10f): Likewise.
11994 [C99-based standards] (clog1pf): Likewise.
11995 [C99-based standards] (clog2f): Likewise.
11996 [C99-based standards] (clgammaf): Likewise.
11997 [C99-based standards] (ctgammaf): Likewise.
11998 [C99-based standards] (cerfl): Likewise.
11999 [C99-based standards] (cerfcl): Likewise.
12000 [C99-based standards] (cexp2l): Likewise.
12001 [C99-based standards] (cexpm1l): Likewise.
12002 [C99-based standards] (clog10l): Likewise.
12003 [C99-based standards] (clog1pl): Likewise.
12004 [C99-based standards] (clog2l): Likewise.
12005 [C99-based standards] (clgammal): Likewise.
12006 [C99-based standards] (ctgammal): Likewise.
12007 * conform/data/inttypes.h-data [C99-based standards]: Include
12008 stdint.h-data. Remove all expectations for stdint.h contents.
12009 [C99-based standards] (PRI*): Do not allow.
12010 [C99-based standards] (SCN*): Likewise.
12011 [C99-based standards] (*_t): Likewise.
12012 [C99-based-standards] (PRId8): Expect macro.
12013 [C99-based-standards] (PRIi8): Likewise.
12014 [C99-based-standards] (PRIo8): Likewise.
12015 [C99-based-standards] (PRIu8): Likewise.
12016 [C99-based-standards] (PRIx8): Likewise.
12017 [C99-based-standards] (PRIX8): Likewise.
12018 [C99-based-standards] (SCNd8): Likewise.
12019 [C99-based-standards] (SCNi8): Likewise.
12020 [C99-based-standards] (SCNo8): Likewise.
12021 [C99-based-standards] (SCNu8): Likewise.
12022 [C99-based-standards] (SCNx8): Likewise.
12023 [C99-based-standards] (PRIdLEAST8): Likewise.
12024 [C99-based-standards] (PRIiLEAST8): Likewise.
12025 [C99-based-standards] (PRIoLEAST8): Likewise.
12026 [C99-based-standards] (PRIuLEAST8): Likewise.
12027 [C99-based-standards] (PRIxLEAST8): Likewise.
12028 [C99-based-standards] (PRIXLEAST8): Likewise.
12029 [C99-based-standards] (SCNdLEAST8): Likewise.
12030 [C99-based-standards] (SCNiLEAST8): Likewise.
12031 [C99-based-standards] (SCNoLEAST8): Likewise.
12032 [C99-based-standards] (SCNuLEAST8): Likewise.
12033 [C99-based-standards] (SCNxLEAST8): Likewise.
12034 [C99-based-standards] (PRIdFAST8): Likewise.
12035 [C99-based-standards] (PRIiFAST8): Likewise.
12036 [C99-based-standards] (PRIoFAST8): Likewise.
12037 [C99-based-standards] (PRIuFAST8): Likewise.
12038 [C99-based-standards] (PRIxFAST8): Likewise.
12039 [C99-based-standards] (PRIXFAST8): Likewise.
12040 [C99-based-standards] (SCNdFAST8): Likewise.
12041 [C99-based-standards] (SCNiFAST8): Likewise.
12042 [C99-based-standards] (SCNoFAST8): Likewise.
12043 [C99-based-standards] (SCNuFAST8): Likewise.
12044 [C99-based-standards] (SCNxFAST8): Likewise.
12045 [C99-based-standards] (PRId16): Likewise.
12046 [C99-based-standards] (PRIi16): Likewise.
12047 [C99-based-standards] (PRIo16): Likewise.
12048 [C99-based-standards] (PRIu16): Likewise.
12049 [C99-based-standards] (PRIx16): Likewise.
12050 [C99-based-standards] (PRIX16): Likewise.
12051 [C99-based-standards] (SCNd16): Likewise.
12052 [C99-based-standards] (SCNi16): Likewise.
12053 [C99-based-standards] (SCNo16): Likewise.
12054 [C99-based-standards] (SCNu16): Likewise.
12055 [C99-based-standards] (SCNx16): Likewise.
12056 [C99-based-standards] (PRIdLEAST16): Likewise.
12057 [C99-based-standards] (PRIiLEAST16): Likewise.
12058 [C99-based-standards] (PRIoLEAST16): Likewise.
12059 [C99-based-standards] (PRIuLEAST16): Likewise.
12060 [C99-based-standards] (PRIxLEAST16): Likewise.
12061 [C99-based-standards] (PRIXLEAST16): Likewise.
12062 [C99-based-standards] (SCNdLEAST16): Likewise.
12063 [C99-based-standards] (SCNiLEAST16): Likewise.
12064 [C99-based-standards] (SCNoLEAST16): Likewise.
12065 [C99-based-standards] (SCNuLEAST16): Likewise.
12066 [C99-based-standards] (SCNxLEAST16): Likewise.
12067 [C99-based-standards] (PRIdFAST16): Likewise.
12068 [C99-based-standards] (PRIiFAST16): Likewise.
12069 [C99-based-standards] (PRIoFAST16): Likewise.
12070 [C99-based-standards] (PRIuFAST16): Likewise.
12071 [C99-based-standards] (PRIxFAST16): Likewise.
12072 [C99-based-standards] (PRIXFAST16): Likewise.
12073 [C99-based-standards] (SCNdFAST16): Likewise.
12074 [C99-based-standards] (SCNiFAST16): Likewise.
12075 [C99-based-standards] (SCNoFAST16): Likewise.
12076 [C99-based-standards] (SCNuFAST16): Likewise.
12077 [C99-based-standards] (SCNxFAST16): Likewise.
12078 [C99-based-standards] (PRId32): Likewise.
12079 [C99-based-standards] (PRIi32): Likewise.
12080 [C99-based-standards] (PRIo32): Likewise.
12081 [C99-based-standards] (PRIu32): Likewise.
12082 [C99-based-standards] (PRIx32): Likewise.
12083 [C99-based-standards] (PRIX32): Likewise.
12084 [C99-based-standards] (SCNd32): Likewise.
12085 [C99-based-standards] (SCNi32): Likewise.
12086 [C99-based-standards] (SCNo32): Likewise.
12087 [C99-based-standards] (SCNu32): Likewise.
12088 [C99-based-standards] (SCNx32): Likewise.
12089 [C99-based-standards] (PRIdLEAST32): Likewise.
12090 [C99-based-standards] (PRIiLEAST32): Likewise.
12091 [C99-based-standards] (PRIoLEAST32): Likewise.
12092 [C99-based-standards] (PRIuLEAST32): Likewise.
12093 [C99-based-standards] (PRIxLEAST32): Likewise.
12094 [C99-based-standards] (PRIXLEAST32): Likewise.
12095 [C99-based-standards] (SCNdLEAST32): Likewise.
12096 [C99-based-standards] (SCNiLEAST32): Likewise.
12097 [C99-based-standards] (SCNoLEAST32): Likewise.
12098 [C99-based-standards] (SCNuLEAST32): Likewise.
12099 [C99-based-standards] (SCNxLEAST32): Likewise.
12100 [C99-based-standards] (PRIdFAST32): Likewise.
12101 [C99-based-standards] (PRIiFAST32): Likewise.
12102 [C99-based-standards] (PRIoFAST32): Likewise.
12103 [C99-based-standards] (PRIuFAST32): Likewise.
12104 [C99-based-standards] (PRIxFAST32): Likewise.
12105 [C99-based-standards] (PRIXFAST32): Likewise.
12106 [C99-based-standards] (SCNdFAST32): Likewise.
12107 [C99-based-standards] (SCNiFAST32): Likewise.
12108 [C99-based-standards] (SCNoFAST32): Likewise.
12109 [C99-based-standards] (SCNuFAST32): Likewise.
12110 [C99-based-standards] (SCNxFAST32): Likewise.
12111 [C99-based-standards] (PRId64): Likewise.
12112 [C99-based-standards] (PRIi64): Likewise.
12113 [C99-based-standards] (PRIo64): Likewise.
12114 [C99-based-standards] (PRIu64): Likewise.
12115 [C99-based-standards] (PRIx64): Likewise.
12116 [C99-based-standards] (PRIX64): Likewise.
12117 [C99-based-standards] (SCNd64): Likewise.
12118 [C99-based-standards] (SCNi64): Likewise.
12119 [C99-based-standards] (SCNo64): Likewise.
12120 [C99-based-standards] (SCNu64): Likewise.
12121 [C99-based-standards] (SCNx64): Likewise.
12122 [C99-based-standards] (PRIdLEAST64): Likewise.
12123 [C99-based-standards] (PRIiLEAST64): Likewise.
12124 [C99-based-standards] (PRIoLEAST64): Likewise.
12125 [C99-based-standards] (PRIuLEAST64): Likewise.
12126 [C99-based-standards] (PRIxLEAST64): Likewise.
12127 [C99-based-standards] (PRIXLEAST64): Likewise.
12128 [C99-based-standards] (SCNdLEAST64): Likewise.
12129 [C99-based-standards] (SCNiLEAST64): Likewise.
12130 [C99-based-standards] (SCNoLEAST64): Likewise.
12131 [C99-based-standards] (SCNuLEAST64): Likewise.
12132 [C99-based-standards] (SCNxLEAST64): Likewise.
12133 [C99-based-standards] (PRIdFAST64): Likewise.
12134 [C99-based-standards] (PRIiFAST64): Likewise.
12135 [C99-based-standards] (PRIoFAST64): Likewise.
12136 [C99-based-standards] (PRIuFAST64): Likewise.
12137 [C99-based-standards] (PRIxFAST64): Likewise.
12138 [C99-based-standards] (PRIXFAST64): Likewise.
12139 [C99-based-standards] (SCNdFAST64): Likewise.
12140 [C99-based-standards] (SCNiFAST64): Likewise.
12141 [C99-based-standards] (SCNoFAST64): Likewise.
12142 [C99-based-standards] (SCNuFAST64): Likewise.
12143 [C99-based-standards] (SCNxFAST64): Likewise.
12144 [C99-based-standards] (PRIdMAX): Likewise.
12145 [C99-based-standards] (PRIiMAX): Likewise.
12146 [C99-based-standards] (PRIoMAX): Likewise.
12147 [C99-based-standards] (PRIuMAX): Likewise.
12148 [C99-based-standards] (PRIxMAX): Likewise.
12149 [C99-based-standards] (PRIXMAX): Likewise.
12150 [C99-based-standards] (SCNdMAX): Likewise.
12151 [C99-based-standards] (SCNiMAX): Likewise.
12152 [C99-based-standards] (SCNoMAX): Likewise.
12153 [C99-based-standards] (SCNuMAX): Likewise.
12154 [C99-based-standards] (SCNxMAX): Likewise.
12155 [C99-based-standards] (PRIdPTR): Likewise.
12156 [C99-based-standards] (PRIiPTR): Likewise.
12157 [C99-based-standards] (PRIoPTR): Likewise.
12158 [C99-based-standards] (PRIuPTR): Likewise.
12159 [C99-based-standards] (PRIxPTR): Likewise.
12160 [C99-based-standards] (PRIXPTR): Likewise.
12161 [C99-based-standards] (SCNdPTR): Likewise.
12162 [C99-based-standards] (SCNiPTR): Likewise.
12163 [C99-based-standards] (SCNoPTR): Likewise.
12164 [C99-based-standards] (SCNuPTR): Likewise.
12165 [C99-based-standards] (SCNxPTR): Likewise.
12166 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12168 * conform/data/stdint.h-data: Update comments to clarify
12170 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12172 [C99-based standards] (INT8_MAX): Likewise.
12173 [C99-based standards] (INT16_MIN): Likewise.
12174 [C99-based standards] (INT16_MAX): Likewise.
12175 [C99-based standards] (INT32_MIN): Likewise.
12176 [C99-based standards] (INT32_MAX): Likewise.
12177 [C99-based standards] (INT64_MIN): Likewise.
12178 [C99-based standards] (INT64_MAX): Likewise.
12179 [C99-based standards] (UINT8_MAX): Likewise.
12180 [C99-based standards] (UINT16_MAX): Likewise.
12181 [C99-based standards] (UINT32_MAX): Likewise.
12182 [C99-based standards] (UINT64_MAX): Likewise.
12183 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12184 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12185 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12186 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12187 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12188 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12189 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12190 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12191 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12192 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12193 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12194 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12195 [C99-based standards] (INT_FAST8_MIN): Likewise.
12196 [C99-based standards] (INT_FAST8_MAX): Likewise.
12197 [C99-based standards] (INT_FAST16_MIN): Likewise.
12198 [C99-based standards] (INT_FAST16_MAX): Likewise.
12199 [C99-based standards] (INT_FAST32_MIN): Likewise.
12200 [C99-based standards] (INT_FAST32_MAX): Likewise.
12201 [C99-based standards] (INT_FAST64_MIN): Likewise.
12202 [C99-based standards] (INT_FAST64_MAX): Likewise.
12203 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12204 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12205 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12206 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12207 [C99-based standards] (INTPTR_MIN): Likewise.
12208 [C99-based standards] (INTPTR_MAX): Likewise.
12209 [C99-based standards] (UINTPTR_MAX): Likewise.
12210 [C99-based standards] (INTMAX_MIN): Likewise.
12211 [C99-based standards] (INTMAX_MAX): Likewise.
12212 [C99-based standards] (UINTMAX_MAX): Likewise.
12213 [C99-based standards] (PTRDIFF_MIN): Likewise.
12214 [C99-based standards] (PTRDIFF_MAX): Likewise.
12215 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12216 [C99-based standards] (SIZE_MAX): Likewise.
12217 [C99-based standards] (WCHAR_MAX): Likewise.
12218 [C99-based standards] (WINT_MAX): Likewise.
12219 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12220 constraint on value.
12221 [C99-based standards] (WCHAR_MIN): Likewise.
12222 [C99-based standards] (WINT_MIN): Likewise.
12223 [C99-based standards] (*_t): Allow.
12224 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12225 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12226 Include math.h-data and complex.h-data. Remove all expectations
12227 of math.h and complex.h contents.
12228 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12230 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12231 (struct tm): Expect tag.
12232 [C99-based-standards] (wcstof): Expect function.
12233 [C99-based-standards] (wcstold): Likewise.
12234 [C99-based-standards] (wcstoll): Likewise.
12235 [C99-based-standards] (wcstoull): Likewise.
12236 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12237 macro-int-constant. Specify type.
12238 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12239 constraint on value.
12240 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12242 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12244 [ISO C standards]: Do not allow headers.
12245 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12246 wcs[abcdefghijklmnopqrstuvwxyz]*.
12247 [ISO C standards] (*_t): Do not allow.
12248 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12250 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12251 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12253 [ISO C standards]: Do not allow headers.
12254 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12255 is[abcdefghijklmnopqrstuvwxyz]*.
12256 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12257 to[abcdefghijklmnopqrstuvwxyz]*.
12258 [ISO C standards] (*_t): Do not allow.
12259 * conform/data/stdalign.h-data: New file.
12260 * conform/data/stdbool.h-data: Likewise.
12261 * conform/data/stdnoreturn.h-data: Likewise.
12263 2012-11-07 Roland McGrath <roland@hack.frob.com>
12266 * manual/filesys.texi (Directory Entries): Typo fix.
12267 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12269 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12271 * elf/elf.h (EM_AARCH64): New macro.
12272 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12273 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12274 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12275 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12276 (R_AARCH64_TLSDESC): Likewise.
12277 (NT_ARM_TLS): Likewise.
12278 (NT_ARM_HW_BREAK): Likewise.
12279 (NT_ARM_HW_WATCH): Likewise.
12281 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12284 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12285 (__ieee754_powl): Saturate nonzero exponents with absolute value
12286 below 0x1p-79 to +/- 0x1p-79.
12287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12288 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12289 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12290 nonzero exponents with absolute value below 0x1p-32 to +/-
12292 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12293 (__ieee754_powl): Saturate nonzero exponents with absolute value
12294 below 0x1p-79 to +/- 0x1p-79.
12295 * math/libm-test.inc (pow_test): Add more tests.
12297 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12299 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12300 _dl_s390_cap_flags with kernel. Increase string length.
12301 (_dl_s390_platforms): Add z196 and zEC12.
12303 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12305 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12306 Change XOPEN21K to XOPEN2K.
12308 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12310 * string/memmove.c: Use memcpy when possible.
12312 2012-11-06 Andreas Jaeger <aj@suse.de>
12314 * po/eo.po: Update from translation team.
12316 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12320 exponent and small x and y exponents, scale x or y up. Increase
12321 by 2 the exponent used in scaling up.
12322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12324 * math/libm-test.inc (fma_test): Add more tests.
12325 (fma_test_towardzero): Likewise.
12326 (fma_test_downward): Likewise.
12327 (fma_test_upward): Likewise.
12329 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12332 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12336 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12337 namespace for names of struct fields.
12338 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12340 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12341 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12343 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12346 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12348 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12350 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12354 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12357 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12361 definitely overflow as x * y not x * y + z.
12362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12364 * math/libm-test.inc (fma_test): Add more tests.
12365 (fma_test_towardzero): Likewise.
12366 (fma_test_downward): Likewise.
12367 (fma_test_upward): Likewise.
12369 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12373 * include/stub-tag.h: Remove file.
12374 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12376 * manual/maint.texi (Porting): Don't reference it.
12377 * Makerules ($(objpfx)stubs): Likewise.
12378 * dirent/closedir.c: Don't include <stub-tag.h>.
12379 * dirent/dirfd.c: Likewise.
12380 * dirent/fdopendir.c: Likewise.
12381 * dirent/getdents.c: Likewise.
12382 * dirent/getdents64.c: Likewise.
12383 * dirent/opendir.c: Likewise.
12384 * dirent/readdir.c: Likewise.
12385 * dirent/readdir64.c: Likewise.
12386 * dirent/readdir64_r.c: Likewise.
12387 * dirent/readdir_r.c: Likewise.
12388 * dirent/rewinddir.c: Likewise.
12389 * dirent/seekdir.c: Likewise.
12390 * dirent/telldir.c: Likewise.
12391 * gmon/profil.c: Likewise.
12392 * grp/setgroups.c: Likewise.
12393 * inet/if_index.c: Likewise.
12394 * io/access.c: Likewise.
12395 * io/chdir.c: Likewise.
12396 * io/chmod.c: Likewise.
12397 * io/chown.c: Likewise.
12398 * io/close.c: Likewise.
12399 * io/dup.c: Likewise.
12400 * io/dup2.c: Likewise.
12401 * io/dup3.c: Likewise.
12402 * io/euidaccess.c: Likewise.
12403 * io/faccessat.c: Likewise.
12404 * io/fchdir.c: Likewise.
12405 * io/fchmod.c: Likewise.
12406 * io/fchmodat.c: Likewise.
12407 * io/fchown.c: Likewise.
12408 * io/fchownat.c: Likewise.
12409 * io/fcntl.c: Likewise.
12410 * io/flock.c: Likewise.
12411 * io/fstatfs.c: Likewise.
12412 * io/fstatfs64.c: Likewise.
12413 * io/fstatvfs.c: Likewise.
12414 * io/fstatvfs64.c: Likewise.
12415 * io/futimens.c: Likewise.
12416 * io/fxstat.c: Likewise.
12417 * io/fxstat64.c: Likewise.
12418 * io/fxstatat.c: Likewise.
12419 * io/fxstatat64.c: Likewise.
12420 * io/getcwd.c: Likewise.
12421 * io/isatty.c: Likewise.
12422 * io/lchmod.c: Likewise.
12423 * io/lchown.c: Likewise.
12424 * io/link.c: Likewise.
12425 * io/linkat.c: Likewise.
12426 * io/lseek.c: Likewise.
12427 * io/lseek64.c: Likewise.
12428 * io/lxstat64.c: Likewise.
12429 * io/mkdir.c: Likewise.
12430 * io/mkdirat.c: Likewise.
12431 * io/mkfifo.c: Likewise.
12432 * io/mkfifoat.c: Likewise.
12433 * io/open.c: Likewise.
12434 * io/open64.c: Likewise.
12435 * io/openat.c: Likewise.
12436 * io/openat64.c: Likewise.
12437 * io/pipe.c: Likewise.
12438 * io/pipe2.c: Likewise.
12439 * io/poll.c: Likewise.
12440 * io/posix_fadvise.c: Likewise.
12441 * io/posix_fadvise64.c: Likewise.
12442 * io/posix_fallocate.c: Likewise.
12443 * io/posix_fallocate64.c: Likewise.
12444 * io/read.c: Likewise.
12445 * io/readlink.c: Likewise.
12446 * io/readlinkat.c: Likewise.
12447 * io/rmdir.c: Likewise.
12448 * io/sendfile.c: Likewise.
12449 * io/sendfile64.c: Likewise.
12450 * io/statfs.c: Likewise.
12451 * io/statfs64.c: Likewise.
12452 * io/statvfs.c: Likewise.
12453 * io/statvfs64.c: Likewise.
12454 * io/symlink.c: Likewise.
12455 * io/symlinkat.c: Likewise.
12456 * io/ttyname.c: Likewise.
12457 * io/ttyname_r.c: Likewise.
12458 * io/umask.c: Likewise.
12459 * io/unlink.c: Likewise.
12460 * io/unlinkat.c: Likewise.
12461 * io/utime.c: Likewise.
12462 * io/utimensat.c: Likewise.
12463 * io/write.c: Likewise.
12464 * io/xmknod.c: Likewise.
12465 * io/xmknodat.c: Likewise.
12466 * io/xstat.c: Likewise.
12467 * io/xstat64.c: Likewise.
12468 * login/getpt.c: Likewise.
12469 * login/grantpt.c: Likewise.
12470 * login/unlockpt.c: Likewise.
12471 * math/e_acoshl.c: Likewise.
12472 * math/e_acosl.c: Likewise.
12473 * math/e_asinl.c: Likewise.
12474 * math/e_atan2l.c: Likewise.
12475 * math/e_atanhl.c: Likewise.
12476 * math/e_coshl.c: Likewise.
12477 * math/e_expl.c: Likewise.
12478 * math/e_fmodl.c: Likewise.
12479 * math/e_gammal_r.c: Likewise.
12480 * math/e_hypotl.c: Likewise.
12481 * math/e_j0l.c: Likewise.
12482 * math/e_j1l.c: Likewise.
12483 * math/e_jnl.c: Likewise.
12484 * math/e_lgammal_r.c: Likewise.
12485 * math/e_log10l.c: Likewise.
12486 * math/e_log2l.c: Likewise.
12487 * math/e_logl.c: Likewise.
12488 * math/e_powl.c: Likewise.
12489 * math/e_rem_pio2l.c: Likewise.
12490 * math/e_sinhl.c: Likewise.
12491 * math/e_sqrtl.c: Likewise.
12492 * math/fclrexcpt.c: Likewise.
12493 * math/fedisblxcpt.c: Likewise.
12494 * math/feenablxcpt.c: Likewise.
12495 * math/fegetenv.c: Likewise.
12496 * math/fegetexcept.c: Likewise.
12497 * math/fegetround.c: Likewise.
12498 * math/feholdexcpt.c: Likewise.
12499 * math/fesetenv.c: Likewise.
12500 * math/fesetround.c: Likewise.
12501 * math/feupdateenv.c: Likewise.
12502 * math/fgetexcptflg.c: Likewise.
12503 * math/fraiseexcpt.c: Likewise.
12504 * math/fsetexcptflg.c: Likewise.
12505 * math/ftestexcept.c: Likewise.
12506 * math/k_cosl.c: Likewise.
12507 * math/k_rem_pio2l.c: Likewise.
12508 * math/k_sinl.c: Likewise.
12509 * math/k_tanl.c: Likewise.
12510 * math/s_asinhl.c: Likewise.
12511 * math/s_atanl.c: Likewise.
12512 * math/s_cbrtl.c: Likewise.
12513 * math/s_erfl.c: Likewise.
12514 * math/s_expm1l.c: Likewise.
12515 * math/s_log1pl.c: Likewise.
12516 * math/s_tanhl.c: Likewise.
12517 * misc/acct.c: Likewise.
12518 * misc/brk.c: Likewise.
12519 * misc/chflags.c: Likewise.
12520 * misc/chroot.c: Likewise.
12521 * misc/fchflags.c: Likewise.
12522 * misc/fgetxattr.c: Likewise.
12523 * misc/flistxattr.c: Likewise.
12524 * misc/fremovexattr.c: Likewise.
12525 * misc/fsetxattr.c: Likewise.
12526 * misc/fsync.c: Likewise.
12527 * misc/ftruncate.c: Likewise.
12528 * misc/futimes.c: Likewise.
12529 * misc/futimesat.c: Likewise.
12530 * misc/getdomain.c: Likewise.
12531 * misc/getdtsz.c: Likewise.
12532 * misc/gethostid.c: Likewise.
12533 * misc/gethostname.c: Likewise.
12534 * misc/getloadavg.c: Likewise.
12535 * misc/getpagesize.c: Likewise.
12536 * misc/getsysstats.c: Likewise.
12537 * misc/getxattr.c: Likewise.
12538 * misc/gtty.c: Likewise.
12539 * misc/ioctl.c: Likewise.
12540 * misc/lgetxattr.c: Likewise.
12541 * misc/listxattr.c: Likewise.
12542 * misc/llistxattr.c: Likewise.
12543 * misc/lremovexattr.c: Likewise.
12544 * misc/lsetxattr.c: Likewise.
12545 * misc/lutimes.c: Likewise.
12546 * misc/madvise.c: Likewise.
12547 * misc/mincore.c: Likewise.
12548 * misc/mlock.c: Likewise.
12549 * misc/mlockall.c: Likewise.
12550 * misc/mmap.c: Likewise.
12551 * misc/mprotect.c: Likewise.
12552 * misc/msync.c: Likewise.
12553 * misc/munlock.c: Likewise.
12554 * misc/munlockall.c: Likewise.
12555 * misc/munmap.c: Likewise.
12556 * misc/preadv.c: Likewise.
12557 * misc/preadv64.c: Likewise.
12558 * misc/ptrace.c: Likewise.
12559 * misc/pwritev.c: Likewise.
12560 * misc/pwritev64.c: Likewise.
12561 * misc/readv.c: Likewise.
12562 * misc/reboot.c: Likewise.
12563 * misc/remap_file_pages.c: Likewise.
12564 * misc/removexattr.c: Likewise.
12565 * misc/revoke.c: Likewise.
12566 * misc/select.c: Likewise.
12567 * misc/setdomain.c: Likewise.
12568 * misc/setegid.c: Likewise.
12569 * misc/seteuid.c: Likewise.
12570 * misc/sethostid.c: Likewise.
12571 * misc/sethostname.c: Likewise.
12572 * misc/setregid.c: Likewise.
12573 * misc/setreuid.c: Likewise.
12574 * misc/setxattr.c: Likewise.
12575 * misc/sstk.c: Likewise.
12576 * misc/stty.c: Likewise.
12577 * misc/swapoff.c: Likewise.
12578 * misc/swapon.c: Likewise.
12579 * misc/sync.c: Likewise.
12580 * misc/syncfs.c: Likewise.
12581 * misc/syscall.c: Likewise.
12582 * misc/truncate.c: Likewise.
12583 * misc/ualarm.c: Likewise.
12584 * misc/usleep.c: Likewise.
12585 * misc/ustat.c: Likewise.
12586 * misc/utimes.c: Likewise.
12587 * misc/vhangup.c: Likewise.
12588 * misc/writev.c: Likewise.
12589 * posix/_exit.c: Likewise.
12590 * posix/alarm.c: Likewise.
12591 * posix/execve.c: Likewise.
12592 * posix/fexecve.c: Likewise.
12593 * posix/fork.c: Likewise.
12594 * posix/fpathconf.c: Likewise.
12595 * posix/getaddrinfo.c: Likewise.
12596 * posix/getegid.c: Likewise.
12597 * posix/geteuid.c: Likewise.
12598 * posix/getgid.c: Likewise.
12599 * posix/getgroups.c: Likewise.
12600 * posix/getlogin.c: Likewise.
12601 * posix/getlogin_r.c: Likewise.
12602 * posix/getpgid.c: Likewise.
12603 * posix/getpid.c: Likewise.
12604 * posix/getppid.c: Likewise.
12605 * posix/getresgid.c: Likewise.
12606 * posix/getresuid.c: Likewise.
12607 * posix/getsid.c: Likewise.
12608 * posix/getuid.c: Likewise.
12609 * posix/glob64.c: Likewise.
12610 * posix/nanosleep.c: Likewise.
12611 * posix/pathconf.c: Likewise.
12612 * posix/pause.c: Likewise.
12613 * posix/posix_madvise.c: Likewise.
12614 * posix/pread.c: Likewise.
12615 * posix/pread64.c: Likewise.
12616 * posix/pwrite.c: Likewise.
12617 * posix/pwrite64.c: Likewise.
12618 * posix/sched_getaffinity.c: Likewise.
12619 * posix/sched_getp.c: Likewise.
12620 * posix/sched_gets.c: Likewise.
12621 * posix/sched_primax.c: Likewise.
12622 * posix/sched_primin.c: Likewise.
12623 * posix/sched_rr_gi.c: Likewise.
12624 * posix/sched_setaffinity.c: Likewise.
12625 * posix/sched_setp.c: Likewise.
12626 * posix/sched_sets.c: Likewise.
12627 * posix/sched_yield.c: Likewise.
12628 * posix/setgid.c: Likewise.
12629 * posix/setlogin.c: Likewise.
12630 * posix/setpgid.c: Likewise.
12631 * posix/setresgid.c: Likewise.
12632 * posix/setresuid.c: Likewise.
12633 * posix/setsid.c: Likewise.
12634 * posix/setuid.c: Likewise.
12635 * posix/sleep.c: Likewise.
12636 * posix/spawni.c: Likewise.
12637 * posix/sysconf.c: Likewise.
12638 * posix/times.c: Likewise.
12639 * posix/wait.c: Likewise.
12640 * posix/wait3.c: Likewise.
12641 * posix/wait4.c: Likewise.
12642 * posix/waitpid.c: Likewise.
12643 * resolv/gai_sigqueue.c: Likewise.
12644 * resource/getpriority.c: Likewise.
12645 * resource/getrlimit.c: Likewise.
12646 * resource/getrusage.c: Likewise.
12647 * resource/nice.c: Likewise.
12648 * resource/setpriority.c: Likewise.
12649 * resource/setrlimit.c: Likewise.
12650 * resource/ulimit.c: Likewise.
12651 * rt/aio_cancel.c: Likewise.
12652 * rt/aio_fsync.c: Likewise.
12653 * rt/aio_read.c: Likewise.
12654 * rt/aio_sigqueue.c: Likewise.
12655 * rt/aio_suspend.c: Likewise.
12656 * rt/aio_write.c: Likewise.
12657 * rt/clock_getres.c: Likewise.
12658 * rt/clock_gettime.c: Likewise.
12659 * rt/clock_nanosleep.c: Likewise.
12660 * rt/clock_settime.c: Likewise.
12661 * rt/lio_listio.c: Likewise.
12662 * rt/mq_close.c: Likewise.
12663 * rt/mq_getattr.c: Likewise.
12664 * rt/mq_notify.c: Likewise.
12665 * rt/mq_open.c: Likewise.
12666 * rt/mq_receive.c: Likewise.
12667 * rt/mq_send.c: Likewise.
12668 * rt/mq_setattr.c: Likewise.
12669 * rt/mq_timedreceive.c: Likewise.
12670 * rt/mq_timedsend.c: Likewise.
12671 * rt/mq_unlink.c: Likewise.
12672 * rt/shm_open.c: Likewise.
12673 * rt/shm_unlink.c: Likewise.
12674 * rt/timer_create.c: Likewise.
12675 * rt/timer_delete.c: Likewise.
12676 * rt/timer_getoverr.c: Likewise.
12677 * rt/timer_gettime.c: Likewise.
12678 * rt/timer_settime.c: Likewise.
12679 * setjmp/__longjmp.c: Likewise.
12680 * setjmp/setjmp.c: Likewise.
12681 * signal/kill.c: Likewise.
12682 * signal/killpg.c: Likewise.
12683 * signal/raise.c: Likewise.
12684 * signal/sigaction.c: Likewise.
12685 * signal/sigaltstack.c: Likewise.
12686 * signal/sigblock.c: Likewise.
12687 * signal/sigignore.c: Likewise.
12688 * signal/sigintr.c: Likewise.
12689 * signal/signal.c: Likewise.
12690 * signal/sigpause.c: Likewise.
12691 * signal/sigpending.c: Likewise.
12692 * signal/sigqueue.c: Likewise.
12693 * signal/sigreturn.c: Likewise.
12694 * signal/sigset.c: Likewise.
12695 * signal/sigsetmask.c: Likewise.
12696 * signal/sigstack.c: Likewise.
12697 * signal/sigsuspend.c: Likewise.
12698 * signal/sigtimedwait.c: Likewise.
12699 * signal/sigvec.c: Likewise.
12700 * signal/sigwait.c: Likewise.
12701 * signal/sigwaitinfo.c: Likewise.
12702 * signal/sysv_signal.c: Likewise.
12703 * socket/accept.c: Likewise.
12704 * socket/accept4.c: Likewise.
12705 * socket/bind.c: Likewise.
12706 * socket/connect.c: Likewise.
12707 * socket/getpeername.c: Likewise.
12708 * socket/getsockname.c: Likewise.
12709 * socket/getsockopt.c: Likewise.
12710 * socket/isfdtype.c: Likewise.
12711 * socket/listen.c: Likewise.
12712 * socket/recv.c: Likewise.
12713 * socket/recvfrom.c: Likewise.
12714 * socket/recvmsg.c: Likewise.
12715 * socket/send.c: Likewise.
12716 * socket/sendmsg.c: Likewise.
12717 * socket/sendto.c: Likewise.
12718 * socket/setsockopt.c: Likewise.
12719 * socket/shutdown.c: Likewise.
12720 * socket/sockatmark.c: Likewise.
12721 * socket/socket.c: Likewise.
12722 * socket/socketpair.c: Likewise.
12723 * stdio-common/ctermid.c: Likewise.
12724 * stdio-common/cuserid.c: Likewise.
12725 * stdio-common/remove.c: Likewise.
12726 * stdio-common/rename.c: Likewise.
12727 * stdio-common/renameat.c: Likewise.
12728 * stdio-common/tempname.c: Likewise.
12729 * stdlib/getcontext.c: Likewise.
12730 * stdlib/makecontext.c: Likewise.
12731 * stdlib/setcontext.c: Likewise.
12732 * stdlib/swapcontext.c: Likewise.
12733 * stdlib/system.c: Likewise.
12734 * streams/fattach.c: Likewise.
12735 * streams/fdetach.c: Likewise.
12736 * streams/getmsg.c: Likewise.
12737 * streams/getpmsg.c: Likewise.
12738 * streams/putmsg.c: Likewise.
12739 * streams/putpmsg.c: Likewise.
12740 * sysdeps/unix/bsd/getpt.c: Likewise.
12741 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12742 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12743 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12746 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12747 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12748 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12749 * sysvipc/msgctl.c: Likewise.
12750 * sysvipc/msgget.c: Likewise.
12751 * sysvipc/msgrcv.c: Likewise.
12752 * sysvipc/msgsnd.c: Likewise.
12753 * sysvipc/semctl.c: Likewise.
12754 * sysvipc/semget.c: Likewise.
12755 * sysvipc/semop.c: Likewise.
12756 * sysvipc/semtimedop.c: Likewise.
12757 * sysvipc/shmat.c: Likewise.
12758 * sysvipc/shmctl.c: Likewise.
12759 * sysvipc/shmdt.c: Likewise.
12760 * sysvipc/shmget.c: Likewise.
12761 * termios/tcdrain.c: Likewise.
12762 * termios/tcflow.c: Likewise.
12763 * termios/tcflush.c: Likewise.
12764 * termios/tcgetattr.c: Likewise.
12765 * termios/tcgetpgrp.c: Likewise.
12766 * termios/tcsendbrk.c: Likewise.
12767 * termios/tcsetattr.c: Likewise.
12768 * termios/tcsetpgrp.c: Likewise.
12769 * time/adjtime.c: Likewise.
12770 * time/clock.c: Likewise.
12771 * time/getitimer.c: Likewise.
12772 * time/gettimeofday.c: Likewise.
12773 * time/setitimer.c: Likewise.
12774 * time/settimeofday.c: Likewise.
12775 * time/stime.c: Likewise.
12776 * time/time.c: Likewise.
12778 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12780 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12783 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12785 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12787 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12791 FE_TONEAREST before applying Dekker multiplication and Knuth
12792 addition. Clear inexact exceptions and check for exact zero
12793 results afterwards.
12794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12795 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12796 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12797 * math/libm-test.inc (fma_test): Add more tests.
12798 (fma_test_towardzero): Likewise.
12799 (fma_test_downward): Likewise.
12800 (fma_test_upward): Likewise.
12801 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12803 (libc_fesetround): New macro.
12804 (libc_fesetroundf): Likewise.
12805 (libc_fesetroundl): Likewise.
12806 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12808 (libc_fesetround_387): Likewise.
12809 (libc_fesetroundf): New macro.
12810 (libc_fesetround): Likewise.
12811 (libc_fesetroundl): Likewise.
12812 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12814 (libc_fesetroundf): New macro.
12815 (libc_fesetround): Likewise.
12816 (libc_fesetroundl): Likewise.
12817 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12818 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12819 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12821 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12822 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12824 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12825 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12827 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12831 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12832 integer constant usable in #if and use that to give value to enum
12834 (FE_DIVBYZERO): Likewise.
12835 (FE_UNDERFLOW): Likewise.
12836 (FE_OVERFLOW): Likewise.
12837 (FE_INVALID): Likewise.
12838 (FE_INVALID_SNAN): Likewise.
12839 (FE_INVALID_ISI): Likewise.
12840 (FE_INVALID_IDI): Likewise.
12841 (FE_INVALID_ZDZ): Likewise.
12842 (FE_INVALID_IMZ): Likewise.
12843 (FE_INVALID_COMPARE): Likewise.
12844 (FE_INVALID_SOFTWARE): Likewise.
12845 (FE_INVALID_SQRT): Likewise.
12846 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12847 (FE_TONEAREST): Likewise.
12848 (FE_TOWARDZERO): Likewise.
12849 (FE_UPWARD): Likewise.
12850 (FE_DOWNWARD): Likewise.
12851 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12852 (FE_DIVBYZERO): Likewise.
12853 (FE_OVERFLOW): Likewise.
12854 (FE_UNDERFLOW): Likewise.
12855 (FE_INEXACT): Likewise.
12856 (FE_TONEAREST): Likewise.
12857 (FE_DOWNWARD): Likewise.
12858 (FE_UPWARD): Likewise.
12859 (FE_TOWARDZERO): Likewise.
12860 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12861 (FE_UNDERFLOW): Likewise.
12862 (FE_OVERFLOW): Likewise.
12863 (FE_DIVBYZERO): Likewise.
12864 (FE_INVALID): Likewise.
12865 (FE_TONEAREST): Likewise.
12866 (FE_TOWARDZERO): Likewise.
12867 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12868 (FE_OVERFLOW): Likewise.
12869 (FE_UNDERFLOW): Likewise.
12870 (FE_DIVBYZERO): Likewise.
12871 (FE_INEXACT): Likewise.
12872 (FE_TONEAREST): Likewise.
12873 (FE_TOWARDZERO): Likewise.
12874 (FE_UPWARD): Likewise.
12875 (FE_DOWNWARD): Likewise.
12876 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12877 (FE_DIVBYZERO): Likewise.
12878 (FE_OVERFLOW): Likewise.
12879 (FE_UNDERFLOW): Likewise.
12880 (FE_INEXACT): Likewise.
12881 (FE_TONEAREST): Likewise.
12882 (FE_DOWNWARD): Likewise.
12883 (FE_UPWARD): Likewise.
12884 (FE_TOWARDZERO): Likewise.
12886 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12888 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12890 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12892 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12893 commands. Quote $PWD.
12894 (blacklist_exports): Don't use remove_newlines. Replace "declare
12896 (remove_newlines): Remove.
12898 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12900 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12901 * stdlib/stdlib.h (atof): Moved to ...
12902 * include/bits/stdlib-float.h: Here. New file.
12903 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12904 * stdlib/bits/stdlib-float.h: New file.
12905 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12907 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12910 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12912 * conform/conformtest.pl (@headers): Add fenv.h.
12913 * conform/data/fenv.h-data: New file.
12914 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12915 include of <math/fenv.h>.
12917 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12918 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12919 && !UNIX98]. Enables tests for XOPEN2K8.
12920 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12921 POSIX2008]: Likewise.
12923 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12924 (struct rusage): Do not expect type or its members.
12927 * math/math.h (FP_NAN): Define macro to integer constant usable in
12928 #if and use that to give value to enum constant.
12929 (FP_INFINITE): Likewise.
12930 (FP_ZERO): Likewise.
12931 (FP_SUBNORMAL): Likewise.
12932 (FP_NORMAL): Likewise.
12934 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12936 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12937 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12940 2012-11-02 Roland McGrath <roland@hack.frob.com>
12942 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12943 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12944 autoconf-time if not.
12945 * configure.in: Remove AC_PREREQ.
12947 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12949 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12950 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12951 of the internal implementation.
12953 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12955 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12956 except include of <misc/sys/syslog.h>.
12958 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12961 function returns with a NULL context exit with zero.
12963 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12965 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12967 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12969 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12970 (run_program_cmd): This.
12971 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12972 (tst_langinfo): New variable. Use it.
12974 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12976 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12977 floating point opcodes.
12979 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12981 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12984 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12986 * sysdeps/mach/hurd/powerpc: Remove directory.
12987 * sysdeps/mach/powerpc: Likewise.
12989 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12991 * scripts/check-local-headers.sh: Ignore c++ headers.
12993 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12995 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12996 __libc_cleanup_region_start argument.
12998 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13003 x * y using scaling, not as x * y + z.
13004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13005 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13006 * math/libm-test.inc (fma_test): Add more tests.
13007 (fma_test_towardzero): Likewise.
13008 (fma_test_downward): Likewise.
13009 (fma_test_upward): Likewise.
13011 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13013 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13015 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13017 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13020 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13022 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13024 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13031 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13034 Fix the order of the list for glibc 2.17.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13038 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13042 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13045 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13046 for low part of x being zero before using __atanl (y).
13047 * math/libm-test.inc (atan2_test): Add another test.
13049 * manual/install.texi (Configuring and compiling): Document
13050 general use of test-wrapper and test-wrapper-env.
13051 * INSTALL: Regenerated.
13053 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13054 (__fma): Do not extract and scale down low bits on after-rounding
13055 systems when result rounded to normal precision would have normal
13057 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13058 (__fmal): Do not extract and scale down low bits on after-rounding
13059 systems when result rounded to normal precision would have normal
13061 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13062 (__fmal): Do not extract and scale down low bits on after-rounding
13063 systems when result rounded to normal precision would have normal
13065 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13067 (fma_test): Add more tests.
13068 (fma_test_towardzero): Likewise.
13069 (fma_test_downward): Likewise.
13070 (fma_test_upward): Likewise.
13072 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13074 * sysdeps/i386/tininess.h: Renamed to ...
13075 * sysdeps/x86/tininess.h: This.
13076 * sysdeps/x86_64/tininess.h: Removed.
13078 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13080 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13081 input. Use $(build-program-cmd).
13082 ($(objpfx)tst-array1-static.out): Likewise.
13083 ($(objpfx)tst-array2.out): Likewise.
13084 ($(objpfx)tst-array3.out): Likewise.
13085 ($(objpfx)tst-array4.out): Likewise.
13086 ($(objpfx)tst-array5.out): Likewise.
13087 ($(objpfx)tst-array5-static.out): Likewise.
13089 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13091 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13094 * nss/nsswitch.h (nss_interface_function): Provide new
13095 macro for use with NSS functions.
13096 * grp/initgroups.c: Use new macro.
13097 * nss/getXXbyYY.c: Likewise.
13098 * nss/getXXbyYY_r.c: Likewise.
13099 * nss/getXXent.c: Likewise.
13100 * nss/getXXent_r.c: Likewise.
13101 * sysdeps/posix/getaddrinfo.c: Likewise.
13103 2012-10-30 Andreas Jaeger <aj@suse.de>
13105 * po/ru.po: Update Russion translation from translation project.
13107 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13112 result and shift together with sticky bit instead of replicating
13113 round-to-nearest rounding.
13114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13115 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13116 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13117 missing underflow exceptions.
13118 (fma_test_towardzero): Add more tests.
13119 (fma_test_downward): Likewise.
13120 (fma_test_upward): Likewise.
13123 * sysdeps/generic/tininess.h: New file.
13124 * sysdeps/i386/tininess.h: Likewise.
13125 * sysdeps/sh/tininess.h: Likewise.
13126 * sysdeps/x86_64/tininess.h: Likewise.
13127 * stdlib/tst-strtod-underflow.c: Likewise.
13128 * stdlib/tst-tininess.c: Likewise.
13129 * stdlib/strtod_l.c: Include <tininess.h>.
13130 (round_and_return): Do not set errno for exact underflow cases.
13131 Force an underflow exception when setting errno for underflow.
13132 Determine underflow based on rounding to normal precision if
13133 TININESS_AFTER_ROUNDING.
13134 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13135 ERANGE for exact underflow cases.
13136 * stdlib/Makefile (tests): Add tst-tininess and
13137 tst-strtod-underflow.
13138 ($(objpfx)tst-tininess): Use $(link-libm).
13139 ($(objpfx)tst-strtod-underflow): Likewise.
13141 2012-10-30 Andreas Jaeger <aj@suse.de>
13144 * elf/Makefile (tests): Remove conditional for have-initfini-array
13145 since this is now always required and the variable does not exist
13147 (tests-static): Likewise.
13148 (modules-names): Likewise.
13150 * po/eo.po: Add Esperanto translation from translation project.
13152 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13153 merged with constructor/destructor.
13154 (init_array): Likewise.
13155 * elf/tst-array2dep.c (fini_array): Likewise.
13156 (init_array): Likewise.
13158 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13160 * manual/message.texi: Delete @cartouche tags.
13162 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13164 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13166 * sysdeps/mach/hurd/fsync.c: Likewise.
13168 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13169 [_POSIX_REALTIME_SIGNALS]: Change condition to
13170 [_POSIX_REALTIME_SIGNALS > 0].
13172 2012-10-27 Andreas Jaeger <aj@suse.de>
13174 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13175 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13177 [__WORDSIZE != 64]: Likewise.
13179 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13181 * iconvdata/tst-table.sh: Remove ${SHELL}.
13182 * iconvdata/tst-tables.sh: Likewise.
13184 2012-10-25 David S. Miller <davem@davemloft.net>
13186 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13187 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13192 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13193 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13194 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13197 2012-10-25 Roland McGrath <roland@hack.frob.com>
13199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13200 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13203 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13204 Jim Blandy <jimb@codesourcery.com>
13206 * scripts/cross-test-ssh.sh: New file.
13207 * manual/install.texi (Configuring and compiling): Document use of
13209 * INSTALL: Regenerated.
13211 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13213 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13216 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13218 * Makeconfig (run-program-prefix): Fix comment.
13220 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13221 Jim Blandy <jimb@codesourcery.com>
13223 * Makeconfig (test-wrapper): New variable,
13224 (test-wrapper-env): Likewise.
13225 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13226 (run-built-tests): Define to yes.
13227 (run-program-prefix): Use $(test-wrapper).
13228 (built-program-cmd): Likewise.
13229 * Rules (make-test-out): Use $(test-wrapper-env) and
13230 $(host-built-program-cmd).
13231 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13232 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13234 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13235 $(test-wrapper-env) to tst-rtld-load-self.sh.
13236 ($(objpfx)order2.out): Use $(test-wrapper).
13237 ($(objpfx)tst-initorder.out): Likewise.
13238 ($(objpfx)tst-initorder2.out): Likewise.
13239 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13240 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13241 (test_wrapper_env): New variable. Use it to run ld.so.
13242 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13243 Use it to run ld.so.
13244 (test_wrapper_env): Likewise.
13245 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13246 $(test-wrapper) to run-iconv-test.sh.
13247 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13248 (ICONV): Use $test_wrapper.
13249 * posix/Makefile ($(objpfx)globtest.out): Pass
13250 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13251 globtest.sh, not $(run-program-prefix).
13252 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13253 (test_wrapper): Likewise.
13254 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13255 set together with run_via_rtld_prefix.
13256 (run_program_prefix): Define in terms of test_wrapper and
13257 run_via_rtld_prefix.
13259 2012-10-24 Roland McGrath <roland@hack.frob.com>
13261 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13262 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13266 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13267 Declare __clock_getres, __clock_gettime, __clock_settime,
13268 __clock_nanosleep, and __clock_getcpuclockid.
13269 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13270 Remove librt_hidden_def (clock_gettime).
13271 * sysdeps/unix/clock_gettime.c: Likewise.
13272 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13274 * rt/clock_getres.c: Define __clock_getres as an alias.
13275 * sysdeps/posix/clock_getres.c: Likewise.
13276 * rt/clock_settime.c: Define __clock_settime as an alias.
13277 * sysdeps/unix/clock_settime.c: Likewise.
13278 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13279 * sysdeps/unix/clock_nanosleep.c: Likewise.
13280 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13281 * rt/clock-compat.c: New file.
13282 * rt/Makefile (librt-routines): Add clock-compat and move
13283 $(clock-routines) to ...
13284 (routines): ... here, new variable.
13285 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13286 Don't add get_clockfreq here.
13287 * rt/Versions (libc: GLIBC_2.17): New version set.
13288 Add clock_* symbols here.
13289 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13291 (GLIBC_2.17): Add clock_* symbols.
13292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13303 * NEWS: Mention the move.
13305 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13306 Use __open, __read, __close rather than their public counterparts.
13307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13308 (__get_clockfreq_via_cpuinfo): Likewise.
13309 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13310 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13312 * config.h.in (HAVE_IFUNC): New #undef.
13313 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13315 * configure: Regenerated.
13317 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13319 * configure.in: Move READELF check to start of file.
13320 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13321 libc_cv_asm_gnu_indirect_function in the process.
13322 * configure: Regenerated.
13324 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13326 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13327 send the output to /dev/null.
13328 (libc_cv_cc_with_libunwind): Likewise.
13329 (libc_cv_as_noexecstack): Likewise.
13330 * configure: Regenerate.
13332 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13334 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13336 * posix/globtest.sh (TMPDIR): Do not set.
13337 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13338 (testout): Likewise.
13340 2012-10-24 Andreas Jaeger <aj@suse.de>
13342 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13343 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13344 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13345 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13346 posix_fadvise64, posix_fallocate64.
13348 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13349 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13350 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13352 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13354 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13357 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13358 <bits/fcntl-linux.h>.
13359 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13362 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13363 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13364 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13365 [__WORDSIZE != 64]: Likewise.
13367 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13369 * Makeconfig (run-built-tests): New variable.
13370 * Rules [$(cross-compiling) = yes]: Change condition to
13371 [$(run-built-tests) = no].
13372 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13373 to [$(run-built-tests) = yes].
13374 * elf/Makefile [$(cross-compiling) = no]: Likewise
13375 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13376 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13377 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13378 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13379 * io/Makefile [$(cross-compiling) = no]: Likewise.
13380 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13381 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13382 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13383 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13384 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13385 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13386 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13387 * string/Makefile [$(cross-compiling) = no]: Likewise.
13389 * posix/Makefile ($(objpfx)globtest.out): Pass
13390 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13391 $(rtld-installed-name).
13392 * posix/globtest.sh (elf_objpfx): Remove variable.
13393 (rtld_installed_name): Likewise.
13394 (library_path): Likewise.
13395 (run_program_prefix): New variable. Use for running globtest
13398 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13399 Joseph Myers <joseph@codesourcery.com>
13401 * Makeconfig (host-built-program-cmd): New variable.
13402 * elf/Makefile (tst-stackguard1-ARGS): Use
13403 $(host-built-program-cmd).
13404 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13405 (tst-spawn-ARGS): Likewise.
13406 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13408 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13409 Jim Blandy <jimb@codesourcery.com>
13411 * Makeconfig (run-via-rtld-prefix): New variable.
13412 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13413 (built-program-cmd): Likewise.
13415 2012-10-22 Andreas Jaeger <aj@suse.de>
13417 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13418 __O_RSYNC if it exists, otherwise to O_SYNC.
13420 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13421 Joseph Myers <joseph@codesourcery.com>
13423 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13425 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13427 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13430 2012-10-22 Andreas Jaeger <aj@suse.de>
13432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13437 bits/fcntl-linux.h.
13439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13440 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13447 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13448 Joseph Myers <joseph@codesourcery.com>
13450 * config.make.in (NM): New variable.
13452 2012-10-21 Andreas Jaeger <aj@suse.de>
13454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13455 definitions and declarations that are provided by
13456 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13458 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13461 * elf/Makefile (tests-static): Add tst-leaks1-static.
13462 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13463 ($(objpfx)tst-leaks1-static): New rule.
13464 ($(objpfx)tst-leaks1-static-mem): Likewise.
13465 (tst-leaks1-static-ENV): New macro.
13466 * elf/dl-open.c (dl_open_worker): Check the main application
13467 only if SHARED is defined.
13468 * elf/tst-leaks1-static.c: New file.
13470 2012-10-20 Andreas Jaeger <aj@suse.de>
13472 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13473 generic values for Linux.
13474 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13475 and declarations that are provided by <bits/fcntl-linux.h> and
13476 include <bits/fcntl-linux.h>.
13477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13480 2012-10-20 Roland McGrath <roland@hack.frob.com>
13482 * io/fcntl.h: Move include of <bits/types.h> to the top and
13483 include it unconditionally.
13485 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13487 * wcsmbs/Makefile (tests-ifunc): New variable.
13488 (tests): Add $(tests-ifunc).
13489 * wcsmbs/test-wcschr-ifunc.c: New file.
13490 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13491 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13492 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13493 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13494 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13496 * string/Makefile (tests-ifunc): New variable.
13497 (tests): Add $(tests-ifunc).
13498 * string/test-memccpy.c (TEST_NAME): New macro.
13499 * string/test-memchr.c (TEST_NAME): Likewise.
13500 * string/test-memcmp.c (TEST_NAME): Likewise.
13501 * string/test-memcpy.c (TEST_NAME): Likewise.
13502 * string/test-memmem.c (TEST_NAME): Likewise.
13503 * string/test-memmove.c (TEST_NAME): Likewise.
13504 * string/test-memset.c (TEST_NAME): Likewise.
13505 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13506 * string/test-stpcpy.c (TEST_NAME): Likewise.
13507 * string/test-stpncpy.c (TEST_NAME): Likewise.
13508 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13509 * string/test-strcasestr.c (TEST_NAME): Likewise.
13510 * string/test-strcat.c (TEST_NAME): Likewise.
13511 * string/test-strchr.c (TEST_NAME): Likewise.
13512 * string/test-strcmp.c(TEST_NAME): Likewise.
13513 * string/test-strcpy.c (TEST_NAME): Likewise.
13514 * string/test-strcspn.c (TEST_NAME): Likewise.
13515 * string/test-strlen.c (TEST_NAME): Likewise.
13516 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13517 * string/test-strncmp.c (TEST_NAME): Likewise.
13518 * string/test-strncpy.c (TEST_NAME): Likewise.
13519 * string/test-strnlen.c (TEST_NAME): Likewise.
13520 * string/test-strpbrk.c (TEST_NAME): Likewise.
13521 * string/test-strrchr.c (TEST_NAME): Likewise.
13522 * string/test-strspn.c (TEST_NAME): Likewise.
13523 * string/test-strstr.c (TEST_NAME): Likewise.
13524 * string/test-bcopy-ifunc.c: New file.
13525 * string/test-bzero-ifunc.c: Likewise.
13526 * string/test-memccpy-ifunc.c: Likewise.
13527 * string/test-memchr-ifunc.c: Likewise.
13528 * string/test-memcmp-ifunc.c: Likewise.
13529 * string/test-memcpy-ifunc.c: Likewise.
13530 * string/test-memmem-ifunc.c: Likewise.
13531 * string/test-memmove-ifunc.c: Likewise.
13532 * string/test-mempcpy-ifunc.c: Likewise.
13533 * string/test-memset-ifunc.c: Likewise.
13534 * string/test-rawmemchr-ifunc.c: Likewise.
13535 * string/test-stpcpy-ifunc.c: Likewise.
13536 * string/test-stpncpy-ifunc.c: Likewise.
13537 * string/test-strcasecmp-ifunc.c: Likewise.
13538 * string/test-strcasestr-ifunc.c: Likewise.
13539 * string/test-strcat-ifunc.c: Likewise.
13540 * string/test-strchr-ifunc.c: Likewise.
13541 * string/test-strchrnul-ifunc.c: Likewise.
13542 * string/test-strcmp-ifunc.c: Likewise.
13543 * string/test-strcpy-ifunc.c: Likewise.
13544 * string/test-strcspn-ifunc.c: Likewise.
13545 * string/test-strlen-ifunc.c: Likewise.
13546 * string/test-strncasecmp-ifunc.c: Likewise.
13547 * string/test-strncat-ifunc.c: Likewise.
13548 * string/test-strncmp-ifunc.c: Likewise.
13549 * string/test-strncpy-ifunc.c: Likewise.
13550 * string/test-strnlen-ifunc.c: Likewise.
13551 * string/test-strpbrk-ifunc.c: Likewise.
13552 * string/test-strrchr-ifunc.c: Likewise.
13553 * string/test-strspn-ifunc.c: Likewise.
13554 * string/test-strstr-ifunc.c: Likewise.
13556 * debug/Makefile (tests-ifunc): New variable.
13557 (tests): Add $(tests-ifunc).
13558 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13559 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13560 * debug/test-stpcpy_chk-ifunc.c: New file.
13561 * debug/test-strcpy_chk-ifunc.c: Likewise.
13563 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13566 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13567 header is not read in.
13569 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13571 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13572 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13573 directly. Pass built executable to script as
13574 $(built-program-cmd).
13575 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13576 $testprogram without using LD_LIBRARY_PATH and $ldso.
13578 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13579 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13580 $(rtld-installed-name).
13581 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13582 (rtld_installed_name): Likewise.
13583 (library_path): Likewise.
13584 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13585 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13586 $(run-program-prefix) to tst-tables.sh.
13587 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13588 it to run tst-table-from and tst-table-to.
13589 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13590 Pass it to tst-table.sh.
13591 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13592 $(run-program-prefix) to tst-gettext.sh.
13593 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13595 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13597 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13598 to run tst-gettext.
13599 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13600 to run tst-gettext2.
13601 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13602 to run tst-translit.
13603 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13604 $(run-program-prefix) to tst-mtrace.sh.
13605 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13607 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13608 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13609 $(rtld-installed-name).
13610 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13611 (rtld_installed_name): Likewise.
13612 (run_program_prefix): New variable. Use it to run wordexp-test.
13614 * Makeconfig (ARCH): Remove all definitions.
13615 (machine): Likewise.
13616 [ARCH]: Remove conditional code.
13617 [!objdir]: Give error.
13618 [!objdir] (objpfx): Remove.
13619 [!objdir] (common-objpfx): Likewise.
13620 [!objdir] (common-objdir): Likewise.
13621 * configure.in (config_makefile): Remove. Hardcode Makefile in
13622 AC_CONFIG_FILES call.
13623 * configure: Regenerated.
13626 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13628 (testout): Likewise.
13630 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13631 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13632 $(rtld-installed-name).
13633 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13634 (rtld_installed_name): Likwise.
13635 (runit): Remove function.
13636 (run_getconf): New variable, Use it for running getconf binary.
13638 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13641 * string/test-memmem.c (check_result): New function.
13642 (do_one_test): Use it.
13643 (check1): New function.
13644 (test_main): Use it.
13646 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13648 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13650 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13652 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13653 (_G_LSEEK64): Likewise.
13654 (_G_MMAP64): Likewise.
13655 (_G_FSTAT64): Likewise.
13656 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13657 (_G_LSEEK64): Likewise.
13658 (_G_MMAP64): Likewise.
13659 (_G_FSTAT64): Likewise.
13660 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13661 unconditional. Call __mmap64 directly.
13662 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13663 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13664 __lseek64 directly.
13665 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13666 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13668 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13669 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13670 __lseek64 directly.
13671 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13672 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13673 __lseek64 directly.
13674 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13675 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13676 __lseek64 directly.
13677 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13678 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13679 __fxstat64 directly.
13680 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13681 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13683 (freopen64) [!_G_OPEN64]: Remove conditional code.
13684 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13686 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13687 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13689 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13690 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13692 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13693 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13695 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13696 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13698 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13699 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13701 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13702 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13704 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13706 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13709 * manual/memory.texi (Malloc Tunable Parameters): Add note
13710 about free list pointers overwriting some perturb bytes.
13711 Wording suggested by Roland McGrath.
13713 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13715 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13716 (lgamma_test): Likewise.
13717 (tgamma_test): Likewise.
13719 2012-10-16 Florian Weimer <fweimer@redhat.com>
13722 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13723 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13725 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13727 * NEWS: Mention BZ #14716.
13728 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13729 when removing AVAILABLE1_USES_J macro.
13731 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13733 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13734 (__bswap_64): __uint64_t for unsigned 64-bit int.
13736 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13738 * include/string.h (memmem): Declare libc hidden alias.
13739 * string/memmem.c (memmem): Define libc hidden alias.
13740 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13741 __read, __close instead of open, read, close.
13743 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13746 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13748 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13749 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13750 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13752 (__rawmemchr_sse2): Likewise.
13753 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13754 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13755 (__strchr_sse2): Likewise.
13756 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13757 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13758 (__strcasecmp_sse2): Likewise.
13759 (__strncasecmp_sse2): Likewise.
13760 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13761 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13762 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13763 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13764 (__strrchr_sse2): Likewise.
13765 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13767 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13768 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13769 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13770 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13771 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13772 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13773 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13774 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13775 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13776 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13777 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13778 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13779 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13780 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13781 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13782 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13783 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13784 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13785 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13786 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13787 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13788 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13789 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13790 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13791 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13792 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13793 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13794 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13795 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13796 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13798 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13800 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13801 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13802 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13803 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13805 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13807 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13808 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13809 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13810 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13812 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13813 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13814 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13815 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13816 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13817 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13818 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13819 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13820 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13821 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13822 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13823 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13824 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13825 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13826 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13827 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13828 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13829 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13830 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13831 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13832 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13833 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13834 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13835 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13836 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13837 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13838 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13839 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13840 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13841 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13842 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13843 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13844 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13845 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13846 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13847 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13848 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13849 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13850 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13851 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13852 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13854 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13855 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13856 * include/ifunc-impl-list.h: New file.
13857 * misc/ifunc-impl-list.c: Likewise.
13858 * misc/Makefile (routines): Add ifunc-impl-list.
13859 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13860 * string/test-string.h: Include <ifunc-impl-list.h>.
13861 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13862 impl_array): New variables.
13863 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13865 (test_init): Call __libc_ifunc_impl_list to initialize
13866 func_list if TEST_IFUNC and TEST_NAME are defined.
13868 * string/Makefile (strop-tests): Add bcopy and bzero.
13869 * string/test-bcopy.c: New file.
13870 * string/test-bzero.c: Likewise.
13871 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13873 * string/test-memset.c: Support bzero test if TEST_BZERO is
13875 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13877 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13879 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13882 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13884 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13885 * configure: Regenerated.
13887 * Makeconfig (+link-static-before-libc): Don't include
13888 $(link-static-libc).
13890 * libio/libio.h (_IO_pos_t): Remove.
13892 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13894 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13897 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13899 * crypt/crypt-entry.c: Include fips-private.h.
13900 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13901 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13902 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13903 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13905 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13907 * crypt/crypt-private.h: Include stdbool.h.
13908 (_ufc_setup_salt_r): Return bool.
13909 * crypt/crypt-entry.c: Include errno.h.
13910 (__crypt_r): Return NULL with EINVAL for bad salt.
13911 * crypt/crypt_util.c (bad_for_salt): New.
13912 (_ufc_setup_salt_r): Check that salt is long enough and within
13913 the specified alphabet.
13914 * crypt/badsalttest.c: New file.
13915 * crypt/Makefile (tests): Add it.
13916 ($(objpfx)badsalttest): New.
13918 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13920 * NEWS: Add entry for BZ #14602.
13922 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13924 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13926 * math/libm-test.inc: Update comment listing what functions and
13928 (isgreater_test): New function.
13929 (isgreaterequal_test): Likewise.
13930 (isless_test): Likewise.
13931 (islessequal_test): Likewise.
13932 (islessgreater_test): Likewise.
13933 (isunordered_test): Likewise.
13934 (main): Call the new functions.
13936 2012-10-09 Roland McGrath <roland@hack.frob.com>
13938 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13939 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13940 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13941 * sysdeps/i386/configure: Regenerated.
13942 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13943 * sysdeps/mach/configure: Regenerated.
13944 * sysdeps/mach/hurd/configure: Regenerated.
13945 * sysdeps/powerpc/configure: Regenerated.
13946 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13947 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13948 * sysdeps/s390/s390-32/configure: Regenerated.
13949 * sysdeps/s390/s390-64/configure: Regenerated.
13950 * sysdeps/sh/configure: Regenerated.
13951 * sysdeps/sparc/configure: Regenerated.
13952 * sysdeps/unix/sysv/linux/configure: Regenerated.
13953 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13954 * sysdeps/x86_64/configure: Regenerated.
13956 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13957 defined. Don't check if MAP is NULL.
13959 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13961 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13962 (_G_stat64): Likewise.
13963 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13964 (_G_stat64): Likewise.
13965 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13966 instead of struct _G_stat64.
13967 * libio/fileops.c (mmap_remap_check): Likewise.
13968 (decide_maybe_mmap): Likewise.
13969 (_IO_new_file_seekoff): Likewise.
13970 (_IO_file_stat): Likewise.
13971 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13973 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13974 instead of struct _G_stat64.
13975 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13977 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13980 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13982 (CHECK_EOL): New macro.
13983 (two_way_short_needle): Check beginning of haystack for EOL. Use
13985 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13986 Replace with CHECK_EOL.
13987 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13988 Replace with CHECK_EOL.
13990 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13992 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13994 * math/libm-test.inc: Update comment listing what functions and
13996 (finite_test): New function.
13997 (isinf_test): Likewise.
13998 (isnan_test): Likewise.
13999 (fpclassify_test): Test subnormal input.
14000 (isfinite_test): Likewise.
14001 (isnormal_test): Likewise.
14002 (main): Call the new functions.
14004 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14007 * Makerules (%.dynsym): Force C locale when running
14008 $(OBJDUMP) --dynamic-syms.
14010 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14012 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14015 2012-10-06 David S. Miller <davem@davemloft.net>
14017 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14018 upper 32-bits of the length value in %o2 since we use branch-on-register
14019 tests which consider the entire 64-bit register.
14021 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14023 * string/test-strstr.c (check2): Add a test for page boundary.
14025 2012-10-05 David S. Miller <davem@davemloft.net>
14027 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14028 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14030 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14032 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14033 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14034 and bzero when HWCAP_SPARC_CRYPTO is present.
14036 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14039 * string/test-strstr.c (check2): New function.
14040 (test_main): Call check2.
14042 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14044 * string/bug-strcasestr1.c (do_test): Moved to ...
14045 * string/test-strcasestr.c (check1): Here. New function.
14046 (do_one_test): Break out result checking code into ...
14047 (check_result): This. New function.
14048 (do_one_test): Call check_result.
14049 (test_main): Call check1.
14050 * string/bug-strchr1.c (do_test): Moved to ...
14051 * string/test-strchr.c (check1): Here. New function.
14052 (do_one_test): Break out result checking code into ...
14053 (check_result): This. New function.
14054 (do_one_test): Call check_result.
14055 (test_main): Call check1.
14056 * string/bug-strstr1.c (main): Moved to ...
14057 * string/test-strstr.c (check1): Here. New function.
14058 (do_one_test): Break out result checking code into ...
14059 (check_result): This. New function.
14060 (do_one_test): Call check_result.
14061 (test_main): Call check1.
14062 * string/bug-strcasestr1.c: Removed.
14063 * string/bug-strchr1.c: Likewise.
14064 * string/bug-strstr1.c: Likewise.
14066 * elf/Makefile (dl-routines): Add hwcaps.
14067 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14068 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14069 (_dl_important_hwcaps): Moved to ...
14070 * elf/dl-hwcaps.c: Here. New file.
14071 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14074 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14075 if IS_IN_rtld isn't defined.
14077 * elf/dl-support.c (_dl_sysinfo_map): New.
14078 Include "get-dynamic-info.h" and "setup-vdso.h".
14079 (_dl_non_dynamic_init): Call setup_vdso.
14080 * elf/dynamic-link.h: Don't include <assert.h>.
14081 (elf_get_dynamic_info): Moved to ...
14082 * elf/get-dynamic-info.h: Here. New file.
14083 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14084 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14085 * elf/setup-vdso.h: Here. New file.
14086 * elf/rtld.c: Include "setup-vdso.h".
14087 (dl_main): Call setup_vdso.
14089 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14091 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14092 creal in comment listing functions tested. List finite, isinf,
14093 isnan, isless, islessequal, isgreater, isgreaterequal,
14094 islessgreater, isunordered, lgamma_r and pow10 as functions and
14095 macros not tested. Mention which functions not tested are aliases
14096 for other functions. Fix typo. Note that signs of NaNs are not
14099 * scripts/config.guess: Update from config.git.
14100 * scripts/config.sub: Likewise.
14102 2012-10-04 Roland McGrath <roland@hack.frob.com>
14104 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14105 * misc/madvise.c (madvise): Renamed to __madvise.
14106 Make madvise a weak alias.
14107 * include/sys/mman.h: Declare __madvise.
14108 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14109 * sysdeps/unix/syscalls.list
14110 (madvise): Make __madvise the strong name, and madvise a weak alias.
14111 * sysdeps/unix/sysv/linux/syscalls.list
14112 (madvise, mmap): Remove redundant entries.
14113 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14114 * malloc/malloc.c (mtrim): Likewise.
14115 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14117 2012-10-03 Roland McGrath <roland@hack.frob.com>
14119 * sysdeps/mach/hurd/dl-cache.c: File removed.
14120 * config.h.in (USE_LDCONFIG): New #undef.
14121 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14122 * configure: Regenerated.
14123 * elf/Makefile (dl-routines): Add dl-cache only under
14124 [$(use-ldconfig) = yes].
14125 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14126 cache on [USE_LDCONFIG].
14127 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14129 * elf/rtld.c (dl_main): Likewise.
14131 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14133 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14134 _SC_LEVEL4_CACHE_LINESIZE.
14136 2012-10-03 Roland McGrath <roland@hack.frob.com>
14138 * sysdeps/unix/bsd/confstr.h: File removed.
14140 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14142 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14145 2012-10-02 Roland McGrath <roland@hack.frob.com>
14147 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14148 Make 'mapoff' field ElfW(Off) rather than off_t.
14150 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14152 * nscd/Makefile: Remove nscd-cflags and all its users.
14153 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14154 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14157 * malloc.c (malloc_printerr): Clarify error message.
14159 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14163 Set bit_FMA_Usable if FMA is supported.
14164 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14166 (bit_FMA4_Usable): Updated.
14167 (index_FMA_Usable): New macro.
14168 (CPUID_FMA): Likewise
14169 (HAS_FMA): Defined with bit_FMA_Usable.
14171 2012-10-01 Roland McGrath <roland@hack.frob.com>
14173 * bits/types.h (__swblk_t): Type removed.
14174 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14175 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14176 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14177 (__SWBLK_T_TYPE): Likewise.
14178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14179 (__SWBLK_T_TYPE): Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14181 (__SWBLK_T_TYPE): Likewise.
14182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14183 (__SWBLK_T_TYPE): Likewise.
14185 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14186 Honza Horak <hhorak@redhat.com>
14188 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14189 (xdr_mapname): Use YPMAXMAP as maxsize.
14190 (xdr_peername): Use YPMAXPEER as maxsize.
14191 (xdr_keydat): Use YPAXRECORD as maxsize.
14192 (xdr_valdat): Use YPMAXRECORD as maxsize.
14194 2012-10-01 Roland McGrath <roland@hack.frob.com>
14196 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14198 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14199 * csu/init-first.c: ... here.
14200 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14201 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14202 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14203 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14204 * sysdeps/i386/init-first.c: File removed.
14205 * sysdeps/sh/init-first.c: File removed.
14207 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14211 if x * y might underflow to zero and z is zero.
14212 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14213 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14214 * math/libm-test.inc (min_subnorm_value): New variable.
14215 (fma_test): Add more tests.
14216 (fma_test_towardzero): Likewise.
14217 (fma_test_downward): Likewise
14218 (fma_test_upward): Likewise.
14219 (initialize): Set min_subnorm_value.
14221 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14226 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14227 mode for addition resulting in exact zero.
14228 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14233 * math/libm-test.inc (fma_test): Add more tests.
14234 (fma_test_towardzero): New function.
14235 (fma_test_downward): Likewise.
14236 (fma_test_upward): Likewise.
14237 (main): Call the new functions.
14239 2012-09-28 David S. Miller <davem@davemloft.net>
14241 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14243 2012-09-28 Roland McGrath <roland@hack.frob.com>
14245 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14246 instead of SIGALRM.
14248 * sysdeps/gnu/_G_config.h: Moved to ...
14249 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14250 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14251 * sysdeps/generic/_G_config.h: ... here.
14253 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14255 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14257 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14258 Conditionalize target on [libnss_test1.so-version].
14260 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14262 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14263 (elfobjdir): Move out of conditionals.
14265 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14266 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14267 (__nss_lookup_function): Conditionalize label remove_from_tree on
14268 [!DO_STATIC_NSS || SHARED], matching its only use.
14270 2012-09-28 David S. Miller <davem@davemloft.net>
14272 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14273 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14275 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14277 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14279 when HWCAP_SPARC_CRYPTO is present.
14281 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14283 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14285 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14288 * stdio-common/vfprintf.c (process_string_arg): Revert
14291 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14293 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14295 * stdio-common/tst-sprintf.c: Include <locale.h>
14296 (main): Test sprintf's handling of incomplete multibyte
14299 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14301 * elf/dl-runtime.c (VERSYMIDX): Removed.
14302 * elf/dl-version.c (VERSYMIDX): Likewise.
14303 * elf/do-rel.h (VERSYMIDX): Likewise.
14304 (VALIDX): Likewise.
14305 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14306 * elf/rtld.c (VALIDX): Likewise.
14307 (ADDRIDX): Likewise.
14308 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14309 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14310 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14311 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14312 (VALIDX): Likewise.
14313 (ADDRIDX): Likewise.
14315 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14317 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14319 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14322 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14324 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14325 addresses are in the same scope as 192.0.2/24.
14326 * posix/gai.conf: Document new scope table defaults.
14328 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14331 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14332 for ftell. Compute offsets from write pointers instead.
14333 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14335 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14338 * libio/Makefile (tests): New test case tst-fseek.
14339 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14340 combination works in wide mode.
14341 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14342 state when the external buffer state changes.
14344 2012-09-27 David S. Miller <davem@davemloft.net>
14347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14348 pass reloc->r_addend in as the 'high' argument to
14349 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14353 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14355 * rt/tst-aio2.c: Include <pthread.h>.
14356 * rt/tst-aio3.c: Likewise.
14358 2012-09-27 Steve Ellcey <sellcey@mips.com>
14360 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14362 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14364 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14365 contents on [SHARED].
14367 2012-09-26 Marek Polacek <polacek@redhat.com>
14371 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14372 for C++ and GCC <4.3 as well as for non GCC compilers.
14374 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14378 2012-09-25 Roland McGrath <roland@hack.frob.com>
14380 * Makefile.in (all, install): Declare with .PHONY.
14381 Reported by Michael Hope <michael.hope@linaro.org>.
14383 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14385 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14386 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14388 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14390 (sydep_routines): Add the new and the internal functions.
14391 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14392 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14394 (GLIBC_2.17): Add the new function.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14396 (GLIBC_2.17): Likewise.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14398 (GLIBC_2.17): Likewise.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14400 (GLIBC_2.17): Likewise.
14401 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14403 2012-09-25 Alan Modra <amodra@gmail.com>
14405 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14406 Add release barrier before setting once_control to say
14407 initialisation is done. Add hints on lwarx. Use macro in
14409 (clear_once_control): Add release barrier.
14411 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14414 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14416 * math/s_clog10.c (__clog10): Likewise.
14417 * math/s_clog10f.c (__clog10f): Likewise.
14418 * math/s_clog10l.c (__clog10l): Likewise.
14419 * math/s_clogf.c (__clogf): Likewise.
14420 * math/s_clogl.c (__clogl): Likewise.
14421 * math/Makefile (libm-calls): Add x2y2m1.
14422 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14423 (__x2y2m1): Likewise.
14424 (__x2y2m1l): Likewise.
14425 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14426 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14427 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14429 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14430 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14431 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14432 * sysdeps/i386/fpu/libm-test-ulps: Update.
14433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14436 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14437 int as type of variable DEPTH.
14438 (glob): Use size_t instead of int as type of variables NEWCOUNT
14441 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14443 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14444 Add s_sincosf-sse2.
14445 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14446 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14447 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14448 macros for using routine as __sincosf_ia32.
14449 Use macro for function declaration and weak_alias.
14450 * sysdeps/i386/fpu/libm-test-ulps: Update.
14452 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14455 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14456 subnormal argument.
14457 * math/s_cexpf.c (__cexpf): Likewise.
14458 * math/s_csinf.c (__csinf): Likewise.
14459 * math/s_csinhf.c (__csinhf): Likewise.
14460 * math/s_ctanf.c (__ctanf): Likewise.
14461 * math/s_ctanhf.c (__ctanhf): Likewise.
14462 * math/s_ccosh.c (__ccoshf): Likewise.
14463 * math/s_cexp.c (__cexpl): Likewise.
14464 * math/s_csin.c (__csin): Likewise.
14465 * math/s_csinh.c (__csinh): Likewise.
14466 * math/s_ctan.c (__ctan): Likewise.
14467 * math/s_ctanh.c (ctanh): Likewise.
14468 * math/s_ccoshl.c (__ccoshl): Likewise.
14469 * math/s_cexpl.c (__cexpl): Likewise.
14470 * math/s_csinl.c (__csinl): Likewise.
14471 * math/s_csinhl.c (__csinhl): Likewise.
14472 * math/s_ctanl.c (__ctanl): Likewise.
14473 * math/s_ctanhl.c (__ctanhl): Likewise.
14475 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14477 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14478 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14479 (_IO_off_t): Define to __off_t, not _G_off_t.
14480 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14481 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14482 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14483 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14484 type of __dummy and __dummy2 fields.
14485 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14486 (_G_ssize_t): Likewise.
14487 (_G_off_t): Likewise.
14488 (_G_pid_t): Likewise.
14489 (_G_uid_t): Likewise.
14490 (_G_wchar_t): Likewise.
14491 (_G_wint_t): Likewise.
14492 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14493 (_G_ssize_t): Likewise.
14494 (_G_off_t): Likewise.
14495 (_G_pid_t): Likewise.
14496 (_G_uid_t): Likewise.
14497 (_G_wchar_t): Likewise.
14498 (_G_wint_t): Likewise.
14499 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14500 (_G_ssize_t): Likewise.
14501 (_G_off_t): Likewise.
14502 (_G_pid_t): Likewise.
14503 (_G_uid_t): Likewise.
14504 (_G_wchar_t): Likewise.
14505 (_G_wint_t): Likewise.
14507 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14509 * malloc/arena.c: Include malloc-sysdep.h.
14510 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14511 is sufficient to shrink the heap or an unmap is needed.
14512 * sysdeps/generic/malloc-sysdep.h: New file. Define
14513 new function check_may_shrink_heap.
14514 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14515 new function check_may_shrink_heap.
14517 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14519 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14522 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14524 * catgets/test-gencat.sh: Add "set -e".
14525 * elf/tst-pathopt.sh: Likewise.
14526 * grp/tst_fgetgrent.sh: Likewise.
14527 * iconvdata/run-iconv-test.sh: Likewise.
14528 * intl/tst-gettext.sh: Likewise.
14529 * intl/tst-gettext2.sh: Likewise.
14530 * intl/tst-gettext4.sh: Likewise.
14531 * intl/tst-gettext6.sh: Likewise.
14532 * intl/tst-translit.sh: Likewise.
14533 * io/ftwtest-sh: Likewise.
14534 * libio/test-freopen.sh: Likewise.
14535 * malloc/tst-mtrace.sh: Likewise.
14536 * posix/globtest.sh: Likewise.
14537 * posix/tst-getconf.sh: Likewise.
14538 * posix/wordexp-tst.sh: Likewise.
14539 * stdio-common/tst-printf.sh: Likewise.
14540 * stdio-common/tst-unbputc.sh: Likewise.
14541 * stdlib/tst-fmtmsg.sh: Likewise.
14542 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14543 * catgets/Makefile: Do not specify -e option when running
14544 testsuite shell scripts.
14545 * elf/Makefile: Likewise.
14546 * grp/Makefile: Likewise.
14547 * iconvdata/Makefile: Likewise.
14548 * intl/Makefile: Likewise.
14549 * io/Makefile: Likewise.
14550 * libio/Makefile: Likewise.
14551 * malloc/Makefile: Likewise.
14552 * posix/Makefile: Likewise.
14553 * stdio-common/Makefile: Likewise.
14554 * stdlib/Makefile: Likewise.
14555 * sysdeps/x86_64/Makefile: Likewise.
14557 * io/ftwtest-sh: Add copyright header.
14558 * posix/globtest.sh: Likewise.
14559 * posix/tst-getconf.sh: Likewise.
14560 * posix/wordexp-tst.sh: Likewise.
14561 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14563 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14566 * Makeconfig (+link): Defined as $(+link-static) if
14567 $(build-shared) isn't yes.
14568 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14570 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14572 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14575 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14576 new chunk size with MALLOC_ALIGN_MASK.
14578 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14581 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14583 (__printf_fphex): Determine rounding using get_rounding_mode and
14585 * stdio-common/tst-printf-round.c (struct hex_test): New
14587 (hex_tests): New variable.
14588 (test_hex_in_one_mode): New function.
14589 (do_test): Also run tests for hex float output.
14591 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14593 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14594 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14595 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14596 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14597 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14598 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14599 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14600 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14602 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14604 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14605 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14606 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14607 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14609 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14612 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14614 * elf/tst-rtld-load-self.sh: New test.
14615 * elf/Makefile: Run it.
14617 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14619 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14620 (tst-writev-ENV): Remove.
14621 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14623 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14625 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14627 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14629 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14631 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14633 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14634 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14635 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14638 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14641 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14642 * config.make.in (have-cpp-asm-debuginfo): Removed.
14643 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14644 * configure: Regenerated.
14646 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14649 * stdio-common/printf_fp.c: Include <stdbool.h> and
14651 (___printf_fp): Determine rounding using get_rounding_mode and
14653 * stdio-common/tst-printf-round.c: New file.
14654 * stdio-common/Makefile (tests): Add tst-printf-round.
14655 (link-libm): New variable.
14656 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14658 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14661 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14662 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14664 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14667 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14669 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14670 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14671 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14672 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14674 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14677 * include/rounding-mode.h: New file.
14678 * sysdeps/generic/get-rounding-mode.h: Likewise.
14679 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14680 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14681 (MAX_VALUE): New macro.
14682 (MIN_VALUE): Likewise.
14683 (overflow_value): New function.
14684 (underflow_value): Likewise.
14685 (round_and_return): Use overflow_value and underflow_value to
14686 determine return values in overflow and underflow cases. Use
14687 round_away to determine rounding depending on rounding mode.
14688 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14689 determine return values in overflow and underflow cases.
14690 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14691 (struct test_results): New structure.
14692 (struct test): Use struct test_results to store expected results
14693 for all rounding modes.
14694 (TEST): Include expected results for all rounding modes.
14695 (test_in_one_mode): New function.
14696 (do_test): Use test_in_one_mode to compute and check results.
14697 Check results for all rounding modes.
14698 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14701 2012-12-09 Allan McRae <allan@archlinux.org>
14703 * sysdeps/i386/fpu/libm-test-ulps: Update
14705 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14707 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14708 (_G_int32_t): Likewise.
14709 (_G_uint16_t): Likewise.
14710 (_G_uint32_t): Likewise.
14711 (_G_HAVE_BOOL): Likewise.
14712 (_G_HAVE_ATEXIT): Likewise.
14713 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14714 (_G_HAVE_IO_FILE_OPEN): Likewise.
14715 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14716 (_G_int32_t): Likewise.
14717 (_G_uint16_t): Likewise.
14718 (_G_uint32_t): Likewise.
14719 (_G_HAVE_BOOL): Likewise.
14720 (_G_HAVE_ATEXIT): Likewise.
14721 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14722 (_G_HAVE_IO_FILE_OPEN): Likewise.
14723 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14724 (_G_int32_t): Likewise.
14725 (_G_uint16_t): Likewise.
14726 (_G_uint32_t): Likewise.
14727 (_G_HAVE_BOOL): Likewise.
14728 (_G_HAVE_ATEXIT): Likewise.
14729 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14730 (_G_HAVE_IO_FILE_OPEN): Likewise.
14732 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14734 * csu/libc-tls.c: Update copyright years.
14736 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14738 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14739 [!_G_USING_THUNKS]: Remove conditional code.
14740 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14741 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14743 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14744 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14745 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14746 (_G_VTABLE_LABEL_PREFIX): Likewise.
14747 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14748 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14749 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14750 (_G_VTABLE_LABEL_PREFIX): Likewise.
14751 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14752 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14753 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14754 (_G_VTABLE_LABEL_PREFIX): Likewise.
14755 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14757 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14759 * libio/Makefile: Include ../Makeconfig before tests.
14760 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14761 only if $(build-shared) is yes.
14763 * iconv/gconv_db.c: Update copyright years.
14765 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14767 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14768 unwind info if defined PIC. Fix special cases description.
14769 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14771 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14773 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14775 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14777 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14779 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14782 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14783 (LDLIBS-tst-chk4): This.
14784 (LDFLAGS-tst-chk5): Renamed to ...
14785 (LDLIBS-tst-chk5): This.
14786 (LDFLAGS-tst-chk6): Renamed to ...
14787 (LDLIBS-tst-chk6): This.
14788 (LDFLAGS-tst-lfschk4): Renamed to ...
14789 (LDLIBS-tst-lfschk4): This.
14790 (LDFLAGS-tst-lfschk5): Renamed to ...
14791 (LDLIBS-tst-lfschk5): This.
14792 (LDFLAGS-tst-lfschk6): Renamed to ...
14793 (LDLIBS-tst-lfschk6): This.
14795 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14796 on $(common-objpfx)soversions.mk.
14798 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14801 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14804 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14806 * malloc/arena.c (arena_get_retry): New function that gets
14807 another arena for the caller to try its request on.
14808 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14809 current arena cannot fulfill the request.
14810 (__libc_memalign): Likewise.
14811 (__libc_memalign): Likewise.
14812 (__libc_pvalloc): Likewise.
14813 (__libc_calloc): Likewise.
14815 2012-09-05 John Tobey <john.tobey@gmail.com>
14818 * manual/arith.texi (Operations on Complex): Fix description
14819 of carg branch cut.
14821 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14824 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14828 * manual/memory.texi (Memory): Make order of menu items match
14831 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14833 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14834 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14835 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14837 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14839 * csu/libc-tls.c (static_dtv): Renamed to ...
14840 (_dl_static_dtv): This. Make it global.
14841 (_dl_initial_dtv): Removed.
14842 (__libc_setup_tls): Updated.
14843 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14844 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14847 2012-09-06 Petr Machata <pmachata@redhat.com>
14849 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14850 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14851 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14852 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14854 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14857 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14858 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14861 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14864 * Makeconfig (link-static-before-libc): Replace $(+prector)
14866 (link-static-after-libc): Replace $(+postctor) with
14868 (link-bounded): Replace $(+prector)/$(+postctor) with
14869 $(+prectorT)/$(+postctorT).
14870 (+prectorT): New macro.
14871 (+postctorT): Likewise.
14873 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14875 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14876 (round_str): Handle values above the maximum for IBM long double
14878 * stdlib/tst-strtod-round.c (tests): Regenerated.
14880 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14882 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14884 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14885 zarch_nohighgprs around the zarch optimized routines.
14886 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14887 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14888 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14891 2012-09-05 David S. Miller <davem@davemloft.net>
14893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14895 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14896 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14897 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14898 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14901 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14903 * malloc/arena.c: Fold copyright years.
14904 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14906 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14908 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14910 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14912 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14914 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14916 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14917 change internal state upon failure.
14919 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14921 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14922 * malloc/memusage.c (mmap): Likewise.
14923 (mmap64, mremap): Likewise. Adjust name in comment.
14925 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14927 * libio/fileops.c: Fix typos in comments.
14928 * libio/oldfileops.c: Likewise.
14929 * libio/wfileops.c: Likewise.
14931 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14934 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14935 (tst-malloc-usable-ENV): Set environment for test case.
14936 * malloc/hooks.c (malloc_check_get_size): New function to get
14938 * malloc/malloc.c (musable): Use malloc_check_get_size.
14939 * malloc/tst-malloc-usable.c: New test case.
14941 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14943 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14945 2012-09-05 Allan McRae <allan@archlinux.org>
14948 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14949 determine header location.
14950 * configure: Regenerated.
14952 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14954 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14956 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14957 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14959 (test): Regenerate.
14961 2012-09-04 David S. Miller <davem@davemloft.net>
14963 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14964 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14965 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14967 2012-09-04 Florian Weimer <fweimer@redhat.com>
14969 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14972 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14974 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14977 * libio/iogetdelim.c: Include <limits.h>.
14978 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14979 + len + 1 would overflow.
14981 2012-09-03 Andreas Jaeger <aj@suse.de>
14983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14984 * sysdeps/i386/fpu/libm-test-ulps: Update.
14986 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14988 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14989 Add s_sinf-sse2, s_conf-sse2.
14991 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14992 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14993 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14994 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14996 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14997 for using routine as __sinf_ia32.
14998 Use macro for function declaration and weak_alias.
14999 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15000 for using routine as __cosf_ia32.
15001 Use macro for function declaration and weak_alias.
15003 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15004 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15006 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15007 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15010 * math/libm-test.inc (cos_test): Add more test cases.
15011 (sin_test): Likewise.
15012 (sincos_test): Likewise.
15014 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15016 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15017 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15019 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15021 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15024 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15025 first element of the GOT.
15026 (elf_machine_load_address): Return the difference between
15027 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15029 2012-09-01 Allan McRae <allan@archlinux.org>
15032 * configure.in (AWK): Require gawk version 3.0 or later.
15033 * configure: Regenerated.
15035 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15037 * sysdeps/unix/sysv/linux/kernel-features.h
15038 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15039 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15040 [__NR_clock_getres]: Make code unconditional.
15041 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15042 (clock_getcpuclockid): Remove code left unreachable by removal of
15044 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15045 code unconditional.
15046 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15047 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15048 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15049 Make code unconditional.
15050 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15051 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15052 * sysdeps/unix/sysv/linux/clock_settime.c
15053 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15055 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15056 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15058 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15061 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15062 scripts/test-installation.pl.
15064 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15065 and $ld_so_version if it is set.
15067 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15070 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15071 failure if reading from procfs failed.
15072 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15074 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15076 * sysdeps/unix/sysv/linux/kernel-features.h
15077 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15078 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15079 Remove conditional code.
15080 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15081 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15082 Remove conditional code.
15083 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15084 * sysdeps/unix/sysv/linux/i386/fxstat.c
15085 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15087 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15088 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15089 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15090 * sysdeps/unix/sysv/linux/i386/lxstat.c
15091 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15093 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15094 Remove conditional code.
15095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15096 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15097 Remove conditional code.
15098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15099 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15100 <kernel-features.h>.
15101 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15103 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15104 Remove conditional code.
15105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15106 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15107 Remove conditional.
15109 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15112 * NEWS: Add fixed bug number.
15114 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15117 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15118 underflowing exponent in case of negative sign.
15119 * stdlib/tst-strtod-round-data: Add more tests.
15120 * stdlib/tst-strtod-round.c (tests): Regenerated.
15123 * stdlib/strtod_l.c (NDIG): Remove.
15124 (HEXNDIG): Likewise.
15125 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15126 smallest representable value.
15127 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15128 lie within an exact representation of 1/2 ulp of the result.
15129 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15131 (TENS_P9_IDX): Define unconditionally.
15132 (TENS_P9_SIZE): Likewise.
15133 (TENS_P10_IDX): Likewise.
15134 (TENS_P10_SIZE): Likewise.
15135 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15136 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15137 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15138 entries for 10^2^13 and 10^2^14.
15139 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15140 (TENS_P13_IDX): Define.
15141 (TENS_P13_SIZE): Likewise.
15142 (TENS_P14_IDX): Likewise.
15143 (TENS_P14_SIZE): Likewise.
15144 (_fpioconst_pow10): Change array size to
15145 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15147 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15148 1024]: Add entries for 10^2^13 and 10^2^14.
15149 [LAST_POW10 > _LAST_POW10]: Remove #error.
15150 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15151 (_fpioconst_pow10): Change array size to
15152 FPIOCONST_POW10_ARRAY_SIZE.
15153 * stdlib/gen-fpioconst.c: New file.
15154 * stdlib/gen-tst-strtod-round.c: Likewise.
15155 * stdlib/tst-strtod-round-data: Likewise.
15156 * stdlib/tst-strtod-round.c: Likewise.
15157 * stdlib/Makefile (tests): Add tst-strtod-round.
15160 * stdlib/strtod_l.c: Include <stdint.h>.
15161 (NDEBUG): Do not define.
15162 (round_and_return): Change EXPONENT parameter to type intmax_t.
15163 Rearrange calculations to avoid internal overflow possibilities.
15164 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15165 Rearrange calculations to avoid internal overflow possibilities.
15166 Assert that number fits inside MPNSIZE limbs.
15167 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15168 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15169 calculations and add assertions to avoid internal overflow
15170 possibilities. Add casts to avoid signed/unsigned operations.
15171 * stdlib/tst-strtod-overflow.c: New file.
15172 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15174 2012-08-25 Marek Polacek <polacek@redhat.com>
15176 * time/time.h: Fix some typos in comments.
15178 2012-08-23 Roland McGrath <roland@hack.frob.com>
15180 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15181 * posix/tst-rfc3484-2.c: Likewise.
15182 * posix/tst-rfc3484-3.c: Likewise.
15184 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15186 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15187 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15189 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15191 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15192 #include of fxstatat64.c.
15194 2012-08-22 Roland McGrath <roland@hack.frob.com>
15196 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15197 * shadow/getspent_r.c: Likewise.
15198 * shadow/getspnam.c: Likewise.
15199 * shadow/getspnam_r.c: Likewise.
15200 * gshadow/getsgent.c: Likewise.
15201 * gshadow/getsgent_r.c: Likewise.
15202 * gshadow/getsgnam.c: Likewise.
15203 * gshadow/getsgnam_r.c: Likewise.
15204 * inet/getnetbyad.c: Likewise.
15205 * inet/getnetbyad_r.c: Likewise.
15206 * inet/getnetbynm.c: Likewise.
15207 * inet/getnetbynm_r.c: Likewise.
15208 * inet/getnetent.c: Likewise.
15209 * inet/getnetent_r.c: Likewise.
15210 * inet/getproto.c: Likewise.
15211 * inet/getproto_r.c: Likewise.
15212 * inet/getprtent.c: Likewise.
15213 * inet/getprtent_r.c: Likewise.
15214 * inet/getprtname.c: Likewise.
15215 * inet/getprtname_r.c: Likewise.
15216 * inet/getrpcbyname.c: Likewise.
15217 * inet/getrpcbyname_r.c: Likewise.
15218 * inet/getrpcbynumber.c: Likewise.
15219 * inet/getrpcbynumber_r.c: Likewise.
15220 * inet/getrpcent.c: Likewise.
15221 * inet/getrpcent_r.c: Likewise.
15222 * inet/getaliasent.c: Likewise.
15223 * inet/getaliasent_r.c: Likewise.
15224 * inet/getaliasname.c: Likewise.
15225 * inet/getaliasname_r.c: Likewise.
15226 * nscd/getgrgid_r.c: Likewise.
15227 * nscd/getgrnam_r.c: Likewise.
15228 * nscd/gethstbyad_r.c: Likewise.
15229 * nscd/gethstbynm3_r.c: Likewise.
15230 * nscd/getpwnam_r.c: Likewise.
15231 * nscd/getpwuid_r.c: Likewise.
15232 * nscd/getsrvbynm_r.c: Likewise.
15233 * nscd/getsrvbypt_r.c: Likewise.
15234 * nscd/gai.c: Likewise.
15236 * configure.in (build_nscd): New substituted variable, set
15237 by --disable-build-nscd and defaults to $use_nscd.
15238 * configure: Regenerated.
15239 * config.make.in (build-nscd): New substituted variable.
15240 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15241 Change conditional to require [$(build-nscd) = yes] as well.
15242 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15245 * configure.in (use_nscd): New substituted variable, set by
15246 --disable-nscd. If enabled, define USE_NSCD.
15247 * configure: Regenerated.
15248 * config.h.in: Add USE_NSCD.
15249 * config.make.in (use-nscd): New substituted variable.
15250 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15251 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15252 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15253 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15254 (CFLAGS-getgrnam_r.c): Likewise.
15255 (CFLAGS-initgroups.c): Likewise.
15256 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15257 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15259 * inet/getnetgrent_r.c
15260 (nscd_setnetgrent): New function, broken out of ...
15261 (setnetgrent): ... here. Call it.
15262 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15263 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15264 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15265 * nscd/Makefile (routines, aux): Move definitions after include of
15266 Makeconfig. Conditionalize on [$(use-nscd) != no].
15267 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15268 Conditionalize on [USE_NSCD].
15269 (is_nscd, nscd_init_cb): Likewise.
15270 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15271 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15272 * nss/nss_db/db-init.c: Likewise.
15273 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15275 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15276 (make_request): Use it.
15277 (cache_valid_p): New function.
15278 (__check_pf): Use it.
15279 * NEWS: Add item for --disable-nscd.
15281 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15283 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15284 to support sed >= 4.2.1-20-ga9bf076.
15285 * configure: Regenerated.
15287 2012-08-22 Roland McGrath <roland@hack.frob.com>
15289 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15290 Conditionalize whole body on [IREL].
15292 2012-08-22 Jeff Law <law@redhat.com>
15295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15296 if the family is PF_UNSPEC.
15298 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15300 * Makerules (lib-version): Rename from V.
15301 (install-lib-nosubdir): Change V to lib-version.
15303 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15306 * powerpc32/power6/wcschr.c: New file.
15307 * powerpc32/power6/wcscpy.c: New file.
15308 * powerpc32/power6/wcsrchr.c: New file.
15309 * powerpc64/power6/wcschr.c: New file.
15310 * powerpc64/power6/wcscpy.c: New file.
15311 * powerpc64/power6/wcsrchr.c: New file.
15313 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15315 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15316 (two_way_short_needle): Use it.
15317 * string/strstr.c (AVAILABLE1_USES_J): Define.
15318 * string/strcasestr.c: Likewise.
15320 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15322 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15325 * NEWS: Add an entry.
15326 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15327 define their defaults.
15328 (two_way_short_needle): Detect end-of-string on-the-fly.
15329 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15330 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15331 * string/bug-strcasestr1.c: New test.
15332 * string/Makefile: Run it.
15334 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15337 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15338 the first character.
15340 2012-08-21 Roland McGrath <roland@hack.frob.com>
15342 * csu/elf-init.c (__libc_csu_irel): Function removed.
15343 * csu/libc-start.c (apply_irel): New function.
15344 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15346 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15348 * sysdeps/unix/sysv/linux/kernel-features.h
15349 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15350 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15351 <kernel-features.h>.
15352 [__NR_fadvise64_64]: Make code unconditional.
15353 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15354 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15355 !__NR_fadvise64_64)]: Likewise.
15356 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15357 !__NR_fadvise64_64))]: Likewise.
15358 [__NR_fadvise64]: Make code unconditional.
15359 [!__NR_fadvise64]: Remove conditional code.
15360 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15361 <kernel-features.h>.
15362 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15364 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15367 not include <kernel-features.h>.
15368 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15370 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15372 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15373 include <kernel-features.h>.
15374 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15376 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15379 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15382 slight instruction rearrangements per scrollpipe analysis.
15383 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15385 2012-08-20 Roland McGrath <roland@hack.frob.com>
15387 * manual/syslog.texi (syslog; vsyslog, closelog):
15388 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15389 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15391 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15392 DSOCAPS to match condition on defining it.
15394 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15396 * sysdeps/unix/sysv/linux/kernel-features.h
15397 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15399 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15400 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15402 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15403 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15405 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15406 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15408 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15409 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15411 * sysdeps/unix/sysv/linux/kernel-features.h
15412 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15413 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15415 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15416 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15417 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15418 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15419 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15420 Make code unconditional.
15421 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15422 (__mmap64) [!__NR_mmap2]: Likewise.
15423 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15424 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15425 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15426 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15427 [__NR_mmap2]: Make code unconditional.
15428 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15429 (__mmap64) [!__NR_mmap2]: Likewise.
15431 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15433 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15435 2012-08-18 Andreas Jaeger <aj@suse.de>
15437 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15439 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15441 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15442 * include/unistd.h (__have_sock_cloexec): Likewise.
15443 (__have_pipe2): Likewise.
15444 (__have_dup3): Likewise.
15446 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15449 * include/unistd.h (__have_pipe2): Change define into an extern int.
15450 (__have_dup3): Likewise.
15451 * socket/have_sock_cloexec.c: Include fcntl.h.
15452 (__have_pipe2): New variable.
15453 (__have_dup3): Likewise.
15455 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15457 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15459 2012-08-17 Marek Polacek <polacek@redhat.com>
15461 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15462 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15464 2012-08-17 Roland McGrath <roland@hack.frob.com>
15466 * configure.in: Add AC_SUBST for sysheaders.
15467 * configure: Regenerated.
15468 * config.make.in (sysheaders): New substituted variable.
15470 * sysdeps/unix/mkfifo.c: Moved ...
15471 * sysdeps/posix/mkfifo.c: ... here.
15472 * sysdeps/unix/mkfifoat.c: Moved ...
15473 * sysdeps/posix/mkfifoat.c: ... here.
15475 * sysdeps/unix/utime.c: Moved ...
15476 * sysdeps/posix/utime.c: ... here.
15478 * sysdeps/unix/time.c: Moved ...
15479 * sysdeps/posix/time.c: ... here.
15480 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15481 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15483 * sysdeps/unix/nice.c: Moved ...
15484 * sysdeps/posix/nice.c: ... here.
15486 * sysdeps/unix/alarm.c: Moved ...
15487 * sysdeps/posix/alarm.c: ... here.
15489 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15491 2012-08-17 Jeff Law <law@redhat.com>
15493 * intl/Makefile (codeset_mo): New variable.
15494 ($(codeset_mo)): New target.
15495 (tst-codeset.out): Depend on that. Remove explicit rule.
15496 (tst-gettext3.out, tst-gettext5.out): Likewise.
15497 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15498 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15499 * intl/tst-codeset.sh: Remove.
15500 * intl/tst-gettext3.sh: Likewise.
15501 * intl/tst-gettext5.sh: Likewise.
15503 2012-08-17 Roland McGrath <roland@hack.frob.com>
15505 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15506 * sysdeps/unix/syscalls.list: ... here.
15508 * sysdeps/posix/getaddrinfo.c
15509 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15510 (gaiconf_init, gaiconf_reload): Use them.
15511 [!_STATBUF_ST_NSEC]
15512 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15513 Define using time_t rather than struct timespec.
15515 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15516 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15518 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15520 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15521 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15524 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15525 __libc_cleanup_push argument.
15527 * bits/param.h: New file.
15528 * misc/sys/param.h: New file.
15529 * include/sys/param.h: New file.
15530 * misc/Makefile (headers): Add bits/param.h.
15531 * sysdeps/generic/sys/param.h: File removed.
15532 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15533 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15534 * sysdeps/mach/hurd/bits/param.h: New file.
15535 * sysdeps/mach/hurd/sys/param.h: File removed.
15537 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15540 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15542 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15543 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15546 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15547 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15548 rather than -D_IO_MTSAFE_IO conditionally.
15549 * stdio-common/Makefile (CPPFLAGS): Likewise.
15550 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15551 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15552 Use $(libio-mtsafe).
15553 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15554 of -D_IO_MTSAFE_IO.
15555 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15556 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15557 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15558 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15559 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15560 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15561 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15562 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15563 (CFLAGS-fread_u_chk.c): Likewise.
15564 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15565 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15566 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15567 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15568 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15569 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15570 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15571 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15572 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15574 * libio/Makefile: Test [$(libc-reentrant) = yes]
15575 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15578 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15579 * sysdeps/pthread/configure: File removed.
15580 * sysdeps/pthread/Makeconfig: New file.
15581 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15582 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15584 2012-08-16 Gary Benson <gbenson@redhat.com>
15586 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15587 unmapping the first object in a namespace.
15589 2012-08-16 Roland McGrath <roland@hack.frob.com>
15591 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15592 (__internal_setnetgrent): ... this. Add internal_function to
15593 definition. Add libc_hidden_def.
15594 (setnetgrent): Update caller.
15595 (internal_endnetgrent): Renamed to ...
15596 (__internal_endnetgrent): ... this. Add internal_function to
15597 definition. Add libc_hidden_def.
15598 (endnetgrent): Update caller.
15599 (internal_getnetgrent_r): Renamed to ...
15600 (__internal_getnetgrent_r): ... this. Add internal_function to
15601 definition. Add libc_hidden_def.
15602 (__getnetgrent_r): Update caller.
15603 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15605 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15607 * stdlib/longlong.h: Update from GCC.
15609 2012-08-16 Roland McGrath <roland@hack.frob.com>
15611 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15612 on _QL, which is set by umul_ppmm but never used.
15613 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15614 variables, which are set by GMP macros but never used.
15615 * stdio-common/_itowa.c (_itowa): Likewise.
15616 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15617 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15619 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15621 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15622 struct La_sh_regs is not constant.
15623 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15624 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15625 and struct La_sparc64_regs are not constant.
15627 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15629 * sysdeps/unix/sysv/linux/kernel-features.h
15630 (__ASSUME_POSIX_TIMERS): Remove.
15631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15632 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15633 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15634 Make code unconditional.
15635 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15636 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15637 Make code unconditional.
15638 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15639 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15640 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15641 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15642 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15643 Make code unconditional.
15644 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15645 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15646 (__libc_missing_posix_timers): Remove.
15648 2012-08-15 Roland McGrath <roland@hack.frob.com>
15650 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15651 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15653 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15655 * elf/dl-sym.c: Include <stdlib.h>.
15657 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15658 constants, which avoids warnings in 32-bit builds.
15660 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15661 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15663 * misc/lseek.c: File moved to ...
15664 * io/lseek.c: ... here.
15666 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15668 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15669 shifting LEN more than 31 bits at once.
15671 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15674 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15675 segmentation fault for a case of two empty input strings.
15676 * string/test-strncasecmp.c (check1): Renamed to...
15677 (bz12205): ...this.
15678 (bz14195): Add new testcase for two empty input strings and N > 0.
15679 (test_main): Call new testcase, adapt for renamed function.
15681 2012-08-15 Andreas Jaeger <aj@suse.de>
15684 * crypt/md5test2.c: New test, based on test supplied by Serge
15685 Belyshev <belyshev@depni.sinp.msu.ru>.
15686 * crypt/Makefile (xtests): Add md5test-giant..
15687 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15689 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15692 * crypt/md5.c (md5_process_block): Don't assume the buffer
15693 length is less than 2**32.
15694 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15695 length is less than 2**64.
15697 2012-08-15 Roland McGrath <roland@hack.frob.com>
15699 * string/str-two-way.h: Include <sys/param.h>.
15700 (MAX): Macro removed.
15702 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15703 Move #define and #undef of memmove to just before and after
15704 including <string.h>.
15706 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15707 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15708 and after including <string.h>. Move declarations of
15709 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15710 to before #include "string/memmove.c".
15712 * include/dirent.h: Declare __getdirentries.
15714 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15715 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15717 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15719 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15720 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15721 * sysdeps/i386/configure: Regenerated.
15722 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15723 STABS_CURRENT_FILE, and STABS_FUN.
15724 (END): Remove call to STABS_FUN_END.
15725 (STABS_CURRENT_FILE1): Delete.
15726 (STABS_CURRENT_FILE): Likewise.
15727 (STABS_FUN): Likewise.
15728 (STABS_FUN_END): Likewise.
15729 (STABS_FUN2): Likewise.
15730 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15731 * sysdeps/x86_64/configure: Regenerated.
15733 2012-08-14 Roland McGrath <roland@hack.frob.com>
15735 * elf/dl-open.c: Include <atomic.h>.
15736 * elf/dl-lookup.c: Likewise.
15738 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15740 * sysdeps/unix/sysv/linux/kernel-features.h
15741 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15742 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15744 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15746 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15747 condition on __ASSUME_CLONE_THREAD_FLAGS.
15749 2012-08-14 Andreas Jaeger <aj@suse.de>
15751 * sysdeps/i386/fpu/libm-test-ulps: Update.
15753 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15755 * include/atomic.h (atomic_exchange_and_add): Split into ...
15756 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15759 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15763 2012-08-13 Jeff Law <law@redhat.com>
15765 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15766 null byte in the output string.
15768 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15770 * sysdeps/unix/sysv/linux/kernel-features.h
15771 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15772 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15773 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15774 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15775 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15776 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15777 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15779 2012-08-09 Jeff Law <law@redhat.com>
15782 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15783 When avoid_arena is set, don't retry in the that arena. Pick the
15784 next one, whatever it might be.
15785 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15786 (arena_lock): Pass in new parameter to arena_get2.
15787 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15789 (__libc_malloc): Unify retrying after main arena failure with
15790 __libc_memalign version.
15791 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15793 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15796 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15797 to __redirect_strstr.
15798 (__strstr_sse42): Use typeof __redirect_strstr.
15799 (__strstr_ia32): Likewise.
15800 (__libc_strstr): New prototype.
15801 (strstr): Renamed to ...
15802 (__libc_strstr): This.
15803 (strstr): New strong alias of __libc_strstr.
15804 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15805 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15808 (__libc_time): New prototype.
15809 (time_ifunc): Replace time with __libc_time.
15810 (time): New strong alias and hidden definition of __libc_time.
15811 (__GI_time): Remove strong alias.
15812 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15813 Include <stddef.h>.
15814 (memmove): Redefined to __redirect_memmove.
15815 (__memmove_sse2): Use typeof __redirect_memmove.
15816 (__memmove_ssse3): Likewise.
15817 (__memmove_ssse3_back): Likewise.
15818 (__libc_memmove): New prototype.
15819 (memmove): Renamed to ...
15820 (__libc_memmove): This.
15821 (memmove): New strong alias of __libc_memmove.
15823 2012-08-08 Mark Salter <msalter@redhat.com>
15826 (R_MN10300_TLS_GD): Define.
15827 (R_MN10300_TLS_LD): Likewise.
15828 (R_MN10300_TLS_LDO): Likewise.
15829 (R_MN10300_TLS_GOTIE): Likewise.
15830 (R_MN10300_TLS_IE): Likewise.
15831 (R_MN10300_TLS_LE): Likewise.
15832 (R_MN10300_TLS_DTPMOD): Likewise.
15833 (R_MN10300_TLS_DTPOFF): Likewise.
15834 (R_MN10300_TLS_TPOFF): Likewise.
15835 (R_MN10300_SYM_DIFF): Likewise.
15836 (R_MN10300_ALIGN): Likewise.
15837 (R_MN10300_NUM): Update.
15839 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15841 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15844 2012-08-08 Roland McGrath <roland@hack.frob.com>
15846 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15848 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15849 sysdeps/unix -> sysdeps/posix move.
15850 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15852 2012-08-07 Allan McRae <allan@archlinux.org>
15855 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15856 (SUNOS_CPP): Likewise.
15857 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15859 (open_input): Call CPP using execvp.
15861 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15863 * sysdeps/unix/sysv/linux/kernel-features.h
15864 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15865 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15866 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15867 (__ASSUME_WAITID_SYSCALL): Likewise.
15868 * sysdeps/unix/sysv/linux/dl-execstack.c
15869 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15870 code unconditional.
15871 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15873 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15874 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15875 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15877 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15879 [__ASSUME_WAITID_SYSCALL]: Likewise.
15880 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15882 2012-08-07 Roland McGrath <roland@hack.frob.com>
15884 * sysdeps/unix/closedir.c: Renamed to ...
15885 * sysdeps/posix/closedir.c: ... here.
15886 * sysdeps/unix/dirfd.c: Renamed to ...
15887 * sysdeps/posix/dirfd.c: ... here.
15888 * sysdeps/unix/dirstream.h: Renamed to ...
15889 * sysdeps/posix/dirstream.h: ... here.
15890 * sysdeps/unix/fdopendir.c: Renamed to ...
15891 * sysdeps/posix/fdopendir.c: ... here.
15892 * sysdeps/unix/opendir.c: Renamed to ...
15893 * sysdeps/posix/opendir.c: ... here.
15894 * sysdeps/unix/readdir.c: Renamed to ...
15895 * sysdeps/posix/readdir.c: ... here.
15896 * sysdeps/unix/readdir_r.c: Renamed to ...
15897 * sysdeps/posix/readdir_r.c: ... here.
15898 * sysdeps/unix/rewinddir.c: Renamed to ...
15899 * sysdeps/posix/rewinddir.c: ... here.
15900 * sysdeps/unix/seekdir.c: Renamed to ...
15901 * sysdeps/posix/seekdir.c: ... here.
15902 * sysdeps/unix/telldir.c: Renamed to ...
15903 * sysdeps/posix/telldir.c: ... here.
15904 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15905 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15906 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15907 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15909 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15910 * bits/fcntl.h: ... here.
15912 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15914 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15915 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15916 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15917 (struct flock): Move l_start, l_len to the beginning.
15918 Use __pid_t for l_pid.
15919 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15920 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15921 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15922 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15923 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15924 [__USE_LARGEFILE64] (struct flock64): New type.
15925 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15927 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15928 * bits/dirent.h: ... here.
15930 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15931 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15933 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15936 Change from 2.6.0 to 2.6.16.
15937 * sysdeps/unix/sysv/linux/configure: Regenerated.
15938 * sysdeps/unix/sysv/linux/kernel-features.h
15939 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15940 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15942 (__ASSUME_UTIMES): Likewise.
15943 (__ASSUME_CLONE_STOPPED): Remove.
15944 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15945 architectures, not kernel version.
15946 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15947 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15948 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15949 (__ASSUME_WAITID_SYSCALL): Likewise.
15950 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15951 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15952 * README: State 2.6.16 as minimum Linux kernel version. Do not
15953 refer to older versions.
15955 2012-08-06 Roland McGrath <roland@hack.frob.com>
15957 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15958 Define alphasort64 as an alias.
15959 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15960 Define versionsort64 as an alias.
15961 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15962 Define scandir64 as an alias.
15963 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15964 Define scandirat64 as an alias.
15965 * dirent/alphasort64.c (alphasort64):
15966 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15967 * dirent/versionsort64.c: Likewise.
15968 * dirent/scandir64.c: Likewise.
15969 * dirent/scandirat64.c: Likewise.
15970 * sysdeps/wordsize-64/alphasort.c: File removed.
15971 * sysdeps/wordsize-64/alphasort64.c: File removed.
15972 * sysdeps/wordsize-64/scandir.c: File removed.
15973 * sysdeps/wordsize-64/scandir64.c: File removed.
15974 * sysdeps/wordsize-64/scandirat.c: File removed.
15975 * sysdeps/wordsize-64/scandirat64.c: File removed.
15976 * sysdeps/wordsize-64/versionsort.c: File removed.
15977 * sysdeps/wordsize-64/versionsort64.c: File removed.
15978 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15979 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15980 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15981 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15982 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15983 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15984 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15985 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15987 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15989 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15991 [defined __arch64__ || defined __sparcv9]
15992 (__INO_T_MATCHES_INO64_T): New macro.
15993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15994 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15995 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15996 * sysdeps/unix/sysv/linux/bits/dirent.h
15997 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15998 (_DIRENT_MATCHES_DIRENT64): New macro.
16000 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16001 Define lockf64 as an alias.
16002 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16003 Define fseeko64 as an alias.
16004 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16005 Define ftello64 as an alias.
16006 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16007 Define _IO_fgetpos64 and fgetpos64 as aliases.
16008 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16009 Define _IO_fsetpos64 and fsetpos64 as aliases.
16010 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16011 Conditionalize body on this.
16012 * libio/fseeko64.c: Likewise.
16013 * libio/ftello64.c: Likewise.
16014 * libio/iofgetpos64.c: Likewise.
16015 * libio/iofsetpos64.c: Likewise.
16016 * sysdeps/wordsize-64/lockf.c: File removed.
16017 * sysdeps/wordsize-64/lockf64.c: File removed.
16018 * sysdeps/wordsize-64/fseeko.c: File removed.
16019 * sysdeps/wordsize-64/fseeko64.c: File removed.
16020 * sysdeps/wordsize-64/ftello.c: File removed.
16021 * sysdeps/wordsize-64/ftello64.c: File removed.
16022 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16023 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16024 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16025 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16026 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16028 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16030 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16032 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16033 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16034 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16035 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16037 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16038 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16039 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16041 [defined __arch64__ || defined __sparcv9]
16042 (__OFF_T_MATCHES_OFF64_T): New macro.
16043 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16044 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16045 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16046 (__OFF_T_MATCHES_OFF64_T): New macro.
16048 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16050 * stdlib/secure-getenv.c (__secure_getenv): Replace
16051 GLIBC_2_16 with GLIBC_2_17.
16053 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16055 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16058 2012-08-03 David S. Miller <davem@davemloft.net>
16060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16062 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16064 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16066 (__ASSUME_CORRECT_SI_PID): Likewise.
16067 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16068 (__ASSUME_TMPFS_NAME): Likewise.
16069 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16070 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16071 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16072 (HAVE_AUX_SECURE): Make definition unconditional.
16073 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16074 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16076 2012-08-03 Roland McGrath <roland@hack.frob.com>
16078 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16079 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16080 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16081 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16082 __eloop_threshold instead of SYMLOOP_MAX.
16084 * sysdeps/generic/eloop-threshold.h: New file.
16085 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16087 * elf/chroot_canon.c (chroot_canon): Likewise.
16089 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16092 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16093 Change to 2.6.0 everywhere.
16094 * sysdeps/unix/sysv/linux/configure: Regenerated.
16095 * sysdeps/unix/sysv/linux/kernel-features.h
16096 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16097 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16099 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16100 (__ASSUME_FUTEX_REQUEUE): Remove.
16101 (__ASSUME_STATFS64): Define unconditionally.
16102 (__ASSUME_AT_SECURE): Likewise.
16103 (__ASSUME_CORRECT_SI_PID): Likewise.
16104 (__ASSUME_TGKILL): Define without depending on kernel version for
16106 (__ASSUME_UTIMES): Likewise.
16107 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16109 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16110 (__ASSUME_TMPFS_NAME): Likewise.
16111 * README: Update reference to Linux kernel versions.
16113 2012-08-02 Marek Polacek <polacek@redhat.com>
16116 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16117 libc_cv_asm_type_prefix with %.
16118 * configure: Regenerated.
16119 * include/libc-symbols.h: Remove comment about
16120 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16121 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16122 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16123 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16124 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16125 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16126 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16127 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16128 * elf/tst-unique2mod1.c: Likewise.
16129 * elf/tst-unique1mod2.c: Likewise.
16130 * elf/tst-unique1mod1.c: Likewise.
16131 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16132 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16133 Replace ASM_TYPE_DIRECTIVE with .type.
16134 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16135 * sysdeps/i386/sysdep.h: Likewise.
16136 * sysdeps/x86_64/sysdep.h: Likewise.
16137 * sysdeps/sh/sysdep.h: Likewise.
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16139 Do not define ASM_TYPE_DIRECTIVE.
16140 * sysdeps/powerpc/sysdep.h: Likewise.
16141 * sysdeps/powerpc/powerpc32/sysdep.h:
16142 Replace ASM_TYPE_DIRECTIVE with .type.
16143 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16144 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16145 * sysdeps/i386/fpu/e_powf.S: Likewise.
16146 * sysdeps/i386/fpu/e_expl.S: Likewise.
16147 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16148 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16149 * sysdeps/i386/fpu/e_pow.S: Likewise.
16150 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16151 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16152 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16153 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16154 * sysdeps/i386/fpu/e_log2.S: Likewise.
16155 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16156 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16157 * sysdeps/i386/fpu/e_powl.S: Likewise.
16158 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16159 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16160 * sysdeps/i386/fpu/e_logl.S: Likewise.
16161 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16162 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16163 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16164 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16165 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16166 * sysdeps/i386/fpu/e_log.S: Likewise.
16167 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16168 * sysdeps/i386/fpu/e_logf.S: Likewise.
16169 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16170 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16171 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16172 * sysdeps/i386/fpu/e_log10.S: Likewise.
16173 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16174 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16175 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16176 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16177 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16178 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16179 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16180 * sysdeps/i386/i686/strtok.S: Likewise.
16181 * sysdeps/i386/i386-mcount.S: Likewise.
16182 * sysdeps/i386/strtok.S: Likewise.
16183 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16184 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16185 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16186 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16187 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16188 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16189 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16190 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16191 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16192 * sysdeps/x86_64/_mcount.S: Likewise.
16193 * sysdeps/x86_64/strtok.S: Likewise.
16194 * sysdeps/sh/_mcount.S: Likewise.
16196 2012-08-01 Roland McGrath <roland@hack.frob.com>
16198 * libio/iofopen.c: Include <fcntl.h>.
16199 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16200 (_IO_fopen64, fopen64): Define as aliases.
16201 * libio/iofopen64.c: Include <fcntl.h>.
16202 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16203 Conditionalize body on this.
16204 * sysdeps/wordsize-64/iofopen.c: File removed.
16205 * sysdeps/wordsize-64/iofopen64.c: File removed.
16207 2012-08-01 Marek Polacek <polacek@redhat.com>
16209 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16210 Use dlfcn directly instead of a variable.
16211 (binfmt-subdir): Do not define.
16214 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16216 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16217 Remove all definitions.
16218 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16219 <kernel-features.h>.
16220 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16221 (miss_F_GETOWN_EX): Remove all definitions.
16222 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16224 [!__ASSUME_FCNTL64]: Remove conditional code.
16225 [__ASSUME_FCNTL64]: Make code unconditional.
16226 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16227 <kernel-features.h>.
16228 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16229 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16230 (lockf64) [__NR_fcntl64]: Make code unconditional.
16231 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16233 * sysdeps/unix/sysv/linux/kernel-features.h
16234 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16235 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16236 Make code unconditional.
16237 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16238 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16240 [__NR_vfork]: Make code unconditional.
16241 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16242 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16244 [__NR_vfork]: Make code unconditional.
16245 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16246 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16248 2012-08-01 Roland McGrath <roland@hack.frob.com>
16250 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16251 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16253 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16254 Define mkstemp64 as an alias.
16255 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16256 Define mkstemps64 as an alias.
16257 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16258 Define mkostemp64 as an alias.
16259 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16260 Define mkostemps64 as an alias.
16261 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16262 Conditionalize body on this.
16263 * misc/mkostemp64.c: Likewise.
16264 * misc/mkostemps64.c: Likewise.
16265 * misc/mkstemps64.c: Likewise.
16266 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16267 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16268 * sysdeps/wordsize-64/mkostemp.c: File removed.
16269 * sysdeps/wordsize-64/mkstemp.c: File removed.
16270 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16272 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16276 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16277 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16278 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16279 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16281 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16282 compat_symbol macros from <shlib-compat.h> rather than the underlying
16283 default_symbol_version and symbol_version macros, so that DEFAULT
16284 lines in shlib-versions are respected.
16285 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16287 2012-08-01 Florian Weimer <fweimer@redhat.com>
16289 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16290 Declare with warn_unused_result.
16291 (setgid, setregid, setegid, setresgid): Likewise.
16292 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16294 * WUR-REPORT: Remove set*id functions.
16296 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16298 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16300 2012-07-31 Roland McGrath <roland@hack.frob.com>
16303 * include/sys/socket.h (__libc_accept, __libc_accept4):
16304 Add attribute_hidden.
16305 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16307 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16309 * inet/getnetgrent_r.c (setup): Likewise.
16311 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16313 2012-07-31 David S. Miller <davem@davemloft.net>
16315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16317 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16320 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16321 value between 1.0 and 2.0 and smaller part has absolute value less
16323 * math/s_clog10.c (__clog10): Likewise.
16324 * math/s_clog10f.c (__clog10f): Likewise.
16325 * math/s_clog10l.c (__clog10l): Likewise.
16326 * math/s_clogf.c (__clogf): Likewise.
16327 * math/s_clogl.c (__clogl): Likewise.
16328 * math/libm-test.inc (clog_test): Add more tests.
16329 (clog10_test): Likewise.
16330 * sysdeps/i386/fpu/libm-test-ulps: Update.
16331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16333 2012-07-31 Florian Weimer <fweimer@redhat.com>
16335 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16336 Exit with zero in case no suitable GID is found, and write a
16337 message to standard error.
16339 2012-07-30 Roland McGrath <roland@hack.frob.com>
16341 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16343 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16344 (MAXPATHLEN): Removed.
16345 (NOGROUP, NODEV): New macros.
16346 (setbit, clrbit, isset, isclr): New macros.
16347 (howmany, roundup, powerof2): New macros.
16348 (DEV_BSIZE): New macro.
16350 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16351 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16353 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16354 definition on [!__NO_LONG_DOUBLE_MATH].
16356 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16357 PTR_MANGLE and PTR_DEMANGLE.
16359 * socket/accept4.c (accept4): Rename to __libc_accept4.
16360 Define accept4 as a weak alias.
16362 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16363 on [_DIRENT_HAVE_D_TYPE].
16364 * io/ftw.c (ftw_dir): Likewise.
16366 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16368 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16370 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16371 Use the BSD numbers rather than the arbitrary ones we had.
16372 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16373 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16374 (SIGXCPU, SIGXFSZ): New macros.
16377 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16378 initializer on [_LIBC_REENTRANT].
16380 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16381 definitions inside [_POSIX_MAPPED_FILES].
16383 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16385 * dirent/opendir.c: Include <fcntl.h>.
16387 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16388 (__libc_getspecific): Likewise.
16389 (__libc_key_create): Likewise.
16391 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16392 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16393 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16394 (tmpfile64): Define as alias.
16395 * sysdeps/wordsize-64/tmpfile.c: File removed.
16396 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16398 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16400 * stdio-common/vfscanf.c: Include <stdbool.h>.
16401 * nss/makedb.c: Likewise.
16402 * stdio-common/_i18n_number.h: Likewise.
16403 * argp/argp-help.c: Likewise.
16404 * posix/wordexp.c: Likewise.
16405 * sysdeps/posix/spawni.c: Likewise.
16406 * nss/nss_files/files-initgroups.c: Likewise.
16407 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16408 * nss/nss_files/files-initgroups.c: Likewise.
16409 * nss/nss_db/db-netgrp.c: Likewise.
16410 * nss/nss_db/db-initgroups.c: Likewise.
16411 * io/fchmodat.c: Include <sys/stat.h>.
16413 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16414 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16416 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16419 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16420 Add multiple inclusion protection.
16422 2012-07-27 David S. Miller <davem@davemloft.net>
16424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16426 2012-07-27 Gary Benson <gbenson@redhat.com>
16429 * elf/rtld.c: Include <stap-probe.h>.
16430 (dl_main): Added static probes "init_start" and "init_complete".
16431 * elf/dl-load.c: Include <stap-probe.h>.
16432 (lose): Take new parameter "nsid".
16433 Added static probe "map_failed".
16434 (_dl_map_object_from_fd): Pass namespace id to lose.
16435 Added static probe "map_start".
16436 (open_verify): Pass namespace id to lose.
16437 * elf/dl-open.c: Include <stap-probe.h>.
16438 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16439 and "reloc_complete".
16440 * elf/dl-close.c: Include <stap-probe.h>.
16441 (_dl_close_worker): Added static probes "unmap_start" and
16443 * elf/rtld-debugger-interface.txt: New file documenting the above.
16445 2012-07-26 Roland McGrath <roland@hack.frob.com>
16447 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16448 rather than a string variable.
16449 * sunrpc/rpc_main.c (h_output): Likewise.
16450 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16452 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16454 * inet/check_native.c: New file.
16456 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16459 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16460 if larger part has absolute value 1.0.
16461 * math/s_clog10.c (__clog10): Likewise.
16462 * math/s_clog10f.c (__clog10f): Likewise.
16463 * math/s_clog10l.c (__clog10l): Likewise.
16464 * math/s_clogf.c (__clogf): Likewise.
16465 * math/s_clogl.c (__clogl): Likewise.
16466 * math/libm-test.inc (clog_test): Add more tests.
16467 (clog10_test): Likewise.
16468 * sysdeps/i386/fpu/libm-test-ulps: Update.
16469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16471 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16472 (pltexit): Likewise.
16473 (La_regs): Likewise.
16474 (La_retval): Likewise.
16475 (int_retval): Likewise.
16476 Update #error for removed macros to refer only to definitions in
16478 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16480 (pltexit): Likewise.
16481 (La_regs): Likewise.
16482 (La_retval): Likewise.
16483 (int_retval): Likewise.
16484 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16486 (pltexit): Likewise.
16487 (La_regs): Likewise.
16488 (La_retval): Likewise.
16489 (int_retval): Likewise.
16490 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16492 (pltexit): Likewise.
16493 (La_regs): Likewise.
16494 (La_retval): Likewise.
16495 (int_retval): Likewise.
16496 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16498 (pltexit): Likewise.
16499 (La_regs): Likewise.
16500 (La_retval): Likewise.
16501 (int_retval): Likewise.
16502 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16504 (pltexit): Likewise.
16505 (La_regs): Likewise.
16506 (La_retval): Likewise.
16507 (int_retval): Likewise.
16508 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16510 (pltexit): Likewise.
16511 (La_regs): Likewise.
16512 (La_retval): Likewise.
16513 (int_retval): Likewise.
16514 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16515 macro definitions in tst-audit.h.
16516 * sysdeps/i386/tst-audit.h: New file.
16517 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16518 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16519 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16520 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16521 * sysdeps/sh/tst-audit.h: Likewise.
16522 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16523 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16524 * sysdeps/x86_64/tst-audit.h: Likewise.
16526 2012-07-26 Andreas Jaeger <aj@suse.de>
16528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16531 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16532 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16533 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16535 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16536 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16537 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16539 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16542 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16544 (si_call_addr, si_syscall, si_arch): Define new macro.
16545 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16547 (si_call_addr, si_syscall, si_arch): Define new marcro.
16548 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16550 (si_call_addr, si_syscall, si_arch): Define new macro.
16551 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16553 (si_call_addr, si_syscall, si_arch): Define new macro.
16555 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16559 Change to 2.4.21 where previously 2.4.1.
16560 * sysdeps/unix/sysv/linux/configure: Regenerated.
16561 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16562 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16563 Linux kernel version.
16564 (__ASSUME_STD_AUXV): Remove.
16565 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16567 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16568 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16569 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16570 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16571 (__ASSUME_NETLINK_SUPPORT): Likewise.
16572 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16573 (__no_netlink_support): Remove conditional definition.
16574 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16576 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16577 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16578 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16579 (if_nameindex_ioctl): Remove.
16580 (if_nameindex_netlink): Do not handle __no_netlink_support.
16581 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16583 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16584 Remove conditional code.
16585 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16587 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16589 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16590 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16591 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16593 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16594 [!__ASSUME_STD_AUXV]: Remove conditional code.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16596 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16597 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16599 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16600 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16602 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16604 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16605 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16607 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16609 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16612 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16615 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16616 code unconditional.
16617 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16619 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16621 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16624 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16626 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16629 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16630 code unconditional.
16631 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16633 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16635 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16638 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16639 code unconditional.
16640 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16642 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16644 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16647 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16649 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16650 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16651 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16652 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16653 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16654 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16655 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16656 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16657 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16658 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16659 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16660 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16661 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16662 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16663 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16664 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16665 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16666 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16667 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16669 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16670 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16673 2012-07-25 Florian Weimer <fweimer@redhat.com>
16675 * Versions.def: Add GLIBC_2.17.
16676 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16677 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16678 Introduce __libc_secure_getenv.
16679 * stdlib/Versions (2.17): Add secure_getenv
16680 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16681 * stdlib/secure-getenv.c: Rename __secure_getenv to
16682 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16683 symbol __secure_getenv for GLIBC_2.0.
16684 * stdlib/tst-secure-getenv.c: New.
16685 * stdlib/Makefile (tests): Add testcase.
16686 * manual/startup.texi (Environment Access): Document
16688 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16689 __libc_secure_getenv.
16690 * inet/ruserpass.c (ruserpass): Likewise.
16691 * malloc/mtrace.c (mtrace): Likewise.
16692 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16693 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16694 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16695 * sysdeps/posix/tempname.c: Likewise. Evaluate
16696 HAVE_SECURE_GETENV.
16697 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16698 __secure_getenv to __libc_secure_getenv.
16699 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16712 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16714 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16715 (struct La_i86_retval): Likewise.
16716 (struct La_x86_64_regs): Likewise.
16717 (struct La_x86_64_retval): Likewise.
16718 (struct La_x32_regs): Likewise.
16719 (struct La_x32_retval): Likewise.
16720 (struct La_ppc32_regs): Likewise.
16721 (struct La_ppc32_retval): Likewise.
16722 (struct La_ppc64_regs): Likewise.
16723 (struct La_ppc64_retval): Likewise.
16724 (struct La_sh_regs): Likewise.
16725 (struct La_sh_retval): Likewise.
16726 (struct La_s390_32_regs): Likewise.
16727 (struct La_s390_32_retval): Likewise.
16728 (struct La_s390_64_regs): Likewise.
16729 (struct La_s390_64_retval): Likewise.
16730 (struct La_sparc32_regs): Likewise.
16731 (struct La_sparc32_retval): Likewise.
16732 (struct La_sparc64_regs): Likewise.
16733 (struct La_sparc64_retval): Likewise.
16734 (struct audit_ifaces): Remove architecture-specific pltenter and
16736 * sysdeps/i386/ldsodefs.h: New file.
16737 * sysdeps/powerpc/ldsodefs.h: Likewise.
16738 * sysdeps/s390/ldsodefs.h: Likewise.
16739 * sysdeps/sh/ldsodefs.h: Likewise.
16740 * sysdeps/sparc/ldsodefs.h: Likewise.
16741 * sysdeps/x86_64/ldsodefs.h: Likewise.
16743 2012-07-25 Marek Polacek <polacek@redhat.com>
16746 * math/libm-test.inc (yn_test): Add another test.
16747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16748 to ERANGE when the result is +-Inf.
16749 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16750 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16751 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16752 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16754 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16756 * conform/data/time.h-data (NULL): Use macro-constant. Require
16758 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16760 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16762 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16764 * configure.in <sysdeps resolving>: Correct printing
16766 * configure: Regenerate.
16768 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16770 * math/w_ilogb.c: Include <limits.h>.
16771 * math/w_ilogbl.c: Likewise.
16773 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16775 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16776 va_copy. Document allowing for unavailable va_copy only as
16777 pre-C99 compatibility.
16778 * manual/string.texi (Copying and Concatenation): Use va_copy
16779 instead of __va_copy in concat example.
16781 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16783 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16784 (__sendto): Use create_address_port. Initialize APORT and deallocate
16787 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16788 with O_NOLINK passed to __file_name_lookup.
16790 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16791 with O_NOLINK passed to __file_name_lookup.
16793 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16794 negative N or less than NGIDS.
16796 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16797 type to string_t. Set ERANGE as errno and return it if NAME is not big
16798 enough. Use memcpy instead of strncpy.
16800 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16802 * elf/Makefile (check-data): Remove.
16803 (localplt.data): New vpath directive.
16804 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16805 instead of $(check-data).
16806 * scripts/data/localplt-generic.data: Move to ...
16807 * sysdeps/generic/localplt.data: ... here.
16808 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16809 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16810 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16813 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16816 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16819 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16822 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16825 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16829 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16831 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16832 PPC32 and PPC64 files.
16833 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16834 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16836 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16838 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16839 __makecontext_ret to ...
16840 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16841 ... here and call exit if uc_link is NULL. New file.
16842 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16843 __makecontext_ret.S.
16844 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16845 __makecontext_ret to ...
16846 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16847 ... here and call exit if uc_link is NULL. New file.
16848 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16849 __makecontext_ret.S.
16851 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16853 * elf/elf.h (R_390_IRELATIVE): New definition.
16854 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16855 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16856 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16857 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16858 (elf_machine_lazy_rel): Likewise.
16859 * sysdeps/s390/dl-irel.h: New file.
16860 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16861 * sysdeps/s390/s390-64/memset.S: New asm code.
16862 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16863 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16864 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16865 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16866 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16867 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16869 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16870 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16871 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16872 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16873 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16874 * sysdeps/s390/s390-32/memset.S: New asm code.
16875 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16877 2012-07-17 Marek Polacek <polacek@redhat.com>
16880 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16881 * sysdeps/s390/s390-64/configure.in: Likewise.
16882 * sysdeps/sparc/configure.in: Likewise.
16883 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16884 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16885 * sysdeps/i386/configure.in: Likewise.
16886 * sysdeps/x86_64/configure.in: Likewise.
16887 * sysdeps/sh/configure.in: Likewise.
16888 * sysdeps/s390/s390-32/configure: Regenerated.
16889 * sysdeps/s390/s390-64/configure: Likewise.
16890 * sysdeps/x86_64/configure: Likewise.
16891 * sysdeps/sh/configure: Likewise.
16892 * sysdeps/powerpc/powerpc64/configure: Likewise.
16893 * sysdeps/powerpc/powerpc32/configure: Likewise.
16894 * sysdeps/sparc/configure: Likwise.
16895 * sysdeps/i386/configure: Likewise.
16897 * elf/dl-open.c: Comment fixes.
16899 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16901 * Makefile [CXX] (check-data): Remove.
16902 [CXX] (c++-types.data): New vpath directive.
16903 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16904 vpath. Do not allow for C++ type data being missing.
16905 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16906 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16907 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16908 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16909 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16910 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16911 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16914 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16917 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16920 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16923 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16926 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16929 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16932 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16935 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16936 definitions to architecture-specific files.
16937 (TLS_IE): Likewise.
16938 (TLS_LD): Likewise.
16939 (TLS_GD): Likewise.
16940 * sysdeps/i386/tls-macros.h: New file.
16941 * sysdeps/powerpc/tls-macros.h: Likewise.
16942 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16943 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16944 * sysdeps/sh/tls-macros.h: Likewise.
16945 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16946 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16947 * sysdeps/x86_64/tls-macros.h: Likewise.
16949 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16951 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16952 zero value for regular exit case.
16954 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16955 (__start_context): Preserve zero value for regular exit case.
16957 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16958 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16960 * manual/setjmp.texi (setcontext): Clarify normal process
16961 termination when uc_link is the null pointer.
16962 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16965 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16967 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16968 preprocessor. Test for each exception mask separately.
16970 2012-07-16 Andreas Jaeger <aj@suse.de>
16972 * po/ru.po: Update from translation team.
16974 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16976 * conform/data/string.h-data (NULL): Use macro-constant. Require
16978 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16979 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16980 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16981 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16984 2012-07-13 Andreas Jaeger <aj@suse.de>
16986 * po/fr.po: Update from translation team.
16988 2012-07-12 Marek Polacek <polacek@redhat.com>
16991 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16995 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16999 Change to 2.4.1 where previously 2.4.0.
17000 * sysdeps/unix/sysv/linux/configure: Regenerated.
17001 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17002 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17004 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17005 (__ASSUME_AT_CLKTCK): Remove.
17006 (__ASSUME_AT_PAGESIZE): Likewise.
17007 (__ASSUME_AT_XID): Likewise.
17008 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17009 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17010 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17012 (HAVE_AUX_PAGESIZE): Likewise.
17013 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17014 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17015 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17017 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17021 the temporary buffer used to invoke __gethostbyname2_r,
17022 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17023 host_data / struct gaih_addrtuple.
17024 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17025 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17026 header file nss/nsswitch.h.
17027 * nss/nsswitch.h (global scope): Add definition of implementation
17028 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17029 resolv/nss_dns/dns-host.c).
17031 2012-07-11 Andreas Jaeger <aj@suse.de>
17033 * po/fr.po: Update from translation team.
17035 * po/sv.po: Update from translation team
17036 * po/fr.po: Another update from translation team.
17038 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17041 for subnormals or multiply small sinh result by itself.
17042 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17045 2012-07-11 David S. Miller <davem@davemloft.net>
17047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17049 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17052 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17053 (INTERNAL_MARK): Shift it here.
17055 2012-07-10 Marek Polacek <polacek@redhat.com>
17058 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17059 libc_cv_asm_global_directive with .globl.
17060 * configure: Regenerated.
17061 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17063 * sysdeps/i386/configure: Regenerated.
17064 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17066 * sysdeps/x86_64/configure: Regenerated.
17067 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17068 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17069 * elf/tst-unique2mod2.c: Likewise.
17070 * elf/tst-unique2mod1.c: Likewise.
17071 * elf/tst-unique1mod2.c: Likewise.
17072 * elf/tst-unique1mod1.c: Likewise.
17073 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17074 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17075 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17076 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17077 * sysdeps/mach/sysdep.h: Likewise.
17078 * sysdeps/i386/sysdep.h: Likewise.
17079 * sysdeps/i386/i386-mcount.S: Likewise.
17080 * sysdeps/x86_64/_mcount.S: Likewise.
17081 * sysdeps/x86_64/sysdep.h: Likewise.
17082 * sysdeps/sh/_mcount.S: Likewise.
17083 * sysdeps/sh/sysdep.h: Likewise.
17084 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17085 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17086 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17087 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17088 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17089 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17090 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17091 * locale/localeinfo.h: Likewise.
17092 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17093 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17095 2012-07-09 Roland McGrath <roland@hack.frob.com>
17098 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17100 * manual/message.texi (The Uniforum approach): Likewise.
17101 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17102 (glibc iconv Implementation): Likewise.
17104 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17107 * math/s_clog.c (__clog): Avoid scaling a value down where that
17108 could result in underflow.
17109 * math/s_clog10.c (__clog10): Likewise.
17110 * math/s_clog10f.c (__clog10f): Likewise.
17111 * math/s_clog10l.c (__clog10l): Likewise.
17112 * math/s_clogf.c (__clogf): Likewise.
17113 * math/s_clogl.c (__clogl): Likewise.
17114 * math/libm-test.inc (clog_test): Add more tests.
17115 (clog10_test): Likewise.
17116 * sysdeps/i386/fpu/libm-test-ulps: Update.
17117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17119 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17122 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17123 by 7 not 8 to examine high bit of fractional part.
17126 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17127 for call to __mcount_internal.
17128 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17129 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17130 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17132 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17135 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17136 approximation for values within 0x1p-13f of an odd multiple of
17138 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17139 exception. Add more tests.
17140 * sysdeps/i386/fpu/libm-test-ulps: Update.
17143 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17144 inputs and return -1 for them. Do not check for +Inf in case not
17145 reachable for +Inf.
17146 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17147 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17148 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17149 and return -1 for them. Do not check for +Inf in case not
17150 reachable for +Inf.
17151 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17154 and return -1 for them. Do not check for +Inf in case not
17155 reachable for +Inf.
17156 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17157 spurious underflow.
17158 * sysdeps/i386/fpu/libm-test-ulps: Update.
17159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17161 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17163 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17165 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17169 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17170 could result in spurious underflow. Scale down values above
17171 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17172 * math/s_csqrtf.c (__csqrtf): Likewise.
17173 * math/s_csqrtl.c (__csqrtl): Likewise.
17174 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17175 spurious underflow.
17176 * sysdeps/i386/fpu/libm-test-ulps: Update.
17177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17179 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17181 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17183 * catgets/xopen-msg.awk: New file.
17184 * catgets/xopen-msg.sed: Removed.
17186 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17188 * intl/po2test.awk: New file.
17189 * intl/po2test.sed: Removed.
17191 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17194 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17195 or multiply small sinh result by itself.
17196 * math/s_ctanf.c (__ctanf): Likewise.
17197 * math/s_ctanh.c (__ctanh): Likewise.
17198 * math/s_ctanhf.c (__ctanhf): Likewise.
17199 * math/s_ctanhl.c (__ctanhl): Likewise.
17200 * math/s_ctanl.c (__ctanl): Likewise.
17201 * math/libm-test.inc (ctan_test_tonearest): New function.
17202 (ctan_test_towardzero): Likewise.
17203 (ctan_test_downward): Likewise.
17204 (ctan_test_upward): Likewise.
17205 (ctanh_test_tonearest): Likewise.
17206 (ctanh_test_towardzero): Likewise.
17207 (ctanh_test_downward): Likewise.
17208 (ctanh_test_upward): Likewise.
17209 (main): Call these new functions.
17210 * sysdeps/i386/fpu/libm-test-ulps: Update.
17211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17213 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17215 * .gitignore: Delete /ports entry.
17217 2012-07-03 Andreas Jaeger <aj@suse.de>
17219 * po/bg.po: Update from translation team.
17220 * po/cs.po: Likewise.
17221 * po/de.po: Likewise.
17222 * po/hr.po: Likewise.
17223 * po/nl.pl: Likewise.
17224 * po/pl.po: Likewise.
17225 * po/vi.po: Likewise.
17227 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17229 * Makeconfig [!+link] (+link-before-libc): New variable.
17230 [!+link] (+link-after-libc): Likewise.
17231 [!+link] (+link-tests): Likewise.
17232 [!+link] (+link): Define in terms of $(+link-before-libc) and
17233 $(+link-after-libc).
17234 [!+link-static] (+link-static-before-libc): New variable.
17235 [!+link-static] (+link-static-after-libc): Likewise.
17236 [!+link-static] (+link-static-tests): Likewise.
17237 [!+link-static] (+link-static): Define in terms of
17238 $(+link-static-before-libc) and $(+link-static-after-libc).
17239 [build-shared] (link-libc-before-gnulib): New variable.
17240 [build-shared] (link-libc-tests): Likewise.
17241 [build-shared] (link-libc): Define in terms of
17242 $(link-libc-before-gnulib).
17243 [!build-shared] (link-libc-tests): New variable.
17244 (link-libc-static-tests): New variable.
17245 [!gnulib] (gnulib-arch): New variable.
17246 [!gnulib] (gnulib-tests): Likewise.
17247 [!gnulib] (static-gnulib-arch): Likewise.
17248 [!gnulib] (static-gnulib-tests): Likewise.
17249 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17250 Define with "=" instead of ":=".
17251 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17252 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17253 * Rules (binaries-all-notests): New variable.
17254 (binaries-all-tests): Likewise.
17255 (binaries-static-notests): Likewise.
17256 (binaries-static-tests): Likewise.
17257 (binaries-all): Define using $(binaries-all-notests) and
17258 $(binaries-all-tests).
17259 (binaries-static): Define using $(binaries-static-notests) and
17260 $(binaries-static-tests).
17261 (binaries-shared-tests): New variable.
17262 (binaries-shared-notests): Likewise.
17263 (binaries-shared): Remove variable.
17264 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17265 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17266 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17267 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17268 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17269 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17270 * elf/Makefile (sln-modules): New variable.
17271 (extra-objs): Add $(sln-modules:=.o).
17272 (ldconfig-modules): Add static-stubs.
17273 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17274 * elf/static-stubs.c: New file.
17277 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17278 by 7 not 8 to examine high bit of fractional part. Use volatile
17279 variables when splitting into final array of floats if
17280 __FLT_EVAL_METHOD__ != 0.
17281 * math/libm-test.inc (cos_test): Add another test.
17282 (sin_test): Likewise.
17283 * sysdeps/i386/fpu/libm-test-ulps: Update.
17286 * math/libm-test.inc (cosh_test): Add more tests.
17288 * version.h (RELEASE): Set to "development".
17289 (VERSION): Set to "2.16.90".
17291 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17293 * NEWS: Update copyright. Remove last-updated date.
17294 Mention math library bug fixes and timezone data changes.
17295 * README: Mention GNU/Hurd, x32, and HPPA support status.
17297 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17299 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17301 2012-06-27 Andreas Jaeger <aj@suse.de>
17303 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17305 2012-06-25 Andreas Jaeger <aj@suse.de>
17307 * sysdeps/s390/fpu/libm-test-ulps: Update.
17309 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17310 Thomas Schwinge <thomas@codesourcery.com>
17312 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17313 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17317 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17319 * sysdeps/mach/start.c: Remove file.
17320 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17321 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17322 * sysdeps/sh/init-first.c: Likewise.
17324 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17325 registers for frame unwinding purposes, add CFI directives.
17326 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17327 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17328 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17331 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17332 __fortify_fail returning.
17333 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17335 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17336 sysdeps/sh/____longjmp_chk.S.
17337 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17338 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17339 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17340 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17342 * sysdeps/sh/abort-instr.h: New file.
17343 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17344 process in case exit returns.
17346 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17347 initialize the GOT register before use.
17349 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17350 calculation of ARGC > 4.
17352 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17353 meaningful names to some local labels.
17355 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17356 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17358 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17359 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17360 (__arch_compare_and_exchange_val_16_acq): Likewise.
17361 (__arch_compare_and_exchange_val_32_acq): Likewise.
17362 (atomic_exchange_and_add): Fix gUSA sequence.
17363 (atomic_add): Likewise.
17364 (atomic_add_negative): Likewise.
17365 (atomic_add_zero): Likewise.
17366 (atomic_bit_test_set): Likewise.
17368 2012-06-22 Andreas Schwab <schwab@redhat.com>
17371 * include/link.h (struct link_map): Add l_free_initfini.
17372 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17374 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17375 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17376 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17379 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17381 * configure.in: Use AC_LANG_SOURCE.
17382 * configure: Regenerate.
17384 2012-06-22 Roland McGrath <roland@hack.frob.com>
17386 * configure.in (libc_cv_localstatedir): New substituted variable.
17387 * configure: Regenerated.
17388 * config.make.in (localstatedir): New variable, substituted from
17389 libc_cv_localstatedir.
17390 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17391 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17392 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17393 * sysdeps/gnu/configure: Regenerated.
17395 2012-06-21 Jeff Law <law@redhat.com>
17398 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17399 free. Simplify list management for _LIBC case.
17401 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17404 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17405 Clear sign bit of 64-bit integer value before comparing against
17408 * sysdeps/mach/configure: Regenerated.
17410 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17413 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17415 2012-06-21 Jeff Law <law@redhat.com>
17418 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17419 uint16_t for elements in the "seen" array to avoid char overflows.
17420 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17421 * elf/dl-open.c (dl_open_worker): Likewise.
17423 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17425 * scripts/list-sources.sh: Scan PORTS for translations.
17426 * po/libc.pot: Regenerated.
17428 2012-06-21 Andreas Jaeger <aj@suse.de>
17431 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17433 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17434 * bits/byteswap-16.h (__bswap_16): Likewise.
17435 * bits/byteswap.h (__bswap_constant_16): Likewise.
17437 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17440 * sysdeps/i386/fpu_control.h: Removed.
17441 * sysdeps/x86_64/fpu_control.h: Moved to ...
17442 * sysdeps/x86/fpu_control.h: Here.
17444 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17445 (_FPU_SETCW): Likewise.
17447 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17450 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17451 * sysdeps/x86/fpu/bits/mathinline.h: This.
17452 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17456 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17457 functions if __x86_64__ is defined.
17459 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17461 * string/endian.h: Add !__ASSEMBLER__ condition for including
17462 conversion interfaces.
17464 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17468 of ABS(x) in calculating zero to negative powers other than odd
17470 * math/libm-test.inc (pow_test): Add more tests.
17472 2012-06-15 Andreas Jaeger <aj@suse.de>
17474 * manual/contrib.texi (Contributors): Update entry of Liubov
17475 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17478 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17480 * string/string.h: Add __wur to GNU version of strerror_r.
17482 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17485 * string/Makefile (tests): Add tst-strtok_r.
17486 * string/tst-strtok_r.c: New file.
17487 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17488 RAX_LP/RDX_LP on SAVE_PTR.
17490 2012-06-14 Roland McGrath <roland@hack.frob.com>
17492 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17494 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17496 * libm_test.inc (csqrt_test): Allow more spurious underflow
17498 (j0_test): Likewise.
17499 (j1_test): Likewise.
17500 (y0_test): Likewise.
17501 (y1_test): Likewise.
17503 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17505 * po/Makefile (libc.pot): Use UTF-8 charset.
17507 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17510 Suppress sign-conversion warning from FD_SET.
17511 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17512 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17513 not unsigned long int.
17514 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17516 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17520 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17521 __extern_always_inline instead of __extern_inline.
17522 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17523 (__signbit): Likewise.
17524 (__signbitl): Support C++ namespace.
17525 (lrintf): New inline function.
17527 (llrintf): Likewise.
17528 (llrint): Likewise.
17538 (floorf): Likewise.
17539 (nearbyint): Likewise.
17540 (nearbyintf): Likewise.
17542 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17544 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17545 non-default versions.
17547 2012-06-11 Roland McGrath <roland@hack.frob.com>
17550 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17552 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17554 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17555 (FE_UPWARD, FE_DOWNWARD): Don't define.
17556 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17557 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17559 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17561 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17562 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17564 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17566 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17568 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17569 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17571 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17574 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17575 * sysdeps/i386/fpu/Implies: New file.
17576 * sysdeps/x86_64/fpu/Implies: Likewise.
17577 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17578 * sysdeps/x86/fpu/bits/fenv.h: This.
17580 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17583 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17586 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17587 character 0xffff that matches the last element of the
17590 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17595 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17598 values higher than 25.6283.
17600 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17602 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17603 subnormal exponent extraction and add some __builtin_expect.
17604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17605 Fix for subnormal mantissa calculation.
17607 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17609 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17610 cpu2 is -1 and errno is not ENOSYS.
17612 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17615 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17616 * sysdeps/x86/bits/string.h: This.
17617 * sysdeps/x86_64/bits/string.h: Removed.
17619 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17620 if not compiling for x86-64, but compiling for >= i486.
17622 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17623 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17625 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17626 New macro from Linux kernel 3.4.0.
17627 (FP_XSTATE_MAGIC2): Likewise.
17628 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17629 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17630 (struct _fpx_sw_bytes): New struct.
17631 (struct _xsave_hdr): Likewise.
17632 (struct _ymmh_state): Likewise.
17633 (struct _xstate): Likewise.
17635 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17636 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17637 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17638 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17639 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17640 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17642 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17643 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17644 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17645 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17646 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17647 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17649 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17652 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17653 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17654 (sysdep_headers): Include sys/platform/ppc.h.
17655 * sysdeps/powerpc/test-gettimebase.c: Test for
17656 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17657 * manual/Makefile (appendices): Include platform.texi.
17658 * manual/contrib.texi (Contributors): Update @node pointers.
17659 * manual/maint.texi (Maintenance): Likewise.
17660 (Platform): New node.
17661 * manual/platform.texi: New file. Document the new features.
17663 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17664 Jakub Jelinek <jakub@redhat.com>
17667 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17668 where __builtin_expect is unavailable.
17670 2012-06-03 David S. Miller <davem@davemloft.net>
17672 * stdlib/longlong.h: Updated from GCC.
17674 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17677 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17678 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17681 (GLIBC_2.16): Likewise.
17683 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17685 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17687 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17690 (default-abi): New variable.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17692 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17694 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17696 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17698 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17701 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17702 definition. Document in comment.
17704 2012-06-01 David S. Miller <davem@davemloft.net>
17706 * stdlib/longlong.h: Updated from GCC.
17708 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17711 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17712 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17713 sys/debugreg.h sys/io.h here.
17714 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17715 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17717 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17718 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17719 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17720 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17721 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17722 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17724 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17725 Define only if __x86_64__ is defined.
17727 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17730 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17731 Use int64_t for variable i.
17732 * math/libm-test.inc (fmod_test): Add more tests.
17734 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17735 z computation is not scheduled after fetestexcept.
17736 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17737 Use math_force_eval instead of asm to ensure calculation scheduled
17738 before exception test.
17739 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17740 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17742 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17745 computation is not scheduled after fetestexcept.
17747 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17750 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17751 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17753 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17755 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17756 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17758 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17761 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17763 (__WCHAR_MIN): Support __WORDSIZE == 64.
17764 (__WCHAR_MAX): Likewise.
17766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17767 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17770 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17771 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17774 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17775 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17777 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17778 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17780 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17781 Defined to 1 if __x86_64__ isn't defined.
17782 (_STAT_VER_LINUX_OLD): New.
17783 (st_atime): Remove duplicate.
17784 (st_mtime): Likewise.
17785 (st_ctime): Likewise.
17787 2012-05-31 David S. Miller <davem@davemloft.net>
17789 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17792 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17794 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17798 * elf/dl-reloc.c: Include <_itoa.h>.
17799 (_dl_reloc_bad_type): Remove use of INTUSE.
17800 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17801 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17802 * stdio-common/psiginfo.c (psiginfo): Likewise.
17803 * stdio-common/psignal.c (psignal): Likewise.
17804 * string/strsignal.c (strsignal): Likewise.
17805 * include/signal.h (_sys_siglist): Declare hidden proto.
17806 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17807 INTVARDEF with libc_hidden_data_def.
17808 * stdio-common/itoa-udigits.c: Likewise.
17809 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17810 (_itoa_lower_digits_internal): Remove declaration.
17811 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17812 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17813 (_sys_sigabbrev_internal): Remove aliases.
17814 (_sys_siglist): Define hidden alias.
17816 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17821 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17824 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17825 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17827 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17828 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17829 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17830 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17831 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17832 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17834 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17835 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17836 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17838 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17846 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17848 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17850 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17851 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17852 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17853 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17854 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17855 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17857 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17858 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17860 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17861 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17865 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17867 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17868 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17870 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17872 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17873 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17874 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17876 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17878 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17880 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17882 * math/math.h (M_El): Use two more decimal places.
17883 (M_LOG2El): Likewise.
17884 (M_LOG10El): Likewise.
17885 (M_LN2l): Likewise.
17886 (M_LN10l): Likewise.
17888 (M_PI_2l): Likewise.
17889 (M_PI_4l): Likewise.
17890 (M_1_PIl): Likewise.
17891 (M_2_PIl): Likewise.
17892 (M_2_SQRTPIl): Likewise.
17893 (M_SQRT2l): Likewise.
17894 (M_SQRT1_2l): Likewise.
17896 2012-05-31 David S. Miller <davem@davemloft.net>
17898 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17899 values between float registers.
17900 * sysdeps/sparc/sparc64/memset.S: Likewise.
17901 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17903 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17905 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17906 -D_FORTIFY_SOURCE=1.
17907 (CPPFLAGS-tst-longjmp_chk.c): Define.
17908 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17909 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17910 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17911 CFLAGS-tst-wchar-h.c.
17913 2012-05-31 Marek Polacek <polacek@redhat.com>
17916 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17917 __endmntent_internal): Remove declaration.
17918 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17919 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17920 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17922 2012-05-30 David S. Miller <davem@davemloft.net>
17924 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17925 (___Q_simulate_exceptions): Use real FP ops rather than writing
17927 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17930 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17933 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17934 * sysdeps/x86/bits/xtitypes.h: This.
17936 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17937 * sysdeps/x86/bits/wordsize.h: This.
17939 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17940 * sysdeps/x86/bits/huge_vall.h: This.
17942 * sysdeps/i386/bits/select.h: Removed.
17943 * sysdeps/x86_64/bits/select.h: Renamed to ...
17944 * sysdeps/x86/bits/select.h: This.
17946 * sysdeps/i386/bits/setjmp.h: Removed.
17947 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17948 * sysdeps/x86/bits/setjmp.h: This.
17950 * sysdeps/i386/bits/mathdef.h: Removed.
17951 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17952 * sysdeps/x86/bits/mathdef.h: This.
17954 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17957 * include/sys/socket.h (__connect_internal)
17958 (__libc_sa_len_internal): Remove declaration.
17959 (__connect, __libc_sa_len): Declare hidden_proto.
17960 (SA_LEN): Remove use of INTUSE.
17961 * socket/connect.c: Add libc_hidden_def.
17962 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17963 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17964 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17966 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17967 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17968 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17969 of adding _internal alias.
17971 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17974 * sysdeps/i386/bits/link.h: Removed.
17975 * sysdeps/i386/bits/linkmap.h: Likewise.
17976 * sysdeps/x86_64/bits/link.h: Renamed to ...
17977 * sysdeps/x86/bits/link.h: This.
17978 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17979 * sysdeps/x86/bits/linkmap.h: This.
17981 * sysdeps/i386/bits/endian.h: Removed.
17982 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17983 * sysdeps/x86/bits/endian.h: This.
17985 * sysdeps/i386/bits/byteswap.h: Removed.
17986 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17987 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17988 * sysdeps/x86/bits/byteswap.h: This.
17989 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17990 * sysdeps/x86/bits/byteswap-16.h: This.
17991 * sysdeps/i386/Implies: Add x86.
17992 * sysdeps/x86_64/Implies: Likewise.
17994 2012-05-30 David S. Miller <davem@davemloft.net>
17996 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17997 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17999 (FP_TRAPPING_EXCEPTIONS): Define.
18000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18001 (FP_TRAPPING_EXCEPTIONS): Define.
18002 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18003 subnormals only when inexact has been signalled or underflow
18004 exceptions are enabled.
18005 (_FP_PACK_CANONICAL): Likewise.
18007 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18010 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18011 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18013 2012-05-30 Richard Henderson <rth@twiddle.net>
18015 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18016 with #ifndef NOT_IN_libc.
18018 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18019 marked to avoid plt entry.
18021 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18024 * Makeconfig (default-abi): New macro.
18025 (abi-includes): Likewise.
18026 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18027 $(abi-$(default-abi)-lib-soname) for soname if defined.
18028 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18030 * Makefile (installed-stubs): Likewise.
18031 * include/stubs-biarch.h: Removed.
18032 * scripts/lib-names.awk: Only handle one library at a time.
18033 * scripts/soversions.awk: Remove WORDSIZE support.
18034 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18036 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18038 (syscall-list-default-condition): Likewise.
18039 (syscall-list-default-condition): Likewise.
18040 (syscall-list-includes): Likewise.
18041 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18042 syscall-list-* with abi-*. Handle undefined abi-variants.
18043 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18044 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18045 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18046 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18047 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18048 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18050 (syscall-list-32-options): Likewise.
18051 (syscall-list-32-condition): Likewise.
18052 (syscall-list-64-options): Likewise.
18053 (syscall-list-64-condition): Likewise.
18054 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18056 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18059 (abi-64-ld-soname): New macro.
18060 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18061 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18064 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18065 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18067 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18069 * sysdeps/unix/sysv/linux/kernel-features.h
18070 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18071 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18072 include <kernel-features.h>.
18073 [!__NR_ftruncate64]: Remove conditional code.
18074 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18075 [__NR_ftruncate64]: Make code unconditional.
18076 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18077 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18078 include <kernel-features.h>.
18079 [!__NR_ftruncate64]: Remove conditional code.
18080 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18081 [__NR_ftruncate64]: Make code unconditional.
18082 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18084 include <kernel-features.h>.
18085 [!__NR_ftruncate64]: Remove conditional code.
18086 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18087 [__NR_ftruncate64]: Make code unconditional.
18088 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18090 include <kernel-features.h>.
18091 [!__NR_ftruncate64]: Remove conditional code.
18092 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18093 [__NR_ftruncate64]: Make code unconditional.
18094 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18096 * configure.in (libc_cv_fpie): Weaken to a compile test using
18097 LIBC_TRY_CC_OPTION.
18098 * configure: Regenerated.
18100 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18115 2012-05-27 David S. Miller <davem@davemloft.net>
18117 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18119 (__Q_simulate_exceptions): Return void. Change to simulate
18120 exceptions by writing into the %fsr.
18121 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18122 (__Qp_handle_exceptions): Likewise.
18124 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18125 __Qp_handle_exceptions.
18126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18127 __Qp_handle_exceptions.
18128 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18129 as unused and give dummy FP_RND_NEAREST initializer.
18130 (FP_INHIBIT_RESULTS): Define.
18131 (___Q_simulate_exceptions): Update declaration.
18132 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18134 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18135 as unused and give dummy FP_RND_NEAREST initializer.
18136 (__Qp_handle_exceptions): Update declaration.
18137 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18140 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18142 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18143 the temporary FPU control word.
18144 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18145 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18146 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18147 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18148 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18149 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18150 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18151 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18152 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18153 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18154 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18156 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18158 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18161 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18163 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18164 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18165 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18166 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18168 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18169 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18172 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18174 * po/h.po: Update from translation team.
18176 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18178 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18180 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18181 handling of denormals.
18182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18183 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18184 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18187 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18191 2012-05-26 Marek Polacek <polacek@redhat.com>
18194 * math/libm-test.inc (fma_test): Don't always expect underflow
18197 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18200 * elf/tst-execstack.c: Include stackinfo.h.
18201 (do_test): Adjust test case to ensure that pthread_getattr_np
18202 behaviour remains the same after marking stack executable.
18204 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18206 * sysdeps/unix/sysv/linux/kernel-features.h
18207 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18208 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18210 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18211 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18212 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18214 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18215 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18217 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18219 * configure.in: Define the default includes to being none.
18220 * configure: Regenerated.
18222 2012-05-25 Roland McGrath <roland@hack.frob.com>
18224 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18225 * sysdeps/x86_64/setjmp.S: Likewise.
18226 * sysdeps/i386/bsd-setjmp.S: Likewise.
18227 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18228 * sysdeps/i386/setjmp.S: Likewise.
18229 * sysdeps/i386/__longjmp.S: Likewise.
18230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18231 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18233 * include/stap-probe.h: New file.
18234 * configure.in: Handle --enable-systemtap.
18235 * configure: Regenerated.
18236 * config.h.in (USE_STAP_PROBE): New #undef.
18237 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18238 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18239 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18241 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18244 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18245 to 2.4.0 where earlier.
18246 * sysdeps/unix/sysv/linux/configure: Regenerated.
18247 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18248 <kernel-features.h>.
18249 [__ASSUME_32BITUIDS]: Make code unconditional.
18250 [!__ASSUME_32BITUIDS]: Remove conditional code.
18251 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18252 <kernel-features.h>.
18253 [__ASSUME_32BITUIDS]: Make code unconditional.
18254 [!__ASSUME_32BITUIDS]: Remove conditional code.
18255 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18256 [__ASSUME_32BITUIDS]: Make code unconditional.
18257 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18258 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18259 <kernel-features.h>.
18260 [__ASSUME_32BITUIDS]: Make code unconditional.
18261 [!__ASSUME_32BITUIDS]: Remove conditional code.
18262 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
18271 <kernel-features.h>.
18272 [__ASSUME_32BITUIDS]: Make code unconditional.
18273 [!__ASSUME_32BITUIDS]: Remove conditional code.
18274 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18275 <kernel-features.h>.
18276 [__ASSUME_32BITUIDS]: Make code unconditional.
18277 [!__ASSUME_32BITUIDS]: Remove conditional code.
18278 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18279 <kernel-features.h>.
18280 [__ASSUME_32BITUIDS]: Make code unconditional.
18281 [!__ASSUME_32BITUIDS]: Remove conditional code.
18282 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18283 <kernel-features.h>.
18284 [__ASSUME_32BITUIDS]: Make code unconditional.
18285 [!__ASSUME_32BITUIDS]: Remove conditional code.
18286 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18287 <kernel-features.h>.
18288 [__ASSUME_32BITUIDS]: Make code unconditional.
18289 [!__ASSUME_32BITUIDS]: Remove conditional code.
18290 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18291 <kernel-features.h>.
18292 [__ASSUME_32BITUIDS]: Make code unconditional.
18293 [!__ASSUME_32BITUIDS]: Remove conditional code.
18294 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18295 <kernel-features.h>.
18296 [__ASSUME_32BITUIDS]: Make code unconditional.
18297 [!__ASSUME_32BITUIDS]: Remove conditional code.
18298 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18299 <kernel-features.h>.
18300 [__NR_setresgid] (__setresgid): Do not declare.
18301 [__ASSUME_32BITUIDS]: Make code unconditional.
18302 [!__ASSUME_32BITUIDS]: Remove conditional code.
18303 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18304 <kernel-features.h>.
18305 [__NR_setresuid] (__setresuid): Do not declare.
18306 [__ASSUME_32BITUIDS]: Make code unconditional.
18307 [!__ASSUME_32BITUIDS]: Remove conditional code.
18308 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18309 <kernel-features.h>.
18310 [__ASSUME_32BITUIDS]: Make code unconditional.
18311 [!__ASSUME_32BITUIDS]: Remove conditional code.
18312 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18313 <kernel-features.h>.
18314 [__ASSUME_32BITUIDS]: Make code unconditional.
18315 [!__ASSUME_32BITUIDS]: Remove conditional code.
18316 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18317 <kernel-features.h>.
18318 [__ASSUME_32BITUIDS]: Make code unconditional.
18319 [!__ASSUME_32BITUIDS]: Remove conditional code.
18320 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18321 <kernel-features.h>.
18322 [__ASSUME_32BITUIDS]: Make code unconditional.
18323 [!__ASSUME_32BITUIDS]: Remove conditional code.
18324 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18325 <kernel-features.h>.
18326 [__ASSUME_32BITUIDS]: Make code unconditional.
18327 [!__ASSUME_32BITUIDS]: Remove conditional code.
18328 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18329 <kernel-features.h>.
18330 [__ASSUME_32BITUIDS]: Make code unconditional.
18331 [!__ASSUME_32BITUIDS]: Remove conditional code.
18332 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18333 <kernel-features.h>.
18334 [__ASSUME_32BITUIDS]: Make code unconditional.
18335 [!__ASSUME_32BITUIDS]: Remove conditional code.
18336 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18337 <kernel-features.h>.
18338 [__ASSUME_32BITUIDS]: Make code unconditional.
18339 [!__ASSUME_32BITUIDS]: Remove conditional code.
18340 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18341 <kernel-features.h>.
18342 [__ASSUME_32BITUIDS]: Make code unconditional.
18343 [!__ASSUME_32BITUIDS]: Remove conditional code.
18344 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18345 <kernel-features.h>.
18346 [__ASSUME_32BITUIDS]: Make code unconditional.
18347 [!__ASSUME_32BITUIDS]: Remove conditional code.
18348 * sysdeps/unix/sysv/linux/kernel-features.h
18349 (__ASSUME_SETRESUID_SYSCALL): Remove.
18350 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18351 (__ASSUME_32BITUIDS): Likewise.
18352 (__ASSUME_LDT_WORKS): Likewise.
18353 (__ASSUME_O_DIRECTORY): Likewise.
18354 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18355 architecture but not kernel version.
18356 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18357 (__ASSUME_MMAP2_SYSCALL): Likewise.
18358 (__ASSUME_STAT64_SYSCALL): Likewise.
18359 (__ASSUME_IPC64): Likewise.
18360 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18361 <kernel-features.h>.
18362 [__ASSUME_32BITUIDS]: Make code unconditional.
18363 [!__ASSUME_32BITUIDS]: Remove conditional code.
18364 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18365 <kernel-features.h>.
18366 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18367 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18368 132096]: Remove conditional code.
18369 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18370 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18371 <kernel-features.h>.
18372 [__ASSUME_32BITUIDS]: Make code unconditional.
18373 [!__ASSUME_32BITUIDS]: Remove conditional code.
18374 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18375 <kernel-features.h>.
18376 [__ASSUME_32BITUIDS]: Make code unconditional.
18377 [!__ASSUME_32BITUIDS]: Remove conditional code.
18378 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18379 <kernel-features.h>.
18380 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18382 (__setresgid): Do not declare.
18383 [__ASSUME_32BITUIDS]: Make code unconditional.
18384 [!__ASSUME_32BITUIDS]: Remove conditional code.
18385 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18386 <kernel-features.h>.
18387 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18389 (__setresuid): Do not declare.
18390 [__ASSUME_32BITUIDS]: Make code unconditional.
18391 [!__ASSUME_32BITUIDS]: Remove conditional code.
18392 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18393 <kernel-features.h>.
18394 [__ASSUME_32BITUIDS]: Make code unconditional.
18395 [!__ASSUME_32BITUIDS]: Remove conditional code.
18396 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18397 <kernel-features.h>.
18398 [__ASSUME_32BITUIDS]: Make code unconditional.
18399 [!__ASSUME_32BITUIDS]: Remove conditional code.
18401 2012-05-25 Richard Henderson <rth@twiddle.net>
18403 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18404 dl_hwcap to ifunc resolver.
18405 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18407 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18408 dl_hwcap to ifunc resolver.
18409 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18411 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18414 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18415 for |x| <= 2**-26, not 2**-57.
18416 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18419 2012-05-24 Jeff Law <law@redhat.com>
18421 * stdio-common/Makefile (tests): Add bug25.
18422 * stdio-common/bug25.c: New test.
18424 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18427 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18428 multiple of MALLOC_ALIGNMENT in size.
18429 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18431 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18433 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18435 (FILENAME_MAX): Use macro-int-constant.
18436 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18437 (_IOFBF): Use macro-int-constant.
18438 (_IOLBF): Likewise.
18439 (_IONBF): Likewise.
18440 (SEEK_CUR): Likewise.
18441 (SEEK_END): Likewise.
18442 (SEEK_SET): Likewise.
18443 (TMP_MAX): Likewise.
18444 (EOF): Use macro-int-constant. Require < 0.
18445 (NULL): Use macro-constant. Require == 0.
18446 (stdin): Require type to be FILE *.
18447 (stdout): Likewise.
18448 (stderr): Likewise.
18449 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18450 macro-int-constant.
18451 (EXIT_SUCCESS): Likewise.
18452 (NULL): Use macro-constant. Require == 0.
18453 (RAND_MAX): Use macro-int-constant.
18454 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18455 [C99-based standards] (strtof): Require function.
18456 [C99-based standards] (strtold): Likewise.
18457 [C99-based standards] (strtoll): Likewise.
18458 [C99-based standards] (strtoull): Likewise.
18459 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18460 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18461 [ISO || ISO99 || ISO11] (math.h): Likewise.
18462 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18463 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18466 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18469 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18470 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18471 * intl/dgettext.c (DCGETTEXT): Likewise.
18472 * intl/gettext.c (DCGETTEXT): Likewise.
18473 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18474 * posix/regex_internal.h (gettext): Likewise.
18475 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18476 Remove declaration.
18477 * include/argz.h (__argz_count_internal)
18478 (__argz_stringify_internal): Remove declaration.
18479 (__argz_count, __argz_stringify): Declare hidden proto.
18480 * intl/dcgettext.c: Remove use of INTDEF.
18481 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18482 * string/argz-stringify.c: Likewise.
18483 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18484 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18485 Declare hidden proto.
18486 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18487 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18488 Declare hidden proto.
18489 * include/stdio.h (__asprintf_internal): Don't declare.
18490 (__asprintf): Don't define as macro. Declare hidden proto.
18491 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18492 (__fsetlocking): Declare hidden proto.
18493 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18494 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18496 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18497 (_IO_setlinebuf): Remove use of INTUSE.
18498 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18499 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18500 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18501 Remove declaration.
18502 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18503 (_IO_do_flush): Remove use of INTUSE.
18504 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18505 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18506 (_IO_adjust_column, _IO_least_wmarker)
18507 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18508 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18509 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18510 (_IO_default_doallocate, _IO_wdefault_doallocate)
18511 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18512 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18513 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18514 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18515 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18516 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18517 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18518 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18519 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18520 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18521 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18522 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18523 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18525 (_IO_flush_all_internal, _IO_adjust_column_internal)
18526 (_IO_default_uflow_internal, _IO_default_finish_internal)
18527 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18528 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18529 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18530 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18531 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18532 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18533 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18534 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18535 (_IO_file_close_internal, _IO_file_close_it_internal)
18536 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18537 (_IO_file_init_internal, _IO_file_attach_internal)
18538 (_IO_file_fopen_internal, _IO_file_read_internal)
18539 (_IO_file_sync_internal, _IO_file_seek_internal)
18540 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18541 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18542 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18543 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18544 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18545 (_IO_list_all_internal, _IO_link_in_internal)
18546 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18547 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18548 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18549 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18550 (_IO_do_write_internal, _IO_padn_internal)
18551 (_IO_getline_info_internal, _IO_getline_internal)
18552 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18553 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18554 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18555 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18556 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18557 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18558 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18559 with libc_hidden_ver, remove use of INTUSE.
18560 * libio/genops.c: Likewise.
18561 * libio/freopen.c: Likewise.
18562 * libio/freopen64.c: Likewise.
18563 * libio/iofclose.c: Likewise.
18564 * libio/iofdopen.c: Likewise.
18565 * libio/iofflush.c: Likewise.
18566 * libio/iofflush_u.c: Likewise.
18567 * libio/iofgets.c: Likewise.
18568 * libio/iofgets_u.c: Likewise.
18569 * libio/iofopen.c: Likewise.
18570 * libio/iofopncook.c: Likewise.
18571 * libio/iofread.c: Likewise.
18572 * libio/iofread_u.c: Likewise.
18573 * libio/ioftell.c: Likewise.
18574 * libio/iofwrite.c: Likewise.
18575 * libio/iogetline.c: Likewise.
18576 * libio/iogets.c: Likewise.
18577 * libio/iogetwline.c: Likewise.
18578 * libio/iopadn.c: Likewise.
18579 * libio/iopopen.c: Likewise.
18580 * libio/ioseekoff.c: Likewise.
18581 * libio/ioseekpos.c: Likewise.
18582 * libio/iosetbuffer.c: Likewise.
18583 * libio/iosetvbuf.c: Likewise.
18584 * libio/ioungetc.c: Likewise.
18585 * libio/ioungetwc.c: Likewise.
18586 * libio/iovdprintf.c: Likewise.
18587 * libio/iovsprintf.c: Likewise.
18588 * libio/iovsscanf.c: Likewise.
18589 * libio/memstream.c: Likewise.
18590 * libio/obprintf.c: Likewise.
18591 * libio/oldfileops.c: Likewise.
18592 * libio/oldiofclose.c: Likewise.
18593 * libio/oldiofdopen.c: Likewise.
18594 * libio/oldiofopen.c: Likewise.
18595 * libio/oldiopopen.c: Likewise.
18596 * libio/oldstdfiles.c: Likewise.
18597 * libio/putc.c: Likewise.
18598 * libio/setbuf.c: Likewise.
18599 * libio/setlinebuf.c: Likewise.
18600 * libio/stdfiles.c: Likewise.
18601 * libio/strops.c: Likewise.
18602 * libio/vasprintf.c: Likewise.
18603 * libio/vscanf.c: Likewise.
18604 * libio/vsnprintf.c: Likewise.
18605 * libio/vswprintf.c: Likewise.
18606 * libio/wfiledoalloc.c: Likewise.
18607 * libio/wfileops.c: Likewise.
18608 * libio/wgenops.c: Likewise.
18609 * libio/wmemstream.c: Likewise.
18610 * libio/wstrops.c: Likewise.
18611 * libio/__fpurge.c: Likewise.
18612 * libio/__fsetlocking.c: Likewise.
18613 * assert/assert.c: Likewise.
18614 * debug/fgets_chk.c: Likewise.
18615 * debug/fgets_u_chk.c: Likewise.
18616 * debug/fread_chk.c: Likewise.
18617 * debug/fread_u_chk.c: Likewise.
18618 * debug/gets_chk.c: Likewise.
18619 * debug/obprintf_chk.c: Likewise.
18620 * debug/vasprintf_chk.c: Likewise.
18621 * debug/vdprintf_chk.c: Likewise.
18622 * debug/vsnprintf_chk.c: Likewise.
18623 * debug/vsprintf_chk.c: Likewise.
18624 * malloc/mtrace.c: Likewise.
18625 * misc/error.c: Likewise.
18626 * misc/syslog.c: Likewise.
18627 * stdio-common/asprintf.c: Likewise.
18628 * stdio-common/fxprintf.c: Likewise.
18629 * stdio-common/getw.c: Likewise.
18630 * stdio-common/isoc99_fscanf.c: Likewise.
18631 * stdio-common/isoc99_scanf.c: Likewise.
18632 * stdio-common/isoc99_vfscanf.c: Likewise.
18633 * stdio-common/isoc99_vscanf.c: Likewise.
18634 * stdio-common/isoc99_vsscanf.c: Likewise.
18635 * stdio-common/printf-prs.c: Likewise.
18636 * stdio-common/printf_fp.c: Likewise.
18637 * stdio-common/printf_fphex.c: Likewise.
18638 * stdio-common/printf_size.c: Likewise.
18639 * stdio-common/putw.c: Likewise.
18640 * stdio-common/scanf.c: Likewise.
18641 * stdio-common/sprintf.c: Likewise.
18642 * stdio-common/tmpfile.c: Likewise.
18643 * stdio-common/vfprintf.c: Likewise.
18644 * stdio-common/vfscanf.c: Likewise.
18645 * stdlib/strfmon_l.c: Likewise.
18646 * sunrpc/openchild.c: Likewise.
18647 * sunrpc/xdr_stdio.c: Likewise.
18648 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18649 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18651 2012-05-24 Roland McGrath <roland@hack.frob.com>
18653 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18655 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18656 in the third column, to generate for the shared library an IFUNC
18657 that uses _dl_vdso_vsym.
18658 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18659 * Makeconfig (object-suffixes-noshared): New variable.
18661 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18662 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18663 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18664 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18667 * include/sys/time.h (__gettimeofday): Remove macro.
18668 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18669 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18671 (__gettimeofday): Add libc_hidden_def.
18672 (gettimeofday): Add libc_hidden_weak.
18673 * sysdeps/mach/gettimeofday.c: Likewise.
18674 * sysdeps/posix/gettimeofday.c: Likewise.
18675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18676 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18678 (__gettimeofday_internal): Remove strong_alias.
18679 (__gettimeofday): Add libc_hidden_def.
18680 (gettimeofday): Add libc_hidden_weak.
18681 * sysdeps/unix/syscalls.list (gettimeofday):
18682 Remove __gettimeofday_internal alias.
18684 2012-05-24 Daniel Jacobowitz <drow@false.org>
18685 H.J. Lu <hongjiu.lu@intel.com>
18688 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18689 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18690 (largebin_index_32_big): New.
18691 (largebin_index): Use it for 16-byte alignment.
18692 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18693 correction with front_misalign.
18695 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18723 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18724 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18726 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18730 * math/libm-test.inc (exp_test): Add test from bug 14036.
18731 (pow_test): Add test from bug 10846.
18733 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18735 (special_function): Do not include flags in test name.
18736 (parse_args): Likewise.
18737 * sysdeps/i386/fpu/libm-test-ulps: Update.
18738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18739 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18740 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18743 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18745 * math/libm-test.inc ("Philosophy"): Update comment about
18747 (UNDERFLOW_EXCEPTION): New macro.
18748 (UNDERFLOW_EXCEPTION_OK): Likewise.
18749 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18750 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18751 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18752 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18753 (INVALID_EXCEPTION_OK): Update value.
18754 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18755 (OVERFLOW_EXCEPTION_OK): Likewise.
18756 (IGNORE_ZERO_INF_SIGN): Likewise.
18757 (test_exceptions): Handle underflow exceptions.
18758 (acos_test): Update for underflow exception expectations.
18759 (cexp_test): Likewise.
18760 (clog_test): Likewise.
18761 (clog10_test): Likewise.
18762 (csqrt_test): Likewise.
18763 (ctan_test): Likewise.
18764 (ctanh_test): Likewise.
18765 (exp_test): Likewise.
18766 (exp10_test): Likewise.
18767 (exp2_test): Likewise.
18768 (expm1_test): Likewise.
18769 (fma_test): Likewise.
18770 (j0_test): Likewise.
18771 (jn_test): Likewise.
18772 (nexttoward_test): Likewise.
18773 (pow_test): Likewise.
18774 (scalbn_test): Likewise.
18775 (scalbln_test): Likewise.
18776 (tan_test): Likewise.
18777 (y1_test): Likewise.
18778 * sysdeps/i386/fpu/libm-test-ulps: Update.
18779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18781 2012-05-23 David S. Miller <davem@davemloft.net>
18783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18784 (__libc_sigaction): Remove unused local variables.
18786 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18788 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18790 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18792 mktime: avoid signed integer overflow
18793 * time/mktime.c (__mktime_internal): Do not mishandle the case
18794 where diff == INT_MIN.
18796 mktime: simplify computation of average
18797 * time/mktime.c (ranged_convert): Use new time_t_avg function
18798 instead of rolling our own (probably-slower) code.
18800 mktime: do not assume signed right shift propagates sign bit
18801 * time/mktime.c (isdst_differ): New static function.
18802 (__mktime_internal): No need to normalize tm_isdst now.
18803 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18806 mktime: merge another wrapv change from gnulib
18807 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18808 from some compilers.
18810 mktime: remove incorrect attempt at unusual arithmetics
18811 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18812 The code didn't really work on such machines anyway.
18813 (TYPE_MINIMUM): Assume two's complement.
18814 (twos_complement_arithmetic): Verify that long_int and time_t
18815 are two's complement (or unsigned, in the latter case).
18817 mktime: check signed shifts on long_int and time_t, too
18818 * time/mktime.c (SHR): Check that shifts work as desired
18819 on the types long_int and time_t too, as SHR is used on
18822 mktime: do not assume 'long' is wide enough
18823 * time/mktime.c (verify): Move decl up.
18824 (long_int): New type.
18825 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18826 to remove assumption in the code that 'long' is wide enough to
18827 store year values. This assumption is not true on x32 and on
18828 some non-glibc platforms.
18830 mktime: merge wrapv change from gnulib
18831 * time/mktime.c (WRAPV): New macro.
18832 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18833 (guess_time_tm, __mktime_internal): Do not assume that signed
18834 integer overflow wraps around; modern compilers generate code
18835 where this assumption is no longer valid.
18837 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18839 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18840 Replace "jmp L(pseudo_end)" with "ret".
18841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18844 2012-05-23 Andreas Jaeger <aj@suse.de>
18846 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18847 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18849 2012-05-23 Andreas Jaeger <aj@suse.de>
18850 Maximilian Attems <max@stro.at>
18852 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18855 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18857 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18858 code so that pseudo_end is just ret and the stack pointer is
18859 correct also for static library in error case.
18861 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18863 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18864 move to syscalls.list.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18870 * manual/install.texi (Running make install): Do not mention Linux
18871 kernel version for which pt_chown is not needed.
18872 (Linux): Do not mention problems with nscd with 2.0 kernels.
18873 * INSTALL: Regenerated.
18875 2012-05-23 Andreas Jaeger <aj@suse.de>
18877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18878 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18880 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18881 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18882 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18883 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18884 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18890 * sysdeps/unix/sysv/linux/bits/in.h
18891 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18893 2012-05-22 Roland McGrath <roland@hack.frob.com>
18895 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18896 (PREPARE_VERSION): Just use assert instead, it will be elided
18897 under [NDEBUG] anyway.
18899 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18901 * sysdeps/unix/sysv/linux/Makefile: Include
18902 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18903 (sysdep_routines): Remove sysctl.
18904 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18905 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18906 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18907 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18908 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18910 2012-05-22 Andreas Jaeger <aj@suse.de>
18912 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18913 that pseudo_end is just ret and the stack pointer is correct also
18914 for static library in error case.
18916 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18919 * nss/nsswitch.c (defconfig_entries): New variable.
18920 (__nss_database_lookup): Don't leak defconfig entries.
18921 (nss_parse_service_list): Don't leak on error paths.
18922 (free_database_entries): New function.
18923 (free_defconfig): New function.
18924 (free_mem): Move common code to free_database_entries.
18926 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18928 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18930 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18932 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18933 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18936 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18937 (INTERNAL_SYSCALL_TYPES): Likewise.
18938 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18939 (LOAD_REGS_TYPES_[1-6]): Likewise.
18940 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18941 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18943 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18946 copysignl for GLIBC_2_0.
18947 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18948 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18950 logbl for GLIBC_2_0.
18951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18952 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18954 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18957 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18959 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18962 * time/mktime.c: Update copyright years.
18964 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18966 mktime: merge comment-quoting-style change from gnulib
18967 * time/mktime.c: Quote 'like this' in comments.
18968 The GNU coding standards suggest that we no longer quote `like this',
18969 as "`" and "'" are typically rendered asymmetrically nowadays.
18970 The typical gnulib style is to quote 'like this' when quoting
18971 code, and "like this" when quoting English.
18973 * time/mktime.c (compile-command): Add "-I.".
18975 mktime: merge mktime-internal.h change from gnulib
18976 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18978 mktime: merge time_r change from gnulib
18979 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18981 mktime: merge DEBUG change from gnulib
18982 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18983 case system <time.h> has a #define.
18985 mktime: merge <sys/types.h> change from gnulib
18986 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18987 since <time.t> is now guaranteed to define time_t.
18989 mktime: merge HAVE_CONFIG_H change from gnulib
18990 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18992 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18997 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18999 (struct rusage): Use anonymous union to pad each field to
19002 2012-05-21 David S. Miller <davem@davemloft.net>
19004 * Makefules (o-iterator): Remove .s cases.
19005 (compile-command.s): Delete.
19006 (COMPILE.s): Delete.
19007 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19009 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19011 * configure.in (libc_cv_predef_stack_protector): Only consider
19012 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19013 * configure: Regenerated.
19015 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19018 New macro. Use R*LP on int and pointer.
19019 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19020 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19021 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19022 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19024 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19025 [__WORDSIZE_TIME64_COMPAT32] instead of
19026 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19027 (struct utmp): Likewise.
19028 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19029 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19031 (__WORDSIZE_TIME64_COMPAT32): This.
19032 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19033 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19034 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19035 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19036 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19037 (__WORDSIZE_TIME64_COMPAT32): New macro.
19039 2012-05-21 Andreas Jaeger <aj@suse.de>
19041 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19042 only if [SHARED]. Add prototype for __wcschr_ia32.
19044 2012-05-21 Roland McGrath <roland@hack.frob.com>
19046 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19047 of %rbp unmolested in the jmp_buf while mangling the low bits.
19048 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19049 unmolested high bits of %rbp while demangling the low bits.
19050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19052 2012-05-21 Andreas Jaeger <aj@suse.de>
19054 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19055 * sunrpc/svc_simple.c: Use it for registerrpc.
19056 * sunrpc/xcrypt.c: Use it for passwd2des.
19058 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19060 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19062 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19063 Don't define if [__SYSCALL_WORDSIZE != 32].
19064 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19067 2012-05-21 Bruno Haible <bruno@clisp.org>
19068 Andreas Jaeger <aj@suse.de>
19070 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19071 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19072 inptr and inend for must_buffer_ch.
19073 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19074 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19075 * stdio-common/Makefile (tests): Remove bug15.
19076 (bug15-ENV): Remove macro.
19077 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19080 2012-05-19 Andreas Jaeger <aj@suse.de>
19081 Roland McGrath <roland@hack.frob.com>
19083 * manual/contrib.texi: Completely rewritten. It contains now an
19084 alphabetical list of contributors and their contributions.
19086 2012-05-21 Richard Henderson <rth@twiddle.net>
19088 * misc/getauxval.c (__getauxval): Use unsigned long int.
19089 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19090 (getauxval): Use unsigned long int.
19092 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19094 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19096 2012-05-21 Roland McGrath <roland@hack.frob.com>
19098 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19099 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19100 __alignof__ (long double).
19102 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19106 2012-05-20 Richard Henderson <rth@twiddle.net>
19108 * misc/getauxval.c: New file.
19109 * misc/sys/auxv.h: New file.
19110 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19111 (routines): Add getauxval.
19112 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19113 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19114 * elf/dl-sysdep.c (_dl_auxv): Remove.
19115 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19116 * elf/dl-support.c (_dl_auxv): New variable.
19117 (_dl_aux_init): Initialize it.
19118 * manual/startup.texi (Auxiliary Vector): New node.
19119 * sysdeps/generic/bits/hwcap.h: New file.
19120 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19121 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19122 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19123 * sysdeps/sparc/sysdep.h: ... here. Include it.
19124 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19125 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19137 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19141 2012-05-19 David S. Miller <davem@davemloft.net>
19143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19145 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19148 * math/s_ccosh.c: Include <float.h>
19149 (__ccosh): Avoid internal overflow calculating sinh and cosh
19150 values before multiplying by sin and cos values.
19151 * math/s_ccoshf.c: Likewise.
19152 * math/s_ccoshl.c: Likewise.
19153 * math/s_csin.c: Likewise.
19154 * math/s_csinf.c: Likewise.
19155 * math/s_csinl.c: Likewise.
19156 * math/s_csinh.c: Likewise.
19157 * math/s_csinhf.c: Likewise.
19158 * math/s_csinhl.c: Likewise.
19159 * math/libm-test.inc (ccos_test): Add more tests.
19160 (ccosh_test): Likewise.
19161 (csin_test): Likewise.
19162 (csinh_test): Likewise.
19163 * sysdeps/i386/fpu/libm-test-ulps: Update.
19164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19166 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19168 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19169 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19171 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19173 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19175 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19176 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19177 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19178 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19179 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19180 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19181 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19182 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19183 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19184 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19185 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19186 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19187 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19188 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19189 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19190 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19191 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19192 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19193 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19194 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19195 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19196 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19197 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19198 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19199 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19200 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19201 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19202 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19203 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19204 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19205 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19207 2012-05-18 Andreas Jaeger <aj@suse.de>
19209 * csu/.gitignore: Delete.
19211 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19213 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19214 (timex): Use __syscall_slong_t.
19216 2012-05-18 Andreas Jaeger <aj@suse.de>
19217 Carlos O'Donell <carlos_odonell@mentor.com>
19219 * manual/install.texi (Configuring and compiling): Update
19220 description about files modified in the source directory.
19221 * INSTALL: Regenerated.
19223 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19225 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19226 value. Use "or" to set return value to -1.
19227 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19228 negate return value.
19230 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19232 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19233 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19234 failure if the compiler has Graphite support disabled.
19235 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19237 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19238 CFLAGS-memmove.c): Likewise.
19239 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19242 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19244 * sysdeps/x86_64/x32/_itoa.h: New file.
19246 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19247 getdents system call only if kernel and user dirents have the
19248 same d_ino and d_off.
19250 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19251 LLONG_MAX != LONG_MAX.
19252 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19253 (_fitoa_word): Likewise.
19255 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19257 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19258 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19259 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19261 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19262 include <bits/wordsize.h>. Check __x86_64__ instead of
19264 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19265 if __x86_64__ is defined. Use anonymous union on fpstate.
19267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19270 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19272 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19273 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19274 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19275 Refer to _rtld_local_ro instead of _rtld_global_ro.
19276 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19278 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19280 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19282 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19283 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19284 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19286 * sysdeps/powerpc/powerpc32/dl-machine.c
19287 (__elf_machine_runtime_setup) [PROF]: Don't reference
19290 2012-05-18 Andreas Jaeger <aj@suse.de>
19292 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19293 function only available for GCCs before 3.4 since GCC 3.4
19294 introduced a builtin.
19296 (llrintf): Likewise.
19297 (llrint): Likewise.
19304 (nearbyint): Likewise.
19305 (nearbyintf): Likewise.
19309 (floorf): Likewise.
19311 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19313 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19314 on both fields and cast pointer to __syscall_ulong_t.
19316 * bits/types.h (__fsword_t): New type.
19317 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19318 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19320 (__FSWORD_T_TYPE): Likewise.
19321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19322 (__FSWORD_T_TYPE): Likewise.
19323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19324 (__FSWORD_T_TYPE): Likewise.
19325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19326 (__FSWORD_T_TYPE): Likewise.
19327 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19328 __SWORD_TYPE with __fsword_t.
19329 (statfs64): Likewise.
19331 2012-05-17 David S. Miller <davem@davemloft.net>
19333 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19335 2012-05-17 Andreas Jaeger <aj@suse.de>
19337 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19340 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19342 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19344 2012-05-17 Andreas Jaeger <aj@suse.de>
19346 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19349 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19351 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19353 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19355 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19356 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19358 2012-05-17 Andreas Jaeger <aj@suse.de>
19359 Carlos O'Donell <carlos_odonell@mentor.com>
19362 * sysdeps/x86_64/multiarch/init-arch.h
19363 (bit_YMM_Usable): Rename to...
19364 (bit_AVX_Usable): ... this.
19365 (bit_FMA4_Usable): New macro.
19366 (bit_XMM_state): New macro.
19367 (bit_YMM_state): New macro.
19368 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19369 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19370 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19371 (CPUID_OSXSAVE): New macro.
19372 (CPUID_AVX): New macro.
19373 (CPUID_FMA4): New macro.
19374 (index_YMM_Usable): Rename to...
19375 (index_AVX_Usable): ... this.
19376 (HAS_AVX): Use HAS_ARCH_FEATURE.
19377 (HAS_FMA4): Likewise.
19378 (HAS_YMM_USABLE): Remove.
19379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19380 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19382 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19383 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19384 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19385 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19386 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19388 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19390 * math/libm-test.c: Support platforms without multiple rounding modes.
19391 * math/bug-nextafter.c: Support platforms without FP exceptions.
19392 * math/bug-nexttoward.c: Likewise.
19393 * math/test-fenv.c: Likewise.
19394 * math/test-misc.c: Likewise.
19395 * stdlib/bug-getcontext.c: Likewise.
19397 2012-05-17 Andreas Jaeger <aj@suse.de>
19399 * manual/examples/search.c (critter_cmp): Change signature to
19401 * manual/string.texi (Collation Functions): Likewise.
19403 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19405 * bits/types.h: Fold copyright years.
19406 * bits/typesizes.h: Likewise.
19407 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19411 * time/time.h: Likewise.
19413 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19416 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19417 in instead of returning them. Return void.
19418 (__libc_mallinfo): Accumulate over all arenas.
19419 (__malloc_stats): Adjust for change in int_mallinfo interface.
19421 2012-05-16 Roland McGrath <roland@hack.frob.com>
19424 * configure.in (NM): Add AC_CHECK_TOOL for it.
19425 (libc_extra_cflags): New substituted variable.
19426 Check for -fstack-protector being used implicitly.
19427 * configure: Regenerated.
19428 * config.make.in (config-extra-cflags): New variable,
19429 gets @libc_extra_cflags@.
19430 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19433 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19434 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19435 * configure: Regenerated.
19436 * config.make.in (CPPUNDEFS): New substituted variable.
19437 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19438 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19439 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19441 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19443 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19444 (mq_attr): Use __syscall_slong_t.
19446 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19448 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19449 Check __x86_64__ instead of __WORDSIZE.
19450 (_STAT_VER_LINUX): Likewise.
19451 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19452 __syscall_ulong_t and __syscall_slong_t.
19453 (stat64): Likewise.
19455 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19459 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19461 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19463 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19465 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19468 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19469 include <bits/wordsize.h>. Check __x86_64__ instead of
19471 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19473 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19476 include <bits/wordsize.h>. Check __x86_64__ instead of
19478 (user_regs_struct): Use "__extension__ unsigned long long"
19479 instead of "unsigned long" if __x86_64__ is defined.
19480 (user): Likewise. Pad after pointer field if __ILP32__ is
19483 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19485 * configure.in (makeinfo): Require version 4.5 or later. Allow
19487 * configure: Regenerated.
19488 * manual/install.texi (texinfo): Increase version requirement to
19490 * INSTALL: Regenerated.
19492 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19494 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19496 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19498 * sysdeps/x86_64/x32/ffs.c: New file.
19500 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19502 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19503 defined. Use __syscall_ulong_t.
19504 (shminfo): Use __syscall_ulong_t.
19505 (shm_info): Likewise.
19507 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19510 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19512 (msgqnum_t): Use __syscall_ulong_t.
19513 (msglen_t): Likewise.
19514 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19517 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19518 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19520 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19522 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19523 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19525 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19528 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19529 include <bits/wordsize.h>. Check __x86_64__ instead of
19532 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19533 "unsigned long long int" if __x86_64__ is defined.
19534 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19536 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19537 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19538 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19540 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19542 (GET_PC): Cast to uintptr_t first.
19543 (GET_FRAME): Likewise.
19544 (GET_STACK): Likewise.
19546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19548 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19549 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19550 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19551 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19552 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19553 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19554 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19555 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19556 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19557 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19558 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19559 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19560 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19561 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19563 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19564 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19565 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19566 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19567 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19568 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19569 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19570 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19571 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19572 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19573 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19574 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19576 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19578 * Makerules (+depfiles): Also collect depfiles from .oS in
19580 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19581 .oS, $(libnldbl-routines)).
19583 * Makerules (native-compile-mkdep-flags): Define.
19584 * sunrpc/Makefile (extra-objs): Add $(addprefix
19585 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19586 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19587 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19588 calling $(make-target-directory).
19590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19592 * bits/types.h (__snseconds_t): Removed.
19593 * time/time.h (struct timespec): Replace __snseconds_t with
19595 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19596 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19599 (__SNSECONDS_T_TYPE): Likewise.
19600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19601 (__SNSECONDS_T_TYPE): Likewise.
19602 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19603 (__SNSECONDS_T_TYPE): Likewise.
19605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19607 * sysdeps/mach/hurd/bits/typesizes.h
19608 (__SYSCALL_SLONG_TYPE): New macro.
19609 (__SYSCALL_ULONG_TYPE): Likewise.
19611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19613 * bits/types.h (__syscall_slong_t): New type.
19614 (__syscall_ulong_t): Likewise.
19616 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19617 (__SYSCALL_ULONG_TYPE): Likewise.
19618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19619 (__SYSCALL_SLONG_TYPE): Likewise.
19620 (__SYSCALL_ULONG_TYPE): Likewise.
19621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19622 (__SYSCALL_SLONG_TYPE): Likewise.
19623 (__SYSCALL_ULONG_TYPE): Likewise.
19624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19625 (__SYSCALL_SLONG_TYPE): Likewise.
19626 (__SYSCALL_ULONG_TYPE): Likewise.
19628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19630 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19631 Add sigaltstack-offsets.sym.
19632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19633 <sigaltstack-offsets.h>.
19634 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19635 longjmp_msg pointer.
19636 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19637 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19639 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19641 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19643 * elf/stackguard-macros.h: Remove file.
19644 * sysdeps/generic/stackguard-macros.h: New file.
19645 * sysdeps/i386/stackguard-macros.h: Likewise.
19646 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19647 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19648 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19649 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19650 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19651 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19652 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19653 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19654 <elf/stackguard-macros.h>.
19657 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19658 __aligned__ in attribute.
19659 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19660 (gregset_t): Likewise.
19662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19664 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19665 * sysdeps/x86_64/64/Implies-after: Here. New file.
19666 * sysdeps/x86_64/x32/Implies-after: New file.
19668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19670 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19671 and access return value for _dl_profile_fixup. Use R10_LP to
19674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19676 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19680 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19681 * sysdeps/x86_64/x32/sysdep.h: New file.
19683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19685 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19686 * sysdeps/x86_64/setjmp.S: Likewise.
19688 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19692 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19693 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19694 remove unused global constant.
19696 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19698 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19699 include of <not-cancel.h>.
19701 2012-05-15 Roland McGrath <roland@hack.frob.com>
19703 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19705 2012-05-15 Jeff Law <law@redhat.com>
19706 Andreas Jaeger <aj@suse.de>
19709 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19711 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19712 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19713 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19714 code changing __hst_map_handle.map.
19716 2012-05-15 Roland McGrath <roland@hack.frob.com>
19718 * configure.in (sysnames): Look for Implies-before and Implies-after
19720 * configure: Regenerated.
19722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19724 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19725 8-byte data alignment with LP_SIZE alignment.
19727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19729 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19734 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19739 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19740 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19746 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19747 (stackinfo_sub_sp): Likewise.
19749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19766 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19770 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19771 into R11_LP and load __x86_64_shared_cache_size_half into
19774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19776 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19779 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19787 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19788 powerpc32/power7/fpu/s_logb.c via #include.
19789 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19790 powerpc32/power7/fpu/s_logbf.c via #include.
19791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19792 powerpc32/power7/fpu/s_logbl.c via #include.
19794 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19796 * README.libm: Remove file.
19798 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19800 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19801 count for x32. Use R*_LP and omit operand-size suffix.
19803 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19805 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19806 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19807 * sysdeps/x86_64/x32/shlib-versions: New file.
19809 2012-05-14 Roland McGrath <roland@hack.frob.com>
19811 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19812 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19813 Use _dl_fatal_printf instead.
19815 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19817 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19818 set if not set by the user. Do not allow for being unset.
19819 * sysdeps/unix/sysv/linux/configure: Regenerated.
19821 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19823 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19824 the `q' suffix from lea and replace .quad with ASM_ADDR.
19826 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19829 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19831 (PTR_DEMANGLE): Likewise.
19833 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19835 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19837 (ASM_ADDR): Likewise.
19838 (RAX_LP): Likewise.
19839 (RBP_LP): Likewise.
19840 (RBX_LP): Likewise.
19841 (RCX_LP): Likewise.
19842 (RDI_LP): Likewise.
19843 (RSI_LP): Likewise.
19844 (RSP_LP): Likewise.
19847 (R10_LP): Likewise.
19848 (R10_LP): Likewise.
19849 (R11_LP): Likewise.
19850 (R12_LP): Likewise.
19851 (R13_LP): Likewise.
19852 (R14_LP): Likewise.
19853 (R15_LP): Likewise.
19855 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19857 * sysdeps/x86_64/x32/dl-machine.h: New file.
19859 2012-05-14 Andreas Jaeger <aj@suse.de>
19861 * manual/Makefile (subdir): Remove export of subdir.
19862 (all): Remove target.
19863 (.PHONY): Remove all from list.
19864 (mkinstalldirs): Remove.
19865 (.PHONY): Remove installdirs from list.
19866 ($(inst_infodir)/libc.info): Use make-target-directory.
19867 (installdirs): Remove.
19868 (subdir_%): Remove.
19869 (glibc-targets): Remove.
19872 ($(objpfx)stubs ../po/manual.pot): Remove.
19873 ($(objpfx)stamp%): Remove.
19874 (make-target-directory): Remove.
19875 (subdir_install): Remove.
19876 (routines): Remove.
19883 * manual/.gitignore: Remove, it's not needed anymore.
19884 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19886 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19888 (texis): Renamed to $(objpfx)texis.
19889 (texis-path): New, contains path to generated files.
19890 (chapters.%): Use texis-path for complete path, add extra argument
19892 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19893 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19894 (summary,texi, stamp-summary): Use complete path of
19895 files. Generate files in build dir.
19896 (dir-add.texi): Build in build dir.
19897 (libm-err.texi,stamp-libm-err): Likewise.
19898 (version.texi, stamp-version): Likewise.
19899 (.%c.texi): Likewise.
19900 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19901 (mostlyclean): Remove target.
19902 (realclean): Remove target.
19903 (generated): Add new variable with contents from mostlyclean and
19904 realclean, remove entries duplicated in common-mostlyclean, add
19905 stamp-libm-err and stamp-version.
19906 (generated-dirs): Add libc directory.
19907 ($(inst_infodir)/libc.info): Install files from build dir.
19909 * manual/install.texi (Configuring and compiling): Adjust since
19910 the info files are not part of the tar ball anymore.
19912 2012-05-14 Andreas Jaeger <aj@suse.de>
19914 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19917 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19921 to 2.2.0 where earlier.
19922 * sysdeps/unix/sysv/linux/configure: Regenerated.
19923 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19924 Remove conditional code.
19925 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19926 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19927 Remove conditional code.
19928 [!__NR_lchown]: Likewise.
19929 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19930 [__NR_lchown]: Likewise.
19931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19932 comment referencing __ASSUME_LCHOWN_SYSCALL.
19933 * sysdeps/unix/sysv/linux/i386/sigaction.c
19934 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19935 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19936 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19937 Remove conditional code.
19938 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19939 (__protocol_available): Remove #if 0 code.
19940 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19942 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19943 * sysdeps/unix/sysv/linux/kernel-features.h
19944 (__ASSUME_GETCWD_SYSCALL): Don't define.
19945 (__ASSUME_REALTIME_SIGNALS): Likewise.
19946 (__ASSUME_PREAD_SYSCALL): Likewise.
19947 (__ASSUME_PWRITE_SYSCALL): Likewise.
19948 (__ASSUME_POLL_SYSCALL): Likewise.
19949 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19950 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19952 (__ASSUME_SIOCGIFNAME): Don't define.
19953 (__ASSUME_MSG_NOSIGNAL): Likewise.
19954 (__ASSUME_SENDFILE): Define unconditionally.
19955 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19956 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19958 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19959 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19960 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19961 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19962 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19963 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19964 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19966 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19969 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19975 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19978 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19981 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19984 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19987 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19989 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19990 Remove conditional code.
19991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19992 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19993 Remove conditional code.
19994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19995 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19996 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19997 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19998 Remove conditional code.
19999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20000 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20001 Remove conditional code.
20002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20003 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20004 Remove conditional code.
20005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20006 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20007 Remove conditional code.
20008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20009 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20010 Remove conditional code.
20011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20012 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20015 * sysdeps/unix/sysv/linux/sigaction.c
20016 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20017 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20018 * sysdeps/unix/sysv/linux/sigpending.c
20019 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20020 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20021 * sysdeps/unix/sysv/linux/sigprocmask.c
20022 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20023 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20024 * sysdeps/unix/sysv/linux/sigsuspend.c
20025 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20026 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20027 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20028 (__libc_missing_rt_sigs): Remove.
20029 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20030 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20031 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20032 Remove conditional code.
20033 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20034 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20036 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20037 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20038 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20039 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20041 2012-05-14 Andreas Jaeger <aj@suse.de>
20043 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20044 it's not used in glibc.
20045 (__coshm1): Likewise.
20046 (__acosh1p): Likewise.
20049 * manual/string.texi (Copying and Concatenation): Add missing
20050 variable in concat example.
20051 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20057 __builtin_clzl with __builtin_clzll.
20059 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20062 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20065 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20067 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20068 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20069 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20070 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20072 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20074 * NEWS: Update ia64 info.
20076 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20078 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20081 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20083 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20084 * sysdeps/unix/syscalls.list (dup3): Likewise.
20085 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20086 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20088 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20090 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20091 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20093 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20095 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20097 (TLS_IE): Use mov/add instead of movq/addq to load thread
20099 (TLS_GD_PREFIX): New.
20102 2012-05-11 David S. Miller <davem@davemloft.net>
20104 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20105 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20106 (_FPU_SETCW): Likewise.
20108 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20110 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20111 is 32-byte aligned.
20113 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20116 * iconvdata/gb18030.c: Update tables.
20117 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20118 characters specially.
20119 (BODY for TO_LOOP): Add encoding of missing ranges.
20121 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20124 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20125 * sysdeps/mach/hurd/dup3.c: Likewise.
20126 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20127 * sysdeps/powerpc/memmove.c:: Likewise.
20129 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20131 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20132 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20134 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20136 * elf/elf.h (R_X86_64_RELATIVE64): New.
20137 (R_X86_64_NUM): Updated.
20138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20139 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20140 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20141 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20142 tst-quad1pie tst-quad2pie
20143 (modules-names): Add tst-quadmod1 tst-quadmod2.
20144 ($(objpfx)tst-quad1): New dependency.
20145 ($(objpfx)tst-quad2): Likewise.
20146 ($(objpfx)tst-quad1pie): Likewise.
20147 ($(objpfx)tst-quad2pie): Likewise.
20148 * sysdeps/x86_64/tst-quad1.c: New file.
20149 * sysdeps/x86_64/tst-quad1pie.c: New file.
20150 * sysdeps/x86_64/tst-quad2.c: Likewise.
20151 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20152 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20153 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20154 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20155 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20159 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20160 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20161 * streams/stropts.h (t_scalar_t): Define type.
20163 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20164 (_PATH_PRESERVE): Set to "/var/lib".
20165 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20167 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20170 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20171 if __dir_mkfile succeeded.
20173 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20174 checking for _hurd_dtablesize. Unlock it right after having
20175 finished _hurd_dtable allocation.
20177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20179 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20180 * sysdeps/mach/hurd/configure: Regenerated.
20181 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20182 special-casing to...
20183 * sysdeps/gnu/configure.in: ... this new file.
20184 * sysdeps/unix/sysv/linux/configure: Regenerated.
20185 * sysdeps/gnu/configure: New generated file.
20187 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20188 for Linux: use nsec instead of usec, as well as:
20189 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20190 members of type struct timespec.
20191 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20193 (struct stat64): Likewise.
20194 (_STATBUF_ST_NSEC): New macro.
20195 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20197 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20198 __strtoul_internal rather than strtoul.
20200 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20202 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20207 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20208 which preserves existing values.
20209 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20211 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20213 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20214 TIMEOUT values. Return EINVAL for NFDS values either negative or
20215 greater than FD_SETSIZE.
20217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20219 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20220 allocated, call __vm_protect to finish enabling the existing space, and
20221 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20222 allocate the remainder.
20224 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20226 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20227 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20229 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20231 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20232 sysdeps/mach/hurd/readlink.c.
20234 * posix/tst-sysconf.c (posix_options): Only use
20235 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20236 _POSIX_SYNCHRONIZED_IO when they are defined
20237 * sysdeps/mach/hurd/bits/posix_opt.h:
20238 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20239 (_XOPEN_REALTIME): Undefine macro.
20240 (_XOPEN_REALTIME_THREADS): Undefine macro.
20241 (_XOPEN_SHM): Undefine macro.
20242 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20244 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20246 (_POSIX_ASYNC_IO): Undefine macro.
20247 (_POSIX_PRIORITIZED_IO): Undefine macro.
20248 (_POSIX_SPIN_LOCKS): Define macro to -1.
20250 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20251 SA_NODEFER, SA_RESETHAND.
20252 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20253 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20256 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20258 * elf/Makefile (pldd-modules): Define unconditionally.
20260 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20262 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20266 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20267 Return ENOENT when name is empty.
20268 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20270 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20272 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20274 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20278 Fix mlock in all cases except non-readable pages.
20279 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20280 instead of VM_PROT_ALL as parameter to __vm_wire function.
20282 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20283 (__mkdir): When path is `/', just fail with EEXIST.
20284 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20286 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20288 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20289 <sys/uio.h> (for writev).
20290 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20291 and <sys/param.h> (for MIN).
20293 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20295 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20296 REQUESTED_TIME. Properly set the remaining time and return EINTR
20299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20301 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20302 Depend on against $(link-rpcuserlibs).
20304 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20306 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20307 (__libc_stack_end): Do not use attribute_relro.
20308 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20309 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20310 to libthread-provided value.
20311 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20314 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20317 * bits/libc-lock.h (__libc_once_get): New macro.
20318 * sysdeps/mach/bits/libc-lock.h: Likewise.
20319 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20320 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20321 instead of using implementation details.
20323 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20324 * libio/freopen.c: Likewise.
20325 * libio/freopen64.c: Likewise.
20326 * misc/syslog.c: Likewise.
20327 * nscd/connections.c: Likewise.
20328 * nscd/netgroupcache.c: Likewise.
20329 * sysdeps/posix/getcwd.c: Likewise.
20331 2012-05-10 Roland McGrath <roland@hack.frob.com>
20333 * math/w_ilogbf.c: Add #include <limits.h>.
20335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20337 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20338 path instead of returning without unlocking.
20340 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20341 immediate-write ioctls.
20342 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20346 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20347 __builtin_frame_address instead of making assumptions about the
20348 location of the return address relative to DATA. Force early load of
20349 the return address.
20350 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20351 __builtin_frame_address.
20354 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20355 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20356 implement dup3 and do some further code clean-ups.
20357 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20358 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20362 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20364 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20365 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20366 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20367 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20368 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20371 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20372 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20373 when handler == SIG_ERR, not when handler != SIG_ERR.
20375 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20377 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20378 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20381 accept4 for GNU Hurd.
20382 * include/sys/socket.h (__libc_accept4): New prototype.
20383 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20384 to implement __libc_accept4.
20385 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20387 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20389 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20390 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20391 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20392 signal-defines.sym.
20394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20396 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20398 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20400 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20401 assertion on O_CLOEXEC flag.
20402 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20403 * hurd/intern-fd.c: Likewise.
20404 * hurd/port2fd.c: Likewise.
20406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20409 * bits/in.h (IPV6_PKTINFO): Define new macro.
20410 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20412 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20417 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20418 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20419 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20420 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20422 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20423 * math/libm-test.inc (logb_test) : Additional logb tests.
20425 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20426 Andreas Jaeger <aj@suse.de>
20428 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20429 * configure: Regenerated.
20430 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20431 * config.make.in (link-obsolete-rpc): New substituted variable.
20432 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20433 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20434 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20435 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20436 so that libc.a contains the symbols.
20437 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20438 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20439 * sunrpc/auth_none.c: Likewise.
20440 * sunrpc/auth_unix.c: Likewise.
20441 * sunrpc/authdes_prot.c: Likewise.
20442 * sunrpc/authuxprot.c: Likewise.
20443 * sunrpc/clnt_gen.c: Likewise.
20444 * sunrpc/clnt_perr.c: Likewise.
20445 * sunrpc/clnt_raw.c: Likewise.
20446 * sunrpc/clnt_simp.c: Likewise.
20447 * sunrpc/clnt_tcp.c: Likewise.
20448 * sunrpc/clnt_udp.c: Likewise.
20449 * sunrpc/clnt_unix.c: Likewise.
20450 * sunrpc/des_crypt.c: Likewise.
20451 * sunrpc/des_soft.c: Likewise.
20452 * sunrpc/get_myaddr.c: Likewise.
20453 * sunrpc/key_call.c: Likewise.
20454 * sunrpc/key_prot.c: Likewise.
20455 * sunrpc/netname.c: Likewise.
20456 * sunrpc/pm_getmaps.c: Likewise.
20457 * sunrpc/pm_getport.c: Likewise.
20458 * sunrpc/pmap_clnt.c: Likewise.
20459 * sunrpc/pmap_prot.c: Likewise.
20460 * sunrpc/pmap_prot2.c: Likewise.
20461 * sunrpc/pmap_rmt.c: Likewise.
20462 * sunrpc/publickey.c: Likewise.
20463 * sunrpc/rpc_cmsg.c: Likewise.
20464 * sunrpc/rpc_common.c: Likewise.
20465 * sunrpc/rpc_dtable.c: Likewise.
20466 * sunrpc/rpc_prot.c: Likewise.
20467 * sunrpc/rpc_thread.c: Likewise.
20468 * sunrpc/rtime.c: Likewise.
20469 * sunrpc/svc.c: Likewise.
20470 * sunrpc/svc_auth.c: Likewise.
20471 * sunrpc/svc_raw.c: Likewise.
20472 * sunrpc/svc_run.c: Likewise.
20473 * sunrpc/svc_tcp.c: Likewise.
20474 * sunrpc/svc_udp.c: Likewise.
20475 * sunrpc/svc_unix.c: Likewise.
20476 * sunrpc/svcauth_des.c: Likewise.
20477 * sunrpc/xcrypt.c: Likewise.
20478 * sunrpc/xdr.c: Likewise.
20479 * sunrpc/xdr_array.c: Likewise.
20480 * sunrpc/xdr_float.c: Likewise.
20481 * sunrpc/xdr_intXX_t.c: Likewise.
20482 * sunrpc/xdr_mem.c: Likewise.
20483 * sunrpc/xdr_rec.c: Likewise.
20484 * sunrpc/xdr_ref.c: Likewise.
20485 * sunrpc/xdr_sizeof.c: Likewise.
20486 * sunrpc/xdr_stdio.c: Likewise.
20488 2012-05-10 Roland McGrath <roland@hack.frob.com>
20490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20491 change. Update copyright years.
20493 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20495 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20497 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20498 Joseph Myers <joseph@codesourcery.com>
20499 Paul Pluzhnikov <ppluzhnikov@google.com>
20502 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20504 [cross-compiling] (extra-libs): Likewise.
20505 [cross-compiling] (extra-libs-others): Likewise.
20506 [cross-compiling] (librpcsvc-routines): Likewise.
20507 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20508 [cross-compiling] (omit-deps): Likewise.
20509 (sunrpc-CPPFLAGS): New variable.
20510 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20511 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20512 (cross-rpcgen-objs): New variable.
20513 (extra-objs): Append $(cross-rpcgen-objs).
20514 ($(cross-rpcgen-objs)): New rule.
20515 ($(objpfx)cross-rpcgen): Likewise.
20516 (rpcgen-cmd): Define to use $(built-program-file). Expand
20518 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20519 ($(objpfx)x%.stmp): Likewise.
20520 * sunrpc/proto.h [IS_IN_build] (_): Define.
20521 [IS_IN_build] (_libc_intl_domainname): Likewise.
20523 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20526 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20527 and R_X86_64_TPOFF64.
20529 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20531 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20532 sysdeps/unix/sysv/syscalls.list.
20535 * sysdeps/unix/sysv/syscalls.list: Remove file.
20537 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20540 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20541 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20542 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20543 (__LC_IDENTIFICATION): Make these macros useful in #if
20544 expressions, as required by C99.
20546 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20548 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20549 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20552 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20554 * stdlib/longlong.h: Updated from GCC.
20556 2012-05-09 Andreas Jaeger <aj@suse.de>
20558 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20559 default is first entry.
20560 (run_mode): Set type.
20561 (main): Remove informal message about syslog.
20562 (options): Fix typo.
20565 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20568 (llrintf): Likewise.
20569 (llrint): Likewise.
20572 (nearbyint): Likewise.
20573 (nearbyintf): Likewise.
20575 2012-05-09 Andreas Jaeger <aj@suse.de>
20576 Pedro Alves <palves@redhat.com>
20578 * nscd/nscd.c (run_mode): Use enum.
20579 (main): Cleanup coding style issue.
20581 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20582 Andreas Jaeger <aj@suse.de>
20584 * nscd/nscd.c (go_background): Replaced with...
20585 (run_mode): ... this.
20586 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20587 (options): Add -F --foreground.
20588 (main): Implement it.
20589 (parse_opt): Parse it.
20591 2012-05-09 Andreas Jaeger <aj@suse.de>
20594 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20595 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20596 -Wconversion warning.
20597 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20600 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20602 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20604 (LC_ALL): Use macro-int-constant.
20605 (LC_COLLATE): Likewise.
20606 (LC_CTYPE): Likewise.
20607 (LC_MESSAGES): Likewise.
20608 (LC_MONETARY): Likewise.
20609 (LC_NUMERIC): Likewise.
20610 (LC_TIME): Likewise.
20611 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20612 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20614 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20616 [C99-based standards] (float_t): Expect type.
20617 [C99-based standards] (double_t): Expect type.
20618 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20620 [C99-based standards] (HUGE_VALL): Likewise.
20621 [C99-based standards] (INFINITY): Likewise.
20622 [C99-based standards] (NAN): Likewise.
20623 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20624 [C99-based standards] (FP_NAN): Likewise.
20625 [C99-based standards] (FP_NORMAL): Likewise.
20626 [C99-based standards] (FP_SUBNORMAL): Likewise.
20627 [C99-based standards] (FP_ZERO): Likewise.
20628 [C99-based standards] (FP_FAST_FMA): Use
20629 optional-macro-int-constant. Specify type. Require == 1.
20630 [C99-based standards] (FP_FAST_FMAF): Likewise.
20631 [C99-based standards] (FP_FAST_FMAL): Likewise.
20632 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20633 [C99-based standards] (FP_ILOGBNAN): Likewise.
20634 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20636 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20637 [C99-based standards] (math_errhandling): Specify type.
20638 [ISO99 || ISO11] (signgam): Do not allow.
20639 [non-C99-based standards] (copysignf): Do not allow.
20640 [non-C99-based standards] (exp2f): Likewise.
20641 [non-C99-based standards] (log2f): Likewise.
20642 [non-C99-based standards] (modff): Allow.
20643 [non-C99-based standards] (erff): Do not allow.
20644 [non-C99-based standards] (erfcf): Likewise.
20645 [non-C99-based standards] (gammaf): Likewise.
20646 [non-C99-based standards] (hypotf): Likewise.
20647 [non-C99-based standards] (j0f): Likewise.
20648 [non-C99-based standards] (j1f): Likewise.
20649 [non-C99-based standards] (jnf): Likewise.
20650 [non-C99-based standards] (lgammaf): Likewise.
20651 [non-C99-based standards] (tgammaf): Likewise.
20652 [non-C99-based standards] (y0f): Likewise.
20653 [non-C99-based standards] (y1f): Likewise.
20654 [non-C99-based standards] (ynf): Likewise.
20655 [non-C99-based standards] (isnanf): Likewise.
20656 [non-C99-based standards] (acoshf): Likewise.
20657 [non-C99-based standards] (asinhf): Likewise.
20658 [non-C99-based standards] (atanhf): Likewise.
20659 [non-C99-based standards] (cbrtf): Likewise.
20660 [non-C99-based standards] (expm1f): Likewise.
20661 [non-C99-based standards] (ilogbf): Likewise.
20662 [non-C99-based standards] (log1pf): Likewise.
20663 [non-C99-based standards] (logbf): Likewise.
20664 [non-C99-based standards] (nextafterf): Likewise.
20665 [non-C99-based standards] (remainderf): Likewise.
20666 [non-C99-based standards] (rintf): Likewise.
20667 [non-C99-based standards] (scalbf): Likewise.
20668 [non-C99-based standards] (copysignl): Likewise.
20669 [non-C99-based standards] (exp2l): Likewise.
20670 [non-C99-based standards] (log2l): Likewise.
20671 [non-C99-based standards] (modfl): Allow.
20672 [non-C99-based standards] (erfl): Do not allow.
20673 [non-C99-based standards] (erfcl): Likewise.
20674 [non-C99-based standards] (gammal): Likewise.
20675 [non-C99-based standards] (hypotl): Likewise.
20676 [non-C99-based standards] (j0l): Likewise.
20677 [non-C99-based standards] (j1l): Likewise.
20678 [non-C99-based standards] (jnl): Likewise.
20679 [non-C99-based standards] (lgammal): Likewise.
20680 [non-C99-based standards] (tgammal): Likewise.
20681 [non-C99-based standards] (y0l): Likewise.
20682 [non-C99-based standards] (y1l): Likewise.
20683 [non-C99-based standards] (ynl): Likewise.
20684 [non-C99-based standards] (isnanl): Likewise.
20685 [non-C99-based standards] (acoshl): Likewise.
20686 [non-C99-based standards] (asinhl): Likewise.
20687 [non-C99-based standards] (atanhl): Likewise.
20688 [non-C99-based standards] (cbrtl): Likewise.
20689 [non-C99-based standards] (expm1l): Likewise.
20690 [non-C99-based standards] (ilogbl): Likewise.
20691 [non-C99-based standards] (log1pl): Likewise.
20692 [non-C99-based standards] (logbl): Likewise.
20693 [non-C99-based standards] (nextafterl): Likewise.
20694 [non-C99-based standards] (remainderl): Likewise.
20695 [non-C99-based standards] (rintl): Likewise.
20696 [non-C99-based standards] (scalbl): Likewise.
20697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20698 [non-C99-based standards] (FP_*): Do not allow.
20699 [C99-based standards] (FP_*): Change to
20700 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20701 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20703 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20704 (SIG_ERR): Likewise.
20705 [X/Open-based standards] (SIG_HOLD): Likewise.
20706 (SIG_IGN): Likewise.
20707 (SIGABRT): Use macro-int-constant. Specify type. Require
20709 (SIGFPE): Likewise.
20710 (SIGILL): Likewise.
20711 (SIGINT): Likewise.
20712 (SIGSEGV): Likewise.
20713 (SIGTER): Likewise.
20714 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20715 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20716 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20717 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20718 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20719 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20720 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20721 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20722 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20723 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20724 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20727 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20728 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20732 [X/Open-based standards] (SIGTRAP): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20737 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20740 2012-05-08 Ian Wienand <ianw@vmware.com>
20743 * time/tzset.c (__tzset_parse_tz): Update default rules for
20744 daylight time changes in the Energy Policy Act of 2005.
20746 2012-05-09 Andreas Jaeger <aj@suse.de>
20749 * elf/ldconfig.c (parse_conf): Change string to make clear that
20750 ldconfig only issued a warning if ld.so.conf does not exist.
20752 2012-05-08 David S. Miller <davem@davemloft.net>
20754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20755 movxtod instead of popping the value on the stack.
20757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20759 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20761 * config.h.in: Add HAVE_ARM_PCS_VFP.
20763 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20766 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20767 checking but the checks are disabled for any reason.
20769 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20771 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20772 and ELF64_R_TYPE with ELFW(R_TYPE).
20774 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20776 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20777 (ulimit): Likewise.
20779 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20780 (settimeofday): Likewise.
20782 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20784 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20785 a struct th_u2 inside the union, and move tu_block/tu_code into
20786 a new th_u3 union of tu_block/tu_code inside of that. Move
20787 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20788 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20789 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20790 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20791 (th_stuff): Change to th_u1.tu_stuff.
20793 (th_msg): Change to th_u1.th_u2.tu_data.
20795 2012-05-07 David S. Miller <davem@davemloft.net>
20797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20800 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20801 (SETUP_PIC_REG): Use it.
20802 (SETUP_PIC_REG_LEAF): Use it.
20804 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20808 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20810 (EXPL_FINITE): Likewise.
20811 (FLDLOG): Likewise.
20812 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20813 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20815 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20817 (EXPL_FINITE): Likewise.
20818 (FLDLOG): Likewise.
20819 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20820 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20822 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20823 test of -max_value argument for long double.
20824 * sysdeps/i386/fpu/libm-test-ulps: Update.
20825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20827 2012-05-06 David S. Miller <davem@davemloft.net>
20829 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20830 quad soft-float symbols whose references which are compiler
20832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20834 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20838 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20840 (EXPL_FINITE): Likewise.
20841 (FLDLOG): Likewise.
20844 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20845 Adjust comments for base varying.
20846 (__expl_finite): Change alias to EXPL_FINITE.
20847 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20849 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20850 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20851 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20852 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20853 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20867 * math/libm-test.inc (check_float_internal): Correct ulp
20868 calculation for subnormal expected results.
20870 2012-05-06 Andreas Jaeger <aj@suse.de>
20872 * Makeconfig (+math-flags): New, set to -frounding-math.
20873 (+cflags): Add +math-flags so that all of glibc gets compiled with
20876 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20878 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20880 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20886 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20887 (__ieee754_expl): Allow for and saturate large arguments.
20888 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20889 (u_threshold): Likewise.
20890 (__exp): Call __ieee754_exp before checking for overflow and
20892 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20893 (u_threshold): Likewise.
20894 (__expf): Call __ieee754_expf before checking for overflow and
20896 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20897 (u_threshold): Likewise.
20898 (__expl): Call __ieee754_expl before checking for overflow and
20900 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20901 (__ieee754_expl): Allow for and saturate large arguments.
20902 * math/libm-test.inc (exp_test): Add another test. Do not allow
20903 missing overflow exception on overflow.
20904 (expm1_test): Do not allow missing overflow exception on overflow.
20906 * sysdeps/i386/fpu/e_expl.c: Move to ...
20907 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20908 rather than using inline asm.
20909 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20910 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20911 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20913 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20916 (signal): Likewise.
20920 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20922 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20923 sysdeps/unix/common/syscalls.list.
20924 (fchmod): Likewise.
20925 (fchown): Likewise.
20926 (ftruncate): Likewise.
20927 (getrusage): Likewise.
20928 (gettimeofday): Likewise.
20929 (setpgid): Likewise.
20930 (setregid): Likewise.
20931 (setreuid): Likewise.
20932 (sigaction): Likewise.
20933 (truncate): Likewise.
20934 (vhangup): Likewise.
20935 * sysdeps/unix/common/syscalls.list: Remove file.
20936 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20937 * sysdeps/unix/sysv/linux/Implies: Likewise.
20939 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20941 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20943 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20947 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20950 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20953 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20956 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20959 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20962 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20965 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20969 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20973 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20976 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20980 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20984 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20986 * sysdeps/unix/common/bits/dirent.h: Remove file.
20987 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20989 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20990 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20991 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20992 * sysdeps/unix/bsd/isatty.c: Likewise.
20993 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20994 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20995 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20997 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21001 long double comparison inaccuracies.
21002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21005 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21007 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21008 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21010 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21014 nonzero digits before rounding a hex value.
21015 * stdlib/tst-strtod.c (tests): Add another test.
21017 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21019 * sysdeps/s390/fpu/libm-test-ulps: Update.
21021 2012-05-03 Andreas Jaeger <aj@suse.de>
21023 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21024 does not get optimized out.
21025 (malloc_opt_barrier): New.
21027 2012-05-03 Andreas Jaeger <aj@suse.de>
21028 Roland McGrath <roland@hack.frob.com>
21030 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21031 intermediate file deletion.
21032 (generated): Add .symlist files.
21034 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21037 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21038 Redirect under this condition.
21039 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21040 [__USE_GNU] (__dprintf_chk): Not under this condition.
21041 [__USE_GNU] (__vdprintf_chk): Likewise.
21042 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21043 under this condition.
21044 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21045 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21046 [__USE_XOPEN2K8] (vdprintf): Likewise.
21047 [__USE_GNU] (__dprintf_chk): Not under this condition.
21048 [__USE_GNU] (__vdprintf_chk): Likewise.
21049 [__USE_GNU] (dprintf): Likewise.
21050 [__USE_GNU] (vdprintf): Likewise.
21052 2012-05-03 Roland McGrath <roland@hack.frob.com>
21054 * elf/Makefile (common-generated): Set this instead of generated for
21055 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21056 $(all-built-dso)-derived lists.
21058 2012-05-03 Andreas Jaeger <aj@suse.de>
21060 * sysdeps/i386/fpu/libm-test-ulps: Update.
21063 * FAQ.in: Likewise.
21064 * scripts/gen-FAQ.pl: Likewise.
21065 * manual/install.texi (Installation): Point to online location of
21067 * Makefile (files-for-dist): Remove FAQ.
21070 2012-05-02 Allan McRae <allan@archlinux.org>
21072 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21073 (LDFLAGS-reldepmod5.so): Likewise.
21074 (LDFLAGS-reldep6mod1.so): Likewise.
21075 (LDFLAGS-reldep6mod4.so): Likewise.
21076 (LDFLAGS-reldep8mod3.so): Likewise.
21077 (LDFLAGS-unload4mod1.so): Likewise.
21078 (LDFLAGS-unload4mod2.so): Likewise.
21079 (LDFLAGS-tst-initorder): Likewise.
21080 (LDFLAGS-tst-initordera2.so): Likewise.
21081 (LDFLAGS-tst-initordera3.so): Likewise.
21082 (LDFLAGS-tst-initordera4.so): Likewise.
21083 (LDFLAGS-tst-initorderb2.so): Likewise.
21084 (LDFLAGS-noload): Likewise.
21085 (LDFLAGS-next): Likewise.
21086 (LDFLAGS-order2mod1.so): Likewise.
21087 (LDFLAGS-order2mod2.so): Likewise.
21088 (LDFLAGS-tst-initorder2): Likewise.
21089 (LDFLAGS-tst-initorder2a.so): Likewise.
21090 (LDFLAGS-tst-initorder2b.so): Likewise.
21091 (LDFLAGS-tst-initorder2c.so): Likewise.
21092 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21094 2012-05-02 David S. Miller <davem@davemloft.net>
21096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21098 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21101 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21103 2012-05-02 Andreas Jaeger <aj@suse.de>
21105 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21106 since we manipulate rounding mode.
21107 (CPPFLAGS-test-idouble.c): Likewise.
21108 (CPPFLAGS-test-ifloat.c): Likewise.
21109 (CFLAGS-test-ldouble.c): Likewise.
21110 (CFLAGS-test-double.c): Likewise.
21111 (CFLAGS-test-float.c): Likewise.
21112 (CFLAGS-test-misc.c): Likewise.
21113 (CFLAGS-test-test-fenv.c): Likewise.
21115 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21120 comparisons to determine direction to adjust input.
21122 2012-05-01 Roland McGrath <roland@hack.frob.com>
21124 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21125 output to the target.
21127 * scripts/localplt.awk: New file.
21128 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21129 (check-localplt-CFLAGS): Variable removed.
21130 ($(all-built-dso:=.jmprel)): New static pattern rule.
21131 (generated): Add those targets.
21132 (localplt-built-dso): New variable.
21133 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21135 * elf/check-localplt.c: File removed.
21137 * scripts/check-execstack.awk: New file.
21138 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21139 (check-execstack-CFLAGS): Variable removed.
21140 ($(objpfx)check-execstack.h): Target removed.
21141 ($(objpfx)execstack-default): New target.
21142 (generated): Add that instead of check-execstack.h.
21143 ($(all-built-dso:=.phdr)): New static pattern rule.
21144 (generated): Add those targets.
21145 * elf/check-execstack.c: File removed.
21147 * scripts/check-textrel.awk: New file.
21148 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21149 (check-textrel-CFLAGS): Variable removed.
21150 (all-built-dso): Use := to define.o
21151 ($(all-built-dso:=.dyn)): New static pattern rule.
21152 (generated): Add those targets.
21153 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21154 * config.make.in (READELF): New substituted variable.
21155 * elf/check-textrel.c: File removed.
21157 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21159 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21161 * conform/data/ctype.h-data [C99-based standards] (isblank):
21163 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21164 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21165 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21166 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21167 Specify type. Require positive value.
21168 (EILSEQ): Likewise.
21169 (ERANGE): Likewise.
21170 [ISO || POSIX] (EILSEQ): Do not expect.
21171 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21172 Specify type. Require positive value.
21173 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21174 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21175 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21176 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21177 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21178 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21179 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21180 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21181 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21182 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21183 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21184 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21185 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21186 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21187 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21188 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21189 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21190 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21191 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21192 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21193 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21194 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21195 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21196 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21197 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21198 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21199 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21200 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21201 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21202 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21203 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21204 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21205 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21206 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21207 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21208 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21209 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21210 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21211 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21212 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21213 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21214 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21215 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21216 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21217 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21218 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21219 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21220 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21221 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21222 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21223 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21224 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21225 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21226 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21227 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21228 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21229 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21230 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21231 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21232 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21233 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21234 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21235 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21236 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21237 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21238 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21239 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21240 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21241 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21242 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21243 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21244 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21245 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21246 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21247 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21248 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21249 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21251 (FLT_ROUNDS): Expect as macro, not constant.
21252 (FLT_MANT_DIG): Use macro-int-constant.
21253 (DBL_MANT_DIG): Likewise.
21254 (LDBL_MANT_DIG): Likewise.
21255 (FLT_DIG): Likewise.
21256 (DBL_DIG): Likewise.
21257 (LDBL_DIG): Likewise.
21258 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21259 (DBL_MIN_EXP): Likewise.
21260 (LDBL_MIN_EXP): Likewise.
21261 (FLT_MAX_EXP): Use macro-int-constant.
21262 (DBL_MAX_EXP): Likewise.
21263 (LDBL_MAX_EXP): Likewise.
21264 (FLT_MAX_10_EXP): Likewise.
21265 (DBL_MAX_10_EXP): Likewise.
21266 (LDBL_MAX_10_EXP): Likewise.
21267 (FLT_MAX): Use macro-constant.
21268 (DBL_MAX): Likewise.
21269 (LDBL_MAX): Likewise.
21270 (FLT_EPSILON): Use macro-constant. Give upper bound.
21271 (DBL_EPSILON): Likewise.
21272 (LDBL_EPSILON): Likewise.
21273 (FLT_MIN): Likewise.
21274 (DBL_MIN): Likewise.
21275 (LDBL_MIN): Likewise.
21276 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21277 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21278 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21279 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21280 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21281 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21282 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21283 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21284 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21285 [ISO11] (FLT_TRUE_MIN): Likewise.
21286 [ISO11] (LDBL_TRUE_MIN): Likewise.
21287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21288 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21289 (SCHAR_MIN): Use macro-int-constant. Specify type.
21290 (SCHAR_MAX): Likewise.
21291 (UCHAR_MAX): Likewise.
21292 (CHAR_MIN): Likewise.
21293 (CHAR_MAX): Likewise.
21294 (MB_LEN_MAX): Use macro-int-constant.
21295 (SHRT_MIN): Use macro-int-constant. Specify type.
21296 (SHRT_MAX): Likewise.
21297 (USHRT_MAX): Likewise.
21298 (INT_MAX): Likewise.
21299 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21301 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21303 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21305 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21306 bound negative. Suffix upper bound with "L".
21307 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21309 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21311 [C99-based standards] (LLONG_MAX): Likewise.
21312 [C99-based standards] (ULLONG_MAX): Likewise.
21313 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21315 [ISO11] (max_align_t): Require type.
21316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21318 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21319 from $CFLAGS, without defining away __attribute__ calls.
21320 (checknamespace): Use $CFLAGS_namespace.
21322 * conform/conformtest.pl (@keywords): Only include C99 keywords
21323 for standards based on C99 or C11.
21325 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21327 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21330 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21331 usability of symbols in #if.
21333 * conform/conformtest.pl: If macro or constant types start
21334 "promoted:", expect the symbol to be of the following type
21335 promoted by the integer promotions.
21337 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21338 in one place. Also handle "macro-constant".
21340 * conform/conformtest.pl: Only accept expected macro values with
21341 "==". Parse all "macro" lines in one place.
21342 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21344 * conform/conformtest.pl: Handle braced types on "constant" lines
21345 instead of handling "typed-constant".
21346 * conform/data/signal.h-data: Use "constant" instead of
21349 * conform/conformtest.pl: Handle "optional-" at start of lines in
21350 one place rather than duplicating several cases. Handle each
21351 format of "macro" line with initial "optional-".
21353 * conform/conformtest.pl: Only accept expected constant or
21354 optional-constant values with "==". Parse all "constant" lines in
21355 one place. Parse all "optional-constant" lines in one place.
21356 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21357 * conform/data/fmtmsg.h-data: Likewise.
21358 * conform/data/netinet/in.h-data: Likewise.
21359 * conform/data/tar.h-data: Likewise.
21360 * conform/data/limits.h-data: Use "==" form on "constant" and
21361 "optional-constant" lines.
21363 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21364 Use -std=c99 for XOPEN2K.
21365 (@knownproblems): Remove.
21366 (newtoken): Don't check %isknown.
21368 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21369 Do not expect macro.
21370 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21371 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21372 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21373 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21374 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21375 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21376 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21377 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21378 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21379 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21380 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21381 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21382 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21383 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21384 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21385 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21386 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21387 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21388 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21389 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21390 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21391 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21392 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21393 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21394 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21395 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21396 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21397 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21398 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21399 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21400 [XPG3] (acosh): Likewise.
21401 [XPG3] (asinh): Likewise.
21402 [XPG3] (atanh): Likewise.
21403 [XPG3] (cbrt): Likewise.
21404 [XPG3] (expm1): Likewise.
21405 [XPG3] (ilogb): Likewise.
21406 [XPG3] (log1p): Likewise.
21407 [XPG3] (logb): Likewise.
21408 [XPG3] (nextafter): Likewise.
21409 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21410 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21411 [XPG3] (remainder): Likewise.
21412 [XPG3] (rint): Likewise.
21413 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21414 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21415 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21416 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21417 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21418 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21419 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21420 [UNIX98 || XOPEN2K] (scalb): Expect.
21421 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21422 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21423 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21424 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21425 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21426 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21427 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21428 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21429 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21430 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21431 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21432 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21433 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21434 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21435 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21436 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21437 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21438 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21439 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21440 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21441 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21442 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21443 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21445 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21446 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21454 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21455 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21458 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21459 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21472 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21473 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21474 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21475 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21476 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21477 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21478 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21479 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21480 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21481 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21482 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21483 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21484 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21485 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21486 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21487 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21488 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21489 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21490 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21491 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21492 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21493 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21494 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21495 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21496 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21497 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21498 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21500 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21501 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21502 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21503 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21505 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21506 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21507 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21509 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21510 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21511 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21512 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21513 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21514 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21515 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21516 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21517 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21518 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21519 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21520 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21521 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21522 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21523 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21524 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21525 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21526 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21527 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21528 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21529 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21530 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21531 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21532 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21533 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21534 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21535 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21536 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21537 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21538 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21542 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21543 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21546 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21547 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21551 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21552 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21553 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21559 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21560 _XOPEN_SOURCE_EXTENDED for XPG4.
21562 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21564 * Makeconfig (localtime): Remove variable.
21565 (inst_localtime-file): Likewise.
21567 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21588 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21592 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21593 comparisons to determine direction to adjust input.
21594 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21595 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21596 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21598 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21600 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21605 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21607 * math/libm-test.inc (nexttoward_test): Add more tests.
21609 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21612 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21613 in version GLIBC_2.1, not GLIBC_2.0.
21614 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21617 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21620 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21622 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21623 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21624 * math/libm-test.inc (acos_test): Add more tests.
21625 (asin_test): Likewise.
21626 * sysdeps/i386/fpu/libm-test-ulps: Update.
21627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21630 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21632 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21633 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21634 * math/libm-test.inc (acos_test_tonearest): New function.
21635 (acos_test_towardzero): Likewise.
21636 (acos_test_downward): Likewise.
21637 (acos_test_upward): Likewise.
21638 (asin_test_tonearest): Likewise.
21639 (asin_test_towardzero): Likewise.
21640 (asin_test_downward): Likewise.
21641 (asin_test_upward): Likewise.
21642 (main): Call the new functions.
21643 * sysdeps/i386/fpu/libm-test-ulps: Update.
21644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21648 * math/e_exp10.c: Include <float.h>.
21649 (__ieee754_exp10): Handle underflow here rather than multiplying
21650 large negative argument by M_LN10.
21651 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21653 * math/e_exp10l.c: Include <float.h>.
21654 (__ieee754_exp10l): Handle underflow here rather than multiplying
21655 large negative argument by M_LN10l.
21656 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21657 spurious overflow exception on underflow.
21659 2012-04-29 Marek Polacek <polacek@redhat.com>
21661 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21662 (__fortify_function): New macro.
21663 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21664 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21665 __extern_always_inline.
21666 * libio/bits/stdio2.h: Likewise.
21667 * libio/bits/stdio.h: Likewise.
21668 * string/string.h: Likewise.
21669 * string/bits/string3.h: Likewise.
21670 * include/stdio.h: Likewise.
21671 * stdlib/bits/stdlib.h: Likewise.
21672 * stdlib/stdlib.h: Likewise.
21673 * rt/bits/mqueue2.h: Likewise.
21674 * rt/mqueue.h: Likewise.
21675 * posix/bits/unistd.h: Likewise.
21676 * posix/unistd.h: Likewise.
21677 * io/bits/poll2.h: Likewise.
21678 * io/bits/fcntl2.h: Likewise.
21679 * io/fcntl.h: Likewise.
21680 * io/sys/poll.h: Likewise.
21681 * misc/bits/syslog.h: Likewise.
21682 * misc/bits/syslog-ldbl.h: Likewise.
21683 * misc/sys/syslog.h: Likewise.
21684 * socket/bits/socket2.h: Likewise.
21685 * socket/sys/socket.h: Likewise.
21686 * debug/tst-chk1.c: Likewise.
21687 * wcsmbs/bits/wchar2.h: Likewise.
21688 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21689 * wcsmbs/wchar.h: Likewise.
21691 2012-04-29 Andreas Jaeger <aj@suse.de>
21693 * Makerules (tests): Remove enable-check-abi protection.
21694 (check-abi-warn): Remove.
21695 (check-abi-%): Remove check-abi-warn usage.
21697 * configure.in: Remove check-abi configure option.
21698 * configure: Regenerated.
21699 * config.make.in (enable-check-abi): Remove.
21701 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21704 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21705 double functions to double *_finite functions.
21708 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21709 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21711 * stdio-common/Makefile (tests): Add tst-sprintf3.
21712 * stdio-common/tst-sprintf3.c: New file.
21714 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21715 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21717 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21719 * conform/conformtest.pl: Remove duplicate typed-constant
21722 2012-04-28 David S. Miller <davem@davemloft.net>
21724 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21725 (check-abi-%): Remove AWK script prerequisite and explicit
21727 (check-abi): Rewrite to just diff the symlist with the abilist.
21728 (config-tls, config-abi-config): Delete, no longer used.
21729 (update-abi-%): Remove AWK script and explicit abilist directory.
21730 (update-abi): Rewrite to simply compare and conditionally copy the
21731 symlist and the sysdep abilist file. Remove update-abi-config
21733 * abilist/ld.abilist: Remove.
21734 * abilist/libBrokenLocale.abilist: Remove.
21735 * abilist/libanl.abilist: Remove.
21736 * abilist/libcrypt.abilist: Remove.
21737 * abilist/libdl.abilist: Remove.
21738 * abilist/librt.abilist: Remove.
21739 * abilist/libthread_db.abilist: Remove.
21740 * abilist/libutil.abilist: Remove.
21741 * scripts/extract-abilist.awk: Remove.
21742 * scripts/merge-abilist.awk: Remove.
21743 * sysdeps/generic/libcidn.abilist: New file.
21744 * sysdeps/generic/libnss_compat.abilist: New file.
21745 * sysdeps/generic/libnss_db.abilist: New file.
21746 * sysdeps/generic/libnss_dns.abilist: New file.
21747 * sysdeps/generic/libnss_files.abilist: New file.
21748 * sysdeps/generic/libnss_hesiod.abilist: New file.
21749 * sysdeps/generic/libnss_nis.abilist: New file.
21750 * sysdeps/generic/libnss_nisplus.abilist: New file.
21751 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21752 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21753 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21755 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21756 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21757 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21758 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21759 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21760 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21761 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21762 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21763 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21765 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21766 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21767 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21768 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21770 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21771 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21772 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21773 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21774 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21775 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21777 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21778 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21779 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21781 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21884 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21885 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21886 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21889 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21890 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21891 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21892 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21893 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21894 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21895 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21896 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21897 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21949 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21951 * conform/conformtest.pl: Fix typo in handling typed-constant from
21954 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21956 * README: Cut down references to pre-2.6 Linux kernels and
21957 Linuxthreads. Update lists of configurations in libc and ports
21958 and sort alphabetically. Say "or newer" with Linux kernel version
21961 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21963 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21966 * math/libm-test.inc (logb_test_downward): New test to expose
21967 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21970 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21973 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21975 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21976 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21978 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21980 * sysdeps/unix/i386/brk.S: Remove file.
21981 * sysdeps/unix/i386/dl-brk.S: Likewise.
21982 * sysdeps/unix/i386/pipe.S: Likewise.
21983 * sysdeps/unix/i386/sigreturn.S: Likewise.
21984 * sysdeps/unix/i386/syscall.S: Likewise.
21985 * sysdeps/unix/i386/vfork.S: Likewise.
21986 * sysdeps/unix/i386/wait.S: Likewise.
21988 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21989 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21991 * configure.in (arm*-none*): Do not allow without
21992 --enable-hacker-mode.
21993 (netbsd*): Remove case setting base_os.
21994 (386bsd*): Likewise.
21995 (freebsd*): Likewise.
21998 (sunos*): Likewise.
21999 (ultrix*): Likewise.
22000 (newsos*): Likewise.
22001 (dynix*): Likewise.
22007 (minix*): Likewise.
22008 (irix4*): Likewise.
22009 (irix6*): Likewise.
22010 (solaris[2-9]*): Likewise.
22012 * configure: Regenerated.
22014 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22017 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22018 overflow or cancellation in calculating denominator.
22019 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22020 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22021 down expression to avoid unexpected rounding in newer GCCs.
22022 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22024 2012-04-26 David S. Miller <davem@davemloft.net>
22026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22027 long-double compat symbols.
22028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22042 2012-04-25 David S. Miller <davem@davemloft.net>
22044 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22045 HWCAP_* values only after the memory barriers have been defined.
22046 (atomic_full_barrier): Define.
22047 (atomic_read_barrier): Define.
22048 (atomic_write_barrier): Define.
22050 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22052 * shlib-versions: Add libgcc_s version information.
22053 * sysdeps/generic/libgcc_s.h: Remove.
22054 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22056 * sysdeps/gnu/unwind-resume.c: Likewise.
22057 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22059 2012-04-25 David S. Miller <davem@davemloft.net>
22061 * sysdeps/unix/sparc/brk.S: Delete.
22062 * sysdeps/unix/sparc/dl-brk.S: Delete.
22063 * sysdeps/unix/sparc/pipe.S: Delete.
22064 * sysdeps/unix/sparc/sysdep.S: Delete.
22065 * sysdeps/unix/sparc/sysdep.h: Delete.
22066 * sysdeps/unix/sparc/vfork.S: Delete.
22067 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22068 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22069 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22070 ret_ERRVAL, r0, r1, MOVE): Define.
22071 (JUMPTARGET): Remove.
22072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22073 sysdeps/unix/sparc/sysdep.h
22074 (ENTRY, END): Remove.
22075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22077 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22079 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22080 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22083 * timezone/README: Update upstream location and email address for
22085 * timezone/zdump.c: Update from tzcode 2012b.
22086 * timezone/zic.c: Likewise.
22088 * configure.in (libc_cv_as_needed): Remove test.
22089 * configure: Regenerated.
22090 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22091 conditional definition.
22092 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22093 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22094 * config.make.in (have-as-needed): Remove variable.
22096 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22097 Paul Pluzhnikov <ppluzhnikov@google.com>
22099 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22102 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22104 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22105 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22106 * sysdeps/sh/strlen.S: Likewise.
22108 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22110 * sysdeps/unix/fork.S: Remove file.
22111 * sysdeps/unix/i386/fork.S: Likewise.
22112 * sysdeps/unix/sparc/fork.S: Likewise.
22114 * sysdeps/unix/system.c: Remove file.
22115 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22117 * sysdeps/unix/getegid.S: Remove file.
22118 * sysdeps/unix/geteuid.S: Likewise.
22120 2012-04-24 Roland McGrath <roland@hack.frob.com>
22122 * scripts/check-localplt.awk: New file.
22123 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22125 * scripts/data/localplt-generic.data: Add a comment.
22127 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22128 NODE when __dir_mkfile failed.
22129 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22130 Reported by Ludovic Courtès <ludo@gnu.org>.
22132 2012-04-24 Andreas Jaeger <aj@suse.de>
22134 * Makerules (common-clean): Also remove gen-as-const-headers
22137 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22139 * Makerules (native-compile): Do not change working directory for
22140 build. Use $(OUTPUT_OPTION) in command.
22141 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22143 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22146 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22147 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22148 * math/libm-test.inc (floor_test): Add more tests.
22149 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22151 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22153 * sysdeps/unix/getdents.c: Remove file.
22154 * sysdeps/unix/sysv/getdents.c: Likewise.
22155 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22157 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22158 sysdeps/unix/mman/syscalls.list.
22160 (mprotect): Likewise.
22162 (munmap): Likewise.
22163 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22164 * sysdeps/unix/mman/syscalls.list: Remove.
22165 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22167 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22168 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22169 * configure: Regenerated.
22170 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22171 $(libgcc_s_suffix).
22172 * config.make.in (libgcc_s_suffix): Remove variable.
22174 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22176 * sysdeps/unix/sysv/gethostname.c: Move to ...
22177 * sysdeps/posix/gethostname.c: ... here.
22179 * sysdeps/unix/execve.S: Remove file.
22181 * sysdeps/unix/_exit.S: Remove file.
22183 2012-04-23 Andreas Jaeger <aj@suse.de>
22186 * manual/Makefile: Remove make dist support, there's no
22187 need for a stand-alone documentation tar ball.
22188 (TEXI2DVI): Define always, it's not in Makeconfig.
22191 (edition): Removed.
22192 (glibc-doc-$(edition).tar): Removed
22196 (ETAGS): Remove, it's in Makeconfig.
22197 (move-if-change): Remove, it's in Makeconfig.
22199 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22202 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22203 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22204 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22205 (strtod_l, strtof_l, strtold_l): Remove __wur.
22206 It is not necessarily an error to ignore strtol's return value.
22207 One can reliably look at the stored endptr to decide whether
22208 the number had valid syntax.
22210 2012-04-21 Andreas Jaeger <aj@suse.de>
22213 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22215 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22217 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22218 * sysdeps/unix/sysv/Versions: Remove file.
22220 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22225 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22229 version from __vm86.
22231 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22233 * sysdeps/unix/common/lxstat.c: Remove file.
22234 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22236 * sysdeps/unix/sysv/Makefile: Remove file.
22238 * sysdeps/unix/sysv/direct.h: Remove file.
22240 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22241 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22242 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22243 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22244 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22245 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22246 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22248 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22250 * sysdeps/unix/xmknod.c: Remove file.
22251 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22253 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22255 * sysdeps/unix/sysv/i386/time.S: Remove file.
22257 * sysdeps/unix/fxstat.c: Remove file.
22258 * sysdeps/unix/xstat.c: Likewise.
22259 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22261 * sysdeps/unix/sysv/sigaction.c: Remove file.
22263 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22264 (sysdep_headers): Remove variable.
22265 [termio.h not in sysdep_headers] (generated): Likewise.
22266 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22267 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22268 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22269 * sysdeps/unix/sysv/tcflow.c: Likewise.
22270 * sysdeps/unix/sysv/tcflush.c: Likewise.
22271 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22272 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22273 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22274 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22275 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22277 * sysdeps/unix/siglist.c: Remove file.
22279 * sysdeps/unix/getppid.S: Remove file.
22281 * sysdeps/unix/mkdir.c: Remove file.
22282 * sysdeps/unix/rmdir.c: Likewise.
22284 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22286 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22288 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22289 errlist-compat value.
22291 2012-04-18 David S. Miller <davem@davemloft.net>
22293 * sysdeps/generic/memcopy.h (reg_char): Delete.
22294 * debug/strcat_chk.c: Use char, not reg_char.
22295 * debug/strcpy_chk.c: Likewise.
22296 * debug/strncat_chk.c: Likewise.
22297 * debug/strncpy_chk.c: Likewise.
22298 * string/memchr.c: Likewise.
22299 * string/memrchr.c: Likewise.
22300 * string/rawmemchr.c: Likewise.
22301 * string/strcat.c: Likewise.
22302 * string/strchr.c: Likewise.
22303 * string/strchrnul.c: Likewise.
22304 * string/strcmp.c: Likewise.
22305 * string/strcpy.c: Likewise.
22306 * string/strncat.c: Likewise.
22307 * string/strncmp.c: Likewise.
22308 * string/strncpy.c: Likewise.
22310 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22312 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22313 __builtin_memcopy is called when src and dest ranges are known to not
22316 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22318 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22319 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22320 fwd_align_merge macro call.
22321 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22322 bwd_align_merge macro call.
22323 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22325 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22327 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22328 bwd_align_merge macros.
22329 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22330 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22331 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22333 2012-04-18 David S. Miller <davem@davemloft.net>
22335 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22337 2012-04-18 Andreas Jaeger <aj@suse.de>
22340 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22341 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22342 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22344 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22345 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22346 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22348 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22349 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22350 Adjust for changed ldbl-128 files.
22352 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22353 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22354 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22356 2012-04-17 David S. Miller <davem@davemloft.net>
22358 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22360 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22362 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22363 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22364 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22365 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22366 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22367 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22369 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22372 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22373 * math/libm-test.inc: Add ilogb errno and exception tests.
22374 * math/w_ilogb.c: New file: ilogb wrapper.
22375 * math/w_ilogbf.c: New file: ilogbf wrapper.
22376 * math/w_ilogbl.c: New file: ilogbl wrapper.
22377 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22378 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22379 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22380 exception being thrown with 0.0 as argument.
22381 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22382 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22383 exception being thrown with 0.0 as argument.
22384 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22385 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22386 exception being thrown with 0.0 as argument.
22387 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22388 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22389 exception being thrown with 0.0 as argument.
22390 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22391 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22392 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22393 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22394 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22395 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22396 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22397 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22398 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22400 2012-04-17 Petr Baudis <pasky@ucw.cz>
22402 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22405 2012-04-16 Marek Polacek <polacek@redhat.com>
22407 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22409 2012-04-16 Marek Polacek <polacek@redhat.com>
22411 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22412 operands of fdivp instruction.
22414 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22416 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22417 * elf/tst-auditmod3b.c: Likewise.
22418 * elf/tst-auditmod4b.c: Likewise.
22419 * elf/tst-auditmod5b.c: Likewise.
22420 * elf/tst-auditmod6b.c: Likewise.
22421 * elf/tst-auditmod6c.c: Likewise.
22422 * elf/tst-auditmod7b.c: Likewise.
22423 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22424 * sysdeps/x86_64/preconfigure.in: Likewise.
22425 * sysdeps/x86_64/preconfigure: Regenerated.
22427 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22429 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22432 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22435 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22437 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22440 * locale/iso-639.def: Fix gl language name. Spotted by
22443 2012-04-12 Roland McGrath <roland@hack.frob.com>
22446 * libio/libio.h (__io_write_fn): Update comment.
22448 2012-04-12 Petr Baudis <pasky@ucw.cz>
22451 * stdio.texi (Hook Functions): The user provided writer function
22452 is not allowed to return -1.
22454 2012-04-11 David S. Miller <davem@davemloft.net>
22456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22458 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22460 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22461 Add a leading slash to rtkaio.
22463 2012-04-11 Jim Meyering <meyering@redhat.com>
22466 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22467 It is not necessarily an error to ignore fwrite's return
22468 value. One can reliably use ferror to test for errors after
22471 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22473 * bits/types.h (__snseconds_t): New type.
22474 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22476 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22478 (__SNSECONDS_T_TYPE): Likewise.
22479 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22480 (__SNSECONDS_T_TYPE): Likewise.
22481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22482 (__SNSECONDS_T_TYPE): Likewise.
22484 2012-04-10 Andreas Jaeger <aj@suse.de>
22487 * manual/time.texi (Processor Time): Return type of times is
22488 elapsed real time since an arbitrary point in the past.
22489 (CPU Time): Move CLK_TCK from here...
22490 (Processor Time): ...to here. Correct description.
22491 * manual/conf.texi (Constants for Sysconf): Correct description of
22494 2012-04-10 David S. Miller <davem@davemloft.net>
22497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22498 where the is a gap between DT_REL(A) and DT_JMPREL.
22500 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22502 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22503 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22504 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22506 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22508 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22509 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22510 (dl_main): Handle --inhibit-cache.
22511 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22513 * elf/dl-load.c (_dl_map_object): Use it.
22514 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22516 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22519 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22520 (__ieee754_powl): Saturate large exponents rather than testing for
22521 overflow of y*log2(x).
22522 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22523 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22527 * math/s_ctan.c: Include <float.h>.
22528 (__ctan): Avoid internal overflow or cancellation in calculating
22530 * math/s_ctanf.c: Likewise.
22531 * math/s_ctanl.c: Likewise.
22532 * math/s_ctanh.c: Likewise.
22533 * math/s_ctanhf.c: Likewise.
22534 * math/s_ctanhl.c: Likewise.
22535 * math/libm-test.inc (ctan_test): Add more tests.
22536 (ctanh_test): Likewise.
22537 * sysdeps/i386/fpu/libm-test-ulps: Update.
22538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22540 2012-04-09 Andreas Jaeger <aj@suse.de>
22543 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22544 is an optional BSD extension.
22547 * manual/stdio.texi (Opening Streams): Document additional fopen
22550 2012-04-09 Roland McGrath <roland@hack.frob.com>
22552 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22553 %eax without telling the compiler.
22555 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22558 * manual/install.texi: Use sourceware.org.
22560 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22563 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22564 (__ieee754_pow): Generate overflow and underflow using huge*huge
22565 and tiny*tiny rather than just returning constant infinity or zero
22566 for large exponents.
22567 * math/libm-test.inc (pow_test): Require overflow exceptions for
22568 applicable cases of large exponents.
22571 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22572 (__ieee754_pow): Use iterative multiplication algorithm only for
22573 integer exponents with absolute value below 1024. Check for odd
22574 integer exponents when using algorithm for real exponents.
22575 * math/libm-test.inc (pow_test): Add more tests.
22576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22578 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22581 * math/libm-test.inc (exp_test): Do not allow overflow exception
22584 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22587 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22588 instead of __kernel_standard_f.
22590 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22592 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22593 * sysdeps/x86_64/memset_chk.S: Likewise.
22595 2012-04-08 Andreas Jaeger <aj@suse.de>
22598 * manual/startup.texi (Environment Access): Describe return value
22599 for putenv and setenv.
22602 * manual/filesys.texi (Directory Entries): Add description for
22606 * manual/filesys.texi (Directory Entries): Clarify that it's file
22607 system not operating system in the description of DT_UNKNOWN.
22610 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22612 2012-04-08 Stephen Compall <s11@member.fsf.org>
22615 * manual/llio.texi (Opening and Closing Files): Add cross
22616 reference to explain mode argument.
22618 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22620 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22621 * sysdeps/x86_64/memset_chk.S: Likewise.
22623 2012-04-07 David S. Miller <davem@davemloft.net>
22625 * elf/elf.h (R_SPARC_WDISP10): Define.
22626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22629 R_SPARC_SIZE64 and R_SPARC_H34.
22631 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22633 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22634 conditions and remove no longer applicable assertion.
22636 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22638 * bits/byteswap.h: Include <features.h>.
22639 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22640 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22642 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22644 * bits/byteswap.h (__bswap_16): Removed.
22645 Include <bits/byteswap-16.h> to get __bswap_16.
22646 * sysdeps/i386/bits/byteswap.h: Likewise.
22647 * sysdeps/s390/bits/byteswap.h: Likewise.
22648 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22649 * bits/byteswap-16.h: New file.
22650 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22651 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22652 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22653 * string/Makefile (headers): Add bits/byteswap-16.h.
22655 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22658 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22660 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22661 * nss/tst-nss-static.c: New.
22663 2012-04-06 Robert Millan <rmh@gnu.org>
22666 * manual/llio.texi (File Position Primitive): lseek
22667 refers to WHENCE when it really means OFFSET.
22669 2012-04-06 Andreas Jaeger <aj@suse.de>
22671 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22672 strncmp declarations.
22674 * abilist/libc.abilist: Add __poll and __ppoll.
22676 2012-04-05 David S. Miller <davem@davemloft.net>
22678 * scripts/check-local-headers.sh: Accept a host triplet in the
22679 path matched by the exclude regexp.
22681 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22683 * sysdeps/powerpc/powerpc32/dl-machine.h
22684 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22685 * sysdeps/s390/s390-32/dl-machine.h
22686 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22687 * sysdeps/sparc/sparc32/dl-machine.h
22688 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22689 * sysdeps/sparc/sparc64/dl-machine.h
22690 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22692 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22694 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22695 undefined symbol errors.
22697 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22700 2012-04-05 Michael Matz <matz@suse.de>
22703 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22705 2012-04-05 Andreas Jaeger <aj@suse.de>
22708 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22711 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22713 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22714 which ROUND is no valid rounding mode.
22716 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22718 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22720 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22722 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22724 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22725 an exception using FPU order intentionally.
22727 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22729 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22730 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22731 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22732 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22734 2012-04-05 Simon Josefsson <simon@josefsson.org>
22737 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22738 EINVAL when BUFLEN is too smal.
22740 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22743 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22744 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22746 2012-04-03 Andreas Jaeger <aj@suse.de>
22749 * manual/setjmp.texi (System V contexts): Fix sentence.
22752 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22753 New macro for this case.
22754 [!__GNUC__] (__bswap_64): New inline function for this case.
22755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22756 * bits/byteswap.h: Likewise.
22757 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22758 ull, guard with __GLIBC_HAVE_LONG_LONG.
22760 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22761 __GLIBC_HAVE_LONG_LONG.
22763 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22764 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22766 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22769 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22770 inptr and inend, rather than using last_ch.
22772 2012-04-02 David S. Miller <davem@davemloft.net>
22774 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22775 * stdio-common/printf-parse.h (read_int): Change return type to
22776 'int', return -1 on INT_MAX overflow.
22777 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22778 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22779 overflows INT_MAX. Check for overflow of in-format-string precision
22780 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22781 SIZE_MAX not INT_MAX for integer overflow test.
22782 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22783 skip the construct in the format string but do not record anything.
22784 * stdio-common/bug22.c: Adjust to test both width/prevision
22785 INT_MAX overflow as well as total length INT_MAX overflow. Check
22786 explicitly for proper errno values.
22788 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22790 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22792 * string/test-strcmp.c [! WIDE]: Likewise.
22793 * time/tst-mktime2.c: Likewise for INT_MAX.
22794 * string/test-string.h: #include <sys/param.h> for MIN.
22796 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22797 * sysdeps/i386/init-first.c (init): Likewise.
22798 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22799 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22800 * sysdeps/sh/init-first.c (init): Likewise.
22802 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22804 * po/ru.po: Update from translation team.
22805 * po/vi.po: Likewise.
22807 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22809 * resolv/nss_dns/dns-host.c: Merge copyright years.
22811 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22813 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22814 Optimize memcpy with prefetch if
22815 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22816 src, dst pointers have unequal 16 byte alignments.
22818 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22821 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22822 from a CNAME entry and return the minimum ttl for the query.
22823 (gaih_getanswer_slice): Likewise.
22825 2012-03-30 Jeff Law <law@redhat.com>
22827 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22829 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22830 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22832 * resolv/nss_dns/dns-host.c: Update copyright year.
22834 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22836 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22837 requests to save a system call. Fix check that all bytes are sent.
22839 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22840 comments for sendmmsg.
22842 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22845 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22846 with only 1 character between 0x0041 and 0x01b0.
22847 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22848 * wcsmbs/tst-mbsnrtowcs.c: New file.
22850 2012-03-29 David S. Miller <davem@davemloft.net>
22852 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22853 small copies by hand.
22855 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22858 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22859 _nss_compat_initgroups_dyn): Fall back to malloc/free
22860 for large group memberships.
22862 2012-03-28 David S. Miller <davem@davemloft.net>
22864 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22865 that branches into memcpy.
22866 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22867 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22868 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22869 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22872 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22873 implementation too.
22874 * sysdeps/sparc/mempcpy.S: New file.
22876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22877 the IFUNC routine in the libc case.
22878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22880 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22881 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22882 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22883 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22884 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22885 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22886 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22887 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22889 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22890 loop to 256 bytes instead of 64 bytes and fix test signedness.
22892 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22893 * sysdeps/sparc/sparc32/Makefile: rather than here...
22894 * sysdeps/sparc/sparc64/Makefile: and here.
22896 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22898 * malloc/mallocbug.c: Avoid warnings about unused variables.
22900 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22903 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22904 in the right place. Discard and retry query if response is
22905 larger than input buffer size.
22907 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22912 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22913 x for large integer exponent.
22914 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22915 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22916 sign of result as needed afterwards.
22917 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22918 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22919 result for underflowing pow the same as for overflow.
22920 (__kernel_standard_l): Handle powl overflow and underflow here
22921 rather than calling __kernel_standard.
22922 * math/libm-test.inc (pow_test): Add more tests.
22937 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22938 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22939 (__kernel_standard_l): New function.
22940 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22942 * math/w_acosl.c (__acosl): Likewise.
22943 * math/w_asinl.c (__asinl): Likewise.
22944 * math/w_atan2l.c (__atan2l): Likewise.
22945 * math/w_atanhl.c (__atanhl): Likewise.
22946 * math/w_coshl.c (__coshl): Likewise.
22947 * math/w_exp10l.c (__exp10l): Likewise.
22948 * math/w_exp2l.c (__exp2l): Likewise.
22949 * math/w_fmodl.c (__fmodl): Likewise.
22950 * math/w_hypotl.c (__hypotl): Likewise.
22951 * math/w_j0l.c (__j0l, __y0l): Likewise.
22952 * math/w_j1l.c (__j1l, __y1l): Likewise.
22953 * math/w_jnl.c (__jnl, __ynl): Likewise.
22954 * math/w_lgammal.c (__lgammal): Likewise.
22955 * math/w_log10l.c (__log10l): Likewise.
22956 * math/w_log2l.c (__log2l): Likewise.
22957 * math/w_logl.c (__logl): Likewise.
22958 * math/w_powl.c (__powl): Likewise.
22959 * math/w_remainderl.c (__remainderl): Likewise.
22960 * math/w_scalbl.c (sysv_scalbl): Likewise.
22961 * math/w_sinhl.c (__sinhl): Likewise.
22962 * math/w_sqrtl.c (__sqrtl): Likewise.
22963 * math/w_tgammal.c (__tgammal): Likewise.
22964 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22965 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22966 * math/libm-test.inc (acos_test): Add more tests.
22967 (acosh_test): Likewise.
22968 (asin_test): Likewise.
22969 (atanh_test): Likewise.
22970 (exp_test): Likewise.
22971 (exp10_test): Likewise.
22972 (exp2_test): Likewise.
22973 (expm1_test): Likewise.
22974 (lgamma_test): Likewise.
22975 (log_test): Likewise.
22976 (log10_test): Likewise.
22977 (log1p_test): Likewise.
22978 (log2_test): Likewise.
22979 (pow_test): Do not allow some spurious overflow exceptions.
22980 (sqrt_test): Add more tests.
22981 (tgamma_test): Likewise.
22982 (y0_test): Likewise.
22983 (y1_test): Likewise.
22984 (yn_test): Likewise.
22986 2012-03-27 Anton Blanchard <anton@samba.org>
22988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22990 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22991 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22992 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22994 2012-03-27 David S. Miller <davem@davemloft.net>
22996 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22998 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22999 have-as-vis3 check.
23001 2012-03-27 Andreas Jaeger <aj@suse.de>
23003 * sysdeps/x86_64/elf/configure.in: Moved to ...
23004 * sysdeps/x86_64/configure.in: ... here.
23005 * sysdeps/x86_64/elf/start.S: Moved to ...
23006 * sysdeps/x86_64/start.S: ... here.
23007 * sysdeps/x86_64/elf/configure: Delete.
23009 * sysdeps/x86_64/configure.in: Merge contents from
23010 sysdeps/i386/configure.in (without i686 check).
23012 * sysdeps/i386/elf/Versions: Merge into ...
23013 * sysdeps/i386/Versions: ... this.
23014 * sysdeps/i386/elf/Versions: Delete file.
23015 * sysdeps/i386/elf/start.S: Moved to ...
23016 * sysdeps/i386/start.S: ...here.
23017 * sysdeps/i386/elf/configure.in: Merge into...
23018 * sysdeps/i386/configure.in: ...here.
23019 * sysdeps/i386/elf/configure.in: Delete file.
23020 * sysdeps/i386/elf/configure: Delete file.
23022 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23023 * debug/backtracesyms.c: ... here.
23024 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23025 * debug/backtracesymsfd.c: ... here.
23026 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23027 * sysdeps/generic/ifunc-sel.h: ... here.
23029 * sysdeps/unix/i386/start.c: Delete file.
23030 * sysdeps/unix/sparc/start.c: Delete file.
23031 * sysdeps/unix/start.c: Delete file.
23033 * sysdeps/sh/elf/configure.in: Moved to ...
23034 * sysdeps/sh/configure.in: ... here.
23035 * sysdeps/sh/elf/start.S: Moved to ...
23036 * sysdeps/sh/start.S: ... here.
23037 * sysdeps/sh/elf/configure: Delete file.
23039 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23040 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23041 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23042 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23043 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23044 * sysdeps/powerpc/powerpc64/start.S: here.
23045 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23046 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23047 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23048 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23049 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23051 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23052 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23053 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23054 * sysdeps/powerpc/powerpc32/start.S: ... here.
23055 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23056 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23057 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23059 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23060 * sysdeps/powerpc/ifunc-sel.h: ... here.
23061 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23062 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23064 * sysdeps/sparc/elf/configure.in: Moved to ...
23065 * sysdeps/sparc/configure.in: ... here.
23066 * sysdeps/sparc/elf/configure: Delete file.
23067 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23068 * sysdeps/sparc/sparc32/start.S: ... here.
23069 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23070 * sysdeps/sparc/sparc64/start.S: ... here.
23071 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23072 * sysdeps/sparc/sparc32/Makefile: ... this.
23073 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23074 * sysdeps/sparc/sparc64/Makefile: ... this.
23076 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23077 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23078 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23079 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23080 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23081 * sysdeps/s390/s390-32/setjmp.S: ... here.
23082 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23083 * sysdeps/s390/s390-32/configure.in: ... here.
23084 * sysdeps/s390/s390-32/elf/configure: Delete file.
23085 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23086 * sysdeps/s390/s390-32/start.S: ... here.
23088 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23089 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23090 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23091 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23092 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23093 * sysdeps/s390/s390-64/setjmp.S: ... here.
23094 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23095 * sysdeps/s390/s390-64/configure.in: ... here
23096 * sysdeps/s390/s390-64/elf/configure: Delete file.
23097 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23098 * sysdeps/s390/s390-64/start.S: ... here.
23099 * sysdeps/s390/s390-64/elf/configure: Delete.
23101 * configure.in: Remove support for elf directories in sysdeps.
23103 * configure: Regenerated.
23104 * sysdeps/i386/configure: Regenerated.
23105 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23106 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23107 * sysdeps/s390/s390-32/configure: Regenerated.
23108 * sysdeps/s390/s390-64/configure: Regenerated.
23109 * sysdeps/sh/configure: Regenerated.
23110 * sysdeps/sparc/configure: Regenerated.
23111 * sysdeps/x86_64/configure: Regenerated.
23113 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23118 denormal result into account.
23120 2012-03-25 Roland McGrath <roland@hack.frob.com>
23122 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23123 Reported by Allan McRae <allan@archlinux.org>.
23125 2012-03-23 Jeff Law <law@redhat.com>
23127 * nss/getnssent.c (__nss_getent): Fix typo.
23129 2012-03-23 David S. Miller <davem@davemloft.net>
23131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23133 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23135 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23136 to pad to uint64_t for each field.
23137 (dl_tls_index): Replace unsigned long with uint64_t.
23139 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23140 Paul Pluzhnikov <ppluzhnikov@google.com>
23143 * grp/Makefile (otherlibs): Don't set it.
23144 * inet/Makefile (otherlibs): Likewise.
23145 * login/Makefile (otherlibs): Likewise.
23146 * nscd/Makefile (otherlibs): Likewise.
23147 * posix/Makefile (otherlibs): Likewise.
23148 * pwd/Makefile (otherlibs): Likewise.
23149 * rt/Makefile (otherlibs): Likewise.
23150 * sunrpc/Makefile (otherlibs): Likewise.
23151 * nss/Makefile (otherlibs): Likewise.
23152 Add libnss_files to routines and static-only-routines.
23153 ($(objpfx)getent): Remove rule.
23154 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23155 static-only-routines.
23157 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23160 * math/s_cexp.c: Include <float.h>.
23161 (__cexp): Handle exp result overflowing not necessarily
23162 overflowing both real and imaginary parts of result.
23163 * math/s_cexpf.c: Likewise.
23164 * math/s_cexpl.c: Likewise.
23165 * math/libm-test.inc (cexp_test): Add more tests.
23166 * sysdeps/i386/fpu/libm-test-ulps: Update.
23167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23171 * include/link.h (ELFW): New macro.
23172 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23173 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23175 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23177 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23180 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23182 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23184 (struct La_x32_retval): Likewise.
23186 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23188 * sysdeps/x86_64/preconfigure.in: New file.
23189 * sysdeps/x86_64/preconfigure: New generated file.
23191 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23194 * math/e_exp2l.c: Include <float.h>.
23195 (__ieee754_exp2l): Handle overflow and underflow cases
23196 separately. Only pass fractional part of argument to
23198 * math/libm-test.inc (exp2_test): Add more tests.
23200 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23201 negating x to take absolute value.
23202 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23207 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23208 computing low part if x was negated.
23209 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23211 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23213 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23214 la_x32_gnu_pltexit.
23215 (pltexit): Cast int_retval to ptrdiff_t.
23216 * elf/tst-auditmod3b.c: Likewise.
23217 * elf/tst-auditmod4b.c: Likewise.
23218 * elf/tst-auditmod5b.c: Likewise.
23219 * elf/tst-auditmod6b.c: Likewise.
23220 * elf/tst-auditmod6c.c: Likewise.
23221 * elf/tst-auditmod7b.c: Likewise.
23223 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23224 and x32_gnu_pltexit.
23226 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23227 __ELF_NATIVE_CLASS.
23228 (La_x32_regs): New macro.
23229 (La_x32_retval): Likewise.
23230 (la_x32_gnu_pltenter): New function prototype.
23231 (la_x32_gnu_pltexit): Likewise.
23233 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23240 * configure.in (libc_cv_cc_nofma): Check for option to disable
23241 generation of FMA instructions.
23242 * configure: Regenerate.
23243 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23244 * sysdeps/ieee754/dbl-64/Makefile: New file.
23245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23246 Remove brandred-fma4.
23247 (CFLAGS-brandred-fma4.c): Remove.
23248 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23249 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23251 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23254 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23256 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23257 LLONG_MAX != LONG_MAX.
23258 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23259 (_fitoa_word): Likewise.
23260 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23261 LLONG_MAX != LONG_MAX.
23262 * stdio-common/_itowa.h: Include <_itoa.h>.
23263 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23264 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23265 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23266 only if not defined.
23267 (_ITOA_WORD_TYPE): Likewise.
23268 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23269 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23271 2012-03-21 David S. Miller <davem@davemloft.net>
23273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23275 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23277 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23278 of x86_64 when setting libc_cv_slibdir, libdir and
23280 * sysdeps/unix/sysv/linux/configure: Regenerated.
23282 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23284 * manual/lang.texi (Old Varargs): Remove section.
23285 (How Variadic): Update menu.
23286 (va_start): Do not mention varargs.h.
23288 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23289 Joseph Myers <joseph@codesourcery.com>
23291 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23293 * configure: Regenerated.
23295 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23297 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23298 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23301 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23304 * Makefile (files-for-dist): Remove NOTES.
23305 (NOTES): Remove rule.
23306 * README: Don't refer to NOTES.
23307 * manual/creature.texi: Don't include macros.texi.
23308 * manual/intro.texi (creature.texi): Remove comment referring to
23311 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23312 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23313 * configure: Regenerated.
23314 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23315 LIBC_TRY_CC_OPTION.
23316 (libc_cv_as_i686): Likewise.
23317 (libc_cv_cc_avx): Likewise.
23318 (libc_cv_cc_sse2avx): Likewise.
23319 (libc_cv_cc_fma4): Likewise.
23320 (libc_cv_cc_novzeroupper): Likewise.
23321 * sysdeps/i386/configure: Regenerated.
23324 * sysdeps/i386/fpu/s_cexp.S: Remove.
23325 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23326 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23327 * math/libm-test.inc (cexp_test): Add more tests.
23328 * sysdeps/i386/fpu/libm-test-ulps: Update.
23329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23331 2012-03-21 Allan McRae <allan@archlinux.org>
23333 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23335 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23338 * math/w_exp2.c: Do not include <float.h>.
23339 (o_threshold, u_threshold): Remove.
23340 (__exp2): Calculate result before checking finiteness and calling
23342 * math/w_exp2f.c: Likewise.
23343 * math/w_exp2l.c: Likewise.
23344 * math/libm-test.inc (exp2_test): Require overflow exception for
23348 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23349 range of signed 64-bit integers before using fistpll. Remove
23350 checks for whether integers fit in mantissa bits.
23351 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23352 the range of signed 32-bit integers before using fistpl. Remove
23353 checks for whether integers fit in mantissa bits.
23354 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23355 (__ieee754_powl): Test for y outside the range of signed 64-bit
23356 integers before using fistpll. Reduce 64-bit values to 63-bit
23358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23359 divide-by-zero is raised for zero to large negative powers.
23360 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23361 (__ieee754_powl): Test for y outside the range of signed 64-bit
23362 integers before using fistpll. Reduce 64-bit values to 63-bit
23364 * math/libm-test.inc (pow_test): Add more tests.
23366 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23368 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23369 <stdio-common/_itoa.h>.
23370 * debug/segfault.c: Likewise.
23371 * elf/dl-cache.c: Likewise.
23372 * elf/dl-minimal.c: Likewise.
23373 * elf/dl-misc.c: Likewise.
23374 * elf/dl-sysdep.c: Likewise.
23375 * elf/dl-version.c: Likewise.
23376 * elf/rtld.c: Likewise.
23377 * hurd/hurdsock.c: Likewise.
23378 * hurd/lookup-retry.c: Likewise.
23379 * malloc/malloc.c: Likewise.
23380 * malloc/mtrace.c: Likewise.
23381 * nscd/nscd_getgr_r.c: Likewise.
23382 * nscd/nscd_getpw_r.c: Likewise.
23383 * nscd/nscd_getserv_r.c: Likewise.
23384 * posix/getopt_init.c: Likewise.
23385 * posix/wordexp.c: Likewise.
23386 * stdio-common/_itoa.c: Likewise.
23387 * stdio-common/printf_fphex.c: Likewise.
23388 * stdio-common/vfprintf.c: Likewise.
23389 * string/_strerror.c: Likewise.
23390 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23391 * sysdeps/i386/i686/hp-timing.h: Likewise.
23392 * sysdeps/mach/_strerror.c: Likewise.
23393 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23394 * sysdeps/mach/hurd/sethostid.c: Likewise.
23395 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23396 * sysdeps/mach/xpg-strerror.c: Likewise.
23397 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23399 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23400 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23401 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23402 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23403 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23404 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23405 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23406 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23407 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23408 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23409 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23410 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23411 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23412 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23413 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23414 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23415 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23416 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23417 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23419 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23421 * stdio-common/_itoa.h: Moved to ...
23422 * sysdeps/generic/_itoa.h: Here.
23424 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23426 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23427 instead of "_itoa.h" and "_itowa.h".
23428 * stdio-common/vfprintf.: Likewise.
23430 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23432 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23434 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23435 (__signbit): Likwise.
23436 (llrintf): Likwise.
23439 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23441 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23444 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23446 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23447 OVERFLOW_EXCEPTION_OK.
23448 * math/libm-test.inc ("Philosophy"): Update comment about
23450 (OVERFLOW_EXCEPTION): Define.
23451 (OVERFLOW_EXCEPTION_OK): Likewise.
23452 (INVALID_EXCEPTION_OK): Renumber.
23453 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23454 (IGNORE_ZERO_INF_SIGN): Likewise.
23455 (test_exceptions): Handle FE_OVERFLOW.
23456 (exp10_test): Expect overflow exceptions.
23457 (exp2_test): Likewise.
23458 (expm1_test): Likewise.
23459 (nextafter_test): Likewise.
23460 (pow_test): Likewise.
23461 (scalbn_test): Likewise.
23462 (scalbln_test): Likewise.
23464 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23466 * sysdeps/x86_64/bits/atomic.h
23467 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23469 (atomic_exchange_acq): Likewise.
23470 (__arch_exchange_and_add_body): Likewise.
23471 (__arch_add_body): Likewise.
23472 (atomic_add_negative): Likewise.
23473 (atomic_add_zero): Likewise.
23475 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23477 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23478 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23480 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23482 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23483 Check __x86_64__ instead of __WORDSIZE.
23485 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23487 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23489 2012-03-19 David S. Miller <davem@davemloft.net>
23491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23493 * sysdeps/sparc/fpu/fenv_private.h: New file.
23494 * sysdeps/sparc/fpu/math_private.h: Use it.
23495 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23497 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23498 (libc_feholdexcept_setroundl): Remove.
23499 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23501 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23502 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23504 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23506 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23507 int64_t instead of long int.
23508 (INSERT_WORDS64): Likwise.
23510 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23512 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23513 _Unwind_GetCFA return to _Unwind_Ptr first.
23515 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23518 * math/s_clog.c: Include <float.h>.
23519 (__clog): Scale large or subnormal inputs.
23520 * math/s_clogf.c: Likewise.
23521 * math/s_clogl.c: Likewise.
23522 * math/s_clog10.c: Include <float.h>.
23523 (M_LOG10_2): Define.
23524 (__clog10): Scale large or subnormal inputs.
23525 * math/s_clog10f.c: Likewise.
23526 * math/s_clog10l.c: Likewise.
23527 * math/libm-test.inc (clog_test): Add more tests.
23528 (clog10_test): Likewise.
23529 * sysdeps/i386/fpu/libm-test-ulps: Update.
23530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23533 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23535 * math/libm-test.inc (atan2_test): Add another test.
23537 * Makerules (common-objdir-compile): Remove.
23538 * sysdeps/unix/Makefile (config-generated): Do not add
23539 $(unix-generated) to variable.
23540 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23541 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23543 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23545 [generic bits/local_lim.h] (before-compile): Do not append to
23547 [generic bits/local_lim.h] (common-generated): Likewise.
23548 [generic sys/param.h] (before-compile): Do not append to variable.
23549 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23550 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23551 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23552 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23554 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23555 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23556 [generic sys/param.h] ($(addprefix
23557 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23558 [generic sys/param.h] (common-generated): Do not append to
23560 [generic sys/param.h] (sysdep_headers): Likewise.
23561 [generic bits/errno.h] (before-compile): Do not append to
23563 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23565 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23566 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23567 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23568 [generic bits/errno.h] (common-generated): Do not append to
23570 [generic bits/ioctls.h] (before-compile): Do not append to
23572 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23574 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23575 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23576 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23578 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23579 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23580 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23581 [generic bits/ioctls.h] (common-generated): Do not append to
23583 [generic sys/syscall.h] (syscall.h): Remove variable.
23584 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23586 [generic sys/syscall.h] (before-compile): Do not append to
23588 [generic sys/syscall.h] (common-generated): Likewise.
23589 * sysdeps/unix/errnos-tmpl.c: Remove file.
23590 * sysdeps/unix/errnos.awk: Likewise.
23591 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23592 * sysdeps/unix/ioctls.awk: Likewise.
23593 * sysdeps/unix/mk-local_lim.c: Likewise.
23594 * sysdeps/unix/snarf-ioctls: Likewise.
23596 2012-03-19 Richard Henderson <rth@twiddle.net>
23598 * sysdeps/i386/fpu/fenv_private.h: New file.
23599 * sysdeps/i386/fpu/math_private.h: Use it.
23600 (math_opt_barrier, math_force_eval): Remove.
23601 (libc_feholdexcept_setround_53bit): Remove.
23602 (libc_feupdateenv_53bit): Remove.
23603 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23604 (math_opt_barrier, math_force_eval): Remove.
23605 (libc_feholdexcept): Remove.
23606 (libc_feholdexcept_setround): Remove.
23607 (libc_fetestexcept, libc_fesetenv): Remove.
23608 (libc_feupdateenv_test): Remove.
23609 (libc_feupdateenv, libc_feholdsetround): Remove.
23610 (libc_feresetround): Remove.
23612 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23613 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23615 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23616 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23617 (libc_feupdateenv_testl): New.
23618 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23619 (libc_feupdateenv_testf): New.
23620 (libc_feupdateenv): Use libc_feupdateenv_test.
23621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23624 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23625 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23626 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23627 (libc_feresetround_noex): New.
23628 (libc_feresetround_noexf): New.
23629 (libc_feresetround_noexl): New.
23630 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23631 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23632 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23633 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23636 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23638 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23639 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23640 SET_RESTORE_ROUND_NOEX.
23641 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23642 SET_RESTORE_ROUND_NOEXF.
23643 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23644 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23645 (libc_feholdsetroundf): New.
23646 (libc_feresetround, libc_feresetroundf): New.
23648 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23649 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23650 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23652 * sysdeps/generic/math_private.h: Include <fenv.h>.
23653 (default_libc_feholdexcept): New.
23654 (default_libc_feholdexcept_setround): New.
23655 (default_libc_fesetenv, default_libc_feupdateenv): New.
23656 (libc_feholdexcept): Only define if undefined.
23657 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23658 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23659 (libc_feholdexcept_setroundl): Likewise.
23660 (libc_feholdexcept_setround_53bit): Likewise.
23661 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23662 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23663 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23664 (libc_feupdateenv_53bit): Likewise.
23665 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23666 (libc_feholdexcept): Convert from macro to inline function.
23667 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23668 (libc_fesetenv, libc_feupdateenv): Likewise.
23670 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23671 not previously defined.
23672 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23673 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23674 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23675 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23676 * sysdeps/ieee754/flt-32/math_private.h: New file.
23677 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23678 math_private.h below SET_FLOAT_WORD.
23679 (__isnan, __isinf_ns, __finite): Remove.
23680 (__isnanf, __isinf_nsf, __finitef): Remove.
23682 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23686 2012-03-17 David S. Miller <davem@davemloft.net>
23689 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23692 2012-03-16 David S. Miller <davem@davemloft.net>
23694 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23698 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23700 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23701 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23702 sysdep_routines when subdir is sysvipc.
23703 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23704 __getshmlba helper.
23706 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23708 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23710 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23713 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23715 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23716 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23717 (__lround): Renamed to ...
23718 (__llround): This. Replace long int with long long int.
23719 Define lround functions as aliases of llround functions.
23720 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23722 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23724 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23725 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23726 adresses to uintptr_t. Replace "long int" and "unsigned long
23727 int" with "greg_t" on va_arg.
23729 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23731 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23732 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23734 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23735 Move e_machine check before EI_CLASS check. Handle x32
23736 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23737 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23738 SKIP_EM_IA_64 and include
23739 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23741 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23742 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23743 (add_system_dir): New macro.
23745 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23746 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23748 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23759 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23761 * math/w_j0f.c (j0f): Likewise.
23763 * math/w_j0l.c (__j0l): Likewise.
23765 * math/w_j1.c (j1): Likewise.
23767 * math/w_j1f.c (j1f): Likewise.
23769 * math/w_j1l.c (__j1l): Likewise.
23771 * math/w_jn.c (jn): Likewise.
23773 * math/w_jnf.c (jnf): Likewise.
23775 * math/w_jnl.c (__jnl): Likewise.
23777 * math/libm-test.inc (j0_test): Add more tests.
23778 (j1_test): Likewise.
23779 (jn_test): Likewise. Add trailing semicolon to existing test.
23780 (y0_test): Likewise.
23781 (y1_test): Likewise.
23782 * sysdeps/i386/fpu/libm-test-ulps: Update.
23783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23787 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23788 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23789 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23790 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23791 (__tanl): Set errno for infinite argument.
23792 * sysdeps/i386/fpu/mptan.c: Remove.
23793 * sysdeps/i386/fpu/s_tan.S: Likewise.
23794 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23795 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23796 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23797 * math/libm-test.inc (tan_test): Add more tests and enable more
23798 tests for double and long double.
23799 * sysdeps/i386/fpu/libm-test-ulps: Update.
23800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23804 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23805 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23807 2012-03-16 Roland McGrath <roland@hack.frob.com>
23809 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23810 * configure.in: Use it for both main tree and add-ons.
23811 * configure: Regenerated.
23813 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23815 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23817 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23819 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23823 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23824 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23825 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23829 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23831 != 0 for prec == 2.
23832 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23833 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23834 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23835 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23836 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23837 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23838 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23839 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23840 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23841 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23842 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23843 * math/libm-test.inc (cos_test): Add more tests and enable more
23844 tests for long double.
23845 (sin_test): Likewise.
23846 (sincos_test): Likewise.
23847 * sysdeps/i386/fpu/libm-test-ulps: Update.
23848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23850 2012-03-16 David S. Miller <davem@davemloft.net>
23852 * sysdeps/sparc/fpu/math_private.h: New file.
23854 2012-03-15 David S. Miller <davem@davemloft.net>
23856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23870 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23871 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23873 * sysdeps/sparc/sparc-ifunc.h: New file.
23874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23916 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23919 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23921 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23925 2012-03-15 Andreas Jaeger <aj@suse.de>
23928 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23929 ieee754/flt-32 implementation for sin, cos and sincos.
23930 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23931 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23932 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23933 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23934 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23935 ieee754/flt-32 implementation for tan.
23937 * math/libm-test.inc (cos_test): Enable some large input tests for
23939 (sin_test): Likewise.
23940 (sincos_test): Likewise.
23941 (tan_test): Add tests for large input.
23943 * sysdeps/i386/fpu/libm-test-ulps: Update.
23945 2012-03-15 Andreas Jaeger <aj@suse.de>
23948 * math/libm-test.inc (cos_test): Add more test cases.
23949 (sin_test): Likewise.
23950 (sincos_test): Likewise.
23952 2012-03-15 Andreas Jaeger <aj@suse.de>
23955 * math/libm-test.inc (cos_test): Add a test case for large input
23957 (sin_test): Likewise.
23958 (sincos_test): Likewise.
23960 2012-03-15 Andreas Jaeger <aj@suse.de>,
23961 Joseph Myers <joseph@codesourcery.com>
23964 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23965 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23966 * sysdeps/i386/fpu/branred.c: Likewise.
23967 * sysdeps/i386/fpu/dosincos.c: Likewise.
23968 * sysdeps/i386/fpu/mpa.c: Likewise.
23969 * sysdeps/i386/fpu/s_cos.S: Likewise.
23970 * sysdeps/i386/fpu/s_sin.S: Likewise.
23971 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23972 * sysdeps/i386/fpu/sincos32.c: Likewise.
23974 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23976 (libc_feupdateenv_53bit): Define.
23977 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23979 (libc_feupdateenv_53bit): Define.
23981 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23982 53 bit (without extend i386 double precision).
23984 * math/libm-test.inc (sincos_test): Add tests for large input.
23988 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23990 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23994 2012-03-15 David S. Miller <davem@davemloft.net>
23996 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23997 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23998 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23999 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24023 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24024 fmin/fmax sysdep routines.
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24027 2012-03-14 David S. Miller <davem@davemloft.net>
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24033 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24034 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24049 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24050 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24106 * sysdeps/sparc/configure.in: New file.
24107 * sysdeps/sparc/configure: Generate.
24108 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24109 * configure: Regenerate.
24110 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24111 * config.make.in (have-as-vis3): New.
24112 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24113 available use -Av9d instead of -Av9a.
24114 * sysdeps/sparc/sparc64/Makefile: Likewise.
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24124 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24130 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24131 fzeros/fnegs to load 0x80000000 into a float register instead of
24133 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24135 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24139 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24140 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24141 ($(inst_includedir)/bits/syscall.h): Remove rule.
24142 ($(objpfx)bits/syscall.d): Include instead of
24143 $(objpfx)syscall-list.d.
24144 (generated): Change syscall-list.h and syscall-list.d to
24145 bits/syscall.h and bits/syscall.d.
24147 2012-03-14 Roland McGrath <roland@hack.frob.com>
24150 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24152 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24155 * math/s_csqrt.c: Include <float.h>.
24156 (__csqrt): Scale large or subnormal inputs.
24157 * math/s_csqrtf.c: Likewise.
24158 * math/s_csqrtl.c: Likewise.
24159 * math/libm-test.inc (csqrt_test): Add more tests.
24160 * sysdeps/i386/fpu/libm-test-ulps: Update.
24161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24164 * math/libm-test.inc (hypot_test): Add more tests.
24166 2012-03-13 David S. Miller <davem@davemloft.net>
24169 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24170 double-precision for the calculation instead of scaling.
24172 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24174 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24175 manipulate bits before adding and subtracting TWO52[sx].
24176 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24181 2012-03-13 David S. Miller <davem@davemloft.net>
24183 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24184 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24186 rtld-global-offsets.h
24187 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24189 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24192 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24194 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24195 'err' in the ifdef scope in which it is actually used.
24197 * nss/nss_db/db-init.c: Include string.h
24199 2012-03-12 David S. Miller <davem@davemloft.net>
24201 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24202 masking out of the most significant byte of random value used.
24203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24204 Fix coding style in previous change.
24206 * sysdeps/unix/sysv/linux/kernel-features.h
24207 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24208 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24210 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24213 2012-03-11 David S. Miller <davem@davemloft.net>
24215 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24216 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24217 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24218 for 'resultvar' otherwise things get truncated on 64-bit.
24220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24221 Fix masking out of the most significant byte of random value used.
24223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24225 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24229 2012-03-09 David S. Miller <davem@davemloft.net>
24231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24232 variables with appropriate CPP guards.
24233 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24234 frame pointer, not the stack pointer. Correct layout comments. Fix test
24235 on resulting framesize and the management of the outregs buffer for pltexit.
24236 Preserve floating point return values across _dl_call_pltexit call.
24237 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24238 framesize and the management of the outregs buffer for pltexit.
24239 Preserve floating point return values across _dl_call_pltexit
24241 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24242 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24243 (print_exit): Fix format string for return register value.
24245 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24247 * sunrpc/Makefile (others): Add rpcgen.
24248 ($(objpfx)rpcgen): Remove special build rule and dependency on
24250 * sunrpc/rpcgen.c: New file.
24252 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24255 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24256 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24257 * sysdeps/i386/crti.S: Likewise.
24258 * sysdeps/i386/crtn.S: Likewise.
24259 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24260 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24261 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24262 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24263 * sysdeps/sh/crti.S: Likewise.
24264 * sysdeps/sh/crtn.S: Likewise.
24265 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24268 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24270 * locale/programs/locfile-kw.gperf: Likewise.
24271 * locale/programs/charmap-kw.h: Regenerated.
24272 * locale/programs/locfile-kw.h: Likewise.
24275 * intl/plural.y: Replace FSF snail mail address with URL.
24276 * intl/plural.c: Regenerated.
24278 2012-03-09 Richard Henderson <rth@twiddle.net>
24280 * include/math_private.h: Remove file.
24281 * math/math_private.h: Move file ...
24282 * sysdeps/generic/math_private.h: ... here.
24284 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24285 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24286 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24288 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24289 and <math_private.h>.
24290 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24291 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24292 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24293 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24294 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24295 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24296 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24298 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24301 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24302 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24304 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24305 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24307 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24308 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24309 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24311 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24312 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24314 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24315 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24316 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24319 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24320 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24322 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24323 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24327 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24328 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24330 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24331 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24332 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24333 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24334 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24335 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24336 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24337 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24339 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24340 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24341 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24342 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24343 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24344 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24345 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24346 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24347 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24348 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24349 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24350 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24351 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24353 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24354 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24355 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24356 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24357 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24359 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24362 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24364 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24368 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24370 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24372 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24373 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24374 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24378 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24379 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24380 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24381 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24382 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24383 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24384 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24385 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24386 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24387 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24388 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24389 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24390 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24391 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24392 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24393 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24394 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24395 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24396 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24397 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24398 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24400 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24401 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24402 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24403 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24404 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24405 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24406 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24407 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24408 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24409 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24410 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24411 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24412 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24413 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24416 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24417 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24418 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24419 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24420 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24421 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24422 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24423 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24424 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24425 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24426 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24427 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24428 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24429 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24431 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24432 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24433 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24434 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24435 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24436 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24437 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24438 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24439 * sysdeps/ieee754/k_standard.c: Likewise.
24440 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24441 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24442 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24443 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24444 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24445 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24446 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24447 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24448 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24449 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24450 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24451 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24452 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24453 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24454 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24455 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24456 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24457 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24458 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24459 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24461 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24462 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24464 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24465 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24466 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24473 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24474 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24475 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24478 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24479 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24480 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24481 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24482 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24483 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24484 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24485 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24486 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24488 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24489 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24490 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24491 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24492 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24493 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24494 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24498 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24499 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24500 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24501 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24502 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24505 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24507 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24554 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24555 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24559 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24560 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24562 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24563 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24564 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24566 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24567 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24572 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24588 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24589 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24590 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24600 * sysdeps/ieee754/s_lib_version.c: Likewise.
24601 * sysdeps/ieee754/s_matherr.c: Likewise.
24602 * sysdeps/ieee754/s_signgam.c: Likewise.
24603 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24604 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24605 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24606 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24607 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24608 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24609 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24610 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24611 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24612 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24613 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24614 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24615 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24616 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24617 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24618 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24619 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24620 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24621 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24625 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24627 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24628 * sunrpc/rpc_main.c: Likewise.
24629 * sunrpc/rpc_svcout.c: Likewise.
24631 2012-03-09 David S. Miller <davem@davemloft.net>
24633 * include/math_private.h: New file.
24635 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24637 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24638 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24639 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24640 from <bits/socket_type.h>.
24641 (enum __socket_type): Don't define here.
24642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24644 bits/socket_type.h.
24647 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24648 checking __USE_GNU.
24650 * Makerules ($(inst_includedir)/%.h): New rule.
24651 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24652 (install-others): Remove variable setting.
24653 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24655 2012-03-08 Richard Henderson <rth@twiddle.net>
24657 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24658 from macro to inline function; merge with the
24659 !__LIBC_INTERNAL_MATH_INLINES version.
24660 (__ieee754_sqrtf): Likewise.
24662 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24663 to inline function.
24664 (__rintf, __floor, __floorf): Likewise.
24666 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24667 macro to inline function.
24668 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24670 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24671 not <math/math_private.h>.
24673 2012-03-08 David S. Miller <davem@davemloft.net>
24675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24677 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24679 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24681 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24683 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24684 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24686 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24688 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24689 be defined individually, they must be defined as a block. Define
24690 S for printing a string instead of hidint the different by using a
24691 macro for adding the 'l'.
24692 * stdio-common/tst-fphex-wide.c: Adjust.
24694 2012-03-07 Marek Polacek <polacek@redhat.com>
24696 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24698 2012-03-08 Marek Polacek <polacek@redhat.com>
24701 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24702 * stdio-common/tst-fphex.c: Define a few macros to make the
24703 test reusable. Use them.
24704 * stdio-common/tst-fphex-wide.c: New file.
24706 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24709 * manual/macros.texi (gnusystems): New macro.
24710 (nongnusystems): Likewise.
24711 (gnulinuxhurdsystems): Likewise.
24712 (gnuhurdsystems): Likewise..
24713 (gnulinuxsystems): Likewise.
24714 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24715 variants of the GNU system, not "GNU system".
24716 * manual/conf.texi: Likewise.
24717 * manual/errno.texi: Likewise. Update example of errno macro
24719 * manual/filesys.texi: Likewise.
24720 (getumask): Document as specific to GNU/Hurd.
24721 * manual/install.texi: Likewise. Reword some references to
24723 * manual/intro.texi: Likewise.
24724 * manual/io.texi: Likewise.
24725 (File Name Portability): Detail which constraints are inapplicable
24726 to all GNU systems and which are only inapplicable to GNU/Hurd.
24727 * manual/job.texi: Likewise.
24728 * manual/llio.texi: Likewise.
24729 (O_NOCTTY): Document as present on GNU/Linux.
24730 * manual/maint.texi: Likewise.
24731 * manual/memory.texi: Likewise.
24732 * manual/pattern.texi: Likewise.
24733 * manual/pipe.texi: Likewise.
24734 * manual/process.texi: Likewise.
24735 * manual/resource.texi: Likewise.
24736 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24738 * manual/setjmp.texi: Likewise.
24739 * manual/signal.texi: Likewise.
24740 * manual/startup.texi: Likewise.
24741 * manual/stdio.texi: Likewise.
24742 * manual/terminal.texi: Likewise.
24743 (ONLCR): Document as POSIX.
24744 (OXTABS): Document availability on GNU/Linux as XTABS.
24745 (ONOEOT): Document availability separately from other bits.
24746 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24747 * manual/time.texi: Likewise.
24748 * manual/users.texi: Likewise.
24749 * INSTALL: Regenerated.
24750 * sysdeps/gnu/errlist.c: Regenerated.
24752 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24753 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24754 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24756 * configure: Regenerated.
24758 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24760 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24761 default includes instead of AC_HEADER_CHECK.
24762 * sysdeps/i386/configure: Regenerated.
24765 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24766 * math/s_cacoshf.c (__cacoshf): Likewise.
24767 * math/s_cacoshl.c (__cacoshl): Likewise.
24768 * math/s_casinh.c (__casinh): Set signs of result from argument.
24769 * math/s_casinhf.c (__casinhf): Likewise.
24770 * math/s_casinhl.c (__casinhl): Likewise.
24771 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24772 (casinh_test): Add more tests.
24773 * sysdeps/i386/fpu/libm-test-ulps: Update.
24774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24776 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24778 * po/zh_TW.po: Update from translation team.
24780 * login/Makefile (distribute): Remove variable.
24781 * catgets/Makefile: Likewise.
24782 * mach/Makefile: Likewise.
24783 * malloc/Makefile: Likewise.
24784 * misc/Makefile: Likewise.
24785 * iconv/Makefile: Likewise.
24786 * nscd/Makefile: Likewise.
24787 * hurd/Makefile: Likewise.
24788 * manual/Makefile: Likewise.
24789 * locale/Makefile: Likewise.
24790 * intl/Makefile: Likewise.
24791 * conform/Makefile: Likewise.
24792 * nss/Makefile: Likewise.
24793 * time/Makefile: Likewise.
24794 * soft-fp/Makefile: Likewise.
24795 * dirent/Makefile: Likewise.
24796 * gmon/Makefile: Likewise.
24797 * po/Makefile: Likewise.
24798 * rt/Makefile: Likewise.
24799 * socket/Makefile: Likewise.
24800 * math/Makefile: Likewise.
24801 * signal/Makefile: Likewise.
24802 * debug/Makefile: Likewise.
24803 * elf/Makefile: Likewise.
24804 * timezone/Makefile: Likewise.
24805 * stdlib/Makefile: Likewise.
24806 * iconvdata/Makefile: Likewise.
24807 * sunrpc/Makefile: Likewise.
24808 * io/Makefile: Likewise.
24809 * argp/Makefile: Likewise.
24810 * inet/Makefile: Likewise.
24811 * hesiod/Makefile: Likewise.
24812 * grp/Makefile: Likewise.
24813 * csu/Makefile: Likewise.
24814 * wctype/Makefile: Likewise.
24815 * crypt/Makefile: Likewise.
24816 * libio/Makefile: Likewise.
24817 * string/Makefile: Likewise.
24818 * nis/Makefile: Likewise.
24819 * resolv/Makefile: Likewise.
24820 * stdio-common/Makefile: Likewise.
24821 * wcsmbs/Makefile: Likewise.
24822 * dlfcn/Makefile: Likewise.
24823 * posix/Makefile: Likewise.
24826 * timezone/Makefile: Don't install timezone files, just the programs
24829 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24831 * nss/databases.def: Add missing gshadow entry.
24833 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24835 2012-03-06 Marek Polacek <polacek@redhat.com>
24838 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24839 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24840 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24841 * stdio-common/tst-long-dbl-fphex.c: New file.
24843 2012-03-06 David S. Miller <davem@davemloft.net>
24845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24846 (set_obp_int): New function.
24847 (get_obp_int): New function.
24848 (__get_clockfreq_via_dev_openprom): Likewise.
24849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24850 Avoid unused variable warnings on 'val' and use builtin_expect.
24851 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24853 (INLINE_CLONE_SYSCALL): Likewise.
24855 2012-03-05 David S. Miller <davem@davemloft.net>
24857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24859 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24863 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24864 only for |x| >= 40.
24865 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24867 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24870 Replace gettimeofday with __vdso_gettimeofday.
24872 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24873 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24874 __vdso_clock_gettime and __vdso_getcpu.
24876 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24877 time with __vdso_time.
24879 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24881 * manual/lang.texi (size_t): Note types to which size_t may be
24882 equivalent with the GNU C Library, but do not describe when
24883 differences between them are significant.
24885 2012-03-05 Andreas Jaeger <aj@suse.de>
24887 * sysdeps/i386/fpu/libm-test-ulps: Update.
24889 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24892 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24893 (__ieee754_pow): Save and restore rounding mode and use
24894 round-to-nearest for main computations.
24895 * math/libm-test.inc (pow_test_tonearest): New function.
24896 (pow_test_towardzero): Likewise.
24897 (pow_test_downward): Likewise.
24898 (pow_test_upward): Likewise.
24899 (main): Call the new functions.
24900 * sysdeps/i386/fpu/libm-test-ulps: Update.
24901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24904 * math/libm-test.inc (cosh_test_tonearest): New function.
24905 (cosh_test_towardzero): Likewise.
24906 (cosh_test_downward): Likewise.
24907 (cosh_test_upward): Likewise.
24908 (sinh_test_tonearest): Likewise.
24909 (sinh_test_towardzero): Likewise.
24910 (sinh_test_downward): Likewise.
24911 (sinh_test_upward): Likewise.
24912 (main): Call the new functions.
24913 * sysdeps/i386/fpu/libm-test-ulps: Update.
24914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24916 2012-03-05 Tom de Vries <tom@codesourcery.com>
24918 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24919 default stack guard is set in last bytes.
24920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24922 2012-03-05 Kees Cook <keescook@chromium.org>
24924 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24927 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24928 possibly allocate from heap instead of stack.
24929 * stdio-common/bug-vfprintf-nargs.c: New file.
24930 * stdio-common/Makefile (tests): Add nargs overflow test.
24932 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24936 2012-03-03 Marek Polacek <polacek@redhat.com>
24938 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24939 * math/math_private.h: Likewise.
24940 * stdlib/tst-strtod.c: Likewise.
24941 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24942 * sysdeps/x86_64/bits/atomic.h: Likewise.
24944 2012-03-02 David S. Miller <davem@davemloft.net>
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24950 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24951 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24952 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24953 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24955 2012-03-02 Roland McGrath <roland@hack.frob.com>
24958 * manual/examples/README: New file, says the example source files
24959 can be used under GPL>=2.
24960 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24961 line containing just "*/".
24962 * manual/examples/add.c: Add copyright header (GPL>=2).
24963 * manual/examples/argp-ex1.c: Likewise.
24964 * manual/examples/argp-ex2.c: Likewise.
24965 * manual/examples/argp-ex3.c: Likewise.
24966 * manual/examples/argp-ex4.c: Likewise.
24967 * manual/examples/atexit.c: Likewise.
24968 * manual/examples/db.c: Likewise.
24969 * manual/examples/dir.c: Likewise.
24970 * manual/examples/dir2.c: Likewise.
24971 * manual/examples/execinfo.c: Likewise.
24972 * manual/examples/filecli.c: Likewise.
24973 * manual/examples/filesrv.c: Likewise.
24974 * manual/examples/fmtmsgexpl.c: Likewise.
24975 * manual/examples/genpass.c: Likewise.
24976 * manual/examples/inetcli.c: Likewise.
24977 * manual/examples/inetsrv.c: Likewise.
24978 * manual/examples/isockad.c: Likewise.
24979 * manual/examples/longopt.c: Likewise.
24980 * manual/examples/memopen.c: Likewise.
24981 * manual/examples/memstrm.c: Likewise.
24982 * manual/examples/mkfsock.c: Likewise.
24983 * manual/examples/mkisock.c: Likewise.
24984 * manual/examples/mygetpass.c: Likewise.
24985 * manual/examples/pipe.c: Likewise.
24986 * manual/examples/popen.c: Likewise.
24987 * manual/examples/rprintf.c: Likewise.
24988 * manual/examples/search.c: Likewise.
24989 * manual/examples/select.c: Likewise.
24990 * manual/examples/setjmp.c: Likewise.
24991 * manual/examples/sigh1.c: Likewise.
24992 * manual/examples/sigusr.c: Likewise.
24993 * manual/examples/stpcpy.c: Likewise.
24994 * manual/examples/strdupa.c: Likewise.
24995 * manual/examples/strftim.c: Likewise.
24996 * manual/examples/strncat.c: Likewise.
24997 * manual/examples/subopt.c: Likewise.
24998 * manual/examples/swapcontext.c: Likewise.
24999 * manual/examples/termios.c: Likewise.
25000 * manual/examples/testopt.c: Likewise.
25001 * manual/examples/testpass.c: Likewise.
25002 * manual/examples/timeval_subtract.c: Likewise.
25005 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25007 * manual/timeval_subtract.c.texi: ... here, new file.
25009 2012-03-02 David S. Miller <davem@davemloft.net>
25011 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25013 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25016 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25017 (__sin): Save and restore rounding mode and use round-to-nearest
25018 for all computations.
25019 (__cos): Save and restore rounding mode and use round-to-nearest
25020 for all computations.
25021 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25023 (tan): Save and restore rounding mode and use round-to-nearest for
25025 * math/libm-test.inc (cos_test_tonearest): New function.
25026 (cos_test_towardzero): Likewise.
25027 (cos_test_downward): Likewise.
25028 (cos_test_upward): Likewise.
25029 (sin_test_tonearest): Likewise.
25030 (sin_test_towardzero): Likewise.
25031 (sin_test_downward): Likewise.
25032 (sin_test_upward): Likewise.
25033 (tan_test_tonearest): Likewise.
25034 (tan_test_towardzero): Likewise.
25035 (tan_test_downward): Likewise.
25036 (tan_test_upward): Likewise.
25037 (main): Call the new functions.
25038 * sysdeps/i386/fpu/libm-test-ulps: Update.
25039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25042 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25043 small n, then large n, before computing and testing k+n.
25044 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25049 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25050 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25051 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25052 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25054 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25055 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25056 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25057 * math/libm-test.inc (scalbn_test): Add more tests.
25058 (scalbln_test): Likewise.
25060 * manual/filesys.texi (mode_t): Describe constraints on size and
25061 signedness, not exact equivalence to a particular type.
25063 (ino64_t): Likewise.
25065 (nlink_t): Likewise.
25066 (blkcnt_t): Likewise.
25067 (blkcnt64_t): Likewise.
25068 * manual/llio.texi (off_t): Likewise.
25071 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25072 (__ieee754_exp): Save and restore rounding mode and use
25073 round-to-nearest for all computations.
25074 * math/libm-test.inc (exp_test_tonearest): New function.
25075 (exp_test_towardzero): Likewise.
25076 (exp_test_downward): Likewise.
25077 (exp_test_upward): Likewise.
25078 (main): Call the new functions.
25079 * sysdeps/i386/fpu/libm-test-ulps: Update.
25080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25082 2012-03-01 Chris Demetriou <cgd@google.com>
25084 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25085 have predictable order.
25087 2012-03-01 David S. Miller <davem@davemloft.net>
25089 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25091 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25092 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25093 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25094 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25096 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25097 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25098 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25100 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25101 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25102 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25103 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25104 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25109 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25110 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25112 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25113 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25114 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25115 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25116 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25119 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25120 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25121 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25122 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25125 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25126 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25128 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25129 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25130 * sysdeps/sparc/elf/configure: Regenerated.
25132 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25134 * configure.in (AS, LD): Require binutils 2.20 or later.
25135 * configure: Regenerated.
25136 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25137 as required minimum version.
25138 * INSTALL: Regenerated.
25142 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25143 before squaring exponent.
25144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25145 bottom long double and 27 bits of top long double before squaring
25147 * math/libm-test.inc (erfc_test): Add more tests.
25148 * sysdeps/i386/fpu/libm-test-ulps: Update.
25149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25152 2012-03-01 Kai Tietz <ktietz@redhat.com>
25154 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25155 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25156 containing bit-fields.
25157 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25158 * soft-fp/single.h (_FP_UNION_S): Likewise.
25159 * soft-fp/double.h (_FP_UNION_D): Likewise.
25161 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25164 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25165 not include ../strcmp.S.
25166 [USE_AS_STRNCASECMP_L]: Likewise.
25167 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25168 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25169 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25170 (__strncasecmp_l_ia32): Define as alias to
25171 __strncasecmp_l_nonascii.
25174 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25175 * sysdeps/i386/fpu/libm-test-ulps: Update.
25176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25178 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25181 2012-02-29 Jeff Law <law@redhat.com>
25183 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25184 out of bounds read.
25186 2012-02-29 Marek Polacek <polacek@redhat.com>
25189 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25190 * elf/Makefile: Add rules to run tst-unused-dep.out.
25192 2012-02-28 David S. Miller <davem@davemloft.net>
25194 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25195 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25197 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25198 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25199 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25201 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25203 * math/libm-test.inc (llround_test): Move one test from
25204 lround_test. Use TEST_f_L in moved test.
25205 (lround_test): Move misplaced test to llround_test. Add testcase
25208 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25210 * sysdeps/x86_64/fpu/e_expf.S: New file.
25211 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25213 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25216 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25217 of remain_len that may cause incomplete multi-byte character and
25219 * posix/bug-regex33.c: New file.
25220 * posix/Makefile (tests): Add bug-regex33.
25222 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25224 * manual/macros.texi: New file.
25225 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25226 * manual/libc.texinfo: Include macros.texi.
25227 * manual/creatute.texi: Likewise.
25228 * manual/install.texi: Likewise.
25229 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25230 @glibcadj{} in references to the GNU C Library.
25231 * manual/charset.texi: Likewise.
25232 * manual/conf.texi: Likewise.
25233 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25234 when not using those macros.
25235 * manual/creature.texi: Likewise.
25236 * manual/crypt.texi: Likewise.
25237 * manual/errno.texi: Likewise.
25238 * manual/filesys.texi: Likewise.
25239 * manual/header.texi: Likewise.
25240 * manual/install.texi: Likewise.
25241 * manual/intro.texi: Likewise.
25242 * manual/io.texi: Likewise.
25243 * manual/job.texi: Likewise.
25244 * manual/lang.texi: Likewise.
25245 * manual/libc.texiinfo: Likewise.
25246 * manual/llio.texi: Likewise.
25247 * manual/locale.texi: Likewise.
25248 * manual/maint.texi: Likewise.
25249 * manual/math.texi: Likewise.
25250 * manual/memory.texi: Likewise.
25251 * manual/message.texi: Likewise.
25252 * manual/nss.texi: Likewise.
25253 * manual/pattern.texi: Likewise.
25254 * manual/process.texi: Likewise.
25255 * manual/resource.texi: Likewise.
25256 * manual/search.texi: Likewise.
25257 * manual/setjmp.texi: Likewise.
25258 * manual/signal.texi: Likewise.
25259 * manual/socket.texi: Likewise.
25260 * manual/startup.texi: Likewise.
25261 * manual/stdio.texi: Likewise.
25262 * manual/string.texi: Likewise.
25263 * manual/sysinfo.texi: Likewise.
25264 * manual/syslog.texi: Likewise.
25265 * manual/terminal.texi: Likewise.
25266 * manual/time.texi: Likewise.
25267 * manual/users.texi: Likewise.
25268 * INSTALL: Regenerated.
25269 * NOTES: Regenerated.
25270 * sysdeps/gnu/errlist.c: Regenerated.
25272 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25274 * include/dirent.h: Include <dirstream.h> before
25277 2012-02-28 David S. Miller <davem@davemloft.net>
25279 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25280 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25281 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25282 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25284 2012-02-27 David S. Miller <davem@davemloft.net>
25286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25288 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25289 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25292 frame pointer instead of stack pointer relative arg slot.
25293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25294 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25295 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25297 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25300 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25302 2012-02-27 David S. Miller <davem@davemloft.net>
25304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25308 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25309 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25310 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25311 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25313 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25315 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25316 later. Allow versions 5-9.
25317 * configure: Regenerated.
25318 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25319 required minimum version and 4.6 as recommended version. Do not
25320 mention bugs in GCC 2.7 and 2.8.
25321 * INSTALL: Regenerated.
25323 2012-02-27 David S. Miller <davem@davemloft.net>
25325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25329 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25330 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25331 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25332 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25335 manipulate bits before adding and subtracting TWO112[sx].
25336 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25338 2012-02-27 Roland McGrath <roland@hack.frob.com>
25341 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25342 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25343 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25344 being in POSIX, because they are in 1003.1-2008.
25346 * rt/tst-aio.c: Include <fcntl.h>.
25347 * rt/tst-aio7.c: Likewise.
25348 * rt/tst-aio64.c: Likewise.
25350 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25352 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25354 * manual/install.texi (--with-headers): Describe headers as
25355 interface headers, not private headers.
25356 (Specific advice for GNU/Linux systems): Describe use of headers
25357 from "make headers_install", not private headers from older
25359 * INSTALL: Regenerated.
25360 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25362 * sysdeps/unix/sysv/linux/configure: Regenerated.
25364 * manual/llio.texi (fclean): Remove documentation.
25366 * manual/Makefile (libc-texi-generated): New variable. Include
25368 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25369 $(libc-texi-generated), not duplicated list of files.
25370 (version.texi, stamp-version): New rules.
25371 (realclean): Remove $(libc-texi-generated), not individual files
25372 from that list. Do not remove dir-add.texinfo.
25373 * manual/libc.texinfo: Comment out uses of edition numbers and
25374 references to printed manual. Remove last-updated dates.
25375 (EDITION): Comment out.
25377 (VERSION, UPDATED): Remove.
25378 (version.texi): Include.
25380 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25382 * sysdeps/posix/spawni.c: Include <signal.h>.
25383 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25384 * sysdeps/pthread/aio_fsync.c: Likewise.
25386 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25388 * conform/Makefile (tests): Run only when not cross-compiling and
25389 when fast-check is not defined.
25391 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25392 * conform/data/limits.h-data: Fixes for POSIX2008.
25393 * conform/run-conformtest.sh: Run all tests.
25394 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25396 * include/bits/dlfcn.h: Likewise.
25397 * include/langinfo.h: Likewise.
25398 * include/monetary.h: Likewise.
25399 * include/sys/poll.h: Likewise.
25401 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25403 * posix/spawn.h: Define __need_sigset_t.
25404 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25405 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25406 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25407 to get sigevent_t only.
25408 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25409 only for __USE_GNU.
25410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25411 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25412 process_vm_writev only for __USE_GNU.
25413 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25415 * conform/Makefile: For now ignore errors from run-conformtest.
25416 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25417 POSIX to avoid namespace pollution. Don't prepend headers.
25418 * conform/data/aio.h-data: Fixes for POSIX testing.
25419 * conform/data/fcntl.h-data: Likewise.
25420 * conform/data/glob.h-data: Likewise.
25421 * conform/data/grp.h-data: Likewise.
25422 * conform/data/pthread.h-data: Likewise.
25423 * conform/data/pwd.h-data: Likewise.
25424 * conform/data/signal.h-data: Likewise.
25425 * conform/data/spawn.h-data: Likewise.
25426 * conform/data/stdio.h-data: Likewise.
25427 * conform/data/stdlib.h-data: Likewise.
25428 * conform/data/stropts.h-data: Likewise.
25429 * conform/data/sys/mman.h-data: Likewise.
25430 * conform/data/sys/stat.h-data: Likewise.
25431 * conform/data/sys/types.h-data: Likewise.
25432 * conform/data/sys/wait.h-data: Likewise.
25433 * conform/data/time.h-data: Likewise.
25434 * conform/data/unistd.h-data: Likewise.
25435 * conform/data/utime.h-data: Likewise.
25437 * io/sys/stat.h: fchmod was always in POSIX.
25438 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25439 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25440 * rt/aio.h: Define __need_timespec before including <time.h>.
25441 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25442 struct. Add forward declaration of pthread_attr_t and use it in
25444 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25445 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25446 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25447 always remove CLK_TCK definition.
25449 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25451 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25453 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25455 * conform/run-conformtest.sh: New file.
25456 * conform/Makefile: Run run-conformtest for tests.
25457 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25460 * conform/data/uchar.h-data: New file.
25461 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25462 * conform/data/arpa/inet.h-data: Likewise.
25463 * conform/data/assert.h-data: Likewise.
25464 * conform/data/complex.h-data: Likewise.
25465 * conform/data/cpio.h-data: Likewise.
25466 * conform/data/ctype.h-data: Likewise.
25467 * conform/data/dirent.h-data: Likewise.
25468 * conform/data/dlfcn.h-data: Likewise.
25469 * conform/data/errno.h-data: Likewise.
25470 * conform/data/fcntl.h-data: Likewise.
25471 * conform/data/float.h-data: Likewise.
25472 * conform/data/fmtmsg.h-data: Likewise.
25473 * conform/data/fnmatch.h-data: Likewise.
25474 * conform/data/ftw.h-data: Likewise.
25475 * conform/data/glob.h-data: Likewise.
25476 * conform/data/grp.h-data: Likewise.
25477 * conform/data/iconv.h-data: Likewise.
25478 * conform/data/inttypes.h-data: Likewise.
25479 * conform/data/langinfo.h-data: Likewise.
25480 * conform/data/libgen.h-data: Likewise.
25481 * conform/data/limits.h-data: Likewise.
25482 * conform/data/locale.h-data: Likewise.
25483 * conform/data/math.h-data: Likewise.
25484 * conform/data/monetary.h-data: Likewise.
25485 * conform/data/mqueue.h-data: Likewise.
25486 * conform/data/ndbm.h-data: Likewise.
25487 * conform/data/net/if.h-data: Likewise.
25488 * conform/data/netdb.h-data: Likewise.
25489 * conform/data/netinet/in.h-data: Likewise.
25490 * conform/data/nl_types.h-data: Likewise.
25491 * conform/data/poll.h-data: Likewise.
25492 * conform/data/pthread.h-data: Likewise.
25493 * conform/data/pwd.h-data: Likewise.
25494 * conform/data/regex.h-data: Likewise.
25495 * conform/data/sched.h-data: Likewise.
25496 * conform/data/search.h-data: Likewise.
25497 * conform/data/semaphore.h-data: Likewise.
25498 * conform/data/setjmp.h-data: Likewise.
25499 * conform/data/signal.h-data: Likewise.
25500 * conform/data/spawn.h-data: Likewise.
25501 * conform/data/stdarg.h-data: Likewise.
25502 * conform/data/stdio.h-data: Likewise.
25503 * conform/data/stdlib.h-data: Likewise.
25504 * conform/data/string.h-data: Likewise.
25505 * conform/data/strings.h-data: Likewise.
25506 * conform/data/stropts.h-data: Likewise.
25507 * conform/data/sys/ipc.h-data: Likewise.
25508 * conform/data/sys/mman.h-data: Likewise.
25509 * conform/data/sys/msg.h-data: Likewise.
25510 * conform/data/sys/resource.h-data: Likewise.
25511 * conform/data/sys/select.h-data: Likewise.
25512 * conform/data/sys/sem.h-data: Likewise.
25513 * conform/data/sys/shm.h-data: Likewise.
25514 * conform/data/sys/socket.h-data: Likewise.
25515 * conform/data/sys/stat.h-data: Likewise.
25516 * conform/data/sys/statvfs.h-data: Likewise.
25517 * conform/data/sys/time.h-data: Likewise.
25518 * conform/data/sys/timeb.h-data: Likewise.
25519 * conform/data/sys/times.h-data: Likewise.
25520 * conform/data/sys/types.h-data: Likewise.
25521 * conform/data/sys/uio.h-data: Likewise.
25522 * conform/data/sys/un.h-data: Likewise.
25523 * conform/data/sys/utsname.h-data: Likewise.
25524 * conform/data/sys/wait.h-data: Likewise.
25525 * conform/data/syslog.h-data: Likewise.
25526 * conform/data/tar.h-data: Likewise.
25527 * conform/data/termios.h-data: Likewise.
25528 * conform/data/utime.h-data: Likewise.
25529 * conform/data/utmpx.h-data: Likewise.
25530 * conform/data/varargs.h-data: Likewise.
25531 * conform/data/wchar.h-data: Likewise.
25532 * conform/data/wctype.h-data: Likewise.
25533 * conform/data/wordexp.h-data: Likewise.
25535 * include/stropts.h: New file.
25536 * include/uchar.h: New file.
25537 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25538 * include/assert.h: Likewise.
25539 * include/ctype.h: Likewise.
25540 * include/dirent.h: Likewise.
25541 * include/dlfcn.h: Likewise.
25542 * include/fcntl.h: Likewise.
25543 * include/fnmatch.h: Likewise.
25544 * include/glob.h: Likewise.
25545 * include/grp.h: Likewise.
25546 * include/libio.h: Likewise.
25547 * include/locale.h: Likewise.
25548 * include/math.h: Likewise.
25549 * include/net/if.h: Likewise.
25550 * include/netdb.h: Likewise.
25551 * include/netinet/in.h: Likewise.
25552 * include/pthread.h: Likewise.
25553 * include/pwd.h: Likewise.
25554 * include/regex.h: Likewise.
25555 * include/sched.h: Likewise.
25556 * include/search.h: Likewise.
25557 * include/setjmp.h: Likewise.
25558 * include/signal.h: Likewise.
25559 * include/stdio.h: Likewise.
25560 * include/stdlib.h: Likewise.
25561 * include/string.h: Likewise.
25562 * include/sys/cdefs.h: Likewise.
25563 * include/sys/mman.h: Likewise.
25564 * include/sys/msg.h: Likewise.
25565 * include/sys/resource.h: Likewise.
25566 * include/sys/select.h: Likewise.
25567 * include/sys/socket.h: Likewise.
25568 * include/sys/stat.h: Likewise.
25569 * include/sys/statvfs.h: Likewise.
25570 * include/sys/time.h: Likewise.
25571 * include/sys/times.h: Likewise.
25572 * include/sys/uio.h: Likewise.
25573 * include/sys/utsname.h: Likewise.
25574 * include/sys/wait.h: Likewise.
25575 * include/termios.h: Likewise.
25576 * include/time.h: Likewise.
25577 * include/ulimit.h: Likewise.
25578 * include/unistd.h: Likewise.
25579 * include/utime.h: Likewise.
25580 * include/wchar.h: Likewise.
25581 * include/wctype.h: Likewise.
25582 * include/wordexp.h: Likewise.
25584 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25586 * time/time.h: TIME_UTC must be a macro.
25587 Make timespec_get available for ISO C11 only as well.
25589 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25591 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25592 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25594 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25596 * configure.in: Use -o not -a in test for unsupported multi-arch.
25598 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25600 * manual/texinfo.tex: Update to version 2012-01-19.16.
25602 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25604 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25606 2012-02-24 Roland McGrath <roland@hack.frob.com>
25609 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25610 * manual/fdl-1.3.texi: New file.
25611 * manual/fdl-1.1.texi: File removed.
25614 * manual/libc.texinfo (FDL_VERSION): New @set.
25615 Use it for mention of FDL in cover text.
25616 (Documentation License): Use it in @include file name.
25618 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25619 Roland McGrath <roland@hack.frob.com>
25622 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25623 not LONG_LONG_MAX and LONG_LONG_MIN.
25624 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25625 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25627 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25629 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25633 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25634 manipulate bits before adding and subtracting TWO23[sx].
25635 * math/libm-test.inc (nearbyint_test): Add more tests.
25637 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25640 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25641 bits before adding and subtracting TWO23[sx].
25642 * math/libm-test.inc (rint_test): Add more tests.
25643 (rint_test_tonearest): Likewise.
25644 (rint_test_towardzero): Likewise.
25645 (rint_test_downward): Likewise.
25646 (rint_test_upward: Likewise.
25648 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25651 * include/stdc-predef.h: New file. Extracted from features.h.
25652 * include/features.h: Include stdc-predef.h.
25653 * Makefile (headers): Add stdc-predef.h.
25654 * CONFORMANCE (Compiler limitations): Update.
25656 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25658 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25660 2012-02-21 David S. Miller <davem@davemloft.net>
25662 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25663 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25665 2012-02-20 David S. Miller <davem@davemloft.net>
25667 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25668 using a normal save/restore sequence, rather than allocating a
25669 dummy stack frame just to store a frame pointer and restore.
25670 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25672 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25674 * manual/install.texi: Fix stray word in line-wrapped comment.
25676 2012-02-20 David S. Miller <davem@davemloft.net>
25678 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25679 both binutils and gcc support GOTDATA.
25681 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25682 "rd %pc" in the PIC register setup sequences.
25684 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25685 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25686 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25687 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25688 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25693 (SYSCALL_ERROR_HANDLER): Likewise.
25694 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25695 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25697 (SYSCALL_ERROR_HANDLER): Likewise.
25699 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25700 (HAVE_GCC_GOTDATA): New.
25701 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25702 relocation support in both binutils and gcc.
25703 * sysdeps/sparc/elf/configure: Regenerate.
25705 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25706 * sysdeps/sparc/sparc32/elf/configure: Delete.
25707 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25708 * sysdeps/sparc/sparc64/elf/configure: Delete.
25709 * sysdeps/sparc/elf/configure.in: New file.
25710 * sysdeps/sparc/elf/configure: Generate.
25712 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25713 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25714 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25715 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25716 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25718 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25720 * manual/install.texi: Do not mention specific glibc version
25722 * manual/libc.texinfo (VERSION, UPDATED): Update.
25723 (@copying): Use @copyright{} and range of years.
25725 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25728 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25729 [crti.S not in sysdirs] (generated): Do not append.
25730 [crti.S not in sysdirs] (omit-deps): Likewise.
25731 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25732 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25733 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25734 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25735 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25737 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25738 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25739 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25740 * csu/defs.awk: Remove file.
25741 * sysdeps/generic/initfini.c: Likewise.
25742 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25744 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25747 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25749 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25750 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25751 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25752 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25753 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25754 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25756 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25757 (__EPOLL_PACKED): Define to empty if not defined by
25759 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25763 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25765 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25766 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25767 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25768 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25770 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25774 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25776 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25778 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25779 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25780 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25783 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25788 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25790 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25791 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25793 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25795 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25798 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25800 * math/w_acos.c: Use non-signaling floating-point comparisons.
25801 * math/w_acosf.c: Likewise.
25802 * math/w_acosh.c: Likewise.
25803 * math/w_acoshf.c: Likewise.
25804 * math/w_acoshl.c: Likewise.
25805 * math/w_acosl.c: Likewise.
25806 * math/w_asin.c: Likewise.
25807 * math/w_asinf.c: Likewise.
25808 * math/w_asinl.c: Likewise.
25809 * math/w_atanh.c: Likewise.
25810 * math/w_atanhf.c: Likewise.
25811 * math/w_atanhl.c: Likewise.
25812 * math/w_exp2.c: Likewise.
25813 * math/w_exp2f.c: Likewise.
25814 * math/w_exp2l.c: Likewise.
25815 * math/w_j0.c: Likewise.
25816 * math/w_j0f.c: Likewise.
25817 * math/w_j0l.c: Likewise.
25818 * math/w_j1.c: Likewise.
25819 * math/w_j1f.c: Likewise.
25820 * math/w_j1l.c: Likewise.
25821 * math/w_jn.c: Likewise.
25822 * math/w_jnf.c: Likewise.
25823 * math/w_log.c: Likewise.
25824 * math/w_log10.c: Likewise.
25825 * math/w_log10f.c: Likewise.
25826 * math/w_log10l.c: Likewise.
25827 * math/w_log2.c: Likewise.
25828 * math/w_log2f.c: Likewise.
25829 * math/w_log2l.c: Likewise.
25830 * math/w_logf.c: Likewise.
25831 * math/w_logl.c: Likewise.
25832 * math/w_sqrt.c: Likewise.
25833 * math/w_sqrtf.c: Likewise.
25834 * math/w_sqrtl.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25837 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25838 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25839 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25841 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25844 * manual/string.texi (strnlen): Use correct parameter name in
25845 equivalent expression.
25847 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25850 * manual/users.texi (seteuid): Consistently use neweuid for
25853 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25856 * manual/nss.texi (Services in the NSS configuration): Correct
25857 list of services in example configuration file.
25859 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25862 * manual/arith.texi: Remove statements about negative zero
25863 behaving identically to zero.
25865 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25868 * manual/install.texi: Do not document upgrading from libc5.
25870 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25873 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25875 2012-02-18 David S. Miller <davem@davemloft.net>
25877 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25878 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25879 %o7 across the call.
25880 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25883 SETUP_PIC_REG_LEAF.
25884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25885 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25886 * sysdeps/sparc/crtn.S: Likewise.
25888 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25890 * aout/Makefile: Remove.
25892 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25895 * manual/examples/argp-ex1.c (main): Format definition in GNU
25897 * manual/examples/argp-ex2.c (main): Likewise.
25898 * manual/examples/argp-ex3.c (main): Likewise.
25899 * manual/examples/argp-ex4.c (main): Likewise.
25900 * manual/examples/longopt.c (main): Use new-style prototype
25902 * manual/examples/strncat.c (main): Specify return type and use
25903 (void) for arguments.
25904 * manual/examples/subopt.c (main): Use char **argv argument.
25906 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25909 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25912 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25915 * manual/string.texi (strchr): Change when strchrnul is
25918 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25921 * manual/locale.texi (setlocale): Document LOCPATH.
25923 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25926 * manual/process.texi (execle): Move @dots{} before last argument.
25928 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25931 * manual/charset.texi (Generic Charset Conversion): Fix typo
25932 (LC_TYPE -> LC_CTYPE).
25934 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25937 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25938 (scalbnf): Likewise.
25939 (scalbnl): Likewise.
25940 (scalbln): Likewise.
25941 (scalblnf): Likewise.
25942 (scalblnl): Likewise.
25943 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25944 (vwarnx): Likewise.
25947 * manual/filesys.texi (telldir): Use braces around return type.
25948 * manual/llio.texi (mmap): Add space after comma.
25949 (mmap64): Likewise.
25950 * manual/math.texi (jn): Use @var{} on parameter names.
25956 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25958 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25960 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25961 (sched_get_priority_max): Likewise.
25962 * manual/signal.texi (sigvec): Add space after comma.
25963 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25965 (if_indextoname): Likewise.
25966 (if_freenameindex): Likewise.
25967 (sendto): Use ',' instead of '.' in prototype.
25968 * manual/startup.texi (syscall): Use @dots{} instead of literal
25970 * manual/stdio.texi (__fpending): Separate initial words of
25971 paragraph from @deftypefun line.
25972 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25974 (vsyslog): Use @var{} on parameter names.
25975 * manual/terminal.texi (stty): Use @var{} on parameter names.
25976 * manual/users.texi (getutmp): Use @var{} on parameter names.
25977 (getutmpx): Likewise.
25979 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25982 * manual/stdio.texi (fopen): Fix typos in description of
25985 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25988 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25989 get clock_id definition.
25991 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25994 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25995 (madvise): Cast every argument to void on its own.
25997 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26000 * manual/startup.texi (Exit Status): Fix typo.
26002 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26005 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26006 * manual/examples/argp-ex2.c: Likewise.
26007 * manual/examples/argp-ex3.c: Likewise.
26009 2012-02-16 Richard Henderson <rth@redhat.com>
26011 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26012 * sysdeps/s390/s390-32/initfini.c: Remove.
26013 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26014 * sysdeps/s390/s390-64/initfini.c: Remove.
26016 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26018 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26019 compiler output for sysdeps/generic/initfini.c.
26020 * sysdeps/sh/elf/initfini.c: Remove file.
26022 2012-02-16 David S. Miller <davem@davemloft.net>
26025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26027 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26028 * sysdeps/sparc/crti.S: New file.
26029 * sysdeps/sparc/crtn.S: New file.
26030 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26031 * sysdeps/sparc/sparc64/Makefile: Likewise.
26033 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26036 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26038 2012-02-15 Roland McGrath <roland@hack.frob.com>
26041 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26043 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26044 (write, read, close): Likewise.
26045 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26047 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26049 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26050 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26051 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26052 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26054 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26058 2012-02-14 Marek Polacek <polacek@redhat.com>
26060 * sysdeps/x86_64/crti.S: New file.
26061 * sysdeps/x86_64/crtn.S: New file.
26062 * sysdeps/x86_64/elf/initfini.c: Remove file.
26064 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26066 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26067 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26068 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26069 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26071 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26075 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26077 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26078 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26079 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26080 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26082 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26086 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26088 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26089 __feraiseexcept instead of feraiseexcept.
26091 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26092 nanosleep invocations.
26093 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26094 strings, and add error checking for a nanosleep invocations.
26096 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26098 Replace FSF snail mail address with URLs, as per GNU coding standards.
26099 Most of the snail mail addresses were wrong anyway, and omitting
26100 them makes the source code easier to maintain. Almost all of the
26101 changes are to license notices and to locale LC_IDENTIFICATION
26102 addresses, except for this one:
26103 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26104 not its snail mail address.
26106 2012-02-09 Richard Henderson <rth@twiddle.net>
26108 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26109 of kernel-features.h.
26111 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26113 2012-02-08 Marek Polacek <polacek@redhat.com>
26115 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26116 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26117 * sysdeps/gnu/_G_config.h: Likewise.
26118 * sysdeps/generic/_G_config.h: Likewise.
26120 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26122 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26126 * sysdeps/powerpc/powerpc32/crti.S: New file.
26127 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26128 * sysdeps/powerpc/powerpc64/crti.S: New file.
26129 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26131 * Makeconfig (have-initfini): Don't set.
26132 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26133 * configure.in (nopic_initfini): Don't substitute.
26134 * config.h.in (HAVE_INITFINI): Don't #undef.
26135 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26136 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26138 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26140 Support crti.S and crtn.S provided directly by architectures.
26141 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26142 [crti.S in sysdirs] (omit-deps): Likewise.
26143 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26144 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26145 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26146 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26147 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26148 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26149 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26150 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26151 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26152 compiler output for sysdeps/generic/initfini.c.
26153 * sysdeps/i386/elf/Makefile: Remove file.
26154 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26156 2012-02-07 Marek Polacek <polacek@redhat.com>
26158 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26159 * sysdeps/gnu/_G_config.h: Likewise.
26160 * sysdeps/mach/hurd/_G_config.h: Likewise.
26162 2012-02-07 Marek Polacek <polacek@redhat.com>
26164 * math/Makefile (tests): Add tst-CMPLX2.
26165 * math/tst-CMPLX2.c: New file.
26167 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26169 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26171 * math/libm-test.inc (jn_test): Add missing L suffix.
26173 2012-02-06 Marek Polacek <polacek@redhat.com>
26175 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26176 * sysdeps/i386/fpu/e_powf.S: Likewise.
26177 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26178 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26179 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26180 * sysdeps/i386/fpu/e_pow.S: Likewise.
26181 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26182 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26183 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26184 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26185 * sysdeps/i386/fpu/e_log2.S: Likewise.
26186 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26187 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26188 * sysdeps/i386/fpu/e_powl.S: Likewise.
26189 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26191 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26192 * sysdeps/i386/fpu/e_logl.S: Likewise.
26193 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26194 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26195 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26196 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26197 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26198 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26199 * sysdeps/i386/fpu/e_log.S: Likewise.
26200 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26201 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26202 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26203 * sysdeps/i386/fpu/e_logf.S: Likewise.
26204 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26206 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26207 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26208 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26209 * sysdeps/i386/fpu/e_log10.S: Likewise.
26210 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26211 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26212 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26213 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26214 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26215 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26216 * sysdeps/i386/asm-syntax.h: Likewise.
26217 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26218 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26219 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26220 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26221 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26222 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26223 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26224 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26225 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26226 * sysdeps/powerpc/sysdep.h: Likewise.
26227 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26228 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26230 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26233 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26235 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26237 * sysdeps/i386/sysdep.h: Include <features.h>.
26238 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26241 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26243 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26245 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26248 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26250 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26251 (SETUP_PIC_REG): Use GET_PC_THUNK.
26252 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26255 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26257 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26258 for non-PIC compilation.
26259 (SETUP_PIC_REG): Add .p2align directive.
26260 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26261 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26262 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26263 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26264 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26265 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26266 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26267 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26268 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26269 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26270 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26271 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26272 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26273 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26274 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26275 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26276 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26277 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26278 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26279 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26280 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26281 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26282 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26283 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26286 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26287 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26288 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26289 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26290 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26291 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26292 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26293 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26294 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26295 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26296 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26297 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26298 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26299 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26300 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26302 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26304 * math/tst-CMPLX.c: Include <stdio.h>.
26306 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26308 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26310 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26311 * sysdeps/sparc/bits/mathdef.h: Likewise.
26313 2012-01-31 Marek Polacek <polacek@redhat.com>
26315 * libio/libio.h: Don't define _PARAMS.
26316 * locale/programs/config.h: Don't define PARAMS.
26317 * stdlib/strtol_l.c: Likewise.
26318 (__strtol_l): Remove PARAMS from the prototype.
26320 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26322 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26323 names. Just use the correct names. Remove unnecessary wrapper
26325 * malloc/arena.c: Likewise.
26326 * malloc/hooks.c: Likewise.
26328 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26329 ARENA_TEST says not to. Simplify test for creation of a new arena.
26330 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26332 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26334 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26336 (update_get_addr): New function.
26337 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26338 GET_ADDR_MODULE parameter.
26340 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26342 * crypt/cert.c: Remove __STDC__ conditionals.
26343 * crypt/crypt-entry.c: Likewise.
26344 * crypt/crypt_util.c: Likewise.
26345 * libio/filedoalloc.c: Likewise.
26346 * libio/fileops.c: Likewise.
26347 * libio/genops.c: Likewise.
26348 * libio/iofclose.c: Likewise.
26349 * libio/iofdopen.c: Likewise.
26350 * libio/iofopen.c: Likewise.
26351 * libio/iofopen64.c: Likewise.
26352 * libio/iogetdelim.c: Likewise.
26353 * libio/iopopen.c: Likewise.
26354 * libio/obprintf.c: Likewise.
26355 * libio/oldfileops.c: Likewise.
26356 * libio/oldiofclose.c: Likewise.
26357 * libio/oldiofdopen.c: Likewise.
26358 * libio/oldiofopen.c: Likewise.
26359 * libio/oldiopopen.c: Likewise.
26360 * libio/wfiledoalloc.c: Likewise.
26361 * libio/wgenops.c: Likewise.
26362 * locale/programs/xmalloc.c: Likewise.
26363 * misc/syslog.c: Likewise.
26364 * stdio-common/xbug.c: Likewise.
26365 * string/memchr.c: Likewise.
26366 * string/memcmp.c: Likewise.
26367 * string/memrchr.c: Likewise.
26368 * string/rawmemchr.c: Likewise.
26369 * sysdeps/posix/getcwd.c: Likewise.
26370 * time/strftime_l.c: Likewise.
26372 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26374 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26375 * config.make.in (config-cflags-sse2avx): Define.
26376 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26379 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26381 * scripts/config.guess: Update from upstream config git repository.
26382 * scripts/config.sub: Likewise.
26384 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26386 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26388 (R_TILEPRO_*, R_TILEGX_*): New macros.
26390 * scripts/firstversions.awk: Fix bug in version range handling.
26392 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26394 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26396 * include/sys/epoll.h: New file.
26397 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26400 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26402 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26403 Avoid unnecessary __WORDSIZE == 64 test.
26404 (fmaxf): Use VEX format if possible.
26409 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26410 * math/math_private.h: Remove libc_fegetround* and
26412 * sysdeps/i386/configure.in: Check for -msse2avx.
26413 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26414 also if SSE2AVX is defined.
26415 Remove libc_fegetround* and libc_fesetround*.
26416 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26417 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26421 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26422 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26426 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26428 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26430 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26432 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26434 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26437 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26439 * Makeconfig (libm): Define.
26440 * elf/Makefile: Add rules to build and run tst-relsort1.
26441 * elf/tst-relsort1.c: New file.
26442 * elf/tst-relsort1mod1.c: New file.
26443 * elf/tst-relsort1mod2.c: New file.
26445 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26447 * math/s_ldexp.c: Remove __STDC__ conditionals.
26448 * math/s_ldexpf.c: Likewise.
26449 * math/s_ldexpl.c: Likewise.
26450 * math/s_nextafter.c: Likewise.
26451 * math/s_nexttowardf.c: Likewise.
26452 * math/s_significand.c: Likewise.
26453 * math/s_significandf.c: Likewise.
26454 * math/s_significandl.c: Likewise.
26455 * math/w_jnl.c: Likewise.
26456 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26457 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26458 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26459 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26460 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26462 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26464 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26466 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26468 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26469 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26470 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26471 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26472 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26473 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26475 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26476 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26477 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26478 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26479 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26480 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26481 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26482 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26483 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26484 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26485 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26486 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26487 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26488 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26489 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26490 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26491 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26492 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26493 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26494 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26495 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26496 * sysdeps/ieee754/k_standard.c: Likewise.
26497 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26498 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26499 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26500 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26501 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26502 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26503 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26504 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26505 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26506 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26507 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26509 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26510 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26511 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26516 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26519 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26520 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26522 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26524 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26526 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26527 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26528 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26529 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26530 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26531 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26532 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26533 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26534 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26535 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26536 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26537 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26540 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26558 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26561 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26563 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26571 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26572 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26576 * sysdeps/ieee754/s_matherr.c: Likewise.
26577 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26578 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26582 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26584 * crypt/md5.h: Remove __STDC__ conditionals.
26585 * libio/libioP.h: Likewise.
26586 * locale/programs/config.h: Likewise.
26587 * sysdeps/generic/sysdep.h: Likewise.
26588 * sysdeps/i386/asm-syntax.h: Likewise.
26589 * sysdeps/s390/asm-syntax.h: Likewise.
26590 * sysdeps/unix/sysdep.h: Likewise.
26591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26594 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26596 * libio/libio.h: Remove __STDC__ conditionals.
26597 * malloc/obstack.h: Likewise.
26598 * math/complex.h: Likewise.
26599 * math/math.h: Likewise.
26600 * sysdeps/generic/_G_config.h: Likewise.
26601 * sysdeps/gnu/_G_config.h: Likewise.
26602 * sysdeps/mach/hurd/_G_config.h: Likewise.
26603 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26604 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26605 * sysdeps/sparc/bits/mathdef.h: Likewise.
26607 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26610 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26611 Clean up HAS_* macros.
26612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26613 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26615 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26617 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26618 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26620 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26621 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26623 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26625 * elf/tst-unique3.cc (gets): Remove declaration.
26626 * elf/tst-unique3lib.cc (gets): Likewise.
26627 * elf/tst-unique3lib2.cc (gets): Likewise.
26628 * elf/tst-unique4.cc (gets): Likewise.
26630 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26632 * include/stdio.h: Add C++ protection. Add gets declarations and
26634 * debug/tst-chk1.c: Don't declare gets here.
26635 * stdio-common/tst-gets.c: Likewise.
26637 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26639 * posix/glob: Remove directory.
26641 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26643 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26645 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26647 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26648 of the non-standard EPFNOSUPPORT.
26650 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26652 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26653 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26654 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26656 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26658 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26660 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26662 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26664 * nscd/grpcache.c (cache_addgr): Likewise.
26665 * nscd/hstcache.c (cache_addhst): Likewise.
26666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26667 * nscd/pwdcache.c (cache_addpw): Likewise.
26668 * nscd/servicescache.c (cache_addserv): Likewise.
26670 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26672 * malloc/malloc.c: Various cleanups.
26673 * malloc/hooks.c: Likewise.
26675 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26676 * stdlib/bug-fmtmsg1.c: New file.
26678 * stdlib/fmtmsg.c (init): Add missing unlock.
26679 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26681 2012-01-12 Marek Polacek <polacek@redhat.com>
26683 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26686 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26688 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26689 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26690 macro to ensure uniqueness of label name.
26691 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26692 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26694 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26696 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26698 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26699 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26700 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26703 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26705 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26707 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26708 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26709 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26711 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26713 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26714 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26715 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26718 * math/bits/math-finite.h: Add ldexp support.
26720 2012-01-10 Marek Polacek <polacek@redhat.com>
26722 * locale/programs/localedef.h (show_archive_content): Add noreturn
26725 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26727 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26729 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26731 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26733 * io/Makefile (headers): Add bits/poll2.h.
26735 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26738 typo #include statement.
26740 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26742 * include/sys/cdefs.h: Define __attribute_alloc_size.
26743 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26744 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26745 * elf/pldd.c: Likewise.
26746 * iconv/iconv_charmap.c: Likewise.
26747 * iconv/iconvconfig.c: Likewise.
26748 * iconv/strtab.c: Likewise.
26749 * locale/programs/locale.c: Likewise.
26750 * locale/programs/localedef.h: Likewise.
26751 * locale/programs/simple-hash.c: Likewise.
26752 * nscd/nscd.h: Likewise.
26753 * nss/makedb.c: Likewise.
26754 * sysdeps/generic/ldconfig.h: Likewise.
26755 * locale/programs/localedef.c: Remove xmalloc prototype.
26756 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26758 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26760 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26763 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26765 * math/Makefile (tests): Add tst-CMPLX.
26766 * math/tst-CMPLX.c: New file.
26768 * math/complex.h (CMPLXL): Fix typo.
26770 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26771 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26773 * debug/tst-chk1.c: Add poll and ppoll tests.
26774 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26775 * include/sys/poll.h: Add hidden proto for ppoll.
26776 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26777 * sysdeps/mach/hurd/ppoll.c: Likewise.
26778 * io/ppoll.c: Likewise.
26779 * debug/poll_chk.c: New file.
26780 * debug/ppoll_chk.c: New file.
26781 * include/bits/poll2.h: New file.
26782 * io/bits/poll2.h: New file.
26785 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26787 * configure.in: static is always set to yes. Remove.
26788 * config.make.in: Don't set build-static.
26789 * Makeconfig: Remove use of build-static.
26790 * dlfcn/Makefile: Likewise.
26791 * elf/Makefile: Likewise.
26792 * math/Makefile: Likewise.
26793 * misc/Makefile: Likewise.
26794 * nptl/Makefile: Likewise.
26795 * sysdeps/mach/hurd/Makefile: Likewise.
26797 * configure.in: PWD_P is not used anymore.
26798 * config.make.in: Remove PWD_P entry.
26800 * configure.in: Remove last remnants of RANLIB.
26801 No need to check for signed size_t anymore.
26802 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26804 Remove __builtin_expect test because we require at least gcc 3.4.
26805 * aclocal.m4: Likewise.
26807 * wcsmbs/mbrtoc16.c: Implement using towc function.
26808 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26809 * wcsmbs/wcsmbsload.c: Likewise.
26810 * iconv/gconv_simple.c: Likewise.
26811 * iconv/gconv_int.h: Likewise.
26812 * iconv/gconv_builtin.h: Likewise.
26813 * iconv/iconv_prog.c: Remove CHAR16 handling.
26815 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26817 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26819 * configure.in: Remove --with-elf and --enable-bounded options.
26820 Dont set base_machine for ia64. More non-ELF conditions removed.
26821 Remove testing and setting of leading underscore information.
26822 * config.make.in (build-bounded): Set to no.
26823 * config.h.in: Remove NO_UNDERSCORES entry.
26824 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26826 * csu/start.c: Remove !NO_UNDERSCORE code.
26827 * locale/localeinfo.h: Likewise.
26828 * sysdeps/generic/machine-gmon.h: Likewise.
26829 * sysdeps/generic/sysdep.h: Likewise.
26830 * sysdeps/i386/sysdep.h: Likewise.
26831 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26832 * sysdeps/mach/sysdep.h: Likewise.
26833 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26834 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26835 * sysdeps/sh/sysdep.h: Likewise.
26836 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26837 * sysdeps/unix/i386/sysdep.S: Likewise.
26838 * sysdeps/unix/sparc/start.c: Likewise.
26839 * sysdeps/unix/sparc/sysdep.S: Likewise.
26840 * sysdeps/unix/sparc/sysdep.h: Likewise.
26841 * sysdeps/unix/start.c: Likewise.
26842 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26843 * sysdeps/x86_64/sysdep.h: Likewise.
26845 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26848 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26850 * argp/argp-fmtstream.h: Use const instead __const.
26851 * argp/argp.h: Likewise.
26852 * assert/assert.h: Likewise.
26853 * bits/fenv.h: Likewise.
26854 * bits/sched.h: Likewise.
26855 * bits/sigset.h: Likewise.
26856 * bits/sigthread.h: Likewise.
26857 * catgets/nl_types.h: Likewise.
26858 * conform/data/pthread.h-data: Likewise.
26859 * crypt/crypt-private.h: Likewise.
26860 * crypt/crypt.h: Likewise.
26861 * crypt/crypt_util.c: Likewise.
26862 * ctype/ctype.h: Likewise.
26863 * debug/execinfo.h: Likewise.
26864 * debug/mbsnrtowcs_chk.c: Likewise.
26865 * debug/mbsrtowcs_chk.c: Likewise.
26866 * debug/wcsnrtombs_chk.c: Likewise.
26867 * debug/wcsrtombs_chk.c: Likewise.
26868 * debug/wcstombs_chk.c: Likewise.
26869 * dirent/dirent.h: Likewise.
26870 * dlfcn/dlfcn.h: Likewise.
26871 * elf/neededtest4.c: Likewise.
26872 * grp/grp.h: Likewise.
26873 * gshadow/gshadow.h: Likewise.
26874 * iconv/gconv.h: Likewise.
26875 * iconv/gconv_int.h: Likewise.
26876 * iconv/gconv_simple.c: Likewise.
26877 * iconv/iconv.h: Likewise.
26878 * iconv/loop.c: Likewise.
26879 * iconv/skeleton.c: Likewise.
26880 * include/aio.h: Likewise.
26881 * include/aliases.h: Likewise.
26882 * include/argz.h: Likewise.
26883 * include/arpa/inet.h: Likewise.
26884 * include/assert.h: Likewise.
26885 * include/dirent.h: Likewise.
26886 * include/dlfcn.h: Likewise.
26887 * include/execinfo.h: Likewise.
26888 * include/fcntl.h: Likewise.
26889 * include/fenv.h: Likewise.
26890 * include/glob.h: Likewise.
26891 * include/grp.h: Likewise.
26892 * include/libintl.h: Likewise.
26893 * include/mntent.h: Likewise.
26894 * include/netdb.h: Likewise.
26895 * include/pwd.h: Likewise.
26896 * include/rpc/netdb.h: Likewise.
26897 * include/sched.h: Likewise.
26898 * include/search.h: Likewise.
26899 * include/shadow.h: Likewise.
26900 * include/signal.h: Likewise.
26901 * include/stdio.h: Likewise.
26902 * include/stdlib.h: Likewise.
26903 * include/string.h: Likewise.
26904 * include/sys/socket.h: Likewise.
26905 * include/sys/stat.h: Likewise.
26906 * include/sys/statfs.h: Likewise.
26907 * include/sys/statvfs.h: Likewise.
26908 * include/sys/syslog.h: Likewise.
26909 * include/sys/time.h: Likewise.
26910 * include/sys/uio.h: Likewise.
26911 * include/time.h: Likewise.
26912 * include/unistd.h: Likewise.
26913 * include/utmp.h: Likewise.
26914 * include/wchar.h: Likewise.
26915 * include/wctype.h: Likewise.
26916 * inet/aliases.h: Likewise.
26917 * inet/arpa/inet.h: Likewise.
26918 * inet/netinet/ether.h: Likewise.
26919 * inet/netinet/in.h: Likewise.
26920 * intl/libintl.h: Likewise.
26921 * io/bits/fcntl2.h: Likewise.
26922 * io/fcntl.h: Likewise.
26923 * io/ftw.h: Likewise.
26924 * io/sys/poll.h: Likewise.
26925 * io/sys/stat.h: Likewise.
26926 * io/sys/statfs.h: Likewise.
26927 * io/sys/statvfs.h: Likewise.
26928 * io/utime.h: Likewise.
26929 * libio/bits/stdio.h: Likewise.
26930 * libio/bits/stdio2.h: Likewise.
26931 * libio/libio.h: Likewise.
26932 * libio/libioP.h: Likewise.
26933 * libio/stdio.h: Likewise.
26934 * locale/lc-ctype.c: Likewise.
26935 * locale/locale.h: Likewise.
26936 * login/utmp.h: Likewise.
26937 * malloc/arena.c: Likewise.
26938 * malloc/malloc.c: Likewise.
26939 * malloc/malloc.h: Likewise.
26940 * malloc/mcheck.c: Likewise.
26941 * malloc/mtrace.c: Likewise.
26942 * math/bits/mathcalls.h: Likewise.
26943 * math/fenv.h: Likewise.
26944 * math/math_private.h: Likewise.
26945 * misc/bits/error.h: Likewise.
26946 * misc/bits/syslog.h: Likewise.
26947 * misc/err.h: Likewise.
26948 * misc/error.h: Likewise.
26949 * misc/fstab.h: Likewise.
26950 * misc/mntent.h: Likewise.
26951 * misc/regexp.h: Likewise.
26952 * misc/search.h: Likewise.
26953 * misc/sgtty.h: Likewise.
26954 * misc/sys/mman.h: Likewise.
26955 * misc/sys/syslog.h: Likewise.
26956 * misc/sys/uio.h: Likewise.
26957 * misc/sys/xattr.h: Likewise.
26958 * misc/ttyent.h: Likewise.
26959 * nis/rpcsvc/ypclnt.h: Likewise.
26960 * nss/nss.h: Likewise.
26961 * posix/bits/unistd.h: Likewise.
26962 * posix/fnmatch.h: Likewise.
26963 * posix/glob.h: Likewise.
26964 * posix/sched.h: Likewise.
26965 * posix/spawn.h: Likewise.
26966 * posix/sys/wait.h: Likewise.
26967 * posix/unistd.h: Likewise.
26968 * posix/wordexp.h: Likewise.
26969 * pwd/pwd.h: Likewise.
26970 * resolv/netdb.h: Likewise.
26971 * resource/sys/resource.h: Likewise.
26972 * rt/aio.h: Likewise.
26973 * rt/bits/mqueue2.h: Likewise.
26974 * rt/mqueue.h: Likewise.
26975 * shadow/shadow.h: Likewise.
26976 * signal/signal.h: Likewise.
26977 * socket/send.c: Likewise.
26978 * socket/sendto.c: Likewise.
26979 * socket/sys/socket.h: Likewise.
26980 * stdio-common/printf.h: Likewise.
26981 * stdlib/bits/stdlib.h: Likewise.
26982 * stdlib/fmtmsg.h: Likewise.
26983 * stdlib/monetary.h: Likewise.
26984 * stdlib/stdlib.h: Likewise.
26985 * stdlib/ucontext.h: Likewise.
26986 * streams/stropts.h: Likewise.
26987 * string/argz.h: Likewise.
26988 * string/bits/string2.h: Likewise.
26989 * string/string.h: Likewise.
26990 * string/strings.h: Likewise.
26991 * sunrpc/rpc/auth.h: Likewise.
26992 * sunrpc/rpc/auth_des.h: Likewise.
26993 * sunrpc/rpc/clnt.h: Likewise.
26994 * sunrpc/rpc/netdb.h: Likewise.
26995 * sunrpc/rpc/pmap_clnt.h: Likewise.
26996 * sunrpc/rpc/xdr.h: Likewise.
26997 * sysdeps/generic/inttypes.h: Likewise.
26998 * sysdeps/generic/net/if.h: Likewise.
26999 * sysdeps/generic/sys/swap.h: Likewise.
27000 * sysdeps/gnu/net/if.h: Likewise.
27001 * sysdeps/gnu/utmpx.h: Likewise.
27002 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27003 * sysdeps/i386/i486/bits/string.h: Likewise.
27004 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27005 * sysdeps/s390/bits/string.h: Likewise.
27006 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27007 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27008 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27009 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27010 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27011 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27012 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27013 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27014 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27015 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27016 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27017 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27018 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27019 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27020 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27021 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27022 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27024 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27027 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27028 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27029 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27030 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27031 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27032 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27034 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27035 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27036 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27037 * sysvipc/sys/ipc.h: Likewise.
27038 * sysvipc/sys/msg.h: Likewise.
27039 * sysvipc/sys/sem.h: Likewise.
27040 * sysvipc/sys/shm.h: Likewise.
27041 * termios/termios.h: Likewise.
27042 * time/sys/time.h: Likewise.
27043 * time/time.h: Likewise.
27044 * wcsmbs/bits/wchar2.h: Likewise.
27045 * wcsmbs/uchar.h: Likewise.
27046 * wcsmbs/wchar.h: Likewise.
27047 * wctype/wctype.h: Likewise.
27050 * Makeconfig: Remove all but ELF support including AIX support.
27051 * Makerules: Likewise.
27052 * config.h.in: Likewise.
27053 * config.make.in: Likewise.
27054 * configure: Likewise.
27055 * configure.in: Likewise.
27056 * csu/Makefile: Likewise.
27057 * csu/version.c: Likewise.
27058 * debug/Makefile: Likewise.
27059 * dlfcn/Makefile: Likewise.
27060 * elf/Makefile: Likewise.
27061 * extra-lib.mk: Likewise.
27062 * iconv/Makefile: Likewise.
27063 * include/libc-symbols.h: Likewise.
27064 * include/shlib-compat.h: Likewise.
27065 * resolv/Makefile: Likewise.
27066 * resolv/res_libc.c: Likewise.
27067 * rt/Makefile: Likewise.
27068 * sysdeps/i386/asm-syntax.h: Likewise.
27069 * sysdeps/i386/sysdep.h: Likewise.
27070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27071 * sysdeps/mach/sysdep.h: Likewise.
27072 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27073 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27074 * sysdeps/s390/asm-syntax.h: Likewise.
27075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27077 * sysdeps/sh/sysdep.h: Likewise.
27078 * sysdeps/unix/sparc/sysdep.h: Likewise.
27079 * sysdeps/wordsize-32/divdi3.c: Likewise.
27080 * sysdeps/x86_64/sysdep.h: Likewise.
27082 * argp/Versions: Remove _argp_unlock_xxx.
27085 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27086 * abilist/libBrokenLocale.abilist: Likewise.
27087 * abilist/libanl.abilist: Likewise.
27088 * abilist/libc.abilist: Likewise.
27089 * abilist/libcrypt.abilist: Likewise.
27090 * abilist/libdl.abilist: Likewise.
27091 * abilist/libm.abilist: Likewise.
27092 * abilist/libnsl.abilist: Likewise.
27093 * abilist/libpthread.abilist: Likewise.
27094 * abilist/libresolv.abilist: Likewise.
27095 * abilist/librt.abilist: Likewise.
27096 * abilist/libthread_db.abilist: Likewise.
27097 * abilist/libutil.abilist: Likewise.
27098 * abilist/libnss_db.abilist: New file.
27100 * scripts/abilist.awk: Add support for indirect functions.
27102 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27104 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27106 * shlib-versions: Remove entries for ports architectures.
27108 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27110 * elf/stackguard-macros.h: Remove support for IA-64.
27111 * elf/tst-auditmod1.c: Likewise.
27112 * sysdeps/generic/ldsodefs.h: Likewise.
27114 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27115 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27119 * configure.in: Remove --enable-omitfp support.
27121 * config.make.in: Likewise.
27122 * Makeconfig: Likewise.
27123 * manual/install.texi: Likewise.
27125 In case anyone cares, the IA-64 architecture could move to ports.
27126 * sysdeps/ia64/*: Removed.
27127 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27128 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27131 * configure.in: Remove entries for unsupported architectures.
27134 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27135 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27137 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27138 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27139 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27140 fall back to using wcrtomb.
27141 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27142 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27144 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27145 * wcsmbs/tst-c16c32-1.c: New file.
27147 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27150 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27152 * elf/tst-unique3.cc: Add explicit declaration of gets.
27153 * elf/tst-unique3lib.cc: Likewise.
27154 * elf/tst-unique3lib2.cc: Likewise.
27155 * elf/tst-unique4.cc: Likewise.
27157 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27159 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27162 * assert/assert.h (static_assert): Don't define for C++.
27163 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27164 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27166 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27168 * iconv/loop.c (single loop): Fix assertion in storing of
27171 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27173 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27175 * posix/getconf.c: Update copyright year.
27176 * nss/getent.c: Likewise.
27177 * nss/makedb.c: Likewise.
27178 * iconv/iconvconfig.c: Likewise.
27179 * iconv/iconv_prog.c: Likewise.
27180 * elf/ldconfig.c: Likewise.
27181 * elf/pldd.c: Likewise.
27182 * elf/sotruss.ksh: Likewise.
27183 * catgets/gencat.c: Likewise.
27184 * csu/version.c: Likewise.
27185 * elf/ldd.bash.in: Likewise.
27186 * elf/sprof.c (print_version): Likewise.
27187 * locale/programs/locale.c: Likewise.
27188 * locale/programs/localedef.c: Likewise.
27189 * login/programs/pt_chown.c: Likewise.
27190 * nscd/nscd.c (print_version): Likewise.
27191 * debug/xtrace.sh: Likewise.
27192 * malloc/memusage.sh: Likewise.
27193 * malloc/mtrace.pl: Likewise.
27194 * debug/catchsegv.sh: Likewise.
27196 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27198 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27201 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27204 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27205 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27207 * iconv/gconv_int.h: Likewise.
27208 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27209 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27210 from libc for GLIBC_2.16.
27211 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27212 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27213 * wcsmbs/uchar.h: Really define mbstate_t.
27214 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27215 * wcsmbs/c16rtomb.c: New file.
27216 * wcsmbs/mbrtoc16.c: New file.
27217 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27218 for C/POSIX locale.
27219 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27220 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27222 * wcsmbs/wchar.h: Add missing __restrict.
27224 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27227 * time/Makefile (routines): Add timespec_get.
27228 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27229 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27230 timespec for ISO C11.
27231 * time/timespec_get.c: New file.
27232 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27233 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27236 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27237 * stdlib/stdlib.h: Declare aligned_alloc.
27238 * Versions.def: Add GLIBC_2.16 for libc.
27239 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27242 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27245 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27249 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27252 * assert/assert.h (static_assert): Define.
27254 * version.h: Update for 2.16 development version.
27257 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27260 * version.h (RELEASE): Bump for 2.15 release.
27261 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27263 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27264 Patch by Marek Polacek <mpolacek@redhat.com>.
27266 * bits/byteswap.h: Protect long long constants with __extension__.
27267 * sysdeps/i386/bits/byteswap.h: Likewise.
27268 * sysdeps/ia64/bits/byteswap.h: Likewise.
27269 * sysdeps/s390/bits/byteswap.h: Likewise.
27270 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27272 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27275 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27276 destination buffer.
27277 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27279 2011-12-23 Marek Polacek <polacek@redhat.com>
27281 * elf/dl-addr.c (determine_info): Add inline keyword.
27282 * elf/tst-auditmod4b.c (check_avx): Likewise.
27283 * elf/tst-auditmod6b.c (check_avx): Likewise.
27284 * elf/tst-auditmod6c.c (check_avx): Likewise.
27285 * elf/tst-auditmod7b.c (check_avx): Likewise.
27287 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27289 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27292 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27295 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27296 processing for last bytes.
27298 2011-08-06 Bruno Haible <bruno@clisp.org>
27301 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27302 U+0385, not to U+1FEE.
27305 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27306 entry for U+00A5 U+0301.
27308 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27311 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27312 buffer for the output is too small.
27314 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27318 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27319 SSE flags if possible.
27321 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27324 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27325 processing for last bytes.
27327 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27329 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27330 (syscall-list-default-options, syscall-list-default-condition)
27331 (syscall-list-includes): Define.
27332 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27333 list of ABIs and options and #if conditions for each ABI. Do not
27334 handle common syscalls between ABIs specially.
27335 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27337 (syscall-list-variants, syscall-list-32bit-options)
27338 (syscall-list-32bit-condition, syscall-list-64bit-options)
27339 (syscall-list-64bit-condition): Define.
27340 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27341 (syscall-list-variants, syscall-list-32bit-options)
27342 (syscall-list-32bit-condition, syscall-list-64bit-options)
27343 (syscall-list-64bit-condition): Define.
27344 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27346 (syscall-list-variants, syscall-list-32bit-options)
27347 (syscall-list-32bit-condition, syscall-list-64bit-options)
27348 (syscall-list-64bit-condition): Define.
27349 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27351 (syscall-list-variants, syscall-list-32bit-options)
27352 (syscall-list-32bit-condition, syscall-list-64bit-options)
27353 (syscall-list-64bit-condition): Define.
27355 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27357 * locale/iso-639.def: Add brx entry.
27360 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27361 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27363 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27364 __feraiseexcept_renamed.
27366 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27369 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27370 EPOLLET with unsigned values.
27371 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27372 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27374 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27375 to large cancellation.
27376 * math/s_cacoshf.c: Likewise.
27377 * math/s_cacoshl.c: Likewise.
27379 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27383 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27384 * math/s_cacoshf.c: Likewise.
27385 * math/s_cacoshl.c: Likewise.
27387 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27390 * iconv/gconv.h: Define __GCONV_SWAP.
27391 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27392 * iconvdata/utf-16.c: Likewise.
27393 * iconvdata/utf-32.c: Likewise.
27395 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27398 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27399 numerator after shifting it by one limb.
27401 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27403 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27404 under [__USE_EXTERN_INLINES].
27406 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27409 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27411 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27413 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27414 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27416 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27417 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27418 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27419 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27420 for strncasecmp/strncasecmp_l compilation.
27421 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27422 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27424 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27427 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27430 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27433 * time/tzfile.c (__tzfile_read): Check values from file header.
27435 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27437 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27438 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27439 * powerpc/powerpc32/dl-start.S: Likewise.
27440 * powerpc/powerpc32/elf/start.S: Likewise.
27441 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27442 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27443 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27444 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27445 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27446 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27447 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27448 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27449 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27450 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27451 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27452 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27453 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27454 * powerpc/powerpc32/memset.S: Likewise.
27455 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27456 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27457 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27458 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27459 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27460 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27461 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27462 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27463 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27464 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27465 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27466 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27467 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27469 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27471 * math/libm-test.inc: Added more nearbyint tests.
27472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27477 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27479 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27482 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27484 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27485 Add wcscpy-ssse3 wcscpy-c.
27486 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27487 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27488 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27489 * sysdeps/x86_64/wcschr.S: New file.
27490 * sysdeps/x86_64/wcsrchr.S: New file.
27491 * string/test-strcmp.c: Remove checking of wcscmp function for
27493 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27494 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27495 wcsrchr-sse2 wcsrchr-c.
27496 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27497 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27498 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27499 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27500 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27501 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27502 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27503 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27504 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27505 * wcsmbc/wcschr.c (WCSCHR): New macro.
27507 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27509 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27510 * wcsmbs/test-wcsrchr.c: New file.
27511 * string/test-strrchr.c: Add wcsrchr support.
27513 * wcsmbs/test-wcscpy.c: New file.
27514 * string/test-strcpy.c: Add wcscpy support.
27517 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27519 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27522 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27525 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27527 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27529 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27530 Minor optimizations.
27532 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27533 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27534 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27536 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27538 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27539 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27540 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27541 for gcc to avoid warnings.
27542 * inet/Makefile (tests): Add tst-checks.
27543 * inet/tst-checks.c: New file.
27545 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27548 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27551 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27552 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27554 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27556 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27558 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27561 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27563 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27565 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27566 conditional on GCC version.
27567 (__arch_compare_and_exchange_val_8_acq)
27568 (__arch_compare_and_exchange_val_16_acq)
27569 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27570 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27571 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27573 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27575 * sysdeps/sh/backtrace.c: New file.
27577 2011-12-02 Andreas Schwab <schwab@redhat.com>
27579 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27582 2011-12-01 Andreas Schwab <schwab@redhat.com>
27584 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27585 falling back to utime.
27587 2011-11-30 Andreas Schwab <schwab@redhat.com>
27589 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27590 expectations for float.
27592 2011-11-29 Andreas Schwab <schwab@redhat.com>
27594 * locale/weight.h (findidx): Add parameter len.
27595 * locale/weightwc.h (findidx): Likewise.
27596 * posix/fnmatch_loop.c (FCT): Adjust caller.
27597 * posix/regcomp.c (build_equiv_class): Likewise.
27598 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27599 * posix/regexec.c (check_node_accept_bytes): Likewise.
27600 * string/strcoll_l.c (STRCOLL): Likewise.
27601 * string/strxfrm_l.c (STRXFRM): Likewise.
27603 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27605 * Makefile.in: Remove CVSOPT handling.
27606 * configure.in: Remove use of AC_REVISION.
27607 * iconvdata/Makefile (distribute): No need to filter out CVS.
27608 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27611 2011-11-16 Andreas Schwab <schwab@redhat.com>
27613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27614 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27615 [USE_AS_STRNCASECMP_L]: Likewise.
27616 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27617 NO_TLS_DIRECT_SEG_REFS.
27618 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27619 Fix argument offsets for non-PIC.
27620 [USE_AS_STRNCASECMP_L]: Likewise.
27621 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27622 NO_TLS_DIRECT_SEG_REFS.
27624 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27626 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27628 * locale/loadlocale.c (_nl_load_locale): Likewise.
27630 2011-11-15 Andreas Schwab <schwab@redhat.com>
27632 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27633 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27634 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27635 (SYSCALL_GETTIME): Set errno on error.
27637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27638 count references to noai6ai_cached.
27640 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27642 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27644 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27645 FD_CLOEXEC for /proc/self/maps.
27647 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27648 FD_CLOEXEC for /proc/meminfo.
27650 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27653 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27654 FD_CLOEXEC for given file.
27656 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27658 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27659 FD_CLOEXEC for /etc/hosts.
27660 (_gethtent): Likewise.
27662 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27664 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27665 cancellation and set FD_CLOEXEC for /etc/netgroup.
27667 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27668 reading /etc/publickey.
27670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27671 allow cancellation when reading /etc/group.
27673 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27675 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27677 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27678 when using data file.
27680 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27682 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27683 (write_nis_obj): Use "c" and "e" in fopen.
27685 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27687 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27689 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27691 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27693 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27696 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27698 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27700 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27702 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27703 file parsing and set FD_CLOEXEC.
27705 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27707 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27709 2011-11-14 Andreas Schwab <schwab@redhat.com>
27711 * malloc/arena.c (arena_get2): Don't call reused_arena when
27712 _int_new_arena failed.
27714 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27716 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27717 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27718 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27719 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27720 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27722 to compile strcasecmp and strncasecmp.
27723 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27724 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27728 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27730 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27731 locale-defines.sym to gen-as-const-headers.
27732 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27733 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27735 to compile strcasecmp and strncasecmp.
27736 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27737 strcasecmp_l and strncasecmp_l.
27738 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27739 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27740 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27741 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27742 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27743 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27744 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27745 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27746 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27747 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27748 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27750 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27752 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27753 result of SYSDEP_GETTIME_CPU to retval.
27754 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27755 parameter list to macro. Remove trailing semicolon. Adjust users.
27757 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27760 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27762 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27764 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27765 from unused variable.
27767 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27769 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27772 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27775 * sunrpc/rpc_prot.c (rejected): Fix case value.
27777 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27778 unsigned long long int to avoid warnings in shift.
27780 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27782 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27786 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27787 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27789 * nis/nis_table.c (nis_list): Use variable of correct type for
27790 result of __follow_path call.
27792 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27794 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27795 of math functions ceil, trunc, floor, round, and sqrt, when
27796 avaliable on the platform.
27797 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27799 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27800 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27801 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27803 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27805 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27806 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27808 2011-11-11 Roland McGrath <roland@hack.frob.com>
27810 * include/unistd.h: Fix __readlink return type.
27811 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27813 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27815 * stdlib/ucontext.h: Undo last change for makecontext.
27817 2011-11-11 Andreas Schwab <schwab@redhat.com>
27819 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27821 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27822 * setjmp/setjmp.h: Mark functions as non-leaf.
27823 * setjmp/bits/setjmp2.h: Likewise.
27824 * stdlib/ucontext.h: Likewise.
27826 2011-11-10 Andreas Schwab <schwab@redhat.com>
27828 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27829 (reused_arena): Don't check arena limit.
27830 (arena_get2): Atomically check arena limit.
27832 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27834 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27835 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27840 2011-11-07 Andreas Schwab <schwab@redhat.com>
27842 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27843 handler when locking.
27845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27846 Fix size of allocated buffer.
27848 2011-11-04 Andreas Schwab <schwab@redhat.com>
27851 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27852 declarations for long double functions.
27853 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27855 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27857 2011-11-03 Andreas Schwab <schwab@redhat.com>
27859 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27862 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27865 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27867 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27869 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27871 * include/alloca.h (stackinfo_alloca_round): Define.
27872 (extend_alloca): Use it.
27873 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27874 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27877 * scripts/check-local-headers.sh: Ignore libaudit.h.
27879 * nscd/Makefile (extra-objs): Make recursively expanded.
27881 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27883 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27886 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27887 * posix/tst-rfc3484-2.c: Likewise.
27888 * posix/tst-rfc3484-3.c: Likewise.
27890 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27892 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27894 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27895 process_vm_writev from libc using GLIBC_2.15 version.
27897 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27899 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27901 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27904 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27907 * nss/getent.c (initgroups_keys): Show error message in case no group
27910 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27911 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27912 __bump_nl_timestamp.
27913 * nscd/connections (nscd_init): When host database is served open
27914 netlink socket and request notification about configuration changes.
27915 (main_loop_poll): Track netlink file descriptor and bump timestamp
27916 in case data becomes available.
27917 (main_loop_epoll): Likewise.
27918 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27919 (database_pers_head): Add extra_data fileds.
27920 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27921 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27922 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27924 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27925 in6ai data, call __free_in6ai.
27926 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27927 Add -DHAVE_NETLINK.
27928 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27929 interface information. Reuse previous data if netlink timestamp
27931 (__bump_nl_timestamp): New function.
27932 (__free_in6ai): New function.
27934 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27936 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27937 close_not_cancel_no_status here.
27938 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27940 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27943 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27946 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27947 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27948 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27950 2011-07-03 Andreas Jaeger <aj@suse.de>
27953 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27954 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27955 * math/libm-test.inc (sin_test): Add test case.
27957 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27960 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27961 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27963 * elf/chroot_canon.c (chroot_canon): Cleanups.
27965 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27968 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27969 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27971 * string/test-strchr.c: Make usable for strchrnul testing.
27972 * string/test-strchrnul.c: New file.
27973 * string/Makefile (strop-tests): Add strchrnul.
27975 * po/it.po: Update from translation team.
27976 * po/es.po: Likewise.
27978 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27980 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27981 the three constants needed as parameters. Drop the others.
27982 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27983 __m128i_strloadu_tolower.
27984 Create and initialize variable zero and use it in all the places
27985 where _mm_setzero_si128 was used.
27987 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27988 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27989 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27990 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27992 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27993 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27994 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27995 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27996 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27997 __mpranred, __mptan.
27998 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27999 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28000 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28001 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28002 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28003 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28004 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28005 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28006 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28008 2011-10-28 Andreas Schwab <schwab@redhat.com>
28010 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28011 redefine if SHARED.
28012 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28015 wide char related routines to wcsmbs subdir.
28017 2011-10-27 Andreas Schwab <schwab@redhat.com>
28020 * misc/sys/cdefs.h (__THROWNL): Define.
28021 * posix/unistd.h: Use __THREADNL instead of __THREAD
28022 for memory synchronization functions.
28024 2011-10-26 Roland McGrath <roland@hack.frob.com>
28027 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28029 * manual/stdio.texi (Obstack Streams): Node removed.
28031 2011-10-26 Andreas Schwab <schwab@redhat.com>
28033 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28034 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28035 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28037 * math/math_private.h (math_force_eval): Allow non-addressable
28039 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28041 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28043 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28044 file is not needed.
28046 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28047 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28048 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28049 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28051 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28052 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28053 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28055 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28056 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28057 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28058 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28059 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28060 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28061 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28062 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28063 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28064 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28065 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28066 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28067 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28068 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28069 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28070 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28071 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28072 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28073 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28075 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28076 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28079 place. Use VEX encoding when compiling for AVX.
28081 2011-10-25 Andreas Schwab <schwab@redhat.com>
28083 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28084 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28086 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28088 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28090 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28091 useless if() expression.
28092 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28094 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28095 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28096 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28097 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28098 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28099 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28100 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28102 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28103 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28104 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28105 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28107 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28108 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28110 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28112 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28114 2011-10-25 Andreas Schwab <schwab@redhat.com>
28116 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28118 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28120 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28122 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28123 .text section. Avoid duplicate constants.
28124 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28126 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28129 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28130 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28132 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28133 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28134 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28135 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28136 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28137 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28138 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28139 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28140 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28141 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28142 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28144 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28145 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28147 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28148 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28149 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28150 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28151 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28152 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28153 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28154 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28155 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28156 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28157 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28158 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28159 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28160 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28161 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28162 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28163 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28164 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28165 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28166 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28167 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28168 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28170 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28172 * sysdeps/x86_64/dla.h: Move to ...
28173 * sysdeps/x86_64/fpu/dla.h: ...here.
28174 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28175 situations. Use __builtin_fma only for gcc 4.6 and up.
28177 * config.make.in: Add have-mfma4 entry.
28178 * configure.in: Substitute libc_cv_cc_fma4.
28179 * math/Makefile (dbl-only-routines): Add sincostab.
28180 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28181 Use __sincostab not sincos.
28182 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28184 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28189 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28190 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28191 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28192 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28194 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28195 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28197 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28198 define aliases when function name is a macro.
28199 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28200 sysdeps/ieee754/dbl-64/sincos.tbl.
28201 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28202 fma4-enabled routines.
28203 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28204 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28205 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28206 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28207 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28208 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28210 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28211 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28212 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28213 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28214 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28215 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28216 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28218 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28219 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28221 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28222 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28223 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28224 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28226 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28228 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28229 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28230 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28231 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28232 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28234 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28245 2011-10-24 Andreas Schwab <schwab@redhat.com>
28247 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28249 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28253 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28255 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28257 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28258 Remove unused variable magic_bits.
28259 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28261 * string/strnlen.c: Define and use STRNLEN macro.
28262 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28263 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28264 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28265 * wcsmbs/wcslen.c: Define and use WCSLEN.
28266 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28267 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28268 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28269 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28270 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28271 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28272 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28274 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28277 strnlen-sse2-no-bsf.
28278 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28280 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28281 Add strnlen support.
28282 (USE_AS_STRNLEN): New macro.
28283 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28284 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28285 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28286 * sysdeps/x86_64/wcslen.S: New file.
28288 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28290 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28291 XMM-moves are used for copying on small sizes.
28293 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28295 * wcsmbs/Makefile (strop-tests): Add wcschr.
28296 * wcsmbs/test-wcschr.c: New file.
28297 * string/test-strchr.c: Update.
28298 Add wcschr support.
28301 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28303 * wcsmbs/Makefile (strop-tests): Add wcslen.
28304 * wcsmbs/test-wcslen.c: New file.
28305 * string/test-strlen.c: Update.
28306 Add wcslen support.
28309 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28311 * po/it.po: Update from translation team.
28313 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28315 * sysdeps/x86_64/wcscmp.S: Update.
28316 Fix wrong comparison semantics.
28317 wcscmp shall use signed comparison not unsigned.
28318 Don't use substraction to avoid overflow bug.
28319 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28320 * wcsmbc/wcscmp.c: Likewise.
28321 * string/test-strcmp.c: Likewise.
28322 Add new tests to check cases with negative values.
28324 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28326 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28327 * sysdeps/x86_64/dla.h: ...here. New file.
28328 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28333 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28334 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28335 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28338 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28341 __ynl_finite aliases.
28343 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28347 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28349 [DLA_FMA] (EMULV): Use DLA_FMA.
28350 [DLA_FMA] (MUL12): Use EMULV.
28351 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28352 that are not needed.
28353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28361 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28363 * math/s_nan.c: Undef __nan.
28364 * math/s_nanf.c: Undef __nanf.
28365 * math/s_nanl.c: Undef __nanl.
28366 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28369 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28371 * math/s_catan.c: Add branch predictions.
28372 * math/s_catanf.c: Likewise.
28373 * math/s_catanh.c: Likewise.
28374 * math/s_catanhf.c: Likewise.
28375 * math/s_catanhl.c: Likewise.
28376 * math/s_catanl.c: Likewise.
28377 * math/s_cexp.c: Likewise.
28378 * math/s_cexpf.c: Likewise.
28379 * math/s_cexpl.c: Likewise.
28380 * math/s_clog.c: Likewise.
28381 * math/s_clog10.c: Likewise.
28382 * math/s_clog10f.c: Likewise.
28383 * math/s_clog10l.c: Likewise.
28384 * math/s_clogf.c: Likewise.
28385 * math/s_clogl.c: Likewise.
28386 * math/s_csqrt.c: Likewise.
28387 * math/s_csqrtf.c: Likewise.
28388 * math/s_csqrtl.c: Likewise.
28389 * math/s_ctanf.c: Likewise.
28390 * math/s_ctanh.c: Likewise.
28391 * math/s_ctanhf.c: Likewise.
28392 * math/s_ctanhl.c: Likewise.
28393 * math/s_ctanl.c: Likewise.
28395 * math/math_private.h: Define __nan, __nanf, __nanl.
28396 * math/s_cacosh.c: Include <math_private.h>.
28397 * math/s_cacoshl.c: Likewise.
28398 * math/s_casinh.c: Likewise.
28399 * math/s_casinhf.c: Likewise.
28400 * math/s_casinhl.c: Likewise.
28401 * math/s_ccos.c: Rely entire on ccosh.
28402 * math/s_ccosf.c: Rely entire on ccoshf.
28403 * math/s_ccosl.c: Rely entirely on ccoshl.
28404 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28405 Remove tests for FE_INVALID.
28406 * math/s_ccoshf.c: Likewise.
28407 * math/s_ccoshl.c: Likewise.
28408 * math/s_csin.c: Likewise.
28409 * math/s_csinf.c: Likewise.
28410 * math/s_csinh.c Likewise.
28411 * math/s_csinhf.c: Likewise.
28412 * math/s_csinhl.c: Likewise.
28413 * math/s_csinl.c: Likewise.
28414 * math/s_ctan.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28416 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28417 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28419 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28422 compilation problems.
28424 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28427 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28429 * sysdeps/i386/configure.in: Test for -mfma4 option.
28430 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28431 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28432 COMMON_CPUID_INDEX_80000001.
28433 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28434 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28435 use it if FMA3 is not supported.
28436 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28438 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28439 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28441 2011-10-20 Andreas Schwab <schwab@redhat.com>
28444 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28445 it would create a cycle with a link time dependency.
28447 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28449 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28451 * string/Makefile (strop-tests): Add rawmemchr.
28452 * string/test-rawmemchr.c: New file.
28454 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28456 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28457 when compiling str{,n}casecmp and when AVX is available. Hook up
28458 new optimized code in initializers.
28460 2011-10-19 Andreas Schwab <schwab@redhat.com>
28462 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28463 __feraiseexcept instead of feraiseexcept.
28465 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28467 * math/math_private.h: Define defaults for libc_fetestexcept and
28469 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28470 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28471 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28472 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28473 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28474 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28475 libc_fetestexcept and libc_feupdateenv.
28477 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28478 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28479 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28480 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28481 libc_feholdexcept_setround.
28483 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28484 Add s_nearbyint-c and s_nearbyintf-c.
28485 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28486 nearbyintf inlines.
28487 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28488 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28489 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28490 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28492 * math/math_private.h: Define defaults for libc_fegetround,
28493 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28494 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28495 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28496 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28497 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28498 standard functions.
28499 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28500 Remove comments and hacks for old compiler versions.
28501 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28502 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28503 libc_feholdexceptl.
28505 2011-10-18 Andreas Schwab <schwab@redhat.com>
28507 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28508 (__feraiseexcept_renamed): Add __NTH.
28509 (feraiseexcept): Add __NTH. Rename local variables to fix
28510 namespace violations.
28512 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28514 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28516 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28518 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28519 recently added interfaces.
28520 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28522 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28523 about macro parameter expansion.
28525 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28526 __NO_MATH_INLINES is defined. Cleanups.
28528 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28529 and __floorf is target has SSE4.1.
28530 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28531 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28532 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28533 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28535 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28537 (floorf): Likewise.
28539 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28541 2011-10-17 Andreas Schwab <schwab@redhat.com>
28543 * misc/sys/cdefs.h: Fix last change.
28545 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28548 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28550 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28552 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28553 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28558 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28559 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28560 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28561 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28562 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28563 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28564 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28565 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28566 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28567 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28568 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28569 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28570 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28571 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28572 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28573 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28575 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28576 ceil, ceilf, floor, floorf.
28578 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28579 Perform IRELATIVE relocations last.
28581 * elf/do-rel.h: Add another parameter nrelative, replacing the
28582 local variable with the same name. Change name of the function
28583 to end in Rel or Rela (uppercase).
28584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28585 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28586 elf_dynamic_do_##reloc function.
28588 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28590 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28591 is sufficient, at least on modern CPUs.
28593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28595 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28596 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28598 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28600 * math/bits/math-finite.h: Add entries for exp.
28601 * math/e_expl.c: Add __*_finite alias.
28602 * sysdeps/i386/fpu/e_exp.S: Likewise.
28603 * sysdeps/i386/fpu/e_expf.S: Likewise.
28604 * sysdeps/i386/fpu/e_expl.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28606 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28610 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28611 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28613 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28614 is sufficient, at least on modern CPUs.
28616 * ctype/ctype-info.c (__ctype_init): Define.
28617 * include/ctype.h (__ctype_init): Declare.
28618 (__ctype_b_loc): The variable is always initialized.
28619 (__ctype_toupper_loc): Likewise.
28620 (__ctype_tolower_loc): Likewise.
28621 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28622 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28624 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28626 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28628 * configure.in: Also look in $cxxmachine/include for C++ system
28631 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28633 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28634 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28635 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28636 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28637 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28638 (USE_AS_WMEMCMP): New macro.
28640 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28641 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28642 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28643 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28645 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28646 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28647 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28648 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28649 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28650 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28651 (USE_AS_WMEMCMP): New macro.
28652 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28653 * sysdeps/string/test-memcmp.c: Update.
28654 Fix simple_wmemcmp.
28656 * wcsmbs/wmemcmp.c: Update.
28657 (WMEMCMP): New macro.
28660 2011-10-12 Andreas Jaeger <aj@suse.de>
28663 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28665 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28667 * libio/iofwide.c (do_length): Avoid warning.
28669 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28671 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28673 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28675 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28676 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28677 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28678 * sysdeps/i386/i686/fpu/e_log.S: New file.
28679 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28680 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28682 * ctype/ctype.h: Add support for inlined isXXX functions when
28683 compiling C++ code.
28685 2011-10-14 Andreas Schwab <schwab@redhat.com>
28687 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28689 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28691 2011-10-13 Roland McGrath <roland@hack.frob.com>
28694 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28696 2011-10-13 Andreas Schwab <schwab@redhat.com>
28698 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28699 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28702 * sysdeps/x86_64/memrchr.S: Check for zero size.
28704 * string/stratcliff.c: Add memrchr tests.
28706 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28709 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28710 rawmemchr-sse2 rawmemchr-sse2-bsf.
28711 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28712 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28713 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28714 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28715 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28716 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28717 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28718 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28719 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28720 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28721 * string/memrchr.c (MEMRCHR): New macro.
28723 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28725 Add integration with gcc's -ffinite-math-only and optimize wrapper
28727 * Versions.def: Define GLIBC_2.15 version for libm.
28728 * math/Makefile (headers): Add bits/math-finite.h.
28729 * math/bits/math-finite.h: New file.
28730 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28731 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28732 * math/e_acoshl.c: Add __*_finite alias.
28733 * math/e_acosl.c: Likewise.
28734 * math/e_asinl.c: Likewise.
28735 * math/e_atan2l.c: Likewise.
28736 * math/e_atanhl.c: Likewise.
28737 * math/e_coshl.c: Likewise.
28738 * math/e_exp10.c: Likewise.
28739 * math/e_exp10f.c: Likewise.
28740 * math/e_exp10l.c: Likewise.
28741 * math/e_exp2l.c: Likewise.
28742 * math/e_fmodl.c: Likewise.
28743 * math/e_gammal_r.c: Likewise.
28744 * math/e_hypotl.c: Likewise.
28745 * math/e_j0l.c: Likewise.
28746 * math/e_j1l.c: Likewise.
28747 * math/e_jnl.c: Likewise.
28748 * math/e_lgammal_r.c: Likewise.
28749 * math/e_log10l.c: Likewise.
28750 * math/e_log2l.c: Likewise.
28751 * math/e_logl.c: Likewise.
28752 * math/e_powl.c: Likewise.
28753 * math/e_sinhl.c: Likewise.
28754 * math/e_sqrtl.c: Likewise.
28755 * math/e_scalb.c: Completely rewritten and optimized.
28756 * math/e_scalbf.c: Likewise.
28757 * math/e_scalbl.c: Likewise.
28758 * math/w_acos.c: Likewise.
28759 * math/w_acosf.c: Likewise.
28760 * math/w_acosl.c: Likewise.
28761 * math/w_acosh.c: Likewise.
28762 * math/w_acoshf.c: Likewise.
28763 * math/w_acoshl.c: Likewise.
28764 * math/w_asin.c: Likewise.
28765 * math/w_asinf.c: Likewise.
28766 * math/w_asinl.c: Likewise.
28767 * math/w_atan2.c: Likewise.
28768 * math/w_atan2f.c: Likewise.
28769 * math/w_atan2l.c: Likewise.
28770 * math/w_atanh.c: Likewise.
28771 * math/w_atanhf.c: Likewise.
28772 * math/w_atanhl.c: Likewise.
28773 * math/w_exp10.c: Likewise.
28774 * math/w_exp10f.c: Likewise.
28775 * math/w_exp10l.c: Likewise.
28776 * math/w_fmod.c: Likewise.
28777 * math/w_fmodf.c: Likewise.
28778 * math/w_fmodl.c: Likewise.
28779 * math/w_j0.c: Likewise.
28780 * math/w_j0f.c: Likewise.
28781 * math/w_j0l.c: Likewise.
28782 * math/w_j1.c: Likewise.
28783 * math/w_j1f.c: Likewise.
28784 * math/w_j1l.c: Likewise.
28785 * math/w_jn.c: Likewise.
28786 * math/w_jnf.c: Likewise.
28787 * math/w_log.c: Likewise.
28788 * math/w_logf.c: Likewise.
28789 * math/w_logl.c: Likewise.
28790 * math/w_log10.c: Likewise.
28791 * math/w_log10f.c: Likewise.
28792 * math/w_log10l.c: Likewise.
28793 * math/w_log2.c: Likewise.
28794 * math/w_log2f.c: Likewise.
28795 * math/w_log2l.c: Likewise.
28796 * math/w_pow.c: Likewise.
28797 * math/w_powf.c: Likewise.
28798 * math/w_powl.c: Likewise.
28799 * math/w_remainder.c: Likewise.
28800 * math/w_remainderf.c: Likewise.
28801 * math/w_remainderl.c: Likewise.
28802 * math/w_scalb.c: Likewise.
28803 * math/w_scalbf.c: Likewise.
28804 * math/w_scalbl.c: Likewise.
28805 * math/w_sqrt.c: Likewise.
28806 * math/w_sqrtf.c: Likewise.
28807 * math/w_sqrtl.c: Likewise.
28808 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28809 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28811 * math/math_private.h: Declare __kernel_standard_f.
28812 * math/w_cosh.c: Remove cruft and optimize a bit.
28813 * math/w_coshf.c: Likewise.
28814 * math/w_coshl.c: Likewise.
28815 * math/w_exp2.c: Likewise.
28816 * math/w_exp2f.c: Likewise.
28817 * math/w_exp2l.c: Likewise.
28818 * math/w_hypot.c: Likewise.
28819 * math/w_hypotf.c: Likewise.
28820 * math/w_hypotl.c: Likewise.
28821 * math/w_lgamma.c: Likewise.
28822 * math/w_lgamma_r.c: Likewise.
28823 * math/w_lgammaf.c: Likewise.
28824 * math/w_lgammaf_r.c: Likewise.
28825 * math/w_lgammal.c: Likewise.
28826 * math/w_lgammal_r.c: Likewise.
28827 * math/w_sinh.c: Likewise.
28828 * math/w_sinhf.c: Likewise.
28829 * math/w_sinhl.c: Likewise.
28830 * math/w_tgamma.c: Likewise.
28831 * math/w_tgammaf.c: Likewise.
28832 * math/w_tgammal.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28834 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28835 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28836 Minor optimizations. Pretty printing. Remove cruft.
28837 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28838 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28839 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28840 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28841 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28842 * sysdeps/i386/fpu/e_asin.S: Likewise.
28843 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28844 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28845 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28846 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28848 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28849 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28850 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28851 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28852 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28853 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28854 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28855 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28856 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28857 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28858 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28859 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28860 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28861 * sysdeps/i386/fpu/e_log.S: Likewise.
28862 * sysdeps/i386/fpu/e_log10.S: Likewise.
28863 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28864 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28865 * sysdeps/i386/fpu/e_log2.S: Likewise.
28866 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28867 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28868 * sysdeps/i386/fpu/e_logf.S: Likewise.
28869 * sysdeps/i386/fpu/e_logl.S: Likewise.
28870 * sysdeps/i386/fpu/e_pow.S: Likewise.
28871 * sysdeps/i386/fpu/e_powf.S: Likewise.
28872 * sysdeps/i386/fpu/e_powl.S: Likewise.
28873 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28874 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28875 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28876 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28878 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28879 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28880 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28881 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28887 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28888 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28889 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28890 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28891 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28892 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28895 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28896 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28898 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28899 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28903 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28904 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28905 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28906 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28907 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28908 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28909 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28910 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28911 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28912 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28913 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28916 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28917 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28918 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28919 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28920 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28921 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28922 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28923 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28962 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28965 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28967 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28968 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28970 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28973 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28974 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28975 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28976 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28977 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28978 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28979 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28980 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28981 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28982 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28983 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28984 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28985 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28986 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28987 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28988 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28990 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28991 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28992 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28993 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28994 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28995 (__isnanf): Likewise.
28996 (__isinf_ns): Likewise.
28997 (__isinf_nsf): Likewise.
28998 (__finite): Likewise.
28999 (__finitef): Likewise.
29000 (__ieee754_sqrt): Define as macro.
29001 (__ieee754_sqrtf): Define as macro.
29002 (__ieee754_sqrtl): Define as macro.
29003 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29005 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29006 __FINITE_MATH_ONLY__ consistent.
29007 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29009 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29011 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29014 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29016 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29018 * po/ja.po: Update from translation team.
29020 2011-10-08 Roland McGrath <roland@hack.frob.com>
29022 * locale/programs/locarchive.c (prepare_address_space): New function.
29023 (create_archive, enlarge_archive, open_archive): Use it.
29025 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29026 inside [SHARED], where it is used.
29028 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29030 * nss/getent.c (netgroup_keys): Remove unused variable.
29031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29033 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29035 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29036 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29038 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29039 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29040 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29041 * math/Makefile (libm-calls): Add s_isinf_ns.
29042 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29043 * math/multc3.c: Likewise.
29044 * math/s_casin.c: Likewise.
29045 * math/s_casinf.c: Likewise.
29046 * math/s_casinl.c: Likewise.
29047 * math/s_ccos.c: Likewise.
29048 * math/s_ccosf.c: Likewise.
29049 * math/s_ccosl.c: Likewise.
29050 * math/s_ctan.c: Likewise.
29051 * math/s_ctanf.c: Likewise.
29052 * math/s_ctanh.c: Likewise.
29053 * math/s_ctanhf.c: Likewise.
29054 * math/s_ctanhl.c: Likewise.
29055 * math/s_ctanl.c: Likewise.
29056 * math/w_fmod.c: Likewise.
29057 * math/w_fmodf.c: Likewise.
29058 * math/w_fmodl.c: Likewise.
29059 * math/w_remainder.c: Likewise.
29060 * math/w_remainderf.c: Likewise.
29061 * math/w_remainderl.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29063 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29064 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29066 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29067 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29068 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29069 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29071 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29073 * stdio-common/printf_fphex.c: Likewise.
29074 * stdio-common/printf_size.c: Likewise.
29076 * math/e_exp10.c: Include math_private.h using <...> not "...".
29077 * math/e_exp10f.c: Likewise.
29078 * math/e_exp10l.c: Likewise.
29079 * math/e_exp2l.c: Likewise.
29080 * math/e_j0l.c: Likewise.
29081 * math/e_j1l.c: Likewise.
29082 * math/e_jnl.c: Likewise.
29083 * math/e_lgammal_r.c: Likewise.
29084 * math/e_rem_pio2l.c: Likewise.
29085 * math/e_scalb.c: Likewise.
29086 * math/e_scalbf.c: Likewise.
29087 * math/e_scalbl.c: Likewise.
29088 * math/k_cosl.c: Likewise.
29089 * math/k_sinl.c: Likewise.
29090 * math/k_tanl.c: Likewise.
29091 * math/s_cacoshf.c: Likewise.
29092 * math/s_catan.c: Likewise.
29093 * math/s_catanf.c: Likewise.
29094 * math/s_catanh.c: Likewise.
29095 * math/s_catanhf.c: Likewise.
29096 * math/s_catanhl.c: Likewise.
29097 * math/s_catanl.c: Likewise.
29098 * math/s_ccosh.c: Likewise.
29099 * math/s_ccoshf.c: Likewise.
29100 * math/s_ccoshl.c: Likewise.
29101 * math/s_cexp.c: Likewise.
29102 * math/s_cexpf.c: Likewise.
29103 * math/s_cexpl.c: Likewise.
29104 * math/s_clog.c: Likewise.
29105 * math/s_clog10.c: Likewise.
29106 * math/s_clog10f.c: Likewise.
29107 * math/s_clog10l.c: Likewise.
29108 * math/s_clogf.c: Likewise.
29109 * math/s_clogl.c: Likewise.
29110 * math/s_csin.c: Likewise.
29111 * math/s_csinf.c: Likewise.
29112 * math/s_csinh.c: Likewise.
29113 * math/s_csinhf.c: Likewise.
29114 * math/s_csinhl.c: Likewise.
29115 * math/s_csinl.c: Likewise.
29116 * math/s_csqrt.c: Likewise.
29117 * math/s_csqrtf.c: Likewise.
29118 * math/s_csqrtl.c: Likewise.
29119 * math/s_ctan.c: Likewise.
29120 * math/s_ctanf.c: Likewise.
29121 * math/s_ctanh.c: Likewise.
29122 * math/s_ctanhf.c: Likewise.
29123 * math/s_ctanhl.c: Likewise.
29124 * math/s_ctanl.c: Likewise.
29125 * math/s_ldexp.c: Likewise.
29126 * math/s_ldexpf.c: Likewise.
29127 * math/s_ldexpl.c: Likewise.
29128 * math/s_significand.c: Likewise.
29129 * math/s_significandf.c: Likewise.
29130 * math/s_significandl.c: Likewise.
29131 * math/w_acos.c: Likewise.
29132 * math/w_acosf.c: Likewise.
29133 * math/w_acosh.c: Likewise.
29134 * math/w_acoshf.c: Likewise.
29135 * math/w_acoshl.c: Likewise.
29136 * math/w_acosl.c: Likewise.
29137 * math/w_asin.c: Likewise.
29138 * math/w_asinf.c: Likewise.
29139 * math/w_asinl.c: Likewise.
29140 * math/w_atan2.c: Likewise.
29141 * math/w_atan2f.c: Likewise.
29142 * math/w_atan2l.c: Likewise.
29143 * math/w_atanh.c: Likewise.
29144 * math/w_atanhf.c: Likewise.
29145 * math/w_atanhl.c: Likewise.
29146 * math/w_cosh.c: Likewise.
29147 * math/w_coshf.c: Likewise.
29148 * math/w_coshl.c: Likewise.
29149 * math/w_dremf.c: Likewise.
29150 * math/w_exp10.c: Likewise.
29151 * math/w_exp10f.c: Likewise.
29152 * math/w_exp10l.c: Likewise.
29153 * math/w_exp2.c: Likewise.
29154 * math/w_exp2f.c: Likewise.
29155 * math/w_fmod.c: Likewise.
29156 * math/w_fmodf.c: Likewise.
29157 * math/w_fmodl.c: Likewise.
29158 * math/w_hypot.c: Likewise.
29159 * math/w_hypotf.c: Likewise.
29160 * math/w_hypotl.c: Likewise.
29161 * math/w_j0.c: Likewise.
29162 * math/w_j0f.c: Likewise.
29163 * math/w_j0l.c: Likewise.
29164 * math/w_j1.c: Likewise.
29165 * math/w_j1f.c: Likewise.
29166 * math/w_j1l.c: Likewise.
29167 * math/w_jn.c: Likewise.
29168 * math/w_jnf.c: Likewise.
29169 * math/w_jnl.c: Likewise.
29170 * math/w_lgamma.c: Likewise.
29171 * math/w_lgamma_r.c: Likewise.
29172 * math/w_lgammaf.c: Likewise.
29173 * math/w_lgammaf_r.c: Likewise.
29174 * math/w_lgammal.c: Likewise.
29175 * math/w_lgammal_r.c: Likewise.
29176 * math/w_log.c: Likewise.
29177 * math/w_log10.c: Likewise.
29178 * math/w_log10f.c: Likewise.
29179 * math/w_log10l.c: Likewise.
29180 * math/w_log2.c: Likewise.
29181 * math/w_log2f.c: Likewise.
29182 * math/w_log2l.c: Likewise.
29183 * math/w_logf.c: Likewise.
29184 * math/w_logl.c: Likewise.
29185 * math/w_pow.c: Likewise.
29186 * math/w_powf.c: Likewise.
29187 * math/w_powl.c: Likewise.
29188 * math/w_remainder.c: Likewise.
29189 * math/w_remainderf.c: Likewise.
29190 * math/w_remainderl.c: Likewise.
29191 * math/w_scalb.c: Likewise.
29192 * math/w_scalbf.c: Likewise.
29193 * math/w_scalbl.c: Likewise.
29194 * math/w_sinh.c: Likewise.
29195 * math/w_sinhf.c: Likewise.
29196 * math/w_sinhl.c: Likewise.
29197 * math/w_sqrt.c: Likewise.
29198 * math/w_sqrtf.c: Likewise.
29199 * math/w_sqrtl.c: Likewise.
29200 * math/w_tgamma.c: Likewise.
29201 * math/w_tgammaf.c: Likewise.
29202 * math/w_tgammal.c: Likewise.
29204 * po/ja.po: Update from translation team.
29206 2011-09-29 Andreas Jaeger <aj@suse.de>
29209 * sunrpc/netname.c (netname2host): Fix logic.
29213 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29215 * math/w_remainder.c (__remainder): Likewise.
29216 * math/w_remainderf.c (__remainderf): Likewise.
29217 * math/libm-test.inc (remainder_test): Add test cases.
29219 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29221 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29224 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29226 * string/test-memcmp.c: Avoid unncessary #defines.
29227 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29229 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29231 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29232 Use new sse2 version for core i3 - i7 as it's faster
29233 than sse42 version.
29234 (bit_Prefer_PMINUB_for_stringop): New.
29235 * sysdeps/x86_64/rawmemchr.S: Update.
29236 Replace with faster SSE2 version.
29237 * sysdeps/x86_64/memrchr.S: New file.
29238 * sysdeps/x86_64/memchr.S: Update.
29239 Replace with faster SSE2 version.
29241 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29243 * elf/dl-load.c (lose): Add cast to avoid warning.
29245 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29247 * po/ca.po: Update from translation team.
29249 * inet/getnetgrent_r.c: Hook up nscd.
29250 * nscd/Makefile (routines): Add nscd_netgroup.
29251 (nscd-modules): Add netgroupcache.
29252 (CFLAGS-netgroupcache.c): Define.
29253 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29254 (cache_search): Add const to second parameter.
29255 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29257 (dbs): Add netgrdb entry.
29258 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29259 (verify_persistent_db): Handle netgrdb.
29260 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29261 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29263 (netgroup_response_header): Define.
29264 (innetgroup_response_header): Define.
29265 (datahead): Add netgroup_response_header and innetgroup_response_header
29267 * nscd/nscd.conf: Add entries for netgroup cache.
29268 * nscd/nscd.h (dbtype): Add netgrdb.
29269 (_PATH_NSCD_NETGROUP_DB): Define.
29270 (netgroup_iov_disabled): Declare.
29271 (xmalloc, xcalloc, xrealloc): Move declarations here.
29272 (cache_search): Adjust prototype.
29273 Add netgroup-related prototypes.
29274 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29275 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29276 (__nscd_innetgr): Declare.
29277 * nscd/selinux.c (perms): Use access_vector_t as element type and
29278 add netgroup-related initializers.
29279 * nscd/netgroupcache.c: New file.
29280 * nscd/nscd_netgroup.c: New file.
29281 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29282 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29283 For four parameters use innetgr.
29284 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29285 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29286 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29287 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29289 * nscd/connections.c (register_traced_file): Don't register file
29290 for disabled databases.
29292 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29294 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29296 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29297 from tree and freeing node.
29299 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29301 * nss/nsswitch.c (__nss_database_lookup): Handle
29302 nss_parse_service_list out of memory case.
29304 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29306 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29307 out of memory case.
29309 2011-10-04 Andreas Schwab <schwab@redhat.com>
29311 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29312 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29314 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29315 elf_machine_rela, elf_machine_lazy_rel.
29316 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29317 (ELF_DYNAMIC_DO_REL): Likewise.
29318 (ELF_DYNAMIC_DO_RELA): Likewise.
29319 (ELF_DYNAMIC_RELOCATE): Likewise.
29320 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29321 to ELF_DYNAMIC_DO_REL.
29322 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29323 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29324 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29327 skip_ifunc, don't call ifunc function if non-zero.
29328 (elf_machine_rela): Likewise.
29329 (elf_machine_lazy_rel): Likewise.
29330 (elf_machine_lazy_rela): Likewise.
29331 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29332 (elf_machine_lazy_rel): Likewise.
29333 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29335 (elf_machine_lazy_rel): Likewise.
29336 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29338 (elf_machine_lazy_rel): Likewise.
29339 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29340 (elf_machine_lazy_rel): Likewise.
29341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29342 (elf_machine_lazy_rel): Likewise.
29343 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29344 (elf_machine_lazy_rel): Likewise.
29345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29346 (elf_machine_lazy_rel): Likewise.
29347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29348 (elf_machine_lazy_rel): Likewise.
29349 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29350 (elf_machine_lazy_rel): Likewise.
29352 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29354 * nss/nss_files/files-init.c (_nss_files_init): Use static
29355 initialization for all the *_traced_file variables.
29357 2011-09-28 Andreas Schwab <schwab@redhat.com>
29359 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29361 2011-09-27 Roland McGrath <roland@hack.frob.com>
29364 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29366 2011-09-27 Andreas Schwab <schwab@redhat.com>
29368 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29369 Reread the line before reparsing it.
29371 2011-09-26 Andreas Schwab <schwab@redhat.com>
29373 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29375 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29376 Maxim Kuvyrkov <maxim@codesourcery.com>
29377 Joseph Myers <joseph@codesourcery.com>
29379 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29380 if needed for __stack_chk_guard.
29382 2011-09-19 Roland McGrath <roland@hack.frob.com>
29384 * sysdeps/posix/spawni.c (script_execute): Always define it.
29385 It will be optimized away if unused.
29386 (maybe_script_execute): New function.
29387 (__spawni): Call it.
29389 * Makerules: Don't include tls.make.
29390 (config-tls): Always set to thread.
29391 * tls.make.c: File removed.
29393 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29395 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29396 * config.make.in (CPPFLAGS-config): New substituted variable.
29398 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29400 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29403 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29404 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29406 2011-09-15 Roland McGrath <roland@hack.frob.com>
29408 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29409 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29411 (CALL_FAIL): Likewise.
29412 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29413 (CALL_FAIL): Macro removed.
29414 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29416 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29418 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29419 for __FINITE_MATH_ONLY__ == 1.
29421 2011-09-15 Andreas Schwab <schwab@redhat.com>
29423 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29424 __ieee754_sqrt instead of sqrt.
29425 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29426 __ieee754_sqrtf instead of sqrtf.
29427 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29428 __floorf instead of floorf.
29429 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29430 __floorf, __truncf instead of floorf, truncf.
29432 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29434 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29436 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29437 __extern_always_inline.
29438 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29441 2011-09-14 Andreas Schwab <schwab@redhat.com>
29443 * elf/rtld.c (dl_main): Also relocate in dependency order when
29444 doing symbol dependency testing.
29446 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29449 Always define `refsym'.
29451 2011-09-13 Andreas Schwab <schwab@redhat.com>
29453 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29454 (__FD_ELT): Renamed from __FDELT.
29455 * misc/bits/select2.h (__FD_ELT): Likewise.
29456 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29457 __FD_MASK instead of __FDELT, __FDMASK.
29458 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29460 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29463 * elf/Makefile (gen-ldd): Fix pattern.
29465 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29466 (init_tls): Likewise.
29468 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29472 2011-09-12 Andreas Schwab <schwab@redhat.com>
29474 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29475 `struct cmsghdr *' instead of `void *'.
29476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29479 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29481 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29483 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29484 ldd_rewrite_script.
29486 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29488 * configure.in: Remove --with-tls option.
29489 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29490 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29491 out in case it is missing.
29492 * sysdeps/ia64/elf/configure.in: Likewise.
29493 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29494 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29495 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29496 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29497 * sysdeps/sh/elf/configure.in: Likewise.
29498 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29499 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29500 * sysdeps/x86_64/elf/configure.in: Likewise.
29501 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29502 * sysdeps/mach/hurd/tls.h: Likewise.
29505 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29508 * configure.in: Fix use of AC_INIT.
29510 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29512 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29514 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29516 * malloc/hooks.c: Likewise.
29519 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29520 variables statically.
29521 (narenas): Initialize.
29522 (list_lock): Initialize.
29523 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29524 initializtion of main_arena and list_lock. Small cleanups.
29525 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29526 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29527 Add initializers to main_arena and mp_.
29528 (malloc_state): Remove pagesize member. Change all users to use
29531 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29532 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29533 is always initialized.
29535 * malloc/malloc.c: Removed unused configurations and dead code.
29536 * malloc/arena.c: Likewise.
29537 * malloc/hooks.c: Likewise.
29538 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29540 * include/tls.h: Removed. USE___THREAD must always be defined.
29541 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29542 * elf/dl-libc.c: Likewise.
29543 * elf/dl-tsd.c: Likewise.
29544 * include/errno.h: Likewise.
29545 * include/netdb.h: Likewise.
29546 * include/resolv.h: Likewise.
29547 * inet/herrno-loc.c: Likewise.
29548 * inet/herrno.c: Likewise.
29549 * malloc/arena.c: Likewise.
29550 * malloc/hooks.c: Likewise.
29551 * malloc/malloc.c: Likewise.
29552 * resolv/res-state.c: Likewise.
29553 * resolv/res_libc.c: Likewise.
29554 * sysdeps/i386/dl-machine.h: Likewise.
29555 * sysdeps/ia64/dl-machine.h: Likewise.
29556 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29557 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29558 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29559 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29560 * sysdeps/sh/dl-machine.h: Likewise.
29561 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29562 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29563 * sysdeps/unix/i386/sysdep.S: Likewise.
29564 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29565 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29566 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29568 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29570 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29574 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29575 * sysdeps/x86_64/dl-machine.h: Likewise.
29576 * tls.make.c: Likewise.
29578 * configure.in: Remove --with-__thread option. Make tests for
29579 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29580 tls_model attribute fail if no support is available. Remove
29582 * Makeconfig: Adjust for dropped configure option. All features are
29584 * Makerules: Likewise.
29585 * Versions.def: Likewise.
29586 * argp/argp-fmtstream.c: Likewise.
29587 * argp/argp-fmtstream.h: Likewise.
29588 * argp/argp-help.c: Likewise.
29589 * assert/assert.c: Likewise.
29590 * config.h.in: Likewise.
29591 * config.make.in: Likewise.
29592 * configure: Likewise.
29593 * configure.in: Likewise.
29594 * csu/Versions: Likewise.
29595 * csu/init.c: Likewise.
29596 * elf/tst-audit2.c: Likewise.
29597 * elf/tst-tls10.c: Likewise.
29598 * elf/tst-tls10.h: Likewise.
29599 * elf/tst-tls11.c: Likewise.
29600 * elf/tst-tls12.c: Likewise.
29601 * elf/tst-tls14.c: Likewise.
29602 * elf/tst-tlsmod11.c: Likewise.
29603 * elf/tst-tlsmod12.c: Likewise.
29604 * elf/tst-tlsmod13.c: Likewise.
29605 * elf/tst-tlsmod13a.c: Likewise.
29606 * elf/tst-tlsmod14a.c: Likewise.
29607 * elf/tst-tlsmod15b.c: Likewise.
29608 * elf/tst-tlsmod16a.c: Likewise.
29609 * elf/tst-tlsmod16b.c: Likewise.
29610 * elf/tst-tlsmod7.c: Likewise.
29611 * elf/tst-tlsmod8.c: Likewise.
29612 * elf/tst-tlsmod9.c: Likewise.
29613 * gmon/gmon.c: Likewise.
29614 * grp/fgetgrent_r.c: Likewise.
29615 * grp/putgrent.c: Likewise.
29616 * hurd/fopenport.c: Likewise.
29617 * include/libc-symbols.h: Likewise.
29618 * include/tls.h: Likewise.
29619 * intl/gettextP.h: Likewise.
29620 * intl/loadinfo.h: Likewise.
29621 * locale/global-locale.c: Likewise.
29622 * locale/localeinfo.h: Likewise.
29623 * mach/devstream.c: Likewise.
29624 * malloc/arena.c: Likewise.
29625 * malloc/set-freeres.c: Likewise.
29626 * misc/err.c: Likewise.
29627 * misc/getttyent.c: Likewise.
29628 * misc/mntent_r.c: Likewise.
29629 * posix/getopt.c: Likewise.
29630 * posix/wordexp.c: Likewise.
29631 * pwd/fgetpwent_r.c: Likewise.
29632 * resolv/Versions: Likewise.
29633 * resolv/res_hconf.c: Likewise.
29634 * shadow/fgetspent_r.c: Likewise.
29635 * shadow/putspent.c: Likewise.
29636 * stdio-common/printf_fphex.c: Likewise.
29637 * stdio-common/tmpfile.c: Likewise.
29638 * stdlib/abort.c: Likewise.
29639 * stdlib/fmtmsg.c: Likewise.
29640 * sunrpc/auth_unix.c: Likewise.
29641 * sunrpc/clnt_perr.c: Likewise.
29642 * sunrpc/clnt_tcp.c: Likewise.
29643 * sunrpc/clnt_udp.c: Likewise.
29644 * sunrpc/clnt_unix.c: Likewise.
29645 * sunrpc/openchild.c: Likewise.
29646 * sunrpc/svc_simple.c: Likewise.
29647 * sunrpc/svc_tcp.c: Likewise.
29648 * sunrpc/svc_udp.c: Likewise.
29649 * sunrpc/svc_unix.c: Likewise.
29650 * sunrpc/xdr.c: Likewise.
29651 * sunrpc/xdr_array.c: Likewise.
29652 * sunrpc/xdr_rec.c: Likewise.
29653 * sunrpc/xdr_ref.c: Likewise.
29654 * sunrpc/xdr_stdio.c: Likewise.
29656 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29658 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29660 2011-07-03 Andreas Jaeger <aj@suse.de>
29662 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29663 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29664 regenerate with gen-libm-tests.pl.
29666 2010-05-12 Petr Baudis <pasky@suse.cz>
29669 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29670 around j0() zero points by switching to j1().
29671 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29674 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29676 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29678 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29680 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29683 Patch in part by Pavel Roskin <proski@gnu.org>.
29686 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29688 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29689 Free memory block if necessary.
29692 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29693 be NULL. Don't lock in this case.
29695 2011-09-09 Roland McGrath <roland@hack.frob.com>
29697 * elf/elf.h (ELFOSABI_GNU): New macro.
29698 (ELFOSABI_LINUX): Define to that.
29700 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29702 * string/strncat.c (strncat): Undef the symbol in case it has been
29703 defined in bits/string.h.
29705 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29707 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29709 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29712 2011-08-17 Andreas Jaeger <aj@suse.de>
29714 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29716 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29717 Ian Lance Taylor <iant@google.com>
29719 * math/libm-test.inc (lround_test): New testcase.
29720 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29722 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29724 * Makefile: Remove support for automatic cvs check-ins.
29725 * Makerules: Likewise.
29726 * config.make.in: Likewise.
29727 * configure.in: Likewise.
29728 * intl/Makefile: Likewise.
29729 * locale/Makefile: Likewise.
29730 * po/Makefile: Likewise.
29731 * posix/Makefile: Likewise.
29732 * sysdeps/gnu/Makefile: Likewise.
29733 * sysdeps/mach/hurd/Makefile: Likewise.
29734 * sysdeps/sparc/sparc32/Makefile: Likewise.
29737 * posix/Makefile (bug-regex32-ENV): Define.
29738 Patch by John Stanley <jpsinthemix@verizon.net>.
29740 * misc/Makefile (headers): Add bits/select2.h.
29741 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29742 * misc/bits/select2.h: New file.
29743 * include/bits/select2.h: New file.
29744 * debug/Makefile (routines): Add fdelt_chk.
29745 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29746 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29748 * debug/fdelt_chk.c: New file.
29750 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29751 * wcsmbs/test-wmemcmp.c: Likewise.
29752 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29753 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29755 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29757 * string/Makefile (strop-tests): Add memcmp.
29758 * string/test-wmemcmp.c: New file.
29759 * string/test-memcmp.c: Add wmemcmp support.
29761 2011-09-08 Roland McGrath <roland@hack.frob.com>
29764 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29767 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29768 garbage value in a __mach_port_mod_refs call in the cases of the
29769 task-self and thread-self ports.
29771 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29773 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29775 2011-09-08 Andreas Schwab <schwab@redhat.com>
29777 * elf/dl-load.c (lose): Check for non-null L.
29779 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29781 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29783 * elf/dl-libc.c (dlerror_run): Pass back error code from
29787 * elf/dl-load.c (lose): Free l_origin if it is valid.
29789 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29791 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29792 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29795 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29796 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29798 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29800 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29801 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29802 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29803 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29804 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29805 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29806 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29807 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29808 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29809 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29811 2011-08-15 Alan Modra <amodra@gmail.com>
29814 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29815 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29816 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29817 ppc_mcount to static-only-routines.
29818 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29820 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29821 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29823 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29825 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29826 for finite and infinity parameters.
29828 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29830 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29831 and add nop instructions for throughput optimization.
29832 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29834 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29836 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29837 aligned copy for power7 with vector-scalar instructions.
29838 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29840 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29842 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29845 2011-09-07 Andreas Schwab <schwab@redhat.com>
29848 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29851 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29853 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29854 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29855 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29856 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29859 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29861 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29862 Forgot to demangle the pointer.
29864 * sysdeps/i386/sysdep.h: Define atom_text_section.
29865 * sysdeps/x86_64/sysdep.h: Likewise.
29866 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29867 section with atom_text_section.
29868 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29869 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29870 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29871 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29872 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29874 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29875 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29876 already be defined. Change to take two parameters and don't assign
29877 result to variable. Adjust all users.
29878 Define INTERNAL_GETTIME if not already defined.
29879 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29882 HAVE_CLOCK_GETTIME_VSYSCALL.
29883 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29885 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29886 gettimeofday vsyscall, just use time.
29888 2011-09-06 Andreas Schwab <schwab@redhat.com>
29890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29893 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29895 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29899 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29901 syscall if possible.
29903 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29905 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29906 e_ident. Don't pass to find_mapsXX.
29907 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29909 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29912 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29913 * sysdeps/x86_64/multiarch/strchr.S: Update.
29914 Check bit_slow_BSF bit.
29915 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29917 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29919 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29922 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29924 (tryshell): Define.
29925 (__spawni): Change last parameter to be flag. Test
29926 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29927 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29928 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29929 * posix/spawni.c: Likewise.
29930 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29931 * posix/spawnp.c: Likewise. Change normal version to use
29932 SPAWN_XFLAGS_USE_PATH.
29933 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29934 SPAWN_XFLAGS_TRY_SHELL.
29937 * posix/glob.h: Remove gcc 1.x support.
29940 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29942 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29945 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29947 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29948 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29949 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29951 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29952 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29954 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29956 * sysdeps/x86_64/wcscmp.S: New file.
29958 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29959 wcscmp-c wcscmp-sse2
29960 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29961 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29962 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29963 * wcsmbs/wcscmp.c: Allow renaming.
29965 2011-09-05 David S. Miller <davem@davemloft.net>
29967 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29968 stack slot, rather than the struct return pointer slot.
29969 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29970 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29972 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29974 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29976 * po/ja.po: Update from translation team.
29979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29980 kernel in 64-bit binaries.
29982 2011-09-01 David S. Miller <davem@davemloft.net>
29984 * elf/elf.h (HWCAP_SPARC_*): Move to..
29985 * sysdeps/sparc/sysdep.h: this new file and add new values.
29986 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29987 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29988 _DL_HWCAP_COUNT to 24.
29989 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29991 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29992 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29993 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29995 instead of magic constants.
29996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29998 2011-08-31 David S. Miller <davem@davemloft.net>
30000 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30002 Reimplement to do errno handling inline.
30003 (SYSCALL_ERROR_HANDLER): New macro.
30004 (__SYSCALL_STRING): Do not do errno handling in asm.
30005 (__CLONE_SYSCALL_STRING): Delete.
30006 (__INTERNAL_SYSCALL_STRING): Delete.
30007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30008 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30009 (PSEUDO): Reimplement to do errno handling inline.
30010 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30011 (SYSCALL_ERROR_HANDLER): New macro.
30012 (__SYSCALL_STRING): Do not do errno handling in asm.
30013 (__CLONE_SYSCALL_STRING): Delete.
30014 (__INTERNAL_SYSCALL_STRING): Delete.
30015 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30016 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30018 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30019 (inline_syscall*): Add 'err' argument.
30020 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30021 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30022 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30023 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30025 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30026 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30028 2011-08-30 Andreas Schwab <schwab@redhat.com>
30030 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30032 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30034 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30037 2011-08-24 David S. Miller <davem@davemloft.net>
30039 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30041 2011-08-24 Andreas Schwab <schwab@redhat.com>
30043 * elf/Makefile: Add rules to build and run unload8 test.
30044 * elf/unload8.c: New file.
30045 * elf/unload8mod1.c: New file.
30046 * elf/unload8mod1x.c: New file.
30047 * elf/unload8mod2.c: New file.
30048 * elf/unload8mod3.c: New file.
30050 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30053 2011-08-23 David S. Miller <davem@davemloft.net>
30055 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30056 subtract stack bias.
30057 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30058 %sp not %fp in calculations.
30059 (_JMPBUF_UNWINDS_ADJ): Likewise.
30061 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30062 (aio_suspend): Call it to force an exception region around the
30063 AIO_MISC_WAIT() invocation.
30065 2011-08-23 Andreas Schwab <schwab@redhat.com>
30067 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30070 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30072 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30074 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30075 and <dl-machine.h>.
30076 (Elf64_FuncDesc): Remove.
30078 2011-08-22 David S. Miller <davem@davemloft.net>
30080 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30081 sigaltstack check, add missing cfi directives.
30082 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30083 missing cfi directives, and sigaltstack handling.
30085 2011-08-16 Andreas Schwab <schwab@redhat.com>
30088 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30089 object is seen twice.
30090 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30092 * elf/Makefile (distribute): Add tst-initorder2.c.
30093 (tests): Add tst-initorder2.
30094 (modules-names): Add tst-initorder2a tst-initorder2b
30095 tst-initorder2c tst-initorder2d. Add rules to build them.
30096 ($(objpfx)tst-initorder2.out): New rule.
30097 * elf/tst-initorder2.c: New file.
30098 * elf/tst-initorder2.exp: New file.
30100 2011-08-22 Andreas Schwab <schwab@redhat.com>
30102 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30104 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30105 dependencies back to end of function.
30107 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30108 $(elfobjdir)/ld.so.
30110 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30113 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30115 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30116 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30117 of __vdso_gettimeofday.
30118 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30119 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30121 (_libc_vdso_platform_setup): Remove initialization of
30122 __vdso_gettimeofday and __vdso_time.
30124 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30126 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30127 and fgetc_unlocked.
30128 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30131 * elf/dl-open.c (add_to_global): Report additions to the global scope
30132 for LD_DEBUG=scopes.
30133 (dl_open_worker): Also print scope of newly loaded dependencies.
30134 (_dl_show_scope): Indicate if there is no scope.
30137 * stdio-common/Makefile (tests): Add bug24.
30138 * stdio-common/bug24.c: New file.
30140 2011-08-19 Andreas Jaeger <aj@suse.de>
30143 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30144 non-existant file when using close-on-exec mode.
30146 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30149 the very first instruction.
30151 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30152 the CFI state in the end.
30153 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30154 inclusion of dl-trampoline.h.
30155 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30157 2011-08-19 Andreas Schwab <schwab@redhat.com>
30159 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30160 expectations for long double.
30162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30163 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30165 2011-08-14 David S. Miller <davem@davemloft.net>
30167 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30168 artificual limit depends upon the system page size.
30170 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30172 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30173 * resolv/Makefile: Define CFLAGS-libresolv.
30175 2011-08-17 Andreas Schwab <schwab@redhat.com>
30177 * nss/makedb.c (compute_tables): Make variables used in nested
30180 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30182 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30183 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30184 if buffer was too small.
30186 * elf/pldd.c (main): Attach to all threads in the process.
30187 Rewrite /proc handling to use *at functions.
30189 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30191 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30192 specifies first scope to show.
30193 (dl_open_worker): Update callers. Move printing scope of new
30194 object to before the relocation.
30195 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30196 * sysdeps/generic/ldsodefs.h: Update declaration.
30198 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30199 string for the scope number.
30201 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30203 * nscd/servicescache.c (cache_addserv): Make sure written is always
30206 2011-08-14 Roland McGrath <roland@hack.frob.com>
30208 * sysdeps/i386/i486/bits/atomic.h
30209 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30210 statement expression, so as to suppress "set but not used" warning.
30211 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30213 * string/strncat.c (STRNCAT): Use prototype definition.
30215 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30216 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30218 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30219 (localedef-modules): Add localedef.
30220 (locale-modules): Add locale.
30222 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30223 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30224 to avoid a warning.
30226 2011-08-14 David S. Miller <davem@davemloft.net>
30228 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30229 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30231 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30233 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30234 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30235 * elf/rtld.c (dl_main): Set l_name of vDSO.
30236 Call _dl_show_scope when DL_DEBUG_SCOPES.
30237 (process_dl_debug): Recognize scopes flag and also set it for all.
30238 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30239 Declare _dl_show_scope.
30241 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30242 (do_dlopen): Pass caller_dlopen to dl_open.
30243 (__libc_dlopen_mode): Initialize caller_dlopen.
30245 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30246 of libc. Make tolower call locale-independent. Optimize a bit by
30247 using isdigit instead of isalnum.
30248 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30250 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30252 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30253 was a dependency or dynamically loaded.
30255 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30257 * intl/l10nflist.c: Allow architecture-specific pop function.
30258 * sysdeps/x86_64/l10nflist.c: New file.
30260 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30263 2011-08-10 Andreas Schwab <schwab@redhat.com>
30265 * include/dirent.h: Add libc_hidden_proto for scandirat and
30266 scandirat64. Don't declare __scandirat64.
30267 * dirent/scandirat.c: Add libc_hidden_def.
30268 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30269 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30271 2011-08-10 David S. Miller <davem@davemloft.net>
30273 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30275 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30276 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30277 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30279 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30281 * Versions.def [libc]: Add GLIBC_2.15.
30282 * dirent/Makefile (routines): Add scandirat and scandirat64.
30283 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30285 * dirent/dirent.h: Declare scandirat and scandirat64.
30286 * dirent/scandirat.c: New file.
30287 * dirent/scandirat64.c: New file.
30288 * sysdeps/wordsize-64/scandirat.c: New file.
30289 * sysdeps/wordsize-64/scandirat64.c: New file.
30290 * dirent/opendir.c: Define opendirat.
30291 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30293 * dirent/scandir64.c: Adjust for scandir.c change.
30294 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30295 __scandirat64, and __scandir_cancel_handler.
30296 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30297 additional parameter and use openat instead of open (outside of ld.so).
30298 Add new __opendir as wrapper around __opendirat.
30299 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30300 here without requiring old scandirat implementation.
30302 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30304 * dirent/scandir.c (cancel_handler): Renamed to
30305 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30306 defined. Adjust users.
30307 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30308 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30310 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30312 * string/test-string.h (IMPL): Use __STRING to expand name and then
30315 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30318 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30320 * string/Makefile: Update.
30321 (strop-tests): Append strncat.
30322 * string/test-wcscmp.c: New file.
30323 New comprehensive test for wcscmp.
30324 * string/test-strcmp.c: Update.
30325 (WIDE): New define.
30327 2011-07-22 Andreas Schwab <schwab@redhat.com>
30329 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30332 2011-07-26 Andreas Schwab <schwab@redhat.com>
30334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30335 encoding to ACE if AI_IDN.
30337 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30340 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30342 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30344 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30345 Fix overflow bug in strncat.
30346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30348 * string/test-strncat.c: Update.
30349 Add new tests for checking overflow bugs.
30351 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30354 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30355 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30356 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30357 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30358 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30359 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30360 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30361 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30363 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30364 (USE_AS_STRCAT): Define.
30365 Add strcat and strncat support.
30366 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30368 2011-07-25 Andreas Schwab <schwab@redhat.com>
30370 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30371 __n bigger than INT_MAX+1.
30372 (__strncmp_g): Likewise.
30374 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30376 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30377 * libio/stido.h: Likewise.
30379 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30384 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30386 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30387 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30391 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30396 (_dl_x86_64_save_sse): Likewise.
30398 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30402 (_dl_x86_64_save_sse): Likewise.
30404 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30406 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30408 2011-07-21 Andreas Schwab <schwab@redhat.com>
30410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30412 (_dl_x86_64_save_sse): Use correct AVX check.
30414 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30416 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30417 bug in strncpy/strncat.
30418 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30420 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30422 * string/tester.c (test_strcat): Add tests for different alignments
30423 of source and destination.
30424 (test_strncat): Likewise.
30426 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30429 * posix/glob.c (glob): Check passed in values before using them in
30430 expressions to avoid some overflows.
30431 (glob_in_dir): Likewise.
30434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30435 check for AVX enablement so that we don't crash with old kernels and
30437 * elf/tst-audit4.c: Add same checks here.
30438 * elf/tst-audit6.c: Likewise.
30440 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30442 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30444 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30446 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30448 * po/cs.po: Update from translation team.
30449 * po/bg.po: Likewise.
30451 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30453 * misc/sys/cdefs.h: Add support for const attribute.
30454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30455 to gnu_dev_{major,minor,makedev} functions.
30457 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30459 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30461 2011-07-20 Andreas Schwab <schwab@redhat.com>
30463 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30466 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30468 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30469 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30470 register in order to avoid conflicts with the soft frame pointer
30471 being held in r11 when necessary.
30472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30473 (INTERNAL_VSYSCALL_NCS): Likewise.
30475 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30477 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30478 * elf/dl-fini.c (_dl_fini): Adjust caller.
30479 * elf/dl-close.c (_dl_close_worker): Likewise.
30480 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30482 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30484 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30485 "aux_cache->nlibs < 0".
30487 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30488 in the reload-count case.
30490 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30493 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30494 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30495 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30496 * sysdeps/x86_64/multiarch/strcat.S: New file.
30497 * sysdeps/x86_64/multiarch/strncat.S: New file.
30498 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30499 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30500 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30501 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30502 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30503 (USE_AS_STRCAT): Define.
30504 Add strcat and strncat support.
30505 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30506 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30507 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30508 * string/strncat.c: Update.
30509 (USE_AS_STRNCAT): Define.
30510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30511 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30513 * sysdeps/x86_64/multiarch/init-arch.h
30514 (bit_Prefer_PMINUB_for_stringop): New.
30515 (index_Prefer_PMINUB_for_stringop): Likewise.
30516 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30517 bit_Prefer_PMINUB_for_stringop.
30519 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30521 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30523 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30524 of casting of buffer.
30525 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30526 buffer32 and buffer64.
30527 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30528 writes instead of casting of buffer.
30529 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30531 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30534 2011-07-19 Andreas Schwab <schwab@redhat.com>
30536 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30538 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30540 * nscd/nscd.c (termination_handler): Don't do anything for a database
30541 if it has not yet been initialized.
30543 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30545 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30547 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30549 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30551 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30553 * po/nl.po: Update from translation team.
30554 * po/sv.po: Likewise.
30556 2011-07-16 Roland McGrath <roland@hack.frob.com>
30558 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30559 now disallowed by GCC.
30561 * configure.in (use-default-link): Default to yes if a test -shared
30562 link meets our qualifications.
30563 * configure: Regenerated.
30565 * config.make.in (output-format): New variable.
30566 * configure.in: Check for ld --print-output-format support.
30567 * configure: Regenerated.
30568 * Makerules ($(common-objpfx)format.lds)
30569 [$(output-format) != unknown]: Just use $(output-format),
30570 instead of the linker-script munging.
30572 2011-07-14 Roland McGrath <roland@hack.frob.com>
30574 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30575 of $(common-objpfx)shlib.lds.
30576 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30578 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30579 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30581 * configure.in (-z relro check): Adjust test code to add a large
30582 writable data section after it.
30583 * configure: Regenerated.
30585 2011-07-11 Roland McGrath <roland@hack.frob.com>
30587 * configure.in (-z relro check): Fix test code to make the variable
30589 * configure: Regenerated.
30591 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30593 * nscd/nscd.h (struct traced_file): Define.
30594 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30595 elements. Add traced_files.
30596 (inotify_fd): Declare.
30597 (register_traced_file): Declare.
30598 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30599 (inotify_fd): Export.
30600 (resolv_conf_descr): Remove.
30601 (nscd_init): Move inotify descriptor creation to main.
30602 Don't register files for notification here.
30603 (register_traced_file): New function.
30604 (invalidate_cache): Don't use reset_res to determine whether to call
30605 res_init, go through the list of registered files.
30606 (main_loop_poll): The inotify descriptors are now stored in the
30607 structures for the traced files.
30608 (main_loop_epoll): Likewise
30609 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30610 to __nss_disable_nscd.
30611 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30612 for a database anymore. Check the records for all the registered
30614 * nss/Makefile (libnss_files-routines): Add files-init.
30615 (libnss_db-routines): Add db-init.
30616 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30617 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30618 * nss/nss_db/db-init.c: New file.
30619 * nss/nss_files/files-init.c: New file.
30620 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30621 __nss_lookup_function.
30622 (__nss_lookup_function): Call nss_load_library.
30623 (nss_load_all_libraries): New function.
30624 (__nss_disable_nscd): Take parameter with callback function for files
30625 to register. Set is_nscd. Load all the DSOs for the NSS modules
30626 used for the cached services.
30627 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30628 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30629 options for features to all the files in nscd.
30631 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30633 2011-07-10 Roland McGrath <roland@hack.frob.com>
30635 * csu/elf-init.c (__libc_csu_init): Comment typo.
30637 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30639 * po/pl.po: Update from translation team.
30640 * po/ja.po: Likewise.
30641 * po/ru.po: Likewise.
30642 * po/ko.po: Likewise.
30643 * po/fr.po: Likewise.
30645 2011-07-09 Roland McGrath <roland@hack.frob.com>
30647 * configure.in (.ctors/.dtors header and trailer check):
30648 Use an empirical test on a built program.
30649 * configure: Regenerated.
30651 * configure.in (-z relro check): Use an empirical test on a built DSO.
30652 Detect, but do not require, on ia64.
30653 * configure: Regenerated.
30655 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30656 Update tests that use readelf to use $READELF instead.
30657 * configure: Regenerated.
30659 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30661 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30662 if the result is not used.
30664 2011-07-05 Andreas Jaeger <aj@suse.de>
30667 * stdlib/tst-strtod.c: Add testcase.
30669 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30671 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30672 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30673 The latter has a higher limit. Take additional parameter to pass to
30675 (__pathconf): Pass file to __statfs_link_max.
30676 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30678 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30682 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30683 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30685 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30686 (__statfs_filesize_max): Likewise.
30687 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30689 2011-07-05 Andreas Jaeger <aj@suse.de>
30691 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30693 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30695 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30697 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30700 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30702 * Makefile (strop-tests): Add strncat.
30703 * string/test-strncat.c: New file.
30705 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30707 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30709 2011-06-21 Andreas Jaeger <aj@suse.de>
30711 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30712 Copy rule from iconvdata/Makefile.
30714 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30717 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30718 but no long options are defined, just return 'W'.
30720 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30723 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30725 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30727 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30729 (innetgr): Likewise.
30731 2011-07-05 Roland McGrath <roland@hack.frob.com>
30733 * config.make.in (install_root): Default to $(DESTDIR).
30735 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30737 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30739 2011-07-02 Roland McGrath <roland@hack.frob.com>
30741 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30743 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30744 containing directory rather than embedding absolute directory names.
30746 * scripts/check-local-headers.sh: Rewritten using awk.
30747 Match by word, not by line. Print error messages for matches.
30748 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30750 * Makerules [shlib-lds-flags empty]:
30751 ($(common-objpfx)libc_pic.opts): New target.
30752 ($(common-objpfx)libc_pic.os.clean): New target.
30753 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30755 * config.make.in (OBJCOPY): New variable.
30756 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30757 * configure: Regenerated.
30759 * config.make.in (use-default-link): New variable.
30760 * configure.in (use_default_link): Grok --with-default-link to set it.
30761 * configure: Regenerated.
30762 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30763 (shlib-lds, shlib-lds-flags): Define to empty.
30765 * Makerules (shlib-lds): New variable.
30766 (shlib-lds-flags): New variable.
30767 (build-shlib, build-moduile, build-module-asneeded): Use it.
30768 ($(common-objpfx)libc.so): Use $(shlib-lds).
30769 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30770 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30772 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30773 DT_FLAGS/DT_FLAGS_1 with zero flags.
30775 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30776 linker script munging.
30778 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30780 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30782 * crypt/sha512.c (sha512_process_block): Perform total addition using
30783 128-bit if possible.
30784 (__sha512_finish_ctx): Likewise.
30785 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30787 * crypt/sha256.c (SWAP64): Define.
30788 (sha256_process_block): Perform total addition using 64-bit if
30790 (__sha256_finish_ctx): Likewise.
30792 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30794 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30796 * nscd/hstcache.c (cache_addhst): Likewise.
30797 * nscd/grpcache.c (cache_addgr): Likewise.
30798 * nscd/aicache.c (addhstaiX): Likewise
30799 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30801 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30803 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30805 * nscd/hstcache.c (cache_addhst): Likewise.
30806 * nscd/grpcache.c (cache_addgr): Likewise.
30807 * nscd/aicache.c (addhstaiX): Likewise
30809 2011-07-01 Andreas Schwab <schwab@redhat.com>
30811 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30812 domain only when needed.
30814 2011-06-30 Andreas Schwab <schwab@redhat.com>
30816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30817 is always restored.
30819 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30821 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30822 are re-adding the entry.
30823 * nscd/servicescache.c (cache_addserv): Likewise.
30825 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30827 * sysdeps/generic/dl-irel.h: fix protection against multiple
30829 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30831 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30834 * malloc/memusage.sh: Fix quoting in message.
30835 * debug/xtrace.sh: Likewise.
30837 * configure.in: Remove support for --experimental-malloc option, make
30839 * config.make.in: Likewise.
30840 * malloc/Makefile: Likewise.
30842 2011-06-27 Andreas Schwab <schwab@redhat.com>
30844 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30845 two-byte characters.
30847 2011-06-27 Roland McGrath <roland@hack.frob.com>
30849 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30850 AC_CACHE_CHECK invocation.
30851 * configure: Regenerated.
30853 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30855 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30858 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30859 bit from old_res_options.
30861 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30863 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30864 value type for setfct.
30866 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30868 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30869 __gettimeofday instead of gettimeofday.
30871 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30873 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30875 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30882 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30885 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30886 strcpy-sse2-unaligned strncpy-sse2-unaligned
30887 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30888 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30889 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30890 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30891 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30893 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30894 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30895 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30896 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30897 (STRCPY): Support SSE2 and SSSE3 versions.
30899 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30903 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30904 kernels which artificially limit size of requests.
30906 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30909 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30910 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30911 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30912 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30913 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30914 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30915 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30916 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30918 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30919 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30920 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30921 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30922 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30924 Enable unaligned load optimization for Intel Core i3, i5 and i7
30926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30928 (index_Fast_Unaligned_Load): Define.
30929 (HAS_FAST_UNALIGNED_LOAD): Define.
30931 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30933 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30935 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30939 until it is clear that the information is realy needed.
30940 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30942 2011-06-22 Andreas Schwab <schwab@redhat.com>
30944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30946 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30948 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30949 /sys/devices/system/cpu/online if it is usable.
30951 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30952 reading the information from the /proc filesystem to once a second.
30954 2011-06-21 Andreas Jaeger <aj@suse.de>
30956 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30957 NULL after inclusion of kernel headers.
30959 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30961 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30962 calls to internal_setent.
30965 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30966 addresses using gethostbyname4_r ignore IPv4 addresses.
30968 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30969 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30971 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30973 2011-06-20 David S. Miller <davem@davemloft.net>
30975 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30977 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30979 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30980 (elf_irel): Use it.
30981 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30982 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30983 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30984 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30985 * sysdeps/x86_64/dl-irel.h: Likewise.
30987 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30988 * elf/dl-sym.c: Likewise.
30990 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30992 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30993 need to dereference resplen2.
30995 2011-06-14 Andreas Schwab <schwab@redhat.com>
30997 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30999 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31001 * Makeconfig: Define vardbdir and inst_vardbdir.
31002 * nss/Makefile: Add rules to install db-Makefile.
31004 * nss/nss_db/db-XXX.c: Cleanup.
31006 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31007 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31009 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31010 * nss/makedb.c: Implement -g option to specify that value strings
31011 are generated and should not be added to table iterated over for
31013 * nss/nss_db/db-initgroups.c: New file.
31015 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31018 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31019 (internal_getgrouplist): Adjust to name change.
31020 Update use_initgroups_entry if this is not the first call.
31021 * nss/databases.def: Add initgroups entry.
31023 * nss/makedb.c (compute_tables): Check result of multiple hash table
31024 sizes to minimize maximum chain length.
31026 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31028 * Versions.def: Add entry for libnss_db.
31029 * shlib-versions: Likewise.
31030 * nss/Makefile: Add rules to build libnss_db.
31031 * nss/Versions: Add libnss_db information. Organize libnss_files
31033 * nss/db-Makefile: Add gshadow support. Change rules for the new
31034 makedb progra. Some minor improvements to generate smaller files.
31035 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31037 * nss/makedb.c: ...here.
31038 Improve database format to be smaller and require less memory at
31040 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31042 * nss/nss_db/db-netgrp.c: Likewise.
31043 * nss/nss_db/db-open.c: Likewise.
31044 * nss/nss_files/flies-XXX.x: Adjust comments.
31045 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31046 * nss/nss_files/files-grp.c: Likewise.
31047 * nss/nss_files/files-hosts.c: Likewise.
31048 * nss/nss_files/files-network.c: Likewise.
31049 * nss/nss_files/files-proto.c: Likewise.
31050 * nss/nss_files/files-pwd.c: Likewise.
31051 * nss/nss_files/files-rpc.c: Likewise.
31052 * nss/nss_files/files-service.c: Likewise.
31053 * nss/nss_files/files-sgrp.c: Likewise.
31054 * nss/nss_files/files-spwd.c: Likewise.
31055 * nss/nss_db/db-alias.c: Removed.
31056 * nss/nss_db/dummy-db.h: Removed.
31058 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31060 * nss/makedb.c: Rewritten to not use database library.
31061 * nss/Makefile: Update to build new makedb program.
31063 2011-06-14 Andreas Jaeger <aj@suse.de>
31065 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31066 memset declaration.
31068 2011-06-10 Andreas Schwab <schwab@redhat.com>
31070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31073 2011-06-10 Roland McGrath <roland@hack.frob.com>
31075 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31076 * elf/Makefile ($(objpfx)ld.so): Likewise.
31078 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31079 Don't list ld.so twice in dependencies.
31081 * posix/bug-regex31.c: Include <stdlib.h>.
31083 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31085 * nis/nss_compat/compat-spwd.c
31086 (getspent_next_nss_netgr): Remove unused variable.
31087 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31089 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31090 nonmembers" output to use the right array.
31092 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31094 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31096 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31097 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31098 * catgets/gencat.c (read_input_file): Likewise.
31099 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31101 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31102 variable definition inside #if's controlling its use.
31104 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31106 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31108 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31110 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31113 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31115 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31116 * configure: Regenerated.
31118 * Makerules: Revert last change.
31119 * elf/Makefile: Likewise.
31121 2011-06-09 Roland McGrath <roland@hack.frob.com>
31123 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31124 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31125 (reloc-link): Likewise.
31127 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31129 * elf/Makefile: Add rules to build pldd.
31130 * elf/pldd.c: New file.
31131 * elf/pldd-xx.c: New file.
31133 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31135 * version.h: Update for 2.15 development version.
31137 2011-06-07 David S. Miller <davem@davemloft.net>
31139 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31141 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31142 elf_machine_lazy_rel): Likewise.
31143 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31145 elf_machine_lazy_rel): Likewise.
31146 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31147 dl_hwcap via passed in argument.
31148 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31151 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31153 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31155 2011-06-06 Roland McGrath <roland@hack.frob.com>
31158 * manual/fdl-1.1.texi: New file, verbatim from:
31159 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31160 * manual/lgpl-2.1.texi: New file, verbatim from:
31161 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31162 * manual/Makefile (licenses): New variable, list those new file names.
31164 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31166 * manual/fdl.texi: File removed.
31167 * manual/lesser.texi: File removed.
31168 * manual/libc.texinfo (Copying, Documentation License):
31169 Use new @include file names, put @appendix directive before @include.
31171 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31174 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31175 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31176 (mq_open): Add __NTH.
31178 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31181 Assume Intel Core i3/i5/i7 processor if AVX is available.
31183 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31188 2011-05-31 Andreas Schwab <schwab@redhat.com>
31190 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31191 memory. Use alloca_account. Fix memory leak when retrying.
31193 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31195 * version.h (RELEASE): Bump for 2.14 release.
31196 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31198 * config.make.in (RANLIB): Remove entry.
31200 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31202 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31203 (libc.pot): Work around missing support for .ksh extension in xgettext.
31206 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31207 if both request failed.
31208 (send_dg): In case of server errors clear resplen or *resplen2.
31211 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31212 when there are multiple maps.
31213 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31214 (_dl_fini): Remove test here.
31216 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31218 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31221 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31222 bit from old_res_options.
31223 (gaih_inet): Likewise.
31226 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31229 * resolv/res_init.c (res_setoptions): Make the code more compact.
31232 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31236 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31238 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31241 * malloc/malloc.h: Declare malloc hook variables as volatile.
31243 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31247 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31248 raise in the comment.
31249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31251 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31253 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31256 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31257 grow the buffers more if it already has to be sufficient.
31258 (build_wcs_upper_buffer): Likewise.
31259 * posix/regexec.c (check_matching): Likewise.
31260 (clean_state_log_if_needed): Likewise.
31261 (extend_buffers): Don't enlarge buffers beyond size of the input
31263 Patches mostly by Emil Wojak <emil@wojak.eu>.
31264 * posix/bug-regex32.c: New file.
31265 * posix/Makefile (tests): Add bug-regex32.
31267 * locale/findlocale.c (_nl_find_locale): Return right away if
31268 _nl_explode_name failed.
31269 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31271 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31273 * debug/xtrace.sh: Unify messages.
31274 * malloc/memusage.sh: Likewise.
31277 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31278 time symbol from vDSO. Substitute with vsyscall if not available.
31279 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31282 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31283 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31284 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31285 Add sendmmsg and internal_sendmmsg.
31286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31287 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31288 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31290 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31291 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31292 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31294 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31297 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31298 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31304 * iconvdata/Makefile (tests): Add bug-iconv9.
31305 * iconvdata/bug-iconv9.c: New file.
31307 2011-05-27 Andreas Schwab <schwab@redhat.com>
31310 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31312 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31315 (struct user_regs_struct): Change intcs field back to cs.
31317 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31319 * po/ja.po: Update from translation team.
31321 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31324 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31325 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31327 2011-05-20 Andreas Schwab <schwab@redhat.com>
31329 * stdlib/longlong.h: Update from GCC.
31331 2011-05-23 Andreas Schwab <schwab@redhat.com>
31333 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31335 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31336 Add parameter name.
31337 (__sysconf): Pass it down.
31339 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31342 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31345 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31346 add in in __libc_use_alloca calls. Adjust callers.
31347 (glob): Use malloc in some situations.
31349 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31350 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31353 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31355 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31356 and CLOCK_BOOTTIME_ALARM.
31359 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31362 * string/_strerror.c (__strerror_r): Print negative errors as signed
31366 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31367 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31368 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31370 * configure.in: Fix typo in redirection and correct removal of test
31371 files in two cases.
31374 * locale/setlocale.c (new_composite_name): Fix test to check for
31375 identical name of all categories.
31378 * libio/filedoalloc.c (local_isatty): New function.
31379 (_IO_file_doallocate): Use local_isatty.
31380 * stdio-common/perror.c (perror): In case a new stream is used
31381 forward the stream error.
31382 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31385 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31390 * include/alloca.h (extend_alloca_account): Define.
31393 * posix/regex.h: Fix comments with documentation of user-accessible
31394 fields after compilation and describe correct free'ing of pattern
31395 after re_compile_pattern.
31396 Patch by Reuben Thomas <rrt@sc3d.org>.
31398 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31400 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31401 and -mno-altivec to prevent the compiler from using Altivec and/or
31402 VSX instructions when the corresponding registers are not available.
31404 2011-05-19 Andreas Schwab <schwab@redhat.com>
31406 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31408 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31410 * libio/freopen.c (freopen): Use __dup2, not dup2.
31411 * libio/freopen64.c (freopen64): Likewise.
31413 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31416 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31417 * math/Makefile (tests): Add test-powl.
31418 (CFLAGS-test-powl.c): Define.
31419 * math/test-powl.c: New file.
31421 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31423 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31425 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31428 * iconvdata/gb18030.c: Update to GB18020-2005.
31430 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31432 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31433 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31434 Patch by Aharon Robbins <arnold@skeeve.com>.
31437 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31441 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31442 through underflows.
31445 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31446 point to strings before performing equality test for error_one_per_line
31450 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31453 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31454 (struct user_fpregs_struct): Avoid __uint*_t types.
31457 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31458 symbol info. Use it instead of calling _dl_addr locally.
31459 (lock_and_info): New function.
31460 (tr_freehook): Call lock_and_info and pass symbol info as additional
31461 parameter to tr_where.
31462 (tr_mallochook): Likewise.
31463 (tr_reallochook): Likewise.
31464 (tr_memalignhook): Likewise.
31466 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31467 used and couldn't be at all thread-safe.
31469 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31471 * libio/freopen.c (freopen): Don't close old file descriptor
31472 before the new one is opened. Instead dup the new file descriptor
31473 to the old one after the new stream is created.
31474 * libio/freopen64.c (freopen64): Likewise.
31475 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31476 * libio/fileops.c (_IO_new_file_close_it): Handle new
31477 _IO_FLAGS2_NOCLOSE flag.
31478 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31479 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31480 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31481 _IO_FLAGS2_NOCLOSE flag.
31482 * include/unistd.h: Add hidden_proto for dup3.
31483 Define __have_dup3.
31484 * io/dup3.c: Define hidden symbol.
31485 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31488 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31489 when an incomplete long option is used.
31490 * posix/tst-getopt_long1.c: New file.
31491 * posix/Makefile (tests): Add tst-getopt_long1.
31494 * scripts/config.guess: Update from autoconf-2.68.
31495 * scripts/config.sub: Likewise.
31498 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31500 (has_cpuclock): ...this. New function.
31501 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31502 macro here based on has_cpuclock code.
31505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31506 First byte (not low byte) is now always NUL.
31507 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31510 Use non-cancelable interfaces.
31513 * locale/iso-639.def: Add entry for Sorani.
31516 * include/stdlib.h: Move include protection to the right place.
31517 Define abort_msg_s. Declare __abort_msg with it.
31518 * stdlib/abort.c (__abort_msg): Adjust type.
31519 * assert/assert.c (__assert_fail_base): New function. Majority
31520 of code from __assert_fail. Allocate memory for __abort_msg with
31522 (__assert_fail): Now call __assert_fail_base.
31523 * assert/assert-perr.c: Remove bulk of implementation. Use
31524 __assert_fail_base.
31525 * include/assert.hL Declare __assert_fail_base.
31526 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31528 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31530 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31534 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31535 until all modules are registered in the DTV.
31536 * elf/Makefile: Add rules to build and run tst-tls19.
31537 * elf/tst-tls19.c: New file.
31538 * elf/tst-tls19mod1.c: New file.
31539 * elf/tst-tls19mod2.c: New file.
31540 * elf/tst-tls19mod3.c: New file.
31541 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31544 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31548 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31549 two-byte sequence errors.
31550 * iconvdata/Makefile (tests): Add bug-iconv8.
31551 * iconvdata/bug-iconv8.c: New file.
31554 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31557 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31560 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31561 (dummy_getcfa): New function.
31562 (init): Get _Unwind_GetCFA address, use dummy if not found.
31563 (backtrace_helper): In recursion check, also check whether CFA changes.
31564 (__backtrace): Completely initialize arg.
31566 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31567 storing incomplete byte sequence in state object. Avoid testing for
31568 guaranteed too small input if we know there is enough data available.
31570 2011-05-11 Andreas Schwab <schwab@redhat.com>
31572 * Makeconfig (+link-pie): Indent.
31573 * Rules (binaries-pie): Define if $(have-fpie) and
31575 (binaries-shared): Also filter out $(binaries-pie).
31576 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31577 * nscd/Makefile (others-pie): Add nscd.
31578 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31579 ($(objpfx)nscd): Remove command override.
31580 * login/Makefile (others-pie): Add pt_chown.
31581 ($(objpfx)pt_chown): Remove command override.
31582 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31583 remove command overrides.
31585 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31587 * libio/tst_putwc.c: Fix error messages.
31590 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31591 currently writing and seek to current position when not.
31592 * libio/Makefile (tests): Add bug-fclose1.
31593 * libio/bug-fclose1.c: New file.
31595 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31598 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31599 don't set DF_1_NODELETE here.
31600 (do_lookup_x): When entering new entry test for copy relocation
31601 and if necessary set DF_1_NODELETE flag.
31602 * elf/tst-unique4.cc: New file.
31603 * elf/tst-unique4.h: New file.
31604 * elf/tst-unique4lib.cc: New file.
31605 * elf/Makefile: Add rules to build and run tst-unique4.
31606 Patch by Piotr Bury <pbury@goahead.com>.
31608 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31611 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31614 * misc/mntent_r.c (addmntent): Flush the stream after the output
31617 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31618 (is_trusted_path_normalize): Skip initial colon. Append slash
31619 to empty buffer. Duplicate is_trusted_path code but allow
31620 constructed patch to be prefix.
31621 (is_dst): Allow $ORIGIN followed by /.
31622 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31623 Correct testing of result of is_trusted_path_normalize
31624 (decompose_rpath): Fix warning.
31626 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31629 * grp/initgroups.c (internal_getgrouplist): When we found the service
31630 list through the initgroups entry in nsswitch.conf do not always
31631 continue on a successful lookup. Don't always use the
31632 __nss_group_database value if it is set.
31633 * nss/nsswitch.conf (initgroups): Change action for successful db
31634 lookup to continue for compatibility.
31636 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31639 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31641 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31643 * iconvdata/tst-tables.sh: Likewise.
31644 * iconvdata/cp770.c: New file.
31645 * iconvdata/cp771.c: New file.
31646 * iconvdata/cp772.c: New file.
31647 * iconvdata/cp773.c: New file.
31648 * iconvdata/cp774.c: New file.
31649 * iconvdata/testdata/CP770: New file.
31650 * iconvdata/testdata/CP770..UTF8: New file.
31651 * iconvdata/testdata/CP771: New file.
31652 * iconvdata/testdata/CP771..UTF8: New file.
31653 * iconvdata/testdata/CP772: New file.
31654 * iconvdata/testdata/CP772..UTF8: New file.
31655 * iconvdata/testdata/CP773: New file.
31656 * iconvdata/testdata/CP773..UTF8: New file.
31657 * iconvdata/testdata/CP774: New file.
31658 * iconvdata/testdata/CP774..UTF8: New file.
31660 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31662 * iconvdata/gen-8bit-gap.sh: Likewise.
31663 * iconvdata/gen-8bit.sh: Likewise.
31665 * locale/iso-639.def: Add ary entry.
31668 * locale/C-translit.h.in: Add U20A1 transliteration.
31671 * locale/iso-639.def: Add wae entry.
31672 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31675 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31679 * locale/C-translit.h.in: Add entry for U20B9.
31680 Patch by pravin.d.s@gmail.com.
31682 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31685 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31686 ENAMETOOLONG use generic getcwd.
31687 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31688 in rtld. Use *stat64.
31689 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31690 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31691 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31692 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31693 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31694 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31695 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31696 __fstatat64 macros.
31697 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31698 * dirent/rewinddir.c: Add libc_hidden_def.
31699 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31700 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31702 * include/dirent.h (__alloc_dir): Add flags parameter.
31703 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31704 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31706 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31707 from fdopendir if O_CLOEXEC is already set.
31709 2011-03-15 Alan Modra <amodra@gmail.com>
31711 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31712 l_tls_firstbyte_offset non-zero. Save padding offset in
31713 l_tls_firstbyte_offset for later use.
31714 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31715 freeing static tls block.
31717 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31719 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31720 where #ifdef was intended. The intent is to prevent ARG_MAX from
31721 being defined by the kernel headers.
31723 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31726 * resolv/resolv.h: Define RES_NOTLDQUERY.
31727 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31728 no-tld-query and set RES_NOTLDQUERY.
31729 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31730 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31731 modern BIND to search name as TLD unless forbidden.
31733 2011-05-07 Petr Baudis <pasky@suse.cz>
31734 Ulrich Drepper <drepper@gmail.com>
31737 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31738 (is_trusted_path): ...to here.
31739 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31740 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31741 using is_trusted_path_normalize() in setuid scripts.
31743 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31745 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31746 __BEGIN/__END_DECLS.
31748 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31751 NSS_STATUS_NOTFOUND if no record was found.
31753 2011-05-05 Andreas Schwab <schwab@redhat.com>
31755 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31756 (headers-not-in-tirpc): Remove rpc/netdb.h
31757 * resolv/netdb.h: Revert last change.
31759 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31761 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31762 circular dependency between libgcc.a and libc.a.
31764 2011-05-05 Andreas Schwab <schwab@redhat.com>
31766 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31767 * nis/Makefile: Don't install rpcsvc/*.
31768 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31769 instead of <rpc/types.h>.
31770 (MAXHOSTNAMELEN): Define.
31772 2011-05-03 Andreas Schwab <schwab@redhat.com>
31774 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31776 2011-04-28 Maciej Babinski <mbabinski@google.com>
31779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31780 gethostbyname4_r when IPv6 results are possible.
31782 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31785 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31786 _PC_PIPE_BUF handling.
31788 2011-04-30 Bruno Haible <bruno@clisp.org>
31791 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31792 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31794 * inet/getnameinfo.c (getnameinfo): Likewise.
31796 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31798 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31799 to groups setting in database lookup.
31800 * nss/nsswitch.conf: Add initgroups entry.
31802 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31805 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31807 Patch by Eric Blake <eblake@redhat.com>.
31809 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31811 * sunrpc/Makefile (need-export-routines): Add svc_run.
31812 (routines): Remove svc_run.
31813 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31814 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31815 * sunrpc/svc_run.c (svc_run): Likewise.
31816 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31818 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31820 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31821 problem in reallocation in last patch.
31823 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31825 * sunrpc/Makefile: Move inclusion of Rules.
31827 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31829 * nss/nss_files/files-initgroups.c: New file.
31830 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31831 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31832 _nss_files_initgroups_dyn.
31834 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31836 * elf/elf.h (R_ARM_IRELATIVE): Define.
31838 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31840 * po/ru.po: Update from translation team.
31842 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31844 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31847 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31850 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31851 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31853 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31856 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31858 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31862 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31864 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31867 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31869 * stdlib/bug-getcontext.c: New file.
31870 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31872 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31874 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31875 instructions into .machine "z9-109".
31876 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31877 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31879 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31881 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31882 between environment variables and auxiliary vector.
31884 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31886 * Makefile: Add rules to build linkobj/libc.so.
31887 * include/libc-symbols.h: Define libc_hidden_nolink.
31888 * include/rpc/auth.h: Mark functions which are to be hidden.
31889 * include/rpc/auth_des.h: Likewise.
31890 * include/rpc/auth_unix.h: Likewise.
31891 * include/rpc/clnt.h: Likewise.
31892 * include/rpc/des_crypt.h: Likewise.
31893 * include/rpc/key_prot.h: Likewise.
31894 * include/rpc/pmap_clnt.h: Likewise.
31895 * include/rpc/pmap_prot.h: Likewise.
31896 * include/rpc/pmap_rmt.h: Likewise.
31897 * include/rpc/rpc_msg.h: Likewise.
31898 * include/rpc/svc.h: Likewise.
31899 * include/rpc/svc_auth.h: Likewise.
31900 * include/rpc/xdr.h: Likewise.
31901 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31902 * nss/Makefile: Likewise.
31903 * sunrpc/Makefile: Don't install headers. Build library with normal
31904 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31905 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31906 for the compat linking library. Remove use of INTDEF/INTUSE.
31907 * sunrpc/auth_none.c: Likewise.
31908 * sunrpc/auth_unix.c: Likewise.
31909 * sunrpc/authdes_prot.c: Likewise.
31910 * sunrpc/authuxprot.c: Likewise.
31911 * sunrpc/clnt_gen.c: Likewise.
31912 * sunrpc/clnt_perr.c: Likewise.
31913 * sunrpc/clnt_raw.c: Likewise.
31914 * sunrpc/clnt_simp.c: Likewise.
31915 * sunrpc/clnt_tcp.c: Likewise.
31916 * sunrpc/clnt_udp.c: Likewise.
31917 * sunrpc/clnt_unix.c: Likewise.
31918 * sunrpc/des_crypt.c: Likewise.
31919 * sunrpc/des_soft.c: Likewise.
31920 * sunrpc/get_myaddr.c: Likewise.
31921 * sunrpc/key_call.c: Likewise.
31922 * sunrpc/key_prot.c: Likewise.
31923 * sunrpc/netname.c: Likewise.
31924 * sunrpc/pm_getmaps.c: Likewise.
31925 * sunrpc/pm_getport.c: Likewise.
31926 * sunrpc/pmap_clnt.c: Likewise.
31927 * sunrpc/pmap_prot.c: Likewise.
31928 * sunrpc/pmap_prot2.c: Likewise.
31929 * sunrpc/pmap_rmt.c: Likewise.
31930 * sunrpc/publickey.c: Likewise.
31931 * sunrpc/rpc_cmsg.c: Likewise.
31932 * sunrpc/rpc_common.c: Likewise.
31933 * sunrpc/rpc_dtable.c: Likewise.
31934 * sunrpc/rpc_prot.c: Likewise.
31935 * sunrpc/rpc_thread.c: Likewise.
31936 * sunrpc/rtime.c: Likewise.
31937 * sunrpc/svc.c: Likewise.
31938 * sunrpc/svc_auth.c: Likewise.
31939 * sunrpc/svc_authux.c: Likewise.
31940 * sunrpc/svc_raw.c: Likewise.
31941 * sunrpc/svc_run.c: Likewise.
31942 * sunrpc/svc_simple.c: Likewise.
31943 * sunrpc/svc_tcp.c: Likewise.
31944 * sunrpc/svc_udp.c: Likewise.
31945 * sunrpc/svc_unix.c: Likewise.
31946 * sunrpc/svcauth_des.c: Likewise.
31947 * sunrpc/xcrypt.c: Likewise.
31948 * sunrpc/xdr.c: Likewise.
31949 * sunrpc/xdr_array.c: Likewise.
31950 * sunrpc/xdr_float.c: Likewise.
31951 * sunrpc/xdr_intXX_t.c: Likewise.
31952 * sunrpc/xdr_mem.c: Likewise.
31953 * sunrpc/xdr_rec.c: Likewise.
31954 * sunrpc/xdr_ref.c: Likewise.
31955 * sunrpc/xdr_sizeof.c: Likewise.
31956 * sunrpc/xdr_stdio.c: Likewise.
31958 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31961 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31962 * sysdeps/ia64/dl-tls.h: Likewise.
31963 * sysdeps/powerpc/dl-tls.h: Likewise.
31964 * sysdeps/s390/dl-tls.h: Likewise.
31965 * sysdeps/sh/dl-tls.h: Likewise.
31966 * sysdeps/sparc/dl-tls.h: Likewise.
31967 * sysdeps/x86_64/dl-tls.h: Likewise.
31968 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31970 2011-03-14 Andreas Schwab <schwab@redhat.com>
31972 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31973 rpath element also skip the following colon.
31974 (expand_dynamic_string_token): Add is_path parameter and pass
31975 down to DL_DST_REQUIRED and _dl_dst_substitute.
31976 (decompose_rpath): Call expand_dynamic_string_token with
31977 non-zero is_path. Ignore empty rpaths.
31978 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31981 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31986 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31989 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31990 Patch by Filipe David Manana <fdmanana@apache.org>.
31992 2011-04-07 Andreas Schwab <schwab@redhat.com>
31994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31995 Maintain aligned stack.
31996 (CHECK_RSP): Remove unused macro.
31998 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32000 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32001 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32003 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32005 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32007 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32009 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32012 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32013 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32014 * sysdeps/x86_64/memmove.c: New file.
32015 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32016 (memcpy): Renamed to ...
32017 (__new_memcpy): This.
32018 (memcpy): Provide GLIBC_2_14 memcpy.
32019 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32020 (memcpy): Provide GLIBC_2_2_5 memcpy.
32022 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32025 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32027 2011-03-30 Andreas Schwab <schwab@redhat.com>
32029 * misc/syncfs.c: New file.
32030 * misc/Makefile (routines): Add syncfs.
32031 * posix/unistd.h: Declare syncfs.
32032 * sysdeps/unix/syscalls.list: Add syncfs.
32034 2011-04-01 Andreas Schwab <schwab@redhat.com>
32036 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32038 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32039 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32041 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32043 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32046 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32052 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32056 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32057 sync_file_range.c with -fexceptions.
32058 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32059 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32060 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32061 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32062 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32063 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32064 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32065 sync_file_range as cancellation point
32066 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32067 now a wrapper around __call_sync_file_range with cancellation handling.
32068 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32069 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32070 function name to __call_sync_file_range.
32071 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32072 Add call_sync_file_range.
32074 2011-04-01 Andreas Schwab <schwab@redhat.com>
32076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32079 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32081 * iconv/iconv.h: Fix typo in comment.
32082 * io/fcntl.h: Likewise.
32083 * libio/stdio.h: Likewise.
32084 * posix/spawn.h: Likewise.
32085 * posix/unistd.h: Likewise.
32086 * stdlib/stdlib.h: Likewise.
32087 * time/time.h: Likewise.
32088 * wcsmbs/wchar.h: Likewise.
32090 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32091 open_by_handle): Add.
32092 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32093 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32094 Augment a few comments.
32095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32097 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32099 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32100 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32103 * io/fcntl.h (AT_EMPTY_PATH): Define.
32105 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32107 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32108 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32109 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32111 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32112 * Versions.def: Add GLIBC_2.14.
32113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32116 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32118 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32120 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32122 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32125 * string/test-strncmp.c (do_page_test): New function.
32126 (check2): Likewise.
32127 (test_main): Call check2.
32128 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32130 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32133 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32134 Handle cache information in CPU leaf 4.
32135 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32137 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32140 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32141 character representation.
32142 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32144 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32146 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32147 END(__isnan) to END(__isnanf) to match function entry point/label
32148 EALIGN(__isnanf,...).
32150 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32152 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32154 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32157 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32158 copy from the symbol referenced in the relocation to initialize the
32160 Patch by Piotr Bury <pbury@goahead.com>.
32161 * elf/Makefile: Add rules to build and tst-unique3.
32162 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32163 * elf/tst-unique3.cc: New file.
32164 * elf/tst-unique3.h: New file.
32165 * elf/tst-unique3lib.cc: New file.
32166 * elf/tst-unique3lib2.cc: New file.
32168 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32170 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32172 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32173 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32176 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32178 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32179 to-be-loaded object along a path to loader is ld.so.
32181 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32182 Ulrich Drepper <drepper@gmail.com>
32184 * sysdeps/x86_64/memset.S: After aligning destination, code
32185 branches to different locations depending on the value of
32186 misalignment, when multiarch is enabled. Fix this.
32188 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32190 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32191 Set _x86_64_preferred_memory_instruction for AMD processsors.
32192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32193 Set bit_Prefer_SSE_for_memop for AMD processors.
32195 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32197 * libio/fmemopen.c (fmemopen): Optimize a bit.
32199 2011-03-03 Andreas Schwab <schwab@redhat.com>
32201 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32203 2011-03-03 Roland McGrath <roland@redhat.com>
32205 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32207 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32209 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32210 __bzero_ultra1 instead of __memset_ultra1.
32212 2011-02-23 Andreas Schwab <schwab@redhat.com>
32213 Ulrich Drepper <drepper@gmail.com>
32216 * include/link.h (struct link_map): Add l_orig_initfini.
32217 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32218 returning unsuccessfully.
32219 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32220 close of a file loaded at startup, restore the original l_initfini
32222 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32223 list, store the pointer.
32224 * elf/Makefile ($(objpfx)noload-mem): New rule.
32225 (noload-ENV): Define.
32226 (tests): Add $(objpfx)noload-mem.
32227 * elf/noload.c: Include <memcheck.h>.
32228 (main): Call mtrace. Close all opened handles.
32230 2011-02-17 Andreas Schwab <schwab@redhat.com>
32233 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32234 dependencies are missing.
32236 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32238 Fix __if_freereq crash: Unlike the generic version which uses free,
32240 * sysdeps/mach/hurd/ifreq.h: New file.
32242 2011-01-27 Petr Baudis <pasky@suse.cz>
32243 Ulrich Drepper <drepper@gmail.com>
32246 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32247 to extend_alloca().
32248 * stdio-common/bug23.c: New file.
32249 * stdio-common/Makefile (tests): Add bug23.
32251 2010-09-28 Andreas Schwab <schwab@redhat.com>
32252 Ulrich Drepper <drepper@gmail.com>
32255 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32256 before performing relro protection. At old place add assertion
32257 to make sure nothing changed.
32259 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32260 Glauber de Oliveira Costa <glommer@gmail.com>
32262 * elf/elf.h: Add new ARM TLS relocs.
32264 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32267 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32269 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32271 * sysdeps/wordsize-64/tst-writev.c: New file.
32273 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32275 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32276 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32277 insns in _dl_start to prevent a TOC reference before relocs are
32280 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32283 * Makeconfig: Remove RANLIB definition.
32284 * Makerules: Don't use RANLIB.
32285 * aclocal.m4: Remove ranlib test.
32286 * configure.in: No need to check for ranlib.
32287 * elf/rtld-Rules: Don't use RANLIB.
32289 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32291 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32293 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32294 inclusion protection macro.
32296 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32297 SIGRTMIN and SIGRTMAX and print information in that case only when
32298 SIGRTMIN is defined.
32300 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32302 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32303 arginfo fn returning -1.
32305 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32306 and thousands string is zero terminated.
32308 2011-02-03 Andreas Schwab <schwab@redhat.com>
32310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32311 sysdeps/unix/sysv/linux/bits/socket.h.
32313 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32315 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32316 (__CPU_COUNT): Remove old macros.
32317 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32318 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32319 (__CPU_ALLOC, __CPU_FREE): Add macros.
32320 (__sched_cpualloc, __sched_cpufree): Add declarations.
32322 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32324 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32325 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32326 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32327 (readdhstai): Return value of addhstaiX call.
32328 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32329 (addgrbyX): Return value returned by cache_addgr.
32330 (readdgrbyname): Return value returned by addgrbyX.
32331 (readdgrbygid): Likewise.
32332 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32333 (addpwbyX): Return value returned by cache_addpw.
32334 (readdpwbyname): Return value returned by addhstbyX.
32335 (readdpwbyuid): Likewise.
32336 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32337 (addservbyX): Return value returned by cache_addserv.
32338 (readdservbyname): Return value returned by addservbyX:
32339 (readdservbyport): Likewise.
32340 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32341 (addhstbyX): Return value returned by cache_addhst.
32342 (readdhstbyname): Return value returned by addhstbyX.
32343 (readdhstbyaddr): Likewise.
32344 (readdhstbynamev6): Likewise.
32345 (readdhstbyaddrv6): Likewise.
32346 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32347 (readdinitgroups): Return value returned by addinitgroupsX.
32348 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32349 (prune_cache): Keep track of timeout value of re-added entries.
32350 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32351 * nscd/nscd.h: Adjust prototypes of readd* functions.
32353 2011-02-04 Roland McGrath <roland@redhat.com>
32355 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32356 (nis_stats): Likewise.
32357 * nis/nis_modify.c (nis_modify): Likewise.
32358 * nis/nis_remove.c (nis_remove): Likewise.
32359 * nis/nis_add.c (nis_add): Likewise.
32361 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32363 * posix/fnmatch_loop.c: Add some consts.
32365 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32367 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32370 * config.make.in (config-cflags-novzeroupper): Define.
32371 * configure.in: Substitute libc_cv_cc_novzeroupper.
32372 * elf/Makefile (AVX-CFLAGS): Define.
32373 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32374 (CFLAGS-tst-auditmod4a.c): Likewise.
32375 (CFLAGS-tst-auditmod4b.c): Likewise.
32376 (CFLAGS-tst-auditmod6b.c): Likewise.
32377 (CFLAGS-tst-auditmod6c.c): Likewise.
32378 (CFLAGS-tst-auditmod7b.c): Likewise.
32379 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32381 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32383 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32384 function to the callback.
32385 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32387 2011-02-02 Andreas Schwab <schwab@redhat.com>
32389 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32392 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32395 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32397 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32399 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32402 * elf/Makefile: Add rules to build and run new test.
32403 * elf/tst-initorder.c: New file.
32404 * elf/tst-initorder.exp: New file.
32405 * elf/tst-initordera1.c: New file.
32406 * elf/tst-initordera2.c: New file.
32407 * elf/tst-initordera3.c: New file.
32408 * elf/tst-initordera4.c: New file.
32409 * elf/tst-initorderb1.c: New file.
32410 * elf/tst-initorderb2.c: New file.
32411 * elf/tst-order-a1.c: New file.
32412 * elf/tst-order-a2.c: New file.
32413 * elf/tst-order-a3.c: New file.
32414 * elf/tst-order-a4.c: New file.
32415 * elf/tst-order-b1.c: New file.
32416 * elf/tst-order-b2.c: New file.
32417 * elf/tst-order-main.c: New file.
32418 New test case by George Gensure <werkt0@gmail.com>.
32420 2010-10-01 Andreas Schwab <schwab@redhat.com>
32422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32423 decoding ACE if AI_CANONIDN.
32425 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32427 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32429 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32431 * version.h (RELEASE): Bump for 2.13 release.
32432 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32434 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32436 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32438 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32439 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32440 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32441 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32442 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32443 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32445 * posix/getconf.c: Update copyright year.
32446 * catgets/gencat.c: Likewise.
32447 * csu/version.c: Likewise.
32448 * debug/catchsegv.sh: Likewise.
32449 * debug/xtrace.sh: Likewise.
32450 * elf/ldconfig.c: Likewise.
32451 * elf/ldd.bash.in: Likewise.
32452 * elf/sprof.c (print_version): Likewise.
32453 * iconv/iconv_prog.c: Likewise.
32454 * iconv/iconvconfig.c: Likewise.
32455 * locale/programs/locale.c: Likewise.
32456 * locale/programs/localedef.c: Likewise.
32457 * malloc/memusage.sh: Likewise.
32458 * malloc/mtrace.pl: Likewise.
32459 * nscd/nscd.c (print_version): Likewise.
32460 * nss/getent.c: Likewise.
32462 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32463 PF_CAIF, and PF_ALG.
32464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32466 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32468 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32469 (modules-names): Use them.
32470 (ifunc-test-modules, ifunc-pie-tests): Define.
32471 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32472 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32473 (test-extras): Likewise.
32474 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32475 $(compile-command.c).
32476 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32477 (all-built-dso): Define.
32478 (check-textrel.out, check-execstack.out): Depend on it.
32480 * configure.in: Don't override --enable-multi-arch.
32482 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32485 * nscd/hstcache.c (tryagain): Define.
32486 (cache_addhst): Return tryagain not notfound for temporary errors.
32487 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32490 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32493 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32494 to make the syscall.
32495 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32498 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32499 and fall back to matching as normal character if the string ends before
32500 the matching ']' is found. This is what POSIX requires.
32501 * posix/testfnm.c: Adjust test result.
32502 * posix/globtest.sh: Adjust test result. Add new test.
32503 * posix/tst-fnmatch.input: Likewise.
32504 * posix/tst-fnmatch2.c: Add new test.
32506 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32508 * elf/Makefile (check-execstack): Revert last change. Depend on
32510 (check-execstack.h): New target.
32511 (generated): Add check-execstack.h.
32512 * elf/check-execstack.c: Include "check-execstack.h".
32513 (main): Revert last change.
32514 (handle_file): Return zero if GNU_STACK is absent and
32515 DEFAULT_STACK_PERMS doesn't include PF_X.
32517 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32519 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32520 in child fails because the descriptor is already closed.
32521 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32522 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32523 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32526 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32530 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32531 temporary buffer used to handle multi lookups locally.
32532 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32534 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32536 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32539 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32541 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32542 alignment for SSE2.
32544 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32547 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32548 characters. When rounding increased number of integer digits recompute
32550 * stdio-common/tst-grouping.c: New file.
32551 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32553 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32555 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32556 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32558 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32560 * bits/select.h: Likewise.
32562 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32564 * po/ja.po: Update from translation team.
32566 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32569 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32570 implementation just like for lxstat, fxstatat, et al.
32572 2010-12-27 Jim Meyering <meyering@redhat.com>
32575 * posix/regexec.c (build_trtable): Return failure indication upon
32576 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32578 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32581 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32582 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32583 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32584 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32587 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32590 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32591 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32593 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32595 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32596 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32597 script has SORT_BY_INIT_PRIORITY.
32598 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32599 NO_CTORS_DTORS_SECTIONS is defined.
32600 * elf/soinit.c: Likewise.
32601 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32602 NO_CTORS_DTORS_SECTIONS is defined.
32603 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32604 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32605 * sysdeps/sh/init-first.c: Likewise.
32606 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32608 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32610 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32611 always use the slow path.
32613 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32615 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32616 similar rule which adds the sysdep directories to the header search in
32617 order to pick up the correct platform stackinfo.h.
32618 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32619 perform test if it is, otherwise return successfully without testing.
32620 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32621 DEFAULT_STACK_PERMS define in stackinfo.h.
32622 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32623 defined in stackinfo.h.
32624 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32625 DEFAULT_STACK_PERMS defined in stackinfo.h.
32626 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32627 * sysdeps/ia64/stackinfo.h: Likewise.
32628 * sysdeps/s390/stackinfo.h: Likewise.
32629 * sysdeps/sh/stackinfo.h: Likewise.
32630 * sysdeps/sparc/stackinfo.h: Likewise.
32631 * sysdeps/x86_64/stackinfo.h: Likewise.
32632 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32633 PF_X for powerpc64. Retain PF_X for powerpc32.
32635 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32637 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32639 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32640 GETDENTS_64BIT_ALIGNED.
32642 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32644 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32646 2010-12-10 Andreas Schwab <schwab@redhat.com>
32648 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32651 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32652 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32654 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32655 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32657 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32660 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32663 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32665 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32667 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32669 * po/it.po: Update from translation team.
32671 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32676 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32678 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32680 2010-11-24 Andreas Schwab <schwab@redhat.com>
32682 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32684 (gaih_getanswer_slice): Likewise.
32686 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32690 2010-05-31 Petr Baudis <pasky@suse.cz>
32693 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32694 silently even in the chroot mode.
32696 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32698 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32699 last patch a bit. Pretty printing
32701 2010-05-31 Petr Baudis <pasky@suse.cz>
32704 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32705 initialization of skip_initgroups_dyn.
32707 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32709 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32710 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32712 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32714 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32716 2010-11-11 Andreas Schwab <schwab@redhat.com>
32718 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32719 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32720 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32721 ($(objpfx)tst-fnmatch-mem): New rule.
32722 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32723 * posix/tst-fnmatch.c (main): Call mtrace.
32725 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32728 Support Intel processor model 6 and model 0x2c.
32730 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32732 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32735 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32738 * string/test-strncasecmp.c (check_result): New function.
32739 (do_one_test): Use it.
32740 (check1): New function.
32741 (test_main): Use it.
32742 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32743 Support strcasecmp and strncasecmp.
32745 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32748 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32749 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32751 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32753 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32757 * sysdeps/x86_64/multiarch/bzero.S: New file.
32758 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32759 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32760 * sysdeps/x86_64/multiarch/memset.S: New file.
32761 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32763 Set bit_Prefer_SSE_for_memop for Intel processors.
32764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32766 (index_Prefer_SSE_for_memop): Define.
32767 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32769 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32771 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32772 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32774 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32777 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32778 (__x86_64_raw_data_cache_size_half): Likewise.
32779 (__x86_64_raw_shared_cache_size): Likewise.
32780 (__x86_64_raw_shared_cache_size_half): Likewise.
32782 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32783 (__x86_64_raw_data_cache_size_half): Likewise.
32784 (__x86_64_raw_shared_cache_size): Likewise.
32785 (__x86_64_raw_shared_cache_size_half): Likewise.
32786 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32787 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32788 and __x86_64_raw_shared_cache_size_half. Round
32789 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32790 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32791 to multiple of 256 bytes.
32793 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32796 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32797 of inacessible symlinks. Verify result of symlink before returning it.
32798 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32799 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32801 2010-10-28 Erich Ritz <erichritz@gmail.com>
32803 * math/math.h (isinf): Fix typo in comment.
32805 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32807 * po/da.po: Update from translation team.
32809 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32811 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32812 is added to the list.
32814 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32815 Ulrich Drepper <drepper@gmail.com>
32817 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32818 the global list here. Move code to...
32819 (_dl_add_to_namespace_list): ...here. New function.
32820 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32821 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32822 * elf/dl-load.c (lose): Don't remove the element from the list.
32823 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32824 (_dl_map_object): Likewise.
32826 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32829 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32830 into all bytes of SSE register.
32831 Patch by Richard Li <richardpku@gmail.com>.
32833 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32836 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32839 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32841 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32842 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32844 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32849 2010-10-22 Andreas Schwab <schwab@redhat.com>
32851 * include/dlfcn.h (__RTLD_SECURE): Define.
32852 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32853 mode & __RTLD_SECURE instead.
32854 (open_path): Rename preloaded parameter to secure.
32855 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32856 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32857 * elf/dl-deps.c (openaux): Likewise.
32858 * elf/rtld.c (struct map_args): Remove is_preloaded.
32859 (map_doit): Don't use it.
32860 (dl_main): Likewise.
32861 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32862 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32864 2010-09-09 Andreas Schwab <schwab@redhat.com>
32866 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32867 (sysd-rules-targets): Remove duplicates.
32868 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32869 rtld-%.$o dependency.
32871 2010-10-18 Andreas Schwab <schwab@redhat.com>
32873 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32874 _dl_map_object do it.
32876 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32878 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32879 fast fma builtins, define the macros in the C99 standard.
32880 (FP_FAST_FMAF): Likewise.
32881 (FP_FAST_FMAL): Likewise.
32882 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32884 * bits/mathdef.h: Update copyright year.
32885 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32887 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32889 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32890 builtins, define the macros in the C99 standard.
32891 (FP_FAST_FMAF): Likewise.
32892 (FP_FAST_FMAL): Likewise.
32893 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32895 (FP_FAST_FMAF): Likewise.
32897 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32900 * math/libm-test.inc (fma_test): Some new testcases.
32901 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32902 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32903 y and infinite z. Do multiplication by C already in long double.
32904 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32906 y and infinite z. Do bitwise or of inexact bit into u.d.
32907 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32908 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32909 * sysdeps/i386/fpu/s_fma.S: Removed.
32910 * sysdeps/i386/fpu/s_fmal.S: Removed.
32912 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32915 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32917 computation is not scheduled after fetestexcept. Fix value
32918 of minimum denormal long double.
32920 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32923 * math/libm-test.inc (fma_test): Add some more tests.
32924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32927 2010-10-15 Andreas Schwab <schwab@redhat.com>
32929 * scripts/data/localplt-s390-linux-gnu.data: New file.
32930 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32932 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32935 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32936 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32938 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32940 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32942 if one of x and y is very large and the other is subnormal.
32943 * sysdeps/s390/fpu/s_fmaf.c: New file.
32944 * sysdeps/s390/fpu/s_fma.c: New file.
32945 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32946 * sysdeps/powerpc/fpu/s_fma.S: New file.
32947 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32948 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32949 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32951 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32954 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32957 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32958 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32959 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32960 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32961 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32962 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32964 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32967 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32968 * posix/bug-regex31.input: Add test case.
32970 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32972 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32973 * posix/bug-regex31.input: New file.
32976 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32977 (parse_sub_exp): Fix last change, use postorder.
32979 * posix/bug-regex31.c: New file.
32980 * posix/Makefile: Add rules to build and run bug-regex31.
32982 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32985 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32988 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32989 to have entries in sys_siglist.
32992 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32995 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32998 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32999 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33000 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33001 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33002 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33003 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33004 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33005 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33006 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33007 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33008 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33009 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33010 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33011 * math/ftestexcept.c (fetestexcept): Likewise.
33012 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33013 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33014 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33015 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33016 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33017 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33018 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33020 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33023 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33026 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33028 * string/bug-strstr1.c: New file.
33029 * string/Makefile: Add rules to build and run bug-strstr1.
33031 2010-10-05 Eric Blake <eblake@redhat.com>
33034 * string/str-two-way.h (two_way_long_needle): Always clear memory
33035 when skipping input due to the shift table.
33037 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33040 * malloc/mcheck.c: Handle large requests.
33043 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33044 for strncmp and strncasecmp.
33045 * string/stratcliff.c: Add tests for strcmp and strncmp.
33046 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33048 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33050 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33053 2010-09-30 Andreas Jaeger <aj@suse.de>
33055 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33056 (CGROUP_SUPER_MAGIC): Define.
33057 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33058 Handle btrfs and cgroup file systems.
33059 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33062 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33064 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33065 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33067 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33070 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33071 trying to locate the ELF header.
33073 2010-09-27 Andreas Schwab <schwab@redhat.com>
33076 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33077 Mask out sign-bit copies when constructing f_fsid.
33079 2010-09-24 Petr Baudis <pasky@suse.cz>
33081 * debug/stack_chk_fail_local.c: Add missing licence exception.
33082 * debug/warning-nop.c: Likewise.
33084 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33086 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33087 implementing getdents64 using getdents syscall, set d_type if
33088 __ASSUME_GETDENTS32_D_TYPE.
33090 2010-09-16 Andreas Schwab <schwab@redhat.com>
33092 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33093 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33095 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33098 * posix/unistd.h: Undo change of feature selection for ftruncate from
33101 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33103 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33106 2010-09-20 Andreas Schwab <schwab@redhat.com>
33108 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33110 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33112 2010-09-14 Andreas Schwab <schwab@redhat.com>
33114 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33115 variables after CHECK_SP call.
33116 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33118 2010-09-13 Andreas Schwab <schwab@redhat.com>
33119 Ulrich Drepper <drepper@redhat.com>
33121 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33122 re-relocationg ld.so.
33123 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33124 _dl_init_paths call.
33125 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33128 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33130 * resolv/res_init.c (__res_vinit): Count the default server we added.
33132 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33133 Ulrich Drepper <drepper@redhat.com>
33136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33137 (____longjmp_chk): Use %ebx for saving value across system call.
33140 2010-09-06 Andreas Schwab <schwab@redhat.com>
33142 * manual/Makefile: Don't mix pattern rules with normal rules.
33144 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33146 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33148 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33149 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33150 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33151 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33155 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33158 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33159 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33161 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33163 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33164 * sysdeps/x86_64/addmul_1.S: Likewise.
33165 * sysdeps/x86_64/lshift.S: Likewise.
33166 * sysdeps/x86_64/mul_1.S: Likewise.
33167 * sysdeps/x86_64/rshift.S: Likewise.
33168 * sysdeps/x86_64/sub_n.S: Likewise.
33169 * sysdeps/x86_64/submul_1.S: Likewise.
33171 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33173 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33174 Define __sched_param instead of SCHED_* and sched_param when
33175 <bits/sched.h> is included with __need_schedparam defined.
33176 * bits/sched.h [__need_schedparam]
33177 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33178 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33179 (__defined_schedparam): Define to 1.
33180 (__sched_param): New structure, identical to sched_param.
33181 (__need_schedparam): Undefine.
33183 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33185 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33186 (epoll_create1): Declare.
33188 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33190 2010-08-31 Andreas Schwab <schwab@redhat.com>
33193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33194 shifting retval into place.
33196 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33198 * nis/rpcsvc/nis.h: Update copyright notice.
33199 * nis/rpcsvc/nis.x: Likewise.
33200 * nis/rpcsvc/nis_callback.h: Likewise.
33201 * nis/rpcsvc/nis_callback.x: Likewise.
33202 * nis/rpcsvc/nis_object.x: Likewise.
33203 * nis/rpcsvc/nis_tags.h: Likewise.
33204 * nis/rpcsvc/yp.h: Likewise.
33205 * nis/rpcsvc/yp.x: Likewise.
33206 * nis/rpcsvc/ypupd.h: Likewise.
33207 * nis/yp_xdr.c: Likewise.
33208 * nis/ypupdate_xdr.c: Likewise.
33210 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33211 mainly the body of pmap_getport. Add parameters to specify timeouts.
33212 (pmap_getport): Use __libc_rpc_getport.
33213 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33214 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33215 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33217 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33222 2010-08-27 Roland McGrath <roland@redhat.com>
33224 * sysdeps/i386/i686/multiarch/Makefile
33225 (CFLAGS-varshift.c): New variable.
33227 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33229 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33230 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33234 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33236 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33238 * sysdeps/x86_64/strlen.S: Unroll the loop.
33239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33240 strlen-sse2 strlen-sse2-bsf.
33241 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33242 __strlen_no_bsf if bit_Slow_BSF is set.
33243 (__strlen_sse42): Removed.
33244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33245 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33247 2010-08-25 Roland McGrath <roland@redhat.com>
33249 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33250 * sysdeps/x86_64/multiarch/varshift.c: New file.
33251 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33252 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33253 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33254 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33256 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33259 strlen-sse2 strlen-sse2-bsf.
33260 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33261 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33262 (__strlen_sse2): Removed.
33263 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33264 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33266 bit_Slow_BSF for Atom.
33267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33268 (index_Slow_BSF): Define.
33269 (HAS_SLOW_BSF): Define.
33271 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33274 * resolv/res_init.c (__res_vinit): When no server address at all
33275 is given default to loopback.
33277 2010-08-24 Roland McGrath <roland@redhat.com>
33279 * configure.in: Remove config-name.h generation.
33280 * configure: Regenerated.
33281 * config-name.in: File removed.
33282 * scripts/config-uname.sh: New file.
33283 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33284 ($(objdir)config-name.h): New target.
33286 * sunrpc/rpc_parse.h: Avoid nested comment.
33288 2010-08-24 Richard Henderson <rth@redhat.com>
33289 Ulrich Drepper <drepper@redhat.com>
33290 H.J. Lu <hongjiu.lu@intel.com>
33292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33294 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33295 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33296 _mm_alignr_epi8 with _mm_loadu_si128.
33297 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33298 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33299 (__m128i_shift_right): Removed.
33300 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33301 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33302 * sysdeps/x86_64/multiarch/varshift.h: New file.
33303 * sysdeps/x86_64/multiarch/varshift.S: New file.
33305 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33307 * configure.in: Move assembler checks to before sysdep dir checking.
33309 2010-08-20 Petr Baudis <pasky@suse.cz>
33311 * LICENSES: Sync the sunrpc license.
33313 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33315 * sunrpc/auth_des.c: Update copyright notice once again.
33316 * sunrpc/auth_none.c: Likewise.
33317 * sunrpc/auth_unix.c: Likewise.
33318 * sunrpc/authdes_prot.c: Likewise.
33319 * sunrpc/authuxprot.c: Likewise.
33320 * sunrpc/bindrsvprt.c: Likewise.
33321 * sunrpc/clnt_gen.c: Likewise.
33322 * sunrpc/clnt_perr.c: Likewise.
33323 * sunrpc/clnt_raw.c: Likewise.
33324 * sunrpc/clnt_simp.c: Likewise.
33325 * sunrpc/clnt_tcp.c: Likewise.
33326 * sunrpc/clnt_udp.c: Likewise.
33327 * sunrpc/clnt_unix.c: Likewise.
33328 * sunrpc/des_crypt.c: Likewise.
33329 * sunrpc/des_soft.c: Likewise.
33330 * sunrpc/get_myaddr.c: Likewise.
33331 * sunrpc/getrpcport.c: Likewise.
33332 * sunrpc/key_call.c: Likewise.
33333 * sunrpc/key_prot.c: Likewise.
33334 * sunrpc/openchild.c: Likewise.
33335 * sunrpc/pm_getmaps.c: Likewise.
33336 * sunrpc/pm_getport.c: Likewise.
33337 * sunrpc/pmap_clnt.c: Likewise.
33338 * sunrpc/pmap_prot.c: Likewise.
33339 * sunrpc/pmap_prot2.c: Likewise.
33340 * sunrpc/pmap_rmt.c: Likewise.
33341 * sunrpc/rpc/auth.h: Likewise.
33342 * sunrpc/rpc/auth_unix.h: Likewise.
33343 * sunrpc/rpc/clnt.h: Likewise.
33344 * sunrpc/rpc/des_crypt.h: Likewise.
33345 * sunrpc/rpc/key_prot.h: Likewise.
33346 * sunrpc/rpc/netdb.h: Likewise.
33347 * sunrpc/rpc/pmap_clnt.h: Likewise.
33348 * sunrpc/rpc/pmap_prot.h: Likewise.
33349 * sunrpc/rpc/pmap_rmt.h: Likewise.
33350 * sunrpc/rpc/rpc.h: Likewise.
33351 * sunrpc/rpc/rpc_des.h: Likewise.
33352 * sunrpc/rpc/rpc_msg.h: Likewise.
33353 * sunrpc/rpc/svc.h: Likewise.
33354 * sunrpc/rpc/svc_auth.h: Likewise.
33355 * sunrpc/rpc/types.h: Likewise.
33356 * sunrpc/rpc/xdr.h: Likewise.
33357 * sunrpc/rpc_clntout.c: Likewise.
33358 * sunrpc/rpc_cmsg.c: Likewise.
33359 * sunrpc/rpc_common.c: Likewise.
33360 * sunrpc/rpc_cout.c: Likewise.
33361 * sunrpc/rpc_dtable.c: Likewise.
33362 * sunrpc/rpc_hout.c: Likewise.
33363 * sunrpc/rpc_main.c: Likewise.
33364 * sunrpc/rpc_parse.c: Likewise.
33365 * sunrpc/rpc_parse.h: Likewise.
33366 * sunrpc/rpc_prot.c: Likewise.
33367 * sunrpc/rpc_sample.c: Likewise.
33368 * sunrpc/rpc_scan.c: Likewise.
33369 * sunrpc/rpc_scan.h: Likewise.
33370 * sunrpc/rpc_svcout.c: Likewise.
33371 * sunrpc/rpc_tblout.c: Likewise.
33372 * sunrpc/rpc_util.c: Likewise.
33373 * sunrpc/rpc_util.h: Likewise.
33374 * sunrpc/rpcinfo.c: Likewise.
33375 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33376 * sunrpc/rpcsvc/key_prot.x: Likewise.
33377 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33378 * sunrpc/rpcsvc/mount.x: Likewise.
33379 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33380 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33381 * sunrpc/rpcsvc/rex.x: Likewise.
33382 * sunrpc/rpcsvc/rstat.x: Likewise.
33383 * sunrpc/rpcsvc/rusers.x: Likewise.
33384 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33385 * sunrpc/rpcsvc/spray.x: Likewise.
33386 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33387 * sunrpc/rtime.c: Likewise.
33388 * sunrpc/svc.c: Likewise.
33389 * sunrpc/svc_auth.c: Likewise.
33390 * sunrpc/svc_authux.c: Likewise.
33391 * sunrpc/svc_raw.c: Likewise.
33392 * sunrpc/svc_run.c: Likewise.
33393 * sunrpc/svc_simple.c: Likewise.
33394 * sunrpc/svc_tcp.c: Likewise.
33395 * sunrpc/svc_udp.c: Likewise.
33396 * sunrpc/svc_unix.c: Likewise.
33397 * sunrpc/svcauth_des.c: Likewise.
33398 * sunrpc/xcrypt.c: Likewise.
33399 * sunrpc/xdr.c: Likewise.
33400 * sunrpc/xdr_array.c: Likewise.
33401 * sunrpc/xdr_float.c: Likewise.
33402 * sunrpc/xdr_mem.c: Likewise.
33403 * sunrpc/xdr_rec.c: Likewise.
33404 * sunrpc/xdr_ref.c: Likewise.
33405 * sunrpc/xdr_sizeof.c: Likewise.
33406 * sunrpc/xdr_stdio.c: Likewise.
33408 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33411 2010-08-19 Andreas Schwab <schwab@redhat.com>
33413 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33415 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33417 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33418 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33419 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33420 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33421 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33422 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33423 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33424 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33425 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33426 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33427 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33428 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33429 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33430 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33432 2010-07-26 Anton Blanchard <anton@samba.org>
33434 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33435 * malloc/arena.c (heap_trim): Likewise.
33437 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33439 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33442 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33444 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33446 * sysdeps/i386/elf/Makefile: New file.
33448 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33450 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33451 from fanotify_init.
33452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33455 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33457 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33459 * sysdeps/multiarch/strcmp.S: Likewise.
33461 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33463 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33464 strncase_l-nonascii.
33465 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33466 Add strncase_l-ssse3.
33467 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33468 * sysdeps/x86_64/strcmp.S: Likewise.
33469 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33470 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33471 * sysdeps/x86_64/strncase.S: New file.
33472 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33473 * sysdeps/x86_64/strncase_l.S: New file.
33474 * string/Makefile (strop-tests): Add strncasecmp.
33475 * string/test-strncasecmp.c: New file.
33477 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33480 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33481 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33483 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33485 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33487 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33489 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33490 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33491 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33493 2010-05-01 Alan Modra <amodra@gmail.com>
33495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33496 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33497 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33498 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33499 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33500 tidying. Don't tail-call __sigjmp_save for static lib.
33501 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33503 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33504 (CALL_MCOUNT): Add eh info, and nop after bl.
33505 (TAIL_CALL_SYSCALL_ERROR): New macro.
33506 (PSEUDO_RET): Use it.
33507 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33508 Correct save location of integer regs and cr.
33509 (_dl_profile_resolve): Correct cr save location. Delete nops
33510 after bl when SHARED. Reduce cfi size a little by better
33511 placement of cfi directives.
33512 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33513 make a stack frame. Instead use parm save area as a temp.
33514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33515 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33517 Don't make a stack frame for parent, use parm save area.
33518 Increase child stack frame to 112 bytes. Don't save unused reg,
33519 and adjust reg usage. Set up cfi on error recovery and
33520 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33522 (__makecontext): Add dummy nop after jump to exit.
33523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33524 Use correct parm save area and cr save, reduce stack frame.
33525 Correct cfi for possible PSEUDO_RET frame setup.
33526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33527 Branch to local label emitted by PSEUDO_RET rather than
33530 2010-08-12 Andreas Schwab <schwab@redhat.com>
33533 * locale/programs/locale.c (print_assignment): New function.
33534 (show_locale_vars): Use it.
33536 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33538 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33540 (struct statfs64): Likewise.
33541 (_STATFS_F_FLAGS): Define.
33542 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33544 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33545 (ST_VALID): Define locally.
33546 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33547 __statvfs_getflags, use the provided value.
33548 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33549 __ASSUME_STATFS_F_FLAGS.
33551 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33553 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33554 Add sys/fanotify.h.
33555 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33556 fanotify_mask for GLIBC_2.13.
33557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33558 fanotify_init and fanotify_mark.
33559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33560 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33562 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33564 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33565 prlimit64 for GLIBC_2.13.
33566 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33571 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33572 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33573 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33574 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33576 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33579 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33580 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33582 * nss/Makefile: Add rules to build and run tst-nss-test1.
33583 * shlib-versions: Add entry for libnss_test1.
33584 * nss/nss_test1.c: New file.
33585 * nss/tst-nss-test1.c: New file.
33587 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33588 (__nss_configure_lookup): Set appropriate entry in
33589 __nss_configure_lookup to true.
33590 * nss/nsswitch.h: Define enum with indeces of databases in
33591 databases and __nss_database_custom arrays. Declare
33592 __nss_database_custom.
33593 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33594 to avoid using nscd when custom rules are installed.
33595 * nss/getXXbyYY_r.c: Likewise.
33596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33598 * nss/nss_files/files-parse.c: Whitespace fixes.
33600 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33603 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33604 * posix/fnmatch_loop.c: Likewise.
33606 2010-07-17 Andi Kleen <ak@linux.intel.com>
33608 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33609 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33610 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33611 * Versions.def [GLIBC_2.13]: Add.
33613 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33616 Also fail if tpwd after pwuid call is NULL.
33618 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33620 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33621 when converting to ms.
33623 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33625 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33626 EOPNOTSUPP errors with ENOTTY.
33627 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33628 EOPNOTSUPP errors with ENOTTY.
33630 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33632 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33633 Add strcasecmp_l-ssse3.
33634 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33636 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33637 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33638 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33640 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33642 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33644 * string/Makefile (strop-tests): Add strcasecmp.
33645 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33646 strcasecmp_l-nonascii.
33647 (gen-as-const-headers): Add locale-defines.sym.
33648 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33649 * sysdeps/x86_64/strcasecmp.S: New file.
33650 * sysdeps/x86_64/strcasecmp_l.S: New file.
33651 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33652 * sysdeps/x86_64/locale-defines.sym: New file.
33653 * string/test-strcasecmp.c: New file.
33655 * string/test-strcasestr.c: Test both ends of the range of characters.
33656 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33658 2010-07-29 Roland McGrath <roland@redhat.com>
33661 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33663 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33665 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33668 2010-07-27 Andreas Schwab <schwab@redhat.com>
33670 * manual/memory.texi (Malloc Tunable Parameters): Document
33673 2010-07-26 Roland McGrath <roland@redhat.com>
33676 * configure.in (-fgnu89-inline check): Set and substitute
33677 gnu89_inline, not libc_cv_gnu89_inline.
33678 * configure: Regenerated.
33679 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33681 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33683 * string/test-strnlen.c: New file.
33684 * string/Makefile (strop-tests): Add strnlen.
33685 * string/tester.c (test_strnlen): Add a few more test cases.
33686 * string/tst-strlen.c: Better error reporting.
33688 * sysdeps/x86_64/strnlen.S: New file.
33690 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33692 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33693 lower-latency instructions.
33695 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33697 * string/test-strcasestr.c: New file.
33698 * string/test-strstr.c: New file.
33699 * string/Makefile (strop-tests): Add strstr and strcasestr.
33700 * string/str-two-way.h: Don't undefine MAX.
33701 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33703 2010-07-21 Andreas Schwab <schwab@redhat.com>
33705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33706 strcasestr-nonascii.
33707 (CFLAGS-strcasestr-nonascii.c): Define.
33708 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33709 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33710 Remove unused attribute.
33712 2010-07-20 Roland McGrath <roland@redhat.com>
33714 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33715 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33716 ld.so.cache was broken. With it, there is no way to disable dsocaps
33717 like LD_HWCAP_MASK can disable hwcaps.
33719 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33721 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33723 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33725 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33726 call in strcasestr.
33727 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33728 __strcasestr_sse42_nonascii.
33729 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33730 strcasestr-nonascii.c.
33731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33733 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33735 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33736 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33737 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33738 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33740 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33742 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33745 2010-07-06 Andreas Schwab <schwab@redhat.com>
33748 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33751 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33754 _PC_PIPE_BUF using F_GETPIPE_SZ.
33756 2010-07-05 Roland McGrath <roland@redhat.com>
33758 * manual/arith.texi (Rounding Functions): Fix rint description
33759 implicit in round description.
33761 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33763 * elf/Makefile: Fix linking for a few tests to make recent linker
33766 2010-06-30 Andreas Schwab <schwab@redhat.com>
33768 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33769 $(common-objpfx)libc_nonshared.a.
33771 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33773 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33774 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33775 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33776 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33777 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33778 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33779 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33780 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33795 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33796 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33797 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33798 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33799 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33800 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33801 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33802 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33803 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33804 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33805 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33806 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33822 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33824 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33825 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33826 * string/memmove.c (memmove): Renamed to ...
33827 (MEMMOVE): ...this. Default to memmove.
33828 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33829 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33832 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33833 mempcpy-ssse3-back memmove-ssse3-back.
33834 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33835 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33836 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33837 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33838 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33839 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33840 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33841 * sysdeps/x86_64/multiarch/memmove.c: New file.
33842 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33843 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33844 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33845 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33846 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33847 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33849 (index_Fast_Copy_Backward): Define.
33850 (HAS_ARCH_FEATURE): Define.
33851 (HAS_FAST_REP_STRING): Define.
33852 (HAS_FAST_COPY_BACKWARD): Define.
33854 2010-06-21 Andreas Schwab <schwab@redhat.com>
33856 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33857 Restore proper fallback handling.
33859 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33862 * posix/group_member.c (__group_member): Correct checking loop.
33864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33865 OOM in getpwuid_r correctly. Return error number when the caller
33866 should return, otherwise -1.
33867 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33868 call returning > 0 value.
33869 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33871 2010-06-07 Andreas Schwab <schwab@redhat.com>
33873 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33874 libc_nonshared.a from targets in modules-names.
33876 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33878 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33881 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33883 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33884 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33885 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33888 2010-06-02 Andreas Schwab <schwab@redhat.com>
33890 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33892 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33897 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33898 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33900 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33903 2010-06-14 Roland McGrath <roland@redhat.com>
33905 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33907 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33909 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33910 __REDIRECT followed by __THROW.
33911 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33912 * posix/getopt.h (getopt): Likewise.
33914 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33916 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33917 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33918 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33920 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33921 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33923 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33927 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33931 Properly check family and model.
33933 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33935 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33937 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33939 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33941 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33943 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33946 2010-05-19 Andreas Schwab <schwab@redhat.com>
33948 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33951 2010-05-21 Andreas Schwab <schwab@redhat.com>
33953 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33954 and internal_recvmmsg.
33955 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33956 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33957 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33958 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33960 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33961 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33962 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33964 2010-05-20 Andreas Schwab <schwab@redhat.com>
33966 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33968 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33970 POWER7 optimizations.
33971 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33972 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33974 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33976 * version.h: Update for 2.13 development version.
33978 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33980 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33981 exceptions. Return 0.
33983 2010-05-07 Roland McGrath <roland@redhat.com>
33985 * elf/ldconfig.c (main): Add a const.
33987 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33989 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33990 (args_options): Add no-idn option.
33991 (ahosts_keys_int): Add idn_flags to ai_flags.
33992 (parse_option): Handle 'i' option to clear idn_flags.
33994 * malloc/malloc.c (_int_free): Possible race in the most recently
33995 added check. Only act on the data if no current modification
33998 See ChangeLog.17 for earlier changes.