1 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27 * soft-fp/floattidf.c (__floattidf): Likewise.
28 * soft-fp/floattisf.c (__floattisf): Likewise.
29 * soft-fp/floattitf.c (__floattitf): Likewise.
30 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
33 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
35 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37 * soft-fp/gesf2.c (__gesf2): Likewise.
38 * soft-fp/getf2.c (__getf2): Likewise.
39 * soft-fp/ledf2.c (__ledf2): Likewise.
40 * soft-fp/lesf2.c (__lesf2): Likewise.
41 * soft-fp/letf2.c (__letf2): Likewise.
43 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44 Undefine and redefine.
45 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
57 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
59 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
63 without decrementing exponent if mantissa >= that for the
65 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
66 denominator, not >. Decrement exponent in < case instead of
67 incrementing in >= case.
68 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
69 without decrementing exponent if mantissa >= that for the
72 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
73 computing saturated result for unsigned overflow.
75 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
76 Jeff Law <law@redhat.com>
78 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
79 (atan2Mp): Add systemtap probe marker.
80 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
81 (__ieee754_log): Add systemtap probe marker.
82 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
83 (atanMp): Add systemtap probe marker.
84 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
85 (tanMp): Add systemtap probe marker.
86 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
87 (__slowexp): Add systemtap probe marker.
88 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
89 (__slowpow): Add systemtap probe marker.
90 * manual/probes.texi: Document probes.
92 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
95 * libio/fileops.c (_IO_new_file_write): Return count of bytes
97 (_IO_new_file_xsputn): Don't return EOF if nothing has been
99 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
100 written to buffer but not flushed.
101 * libio/iofwrite_u.c: Likewise.
102 * libio/iopadn.c: Return bytes returned even if EOF was
104 * libio/iowpadn.c: Likewise.
105 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
106 if _IO_padn does not write the whole buffer.
107 [!COMPILE_WPRINTF] (PAD): Likewise.
109 2013-10-10 David S. Miller <davem@davemloft.net>
111 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
114 2013-10-10 Joseph Myers <joseph@codesourcery.com>
116 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
117 instead of FSF address.
118 * soft-fp/fixdfti.c: Likewise.
119 * soft-fp/fixsfti.c: Likewise.
120 * soft-fp/fixtfti.c: Likewise.
121 * soft-fp/fixunsdfti.c: Likewise.
122 * soft-fp/fixunssfti.c: Likewise.
123 * soft-fp/fixunstfti.c: Likewise.
124 * soft-fp/floattidf.c: Likewise.
125 * soft-fp/floattisf.c: Likewise.
126 * soft-fp/floattitf.c: Likewise.
127 * soft-fp/floatuntidf.c: Likewise.
128 * soft-fp/floatuntisf.c: Likewise.
129 * soft-fp/floatuntitf.c: Likewise.
130 * soft-fp/trunctfxf2.c: Likewise.
132 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
133 * soft-fp/fixdfti.c: Likewise.
134 * soft-fp/fixsfti.c: Likewise.
135 * soft-fp/fixtfti.c: Likewise.
136 * soft-fp/fixunsdfti.c: Likewise.
137 * soft-fp/fixunssfti.c: Likewise.
138 * soft-fp/fixunstfti.c: Likewise.
139 * soft-fp/floattidf.c: Likewise.
140 * soft-fp/floattisf.c: Likewise.
141 * soft-fp/floattitf.c: Likewise.
142 * soft-fp/floatuntidf.c: Likewise.
143 * soft-fp/floatuntisf.c: Likewise.
144 * soft-fp/floatuntitf.c: Likewise.
145 * soft-fp/trunctfxf2.c: Likewise.
147 2013-10-10 David S. Miller <davem@davemloft.net>
149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
151 2013-10-10 Joseph Myers <joseph@codsourcery.com>
153 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
154 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
155 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
156 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
157 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
158 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
159 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
162 for NaNs before doing comparisons on argument.
163 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
166 2013-10-10 Will Newton <will.newton@linaro.org>
168 * malloc/hooks.c (memalign_check): Ensure the value of bytes
169 passed to _int_memalign does not overflow.
171 2013-10-10 Torvald Riegel <triegel@redhat.com>
173 * scripts/bench.pl: Add include-sources directive.
174 * benchtests/README: Update documentation.
176 2013-10-10 Joseph Myers <joseph@codesourcery.com>
178 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
179 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
180 instead of FP_INIT_ROUNDMODE.
181 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
182 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
185 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
186 copy class of input value.
187 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
188 not handle exceptions.
189 * soft-fp/negsf2.c (__negsf2): Likewise.
190 * soft-fp/negtf2.c (__negtf2): Likewise.
191 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
193 2013-10-09 Joseph Myers <joseph@codesourcery.com>
195 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
196 semicolon. From Linux kernel.
198 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
200 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
202 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
205 * manual/socket.texi: Added statement about buffer
206 for gethostbyname2_r.
208 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
210 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
211 Use .p2align directive instead, throughout.
212 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
213 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
214 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
216 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
217 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
218 * sysdeps/x86_64/strchr.S: Likewise.
219 * sysdeps/x86_64/strrchr.S: Likewise.
221 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
223 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
225 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
227 * sysdeps/generic/math_private.h (__mpsin1): Remove
229 (__mpcos1): Likewise.
230 (__mpsin): New argument __range_reduce.
232 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
233 (slow): Use __mpsin and __mpcos.
246 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
247 range_reduce. Merge in __mpsin1.
250 (__mpcos1): Likewise.
252 2013-10-07 Joseph Myers <joseph@codesourcery.com>
254 * locale/loadlocale.c (_nl_intern_locale_data): Use
256 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
257 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
258 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
259 obstack data is appropriately aligned.
260 (obstack_int32_grow_fast): Likewise.
261 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
262 * locale/programs/locfile.c (add_locale_uint32): Likewise.
263 (add_locale_uint32_array): Likewise.
265 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
267 * benchtests/Makefile: Remove ARGLIST and RET variables.
268 ($(objpfx)bench-%.c): Pass only function name to the script.
269 * benchtests/README: Update documentation.
270 * benchtests/acos-inputs: Add new directives.
271 * benchtests/acosh-inputs: Likewise.
272 * benchtests/asin-inputs: Likewise.
273 * benchtests/asinh-inputs: Likewise.
274 * benchtests/atan-inputs: Likewise.
275 * benchtests/atanh-inputs: Likewise.
276 * benchtests/cos-inputs: Likewise.
277 * benchtests/cosh-inputs: Likewise.
278 * benchtests/exp-inputs: Likewise.
279 * benchtests/log-inputs: Likewise.
280 * benchtests/pow-inputs: Likewise.
281 * benchtests/rint-inputs: Likewise.
282 * benchtests/sin-inputs: Likewise.
283 * benchtests/sinh-inputs: Likewise.
284 * benchtests/tan-inputs: Likewise.
285 * benchtests/tanh-inputs: Likewise.
286 * scripts/bench.pl: Add support for new directives.
288 2013-10-07 Alan Modra <amodra@gmail.com>
290 * README: Fix careless merge.
292 2013-10-05 Alan Modra <amodra@gmail.com>
294 * NEWS: Mention powerpc64le support and bugs fixed.
295 * README: Both big-endian and little-endian powerpc64 supported.
297 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
299 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
300 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
301 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
302 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
304 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
306 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
309 2013-10-04 Joseph Myers <joseph@codesourcery.com>
311 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
312 Move -mhard-float appending from
313 ports/sysdeps/powerpc/powerpc32/Makefile.
314 [$(with-fp) = yes] (ASFLAGS): Likewise.
315 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
316 * sysdeps/powerpc/nofpu: Move directory from
317 ports/sysdeps/powerpc/nofpu.
318 * sysdeps/powerpc/soft-fp: Move directory from
319 ports/sysdeps/powerpc/soft-fp.
320 * sysdeps/powerpc/powerpc32/405: Move directory from
321 ports/sysdeps/powerpc/powerpc32/405.
322 * sysdeps/powerpc/powerpc32/440: Move directory from
323 ports/sysdeps/powerpc/powerpc32/440.
324 * sysdeps/powerpc/powerpc32/464: Move directory from
325 ports/sysdeps/powerpc/powerpc32/464.
326 * sysdeps/powerpc/powerpc32/476: Move directory from
327 ports/sysdeps/powerpc/powerpc32/476.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
329 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
331 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
333 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
335 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
337 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
338 * README: Update for powerpc-*-linux-gnu software floating point
341 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
342 case to powerpc/powerpc32*.
343 * sysdeps/unix/sysv/linux/configure: Regenerated.
345 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
346 (_FPU_MASK_OM): Define as 0x04.
347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
355 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
358 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
361 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
364 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
366 * locale/iso-3166.def: Update iso-1366.def and related occurrences
368 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
370 * manual/threads.texi (Default Thread Attributes): Fix typo.
372 2013-10-04 Will Newton <will.newton@linaro.org>
374 * malloc/Makefile: Add tst-memalign.
375 * malloc/tst-memalign.c: New file.
377 * malloc/tst-posix_memalign.c: Add comments.
378 (do_test): Add comments and call free on all potentially
379 allocated pointers. Add space after cast.
381 * malloc/tst-pvalloc.c: Add comments.
382 (do_test): Add comments and call free on all potentially
383 allocated pointers. Remove duplicate check for NULL pointer.
384 Add space after cast.
386 * malloc/tst-valloc.c: Add comments.
387 (do_test): Add comments and call free on all potentially
388 allocated pointers. Remove duplicate check for NULL pointer.
389 Add space after cast.
391 2013-10-04 Alan Modra <amodra@gmail.com>
393 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
394 Use stdint types in rather than __attribute__((mode())).
395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
397 2013-10-04 Alan Modra <amodra@gmail.com>
399 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
400 Correct handling of unaligned relocs for little-endian.
401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
403 2013-10-04 Alan Modra <amodra@gmail.com>
405 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
406 * configure: Regenerate.
407 * nptl/shlib-versions: Powerpc*le starts at 2.18.
408 * shlib-versions: Likewise.
410 2013-10-04 Alan Modra <amodra@gmail.com>
412 * string/tester.c (test_memrchr): Increment reported test cycle.
414 2013-10-04 Alan Modra <amodra@gmail.com>
416 * string/test-memcpy.c (do_one_test): When reporting errors, print
417 string address and don't overrun end of string.
419 2013-10-04 Alan Modra <amodra@gmail.com>
421 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
422 insrdi. Make better use of reg selection to speed exit slightly.
423 Schedule entry path a little better. Remove useless "are we done"
424 checks on entry to main loop. Handle wrapping around zero address.
425 Correct main loop count. Handle single left-over word from main
426 loop inline rather than by using loop_small. Remove extra word
427 case in loop_small caused by wrong loop count. Add little-endian
429 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
432 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
433 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
434 support. Avoid rlwimi.
435 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
437 2013-10-04 Alan Modra <amodra@gmail.com>
439 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
441 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
442 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
443 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
444 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
445 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
446 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
448 2013-10-04 Alan Modra <amodra@gmail.com>
450 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
451 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
452 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
453 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
454 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
455 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
456 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
457 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
458 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
459 use of regs. Use power7 mtocrf. Tidy function tails.
461 2013-10-04 Alan Modra <amodra@gmail.com>
463 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
464 Formatting. Consistently use rXXX register defines or rN defines.
465 Use early exit labels that avoid restoring unused non-volatile regs.
466 Make cr field use more consistent with rWORDn compares. Rename
467 regs used as shift registers for unaligned loop, using rN defines
468 for short lifetime/multiple use regs.
469 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
470 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
471 addi 1,1,64 to pop stack frame. Simplify return value code.
472 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
474 2013-10-04 Alan Modra <amodra@gmail.com>
476 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
477 support. Correct typos, formatting. Optimize tail. Use insrdi
479 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
480 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
481 little-endian support. Correct typos.
482 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
484 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
485 in loop and entry code to keep "and." results.
486 (strchr): Add little-endian support. Comment. Move cntlzd
488 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
490 2013-10-04 Alan Modra <amodra@gmail.com>
492 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
493 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
494 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
495 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
497 2013-10-04 Alan Modra <amodra@gmail.com>
499 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
500 (rTMP): Define as r11.
501 (strcmp): Add little-endian support. Optimise tail.
502 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
504 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
505 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
506 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
508 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
510 2013-10-04 Alan Modra <amodra@gmail.com>
512 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
513 little-endian support. Remove unnecessary "are we done" tests.
514 Handle "s" wrapping around zero and extremely large "size".
515 Correct main loop count. Handle single left-over word from main
516 loop inline rather than by using small_loop. Correct comments.
517 Delete "zero" tail, use "end_max" instead.
518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
520 2013-10-04 Alan Modra <amodra@gmail.com>
522 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
523 support. Don't branch over align.
524 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
525 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
526 support. Rearrange tmp reg use to suit. Comment.
527 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
529 2013-10-04 Alan Modra <amodra@gmail.com>
531 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
533 2013-10-04 Alan Modra <amodra@gmail.com>
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
536 conditional form of branch and link when obtaining pc.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
539 2013-10-04 Alan Modra <amodra@gmail.com>
541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
546 2013-10-04 Alan Modra <amodra@gmail.com>
548 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
549 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
550 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
551 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
552 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
553 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
554 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
555 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
556 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
557 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
559 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
560 Alistair Popple <alistair@ozlabs.au.ibm.com>
561 Alan Modra <amodra@gmail.com>
564 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
565 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
566 _dl_hwcap access for little-endian.
567 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
568 destroy vmx regs when saving unaligned.
569 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
570 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
571 destroy vmx regs when saving unaligned.
573 2013-10-04 Alan Modra <amodra@gmail.com>
575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
576 Don't use a union to pack hi/low value.
578 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
580 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
582 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
583 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
584 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
585 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
586 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
588 2013-10-04 Alan Modra <amodra@gmail.com>
590 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
591 constants to usual value for .cst8 section, and remove redundant
593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
594 constant for 0x1p52. Load little-endian words of double from
595 correct stack offsets.
597 2013-10-04 Alan Modra <amodra@gmail.com>
599 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
600 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
601 words of double from correct stack offsets.
602 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
603 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
604 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
605 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
606 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
609 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
610 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
611 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
612 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
614 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
615 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
616 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
617 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
618 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
620 2013-10-04 Alan Modra <amodra@gmail.com>
622 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
623 64-bit int/double union.
624 (_FPU_SETCW): Likewise.
625 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
626 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
628 2013-10-04 Alan Modra <amodra@gmail.com>
630 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
631 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
633 2013-10-04 Alan Modra <amodra@gmail.com>
635 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
636 use vector int constants.
637 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
639 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
641 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
642 array with long long.
643 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
644 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
645 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
646 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
647 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
648 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
649 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
650 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
651 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
652 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
653 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
654 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
655 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
657 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
659 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
660 (__signbit): Likewise. Correct for little-endian.
661 (__signbitl): Call __signbit.
662 (lrint): Correct for little-endian.
663 (lrintf): Call lrint.
665 2013-10-04 Alan Modra <amodra@gmail.com>
667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
668 union 32-bit int array member with 64-bit int array.
669 (t515, tm256): Double rather than long double.
670 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
672 2013-10-04 Alan Modra <amodra@gmail.com>
674 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
676 (IEEE854_LONG_DOUBLE_BIAS): Delete.
677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
678 version of math_ldbl.h.
680 2013-10-04 Alan Modra <amodra@gmail.com>
682 [BZ #15734], [BZ #15735]
683 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
684 all uses of ieee875 long double macros and unions. Simplify test
685 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
686 ldbl_extract_mantissa value for ix,iy exponents. Properly
687 normalize after ldbl_extract_mantissa, and don't add hidden bit
688 already handled. Don't treat low word of ieee854 mantissa like
689 low word of IBM long double and mask off bit when testing for
691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
692 all uses of ieee875 long double macros and unions. Simplify tests
693 for 0.0L and inf. Correct double adjustment of k. Delete dead code
694 adjusting ha,hb. Simplify code setting kld. Delete two600 and
695 two1022, instead use their values. Recognise that tests for large
696 "a" and small "b" are mutually exclusive. Rename vars. Comment.
697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
698 Rewrite all uses of ieee875 long double macros and unions. Simplify
699 test for 0.0L and nan. Correct negation.
700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
701 ieee875 long double macros and unions. Correct output for large
702 magnitude x. Correct absolute value calculation.
704 * math/libm-test.inc: Add tests for errors discovered in IBM long
705 double versions of fmodl, remainderl, erfl and erfcl.
707 2013-10-04 Alan Modra <amodra@gmail.com>
709 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
710 all uses of ieee854 long double macros and unions. Simplify tests
711 for long doubles that are fully specified by the high double.
712 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
714 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
715 Remove dead code too.
716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
717 (__ieee754_ynl): Likewise.
718 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
719 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
721 Remove dead code too.
722 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
723 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
724 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
725 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
727 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
729 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
730 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
732 Comment on variable precision.
733 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
736 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
739 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
740 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
742 2013-10-04 Alan Modra <amodra@gmail.com>
744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
746 all uses of ieee854 long double macros and unions.
747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
749 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
751 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
752 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
754 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
755 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
756 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
757 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
758 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
759 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
760 Simplify sign and nan test too.
761 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
762 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
763 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
764 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
766 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
767 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
769 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
770 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
771 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
776 2013-10-04 Alan Modra <amodra@gmail.com>
778 * stdio-common/printf_size.c (__printf_size): Don't use
779 union ieee854_long_double in fpnum union.
780 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
781 signbit macro to retrieve sign from long double.
782 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
783 retrieve sign from long double.
784 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
785 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
786 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
787 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
788 * math/test-misc.c (main): Don't use union ieee854_long_double.
790 2013-10-04 Alan Modra <amodra@gmail.com>
793 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
795 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
796 calculation. Remove unnecessary test for denormal exponent.
797 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
798 Correct handling of denormals. Avoid undefined shift behaviour.
799 Correct normalisation of low mantissa when low double is denormal.
800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
801 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
802 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
803 Correct normalisation of low mantissa. Test for overflow of high
804 mantissa and normalise.
805 (ldbl_nearbyint): Use more readable constant for two52.
806 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
807 (__mpn_construct_long_double): Fix test for overflow of high
808 mantissa and correct normalisation. Avoid undefined shift.
810 2013-10-04 Alan Modra <amodra@gmail.com>
812 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
813 (union ibm_extended_long_double): Define as an array of ieee754_double.
814 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
815 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
816 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
817 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
818 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
819 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
821 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
822 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
823 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
824 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
826 2013-10-03 Joseph Myers <joseph@codesourcery.com>
828 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
829 page size instead of calling getpagesize.
831 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
832 (LOCFILE_ALIGN_MASK): Likewise.
833 (LOCFILE_ALIGN_UP): Likewise.
834 (LOCFILE_ALIGNED_P): Likewise.
835 * locale/programs/ld-collate.c (collate_output): Use the new
836 macros instead of __alignof__ (int32_t).
837 * locale/weight.h (findidx): Likewise.
839 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
842 * manual/string.texi: Fix strncat and wcsncat.
844 2013-10-03 Brooks Moses <bmoses@google.com>
847 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
848 * Makerules: ...here, and adjust associated comments.
850 2013-10-02 Will Newton <will.newton@linaro.org>
852 * malloc/Makefile: Add tst-pvalloc.
853 * malloc/tst-pvalloc.c: New file.
855 2013-10-02 Will Newton <will.newton@linaro.org>
857 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
858 improve test coverage.
860 2013-10-02 Will Newton <will.newton@linaro.org>
862 * malloc/Makefile: Add tst-posix_memalign.
863 * malloc/tst-posix_memalign.c: New file.
865 2013-10-01 Eric Blake <eblake@redhat.com>
867 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
868 Use __THROWNL rather than __THROW on static functions.
870 2013-09-30 Petr Machata <pmachata@redhat.com>
872 * elf/elf.h (R_AARCH64_ABS16): New macro.
873 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
874 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
875 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
876 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
877 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
878 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
879 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
880 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
881 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
882 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
883 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
884 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
885 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
886 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
887 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
888 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
889 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
890 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
891 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
892 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
893 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
894 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
895 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
896 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
897 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
898 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
899 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
900 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
901 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
902 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
903 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
904 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
905 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
906 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
907 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
908 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
909 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
910 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
911 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
912 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
913 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
914 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
915 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
916 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
917 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
918 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
919 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
920 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
921 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
922 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
923 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
924 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
925 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
926 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
927 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
928 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
929 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
930 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
931 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
932 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
933 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
934 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
935 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
936 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
937 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
938 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
939 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
940 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
941 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
942 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
943 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
944 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
945 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
946 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
947 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
948 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
949 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
950 (R_AARCH64_TLSDESC_LDR): Likewise.
951 (R_AARCH64_TLSDESC_ADD): Likewise.
952 (R_AARCH64_TLSDESC_CALL): Likewise.
954 2013-09-30 Andreas Schwab <schwab@suse.de>
957 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
958 the nss database lookup.
959 * nscd/initgrcache.c (addinitgroupsX): Likewise.
960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
962 2013-09-28 Mike Frysinger <vapier@gentoo.org>
964 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
966 2013-09-28 P. J. McDermott <pj@pehjota.net>
968 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
969 ${Bash-specific parameter/pattern/string} parameter expansion.
970 * sysdeps/unix/make-syscalls.sh: Likewise.
972 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
974 * sysdeps/sh/stackguard-macros.h: New file.
976 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
980 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
981 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
982 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
983 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
985 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
988 Fix thread ID register.
990 2013-09-25 Joseph Myers <joseph@codesourcery.com>
992 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
993 [POSIX || UNIX98]: Require rather than permitting all symbols from
995 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
996 element of struct sched_param.
997 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
998 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
999 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1000 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1003 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1005 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1006 argument calculation.
1008 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1010 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1012 [POSIX] (pthread_attr_t): Do not require type.
1013 [POSIX] (pthread_cond_t): Likewise.
1014 [POSIX] (pthread_condattr_t): Likewise.
1015 [POSIX] (pthread_key_t): Likewise.
1016 [POSIX] (pthread_mutex_t): Likewise.
1017 [POSIX] (pthread_mutexattr_t): Likewise.
1018 [POSIX] (pthread_once_t): Likewise.
1019 [POSIX] (pthread_t): Likewise.
1020 [POSIX-based standards] (pthread_atfork): Expect function.
1022 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1023 Richard Sandiford <richard@codesourcery.com>
1025 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1026 (swap_endianness_p): New extern variable.
1027 (set_big_endian): New inline function.
1028 (maybe_swap_uint32): Likewise.
1029 (maybe_swap_uint32_array): Likewise.
1030 (maybe_swap_uint32_obstack): Likewise.
1031 * locale/programs/locfile.c: Include <stdbool.h>.
1032 (swap_endianness_p): New variable.
1033 (add_locale_uint32): Call maybe_swap_uint32.
1034 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1035 (write_locale_data): Call maybe_swap_uint32_array.
1036 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1038 (obstack_int32_grow_fast): Likewise.
1039 (output_weightwc): Call maybe_swap_uint32_obstack.
1040 (collate_output): Likewise.
1041 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1042 (OPT_LITTLE_ENDIAN): Likewise.
1043 (options): Add --little-endian and --big-endian options.
1044 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1045 * locale/programs/locarchive.c: Include "locfile.h".
1049 (create_archive): Use the new macros to access fields of
1050 structures directly mapped from or written to locale archives.
1051 (oldlocrecentcmp): Likewise.
1052 (enlarge_archive): Likewise.
1053 (insert_name): Likewise.
1054 (add_alias): Likewise.
1055 (add_locale): Likewise.
1056 (delete_locales_from_archive): Likewise.
1057 (show_archive_content): Likewise.
1058 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1061 2013-09-24 Roland McGrath <roland@hack.frob.com>
1063 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1064 http://www.gnu.org/doc/freemanuals.texi.
1065 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1067 2013-09-24 Will Newton <will.newton@linaro.org>
1069 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1072 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1074 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1077 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1079 * manual/threads.texi (POSIX Threads): Fix a typo.
1081 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1084 * string/tst-strcoll-overflow.c: New test case.
1085 * string/Makefile (xtests): Add tst-strcoll-overflow.
1086 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1087 cache if string sizes may cause integer overflow.
1090 * string/strcoll_l.c (coll_seq): New members rule, idx,
1091 save_idx and back_us.
1092 (get_next_seq_nocache): New function.
1093 (do_compare_nocache): New function.
1094 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1097 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1100 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1101 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1102 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1105 * elf/Makefile (tests): Add tst-ptrguard1.
1106 (tests-static): Add tst-ptrguard1-static.
1107 (tst-ptrguard1-ARGS): Define.
1108 (tst-ptrguard1-static-ARGS): Define.
1109 * elf/tst-ptrguard1.c: New file.
1110 * elf/tst-ptrguard1-static.c: New file.
1111 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1112 * sysdeps/i386/stackguard-macros.h: Likewise.
1113 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1114 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1115 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1116 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1117 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1118 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1120 2013-09-23 Hector Marco <hecmargi@upv.es>
1121 Ismael Ripoll <iripoll@disca.upv.es>
1122 Carlos O'Donell <carlos@redhat.com>
1125 * sysdeps/generic/stackguard-macros.h: Define
1126 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1127 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1128 Define __pointer_chk_guard_local.
1129 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1130 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1132 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1135 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1137 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1139 * include/string.h (__ffs): Declare as hidden.
1140 * string/ffs.c (__ffs): Define as hidden.
1141 * sysdeps/i386/ffs.c (__ffs): Likewise.
1142 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1143 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1144 * sysdeps/s390/ffs.c (__ffs): Likewise.
1145 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1147 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1149 * NEWS: Mention malloc probes.
1151 * malloc/arena.c (new_heap): New memory_heap_new probe.
1152 (grow_heap): New memory_heap_more probe.
1153 (shrink_heap): New memory_heap_less probe.
1154 (heap_trim): New memory_heap_free probe.
1155 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1156 (systrim): New memory_sbrk_less probe.
1157 * manual/probes.texi: Document them.
1159 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1160 * manual/probes.texi: Document it.
1162 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1163 (__libc_realloc): Add memory_realloc_retry probe.
1164 (__libc_memalign): Add memory_memalign_retry probe.
1165 (__libc_valloc): Add memory_valloc_retry probe.
1166 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1167 (__libc_calloc): Add memory_calloc_retry probe.
1168 * manual/probes.texi: Document them.
1170 * malloc/arena.c (get_free_list): Add probe
1171 memory_arena_reuse_free_list.
1172 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1173 and memory_arena_reuse.
1174 (arena_get2) [!PER_THREAD]: Likewise.
1175 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1176 memory_arena_reuse_realloc.
1177 * manual/probes.texi: Document them.
1179 * malloc/malloc.c (__libc_free): Add
1180 memory_mallopt_free_dyn_thresholds probe.
1181 (__libc_mallopt): Add multiple memory_mallopt probes.
1182 * manual/probes.texi: Document them.
1184 * malloc/malloc.c: Include stap-probe.h.
1185 (__libc_mallopt): Add memory_mallopt probe.
1186 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1187 * manual/probes.texi: New.
1188 * manual/Makefile (chapters): Add probes.
1189 * manual/threads.texi: Set next node.
1191 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1194 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1195 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1196 Add `Chinese' to `nan' entry name.
1198 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1200 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1201 (POLYNOMIAL): Likewise.
1202 (TAYLOR_SINCOS): Likewise.
1203 (TAYLOR_SLOW): Likewise.
1204 (__sin): Use TAYLOR_SINCOS.
1206 (slow): Use TAYLOR_SLOW.
1211 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1213 * stdlib/strtod_l.c: Fix buffer overrun.
1215 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1217 * benchtests/Makefile (bench): Add sincos.
1218 * benchtests/bench-sincos.c: New file.
1220 * math/libm-test.inc (cos_test_data): New test inputs.
1221 (sin_test_data): Likewise.
1223 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1231 (bsloww1): Likewise.
1232 (bsloww2): Likewise.
1234 (csloww1): Likewise.
1235 (csloww2): Likewise.
1237 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1246 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1248 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1249 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1250 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1251 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1252 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1253 * elf/cache.c (print_entry): Handle the new cache flags.
1255 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1256 Aldy Hernandez <aldyh@redhat.com>
1258 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1259 Change condition to [_SOFT_FLOAT].
1260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1272 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1275 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1278 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1280 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1281 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1282 (__longjmp): Use LOAD_GP to load saved GPRs.
1283 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1284 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1285 (__sigsetjmp): Use SAVE_GP to save GPRs.
1287 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1288 Do not append -msoft-float.
1289 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1291 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1293 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1295 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1298 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1299 (_FPU_GETCW): Use initial "__" on variable and field names but not
1300 on macro parameter name.
1301 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1302 parentheses around reference to macro parameter.
1304 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1306 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1308 (ctype_startup): Use uint32_t in cast and sizeof for
1311 2013-09-11 Jia Liu <proljc@gmail.com>
1313 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1315 [__FreeBSD__]: Likewise.
1317 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1320 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1321 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1322 (strchr): Remove __strchr_sse42 ifunc selection.
1323 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1324 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1326 2013-09-11 Will Newton <will.newton@linaro.org>
1328 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1329 parameter to RES. Remove hardcoded 1000 value.
1330 * benchtests/bench-skeleton.c (main): Pass RES parameter
1331 to TIMING_INIT and multiply result by 1000.
1333 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1337 2013-09-11 Andreas Schwab <schwab@suse.de>
1339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1341 (O_TMPFILE) [__USE_GNU]: Define.
1342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1345 2013-09-11 Will Newton <will.newton@linaro.org>
1348 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1351 2013-09-11 Will Newton <will.newton@linaro.org>
1354 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1357 2013-09-11 Will Newton <will.newton@linaro.org>
1360 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1363 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1365 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1366 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1367 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1368 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1369 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1371 2013-09-10 Allan McRae <allan@archlinux.org>
1374 * manual/arith.texi (Parsing of Floats): Clarify
1378 * manual/install.texi (Running make install): Mention
1380 * INSTALL: Regenerated.
1382 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1384 * csu/init-first.c (_init): Remove the !SHARED condition around
1385 FPU control word initialization.
1386 * elf/dl-support.c (_dl_fpu_control): New variable.
1387 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1388 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1389 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1390 * math/test-fpucw-static.c: New file.
1391 * math/test-fpucw-ieee.c: New file.
1392 * math/test-fpucw-ieee-static.c: New file.
1393 * math/Makefile (tests): Add `test-fpucw-ieee' and
1395 (tests-static): New variable.
1396 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1398 [($(build-shared),yes)]
1399 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1401 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1404 2013-09-09 Allan McRae <allan@archlinux.org>
1407 * manual/string.texi (Collation Functions): Fix typo in
1409 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1412 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1415 * libio/memstream.c (open_memstream): Fix memory leak.
1416 * libio/wmemstream.c (open_wmemstream): Likewise.
1419 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1421 2013-09-09 Will Newton <will.newton@linaro.org>
1423 * malloc/Makefile: Add tst-realloc to tests.
1424 * malloc/tst-realloc.c: New file.
1426 2013-09-09 Allan McRae <allan@archlinux.org>
1429 * COPYING: Update from GNU website to fix FSF address.
1430 * COPYING.LIB: Likewise.
1432 2013-09-06 David S. Miller <davem@davemloft.net>
1434 * po/zh_TW.po: Update Chinese (traditional) translation from
1435 translation project.
1437 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1438 Joseph Myers <joseph@codesourcery.com>
1440 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1442 (obstack_chunk_alloc): New macro.
1443 (obstack_chunk_free): Likewise.
1444 (record_offset): New function.
1445 (init_locale_data): Likewise.
1446 (align_locale_data): Likewise.
1447 (add_locale_empty): Likewise.
1448 (add_locale_raw_data): Likewise.
1449 (add_locale_raw_obstack): Likewise.
1450 (add_locale_string): Likewise.
1451 (add_locale_wstring): Likewise.
1452 (add_locale_uint32): Likewise.
1453 (add_locale_uint32_array): Likewise.
1454 (add_locale_char): Likewise.
1455 (start_locale_structure): Likewise.
1456 (end_locale_structure): Likewise.
1457 (start_locale_prelude): Likewise.
1458 (end_locale_prelude): Likewise.
1459 (write_locale_data): Take locale_file structure rather than an
1461 * locale/programs/locfile.h: Include "obstack.h".
1462 (struct locale_file): Change to store locale file contents instead
1464 (init_locale_data): New prototype.
1465 (align_locale_data): Likewise.
1466 (add_locale_empty): Likewise.
1467 (add_locale_raw_data): Likewise.
1468 (add_locale_raw_obstack): Likewise.
1469 (add_locale_string): Likewise.
1470 (add_locale_wstring): Likewise.
1471 (add_locale_uint32): Likewise.
1472 (add_locale_uint32_array): Likewise.
1473 (add_locale_char): Likewise.
1474 (start_locale_structure): Likewise.
1475 (end_locale_structure): Likewise.
1476 (start_locale_prelude): Likewise.
1477 (end_locale_prelude): Likewise.
1478 (write_locale_data): Update prototype.
1479 * locale/programs/3level.h (struct TABLE): Remove result field.
1480 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1481 Use new locale_file interface.
1482 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1483 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1484 * locale/programs/ld-address.c (address_output): Use new
1485 locale_file interface.
1486 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1488 (collate_finish): Don't call collseq_table_finalize.
1489 (collate_output): Use new locale_file interface.
1490 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1492 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1493 (TABLE): Move defines earlier in file.
1494 (ELEMENT): Likewise.
1495 (DEFAULT): Likewise.
1496 (wctrans_table_add): Move macro and inline function earlier in
1498 (struct wctype_table): Move type earlier in file.
1499 (add_locale_wctype_table): New static prototype.
1500 (struct locale_ctype_t): Use logical types instead of struct iovec
1501 pointers for members.
1502 (ctype_output): Use new locale_file interface.
1503 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1504 new locale_file interface.
1505 (allocate_arrays): Update for use of new locale_file interface.
1506 * locale/programs/ld-identification.c (identification_output): Use
1507 new locale_file interface.
1508 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1509 * locale/programs/ld-messages.c (messages_output): Likewise.
1510 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1511 * locale/programs/ld-name.c (name_output): Likewise.
1512 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1513 * locale/programs/ld-paper.c (paper_output): Likewise.
1514 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1515 * locale/programs/ld-time.c (time_output): Likewise.
1517 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1519 * benchtests/Makefile: Add memrchr benchmark.
1520 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1521 benchmark as memrchr.
1522 * benchtests/bench-memrchr-ifunc.c: New file.
1523 * benchtests/bench-memrchr.c: New file.
1525 2013-09-06 Will Newton <will.newton@linaro.org>
1527 * benchtests/Makefile (string-bench): Add memcpy.
1529 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1530 Cong Wang <amwang@redhat.com>
1532 * sysdeps/unix/sysv/linux/bits/in.h
1533 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1534 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1535 before __USE_KERNEL_IPV6_DEFS uses.
1536 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1538 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1539 sockaddr_in6, or ipv6_mreq.
1541 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1544 memory access for final bytes in some large inputs.
1545 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1547 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549 * string/test-memrchr.c: New file.
1550 * string/test-memrchr-ifunc.c: New file.
1551 * string/Makefile: Add new memrchr testcase.
1553 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1555 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1556 fanotify_init returns EPERM.
1558 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1560 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1562 (top level): Treat second token from macro or constant entries for
1563 allowed headers as allowed.
1564 * include/complex.h: Condition internal declarations on
1566 * include/fenv.h: Condition include of <stdbool.h> and internal
1567 declarations on [!_ISOMAC].
1569 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1572 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1574 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1576 * configure.in (--enable-versioning): Remove configure option.
1577 (libc_cv_asm_symver_directive): Remove configure test.
1578 (libc_cv_ld_version_script_option): Likewise.
1579 (VERSIONING): Remove variable and AC_SUBST.
1580 (DO_VERSIONING): Remove AC_DEFINE.
1581 * configure: Regenerated.
1582 * config.h.in (DO_VERSIONING): Remove macro.
1583 * Makerules [$(versioning) = yes]: Change conditionals to
1584 [$(build-shared) = yes].
1585 * config.make.in (versioning): Remove variable.
1586 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1587 [$(build-shared) = yes].
1588 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1589 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1590 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1591 [$(build-shared) = yes].
1592 * extra-lib.mk [$(versioning) = yes]: Likewise.
1593 * hurd/Makefile [$(versioning) = yes]: Likewise.
1594 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1596 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1598 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1599 [SHARED && !NO_HIDDEN].
1600 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1602 [SHARED && DO_VERSIONING]: Likewise..
1603 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1604 [$(build-shared) = yes].
1605 * manual/install.texi (--disable-versioning): Remove
1607 * INSTALL: Regenerated.
1608 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1610 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1611 [$(build-shared) = yes].
1612 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1613 * sysdeps/i386/i686/multiarch/strstr-c.c
1614 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1615 [SHARED && !NO_HIDDEN].
1616 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1617 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1618 * sysdeps/powerpc/powerpc32/dl-machine.c
1619 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1620 * sysdeps/powerpc/powerpc32/sysdep.h
1621 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1622 to [SHARED && PIC && !NO_HIDDEN].
1623 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1624 conditional to [SHARED].
1626 2013-09-04 Will Newton <will.newton@linaro.org>
1628 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1629 * benchtests/bench-string.h: Include bench-timing.h instead
1630 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1631 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1632 call to HP_TIMING_DIFF_INIT.
1633 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1634 instead of hp-timing.h macros.
1635 * benchtests/bench-memchr.c: Likewise.
1636 * benchtests/bench-memcmp.c: Likewise.
1637 * benchtests/bench-memcpy.c: Likewise.
1638 * benchtests/bench-memmem.c: Likewise.
1639 * benchtests/bench-memmove.c: Likewise.
1640 * benchtests/bench-memset.c: Likewise.
1641 * benchtests/bench-rawmemchr.c: Likewise.
1642 * benchtests/bench-strcasecmp.c: Likewise.
1643 * benchtests/bench-strcasestr.c: Likewise.
1644 * benchtests/bench-strcat.c: Likewise.
1645 * benchtests/bench-strchr.c: Likewise.
1646 * benchtests/bench-strcmp.c: Likewise.
1647 * benchtests/bench-strcpy.c: Likewise.
1648 * benchtests/bench-strcpy_chk.c: Likewise.
1649 * benchtests/bench-strlen.c: Likewise.
1650 * benchtests/bench-strncasecmp.c: Likewise.
1651 * benchtests/bench-strncat.c: Likewise.
1652 * benchtests/bench-strncmp.c: Likewise.
1653 * benchtests/bench-strncpy.c: Likewise.
1654 * benchtests/bench-strnlen.c: Likewise.
1655 * benchtests/bench-strpbrk.c: Likewise.
1656 * benchtests/bench-strrchr.c: Likewise.
1657 * benchtests/bench-strspn.c: Likewise.
1658 * benchtests/bench-strstr.c: Likewise.
1660 2013-09-04 Will Newton <will.newton@linaro.org>
1662 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1664 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1667 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1668 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1669 * math/libm-test.inc (lgamma_test_data): Add more tests.
1670 * sysdeps/i386/fpu/libm-test-ulps: Update.
1671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1673 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1675 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1679 Add strcmp-sse2-unaligned
1680 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1682 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1684 * Versions.def (libc): Add GLIBC_2.19.
1686 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1688 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1689 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1691 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1694 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1695 intermediate calculations in recurrence.
1696 (__ieee754_ynf): Likewise.
1697 * math/libm-test.inc (jn_test_data): Do not allow spurious
1698 underflow exception. Add more tests.
1699 (yn_test_data): Add more tests.
1700 * sysdeps/i386/fpu/libm-test-ulps: Update.
1701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1703 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1705 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1707 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1709 * csu/init-first.c: Fix then/than typos.
1710 * locale/programs/ld-collate.c: Likewise.
1711 * locale/programs/linereader.h: Likewise.
1712 * manual/charset.texi: Likewise.
1713 * manual/filesys.texi: Likewise.
1714 * manual/stdio.texi: Likewise.
1715 * manual/string.texi: Likewise.
1716 * stdlib/fmtmsg.c: Likewise.
1717 * sysdeps/i386/stpncpy.S: Likewise.
1718 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1719 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1720 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1721 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1723 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1725 * elf/dl-open.c: Fix typos.
1726 * iconvdata/gbbig5.c: Likewise.
1727 * iconvdata/iso-2022-jp.c: Likewise.
1728 * iconv/gconv_int.h: Likewise.
1729 * iconv/loop.c: Likewise.
1730 * nis/rpcsvc/nis.h: Likewise.
1731 * resolv/ns_name.c: Likewise.
1732 * stdio-common/vfscanf.c: Likewise.
1733 * streams/stropts.h: Likewise.
1734 * sunrpc/rpc_thread.c: Likewise.
1735 * sysdeps/i386/strpbrk.S: Likewise.
1736 * sysdeps/ieee754/k_standard.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1739 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1740 * sysdeps/mach/hurd/profil.c: Likewise.
1741 * sysdeps/s390/dl-procinfo.h: Likewise.
1742 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1744 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1745 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1746 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1748 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1750 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1753 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1755 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1759 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1761 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1762 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1766 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1767 Roland McGrath <roland@hack.frob.com>
1769 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1770 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1772 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1774 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1775 __executable_start symbol instead of _start.
1777 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1779 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1780 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1782 * sysdeps/gnu/ldsodefs.h: ... this new file.
1784 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1785 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1786 instead of ELFOSABI_LINUX.
1788 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1789 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1790 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1791 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1793 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1794 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1795 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1797 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1798 (ibm_extended_long_double): Add ieee_nan member.
1799 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1800 (do_test): New function.
1802 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1804 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1805 functions, renamed from truncdfsf_test, trunctfsf_test,
1807 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1809 (do_test): Run all these.
1811 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1813 * argp/argp-help.c: Fix typos.
1814 * argp/argp-parse.c: Likewise.
1815 * debug/backtracesyms.c: Likewise.
1816 * elf/elf.h: Likewise.
1817 * malloc/malloc.c: Likewise.
1818 * nis/nis_print.c: Likewise.
1819 * resolv/res_comp.c: Likewise.
1820 * stdlib/stdlib.h: Likewise.
1821 * sunrpc/clnt_tcp.c: Likewise.
1822 * sunrpc/clnt_udp.c: Likewise.
1823 * sunrpc/clnt_unix.c: Likewise.
1824 * sysdeps/unix/bsd/ptsname.c: Likewise.
1825 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1826 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1833 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1835 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1837 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1840 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1843 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1844 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1845 ($(objpfx)bug-dl-leaf): New rule.
1846 ($(objpfx)bug-dl-leaf.so): Likewise.
1847 ($(objpfx)bug-dl-leaf.out): Likewise.
1848 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1849 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1850 * dlfcn/bug-dl-leaf.c: New test.
1851 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1852 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1853 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1854 (dlclose): Likewise.
1855 (dlmopen): Likewise.
1857 2013-08-27 Roland McGrath <roland@hack.frob.com>
1859 * include/netdb.h [!_ISOMAC]:
1860 Don't include <tls.h>.
1861 (h_errno, __libc_h_errno): Move declaration and macros out of
1864 * include/resolv.h [_RESOLV_H_]:
1865 Don't include <tls.h>.
1866 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1867 * resolv/res_libc.c: Don't include <tls.h>.
1868 (_res): Use __attribute__ ((nocommon)) in place of
1869 __attribute__ ((section (".bss"))).
1871 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1872 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1874 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1876 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1877 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1879 * resolv/res_mkquery.c: Include <sys/time.h>.
1881 * inet/ifreq.c: Moved to ...
1882 * sysdeps/unix/ifreq.c: ... here.
1883 * inet/ifreq.c: New file, true stub version.
1885 * socket/sa_len.c: New file.
1886 * socket/Makefile (aux): Add it.
1887 * sysdeps/unix/sysv/linux/Makefile
1888 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1889 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1890 and #include <socket/sa_len.c>.
1891 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1892 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1894 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1895 * bits/socket.h: ... here.
1897 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1898 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1899 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1901 2013-08-27 Andreas Schwab <schwab@suse.de>
1904 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1905 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1906 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1907 * string/test-strcasecmp.c (test_main): Run tests in several
1909 * string/test-strncasecmp.c (test_main): Likewise.
1911 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1912 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1913 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1915 (__strncasecmp_ssse3) [PIC]: Likewise.
1917 2013-08-26 Roland McGrath <roland@hack.frob.com>
1919 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1921 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1922 instead of explicitly declaring xdecrypt.
1923 * nis/nss_nis/nis-publickey.c: Likewise.
1925 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1928 * nscd/aicache.c: Include res_hconf.h.
1929 (addhstaiX): Initialize res_hconf.
1931 2013-08-26 Andreas Schwab <schwab@suse.de>
1933 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1934 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1936 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1938 * nscd/aicache.c (addhstaiX): Fix indentation.
1940 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1942 * configure.ac: Quote $build_pt_chown test.
1943 * configure: Regenerated.
1945 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1948 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1949 * math/s_cexpf.c (__cexpf): Likewise.
1950 * math/s_cexpl.c (__cexpl): Likewise.
1951 * math/libm-test.inc (cexp_test_data): Correct expected return
1952 value for NaN + i0. Add another test.
1954 2013-08-22 David S. Miller <davem@davemloft.net>
1956 * po/ca.po: Update Catalan translation from translation project.
1957 * po/uk.po: Add Ukrainian translations from translation project.
1959 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1962 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1963 is infinite, not alongside NaN test.
1964 * math/s_fdimf.c (__fdimf): Likewise.
1965 * math/s_fdiml.c (__fdiml): Likewise.
1966 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1969 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1971 * argp/argp-help.c: Fix typos.
1972 * crypt/speeds.c: Likewise.
1973 * csu/check_fds.c: Likewise.
1974 * elf/dl-load.c: Likewise.
1975 * elf/dl-open.c: Likewise.
1976 * elf/reldep3.c: Likewise.
1977 * elf/reldep.c: Likewise.
1978 * elf/sprof.c: Likewise.
1979 * iconv/iconv_charmap.c: Likewise.
1980 * iconv/skeleton.c: Likewise.
1981 * iconv/strtab.c: Likewise.
1982 * io/lockf64.c: Likewise.
1983 * libio/libioP.h: Likewise.
1984 * resolv/gai_notify.c: Likewise.
1985 * resolv/ns_name.c: Likewise.
1986 * resolv/ns_samedomain.c: Likewise.
1987 * resolv/res_send.c: Likewise.
1988 * stdlib/random.c: Likewise.
1989 * sunrpc/rpc/xdr.h: Likewise.
1990 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1991 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1992 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1993 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1998 * sysdeps/mach/hurd/check_fds.c: Likewise.
1999 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2000 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2001 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2002 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2003 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2004 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2005 * sysdeps/pthread/aio_notify.c: Likewise.
2006 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2007 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2008 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2010 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2012 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2014 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2015 version if bit_Slow_SSE4_2 is set.
2016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2019 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2023 trampoline stack frame information.
2024 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2025 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2026 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2027 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2028 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2029 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2030 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2031 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2033 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2034 interrupting a syscall and set with option SA_SIGINFO.
2036 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2039 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2040 argument is infinite.
2041 * math/s_cprojf.c (__cprojf): Likewise.
2042 * math/s_cprojl.c (__cprojl): Likewise.
2043 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2044 * math/libm-test.inc (cproj_test_data): Add more tests.
2046 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2048 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2049 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2050 size. Use __ffs to determine corresponding shift.
2052 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2053 Roland McGrath <roland@hack.frob.com>
2055 * Makefile (INSTALL): Remove trailing blank lines from output of
2058 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2060 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2061 Align 32 bit compat elf_greg to 8 bytes.
2063 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2065 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2067 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2069 * string/strcoll_l.c (coll_seq): New structure.
2070 (get_next_seq_cached): New function.
2071 (get_next_seq): New function.
2072 (do_compare): New function.
2073 (STRCOLL): Use GNU style definition. Simplify implementation
2074 by using get_next_seq, get_next_seq_cached and do_compare.
2076 2013-08-16 Florian Weimer <fweimer@redhat.com>
2080 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2082 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2084 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2085 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2086 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2088 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2089 GETDENTS_64BIT_ALIGNED.
2090 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2091 * manual/filesys.texi (Reading/Closing Directory): Document
2092 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2094 * manual/conf.texi (Limits for Files): Add portability note to
2096 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2098 2013-08-13 Andreas Schwab <schwab@suse.de>
2101 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2103 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2104 LDBL_MAX_EXP >= 16384]: Add tests for it.
2106 2013-08-12 David S. Miller <davem@davemloft.net>
2108 * version.h (RELEASE): Set to "development".
2109 (VERSION): Set to "2.18.90".
2110 * NEWS: Add 2.19 section.
2112 2013-08-03 David S. Miller <davem@davemloft.net>
2114 * po/ko.po: Update Korean translation from translation project.
2116 2013-08-01 David S. Miller <davem@davemloft.net>
2118 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2119 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2122 2013-07-30 David S. Miller <davem@davemloft.net>
2124 * po/fr.po: Update French translation from translation project.
2126 2013-07-28 David S. Miller <davem@davemloft.net>
2128 * po/cs.po: Update Czech translation from translation project.
2130 * po/sv.po: Update Swedish translation from translation project.
2132 2013-07-27 David S. Miller <davem@davemloft.net>
2134 * po/eo.po: Update Esperanto translation from translation project.
2136 * po/vi.po: Update Vietnamese translation from translation project.
2138 * po/de.po: Update German translation from translation project.
2140 2013-07-26 David S. Miller <davem@davemloft.net>
2142 * po/bg.po: Update Bulgarian translation from translation project.
2144 * po/nl.po: Update Dutch translation from translation project.
2145 * po/pl.po: Update Polish translation from translation project.
2146 * po/ru.po: Update Russian translation from translation project.
2148 2013-07-24 David S. Miller <davem@davemloft.net>
2150 * po/libc.pot: Update.
2152 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2154 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2156 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2158 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2160 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2162 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2164 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2165 Andreas Schwab <schwab@suse.de>
2166 Roland McGrath <roland@hack.frob.com>
2167 Joseph Myers <joseph@codesourcery.com>
2168 Carlos O'Donell <carlos@redhat.com>
2171 * config.h.in: Define HAVE_PT_CHOWN.
2172 * config.make.in (build-pt-chown): New variable.
2173 * configure.in (--enable-pt_chown): New configure option.
2174 * configure: Regenerate.
2175 * login/Makefile: Include Makeconfig. Build pt_chown only if
2176 build-pt-chown is enabled.
2177 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2178 pt_chown to fix pty ownership.
2179 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2181 * manual/install.texi (Configuring and compiling): Mention
2182 --enable-pt_chown. Add @findex for grantpt.
2183 * INSTALL: Regenerate.
2185 2013-07-20 David S. Miller <davem@davemloft.net>
2187 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2188 difference between 32-bit and 64-bit.
2190 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2193 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2194 Avoid system header dependency with -ffreestanding.
2195 ($(objpfx)bits/syscall%d): Likewise.
2197 2013-07-13 David S. Miller <davem@davemloft.net>
2199 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2200 underflows from atanl/atan2l due to bug 15319.
2201 (casinh_test_data): Likewise.
2203 2013-07-07 David S. Miller <davem@davemloft.net>
2205 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2207 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2209 * sysdeps/i386/fpu/libm-test-ulps: Update.
2210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2212 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2214 * configure.in (--enable-lock-elision): Fix message text.
2215 * INSTALL: Regenerate.
2216 * configure: Regenerate.
2218 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2222 2013-07-03 Andreas Jaeger <aj@suse.de>
2224 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2226 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2227 (ptrace_peeksiginfo_args): Add.
2228 (__ptrace_peeksiginfo_flags): Add.
2229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2231 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2233 2013-07-03 Allan McRae <allan@archlinux.org>
2235 * sysdeps/i386/fpu/libm-test-ulps: Update.
2237 2013-07-02 David S. Miller <davem@davemloft.net>
2239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2241 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2245 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2247 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2250 2013-07-02 Andi Kleen <ak@linux.intel.com>
2252 * config.h.in (ENABLE_LOCK_ELISION): Add.
2253 * configure.in (--enable-lock-elision): Add option.
2254 * manual/install.texi: Document --enable lock elision.
2255 * configure: Regenerate
2256 * INSTALL: Regenerate.
2258 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2260 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2261 SSE4.2 strcasecmp for libc.a.
2262 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2264 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2267 * soft-fp/op-common.h (_FP_FMA): New macro.
2268 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2269 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2270 (_FP_MUL_MEAT_1_imm): ... here.
2271 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2272 (_FP_MUL_MEAT_1_wide): ... here.
2273 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2274 (_FP_MUL_MEAT_1_hard): ... here.
2275 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2276 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2277 (_FP_MUL_MEAT_2_wide): ... here.
2278 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2279 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2280 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2281 (_FP_MUL_MEAT_2_gmp): ... here.
2282 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2283 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2284 (_FP_MUL_MEAT_4_wide): ... here.
2285 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2286 (_FP_MUL_MEAT_4_gmp): ... here.
2287 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2288 (_FP_WFRACBITS_DW_S): Likewise.
2289 (_FP_WFRACXBITS_DW_S): Likewise.
2290 (_FP_HIGHBIT_DW_S): Likewise.
2291 (FP_FMA_S): Likewise.
2292 (_FP_FRAC_HIGH_DW_S): Likewise.
2293 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2294 (_FP_WFRACBITS_DW_D): Likewise.
2295 (_FP_WFRACXBITS_DW_D): Likewise.
2296 (_FP_HIGHBIT_DW_D): Likewise.
2297 (FP_FMA_D): Likewise.
2298 (_FP_FRAC_HIGH_DW_D): Likewise.
2299 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2300 (_FP_WFRACBITS_DW_E): Likewise.
2301 (_FP_WFRACXBITS_DW_E): Likewise.
2302 (_FP_HIGHBIT_DW_E): Likewise.
2303 (FP_FMA_E): Likewise.
2304 (_FP_FRAC_HIGH_DW_E): Likewise.
2305 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2306 (_FP_WFRACBITS_DW_Q): Likewise.
2307 (_FP_WFRACXBITS_DW_Q): Likewise.
2308 (_FP_HIGHBIT_DW_Q): Likewise.
2309 (FP_FMA_Q): Likewise.
2310 (_FP_FRAC_HIGH_DW_Q): Likewise.
2311 * soft-fp/fmasf4.c: New file.
2312 * soft-fp/fmadf4.c: Likewise.
2313 * soft-fp/fmatf4.c: Likewise.
2315 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2318 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2322 (index_Slow_SSE4_2): Likewise.
2323 (index_Prefer_PMINUB_for_stringop): Likewise.
2324 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2325 bit_Slow_SSE4_2 is set.
2326 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2329 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2331 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2332 rtld_global._dl_hwcap2.
2333 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2335 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2336 POWER8 feature descriptions defined in _dl_hwcap2.
2337 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2338 string handling for POWER8 feature bits.
2339 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2340 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2341 _dl_powerpc_cap_flags.
2342 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2343 * sysdeps/powerpc/rtld-global-offsets.sym
2344 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2345 _dl_hwcap2 in the rtld_global_ro structure.
2347 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2349 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2350 hardware capabilities in support of AT_HWCAP2.
2351 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2352 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2354 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2355 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2356 explicitly the unknown a_type display mechanism is used.
2357 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2358 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2360 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2361 to macro prototype for AT_HWCAP2 support.
2362 * sysdeps/i386/dl-procinfo.h: Likewise.
2363 * sysdeps/s390/dl-procinfo.h: Likewise.
2364 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2365 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2366 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2367 return -1 for unknown a_type display fallback.
2368 * sysdeps/sparc/dl-procinfo.h: Likewise.
2369 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2370 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2372 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2374 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2375 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2377 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2380 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2381 mprotect making __stack_prot writable.
2383 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2384 Joseph Myers <joseph@codesourcery.com>
2386 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2387 as being properly aligned.
2389 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2391 * dlfcn/modstatic5.c: New file.
2392 * dlfcn/tststatic5.c: New file.
2393 * dlfcn/Makefile (tests): Add tststatic5.
2394 (tests-static): Likewise.
2395 (modules-names): Add modstatic5.
2396 (tststatic5-ENV): New variable.
2397 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2400 * elf/dl-support.c (_dl_main_map): New variable.
2401 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2402 (_dl_nns, _dl_load_adds): Set to 1.
2403 (_dl_initial_searchlist): Refer to _dl_main_map.
2404 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2405 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2406 call to _dl_get_origin.
2407 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2409 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2410 * dlfcn/modstatic3.c: New file.
2411 * dlfcn/tststatic3.c: New file.
2412 * dlfcn/tststatic4.c: New file.
2413 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2414 (tests-static): Likewise.
2415 (modules-names): Add modstatic3.
2416 (tststatic3-ENV, tststatic4-ENV): New variables.
2417 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2418 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2420 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2422 * configure.in (CC): Require GCC version 4.4 or later.
2423 * configure: Regenerated.
2424 * manual/install.texi (Tools for Compilation): Update GCC version
2426 * INSTALL: Regenerated.
2428 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2431 * string/test-memcmp.c (check2): New.
2432 (main): Call check2.
2434 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2436 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2439 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2441 (dl_open_worker) [!SHARED]: ... here.
2443 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2445 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2447 2013-06-25 Richard Henderson <rth@redhat.com>
2449 * locale/programs/locarchive.c: Include <libc-internal.h>
2451 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2453 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2454 trailing whitespace removed.
2456 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2459 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2460 * locale/programs/locarchive.c: Include libc-mmap.h.
2461 (prepare_address_space): Take two new outputs (the mmap base and len).
2462 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2464 (create_archive): Declare new mmap base and len values for
2465 prepare_address_space, and store the result in ah.
2466 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2467 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2468 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2469 Declare new mmap base and len values for
2470 prepare_address_space, and store the result in new_ah.
2471 (open_archive): Declare new mmap base and len values for
2472 prepare_address_space, and store the result in ah.
2473 (close_archive): If ah->mmap_base is not NULL, use that and
2474 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2475 * sysdeps/generic/libc-mmap.h: New file.
2477 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2479 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2480 (ALIGN_UP): Likewise.
2481 (PTR_ALIGN_DOWN): Likewise.
2482 (PTR_ALIGN_UP): Likewise.
2484 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2486 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2487 entry mapped to PPC_PLATFORM_POWER8.
2488 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2490 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2491 (_dl_string_platform): Add case for exporting platform position for
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2494 search path to sysdeps/powerpc/powerpc32/power8 directory.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2496 search path to sysdeps/powerpc/powerpc64/power8 directory.
2497 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2499 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2502 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2504 * INSTALL: Regenerate.
2506 * nscd/connections.c (nscd_init): Fix comment.
2508 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2510 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2513 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2514 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2516 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2518 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2520 (DL_DST_REQ_STATIC): Remove macro.
2522 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2525 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2526 with a shift of 0 bits.
2528 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2530 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2533 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2536 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2538 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2540 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2541 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2542 accepts -fno-tree-loop-distribute-patterns.
2543 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2544 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2546 * string/memset.c (memset): Likewise.
2547 * string/test-memmove.c (simple_memmove): Disable loop transformation
2549 * string/test-memset.c (simple_memset): Likewise.
2550 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2551 * benchtests/bench-memset.c (simple_memset): Likewise.
2552 * configure: Regenerated.
2554 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2556 * math/test-misc.c (main): Ignore fesetround failure when failures
2557 of subsequent rounding tests would be ignored.
2560 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2561 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2562 * math/fegetenv.c (__fegetenv): Return 0.
2563 * math/fegetexcept.c (fegetexcept): Return 0.
2564 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2566 * math/feholdexcpt.c (feholdexcept): Return 0.
2567 * math/fesetenv.c (__fesetenv): Return 0.
2568 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2569 argument FE_TONEAREST.
2570 * math/feupdateenv.c (__feupdateenv): Return 0.
2571 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2573 2013-06-18 Roland McGrath <roland@hack.frob.com>
2575 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2576 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2577 ($(objpfx)rtld-%.os rules): Use them.
2579 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2581 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2584 2013-06-17 Roland McGrath <roland@hack.frob.com>
2586 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2587 length of target pattern, then descending length of dependency pattern.
2588 * configure.in (AWK): Require gawk 3.1.2 or newer.
2589 * manual/install.texi (Tools for Compilation): Say that we do.
2590 * configure: Regenerated.
2592 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2593 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2594 * scripts/sysd-rules.awk: ... this new script.
2595 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2596 than a glob-style pattern.
2598 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2600 * math/test-misc.c (main): Do not treat incorrectly rounded
2601 conversions as failure unless ROUNDING_TESTS passes.
2603 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2606 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2607 restore exception state around main square root computation, then
2608 check for inexactness explicitly.
2610 * math/libm-test.inc (fma_test_data): Add another test.
2612 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2614 * manual/threads.texi (Non-POSIX Extensions): New document
2615 node. Document pthread_getattr_default_np and
2616 pthread_setattr_default_np.
2618 * Versions.def (libpthread): Add GLIBC_2.18.
2619 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2628 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2639 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2642 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2644 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2645 H.J. Lu <hjl.tools@gmail.com>
2648 * sysdeps/x86_64/rtld-memset.c: Remove file.
2649 * sysdeps/x86_64/rtld-memset.S: New file.
2651 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2653 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2654 (test_in_one_mode): Take arguments for whether the rounding mode
2655 is supported for each floating-point type.
2656 (do_test): Pass new arguments to test_in_one_mode using
2659 2013-06-13 Roland McGrath <roland@hack.frob.com>
2661 * posix/tst-waitid.c (do_test): Distinguish different instances of
2662 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2663 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2664 before entering the kernel for waitpid.
2666 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2668 * NEWS: Fix note on clock function precision. Text by Roland
2671 2013-06-13 Roland McGrath <roland@hack.frob.com>
2673 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2674 it into place only when and if the sanity check passes.
2676 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2678 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2679 output for whether conversion result is exact. Take argument
2680 indicating whether type is IBM long double.
2681 (round_for_all): Change need_exact field to ibm_ld.
2682 * stdlib/tst-strtod-round.c (struct exactness): New type.
2683 (struct test): Change bool ld_ok field to struct exactness exact.
2684 (TEST): Update all definitions for change to field.
2685 (tests): Regenerate array contents.
2686 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2687 field value. Check for IBM long double here.
2688 (do_test): Update calls to test_in_one_mode.
2690 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2693 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2694 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2696 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2699 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2700 generated by the compiler on loop optimizations.
2701 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2702 general definitions.
2704 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2706 * math/bug-nextafter.c: Include <math-tests.h>.
2707 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2709 * math/bug-nexttoward.c: Include <math-tests.h>.
2710 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2712 * math/test-misc.c: Include <math-tests.h>.
2713 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2716 2013-06-12 Andreas Jaeger <aj@suse.de>
2718 * po/ia.po: Update Interlingua translation from translation
2721 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2723 * include/fenv.h: Include stdbool.h.
2724 (struct rm_ctx): New structure.
2725 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2727 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2728 (SET_RESTORE_ROUNDF): Likewise.
2729 (SET_RESTORE_ROUNDL): Likewise.
2730 (SET_RESTORE_ROUND_NOEX): Likewise.
2731 (SET_RESTORE_ROUND_NOEXF): Likewise.
2732 (SET_RESTORE_ROUND_NOEXL): Likewise.
2733 (SET_RESTORE_ROUND_53BIT): Likewise.
2734 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2735 (libc_feresetround_noexf_ctx): Likewise.
2736 (libc_feresetround_noexl_ctx): Likewise.
2737 (libc_feholdsetround_53bit_ctx): Likewise.
2738 (libc_feresetround_53bit_ctx): Likewise.
2739 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2740 (libc_feholdexcept_setround_sse_ctx): New function.
2741 (libc_fesetenv_sse_ctx): Likewise.
2742 (libc_feupdateenv_sse_ctx): Likewise.
2743 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2744 (libc_feholdexcept_setround_387_ctx): Likewise.
2745 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2746 (libc_feholdsetround_387_prec_ctx): Likewise.
2747 (libc_feholdsetround_387_ctx): Likewise.
2748 (libc_feholdsetround_387_53bit_ctx): Likewise.
2749 (libc_feholdsetround_sse_ctx): Likewise.
2750 (libc_feresetround_sse_ctx): Likewise.
2751 (libc_feresetround_387_ctx): Likewise.
2752 (libc_feupdateenv_387_ctx): Likewise.
2753 (libc_feholdexcept_setroundf_ctx): Define macro.
2754 (libc_fesetenvf_ctx): Likewise.
2755 (libc_feupdateenvf_ctx): Likewise.
2756 (libc_feholdsetroundf_ctx): Likewise.
2757 (libc_feresetroundf_ctx): Likewise.
2758 (libc_feholdexcept_setround_ctx): Likewise.
2759 (libc_fesetenv_ctx): Likewise.
2760 (libc_feupdateenv_ctx): Likewise.
2761 (libc_feholdsetround_ctx): Likewise.
2762 (libc_feresetround_ctx): Likewise.
2763 (libc_feholdexcept_setroundl_ctx): Likewise.
2764 (libc_feupdateenvl_ctx): Likewise.
2765 (libc_feholdsetroundl_ctx): Likewise.
2766 (libc_feresetroundl_ctx): Likewise.
2767 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2768 (libc_feresetround_53bit_ctx): Likewise.
2770 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2772 * locale/iso-639.def: Convert to UTF-8.
2774 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2776 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2777 (EXCEPTION_TESTS_double): Likewise.
2778 (EXCEPTION_TESTS_long_double): Likewise.
2779 (EXCEPTION_TESTS): Likewise.
2780 * math/libm-test.inc (test_exceptions): Only test exceptions if
2781 EXCEPTION_TESTS (FLOAT).
2783 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2785 * benchtests/Makefile (string-bench): Add strcpy_chk and
2787 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2788 * benchtests/bench-stpcpy_chk.c: New file.
2789 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2790 * benchtests/bench-strcpy_chk.c: New file.
2791 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2793 (do_test): Likewise.
2795 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2798 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2799 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2800 with tabs where appropriate.
2801 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2803 [PPC_PLATFORM_PPC440]: Likewise.
2804 [PPC_PLATFORM_PPC464]: Likewise.
2805 [PPC_PLATFORM_PPC476]: Likewise.
2806 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2807 ppc464, and ppc476 platform strings merging from ports/
2810 2013-06-11 Andreas Schwab <schwab@suse.de>
2813 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2814 (from_ucs4_idx): Regenerate.
2815 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2816 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2817 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2818 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2819 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2820 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2821 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2822 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2823 from FROM_LOOP and TO_LOOP specific macros.
2824 (BODY): Handle combining characters.
2825 * iconvdata/BIG5HKSCS.irreversible: Update.
2826 * iconvdata/BIG5HKSCS.precomposed: New file.
2827 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2829 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2831 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2833 * include/sys/time.h: Fix indentation and add copyright header.
2835 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2836 (do_test): Likewise.
2837 * string/test-memchr.c (do_one_test): Likewise.
2838 (do_test): Likewise.
2839 * string/test-memcmp.c (do_one_test): Likewise.
2840 (do_test): Likewise.
2841 * string/test-memcpy.c (do_one_test): Likewise.
2842 (do_test): Likewise.
2843 * string/test-memmem.c (do_one_test): Likewise.
2844 (do_test): Likewise.
2845 (do_random_tests): Likewise.
2846 * string/test-memmove.c (do_one_test): Likewise.
2847 (do_test): Likewise.
2848 * string/test-memset.c (do_one_test): Likewise.
2849 (do_test): Likewise.
2850 * string/test-rawmemchr.c (do_one_test): Likewise.
2851 (do_test): Likewise.
2852 * string/test-strcasecmp.c (do_one_test): Likewise.
2853 (do_test): Likewise.
2854 * string/test-strcasestr.c (do_one_test): Likewise.
2855 (do_test): Likewise.
2856 * string/test-strcat.c (do_one_test): Likewise.
2857 (do_test): Likewise.
2858 * string/test-strchr.c (do_one_test): Likewise.
2859 (do_test): Likewise.
2860 * string/test-strcmp.c (do_one_test): Likewise.
2861 (do_test): Likewise.
2862 * string/test-strcpy.c (do_one_test): Likewise.
2863 (do_test): Likewise.
2864 * string/test-string.h: Likewise.
2865 (test_init): Likewise.
2866 * string/test-strlen.c (do_one_test): Likewise.
2867 (do_test): Likewise.
2868 * string/test-strncasecmp.c (do_one_test): Likewise.
2869 (do_test): Likewise.
2870 * string/test-strncat.c (do_one_test): Likewise.
2871 (do_test): Likewise.
2872 * string/test-strncmp.c (do_one_test): Likewise.
2873 (do_test_limit): Likewise.
2874 (do_test): Likewise.
2875 * string/test-strncpy.c (do_one_test): Likewise.
2876 (do_test): Likewise.
2877 * string/test-strnlen.c (do_one_test): Likewise.
2878 (do_test): Likewise.
2879 * string/test-strpbrk.c (do_one_test): Likewise.
2880 (do_test): Likewise.
2881 * string/test-strrchr.c (do_one_test): Likewise.
2882 (do_test): Likewise.
2883 * string/test-strspn.c (do_one_test): Likewise.
2884 (do_test): Likewise.
2885 * string/test-strstr.c (do_one_test): Likewise.
2886 (do_test): Likewise.
2888 * benchtests/Makefile (string-bench): Add string benchmarks.
2889 * benchtests/bench-bcopy-ifunc.c: New file.
2890 * benchtests/bench-bcopy.c: New file.
2891 * benchtests/bench-bzero-ifunc.c: New file.
2892 * benchtests/bench-bzero.c: New file.
2893 * benchtests/bench-memccpy-ifunc.c: New file.
2894 * benchtests/bench-memccpy.c: New file.
2895 * benchtests/bench-memchr-ifunc.c: New file.
2896 * benchtests/bench-memchr.c: New file.
2897 * benchtests/bench-memcmp-ifunc.c: New file.
2898 * benchtests/bench-memcmp.c: New file.
2899 * benchtests/bench-memmem-ifunc.c: New file.
2900 * benchtests/bench-memmem.c: New file.
2901 * benchtests/bench-memmove-ifunc.c: New file.
2902 * benchtests/bench-memmove.c: New file.
2903 * benchtests/bench-mempcpy-ifunc.c: New file.
2904 * benchtests/bench-mempcpy.c: New file.
2905 * benchtests/bench-memset-ifunc.c: New file.
2906 * benchtests/bench-memset.c: New file.
2907 * benchtests/bench-rawmemchr-ifunc.c: New file.
2908 * benchtests/bench-rawmemchr.c: New file.
2909 * benchtests/bench-stpcpy-ifunc.c: New file.
2910 * benchtests/bench-stpcpy.c: New file.
2911 * benchtests/bench-stpncpy-ifunc.c: New file.
2912 * benchtests/bench-stpncpy.c: New file.
2913 * benchtests/bench-strcasecmp-ifunc.c: New file.
2914 * benchtests/bench-strcasecmp.c: New file.
2915 * benchtests/bench-strcasestr-ifunc.c: New file.
2916 * benchtests/bench-strcasestr.c: New file.
2917 * benchtests/bench-strcat-ifunc.c: New file.
2918 * benchtests/bench-strcat.c: New file.
2919 * benchtests/bench-strchr-ifunc.c: New file.
2920 * benchtests/bench-strchr.c: New file.
2921 * benchtests/bench-strchrnul-ifunc.c: New file.
2922 * benchtests/bench-strchrnul.c: New file.
2923 * benchtests/bench-strcmp-ifunc.c: New file.
2924 * benchtests/bench-strcmp.c: New file.
2925 * benchtests/bench-strcpy-ifunc.c: New file.
2926 * benchtests/bench-strcpy.c: New file.
2927 * benchtests/bench-strcspn-ifunc.c: New file.
2928 * benchtests/bench-strcspn.c: New file.
2929 * benchtests/bench-strlen-ifunc.c: New file.
2930 * benchtests/bench-strlen.c: New file.
2931 * benchtests/bench-strncasecmp-ifunc.c: New file.
2932 * benchtests/bench-strncasecmp.c: New file.
2933 * benchtests/bench-strncat-ifunc.c: New file.
2934 * benchtests/bench-strncat.c: New file.
2935 * benchtests/bench-strncmp-ifunc.c: New file.
2936 * benchtests/bench-strncmp.c: New file.
2937 * benchtests/bench-strncpy-ifunc.c: New file.
2938 * benchtests/bench-strncpy.c: New file.
2939 * benchtests/bench-strnlen-ifunc.c: New file.
2940 * benchtests/bench-strnlen.c: New file.
2941 * benchtests/bench-strpbrk-ifunc.c: New file.
2942 * benchtests/bench-strpbrk.c: New file.
2943 * benchtests/bench-strrchr-ifunc.c: New file.
2944 * benchtests/bench-strrchr.c: New file.
2945 * benchtests/bench-strspn-ifunc.c: New file.
2946 * benchtests/bench-strspn.c: New file.
2947 * benchtests/bench-strstr-ifunc.c: New file.
2948 * benchtests/bench-strstr.c: New file.
2950 * benchtests/Makefile: Disable parallel execution of targets.
2951 (string-bench): Add memcpy.
2952 (benchset): New variable to store a list of benchmark sets.
2953 (bench-func): Renamed from bench.
2954 (bench-set): New target.
2955 (bench): Depend on bench-func and bench-set.
2956 * benchtests/README: Add section on benchmark sets.
2957 * benchtests/bench-memcpy-ifunc.c: New file.
2958 * benchtests/bench-memcpy.c: New file.
2959 * benchtests/bench-string.h: New file.
2961 2013-06-11 Andreas Schwab <schwab@suse.de>
2964 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2965 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2966 values in the triple.
2967 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2968 terminator in the group key.
2970 2013-06-11 Andreas Jaeger <aj@suse.de>
2972 * po/zh_TW.po: Update Chinese (traditional) translation from
2973 translation project.
2975 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2977 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2978 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2979 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2981 (clock_getcpuclockid): Likewise.
2982 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2983 Add weak_alias and libc_hidden_def.
2984 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2985 * rt/clock_gettime.c (clock_gettime): Rename to
2986 __clock_gettime. Add weak_alias and libc_hidden_def.
2987 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2988 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2989 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2990 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2991 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2993 * rt/clock_settime.c (clock_settime): Rename to
2994 __clock_settime. Add weak_alias and libc_hidden_def.
2995 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2997 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2999 * mach/err_boot.sub: Remove trailing whitespace.
3000 * mach/err_ipc.sub: Likewise.
3001 * mach/err_mach.sub: Likewise.
3003 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3004 (ROUNDING_TESTS_double): Likewise.
3005 (ROUNDING_TESTS_long_double): Likewise.
3006 (ROUNDING_TESTS): Likewise.
3007 * math/libm-test.inc: Include <math-tests.h>.
3008 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3009 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3010 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3011 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3013 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3015 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3018 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3020 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3021 otherwise empty TRANS lines.
3022 * sysdeps/gnu/errlist.c: Regenerated.
3024 * catgets/gencat.c (error_print): Use (void) in function
3026 * crypt/crypt_util.c (__init_des): Likewise.
3027 * crypt/speeds.c (Stop): Likewise.
3029 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3030 * inet/ruserpass.c (token): Likewise.
3031 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3032 * intl/localealias.c (extend_alias_table): Likewise.
3033 * intl/plural-exp.c (init_germanic_plural): Likewise.
3034 * libio/fcloseall.c (__fcloseall): Likewise.
3035 * libio/genops.c (_IO_flush_all): Likewise.
3036 (_IO_flush_all_linebuffered): Likewise.
3037 (_IO_cleanup): Likewise.
3038 (_IO_iter_begin): Likewise.
3039 (_IO_iter_end): Likewise.
3040 (_IO_list_lock): Likewise.
3041 (_IO_list_unlock): Likewise.
3042 (_IO_list_resetlock): Likewise.
3043 * libio/getchar.c (getchar): Likewise.
3044 * libio/getchar_u.c (getchar_unlocked): Likewise.
3045 * libio/getwchar.c (getwchar): Likewise.
3046 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3047 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3048 * login/getpt.c (__getpt): Likewise.
3049 * login/tst-utmp.c (main): Likewise.
3050 * malloc/hooks.c (__malloc_check_init): Likewise.
3051 * malloc/malloc.c (__malloc_stats): Likewise.
3052 * malloc/mtrace.c (tr_break): Likewise.
3054 (muntrace): Likewise.
3055 * misc/fstab.c (endfsent): Likewise.
3056 * misc/getclktck.c (__getclktck): Likewise.
3057 * misc/getdtsz.c (__getdtablesize): Likewise.
3058 * misc/gethostid.c (gethostid): Likewise.
3059 * misc/getpagesize.c (__getpagesize): Likewise.
3060 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3061 (__get_nprocs): Likewise.
3062 (__get_phys_pages): Likewise.
3063 (__get_avphys_pages): Likewise.
3064 * misc/getttyent.c (getttyent): Likewise.
3065 (setttyent): Likewise.
3066 (endttyent): Likewise.
3067 * misc/getusershell.c (getusershell): Likewise.
3068 (endusershell): Likewise.
3069 (setusershell): Likewise.
3070 (initshells): Likewise.
3071 * misc/hsearch.c (__hdestroy): Likewise.
3072 * misc/sync.c (sync): Likewise.
3073 * misc/syslog.c (closelog_internal): Likewise.
3074 (closelog): Likewise.
3075 * misc/ttyslot.c (ttyslot): Likewise.
3076 * misc/vhangup.c (vhangup): Likewise.
3077 * posix/fork.c (__fork): Likewise.
3078 * posix/getegid.c (__getegid): Likewise.
3079 * posix/geteuid.c (__geteuid): Likewise.
3080 * posix/getgid.c (__getgid): Likewise.
3081 * posix/getpid.c (__getpid): Likewise.
3082 * posix/getppid.c (__getppid): Likewise.
3083 * posix/getuid.c (__getuid): Likewise.
3084 * posix/pause.c (pause): Likewise.
3085 * posix/setpgrp.c (setpgrp): Likewise.
3086 * posix/setsid.c (__setsid): Likewise.
3087 * posix/test-vfork.c (noop): Likewise.
3088 * resolv/gethnamaddr.c (_endhtent): Likewise.
3089 (_gethtent): Likewise.
3090 (ht_endhostent): Likewise.
3091 (gethostent): Likewise.
3092 (dns_service): Likewise.
3093 * stdlib/drand48.c (drand48): Likewise.
3094 * stdlib/lrand48.c (lrand48): Likewise.
3095 * stdlib/mrand48.c (mrand48): Likewise.
3096 * stdlib/rand.c (rand): Likewise.
3097 * stdlib/random.c (__random): Likewise.
3098 * stdlib/setenv.c (clearenv): Likewise.
3099 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3100 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3101 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3102 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3103 (__get_nprocs): Likewise.
3104 (__get_phys_pages): Likewise.
3105 (__get_avphys_pages): Likewise.
3106 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3107 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3108 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3109 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3110 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3111 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3112 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3113 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3114 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3115 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3116 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3117 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3118 * sysdeps/posix/clock.c (clock): Likewise.
3119 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3120 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3121 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3122 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3123 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3125 (__get_nprocs_conf): Likewise.
3126 (__get_phys_pages): Likewise.
3127 (__get_avphys_pages): Likewise.
3128 * time/clock.c (clock): Likewise.
3129 * time/tzset.c (__tzname_max): Likewise.
3131 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3133 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3134 (__bswap_32): Do not use "register".
3135 * crypt/crypt.c (_ufc_doit_r): Likewise.
3136 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3137 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3138 * gmon/gmon.c (__monstartup): Likewise.
3139 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3140 * hurd/hurdmalloc.c (more_memory): Likewise.
3143 (realloc): Likewise.
3144 (malloc_fork_prepare): Likewise.
3145 (malloc_fork_parent): Likewise.
3146 (malloc_fork_child): Likewise.
3147 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3148 (_svcauth_des): Likewise.
3149 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3150 * inet/inet_net.c (inet_network): Likewise.
3151 * inet/inet_netof.c (inet_netof): Likewise.
3152 * inet/rcmd.c (__validuser2_sa): Likewise.
3153 * io/fts.c (fts_open): Likewise.
3154 (fts_load): Likewise.
3155 (fts_close): Likewise.
3156 (fts_read): Likewise.
3157 (fts_children): Likewise.
3158 (fts_build): Likewise.
3159 (fts_stat): Likewise.
3160 (fts_sort): Likewise.
3161 (fts_alloc): Likewise.
3162 (fts_lfree): Likewise.
3163 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3164 (_IO_file_xsgetn): Likewise.
3165 (_IO_file_xsgetn_mmap): Likewise.
3166 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3167 (_IO_cookie_write): Likewise.
3168 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3169 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3170 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3171 * malloc/obstack.c (_obstack_begin): Likewise.
3172 (_obstack_begin_1): Likewise.
3173 (_obstack_newchunk): Likewise.
3174 (_obstack_allocated_p): Likewise.
3175 (obstack_free): Likewise.
3176 (_obstack_memory_used): Likewise.
3177 * misc/getttyent.c (getttynam): Likewise.
3178 (getttyent): Likewise.
3181 * misc/getusershell.c (initshells): Likewise.
3182 * misc/syslog.c (__vsyslog_chk): Likewise.
3183 * misc/ttyslot.c (ttyslot): Likewise.
3184 * nis/nis_hash.c (__nis_hash): Likewise.
3185 * posix/fnmatch_loop.c (FCT): Likewise.
3186 * posix/getconf.c (print_all): Likewise.
3188 * posix/getopt.c (exchange): Likewise.
3189 * posix/glob.c (globfree): Likewise.
3190 (prefix_array): Likewise.
3191 (__glob_pattern_type): Likewise.
3192 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3193 (NS_GET32): Likewise.
3194 (NS_PUT16): Likewise.
3195 (NS_PUT32): Likewise.
3196 * resolv/gethnamaddr.c (getanswer): Likewise.
3197 (gethostbyname2): Likewise.
3198 (gethostbyaddr): Likewise.
3199 (_gethtent): Likewise.
3200 (_gethtbyname2): Likewise.
3201 (_gethtbyaddr): Likewise.
3202 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3203 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3204 * resolv/res_init.c (__res_vinit): Likewise.
3205 (net_mask): Likewise.
3206 * resolv/res_mkquery.c (outchar): Likewise.
3208 * stdio-common/printf_fp.c (outchar): Likewise.
3210 * stdio-common/printf_fphex.c (outchar): Likewise.
3212 * stdio-common/printf_size.c (outchar): Likewise.
3214 * stdio-common/test_rdwr.c (main): Likewise.
3215 * stdio-common/tfformat.c (matches): Likewise.
3216 * stdio-common/vfprintf.c (outchar): Likewise.
3217 (printf_unknown): Likewise.
3218 (buffered_vfprintf): Likewise.
3219 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3220 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3221 (ReadFile): Likewise.
3222 * stdlib/qsort.c (SWAP): Likewise.
3223 (_quicksort): Likewise.
3224 * stdlib/setenv.c (__add_to_environ): Likewise.
3225 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3226 * stdlib/strtol_l.c (__strtol_l): Likewise.
3227 * stdlib/tst-strtod.c (main): Likewise.
3228 * stdlib/tst-strtol.c (main): Likewise.
3229 * stdlib/tst-strtoll.c (main): Likewise.
3230 * string/bits/string2.h (__strcmp_cc): Likewise.
3231 (__strcmp_cg): Likewise.
3232 (__strcspn_c1): Likewise.
3233 (__strcspn_c2): Likewise.
3234 (__strcspn_c3): Likewise.
3235 (__strspn_c1): Likewise.
3236 (__strspn_c2): Likewise.
3237 (__strspn_c3): Likewise.
3238 (__strsep_1c): Likewise.
3239 (__strsep_2c): Likewise.
3240 (__strsep_3c): Likewise.
3241 * string/memccpy.c (__memccpy): Likewise.
3242 * string/stpcpy.c (__stpcpy): Likewise.
3243 * string/strcmp.c (strcmp): Likewise.
3244 * string/strrchr.c (strrchr): Likewise.
3245 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3247 * sysdeps/mach/hurd/getcwd.c
3248 (_hurd_canonicalize_directory_name_internal): Likewise.
3249 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3250 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3251 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3252 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3253 Likewise, in both definitions.
3254 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3256 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3257 64] (__bswap_64): Likewise.
3258 * time/test_time.c (main): Likewise.
3259 * time/tzfile.c (__tzfile_read): Likewise.
3260 (__tzfile_compute): Likewise.
3261 * time/tzset.c (__tzset_parse_tz): Likewise.
3262 (tzset_internal): Likewise.
3263 (compute_change): Likewise.
3264 * wcsmbs/wcscat.c (__wcscat): Likewise.
3265 * wcsmbs/wcschr.c (wcschr): Likewise.
3266 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3267 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3268 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3269 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3270 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3271 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3272 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3273 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3274 * wcsmbs/wmemset.c (wmemset): Likewise.
3276 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3278 * scripts/config.guess: Update to version 2013-05-16.
3279 * scripts/config.sub: Update to version 2013-04-24.
3280 * scripts/install-sh: Update to version 2011-11-20.07.
3281 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3282 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3284 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3286 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3287 * elf/sln.c: Likewise.
3288 * hurd/hurd/ioctl.h: Likewise.
3289 * hurd/hurdmalloc.c: Likewise.
3290 * hurd/xattr.c: Likewise.
3291 * include/shlib-compat.h: Likewise.
3292 * inet/ruserpass.c: Likewise.
3293 * libio/iofgets_u.c: Likewise.
3294 * libio/iofgetws_u.c: Likewise.
3295 * locale/programs/ld-identification.c: Likewise.
3296 * locale/programs/ld-time.c: Likewise.
3297 * mach/msg-destroy.c: Likewise.
3298 * nss/nss_files/files-netgrp.c: Likewise.
3299 * resolv/res_data.c: Likewise.
3300 * soft-fp/op-1.h: Likewise.
3301 * soft-fp/op-2.h: Likewise.
3302 * soft-fp/op-4.h: Likewise.
3303 * soft-fp/op-common.h: Likewise.
3304 * stdio-common/printf_fphex.c: Likewise.
3305 * stdlib/strtod_l.c: Likewise.
3306 * sunrpc/rpc/clnt.h: Likewise.
3307 * sysdeps/generic/framestate.c: Likewise.
3308 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3309 * sysdeps/i386/bsd-setjmp.S: Likewise.
3310 * sysdeps/i386/__longjmp.S: Likewise.
3311 * sysdeps/i386/setjmp.S: Likewise.
3312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3313 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3314 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3322 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3330 * sysdeps/ieee754/support.c: Likewise.
3331 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3332 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3333 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3334 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3335 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3336 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3337 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3338 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3339 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3340 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3341 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3342 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3343 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3344 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3345 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3346 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3347 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3350 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3352 * posix/transbug.c: Remove executable mode.
3354 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3356 * crypt/speeds.c: Remove trailing whitespace.
3357 * dlfcn/default.c: Likewise.
3358 * elf/ifuncdep2.c: Likewise.
3359 * elf/ifuncmain1.c: Likewise.
3360 * elf/ifuncmain1vis.c: Likewise.
3361 * elf/testobj.h: Likewise.
3362 * elf/tst-stackguard1.c: Likewise.
3363 * gmon/sys/gmon.h: Likewise.
3364 * hurd/hurdmsg.c: Likewise.
3365 * hurd/new-fd.c: Likewise.
3366 * hurd/ports-get.c: Likewise.
3367 * iconvdata/ibm1008_420.c: Likewise.
3368 * inet/tst-getni1.c: Likewise.
3369 * inet/tst-getni2.c: Likewise.
3370 * libio/ioungetc.c: Likewise.
3371 * libio/wfiledoalloc.c: Likewise.
3372 * manual/libm-err-tab.pl: Likewise.
3373 * math/w_dremf.c: Likewise.
3374 * misc/ftruncate.c: Likewise.
3375 * posix/bug-glob2.c: Likewise.
3376 * posix/tst-pcre.c: Likewise.
3377 * posix/wait4.c: Likewise.
3378 * resolv/README: Likewise.
3379 * resolv/res_debug.h: Likewise.
3380 * resolv/tst-inet_ntop.c: Likewise.
3381 * setjmp/bug269-setjmp.c: Likewise.
3382 * soft-fp/extended.h: Likewise.
3383 * soft-fp/op-1.h: Likewise.
3384 * soft-fp/op-2.h: Likewise.
3385 * soft-fp/op-4.h: Likewise.
3386 * soft-fp/op-8.h: Likewise.
3387 * soft-fp/testit.c: Likewise.
3388 * stdio-common/bug16.c: Likewise.
3389 * stdlib/random.c: Likewise.
3390 * sunrpc/rpcsvc/rquota.x: Likewise.
3391 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3392 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3394 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3395 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3396 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3397 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3398 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3399 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3400 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3401 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3419 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3420 * sysdeps/ieee754/s_lib_version.c: Likewise.
3421 * sysdeps/mach/hurd/check_fds.c: Likewise.
3422 * sysdeps/mach/hurd/getsockname.c: Likewise.
3423 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3424 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3425 * sysdeps/powerpc/bits/link.h: Likewise.
3426 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3427 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3428 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3429 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3430 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3431 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3432 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3433 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3434 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3435 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3436 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3437 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3438 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3439 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3440 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3441 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3443 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3444 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3445 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3446 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3447 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3449 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3450 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3451 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3452 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3453 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3454 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3456 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3457 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3458 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3459 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3460 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3461 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3462 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3463 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3464 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3465 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3466 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3467 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3468 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3469 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3470 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3471 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3472 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3473 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3474 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3475 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3478 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3479 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3480 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3481 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3482 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3483 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3484 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3485 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3487 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3488 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3489 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3490 * sysdeps/powerpc/sysdep.h: Likewise.
3491 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3492 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3493 * sysdeps/sh/dl-trampoline.S: Likewise.
3494 * sysdeps/sh/memset.S: Likewise.
3495 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3496 * sysdeps/sh/strlen.S: Likewise.
3497 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3498 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3499 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3500 * sysdeps/sparc/sparc32/rem.S: Likewise.
3501 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3502 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3503 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3504 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3505 * sysdeps/sparc/sparc32/urem.S: Likewise.
3506 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3507 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3508 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3509 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3510 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3511 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3512 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3513 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3514 * sysdeps/unix/bsd/times.c: Likewise.
3515 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3516 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3522 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3523 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3524 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3525 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3526 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3527 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3528 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3529 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3530 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3531 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3532 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3533 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3534 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3535 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3536 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3537 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3538 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3539 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3540 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3541 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3543 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3544 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3545 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3546 * sysdeps/x86_64/strcspn.S: Likewise.
3548 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3550 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3551 generated file. Regenerate properly from gen-translit.pl.
3552 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3553 locale/C-translit.h.
3555 2013-06-05 Andreas Schwab <schwab@suse.de>
3558 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3559 week as 6 instead of -1.
3560 * time/tst-strptime.c (day_tests): Add test case.
3562 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3564 * sysdeps/generic/math_private.h
3565 (libc_feholdexcept_setround_53bit): Replace with
3566 libc_feholdsetround_53bit.
3567 (libc_feupdateenv_53bit): Replace with
3568 libc_feresetround_53bit.
3569 (SET_RESTORE_ROUND_53BIT): Adjust.
3571 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3573 * string/test-strchrnul.c: Add copyright header.
3575 * posix/tst-getaddrinfo4.c: Increase test timeout.
3577 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3580 * math/libm-test.inc (MAX_EXP): Remove
3582 (ulp): Use MIN_EXP - MANT_DIG.
3583 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3585 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3587 * po/be.po: Revert last change.
3588 * po/zh_CN.po: Likewise.
3589 * po/header.pot: Likewise.
3591 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3593 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3594 link-libc-deps to empty as target-specific variable.
3595 * Makerules (link-libc-args): New variable.
3596 (libc-for-link): Likewise.
3597 (link-libc-deps): Likewise.
3598 (lib%.so): Depend on $(link-libc-deps). Link with
3600 (build-module): Link with $(link-libc-args).
3601 (build-module-asneeded): Likewise.
3602 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3604 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3605 target-specific variable.
3606 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3607 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3608 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3610 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3612 ($(objpfx)libpcprofile.so): Likewise.
3613 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3615 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3616 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3617 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3619 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3620 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3621 * login/Makefile ($(objpfx)libutil.so): Likewise.
3622 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3623 * math/Makefile ($(objpfx)libm.so): Likewise.
3624 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3625 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3626 variable instead of depending directly on libc.
3627 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3628 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3630 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3632 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3633 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3634 ($(objpfx)libanl.so): Likewise.
3635 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3637 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3639 * sysdeps/i386/fpu/Makefile: Remove file.
3640 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3641 ($(objpfx)libm.so): Remove dependency on ld.so.
3643 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3646 * nis/yp_xdr.c (XDRMAXNAME): Define.
3647 (XDRMAXRECORD): Define.
3648 (xdr_domainname): Use XDRMAXNAME.
3649 (xdr_mapname): Likewise.
3650 (xdr_peername): Likewise.
3651 (xdr_keydat): Use XDRMAXRECORD.
3652 (xdr_valdat): Likewise.
3654 2013-05-30 Jeff Law <law@redhat.com>
3657 * manual/errno.texi (ESTALE): Update to account for more than
3658 just NFS file systems.
3659 * sysdeps/gnu/errlist.c: Regenerated.
3661 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3664 * elf/Makefile (tests): Add tst-null-argv.
3665 (modules-names): Add tst-null-argv-lib.
3666 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3667 (tst-null-argv-ENV): Set environment for tst-null-argv.
3668 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3669 (RTLD_PROGNAME): New macro.
3670 * elf/tst-null-argv.c: New test case.
3671 * elf/tst-null-argv-lib.c: Library for test case.
3672 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3673 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3674 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3675 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3676 * elf/dl-init.c (call_init): Likewise.
3677 (_dl_init): Likewise.
3678 * elf/dl-load.c (print_search_path): Likewise.
3679 (_dl_map_object): Likewise.
3680 * elf/dl-lookup.c (do_lookup_x): Likewise.
3681 (add_dependency): Likewise.
3682 (_dl_lookup_symbol_x): Likewise.
3683 (_dl_debug_bindings): Likewise.
3684 * elf/dl-open.c (_dl_show_scope): Likewise.
3685 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3686 * elf/dl-version.c (match_symbol): Likewise.
3687 (_dl_check_map_versions): Likewise.
3688 * elf/rtld.c (dl_main): Likewise.
3689 (print_unresolved): Use RTLD_PROGNAME.
3690 (print_missing_version): Likewise.
3691 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3692 (elf_machine_rela): Likewise.
3693 * sysdeps/powerpc/powerpc32/dl-machine.c
3694 (__process_machine_rela): Likewise.
3695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3704 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3708 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3710 * po/be.po: Add descriptive title.
3711 * po/zh_CN.po: Likewise.
3712 * po/header.pot: Likewise.
3714 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3716 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3718 (enlarge_archive): Likewise.
3720 2013-05-28 Ben North <ben@redfrontdoor.org>
3722 * manual/arith.texi (frexp): It is the magnitude of the return
3723 value which lies in [0.5, 1), not the return value itself.
3725 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3729 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3731 * stdio-common/bug26.c (main): Correct fscanf template.
3733 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3734 declare _dl_skip_args.
3736 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3739 * manual/platform.texi: Add missing @end deftypefun.
3741 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3744 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3745 bit of mantissa of 2^16382.
3746 * math/libm-test.inc (hypot_test_data): Add more tests.
3748 * math/libm-test.inc: Add drem and pow10 to list of tested
3750 (pow10_test): New function.
3751 (drem_test): Likewise.
3752 (drem_test_tonearest): Likewise.
3753 (drem_test_towardzero): Likewise.
3754 (drem_test_downward): Likewise.
3755 (drem_test_upward): Likewise.
3756 (main): Call the new functions.
3758 * math/libm-test.inc (finite_test_data): Remove.
3759 (finite_test): Run tests from isfinite_test_data.
3760 (gamma_test_data): Remove.
3761 (gamma_test): Run tests from lgamma_test_data.
3762 * sysdeps/i386/fpu/libm-test-ulps: Update.
3763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3765 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767 * manual/platform.texi: Add PowerPC PPR function set documentation.
3768 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3771 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3773 * math/libm-test.inc (MAX_EXP): Define.
3775 (ulp): New function.
3776 (check_float_internal): Use ULPDIFF.
3777 (cpow_test): Disable failing test.
3778 (check_ulp): Test ulp() implemetnation.
3779 (main): Call check_ulp before starting tests.
3781 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3783 * math/gen-libm-test.pl (generate_testfile): Do not handle
3784 START_DATA and END_DATA.
3785 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3787 (acos_tonearest_test_data): Likewise.
3788 (acos_towardzero_test_data): Likewise.
3789 (acos_downward_test_data): Likewise.
3790 (acos_upward_test_data): Likewise.
3791 (acosh_test_data): Likewise.
3792 (asin_test_data): Likewise.
3793 (asin_tonearest_test_data): Likewise.
3794 (asin_towardzero_test_data): Likewise.
3795 (asin_downward_test_data): Likewise.
3796 (asin_upward_test_data): Likewise.
3797 (asinh_test_data): Likewise.
3798 (atan_test_data): Likewise.
3799 (atanh_test_data): Likewise.
3800 (atan2_test_data): Likewise.
3801 (cabs_test_data): Likewise.
3802 (cacos_test_data): Likewise.
3803 (cacosh_test_data): Likewise.
3804 (carg_test_data): Likewise.
3805 (casin_test_data): Likewise.
3806 (casinh_test_data): Likewise.
3807 (catan_test_data): Likewise.
3808 (catanh_test_data): Likewise.
3809 (cbrt_test_data): Likewise.
3810 (ccos_test_data): Likewise.
3811 (ccosh_test_data): Likewise.
3812 (ceil_test_data): Likewise.
3813 (cexp_test_data): Likewise.
3814 (cimag_test_data): Likewise.
3815 (clog_test_data): Likewise.
3816 (clog10_test_data): Likewise.
3817 (conj_test_data): Likewise.
3818 (copysign_test_data): Likewise.
3819 (cos_test_data): Likewise.
3820 (cos_tonearest_test_data): Likewise.
3821 (cos_towardzero_test_data): Likewise.
3822 (cos_downward_test_data): Likewise.
3823 (cos_upward_test_data): Likewise.
3824 (cosh_test_data): Likewise.
3825 (cosh_tonearest_test_data): Likewise.
3826 (cosh_towardzero_test_data): Likewise.
3827 (cosh_downward_test_data): Likewise.
3828 (cosh_upward_test_data): Likewise.
3829 (cpow_test_data): Likewise.
3830 (cproj_test_data): Likewise.
3831 (creal_test_data): Likewise.
3832 (csin_test_data): Likewise.
3833 (csinh_test_data): Likewise.
3834 (csqrt_test_data): Likewise.
3835 (ctan_test_data): Likewise.
3836 (ctan_tonearest_test_data): Likewise.
3837 (ctan_towardzero_test_data): Likewise.
3838 (ctan_downward_test_data): Likewise.
3839 (ctan_upward_test_data): Likewise.
3840 (ctanh_test_data): Likewise.
3841 (ctanh_tonearest_test_data): Likewise.
3842 (ctanh_towardzero_test_data): Likewise.
3843 (ctanh_downward_test_data): Likewise.
3844 (ctanh_upward_test_data): Likewise.
3845 (erf_test_data): Likewise.
3846 (erfc_test_data): Likewise.
3847 (exp_test_data): Likewise.
3848 (exp_tonearest_test_data): Likewise.
3849 (exp_towardzero_test_data): Likewise.
3850 (exp_downward_test_data): Likewise.
3851 (exp_upward_test_data): Likewise.
3852 (exp10_test_data): Likewise.
3853 (exp2_test_data): Likewise.
3854 (expm1_test_data): Likewise.
3855 (fabs_test_data): Likewise.
3856 (fdim_test_data): Likewise.
3857 (finite_test_data): Likewise.
3858 (floor_test_data): Likewise.
3859 (fma_test_data): Likewise.
3860 (fma_towardzero_test_data): Likewise.
3861 (fma_downward_test_data): Likewise.
3862 (fma_upward_test_data): Likewise.
3863 (fmax_test_data): Likewise.
3864 (fmin_test_data): Likewise.
3865 (fmod_test_data): Likewise.
3866 (fpclassify_test_data): Likewise.
3867 (frexp_test_data): Likewise.
3868 (gamma_test_data): Likewise.
3869 (hypot_test_data): Likewise.
3870 (ilogb_test_data): Likewise.
3871 (isfinite_test_data): Likewise.
3872 (isgreater_test_data): Likewise.
3873 (isgreaterequal_test_data): Likewise.
3874 (isinf_test_data): Likewise.
3875 (isless_test_data): Likewise.
3876 (islessequal_test_data): Likewise.
3877 (islessgreater_test_data): Likewise.
3878 (isnan_test_data): Likewise.
3879 (isnormal_test_data): Likewise.
3880 (issignaling_test_data): Likewise.
3881 (isunordered_test_data): Likewise.
3882 (j0_test_data): Likewise.
3883 (j1_test_data): Likewise.
3884 (jn_test_data): Likewise.
3885 (ldexp_test_data): Likewise.
3886 (lgamma_test_data): Likewise.
3887 (lrint_test_data): Likewise.
3888 (lrint_tonearest_test_data): Likewise.
3889 (lrint_towardzero_test_data): Likewise.
3890 (lrint_downward_test_data): Likewise.
3891 (lrint_upward_test_data): Likewise.
3892 (llrint_test_data): Likewise.
3893 (llrint_tonearest_test_data): Likewise.
3894 (llrint_towardzero_test_data): Likewise.
3895 (llrint_downward_test_data): Likewise.
3896 (llrint_upward_test_data): Likewise.
3897 (log_test_data): Likewise.
3898 (log10_test_data): Likewise.
3899 (log1p_test_data): Likewise.
3900 (log2_test_data): Likewise.
3901 (logb_test_data): Likewise.
3902 (logb_downward_test_data): Likewise.
3903 (lround_test_data): Likewise.
3904 (llround_test_data): Likewise.
3905 (modf_test_data): Likewise.
3906 (nearbyint_test_data): Likewise.
3907 (nextafter_test_data): Likewise.
3908 (nexttoward_test_data): Likewise.
3909 (pow_test_data): Likewise.
3910 (pow_tonearest_test_data): Likewise.
3911 (pow_towardzero_test_data): Likewise.
3912 (pow_downward_test_data): Likewise.
3913 (pow_upward_test_data): Likewise.
3914 (remainder_test_data): Likewise.
3915 (remainder_tonearest_test_data): Likewise.
3916 (remainder_towardzero_test_data): Likewise.
3917 (remainder_downward_test_data): Likewise.
3918 (remainder_upward_test_data): Likewise.
3919 (remquo_test_data): Likewise.
3920 (rint_test_data): Likewise.
3921 (rint_tonearest_test_data): Likewise.
3922 (rint_towardzero_test_data): Likewise.
3923 (rint_downward_test_data): Likewise.
3924 (rint_upward_test_data): Likewise.
3925 (round_test_data): Likewise.
3926 (scalb_test_data): Likewise.
3927 (scalbn_test_data): Likewise.
3928 (scalbln_test_data): Likewise.
3929 (signbit_test_data): Likewise.
3930 (sin_test_data): Likewise.
3931 (sin_tonearest_test_data): Likewise.
3932 (sin_towardzero_test_data): Likewise.
3933 (sin_downward_test_data): Likewise.
3934 (sin_upward_test_data): Likewise.
3935 (sincos_test_data): Likewise.
3936 (sinh_test_data): Likewise.
3937 (sinh_tonearest_test_data): Likewise.
3938 (sinh_towardzero_test_data): Likewise.
3939 (sinh_downward_test_data): Likewise.
3940 (sinh_upward_test_data): Likewise.
3941 (sqrt_test_data): Likewise.
3942 (tan_test_data): Likewise.
3943 (tan_tonearest_test_data): Likewise.
3944 (tan_towardzero_test_data): Likewise.
3945 (tan_downward_test_data): Likewise.
3946 (tan_upward_test_data): Likewise.
3947 (tanh_test_data): Likewise.
3948 (tgamma_test_data): Likewise.
3949 (trunc_test_data): Likewise.
3950 (y0_test_data): Likewise.
3951 (y1_test_data): Likewise.
3952 (yn_test_data): Likewise.
3953 (significand_test_data): Likewise.
3955 * math/gen-libm-test.pl (@functions): Remove variable.
3956 (generate_testfile): Don't handle START and END lines.
3957 * math/libm-test.inc (START): New macro.
3959 (END_COMPLEX): Likewise.
3960 (acos_test): Use END macro without arguments.
3961 (acos_test_tonearest): Likewise.
3962 (acos_test_towardzero): Likewise.
3963 (acos_test_downward): Likewise.
3964 (acos_test_upward): Likewise.
3965 (acosh_test): Likewise.
3966 (asin_test): Likewise.
3967 (asin_test_tonearest): Likewise.
3968 (asin_test_towardzero): Likewise.
3969 (asin_test_downward): Likewise.
3970 (asin_test_upward): Likewise.
3971 (asinh_test): Likewise.
3972 (atan_test): Likewise.
3973 (atanh_test): Likewise.
3974 (atan2_test): Likewise.
3975 (cabs_test): Likewise.
3976 (cacos_test): Use END_COMPLEX macro without arguments.
3977 (cacosh_test): Likewise.
3978 (carg_test): Use END macro without arguments.
3979 (casin_test): Use END_COMPLEX macro without arguments.
3980 (casinh_test): Likewise.
3981 (catan_test): Likewise.
3982 (catanh_test): Likewise.
3983 (cbrt_test): Use END macro without arguments.
3984 (ccos_test): Use END_COMPLEX macro without arguments.
3985 (ccosh_test): Likewise.
3986 (ceil_test): Use END macro without arguments.
3987 (cexp_test): Use END_COMPLEX macro without arguments.
3988 (cimag_test): Use END macro without arguments.
3989 (clog_test): Use END_COMPLEX macro without arguments.
3990 (clog10_test): Likewise.
3991 (conj_test): Likewise.
3992 (copysign_test): Use END macro without arguments.
3993 (cos_test): Likewise.
3994 (cos_test_tonearest): Likewise.
3995 (cos_test_towardzero): Likewise.
3996 (cos_test_downward): Likewise.
3997 (cos_test_upward): Likewise.
3998 (cosh_test): Likewise.
3999 (cosh_test_tonearest): Likewise.
4000 (cosh_test_towardzero): Likewise.
4001 (cosh_test_downward): Likewise.
4002 (cosh_test_upward): Likewise.
4003 (cpow_test): Use END_COMPLEX macro without arguments.
4004 (cproj_test): Likewise.
4005 (creal_test): Use END macro without arguments.
4006 (csin_test): Use END_COMPLEX macro without arguments.
4007 (csinh_test): Likewise.
4008 (csqrt_test): Likewise.
4009 (ctan_test): Likewise.
4010 (ctan_test_tonearest): Likewise.
4011 (ctan_test_towardzero): Likewise.
4012 (ctan_test_downward): Likewise.
4013 (ctan_test_upward): Likewise.
4014 (ctanh_test): Likewise.
4015 (ctanh_test_tonearest): Likewise.
4016 (ctanh_test_towardzero): Likewise.
4017 (ctanh_test_downward): Likewise.
4018 (ctanh_test_upward): Likewise.
4019 (erf_test): Use END macro without arguments.
4020 (erfc_test): Likewise.
4021 (exp_test): Likewise.
4022 (exp_test_tonearest): Likewise.
4023 (exp_test_towardzero): Likewise.
4024 (exp_test_downward): Likewise.
4025 (exp_test_upward): Likewise.
4026 (exp10_test): Likewise.
4027 (exp2_test): Likewise.
4028 (expm1_test): Likewise.
4029 (fabs_test): Likewise.
4030 (fdim_test): Likewise.
4031 (finite_test): Likewise.
4032 (floor_test): Likewise.
4033 (fma_test): Likewise.
4034 (fma_test_towardzero): Likewise.
4035 (fma_test_downward): Likewise.
4036 (fma_test_upward): Likewise.
4037 (fmax_test): Likewise.
4038 (fmin_test): Likewise.
4039 (fmod_test): Likewise.
4040 (fpclassify_test): Likewise.
4041 (frexp_test): Likewise.
4042 (gamma_test): Likewise.
4043 (hypot_test): Likewise.
4044 (ilogb_test): Likewise.
4045 (isfinite_test): Likewise.
4046 (isgreater_test): Likewise.
4047 (isgreaterequal_test): Likewise.
4048 (isinf_test): Likewise.
4049 (isless_test): Likewise.
4050 (islessequal_test): Likewise.
4051 (islessgreater_test): Likewise.
4052 (isnan_test): Likewise.
4053 (isnormal_test): Likewise.
4054 (issignaling_test): Likewise.
4055 (isunordered_test): Likewise.
4056 (j0_test): Likewise.
4057 (j1_test): Likewise.
4058 (jn_test): Likewise.
4059 (ldexp_test): Likewise.
4060 (lgamma_test): Likewise.
4061 (lrint_test): Likewise.
4062 (lrint_test_tonearest): Likewise.
4063 (lrint_test_towardzero): Likewise.
4064 (lrint_test_downward): Likewise.
4065 (lrint_test_upward): Likewise.
4066 (llrint_test): Likewise.
4067 (llrint_test_tonearest): Likewise.
4068 (llrint_test_towardzero): Likewise.
4069 (llrint_test_downward): Likewise.
4070 (llrint_test_upward): Likewise.
4071 (log_test): Likewise.
4072 (log10_test): Likewise.
4073 (log1p_test): Likewise.
4074 (log2_test): Likewise.
4075 (logb_test): Likewise.
4076 (logb_test_downward): Likewise.
4077 (lround_test): Likewise.
4078 (llround_test): Likewise.
4079 (modf_test): Likewise.
4080 (nearbyint_test): Likewise.
4081 (nextafter_test): Likewise.
4082 (nexttoward_test): Likewise.
4083 (pow_test): Likewise.
4084 (pow_test_tonearest): Likewise.
4085 (pow_test_towardzero): Likewise.
4086 (pow_test_downward): Likewise.
4087 (pow_test_upward): Likewise.
4088 (remainder_test): Likewise.
4089 (remainder_test_tonearest): Likewise.
4090 (remainder_test_towardzero): Likewise.
4091 (remainder_test_downward): Likewise.
4092 (remainder_test_upward): Likewise.
4093 (remquo_test): Likewise.
4094 (rint_test): Likewise.
4095 (rint_test_tonearest): Likewise.
4096 (rint_test_towardzero): Likewise.
4097 (rint_test_downward): Likewise.
4098 (rint_test_upward): Likewise.
4099 (round_test): Likewise.
4100 (scalb_test): Likewise.
4101 (scalbn_test): Likewise.
4102 (scalbln_test): Likewise.
4103 (signbit_test): Likewise.
4104 (sin_test): Likewise.
4105 (sin_test_tonearest): Likewise.
4106 (sin_test_towardzero): Likewise.
4107 (sin_test_downward): Likewise.
4108 (sin_test_upward): Likewise.
4109 (sincos_test): Likewise.
4110 (sinh_test): Likewise.
4111 (sinh_test_tonearest): Likewise.
4112 (sinh_test_towardzero): Likewise.
4113 (sinh_test_downward): Likewise.
4114 (sinh_test_upward): Likewise.
4115 (sqrt_test): Likewise.
4116 (tan_test): Likewise.
4117 (tan_test_tonearest): Likewise.
4118 (tan_test_towardzero): Likewise.
4119 (tan_test_downward): Likewise.
4120 (tan_test_upward): Likewise.
4121 (tanh_test): Likewise.
4122 (tgamma_test): Likewise.
4123 (trunc_test): Likewise.
4124 (y0_test): Likewise.
4125 (y1_test): Likewise.
4126 (yn_test): Likewise.
4127 (significand_test): Likewise.
4129 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4132 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4134 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4137 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4138 __ppc_mdoio and __ppc_mdoom.
4139 * manual/platform.texi: Document new functions __ppc_yield,
4140 __ppc_mdoio and __ppc_mdoom.
4142 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4144 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4145 (main): Mention "tls" pseudo-hwcap is legacy.
4146 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4148 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4150 * math/gen-libm-test.pl (parse_args): Output only string of
4151 arguments as text for test name, not full call or descriptions of
4152 tests for extra outputs.
4153 (generate_testfile): Do not pass function name to parse_args.
4154 Generate this_func variable from START.
4155 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4157 (struct test_ff_f_data): Likewise.
4158 (test_ff_f_data_nexttoward): Likewise.
4159 (struct test_fi_f_data): Likewise.
4160 (struct test_fl_f_data): Likewise.
4161 (struct test_if_f_data): Likewise.
4162 (struct test_fff_f_data): Likewise.
4163 (struct test_c_f_data): Likewise.
4164 (struct test_f_f1_data): Likewise. Remove field extra_name.
4165 (struct test_fF_f1_data): Likewise.
4166 (struct test_ffI_f1_data): Likewise.
4167 (struct test_c_c_data): Rename test_name field to arg_str.
4168 (struct test_cc_c_data): Likewise.
4169 (struct test_f_i_data): Likewise.
4170 (struct test_ff_i_data): Likewise.
4171 (struct test_f_l_data): Likewise.
4172 (struct test_f_L_data): Likewise.
4173 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4175 (COMMON_TEST_SETUP): New macro.
4176 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4177 (COMMON_TEST_CLEANUP): Likewise.
4178 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4179 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4181 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4182 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4184 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4185 (RUN_TEST_fff_f): Take argument string. Call new setup and
4187 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4188 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4190 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4191 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4193 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4194 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4196 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4197 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4199 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4200 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4202 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4203 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4205 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4206 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4208 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4209 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4211 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4212 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4214 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4215 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4217 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4218 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4220 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4221 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4223 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4224 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4226 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4227 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4229 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4230 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4232 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4234 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4236 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4237 to _sifields.sigfault.
4238 (si_addr_lsb): Define new macro.
4239 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4243 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4246 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4248 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4250 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4253 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4255 * math/gen-libm-test.pl (parse_args): Do not include expected
4256 result in test name.
4257 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4259 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4260 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4261 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4264 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4266 * benchtests/Makefile: Sort function entries.
4268 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4269 tanh, asinh, acosh, atanh.
4270 * benchtests/acos-inputs: New file.
4271 * benchtests/acosh-inputs: New file.
4272 * benchtests/asin-inputs: New file.
4273 * benchtests/asinh-inputs: New file.
4274 * benchtests/atanh-inputs: New file.
4275 * benchtests/cosh-inputs: New file.
4276 * benchtests/log-inputs: New file.
4277 * benchtests/sinh-inputs: New file.
4278 * benchtests/tanh-inputs: New file.
4280 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4283 * posix/tst-getaddrinfo4.c: New test.
4284 * posix/Makefile (tests): Add it.
4286 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4289 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4290 when no services were used.
4291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4292 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4294 2013-05-21 Andreas Schwab <schwab@suse.de>
4297 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4298 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4300 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4301 redundant variable declarations and reallocation of buffer when
4302 parsing as IPv6 address. Always set NSS status when called from
4303 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4304 buffer too small. Correct computation of needed size.
4305 * nss/Makefile (tests): Add test-digits-dots.
4306 * nss/test-digits-dots.c: New test.
4308 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4310 * benchtests/Makefile: Remove instructions for adding
4312 * benchtests/README: New file to explain how to execute and
4313 enhance the benchmark tests.
4315 2013-05-21 Andreas Schwab <schwab@suse.de>
4318 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4319 * setjmp/tst-sigsetjmp.c: New test.
4321 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4323 * sysdeps/x86_64/memset.S (memset): New implementation.
4324 (__bzero): Likewise.
4325 (__memset_tail): New function.
4327 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4329 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4330 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4331 __memcpy_sse2_unaligned ifunc selection.
4332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4333 Add memcpy-sse2-unaligned.S.
4334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4335 Add: __memcpy_sse2_unaligned.
4337 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4340 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4341 math_force_eval before restoring floating-point envrionment.
4342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4345 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4347 (__nearbyintl): Use math_force_eval before restoring
4348 floating-point environment.
4349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4351 * math/gen-libm-test.pl (special_functions): Remove.
4352 (parse_args): Don't handle TEST_extra. Handle functions with no
4354 * math/libm-test.inc (struct test_sincos_data): Replace with
4355 struct test_fFF_11_data.
4356 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4357 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4358 (sincos_test_data): Change element type to struct
4359 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4360 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4361 RUN_TEST_LOOP_sincos.
4362 * math/README.libm-test: Don't mention special handling of
4363 individual functions.
4364 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4366 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4367 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4368 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4371 * math/gen-libm-test.pl (get_variable): Remove function.
4372 (parse_args): Don't show pointer parameters to call in test
4373 names. Use "extra output N" in test names for extra outputs
4374 rather than naming variables.
4376 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4379 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4380 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4381 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4383 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4385 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4388 * math/gen-libm-test.pl (@tests): Remove variable.
4390 (new_test): Remove function.
4391 (show_exceptions): New function.
4392 (special_functions): Use show_exceptions instead of new_test.
4393 (parse_args): Likewise.
4394 (generate_testfile): Pass only function name in generated call to
4395 print_max_error or print_complex_max_error.
4396 (get_ulps): Do not handle complex tests specially.
4397 (output_test): Rename to ...
4398 (get_all_ulps_for_test): ... this. Return a string rather than
4399 printing to a file. Require ulps to be present.
4400 (output_ulps): Generate arrays rather than #defines.
4401 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4402 (struct ulp_data): New type.
4403 (BUILD_COMPLEX_ULP): Remove macro.
4404 (compare_ulp_data): New function.
4405 (find_ulps): Likewise.
4406 (find_test_ulps): Likewise.
4407 (find_function_ulps): Likewise.
4408 (find_complex_function_ulps): Likewise.
4409 (print_max_error): Determine allowed ulps using
4411 (print_complex_max_error): Determine allowed ulps using
4412 find_complex_function_ulps.
4413 (check_float_internal): Determine max ulps using find_test_ulps.
4414 (check_float): Do not take max_ulp parameter. Update call to
4415 check_float_internal.
4416 (check_complex): Likewise.
4417 (check_int): Do not take max_ulp parameter.
4418 (check_long): Likewise.
4419 (check_bool): Likewise.
4420 (check_longlong): Likewise.
4421 (struct test_f_f_data): Remove max_ulp field.
4422 (struct test_ff_f_data): Likewise.
4423 (struct test_ff_f_data_nexttoward): Likewise.
4424 (struct test_fi_f_data): Likewise.
4425 (struct test_fl_f_data): Likewise.
4426 (struct test_if_f_data): Likewise.
4427 (struct test_fff_f_data): Likewise.
4428 (struct test_c_f_data): Likewise.
4429 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4430 (struct test_fF_f1_data): Likewise.
4431 (struct test_ffI_f1_data): Likewise.
4432 (struct test_c_c_data): Remove max_ulp field.
4433 (struct test_cc_c_data): Likewise.
4434 (struct test_f_i_data): Likewise.
4435 (struct test_ff_i_data): Likewise.
4436 (struct test_f_l_data): Likewise.
4437 (struct test_f_L_data): Likewise.
4438 (struct test_sincos_data): Likewise.
4439 (RUN_TEST_f_f): Do not handle ulps.
4440 (RUN_TEST_LOOP_f_f): Likewise.
4441 (RUN_TEST_2_f): Likewise.
4442 (RUN_TEST_LOOP_2_f): Likewise.
4443 (RUN_TEST_fff_f): Likewise.
4444 (RUN_TEST_LOOP_fff_f): Likewise.
4445 (RUN_TEST_c_f): Likewise.
4446 (RUN_TEST_LOOP_c_f): Likewise.
4447 (RUN_TEST_f_f1): Likewise.
4448 (RUN_TEST_LOOP_f_f1): Likewise.
4449 (RUN_TEST_fF_f1): Likewise.
4450 (RUN_TEST_LOOP_fF_f1): Likewise.
4451 (RUN_TEST_fI_f1): Likewise.
4452 (RUN_TEST_LOOP_fI_f1): Likewise.
4453 (RUN_TEST_ffI_f1): Likewise.
4454 (RUN_TEST_LOOP_ffI_f1): Likewise.
4455 (RUN_TEST_c_c): Likewise.
4456 (RUN_TEST_LOOP_c_c): Likewise.
4457 (RUN_TEST_cc_c): Likewise.
4458 (RUN_TEST_LOOP_cc_c): Likewise.
4459 (RUN_TEST_f_i): Likewise.
4460 (RUN_TEST_LOOP_f_i): Likewise.
4461 (RUN_TEST_f_i_tg): Likewise.
4462 (RUN_TEST_LOOP_f_i_tg): Likewise.
4463 (RUN_TEST_ff_i_tg): Likewise.
4464 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4465 (RUN_TEST_f_b): Likewise.
4466 (RUN_TEST_LOOP_f_b): Likewise.
4467 (RUN_TEST_f_b_tg): Likewise.
4468 (RUN_TEST_LOOP_f_b_tg): Likewise.
4469 (RUN_TEST_f_l): Likewise.
4470 (RUN_TEST_LOOP_f_l): Likewise.
4471 (RUN_TEST_f_L): Likewise.
4472 (RUN_TEST_LOOP_f_L): Likewise.
4473 (RUN_TEST_sincos): Likewise.
4474 (RUN_TEST_LOOP_sincos): Likewise.
4476 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4480 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4481 main case of finite arguments, set rounding mode to FE_TONEAREST
4482 and discard exceptions.
4483 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4485 (remainder_tonearest_test_data): New variable.
4486 (remainder_test_tonearest): New function.
4487 (remainder_towardzero_test_data): New variable.
4488 (remainder_test_towardzero): New function.
4489 (remainder_downward_test_data): New variable.
4490 (remainder_test_downward): New function.
4491 (remainder_upward_test_data): New variable.
4492 (remainder_test_upward): New function.
4493 (main): Call the new test functions.
4495 * math/libm-test.inc (struct test_f_f1_data): Remove field
4497 (struct test_fF_f1_data): Likewise.
4498 (struct test_ffI_f1_data): Likewise.
4499 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4500 based on value of EXTRA_EXPECTED.
4501 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4502 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4503 EXTRA_VAR based on value of EXTRA_EXPECTED.
4504 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4505 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4506 EXTRA_VAR based on value of EXTRA_EXPECTED.
4507 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4508 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4509 EXTRA_VAR based on value of EXTRA_EXPECTED.
4510 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4511 * math/gen-libm-test.pl (parse_args): Don't output initializers
4512 for extra output values.
4514 * math/libm-test.inc (check_int): Expect result to be exactly
4515 equal to expected value and do not handle ulps.
4516 (check_long): Likewise.
4517 (check_longlong): Likewise.
4519 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4521 (cimag_test_data): Likewise.
4522 (conj_test_data): Likewise.
4523 (copysign_test_data): Likewise.
4524 (cproj_test_data): Likewise.
4525 (creal_test_data): Likewise.
4526 (fabs_test_data): Likewise.
4527 (fdim_test_data): Likewise.
4528 (finite_test_data): Likewise.
4529 (floor_test_data): Likewise.
4530 (fmax_test_data): Likewise.
4531 (fmin_test_data): Likewise.
4532 (fmod_test_data): Likewise.
4533 (fpclassify_test_data): Likewise.
4534 (frexp_test_data): Likewise.
4535 (ilogb_test_data): Likewise.
4536 (isfinite_test_data): Likewise.
4537 (isgreater_test_data): Likewise.
4538 (isgreaterequal_test_data): Likewise.
4539 (isinf_test_data): Likewise.
4540 (isless_test_data): Likewise.
4541 (islessequal_test_data): Likewise.
4542 (islessgreater_test_data): Likewise.
4543 (isnan_test_data): Likewise.
4544 (isnormal_test_data): Likewise.
4545 (issignaling_test_data): Likewise.
4546 (isunordered_test_data): Likewise.
4547 (ldexp_test_data): Likewise.
4548 (lrint_test_data): Likewise.
4549 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4550 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4551 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4552 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4553 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4554 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4556 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4557 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4558 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4559 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4561 (lrint_downward_test_data): Test for "inexact" exceptions.
4562 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4563 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4564 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4566 (lrint_upward_test_data): Test for "inexact" exceptions.
4567 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4569 (llrint_test_data): Test for "inexact" exceptions.
4570 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4571 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4572 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4573 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4574 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4575 (llrint_downward_test_data): Test for "inexact" exceptions.
4576 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4577 (llrint_upward_test_data): Test for "inexact" exceptions.
4578 (logb_test_data): Likewise.
4579 (logb_downward_test_data): Likewise.
4580 (nextafter_test_data): Likewise.
4581 (nexttoward_test_data): Likewise.
4582 (remainder_test_data): Likewise.
4583 (remquo_test_data): Likewise.
4584 (scalbn_test_data): Likewise.
4585 (scalbln_test_data): Likewise.
4586 (signbit_test_data): Likewise.
4587 (sqrt_test_data): Likewise.
4588 (significand_test_data): Likewise.
4590 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4593 * benchtests/bench-modf.c (struct args): Mark arg0 as
4595 * scripts/bench.pl: Mark members of struct args as volatile.
4597 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4600 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4601 negative infinity on POWER6 or lower.
4602 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4604 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4607 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4608 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4609 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4610 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4611 (_FP_SETQNAN): New macro.
4612 (_FP_SETQNAN_SEMIRAW): Likewise.
4613 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4614 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4615 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4616 (FP_EXTEND): Use _FP_FRAC_SNANP.
4617 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4618 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4620 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4622 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4625 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4627 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4628 with DIVIDE_BY_ZERO_EXCEPTION.
4629 (gamma_test_data): Likewise.
4630 (lgamma_test_data): Likewise.
4631 (log_test_data): Likewise.
4632 (log10_test_data): Likewise.
4633 (log2_test_data): Likewise.
4634 (tgamma_test_data): Likewise.
4636 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4637 (acos_test_tonearest): Likewise.
4638 (acos_test_towardzero): Likewise.
4639 (acos_test_downward): Likewise.
4640 (acos_test_upward): Likewise.
4641 (acosh_test): Likewise.
4642 (asin_test): Likewise.
4643 (asin_test_tonearest): Likewise.
4644 (asin_test_towardzero): Likewise.
4645 (asin_test_downward): Likewise.
4646 (asin_test_upward): Likewise.
4647 (asinh_test): Likewise.
4648 (atan_test): Likewise.
4649 (atanh_test): Likewise.
4650 (atan2_test): Likewise.
4651 (cabs_test): Likewise.
4652 (cacos_test): Likewise.
4653 (cacosh_test): Likewise.
4654 (casin_test): Likewise.
4655 (casinh_test): Likewise.
4656 (catan_test): Likewise.
4657 (catanh_test): Likewise.
4658 (cbrt_test): Likewise.
4659 (ccos_test): Likewise.
4660 (ccosh_test): Likewise.
4661 (cexp_test): Likewise.
4662 (clog_test): Likewise.
4663 (clog10_test): Likewise.
4664 (cos_test): Likewise.
4665 (cos_test_tonearest): Likewise.
4666 (cos_test_towardzero): Likewise.
4667 (cos_test_downward): Likewise.
4668 (cos_test_upward): Likewise.
4669 (cosh_test): Likewise.
4670 (cosh_test_tonearest): Likewise.
4671 (cosh_test_towardzero): Likewise.
4672 (cosh_test_downward): Likewise.
4673 (cosh_test_upward): Likewise.
4674 (cpow_test): Likewise.
4675 (csin_test): Likewise.
4676 (csinh_test): Likewise.
4677 (csqrt_test): Likewise.
4678 (ctan_test): Likewise.
4679 (ctan_test_tonearest): Likewise.
4680 (ctan_test_towardzero): Likewise.
4681 (ctan_test_downward): Likewise.
4682 (ctan_test_upward): Likewise.
4683 (ctanh_test): Likewise.
4684 (ctanh_test_tonearest): Likewise.
4685 (ctanh_test_towardzero): Likewise.
4686 (ctanh_test_downward): Likewise.
4687 (ctanh_test_upward): Likewise.
4688 (erf_test): Likewise.
4689 (erfc_test): Likewise.
4690 (exp_test): Likewise.
4691 (exp_test_tonearest): Likewise.
4692 (exp_test_towardzero): Likewise.
4693 (exp_test_downward): Likewise.
4694 (exp_test_upward): Likewise.
4695 (exp10_test): Likewise.
4696 (exp2_test): Likewise.
4697 (expm1_test): Likewise.
4698 (fmod_test): Likewise.
4699 (gamma_test): Likewise.
4700 (hypot_test): Likewise.
4701 (j0_test): Likewise.
4702 (j1_test): Likewise.
4703 (jn_test): Likewise.
4704 (lgamma_test): Likewise.
4705 (log_test): Likewise.
4706 (log10_test): Likewise.
4707 (log1p_test): Likewise.
4708 (log2_test): Likewise.
4709 (logb_test_downward): Likewise.
4710 (pow_test): Likewise.
4711 (pow_test_tonearest): Likewise.
4712 (pow_test_towardzero): Likewise.
4713 (pow_test_downward): Likewise.
4714 (pow_test_upward): Likewise.
4715 (remainder_test): Likewise.
4716 (remquo_test): Likewise.
4717 (sin_test): Likewise.
4718 (sin_test_tonearest): Likewise.
4719 (sin_test_towardzero): Likewise.
4720 (sin_test_downward): Likewise.
4721 (sin_test_upward): Likewise.
4722 (sincos_test): Likewise.
4723 (sinh_test): Likewise.
4724 (sinh_test_tonearest): Likewise.
4725 (sinh_test_towardzero): Likewise.
4726 (sinh_test_downward): Likewise.
4727 (sinh_test_upward): Likewise.
4728 (sqrt_test): Likewise.
4729 (tan_test): Likewise.
4730 (tan_test_tonearest): Likewise.
4731 (tan_test_towardzero): Likewise.
4732 (tan_test_downward): Likewise.
4733 (tan_test_upward): Likewise.
4734 (tanh_test): Likewise.
4735 (tgamma_test): Likewise.
4736 (y0_test): Likewise.
4737 (y1_test): Likewise.
4738 (yn_test): Likewise.
4740 * math/gen-libm-test.pl (adjust_arg): Remove function.
4741 (special_function): Remove argument $in_func. Only handle
4742 generating output for tables of tests, not inside functions.
4743 (parse_args): Likewise.
4744 (generate_testfile): Remove variable $in_func. Update call to
4746 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4747 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4748 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4749 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4750 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4751 (MAX_VALUE_INIT): Rename macro to max_value.
4752 (MIN_VALUE_INIT): Rename macro to min_value.
4753 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4754 (plus_zero): Remove variable.
4755 (minus_zero): Likewise.
4756 (plus_infty): Likewise.
4757 (minus_infty): Likewise.
4758 (qnan_value): Likewise.
4759 (max_value): Likewise.
4760 (min_value): Likewise.
4761 (min_subnorm_value): Likewise.
4763 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4765 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4766 uint64_t or uint32_t usage.
4767 * crypt/sha256-block.c: Likewise.
4768 * crypt/sha256-crypt.c: Likewise.
4769 * crypt/sha256.c: Likewise.
4770 * crypt/sha512-block.c: Likewise.
4771 * crypt/sha512-crypt.c: Likewise.
4772 * crypt/sha512.c: Likewise.
4773 * debug/backtrace-tst.c: Likewise.
4774 * debug/pcprofiledump.c: Likewise.
4775 * elf/cache.c: Likewise.
4776 * elf/dl-cache.c: Likewise.
4777 * elf/dl-misc.c: Likewise.
4778 * elf/dl-profile.c: Likewise.
4779 * elf/dl-support.c: Likewise.
4780 * elf/ldconfig.c: Likewise.
4781 * elf/sprof.c: Likewise.
4782 * iconv/dummy-repertoire.c: Likewise.
4783 * iconv/iconv_charmap.c: Likewise.
4784 * iconv/skeleton.c: Likewise.
4785 * iconvdata/8bit-generic.c: Likewise.
4786 * iconvdata/cp737.h: Likewise.
4787 * iconvdata/cp775.h: Likewise.
4788 * iconvdata/ibm1008.h: Likewise.
4789 * iconvdata/ibm1025.h: Likewise.
4790 * iconvdata/ibm1046.h: Likewise.
4791 * iconvdata/ibm1097.h: Likewise.
4792 * iconvdata/ibm1112.h: Likewise.
4793 * iconvdata/ibm1122.h: Likewise.
4794 * iconvdata/ibm1123.h: Likewise.
4795 * iconvdata/ibm1124.h: Likewise.
4796 * iconvdata/ibm1129.h: Likewise.
4797 * iconvdata/ibm1130.h: Likewise.
4798 * iconvdata/ibm1132.h: Likewise.
4799 * iconvdata/ibm1133.h: Likewise.
4800 * iconvdata/ibm1137.h: Likewise.
4801 * iconvdata/ibm1140.h: Likewise.
4802 * iconvdata/ibm1141.h: Likewise.
4803 * iconvdata/ibm1142.h: Likewise.
4804 * iconvdata/ibm1143.h: Likewise.
4805 * iconvdata/ibm1144.h: Likewise.
4806 * iconvdata/ibm1145.h: Likewise.
4807 * iconvdata/ibm1146.h: Likewise.
4808 * iconvdata/ibm1147.h: Likewise.
4809 * iconvdata/ibm1148.h: Likewise.
4810 * iconvdata/ibm1149.h: Likewise.
4811 * iconvdata/ibm1153.h: Likewise.
4812 * iconvdata/ibm1154.h: Likewise.
4813 * iconvdata/ibm1155.h: Likewise.
4814 * iconvdata/ibm1156.h: Likewise.
4815 * iconvdata/ibm1157.h: Likewise.
4816 * iconvdata/ibm1158.h: Likewise.
4817 * iconvdata/ibm1160.h: Likewise.
4818 * iconvdata/ibm1161.h: Likewise.
4819 * iconvdata/ibm1162.h: Likewise.
4820 * iconvdata/ibm1163.h: Likewise.
4821 * iconvdata/ibm1164.h: Likewise.
4822 * iconvdata/ibm1166.h: Likewise.
4823 * iconvdata/ibm1167.h: Likewise.
4824 * iconvdata/ibm12712.h: Likewise.
4825 * iconvdata/ibm1390.h: Likewise.
4826 * iconvdata/ibm1399.h: Likewise.
4827 * iconvdata/ibm16804.h: Likewise.
4828 * iconvdata/ibm4517.h: Likewise.
4829 * iconvdata/ibm4899.h: Likewise.
4830 * iconvdata/ibm4909.h: Likewise.
4831 * iconvdata/ibm4971.h: Likewise.
4832 * iconvdata/ibm5347.h: Likewise.
4833 * iconvdata/ibm803.h: Likewise.
4834 * iconvdata/ibm856.h: Likewise.
4835 * iconvdata/ibm901.h: Likewise.
4836 * iconvdata/ibm902.h: Likewise.
4837 * iconvdata/ibm9030.h: Likewise.
4838 * iconvdata/ibm9066.h: Likewise.
4839 * iconvdata/ibm921.h: Likewise.
4840 * iconvdata/ibm922.h: Likewise.
4841 * iconvdata/ibm9448.h: Likewise.
4842 * iconvdata/isiri-3342.h: Likewise.
4843 * iconvdata/jis0201.h: Likewise.
4844 * include/link.h: Likewise.
4845 * include/netdb.h: Likewise.
4846 * inet/check_native.c: Likewise.
4847 * inet/check_pf.c: Likewise.
4848 * inet/getipv4sourcefilter.c: Likewise.
4849 * inet/getnameinfo.c: Likewise.
4850 * inet/getsourcefilter.c: Likewise.
4851 * inet/htonl.c: Likewise.
4852 * inet/setipv4sourcefilter.c: Likewise.
4853 * inet/setsourcefilter.c: Likewise.
4854 * inet/test-inet6_opt.c: Likewise.
4855 * inet/tst-network.c: Likewise.
4856 * locale/C-collate.c: Likewise.
4857 * locale/C-ctype.c: Likewise.
4858 * locale/C-time.c: Likewise.
4859 * locale/C-translit.h: Likewise.
4860 * locale/loadarchive.c: Likewise.
4861 * locale/programs/3level.h: Likewise.
4862 * locale/programs/charmap.c: Likewise.
4863 * locale/programs/charmap.h: Likewise.
4864 * locale/programs/ld-address.c: Likewise.
4865 * locale/programs/ld-collate.c: Likewise.
4866 * locale/programs/ld-ctype.c: Likewise.
4867 * locale/programs/ld-identification.c: Likewise.
4868 * locale/programs/ld-measurement.c: Likewise.
4869 * locale/programs/ld-messages.c: Likewise.
4870 * locale/programs/ld-monetary.c: Likewise.
4871 * locale/programs/ld-name.c: Likewise.
4872 * locale/programs/ld-numeric.c: Likewise.
4873 * locale/programs/ld-paper.c: Likewise.
4874 * locale/programs/ld-telephone.c: Likewise.
4875 * locale/programs/ld-time.c: Likewise.
4876 * locale/programs/linereader.c: Likewise.
4877 * locale/programs/locale.c: Likewise.
4878 * locale/programs/locarchive.c: Likewise.
4879 * locale/programs/locfile.h: Likewise.
4880 * locale/programs/repertoire.c: Likewise.
4881 * locale/programs/simple-hash.c: Likewise.
4882 * locale/programs/simple-hash.h: Likewise.
4883 * malloc/memusage.c: Likewise.
4884 * malloc/memusagestat.c: Likewise.
4885 * nis/nis_defaults.c: Likewise.
4886 * nis/nis_hash.c: Likewise.
4887 * nis/nis_print.c: Likewise.
4888 * nis/nis_xdr.c: Likewise.
4889 * nscd/connections.c: Likewise.
4890 * nscd/hstcache.c: Likewise.
4891 * nscd/nscd_gethst_r.c: Likewise.
4892 * nscd/nscd_getserv_r.c: Likewise.
4893 * nscd/nscd_helper.c: Likewise.
4894 * nscd/servicescache.c: Likewise.
4895 * nss/makedb.c: Likewise.
4896 * nss/nss_db/db-XXX.c: Likewise.
4897 * nss/nss_db/db-initgroups.c: Likewise.
4898 * nss/nss_db/db-netgrp.c: Likewise.
4899 * nss/nss_files/files-network.c: Likewise.
4900 * nss/nss_files/files-parse.c: Likewise.
4901 * posix/bug-regex5.c: Likewise.
4902 * posix/fnmatch_loop.c: Likewise.
4903 * posix/regcomp.c: Likewise.
4904 * posix/regexec.c: Likewise.
4905 * posix/tst-rfc3484-2.c: Likewise.
4906 * posix/tst-rfc3484-3.c: Likewise.
4907 * posix/tst-rfc3484.c: Likewise.
4908 * resolv/nss_dns/dns-canon.c: Likewise.
4909 * resolv/nss_dns/dns-network.c: Likewise.
4910 * resolv/res_init.c: Likewise.
4911 * resolv/res_mkquery.c: Likewise.
4912 * resolv/tst-aton.c: Likewise.
4913 * stdlib/cxa_atexit.c: Likewise.
4914 * stdlib/cxa_finalize.c: Likewise.
4915 * stdlib/gen-fpioconst.c: Likewise.
4916 * stdlib/strtol_l.c: Likewise.
4917 * string/tst-endian.c: Likewise.
4918 * sunrpc/auth_des.c: Likewise.
4919 * sunrpc/clnt_udp.c: Likewise.
4920 * sunrpc/rtime.c: Likewise.
4921 * sunrpc/svcauth_des.c: Likewise.
4922 * sunrpc/xdr.c: Likewise.
4923 * sunrpc/xdr_intXX_t.c: Likewise.
4924 * sunrpc/xdr_rec.c: Likewise.
4925 * sysdeps/generic/ldconfig.h: Likewise.
4926 * sysdeps/generic/ldsodefs.h: Likewise.
4927 * sysdeps/generic/memusage.h: Likewise.
4928 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4938 * sysdeps/posix/getaddrinfo.c: Likewise.
4939 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4940 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4941 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4942 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4943 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4944 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4945 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4946 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4947 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4949 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4950 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4951 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4952 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4954 * sysdeps/x86_64/dl-tls.h: Likewise.
4955 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4956 * time/alt_digit.c: Likewise.
4957 * time/era.c: Likewise.
4958 * wcsmbs/tst-c16c32-1.c: Likewise.
4960 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4962 * math/libm-test.inc (struct test_sincos_data): New type.
4963 (RUN_TEST_LOOP_sincos): New macro.
4964 (sincos_test_data): New variable.
4965 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4967 2013-05-16 Richard Henderson <rth@redhat.com>
4969 * math/atest-exp2.c (LIMB64): New macro.
4970 (CONSTSZ): New macro.
4971 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4973 (print_mpn_fp): ... to function scope.
4974 (read_mpn_hex): Remove.
4976 (exp2_mpn): Use mp_log2.
4977 (main): Use mp_exp1.
4979 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4981 * math/libm-test.inc: Remove comment about not testing "inexact"
4983 (INEXACT_EXCEPTION): New macro.
4984 (NO_INEXACT_EXCEPTION): Likewise.
4985 (INVALID_EXCEPTION_OK): Update value.
4986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4987 (OVERFLOW_EXCEPTION_OK): Likewise.
4988 (UNDERFLOW_EXCEPTION_OK): Likewise.
4989 (IGNORE_ZERO_INF_SIGN): Likewise.
4990 (ERRNO_UNCHANGED): Likewise.
4991 (ERRNO_EDOM): Likewise.
4992 (ERRNO_ERANGE): Likewise.
4993 (test_exceptions): Handle testing "inexact" exceptions.
4994 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4995 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4996 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4997 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4999 (rint_towardzero_test_data): Likewise.
5000 (rint_downward_test_data): Likewise.
5001 (rint_upward_test_data): Likewise.
5003 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5004 with OVERFLOW_EXCEPTION.
5005 (exp10_test_data): Likewise.
5006 (exp2_test_data): Likewise.
5007 (expm1_test_data): Likewise.
5008 (lgamma_test_data): Likewise.
5009 (pow_test_data): Likewise.
5010 (tgamma_test_data): Likewise.
5011 (yn_test_data): Remove duplicate test of overflow.
5013 * math/libm-test.inc (struct test_cc_c_data): New type.
5014 (RUN_TEST_LOOP_cc_c): New macro.
5015 (cpow_test_data): New variable.
5016 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5018 * math/libm-test.inc (struct test_f_L_data): New type.
5019 (RUN_TEST_LOOP_f_L): New macro.
5020 (llrint_test_data): New variable.
5021 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5022 (llrint_tonearest_test_data): New variable.
5023 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5024 (llrint_towardzero_test_data): New variable.
5025 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5026 (llrint_downward_test_data): New variable.
5027 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5028 (llrint_upward_test_data): New variable.
5029 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5030 (llround_test_data): New variable.
5031 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5033 2013-05-13 Peter Collingbourne <pcc@google.com>
5035 * math/atest-exp2.c (get_log2): Remove const attribute.
5037 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5039 * math/libm-test.inc (struct test_f_l_data): New type.
5040 (RUN_TEST_LOOP_f_l): New macro.
5041 (lrint_test_data): New variable.
5042 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5043 (lrint_tonearest_test_data): New variable.
5044 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5045 (lrint_towardzero_test_data): New variable.
5046 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5047 (lrint_downward_test_data): New variable.
5048 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5049 (lrint_upward_test_data): New variable.
5050 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5051 (lround_test_data): New variable.
5052 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5054 2013-05-15 Peter Collingbourne <pcc@google.com>
5056 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5057 (EXTRACT_WORDS64) Use where appropriate.
5058 (INSERT_WORDS64) Likewise.
5060 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5061 constraints with x constraints.
5062 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5064 * malloc/obstack.c (_obstack_compat): Add initializer.
5066 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5068 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5069 si_trapno and add si_addr_lsb to _sifields.sigfault.
5070 (si_trapno): Remove macro.
5071 (si_addr_lsb): Define new macro.
5072 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5074 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5076 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5077 instead of TEST_f_l.
5078 (llrint_test_tonearest): Likewise.
5079 (llrint_test_towardzero): Likewise.
5080 (llrint_test_downward): Likewise.
5081 (llrint_test_upward): Likewise.
5082 (llround_test): Likewise.
5084 * math/libm-test.inc (struct test_f_i_data): Add comment.
5085 (RUN_TEST_LOOP_f_b): New macro.
5086 (RUN_TEST_LOOP_f_b_tg): Likewise.
5087 (finite_test_data): New variable.
5088 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5089 (isfinite_test_data): New variable.
5090 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5091 (isinf_test_data): New variable.
5092 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5093 (isnan_test_data): New variable.
5094 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5095 (isnormal_test_data): New variable.
5096 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5097 (issignaling_test_data): New variable.
5098 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5099 (signbit_test_data): New variable.
5100 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5102 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5103 with INVALID_EXCEPTION.
5104 (acosh_test_data): Likewise.
5105 (asin_test_data): Likewise.
5106 (atanh_test_data): Likewise.
5107 (fmod_test_data): Likewise.
5108 (log_test_data): Likewise.
5109 (log10_test_data): Likewise.
5110 (log2_test_data): Likewise.
5111 (pow_test_data): Likewise.
5112 (sqrt_test_data): Likewise.
5113 (y0_test_data): Likewise.
5114 (y1_test_data): Likewise.
5115 (yn_test_data): Likewise.
5117 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5120 * math/libm-test.inc (struct test_ff_i_data): New type.
5121 (RUN_TEST_LOOP_ff_i_tg): New macro.
5122 (isgreater_test_data): New variable.
5123 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5124 (isgreaterequal_test_data): New variable.
5125 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5126 (isless_test_data): New variable.
5127 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5128 (islessequal_test_data): New variable.
5129 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5130 (islessgreater_test_data): New variable.
5131 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5132 (isunordered_test_data): New variable.
5133 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5135 2013-05-14 David S. Miller <davem@davemloft.net>
5137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5139 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5141 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5143 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5145 (struct test_f_i_data): Change type of max_ulp to int.
5147 * math/libm-test.inc (test_ffI_f1_data): New type.
5148 (RUN_TEST_LOOP_ffI_f1): New macro.
5149 (remquo_test_data): New variable.
5150 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5152 * setjmp/tst-setjmp-fp.c: New file.
5153 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5154 (link-libm): New variable.
5155 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5157 * math/libm-test.inc (struct test_f_i_data): New type.
5158 (RUN_TEST_LOOP_f_i): New macro.
5159 (RUN_TEST_LOOP_f_i_tg): Likewise.
5160 (fpclassify_test_data): New variable.
5161 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5162 (ilogb_test_data): New variable.
5163 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5165 * math/libm-test.inc (scalbln_test): Correct function name in END
5168 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5169 (RUN_TEST_LOOP_fI_f1): New macro.
5170 (frexp_test_data): New variable.
5171 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5173 * math/libm-test.inc (struct test_fF_f1_data): New type.
5174 (RUN_TEST_LOOP_fF_f1): New macro.
5175 (modf_test_data): New variable.
5176 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5178 * math/libm-test.inc (struct test_f_f1_data): New type.
5179 (RUN_TEST_LOOP_f_f1): New macro.
5180 (gamma_test_data): New variable.
5181 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5182 (lgamma_test_data): New variable.
5183 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5185 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5187 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5188 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5189 (main): Comment "tls" pseudo-hwcap.
5191 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5193 * math/libm-test.inc (struct test_fl_f_data): New type.
5194 (RUN_TEST_LOOP_fl_f): New variable.
5195 (scalbln_test_data): New variable.
5196 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5198 * math/libm-test.inc (struct test_fi_f_data): New type.
5199 (RUN_TEST_LOOP_fi_f): New macro.
5200 (ldexp_test_data): New variable.
5201 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5202 (scalbn_test_data): New variable.
5203 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5205 * math/libm-test.inc (struct test_c_f_data): New type.
5206 (RUN_TEST_LOOP_c_f): New macro.
5207 (cabs_test_data): New variable.
5208 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5209 (carg_test_data): New variable.
5210 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5211 (cimag_test_data): New variable.
5212 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5213 (creal_test_data): New variable.
5214 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5216 * math/libm-test.inc (struct test_if_f_data): New type.
5217 (RUN_TEST_LOOP_if_f): New macro.
5218 (jn_test_data): New variable.
5219 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5220 (yn_test_data): New variable.
5221 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5223 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5225 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5227 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5228 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5230 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5232 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5233 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5234 (bench-deps): Add bench-timing.h.
5235 * benchtests-bench-skeleton.c: Include bench-timing.h.
5236 (main): Use TIMING_* macros instead of clock_gettime.
5237 * benchtests/bench-timing.h: New file.
5240 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5241 Renamed from _LIB_VERSION.
5242 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5244 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5246 * math/libm-test.inc (struct test_fff_f_data): New type.
5247 (RUN_TEST_LOOP_fff_f): New macro.
5248 (fma_test_data): New variable.
5249 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5250 (fma_towardzero_test_data): New variable.
5251 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5252 (fma_downward_test_data): New variable.
5253 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5254 (fma_upward_test_data): New variable.
5255 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5257 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5258 (struct test_c_c_data): New type.
5259 (RUN_TEST_LOOP_c_c): New macro.
5260 (cacos_test_data): New variable.
5261 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5262 (cacosh_test_data): New variable.
5263 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5264 (casin_test_data): New variable.
5265 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5266 (casinh_test_data): New variable.
5267 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5268 (catan_test_data): New variable.
5269 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5270 (catanh_test_data): New variable.
5271 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5272 (ccos_test_data): New variable.
5273 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5274 (ccosh_test_data): New variable.
5275 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5276 (cexp_test_data): New variable.
5277 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5278 (clog_test_data): New variable.
5279 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5280 (clog10_test_data): New variable.
5281 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5282 (conj_test_data): New variable.
5283 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5284 (cproj_test_data): New variable.
5285 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5286 (csin_test_data): New variable.
5287 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5288 (csinh_test_data): New variable.
5289 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5290 (csqrt_test_data): New variable.
5291 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5292 (ctan_test_data): New variable.
5293 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5294 (ctan_tonearest_test_data): New variable.
5295 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5296 (ctan_towardzero_test_data): New variable.
5297 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5298 (ctan_downward_test_data): New variable.
5299 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5300 (ctan_upward_test_data): New variable.
5301 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5302 (ctanh_test_data): New variable.
5303 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5304 (ctanh_tonearest_test_data): New variable.
5305 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5306 (ctanh_towardzero_test_data): New variable.
5307 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5308 (ctanh_downward_test_data): New variable.
5309 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5310 (ctanh_upward_test_data): New variable.
5311 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5312 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5315 * math/libm-test.inc (struct test_ff_f_data): New type.
5316 (struct test_ff_f_data_nexttoward): Likewise.
5317 (RUN_TEST_LOOP_2_f): New macro.
5318 (RUN_TEST_LOOP_ff_f): Likewise.
5319 (atan2_test_data): New variable.
5320 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5321 (copysign_test_data): New variable.
5322 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5323 (fdim_test_data): New variable.
5324 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5325 (fmax_test_data): New variable.
5326 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5327 (fmin_test_data): New variable.
5328 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5329 (fmod_test_data): New variable.
5330 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5331 (hypot_test_data): New variable.
5332 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5333 (nextafter_test_data): New variable.
5334 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5335 (nexttoward_test_data): New variable.
5336 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5337 (pow_test_data): New variable.
5338 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5339 (pow_tonearest_test_data): New variable.
5340 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5341 (pow_towardzero_test_data): New variable.
5342 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5343 (pow_downward_test_data): New variable.
5344 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5345 (pow_upward_test_data): New variable.
5346 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5347 (remainder_test_data): New variable.
5348 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5349 (scalb_test_data): New variable.
5350 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5351 * sysdeps/i386/fpu/libm-test-ulps: Update.
5353 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5355 * math/libm-test.inc (fma_test): Use max_value instead of local
5357 (nextafter_test): Likewise.
5359 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5360 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5361 (acos_downward_test_data): New variable.
5362 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5363 (acos_upward_test_data): New variable.
5364 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5365 (acosh_test_data): New variable.
5366 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5367 (asin_test_data): New variable.
5368 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5369 (asin_tonearest_test_data): New variable.
5370 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5371 (asin_towardzero_test_data): New variable.
5372 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5373 (asin_downward_test_data): New variable.
5374 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5375 (asin_upward_test_data): New variable.
5376 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5377 (asinh_test_data): New variable.
5378 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5379 (atan_test_data): New variable.
5380 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5381 (atanh_test_data): New variable.
5382 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5383 (cbrt_test_data): New variable.
5384 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5385 (ceil_test_data): New variable.
5386 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5387 (cos_test_data): New variable.
5388 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5389 (cos_tonearest_test_data): New variable.
5390 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5391 (cos_towardzero_test_data): New variable.
5392 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5393 (cos_downward_test_data): New variable.
5394 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5395 (cos_upward_test_data): New variable.
5396 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5397 (cosh_test_data): New variable.
5398 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5399 (cosh_tonearest_test_data): New variable.
5400 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5401 (cosh_towardzero_test_data): New variable.
5402 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5403 (cosh_downward_test_data): New variable.
5404 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5405 (cosh_upward_test_data): New variable.
5406 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5407 (erf_test_data): New variable.
5408 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5409 (erfc_test_data): New variable.
5410 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5411 (exp_test_data): New variable.
5412 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5413 (exp_tonearest_test_data): New variable.
5414 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5415 (exp_towardzero_test_data): New variable.
5416 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5417 (exp_downward_test_data): New variable.
5418 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5419 (exp_upward_test_data): New variable.
5420 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5421 (exp10_test_data): New variable.
5422 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5423 (exp2_test_data): New variable.
5424 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5425 (expm1_test_data): New variable.
5426 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5427 (fabs_test_data): New variable.
5428 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5429 (floor_test_data): New variable.
5430 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5431 (j0_test_data): New variable.
5432 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5433 (j1_test_data): New variable.
5434 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5435 (log_test_data): New variable.
5436 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5437 (log10_test_data): New variable.
5438 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5439 (log1p_test_data): New variable.
5440 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5441 (log2_test_data): New variable.
5442 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5443 (logb_test_data): New variable.
5444 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5445 (logb_downward_test_data): New variable.
5446 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5447 (nearbyint_test_data): New variable.
5448 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5449 (rint_test_data): New variable.
5450 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5451 (rint_tonearest_test_data): New variable.
5452 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5453 (rint_towardzero_test_data): New variable.
5454 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5455 (rint_downward_test_data): New variable.
5456 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5457 (rint_upward_test_data): New variable.
5458 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5459 (round_test_data): New variable.
5460 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5461 (sin_test_data): New variable.
5462 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5463 (sin_tonearest_test_data): New variable.
5464 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5465 (sin_towardzero_test_data): New variable.
5466 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5467 (sin_downward_test_data): New variable.
5468 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5469 (sin_upward_test_data): New variable.
5470 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5471 (sinh_test_data): New variable.
5472 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5473 (sinh_tonearest_test_data): New variable.
5474 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5475 (sinh_towardzero_test_data): New variable.
5476 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5477 (sinh_downward_test_data): New variable.
5478 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5479 (sinh_upward_test_data): New variable.
5480 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5481 (sqrt_test_data): New variable.
5482 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5483 (tan_test_data): New variable.
5484 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5485 (tan_tonearest_test_data): New variable.
5486 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5487 (tan_towardzero_test_data): New variable.
5488 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5489 (tan_downward_test_data): New variable.
5490 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5491 (tan_upward_test_data): New variable.
5492 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5493 (tanh_test_data): New variable.
5494 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5495 (tgamma_test_data): New variable.
5496 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5497 (trunc_test_data): New variable.
5498 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5499 (y0_test_data): New variable.
5500 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5501 (y1_test_data): New variable.
5502 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5503 (significand_test_data): New variable.
5504 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5506 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5509 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5511 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5513 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5515 2013-05-10 Andreas Jaeger <aj@suse.de>
5518 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5519 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5521 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5523 * math/gen-libm-test.pl (adjust_arg): New function.
5524 (special_functions): Handle generating output in both functions
5526 (parse_args): Likewise.
5527 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5528 $in_func argument to parse_args.
5529 * math/libm-test.inc (struct test_f_f_data): New type.
5530 (IF_ROUND_INIT_): New macro.
5531 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5532 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5533 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5534 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5535 (ROUND_RESTORE_): Likewise.
5536 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5537 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5538 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5539 (ROUND_RESTORE_FE_UPWARD): Likewise.
5540 (RUN_TEST_LOOP_f_f): New macro.
5541 (acos_test_data): New variable.
5542 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5543 (acos_tonearest_test_data): New variable.
5544 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5546 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5548 * benchtests/bench-skeleton.c (startup): Fix coding style.
5550 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5553 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5554 negative infinity argument.
5555 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5556 negative infinity argument.
5557 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5558 negative infinity argument.
5559 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5562 2013-05-10 Florian Weimer <fweimer@redhat.com>
5564 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5565 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5566 * iconv/iconv_prog.c (main): Likewise.
5567 * locale/programs/charmap-dir.c (charmap_readdir)
5568 (fopen_uncompressed): Likewise.
5569 * locale/programs/locfile.c (siblings_uncached)
5570 (write_locale_data): Use lstat64 instead of lstat.
5571 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5574 2013-05-10 Andreas Jaeger <aj@suse.de>
5577 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5581 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5583 * elf/dl-close.c (_dl_close_worker): Add comments.
5585 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5590 (__ieee754_rem_pio2l): Update comments.
5593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5595 (__ieee754_rem_pio2l): Update comments.
5597 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5598 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5600 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5603 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5604 (M_PI_34_LOG10El): Likewise.
5605 (M_PI2_LOG10El): Likewise.
5606 (M_PI4_LOG10El): Likewise.
5607 (M_PI_LOG10El): Likewise.
5609 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5613 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5615 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5616 (MINUS_ZERO_INIT): Likewise.
5617 (PLUS_INFTY_INIT): Likewise.
5618 (MINUS_INFTY_INIT): Likewise.
5619 (QNAN_VALUE_INIT): Likewise.
5620 (MAX_VALUE_INIT): Likewise.
5621 (MIN_VALUE_INIT): Likewise.
5622 (MIN_SUBNORM_VALUE_INIT): Likewise.
5623 (plus_zero): Initialize with PLUS_ZERO_INIT.
5624 (minus_zero): Initialize with MINUS_ZERO_INIT.
5625 (plus_infty): Initialize with PLUS_INFTY_INIT.
5626 (minus_infty): Initialize with MINUS_INFTY_INIT.
5627 (qnan_value): Initialize with QNAN_VALUE_INIT.
5628 (max_value): Initialize with MAX_VALUE_INIT.
5629 (min_value): Initialize with MIN_VALUE_INIT.
5630 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5632 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5633 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5634 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5635 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5637 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5638 (RUN_TEST_2_f): Likewise.
5639 (RUN_TEST_ff_f): Likewise.
5640 (RUN_TEST_fi_f): Likewise.
5641 (RUN_TEST_fl_f): Likewise.
5642 (RUN_TEST_fff_f): Likewise.
5643 (RUN_TEST_c_f): Likewise.
5644 (RUN_TEST_f_f1): Likewise.
5645 (RUN_TEST_fF_f1): Likewise.
5646 (RUN_TEST_fI_f1): Likewise.
5647 (RUN_TEST_ffI_f1): Likewise.
5648 (RUN_TEST_c_c): Likewise.
5649 (RUN_TEST_cc_c): Likewise.
5650 (RUN_TEST_f_i): Likewise.
5651 (RUN_TEST_f_i_tg): Likewise.
5652 (RUN_TEST_ff_i_tg): Likewise.
5653 (RUN_TEST_f_b): Likewise.
5654 (RUN_TEST_f_b_tg): Likewise.
5655 (RUN_TEST_f_l): Likewise.
5656 (RUN_TEST_f_L): Likewise.
5657 (RUN_TEST_sincos): Likewise.
5658 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5659 whether to show exceptions. Do not include ");\n" in return
5661 (special_functions): Output call to RUN_TEST_sincos instead of
5662 check_float calls. Update calls to new_test.
5663 (parse_args): Output call to single RUN_TEST_* macro instead of
5664 check_* calls and other assignments. Update calls to new_test.
5670 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5671 input to result for tgamma overflow.
5672 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5673 (gamma_coeff): New variable.
5674 (NCOEFF): New macro.
5675 (gamma_positive): New function.
5676 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5677 underflow here. Use gamma_positive instead of exp (lgamma) for
5679 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5680 (gamma_coeff): New variable.
5681 (NCOEFF): New macro.
5682 (gammaf_positive): New function.
5683 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5684 underflow here. Use gamma_positive instead of exp (lgamma) for
5686 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5687 (gamma_coeff): New variable.
5688 (NCOEFF): New macro.
5689 (gammal_positive): New function.
5690 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5691 underflow here. Use gamma_positive instead of exp (lgamma) for
5693 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5694 (gamma_coeff): New variable.
5695 (NCOEFF): New macro.
5696 (gammal_positive): New function.
5697 (__ieee754_gammal_r): Handle positive infinity, overflow and
5698 underflow here. Handle NaN the same as positive infinity. Remove
5699 check x < 0xffffffff for negative integers. Use gamma_positive
5700 instead of exp (lgamma) for other arguments.
5701 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5702 (gamma_coeff): New variable.
5703 (NCOEFF): New macro.
5704 (gammal_positive): New function.
5705 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5706 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5707 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5709 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5710 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5711 * sysdeps/generic/math_private.h (__gamma_productf): New
5713 (__gamma_product): Likewise.
5714 (__gamma_productl): Likewise.
5715 * math/Makefile (libm-calls): Add gamma_product.
5716 * math/libm-test.inc (tgamma_test): Add more tests.
5717 * sysdeps/i386/fpu/libm-test-ulps: Update.
5718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5720 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5722 * benchtests/bench-skeleton.c (main): Preheat CPU.
5724 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5726 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5728 2013-05-07 Roland McGrath <roland@hack.frob.com>
5730 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5731 and _dl_skip_args_internal.
5733 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5735 * manual/message.texi (Message Translation): Talk about users.
5736 Message to key mapping impacts design.
5738 2013-05-06 Roland McGrath <roland@hack.frob.com>
5740 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5742 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5744 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5745 * sysdeps/wordsize-64/glob64.c: ... here.
5747 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5748 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5751 * debug/getlogin_r_chk.c: Moved to ...
5752 * login/getlogin_r_chk.c: ... here.
5753 * debug/Makefile (routines): Move getlogin_r_chk to ...
5754 * login/Makefile (routines): ... here.
5755 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5756 * login/Versions (libc: GLIBC_2.4): ... here.
5758 * io/poll.c (__poll): Renamed from poll.
5759 Add libc_hidden_def.
5760 (poll): Define as weak alias.
5762 * debug/ptsname_r_chk.c: Moved to ...
5763 * login/ptsname_r_chk.c: ... here.
5764 * debug/Makefile (routines): Move ptsname_r_chk to ...
5765 * login/Makefile (routines): ... here.
5766 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5767 * login/Versions (libc: GLIBC_2.4): ... here.
5769 * posix/getlogin.c: Moved to ...
5770 * login/getlogin.c: ... here.
5771 * posix/getlogin_r.c: Moved to ...
5772 * login/getlogin_r.c: ... here.
5773 * posix/getlogin_r.c: Moved to ...
5774 * login/getlogin_r.c: ... here.
5775 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5776 * login/Makefile (routines): ... here.
5777 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5778 * login/Versions (libc: GLIBC_2.0): ... here.
5780 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5781 (setrlimit): Define as weak alias.
5783 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5784 Call __ names for open, ftruncate, and close.
5785 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5786 (truncate): Define as weak alias.
5788 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5790 * math/gen-libm-test.pl (parse_args): Initialize x before each
5791 test of frexp, modf and remquo.
5793 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5796 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5800 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5804 2013-05-06 Roland McGrath <roland@hack.frob.com>
5806 * elf/dl-writev.h: New file.
5807 * elf/dl-misc.c: Include it.
5808 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5809 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5811 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5813 * math/libm-test.inc (noXFails): Remove variable.
5814 (noXPasses): Likewise.
5815 (BUILD_COMPLEX_INT): Remove macro.
5816 (print_screen): Remove xfail argument.
5817 (print_screen_max_error): Likewise.
5818 (update_stats): Likewise.
5819 (print_max_error): Likewise. Update calls to other affected
5821 (print_complex_max_error): Likewise.
5822 (test_single_exception): Update calls to print_screen.
5823 (test_single_errno): Likewise.
5824 (check_float_internal): Remove xfail argument. Update calls to
5825 other affected functions.
5826 (check_float): Likewise.
5827 (check_complex): Likewise.
5828 (check_int): Likewise.
5829 (check_long): Likewise.
5830 (check_bool): Likewise.
5831 (check_longlong): Likewise.
5832 (main): Don't print noXFails and noXPasses.
5833 * math/gen-libm-test.pl (top level): Don't mention expected
5834 failure handling in comment.
5835 (new_test): Don't handle expected failures.
5836 (parse_args): Don't mention expected failure handling in comment.
5837 (generate_testfile): Don't handle expected failures.
5838 (parse_ulps): Likewise.
5839 (print_ulps_file): Likewise.
5840 (get_failure): Remove function.
5841 (output_test): Don't handle expected failures.
5842 * make/README.libm-test: Don't mention expected failure handling.
5844 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5845 (minus_zero): Likewise.
5846 (plus_infty): Likewise.
5847 (minus_infty): Likewise.
5848 (qnan_value): Likewise.
5849 (max_value): Likewise.
5850 (min_value): Likewise.
5851 (min_subnorm_value): Likewise.
5852 (initialize): Do not initialize those variables dynamically.
5854 2013-05-03 Roland McGrath <roland@hack.frob.com>
5856 * io/open.c (__open_2): Moved to ...
5857 * io/open_2.c: ... this new file.
5858 * io/open64.c (__open64_2): Moved to ...
5859 * io/open64_2.c: ... this new file.
5860 * io/openat.c (__openat_2): Moved to ...
5861 * io/openat_2.c: ... this new file.
5862 * io/openat64.c (__openat64_2): Moved to ...
5863 * io/openat64_2.c: ... this new file.
5864 * io/Makefile (routines): Add them.
5865 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5866 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5867 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5868 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5869 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5870 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5871 (__openat64): Add hidden_ver.
5872 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5873 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5875 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5876 Separately conditionalize setting of GLRO(dl_sysinfo) so
5877 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5878 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5880 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5885 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5886 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5887 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5888 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5889 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5891 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5893 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5896 * math/libm-test.inc (hypot_test): Do not use
5897 IGNORE_ZERO_INF_SIGN.
5899 2013-05-03 Andreas Jaeger <aj@suse.de>
5901 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5903 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5904 (PF_MAX): Adjust for VSOCK change.
5906 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5910 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5913 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5914 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5915 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5917 2013-05-02 David S. Miller <davem@davemloft.net>
5919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5921 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5923 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5925 2013-05-01 Roland McGrath <roland@hack.frob.com>
5927 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5929 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5932 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5933 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5934 Use __attribute__ ((__gnu_inline__)).
5935 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5936 Don't use __attribute__ ((__gnu_inline__)).
5938 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5941 * math/s_catan.c (__catan): Handle small real or imaginary part of
5942 input specially to avoid spurious underflow.
5943 * math/s_catanf.c (__catanf): Likewise.
5944 * math/s_catanh.c (__catanh): Likewise.
5945 * math/s_catanhf.c (__catanhf): Likewise.
5946 * math/s_catanhl.c (__catanhl): Likewise.
5947 * math/s_catanl.c (__catanl): Likewise.
5948 * math/libm-test.inc (catan_test): Add more tests.
5949 (catanh_test): Likewise.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5953 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5957 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5960 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5961 accurately for denominator in atan2.
5962 * math/s_catanf.c (__catanf): Likewise.
5963 * math/s_catanh.c (__catanh): Likewise.
5964 * math/s_catanhf.c (__catanhf): Likewise.
5965 * math/s_catanhl.c (__catanhl): Likewise.
5966 * math/s_catanl.c (__catanl): Likewise.
5967 * math/libm-test.inc (catan_test): Add more tests.
5968 (catanh_test): Likewise.
5969 * sysdeps/i386/fpu/libm-test-ulps: Update.
5970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5972 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5974 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5976 * benchtests/Makefile (bench): Remove slow benchmarks.
5977 * benchtests/atan-inputs: Add slow benchmark inputs.
5978 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5979 (BENCH_FUNC): Accept variant offset.
5981 * benchtests/bench-skeleton.c (main): Run benchmark for each
5983 * benchtests/cos-inputs: Add slow benchmark inputs.
5984 * benchtests/exp-inputs: Likewise.
5985 * benchtests/pow-inputs: Likewise.
5986 * benchtests/sin-inputs: Likewise.
5987 * benchtests/slowatan-inputs: Remove.
5988 * benchtests/slowatan.c: Remove.
5989 * benchtests/slowcos-inputs: Remove.
5990 * benchtests/slowcos.c: Remove.
5991 * benchtests/slowexp-inputs: Remove.
5992 * benchtests/slowexp.c: Remove.
5993 * benchtests/slowpow-inputs: Remove.
5994 * benchtests/slowpow.c: Remove.
5995 * benchtests/slowsin-inputs: Remove.
5996 * benchtests/slowsin.c: Remove.
5997 * benchtests/slowtan-inputs: Remove.
5998 * benchtests/slowtan.c: Remove.
5999 * benchtests/tan-inputs: Add slow benchmark inputs.
6000 * scripts/bench.pl: Parse comments and directives.
6002 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6004 ($(objpfx)bench-%.c): Remove *-ITER.
6005 * benchtests/bench-modf.c: Remove definition of ITER.
6006 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6007 (main): Loop for DURATION seconds instead of fixed number of
6009 * scripts/bench.pl: Don't expect iterations in parameters.
6011 2013-04-29 Roland McGrath <roland@hack.frob.com>
6013 * io/fchdir.c (__fchdir): Renamed from fchdir.
6014 (fchdir): Define as weak alias.
6016 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6018 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6019 (ERRNO_EDOM): Likewise.
6020 (ERRNO_ERANGE): Likewise.
6021 (noErrnoTests): New variable.
6022 (init_max_error): Set errno to 0.
6023 (test_single_errno): New function.
6024 (test_errno): Likewise.
6025 (check_float_internal): Call test_errno. Set errno to 0.
6026 (check_complex): Refer to errno tests in comment.
6027 (check_int): Call test_errno. Set errno to 0.
6028 (check_long): Likewise.
6029 (check_bool): Likewise.
6030 (check_longlong): Likewise.
6031 (cos_test): Use ERRNO_* flags for errno tests instead of
6033 (expm1_test): Likewise.
6034 (fmod_test): Likewise.
6035 (ilogb_test): Likewise.
6036 (lgamma_test): Likewise.
6037 (pow_test): Likewise.
6038 (remainder_test): Likewise.
6039 (sin_test): Likewise.
6040 (tan_test): Likewise.
6041 (yn_test): Likewise.
6042 (initialize): Set errno to 0.
6043 (main): Print number of errno tests.
6044 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6046 2013-04-29 Andreas Jaeger <aj@suse.de>
6049 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6053 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6054 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6058 * stdlib/random.c (__initstate): Return NULL if
6062 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6063 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6066 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6070 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6072 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6073 of individual tests.
6074 (casin_test): Likewise.
6075 (casinh_test): Likewise.
6077 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6080 * math/s_catan.c (__catan): Handle arguments with large real or
6081 imaginary part separately without squaring.
6082 * math/s_catanf.c (__catanf): Likewise.
6083 * math/s_catanh.c (__catanh): Likewise.
6084 * math/s_catanhf.c (__catanhf): Likewise.
6085 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6087 (__catanhl): Handle arguments with large real or imaginary part
6088 separately without squaring.
6089 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6091 (__catanl): Handle arguments with large real or imaginary part
6092 separately without squaring.
6093 * math/libm-test.inc (catan_test): Add more tests.
6094 (catanh_test): Likewise.
6095 * sysdeps/i386/fpu/libm-test-ulps: Update.
6096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6098 2013-04-27 Andreas Jaeger <aj@suse.de>
6101 * stdlib/stdlib.h: Update guards for qecvt.
6102 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6105 2013-04-27 Allan McRae <allan@archlinux.org>
6107 * sysdeps/i386/fpu/libm-test-ulps: Update.
6109 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6112 * math/s_catan.c: Include <float.h>.
6113 (__catan): Ensure underflow exception occurs for underflowed
6115 * math/s_catanf.c: Include <float.h>.
6116 (__catanf): Ensure underflow exception occurs for underflowed
6118 * math/s_catanh.c: Include <float.h>.
6119 (__catanh): Ensure underflow exception occurs for underflowed
6121 * math/s_catanhf.c: Include <float.h>.
6122 (__catanhf): Ensure underflow exception occurs for underflowed
6124 * math/s_catanhl.c: Include <float.h>.
6125 (__catanhl): Ensure underflow exception occurs for underflowed
6127 * math/s_catanl.c: Include <float.h>.
6128 (__catanl): Ensure underflow exception occurs for underflowed
6130 * math/libm-test.inc (catan_test): Add more tests.
6131 (catanh_test): Likewise.
6134 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6136 * math/s_ccoshf.c (__ccoshf): Likewise.
6137 * math/s_ccoshl.c (__ccoshl): Likewise.
6138 * math/s_csin.c (__csin): Likewise.
6139 * math/s_csinf.c (__csinf): Likewise.
6140 * math/s_csinh.c (__csinh): Likewise.
6141 * math/s_csinhf.c (__csinhf): Likewise.
6142 * math/s_csinhl.c (__csinhl): Likewise.
6143 * math/s_csinl.c (__csinl): Likewise.
6144 * math/libm-test.inc (ccos_test): Add more tests.
6145 (ccosh_test): Likewise.
6146 (csin_test): Likewise.
6147 (csinh_test): Likewise.
6149 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6152 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6153 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6154 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6155 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6156 powerpc/power5+/fpu folders.
6157 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6160 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6164 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6166 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6167 additions to variable.
6168 [$(config-machine) = x86_64] (modules-names): Likewise.
6169 ($(objpfx)tst-audit3): Remove dependency.
6170 ($(objpfx)tst-audit3.out): Likewise.
6171 ($(objpfx)tst-audit4): Likewise.
6172 ($(objpfx)tst-audit4.out): Likewise.
6173 ($(objpfx)tst-audit5): Likewise.
6174 ($(objpfx)tst-audit5.out): Likewise.
6175 ($(objpfx)tst-audit6): Likewise.
6176 ($(objpfx)tst-audit6.out): Likewise.
6177 ($(objpfx)tst-audit7): Likewise.
6178 ($(objpfx)tst-audit7.out): Likewise.
6179 (tst-audit3-ENV): Remove variable.
6180 (tst-audit4-ENV): Likewise.
6181 (tst-audit5-ENV): Likewise.
6182 (tst-audit6-ENV): Likewise.
6183 (tst-audit7-ENV): Likewise.
6184 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6185 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6186 addition to variable.
6187 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6190 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6191 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6192 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6193 tst-audit3, tst-audit4 and tst-audit5.
6194 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6195 tst-audit6 and tst-audit7.
6196 [$(subdir) = elf] (modules-names): Add audit modules for those
6198 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6199 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6200 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6201 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6202 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6203 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6204 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6205 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6206 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6207 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6208 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6209 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6210 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6211 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6212 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6213 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6215 [$(subdir) = elf && $(config-cflags-avx) = yes]
6216 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6217 [$(subdir) = elf && $(config-cflags-avx) = yes]
6218 (CFLAGS-tst-auditmod4a.c): Likewise.
6219 [$(subdir) = elf && $(config-cflags-avx) = yes]
6220 (CFLAGS-tst-auditmod4b.c): Likewise.
6221 [$(subdir) = elf && $(config-cflags-avx) = yes]
6222 (CFLAGS-tst-auditmod6b.c): Likewise.
6223 [$(subdir) = elf && $(config-cflags-avx) = yes]
6224 (CFLAGS-tst-auditmod6c.c): Likewise.
6225 [$(subdir) = elf && $(config-cflags-avx) = yes]
6226 (CFLAGS-tst-auditmod7b.c): Likewise.
6227 * elf/tst-audit3.c: Move to ...
6228 * sysdeps/x86_64/tst-audit3.c: ... here.
6229 * elf/tst-audit4.c: Move to ...
6230 * sysdeps/x86_64/tst-audit4.c: ... here.
6231 * elf/tst-audit5.c: Move to ...
6232 * sysdeps/x86_64/tst-audit5.c: ... here.
6233 * elf/tst-audit6.c: Move to ...
6234 * sysdeps/x86_64/tst-audit6.c: ... here.
6235 * elf/tst-audit7.c: Move to ...
6236 * sysdeps/x86_64/tst-audit7.c: ... here.
6237 * elf/tst-auditmod3a.c: Move to ...
6238 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6239 * elf/tst-auditmod3b.c: Move to ...
6240 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6241 * elf/tst-auditmod4a.c: Move to ...
6242 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6243 * elf/tst-auditmod4b.c: Move to ...
6244 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6245 * elf/tst-auditmod5a.c: Move to ...
6246 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6247 * elf/tst-auditmod5b.c: Move to ...
6248 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6249 * elf/tst-auditmod6a.c: Move to ...
6250 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6251 * elf/tst-auditmod6b.c: Move to ...
6252 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6253 * elf/tst-auditmod6c.c: Move to ...
6254 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6255 * elf/tst-auditmod7a.c: Move to ...
6256 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6257 * elf/tst-auditmod7b.c: Move to ...
6258 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6260 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6263 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6264 define unconditionally.
6265 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6266 define unconditionally.
6267 (INT8_C, INT16_C, etc.): Likewise.
6269 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6271 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6272 __ehdr_start with hidden visibility.
6274 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6276 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6278 * math/libm-test.inc (cos_test): Use accurate hex constants.
6279 (sincost_test): Likewise.
6281 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6283 * math/libm-test.inc (catan_test): Add more tests.
6284 (catanh_test): Likewise.
6286 * math/s_catanf.c (__catanf): Use suffixed floating-point
6288 * math/s_catanhf.c (__catanhf): Likewise.
6289 * math/s_catanhl.c (__catanhl): Likewise.
6290 * math/s_catanl.c (__catanl): Likewise.
6293 * math/s_catan.c (__catan): Calculate imaginary part of result
6294 with log1p not log unless computing log of number close to 0.
6295 * math/s_catanf.c (__catanf): Likewise.
6296 * math/s_catanl.c (__catanl): Likewise.
6297 * math/s_catanh.c (__catanh): Calculate real part of result with
6298 log1p not log unless computing log of number close to 0.
6299 * math/s_catanhf.c (__catanhf): Likewise.
6300 * math/s_catanhl.c (__catanhl): Likewise.
6301 * math/libm-test.inc (catan_test): Add more tests.
6302 (catanh_test): Likewise.
6303 * sysdeps/i386/fpu/libm-test-ulps: Update.
6304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6306 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6308 * benchtests/Makefile: Mention files in which fast and slow
6309 paths of math functions are implemented.
6311 2013-04-23 Roland McGrath <roland@hack.frob.com>
6313 * sysdeps/posix/timespec_get.c: New file.
6315 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6319 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6321 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6322 powerpc/power5/fpu folders.
6323 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6324 * benchtests/Makefile: Add modf testcase.
6325 * benchtests/bench-modf.c: New file: Benchmark test for mo
6327 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6330 * time/Makefile (tests): Add tst-strptime-whitespace.
6331 * time/strptime_l.c (get_number): Use ISSPACE.
6332 (__strptime_internal): Likewise.
6333 * time/tst-strptime-whitespace.c: New test case.
6335 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6337 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6339 (_nss_files_init): Set it here.
6341 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6343 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6344 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6347 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6349 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6351 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6356 2013-04-21 David S. Miller <davem@davemloft.net>
6358 * po/ru.po: Update Russion translation from translation project.
6360 2013-04-17 Adam Conrad <adconrad@0c3.net>
6362 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6365 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6367 * configure.in: Remove i386 configure warning. Remove i386 case.
6368 * configure: Regenerate.
6369 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6370 Add example to error message.
6371 * sysdeps/i386/configure: Regenerate.
6373 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6375 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6377 * benchtests/cos-inputs: New file.
6378 * benchtests/slowcos-inputs: New file.
6379 * benchtests/slowcos.c: New file.
6380 * benchtests/slowtan-inputs: New file.
6381 * benchtests/slowtan.c: New file.
6382 * benchtests/tan-inputs: New file.
6384 2013-04-16 Roland McGrath <roland@hack.frob.com>
6386 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6389 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6391 * benchtests/Makefile: Include cppflags-iterator.mk to add
6392 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6394 * Makefile.in (bench-clean): New target.
6395 * benchtests/Makefile (bench-clean): Likewise.
6397 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6399 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6401 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6403 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6405 2013-04-15 Andreas Schwab <schwab@suse.de>
6407 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6409 * nscd/pwdcache.c (cache_addpw): Likewise.
6410 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6413 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6415 * benchtests/Makefile (bench): Write all output to
6416 bench-out.tmp together.
6418 2013-04-15 Andreas Schwab <schwab@suse.de>
6420 * nscd/nscd.c (main): Don't fork again after closing files.
6422 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6424 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6426 * benchtests/Rules (bench-deps): Collect dependencies into a
6427 single variable. Add Makefile to dependencies.
6428 ($(objpfx)bench-%.c): Depend on bench-deps.
6430 2013-04-12 Roland McGrath <roland@hack.frob.com>
6431 Xavier Roche <roche+kml2@exalead.com>
6434 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6435 just that it's a file descriptor.
6436 * manual/llio.texi (Synchronizing AIO Operations): Update description
6437 for EBADF error from aio_fsync.
6439 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6441 * Rules (bench): Move target definition...
6442 * benchtests/Makefile: ... here.
6444 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6446 * math/libm-test.inc (cos_test): Fix PI/2 test.
6447 (sincos_test): Likewise.
6448 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6449 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6451 2013-04-11 Andreas Schwab <schwab@suse.de>
6454 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6455 accept exponent character only when digits were seen.
6456 * stdio-common/Makefile (tests): Add bug26.
6457 * stdio-common/bug26.c: New file.
6460 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6463 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6465 * Makeconfig (rtld-prefix): Define built linker prefix.
6466 * Rules (run-bench): Use it.
6467 * math/Makefile (run-regen-ulps): Likewise.
6469 * Rules (bench): Remove eval.
6471 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6472 Roland McGrath <roland@hack.frob.com>
6473 Ondrej Bilka <neleai@seznam.cz>
6476 * time/getdate.c: Include ctype.h and alloca.h.
6477 (__getdate_r): Trim leading and trailing spaces of input.
6478 * time/tst-getdate.c (tests): Add tests with leading and
6481 2013-04-08 Roland McGrath <roland@hack.frob.com>
6484 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6485 when computing value.
6487 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6489 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6490 Use testrun.sh to run libm tests.
6493 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6495 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6498 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6500 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6502 * Makefile.in (regen-ulps): New target.
6503 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6504 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6505 [ifneq (no,$(PERL)] (regen-ulps): New target.
6506 [ifeq (no,$(PERL)] (regen-ulps): New target.
6507 * math/libm-test.inc (ulps_file_name): Define.
6508 (output_dir): New variable.
6509 (options): Add "output-dir" option.
6510 (parse_opt): Handle 'o' case.
6511 (main): If output_dir is non-NULL use it as a prefix
6513 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6515 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6518 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6519 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6520 fail configure if __sync_val_compare_and_swap is not inlined.
6521 * sysdeps/i386/configure: Regenerate.
6522 * configure.in: Build for i686 when configured for i386.
6523 * configure: Regenerate.
6524 * README: Remove i386 reference.
6526 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6528 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6529 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6531 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6533 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6534 (lmsnanval): New variables.
6535 (F): Add conversion tests.
6536 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6537 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6539 * stdio-common/tstdiomisc.c (F): Properly collect individual
6543 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6544 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6545 Instead, use input NaN values or generate a qNaN by arithmetic
6546 operation. Also fix bugs to comply with the standard.
6547 * math/libm-test.inc (remainder_test): Add more tests.
6550 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6552 input NaN values or generate a qNaN by arithmetic operation.
6554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6557 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6560 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6563 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6565 * math/s_cexpf.c (__cexpf): Likewise.
6566 * math/s_cexpl.c (__cexpl): Likewise.
6567 * math/libm-test.inc (cexp_test): Add more tests.
6569 2013-04-03 Andreas Schwab <schwab@suse.de>
6572 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6573 order arrays from heap if bigger than alloca cutoff.
6575 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6577 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6578 (SNAN_TESTS_double): Refer to GCC PR56831.
6579 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6582 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6584 * Rules (bench): Move bench.out after the run is complete.
6586 * Rules (bench): Echo currently running benchmark.
6588 * benchtests/Makefile (bench): Add atan and slowatan.
6589 * benchtests/atan-inputs: New file.
6590 * benchtests/slowatan-inputs: New file.
6591 * benchtests/slowatan.c: New file.
6593 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6594 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6598 * sysdeps/unix/sysv/linux/kernel-features.h
6599 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6600 __ASSUME_XFS_RESTRICTED_CHOWN.
6601 * sysdeps/unix/sysv/linux/pathconf.c
6602 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6603 Save and restore errno.
6605 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6608 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6609 arguments using __kernel_casinh.
6610 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6611 arguments using __kernel_casinhf.
6612 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6613 arguments using __kernel_casinhl.
6614 * math/libm-test.inc (cacosh_test): Add more tests.
6615 * sysdeps/i386/fpu/libm-test-ulps: Update.
6616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6618 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6620 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6623 * bench/Makefile (bench): Add sin and slowsin.
6624 * benchtests/sin-inputs: New file.
6625 * benchtests/slowsin-inputs: New file.
6626 * benchtests/slowsin.c: New file.
6628 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6629 (bench): Add slowexp and slowpow.
6630 (exp-ITER): Increase iterations.
6631 (pow-ITER): Likewise.
6632 * benchtests/exp-inputs: Change input.
6633 * benchtests/pow-inputs: Likewise.
6634 * benchtests/slowexp-inputs: New file.
6635 * benchtests/slowexp.c: New file.
6636 * benchtests/slowpow-inputs: New file.
6637 * benchtests/slowpow.c: New file.
6639 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6643 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6644 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6645 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6646 * benchtests/Makefile: Add rint benchtest.
6647 * benchtests/rint-inputs: Input for rint benchtest.
6649 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6651 * Versions.def (libm): Add GLIBC_2.18.
6652 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6653 hidden libm prototypes.
6654 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6655 * math/Makefile (libm-calls): Add s_issignaling.
6656 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6657 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6658 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6660 * math/math.h [__USE_GNU] (issignaling): New macro.
6661 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6662 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6664 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6667 * manual/arith.texi (issignaling): New section.
6668 * manual/libm-err-tab.pl (@all_functions): Update comment.
6669 * math/gen-libm-test.pl (parse_args): Apply special handling for
6671 * math/libm-test.inc (print_float, issignaling_test): New
6673 (check_float_internal): Add issignaling checks.
6674 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6676 * sysdeps/powerpc/math-tests.h: New file.
6677 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6679 * math/test-snan.c (TEST_FUNC): Likewise.
6681 2013-03-30 David S. Miller <davem@davemloft.net>
6683 * po/de.po: Update from translation team.
6685 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6688 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6689 imaginary part less than 1.0 and real part less than 0.5
6691 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6692 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6693 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6694 (cacos_test): Add more tests.
6695 (casin_test): Likewise.
6696 (casinh_test): Likewise.
6697 * sysdeps/i386/fpu/libm-test-ulps: Update.
6698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6700 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6702 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6705 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6706 (__pow_mp): Replace ONE and MONE with their values.
6707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6709 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6710 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6711 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6712 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6714 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6716 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6717 (__pow_mp): Replace ZERO and MZERO with their values.
6718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6720 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6722 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6723 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6726 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6728 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6730 2013-03-28 Roland McGrath <roland@hack.frob.com>
6732 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6733 Declare with __attribute__ ((weak)).
6734 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6735 Call __call_tls_dtors only if it's not NULL.
6737 2013-03-28 Roland McGrath <roland@hack.frob.com>
6739 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6740 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6741 magic __ehdr_start linker symbol if it's defined.
6742 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6743 them up here if it was already done.
6745 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6746 (_dl_aux_init): Use const in cast when setting it.
6747 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6748 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6749 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6751 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6753 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6754 * csu/libc-tls.c: Nor here.
6755 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6757 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6758 (__libc_message): Never call vsyslog.
6760 2013-03-28 Alan Modra <amodra@gmail.com>
6762 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6764 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6767 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6774 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6777 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6778 Don't add gid passed as argument.
6780 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6782 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6785 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6786 imaginary part between 1.0 and 1.5 and real part less than 0.5
6788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6790 * math/libm-test.inc (cacos_test): Add more tests.
6791 (casin_test): Likewise.
6792 (casinh_test): Likewise.
6793 * sysdeps/i386/fpu/libm-test-ulps: Update.
6794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6796 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6798 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6802 (__dbl_mp): Likewise.
6803 (add_magnitudes): Likewise.
6804 (sub_magnitudes): Likewise.
6812 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6814 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6815 (__dubcos): Likewise.
6816 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6817 (__ieee754_acos): Likewise.
6818 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6821 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6824 (my_log2): Likewise.
6825 (checkint): Likewise.
6826 * sysdeps/ieee754/dbl-64/e_remainder.c
6827 (__ieee754_remainder): Likewise.
6828 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6833 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6834 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6835 MANTISSA_STORE_T to store computations on mantissa. Use
6836 macros for rounding and division.
6838 (__dbl_mp): Likewise.
6839 (add_magnitudes): Likewise.
6840 (sub_magnitudes): Likewise.
6843 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6844 powers of two in terms of TWOPOW macro.
6845 (mp_no): Make type of mantissa as MANTISSA_T.
6846 [!RADIXI]: Define RADIXI.
6847 [!TWO52]: Define TWO52.
6848 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6850 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6852 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6853 llroundl symbol when building for PPC32.
6855 2013-03-24 Mark H Weaver <mhw@netris.org>
6857 * manual/arith.texi (Normalization Functions): Fix prototypes for
6858 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6860 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6864 high value to check if expl overflow.
6865 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6866 to check for underflow and overflow.
6867 * math/libm-test.inc: Add exp test.
6869 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6872 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6875 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6880 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6882 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6883 wrap blocks consisting of several statements.
6885 * sysdeps/generic/math-tests.h: New file.
6886 * sysdeps/i386/fpu/math-tests.h: Likewise.
6887 * math/test-snan.c: Include it.
6888 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6890 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6893 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6894 (__ieee754_j0l): Do not improve calculations using cos of twice
6895 input for inputs above LDBL_MAX / 2.0L.
6896 (__ieee754_y0l): Likewise.
6897 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6898 (__ieee754_j1l): Do not improve calculations using cos of twice
6899 input for inputs above LDBL_MAX / 2.0L.
6900 (__ieee754_y1l): Likewise.
6901 * math/libm-test.inc (j0_test): Add another test.
6902 (j1_test): Likewise.
6903 (y0_test): Likewise.
6904 (y1_test): Likewise.
6905 * sysdeps/i386/fpu/libm-test-ulps: Update.
6907 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6909 * Rules ($(objpfx)bench-%.c): Include code from a C source
6912 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6915 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6916 imaginary part 1.0 and real part less than 0.5 specially.
6917 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6918 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6919 * math/libm-test.inc (cacos_test): Add more tests.
6920 (casin_test): Likewise.
6921 (casinh_test): Likewise.
6922 * sysdeps/i386/fpu/libm-test-ulps: Update.
6923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6928 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6930 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6932 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6933 * config.make.in (config-cflags-sse4): Remove variable.
6934 (config-cflags-avx): Likewise.
6935 (config-cflags-sse2avx): Likewise.
6936 (config-cflags-novzeroupper): Likewise.
6937 (config-asflags-i686): Likewise.
6938 (have-mfma4): Likewise.
6939 (have-as-vis3): Likewise.
6941 * configure.in (MIG): Do not AC_SUBST.
6942 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6943 (libc_cv_cc_sse4): Do not AC_SUBST.
6944 (libc_cv_cc_avx): Likewise.
6945 (libc_cv_cc_sse2avx): Likewise.
6946 (libc_cv_cc_novzeroupper): Likewise.
6947 (libc_cv_cc_fma4): Likewise.
6948 (libc_cv_as_i686): Likewise.
6949 (libc_cv_sparc_as_vis3): Likewise.
6950 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6952 (config-asflags-i686): Likewise.
6953 (config-cflags-avx): Likewise.
6954 (config-cflags-sse2avx): Likewise.
6955 (have-mfma4): Likewise.
6956 (config-cflags-novzeroupper): Likewise.
6957 * sysdeps/mach/configure.in (MIG): Likewise.
6958 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6959 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6961 (config-cflags-avx): Likewise.
6962 (config-cflags-sse2avx): Likewise.
6963 (have-mfma4): Likewise.
6964 (config-cflags-novzeroupper): Likewise.
6965 * configure: Regenerated.
6966 * sysdeps/i386/configure: Likewise.
6967 * sysdeps/mach/configure: Likewise.
6968 * sysdeps/sparc/configure: Likewise.
6969 * sysdeps/x86_64/configure: Likewise.
6971 2013-03-20 Roland McGrath <roland@hack.frob.com>
6974 * locale/programs/localedef.c (options): Put N_ translation marker
6975 on argument names, not just descriptions.
6977 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6979 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6981 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6984 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6986 2013-03-19 Roland McGrath <roland@hack.frob.com>
6988 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6989 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6990 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6991 [!BEFORE_ABORT] (before_abort): New function.
6992 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6993 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6994 (writev_for_fatal): New function.
6995 (WRITEV_FOR_FATAL): New macro; call that.
6996 (backtrace_and_maps): New function.
6997 (BEFORE_ABORT): New macro; call that.
6998 (struct str_list): Type removed.
6999 (__libc_message, __libc_fatal): Functions removed.
7000 Include <sysdeps/posix/libc_fatal.c> instead.
7002 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7004 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7006 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7009 2013-03-19 Andreas Schwab <schwab@suse.de>
7011 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7012 * sysdeps/gnu/configure: Regenerate.
7014 * configure.in: Substitute libc_cv_rtlddir.
7015 * configure: Regenerate.
7016 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7017 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7018 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7019 * elf/Makefile (install-others, CFLAGS-interp.c)
7020 (ldso_install, common-ldd-rewrite): Likewise.
7021 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7022 $(inst_slibdir)/$(rtld-installed-name).
7023 * scripts/rellns-sh: Add -p option.
7024 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7027 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7029 * manual/nptl.texi: Renamed to ...
7030 * manual/threads.texi: ... this.
7031 * manual/Makefile (chapters): Update.
7033 2013-03-18 Roland McGrath <roland@hack.frob.com>
7036 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7037 on argument names, not just descriptions.
7038 * malloc/memusagestat.c (options): Likewise.
7039 * nss/getent.c (options): Likewise.
7041 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7044 * iconv/iconv_prog.c (options): Put N_ translation marker
7045 on argument names, not just descriptions.
7046 * iconv/iconvconfig.c (options): Likewise.
7048 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7050 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7051 implementation which is faster on all x86_64 architectures.
7052 Tested on AMD, Intel Nehalem, SNB, IVB.
7053 * sysdeps/x86_64/strnlen.S: Likewise.
7055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7056 Remove all multiarch strlen and strnlen versions.
7057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7058 Remove strlen and strnlen related parts.
7060 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7062 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7064 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7065 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7066 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7067 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7068 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7069 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7071 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7073 * manual/memory.texi (Malloc Tunable Parameters):
7074 Sort parameters alphabetically. Add comments for missing entries.
7076 2013-03-17 David S. Miller <davem@davemloft.net>
7078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7080 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7083 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7084 for arguments at most half maximum finite value.
7085 * math/libm-test.inc (j0_test): Add more tests.
7086 (j1_test): Likewise.
7087 (y0_test): Likewise.
7088 (y1_test): Likewise.
7089 * sysdeps/i386/fpu/libm-test-ulps: Update.
7090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7093 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7094 1 / x and functions P and Q for arguments above 0x1p256L.
7095 (__ieee754_y0l): Likewise.
7096 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7097 (__ieee754_y1l): Likewise.
7098 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7099 (j1_test): Likewise.
7100 (y0_test): Likewise.
7101 (y1_test): Likewise.
7103 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7105 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7108 2013-03-15 Roland McGrath <roland@hack.frob.com>
7110 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7111 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7112 zero since it's initialized to EXEC_PAGESIZE.
7114 * sysdeps/unix/sysv/linux/ldsodefs.h
7115 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7116 * sysdeps/generic/ldsodefs.h: ... here.
7118 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7120 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7122 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7124 * math/test-snan.c: Renamed from
7125 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7126 * math/Makefile (tests): Add test-snan.
7127 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7130 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7131 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7133 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7134 __builtin_nan family of functions.
7135 * math/libm-test.inc (initialize): Initialize qnan_value with
7136 __builtin_nan family of functions.
7137 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7139 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7141 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7142 storage class. Initialize qNaN_var and sNaN_var with
7143 __builtin_nan and __builtin_nans families of functions,
7146 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7147 (sqrt_test): Remove duplicate test with qNaN input.
7148 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7149 (round_test, signbit_test, significand_test): Note missing +/-Inf
7150 as well as qNaN tests.
7152 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7153 qNaN_var. Fix a few strings, too.
7154 * math/libm-test.inc (nan_value): Rename to qnan_value.
7155 * math/gen-libm-test.pl (%beautify): Adjust to that.
7156 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7157 * math/test-misc.c (main): Likewise.
7158 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7159 to __qnan_bytes, and __qnan_union, respectively.
7160 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7162 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7163 and lqnanval, respectively.
7164 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7165 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7167 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7169 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7170 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7173 * math/test-misc.c (main): Fix copy'n'pastos.
7174 * misc/tst-efgcvt.c (special): Likewise.
7176 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7177 Remove declarations.
7179 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7182 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7183 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7184 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7186 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7189 macro to return vdso values correctly in IFUNC implementations.
7190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7191 Optimization by using IFUNC.
7193 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7194 Richard Henderson <rth@redhat.com>
7195 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7197 * Makefile.in (bench): New target.
7198 * NEWS: Mention the benchmark framework.
7199 * Rules (bench): Likewise.
7200 (binaries-bench): Generate binaries for functions to
7202 * benchtests/Makefile: New makefile for benchmark tests.
7203 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7205 * benchtests/exp-inputs: New input file for EXP function.
7206 * benchtests/pow-inputs: New input file for POW function.
7207 * scripts/bench.pl: New script to generate source files for
7210 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7212 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7213 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7214 computations on mantissa. Use macros for rounding and
7217 (__dbl_mp): Likewise.
7218 (add_magnitudes): Likewise.
7219 (sub_magnitudes): Likewise.
7222 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7223 powers of two in terms of TWOPOW macro.
7224 (mp_no): Make type of mantissa as MANTISSA_T.
7225 [!RADIXI]: Define RADIXI.
7226 [!TWO52]: Define TWO52.
7227 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7229 * manual/nptl.texi (cindex): Modify threads to pthreads.
7231 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7233 * sysdeps/x86_64/preconfigure: Regenerated.
7235 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7238 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7240 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7241 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7243 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7244 * math/libm-test.inc (j0_test): Do not allow one spurious
7245 underflow exception.
7246 (y1_test): Likewise.
7248 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7250 * manual/Makefile (chapters): Add nptl.
7251 * manual/debug.texi (Debugging Support): Add link to Threads
7253 * manual/nptl.texi: New file.
7255 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7257 2013-03-14 Petr Baudis <pasky@ucw.cz>
7259 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7260 for non-NULL pointer before the memory validity test. Pointed
7261 out by Holger Brunck <holger.brunck@keymile.com>.
7263 2013-03-13 Andreas Schwab <schwab@suse.de>
7265 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7268 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7270 * timezone/zic.c: Update from tzcode 2013b.
7272 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7274 * manual/install.texi (Configuring and compiling):
7275 Mention i686 and i586.
7276 * INSTALL: Regenerate.
7278 2013-03-12 Roland McGrath <roland@hack.frob.com>
7280 * sysdeps/init_array/elf-init.c: New file.
7282 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7283 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7285 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7286 __gmon_start__ as global, but as static with a .preinit_array pointer.
7287 * sysdeps/init_array/gmon-start.c: New file. Use that.
7288 * sysdeps/init_array/crti.S: New file, empty except for comments.
7289 * sysdeps/init_array/crtn.S: Likewise.
7291 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7293 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7296 Remove Prefer_SSE_for_memop.
7297 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7298 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7299 HAS_PREFER_SSE_FOR_MEMOP.
7300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7303 Remove bzero, memset ifunc support.
7304 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7305 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7309 2013-03-11 Andreas Schwab <schwab@suse.de>
7312 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7315 (GLIBC_2.16): Remove pthread_atfork.
7317 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7319 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7320 (ptestcases.h): Likewise.
7322 2013-03-08 Roland McGrath <roland@hack.frob.com>
7324 * Makeconfig ($(common-objpfx)config.status): Depend on
7325 sysdeps/*/preconfigure{,.in} too.
7327 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7329 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7330 (__free_hook): Use void * instead of __malloc_ptr_t.
7331 (__malloc_hook): Likewise.
7332 (__realloc_hook): Likewise.
7333 (__memalign_hook): Likewise.
7334 (__after_morecore_hook): Likewise.
7335 * malloc/arena.c (save_malloc_hook): Likewise.
7336 (save_free_hook): Likewise.
7337 * malloc/hooks.c (malloc_hook_ini): Likewise.
7338 (realloc_hook_ini): Likewise.
7339 (memalign_hook_ini): Likewise.
7340 * malloc/malloc.c (malloc_hook_ini): Likewise.
7341 (realloc_hook_ini): Likewise.
7342 (memalign_hook_ini): Likewise.
7343 (__free_hook): Likewise.
7344 (__malloc_hook): Likewise.
7345 (__realloc_hook): Likewise.
7346 (__memalign_hook): Likewise.
7347 (__libc_malloc): Likewise.
7348 (__libc_free): Likewise.
7349 (__libc_realloc): Likewise.
7350 (__libc_memalign): Likewise.
7351 (__libc_valloc): Likewise.
7352 (__libc_pvalloc): Likewise.
7353 (__libc_calloc): Likewise.
7354 (__posix_memalign): Likewise.
7355 * malloc/morecore.c (__sbrk): Likewise.
7356 (__default_morecore): Likewise.
7358 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7360 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7361 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7364 * malloc/malloc.h (__malloc_size_t): Remove macro.
7365 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7367 (old_memalign_hook): Likewise.
7368 (old_realloc_hook): Likewise.
7369 (struct hdr): Likewise.
7371 (mallochook): Likewise.
7372 (memalignhook): Likewise.
7373 (reallochook): Likewise.
7374 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7375 (tr_old_realloc_hook): Likewise.
7376 (tr_old_memalign_hook): Likewise.
7377 (tr_mallochook): Likewise.
7378 (tr_reallochook): Likewise.
7379 (tr_memalignhook): Likewise.
7381 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7384 default_ldbl_pack and using as default implementation.
7385 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7387 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7388 redundant definition.
7389 (ldbl_insert_mantissa): Likewise.
7390 (ldbl_canonicalize): Likewise.
7391 (ldbl_nearbyint): Likewise.
7392 (ldbl_pack): Rename to ldbl_pack_ppc.
7393 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7394 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7395 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7397 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7400 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7402 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7405 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7406 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7408 2013-03-07 Andreas Jaeger <aj@suse.de>
7410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7413 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7415 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7416 Include mpa.h and declare __MPEXP.
7417 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7418 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7419 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7420 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7421 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7422 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7425 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7426 (__slowpow): Use long double EXPL and LOGL functions to
7428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7429 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7431 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7432 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7433 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7436 intermediate variable to calculate exponent.
7438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7442 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7443 [!NO__SQR]: Define __sqr.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7445 and NO__SQR. Remove all code except __mul and __sqr. Include
7446 sysdeps/ieee754/dbl-64/mpa.c.
7447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7450 * posix/Makefile (tests): Add tst-pathconf.
7451 * posix/tst-pathconf.c: New test case.
7452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7454 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7456 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7458 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7460 2013-03-06 Andreas Jaeger <aj@suse.de>
7462 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7463 definition via __MAP_ANONYMOUS.
7465 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7466 it's not part of Linux headers.
7468 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7469 (MAP_HUGE_MASK): Define.
7471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7473 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7476 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7477 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7479 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7482 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7484 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7485 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7486 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7487 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7488 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7495 Handle f2fs and efivarfs.
7497 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7500 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7501 (EFIVARFS_MAGIC): Add.
7502 (F2FS_LINK_MAX): Add.
7504 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7506 * stdio-common/vfprintf.c: Replace __builtin_expect with
7509 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/generic/bp-sym.h: Remove file.
7513 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7514 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7515 <bp-sym.h> and <bp-asm.h>.
7516 (__longjmp): Don't use BP_SYM.
7517 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7519 (memcpy): Don't use BP_SYM.
7520 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7521 <bp-sym.h> and <bp-asm.h>.
7522 (memcpy): Don't use BP_SYM.
7523 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7525 (memcpy): Don't use BP_SYM.
7526 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7528 (memset): Don't use BP_SYM.
7529 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7530 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7531 (__bzero): Don't use BP_SYM.
7532 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7533 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7534 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7535 <bp-sym.h> and <bp-asm.h>.
7536 (memcmp): Don't use BP_SYM. Remove comment about bounded
7538 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7539 <bp-sym.h> and <bp-asm.h>.
7540 (memcpy): Don't use BP_SYM.
7541 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7542 <bp-sym.h> and <bp-asm.h>.
7543 (memset): Don't use BP_SYM.
7544 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7545 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7546 (__bzero): Don't use BP_SYM.
7547 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7548 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7550 <bp-sym.h> and <bp-asm.h>.
7551 (strncmp): Don't use BP_SYM. Remove comment about bounded
7553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7554 <bp-sym.h> and <bp-asm.h>.
7555 (memcpy): Don't use BP_SYM.
7556 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7557 <bp-sym.h> and <bp-asm.h>.
7558 (memset): Don't use BP_SYM.
7559 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7560 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7561 (__bzero): Don't use BP_SYM.
7562 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7563 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7565 <bp-sym.h> and <bp-asm.h>.
7566 (__memchr): Don't use BP_SYM.
7567 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7568 <bp-sym.h> and <bp-asm.h>.
7569 (memcmp): Don't use BP_SYM. Remove comment about bounded
7571 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7572 <bp-sym.h> and <bp-asm.h>.
7573 (memcpy): Don't use BP_SYM.
7574 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7575 <bp-sym.h> and <bp-asm.h>.
7576 (__mempcpy): Don't use BP_SYM.
7577 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7578 <bp-sym.h> and <bp-asm.h>.
7579 (__memrchr): Don't use BP_SYM.
7580 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7581 <bp-sym.h> and <bp-asm.h>.
7582 (memset): Don't use BP_SYM.
7583 (__bzero): Likewise.
7584 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7585 <bp-sym.h> and <bp-asm.h>.
7586 (__rawmemchr): Don't use BP_SYM.
7587 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7588 <bp-sym.h> and <bp-asm.h>.
7589 (__STRCMP): Don't use BP_SYM.
7590 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7591 <bp-sym.h> and <bp-asm.h>.
7592 (strchr): Don't use BP_SYM.
7593 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7594 <bp-sym.h> and <bp-asm.h>.
7595 (__strchrnul): Don't use BP_SYM.
7596 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7597 <bp-sym.h> and <bp-asm.h>.
7598 (strlen): Don't use BP_SYM.
7599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7600 <bp-sym.h> and <bp-asm.h>.
7601 (strncmp): Don't use BP_SYM. Remove comment about bounded
7603 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7604 <bp-sym.h> and <bp-asm.h>.
7605 (__strnlen): Don't use BP_SYM.
7606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7607 <bp-sym.h> and <bp-asm.h>.
7608 (__GI__setjmp): Don't use BP_SYM.
7609 (_setjmp): Likewise.
7610 (__sigsetjmp): Likewise.
7611 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7612 (L(start_addresses)): Don't use BP_SYM.
7614 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7616 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7617 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7618 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7619 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7620 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7622 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7623 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7624 about bounded pointers.
7625 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7626 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7627 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7629 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7630 about bounded pointers. Remove GKM FIXME comments.
7631 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7632 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7634 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7635 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7636 Remove GKM FIXME comments.
7637 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7638 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7639 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7641 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7642 about bounded pointers. Remove GKM FIXME comment.
7643 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7645 (strncmp): Don't use BP_SYM. Remove comment about bounded
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7648 <bp-sym.h> and <bp-asm.h>.
7649 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7651 <bp-sym.h> and <bp-asm.h>.
7652 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7655 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7657 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7660 2013-03-05 David S. Miller <davem@davemloft.net>
7662 * po/es.po: Update from translation team.
7664 2013-03-05 Andreas Jaeger <aj@suse.de>
7666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7667 <bits/mman-linux.h>.
7668 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7670 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7671 <bits/mman-linux.h> to end of file.
7672 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7674 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7675 <bits/mman-linux.h> to end of file.
7676 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7679 <bits/mman-linux.h> to end of file.
7681 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7682 (MCL_CURRENT, MCL_FUTURE): Define here.
7684 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7687 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7691 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7694 fourth parameter needed for rt_sigprocmask syscall.
7695 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7696 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7697 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7698 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7699 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7700 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7702 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7705 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7706 comment about bounded pointers.
7707 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7708 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7710 2013-03-04 Andreas Jaeger <aj@suse.de>
7712 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7716 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7717 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7718 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7722 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7726 __ieee754_sqrl instead of __sqrl.
7728 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7730 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7731 * sysdeps/powerpc/fpu_control.h: ... here.
7732 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7733 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7734 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7735 * sysdeps/powerpc/bits/mathinline.h: ... here.
7737 2013-03-01 Roland McGrath <roland@hack.frob.com>
7739 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7740 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7741 to just [NEED_DL_SYSINFO_DSO].
7742 * elf/dl-support.c: Likewise.
7743 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7744 * elf/rtld.c (dl_main): Likewise.
7745 * elf/setup-vdso.h (setup_vdso): Likewise.
7746 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7747 * sysdeps/unix/sysv/linux/dl-sysdep.c
7748 (_dl_discover_osversion): Likewise.
7750 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7752 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7753 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7755 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7757 * NEWS: Mention libm performance improvements and non-x86 PI
7760 * csu/libc-start.c (__pthread_initialize_minimal): Change
7762 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7764 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7767 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7768 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7769 <bp-sym.h> and <bp-asm.h>.
7770 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7771 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7773 (memcpy): Don't use BP_SYM.
7774 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7776 (__mpn_add_n): Don't use BP_SYM.
7777 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7778 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7780 (__mpn_addmul_1): Don't use BP_SYM.
7781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7782 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7784 (_setjmp): Don't use BP_SYM.
7785 (__novmx_setjmp): Likewise.
7786 (__GI__setjmp): Likewise.
7787 (__vmx_setjmp): Likewise.
7788 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7790 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7791 (__bzero): Don't use BP_SYM.
7792 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7793 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7794 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7795 <bp-sym.h> and <bp-asm.h>.
7796 (memcpy): Don't use BP_SYM.
7797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7798 <bp-sym.h> and <bp-asm.h>.
7799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7800 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7801 <bp-sym.h> and <bp-asm.h>.
7802 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7803 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7805 (__mpn_lshift): Don't use BP_SYM.
7806 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7807 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7809 (memset): Don't use BP_SYM.
7810 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7811 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7812 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7814 (__mpn_mul_1): Don't use BP_SYM.
7815 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7816 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7817 <bp-sym.h> and <bp-asm.h>.
7818 (memcmp): Don't use BP_SYM.
7819 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7820 <bp-sym.h> and <bp-asm.h>.
7821 (memcpy): Don't use BP_SYM.
7822 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7823 <bp-sym.h> and <bp-asm.h>.
7824 (memset): Don't use BP_SYM.
7825 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7826 <bp-sym.h> and <bp-asm.h>.
7827 (strncmp): Don't use BP_SYM.
7828 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7829 <bp-sym.h> and <bp-asm.h>.
7830 (memcpy): Don't use BP_SYM.
7831 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7832 <bp-sym.h> and <bp-asm.h>.
7833 (memset): Don't use BP_SYM.
7834 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7835 <bp-sym.h> and <bp-asm.h>.
7836 (__memchr): Don't use BP_SYM.
7837 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7838 <bp-sym.h> and <bp-asm.h>.
7839 (memcmp): Don't use BP_SYM.
7840 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7841 <bp-sym.h> and <bp-asm.h>.
7842 (memcpy): Don't use BP_SYM.
7843 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7844 <bp-sym.h> and <bp-asm.h>.
7845 (__mempcpy): Don't use BP_SYM.
7846 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7847 <bp-sym.h> and <bp-asm.h>.
7848 (__memrchr): Don't use BP_SYM.
7849 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7850 <bp-sym.h> and <bp-asm.h>.
7851 (memset): Don't use BP_SYM.
7852 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7853 <bp-sym.h> and <bp-asm.h>.
7854 (__rawmemchr): Don't use BP_SYM.
7855 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7856 <bp-sym.h> and <bp-asm.h>.
7857 (__STRCMP): Don't use BP_SYM.
7858 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7859 <bp-sym.h> and <bp-asm.h>.
7860 (strchr): Don't use BP_SYM.
7861 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7862 <bp-sym.h> and <bp-asm.h>.
7863 (__strchrnul): Don't use BP_SYM.
7864 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7865 <bp-sym.h> and <bp-asm.h>.
7866 (strlen): Don't use BP_SYM.
7867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7868 <bp-sym.h> and <bp-asm.h>.
7869 (strncmp): Don't use BP_SYM.
7870 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7871 <bp-sym.h> and <bp-asm.h>.
7872 (__strnlen): Don't use BP_SYM.
7873 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7875 (__mpn_rshift): Don't use BP_SYM.
7876 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7877 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7878 <bp-sym.h> and <bp-asm.h>.
7879 (__sigsetjmp): Don't use BP_SYM.
7880 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7881 (L(start_addresses)): Don't use BP_SYM.
7883 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7885 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7886 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7887 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7888 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7890 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7891 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7892 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7893 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7895 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7897 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7898 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7900 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7902 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7903 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7904 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7906 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7908 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7910 (strncmp): Don't use BP_SYM,
7911 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7913 (__mpn_sub_n): Don't use BP_SYM.
7914 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7915 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7917 (__mpn_submul_1): Don't use BP_SYM.
7918 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7920 <bp-sym.h> and <bp-asm.h>.
7921 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7923 <bp-sym.h> and <bp-asm.h>.
7924 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7927 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7930 Use ZK to minimize writes to Z.
7931 (sub_magnitudes): Simplify code a bit.
7932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7933 Use ZK to minimize writes to Z.
7934 (sub_magnitudes): Simplify code a bit.
7936 2013-02-27 Roland McGrath <roland@hack.frob.com>
7938 * csu/gmon-start.c: Add special exception to license text.
7940 2013-02-27 Richard Henderson <rth@redhat.com>
7942 * scripts/config.guess: Update from config.git.
7943 * scripts/config.sub: Likewise.
7945 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7947 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7949 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7951 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7953 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7955 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7957 2013-02-26 Roland McGrath <roland@hack.frob.com>
7959 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7960 [$(build-shared = yes].
7962 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7964 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7965 (__mul): Reduce iterations for calculating mantissa.
7967 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7969 (__mpranred): Likewise.
7972 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7973 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7975 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7977 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7978 Define __attribute__.
7980 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7982 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7984 * posix/regex_internal.h (__attribute): Remove.
7985 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7986 (re_string_context_at): Likewise.
7987 (bitset_not): Use __attribute__ and mark function as possibly
7989 (bitset_merge): Likewise.
7990 (bitset_mask): Likewise.
7991 (re_string_char_size_at): Likewise.
7992 (re_string_wchar_at): Likewise.
7993 (re_string_elem_size_at): Likewise.
7995 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7997 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8001 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8006 (__dbl_mp): Likewise.
8007 (add_magnitudes): Likewise.
8008 (sub_magnitudes): Likewise.
8012 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8015 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8018 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8022 up changes with default code.
8023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8026 2013-02-24 Allan McRae <allan@archlinux.org>
8028 * manual/socket.texi (The Internet Namespace): Order menu items
8029 to match that in the file.
8031 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8032 node listing of the info page menu.
8034 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/i386/bp-asm.h: Remove file.
8038 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8039 (PARMS): Do not use macros from bp-asm.h.
8043 (__mpn_add_n): Do not use BP_SYM
8044 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8046 (PARMS): Do not use macros from bp-asm.h.
8049 (__mpn_addmul_1): Do not use BP_SYM
8050 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8052 (PARMS): Do not use macros from bp-asm.h.
8054 (_setjmp): Likewise. Do not use BP_SYM.
8055 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8057 (PARMS): Do not use macros from bp-asm.h.
8059 (setjmp): Likewise. Do not use BP_SYM.
8060 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8062 (PARMS): Do not use macros from bp-asm.h.
8063 (__frexp): Do not use BP_SYM.
8065 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8067 (PARMS): Do not use macros from bp-asm.h.
8068 (__frexpf): Do not use BP_SYM.
8070 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8072 (PARMS): Do not use macros from bp-asm.h.
8073 (__frexpl): Do not use BP_SYM.
8075 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8077 (PARMS): Do not use macros from bp-asm.h.
8078 (__remquo): Do not use BP_SYM.
8080 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8082 (PARMS): Do not use macros from bp-asm.h.
8083 (__remquof): Do not use BP_SYM.
8084 (remquof): Likewise.
8085 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8087 (PARMS): Do not use macros from bp-asm.h.
8088 (__remquol): Do not use BP_SYM.
8089 (remquol): Likewise.
8090 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8092 (PARMS): Do not use macros from bp-asm.h.
8095 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8096 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8098 (PARMS): Do not use macros from bp-asm.h.
8099 (strlen): Do not use BP_SYM.
8100 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8102 (PARMS): Do not use macros from bp-asm.h.
8106 (__mpn_add_n): Do not use BP_SYM.
8107 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8109 (PARMS): Do not use macros from bp-asm.h.
8112 (__mpn_addmul_1): Do not use BP_SYM.
8113 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8116 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8118 (PARMS): Do not use macros from bp-asm.h.
8121 (__mpn_lshift): Do not use BP_SYM.
8122 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8124 (PARMS): Do not use macros from bp-asm.h.
8128 (memcpy): Likewise. Do not use BP_SYM.
8129 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8130 libc_hidden_def and weak_alias.
8131 (mempcpy): Do not use BP_SYM in weak_alias.
8132 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8134 (PARMS): Do not use macros from bp-asm.h.
8137 [!BZERO_P] (CHR): Likewise.
8138 (memset): Likewise. Do not use BP_SYM.
8139 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8141 (PARMS): Do not use macros from bp-asm.h.
8144 (__mpn_mul_1): Do not use BP_SYM.
8145 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8147 (PARMS): Do not use macros from bp-asm.h.
8150 (__mpn_rshift): Do not use BP_SYM.
8151 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8153 (PARMS): Do not use macros from bp-asm.h.
8156 (strchr): Likewise. Do not use BP_SYM.
8157 (index): Do not use BP_SYM in weak_alias.
8158 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8160 (PARMS): Do not use macros from bp-asm.h.
8163 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8164 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8166 (PARMS): Do not use macros from bp-asm.h.
8167 (strlen): Do not use BP_SYM.
8168 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8170 (PARMS): Do not use macros from bp-asm.h.
8174 (__mpn_sub_n): Do not use BP_SYM.
8175 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8177 (PARMS): Do not use macros from bp-asm.h.
8180 (__mpn_submul_1): Do not use BP_SYM.
8181 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8183 (PARMS): Do not use macros from bp-asm.h.
8187 (__mpn_add_n): Do not use BP_SYM.
8188 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8191 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8193 (PARMS): Do not use macros from bp-asm.h.
8196 (memcmp): Do not use BP_SYM.
8197 (bcmp): Do not use BP_SYM in weak_alias.
8198 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8200 (PARMS): Do not use macros from bp-asm.h.
8204 (memcpy): Likewise. Do not use BP_SYM.
8205 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8207 (PARMS): Do not use macros from bp-asm.h.
8211 (memmove): Likewise. Do not use BP_SYM.
8212 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8214 (PARMS): Do not use macros from bp-asm.h.
8218 (__mempcpy): Likewise. Do not use BP_SYM.
8219 (mempcpy): Do not use BP_SYM in weak_alias.
8220 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8222 (PARMS): Do not use macros from bp-asm.h.
8225 [!BZERO_P] (CHR): Likewise.
8226 (memset): Likewise. Do not use BP_SYM.
8227 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8229 (PARMS): Do not use macros from bp-asm.h.
8231 (strcmp): Do not use BP_SYM.
8232 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8234 (PARMS): Do not use macros from bp-asm.h.
8237 [USE_AS_STRTOK_R] (SAVE): Likewise.
8238 (FUNCTION): Likewise. Do not use BP_SYM.
8239 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8241 (strtok_r): Likewise.
8242 (__GI___strtok_r): Likewise.
8243 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8244 (PARMS): Do not use macros from bp-asm.h.
8247 (__mpn_lshift): Do not use BP_SYM.
8248 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8249 (PARMS): Do not use macros from bp-asm.h.
8252 (__memchr): Do not use BP_SYM.
8253 (memchr): Do not use BP_SYM in weak_alias.
8254 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8255 (PARMS): Do not use macros from bp-asm.h.
8258 (memcmp): Do not use BP_SYM.
8259 (bcmp): Do not use BP_SYM in weak_alias.
8260 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8261 (PARMS): Do not use macros from bp-asm.h.
8264 (__mpn_mul_1): Do not use BP_SYM.
8265 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8267 (PARMS): Do not use macros from bp-asm.h.
8270 (__rawmemchr): Do not use BP_SYM.
8271 (rawmemchr): Do not use BP_SYM in weak_alias.
8272 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8273 (PARMS): Do not use macros from bp-asm.h.
8276 (__mpn_rshift): Do not use BP_SYM.
8277 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8278 (PARMS): Do not use macros from bp-asm.h.
8280 (__sigsetjmp): Likewise. Do not use BP_SYM.
8281 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8282 (_start): Do not use BP_SYM.
8283 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8284 (PARMS): Do not use macros from bp-asm.h.
8287 (__stpcpy): Likewise. Do not use BP_SYM.
8288 (stpcpy): Do not use BP_SYM in weak_alias.
8289 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8291 (PARMS): Do not use macros from bp-asm.h.
8295 (__stpncpy): Likewise. Do not use BP_SYM.
8296 (stpncpy): Do not use BP_SYM in weak_alias.
8297 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8298 (PARMS): Do not use macros from bp-asm.h.
8301 (strchr): Likewise. Do not use BP_SYM.
8302 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8304 (PARMS): Do not use macros from bp-asm.h.
8307 (__strchrnul): Likewise. Do not use BP_SYM.
8308 (strchrnul): Do not use BP_SYM in weak_alias.
8309 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8311 (PARMS): Do not use macros from bp-asm.h.
8313 (strcspn): Do not use BP_SYM.
8314 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8316 (PARMS): Do not use macros from bp-asm.h.
8319 (strpbrk): Likewise. Do not use BP_SYM.
8320 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8322 (PARMS): Do not use macros from bp-asm.h.
8325 (strrchr): Likewise. Do not use BP_SYM.
8326 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8327 (PARMS): Do not use macros from bp-asm.h.
8329 (strspn): Do not use BP_SYM.
8330 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8331 (PARMS): Do not use macros from bp-asm.h.
8335 (FUNCTION): Likewise. Do not use BP_SYM.
8336 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8338 (strtok_r): Likewise.
8339 (__GI___strtok_r): Likewise.
8340 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8341 (PARMS): Do not use macros from bp-asm.h.
8345 (__mpn_sub_n): Do not use BP_SYM.
8346 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8348 (PARMS): Do not use macros from bp-asm.h.
8351 (__mpn_submul_1): Do not use BP_SYM.
8352 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8354 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8356 (PARMS): Do not use macros from bp-asm.h.
8361 (__clone): Do not use BP_SYM.
8362 (clone): Do not use BP_SYM in weak_alias.
8363 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8365 (PARMS): Do not use macros from bp-asm.h.
8367 (__mmap64): Do not use BP_SYM.
8368 (mmap64): Do not use BP_SYM in weak_alias.
8369 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8370 <bp-sym.h> and <bp-asm.h>.
8371 (PARMS): Do not use macros from bp-asm.h.
8372 (__posix_fadvise64_l64): Do not use BP_SYM.
8373 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8374 (PARMS): Do not use macros from bp-asm.h.
8376 (semtimedop): Do not use BP_SYM.
8377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8380 2013-02-21 Allan McRae <allan@archlinux.org>
8382 * manual/message.texi (Charset conversion in gettext):
8383 Move @end statement to beginning of line.
8385 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8392 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8397 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8399 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8400 tail-call to the resolved function if pltexit isn't needed.
8402 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8405 or Y being zero as being unlikely.
8406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8409 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8411 * manual/nss.texi (System Databases and Name Service Switch):
8412 Remove frobnicate @pxref.
8414 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8416 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8417 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8419 2013-02-20 Petr Machata <pmachata@redhat.com>
8421 * elf/elf.h (R_ARM_TARGET1): New macro.
8422 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8423 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8424 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8425 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8426 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8427 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8428 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8429 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8430 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8431 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8432 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8433 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8434 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8435 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8436 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8437 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8438 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8439 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8440 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8441 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8442 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8443 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8444 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8445 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8446 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8447 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8448 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8449 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8450 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8451 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8452 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8453 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8454 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8455 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8456 (R_ARM_THM_GOT_BREL12): Likewise.
8457 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8458 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8459 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8460 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8461 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8462 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8463 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8464 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8465 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8467 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8469 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8470 __attribute_used__ to __attribute__ ((unused)).
8472 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8474 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8480 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8483 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8485 (ENTER): Remove both macro definitions.
8487 (CHECK_BOUNDS_LOW): Likewise.
8488 (CHECK_BOUNDS_HIGH): Likewise.
8489 (CHECK_BOUNDS_BOTH): Likewise.
8490 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8491 (RETURN_BOUNDED_POINTER): Likewise.
8492 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8493 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8494 (POP_ERRNO_LOCATION_RETURN): Likewise.
8495 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8496 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8497 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8499 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8500 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8501 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8502 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8503 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8504 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8505 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8506 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8507 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8508 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8509 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8510 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8511 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8512 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8514 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8515 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8517 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8518 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8519 * sysdeps/i386/i586/memset.S (memset): Likewise.
8520 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8521 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8522 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8524 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8525 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8526 Change uses of L(2) to L(out).
8527 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8528 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8529 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8530 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8531 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8533 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8534 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8537 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8538 (RETURN): Do not use macro LEAVE.
8539 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8540 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8541 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8542 * sysdeps/i386/i686/memset.S (memset): Likewise.
8543 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8544 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8545 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8546 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8548 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8549 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8550 L(1_2) and L(1_3) into L(1).
8551 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8552 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8553 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8554 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8555 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8556 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8557 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8558 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8559 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8561 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8563 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8564 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8565 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8566 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8567 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8568 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8569 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8570 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8571 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8572 * sysdeps/i386/strspn.S (strspn): Likewise.
8573 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8575 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8576 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8577 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8578 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8580 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8581 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8582 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8584 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8586 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8588 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8591 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8593 * math/atest-exp.c (exp_mpn): Remove ROUND.
8594 * math/atest-exp2.c (exp_mpn): Likewise.
8595 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8597 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8598 * stdlib/tst-tls-atexit-lib.c: Likewise.
8599 * stdlib/tst-tls-atexit.c: Likewise.
8601 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8603 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8604 and __attribute_alloc_size__.
8606 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8608 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8609 __attribute_alloc_size__.
8610 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8611 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8613 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8615 * include/programs/xmalloc.h: New file.
8616 * catgets/gencat.c: Include it.
8617 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8618 * elf/pldd.c: Likewise.
8619 * iconv/iconv_charmap.c: Likewise.
8620 * iconv/iconvconfig.c: Likewise.
8621 * iconv/strtab.c: Likewise.
8622 * locale/programs/locale.c: Likewise.
8623 * locale/programs/localedef.h: Likewise.
8624 * locale/programs/simple-hash.c: Likewise.
8625 * nscd/nscd.h: Likewise.
8626 * nss/makedb.c: Likewise.
8627 * sysdeps/generic/ldconfig.h: Likewise.
8629 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8631 * Versions.def: Add GLIBC_2.18.
8632 * include/link.h (struct link_map): New member l_tls_dtor_count.
8633 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8634 (__call_tls_dtors): Likewise.
8635 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8636 __cxa_thread_atexit_impl.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8653 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8654 (tests): Add test case tst-tls-atexit.
8655 (modules-names): Add shared library for tst-tls-atexit.
8656 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8657 (GLIBC_PRIVATE): Add __call_tls_dtors.
8658 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8660 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8661 * stdlib/tst-tls-atexit.c: New test case.
8662 * stdlib/tst-tls-atexit-lib.c: New test case.
8664 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8666 * elf/Versions (ld): Add _dl_find_dso_for_object.
8667 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8668 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8669 (dl_open_worker): Use _dl_find_dso_for_object.
8670 * elf/dl-sym.c (do_sym): Likewise.
8671 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8673 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8675 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8676 Syntactic changes only.
8677 (_dl_runtime_profile): Do a tail-call to the resolved function.
8679 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8682 * sysdeps/x86_64/bp-asm.h: Remove file.
8683 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8684 <bp-sym.h> and <bp-asm.h>.
8685 (__clone): Do not use BP_SYM.
8686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8687 <bp-sym.h> and <bp-asm.h>.
8688 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8689 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8691 (_setjmp): Do not use BP_SYM.
8692 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8694 (setjmp): Do not use BP_SYM.
8695 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8697 (mempcpy): Do not use BP_SYM in weak_alias.
8698 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8700 (strchr): Do not use BP_SYM.
8701 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8703 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8704 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8705 (_start): Do not use BP_SYM.
8706 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8708 (strcat): Do not use BP_SYM.
8709 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8711 (STRCMP): Do not use BP_SYM.
8712 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8714 (STRCPY): Do not use BP_SYM.
8715 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8717 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8719 (FUNCTION): Do not use BP_SYM.
8720 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8722 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8724 2013-02-17 Andreas Jaeger <aj@suse.de>
8726 * time/Versions: Sort entries.
8727 * string/Versions: Likewise.
8728 * resolv/Versions: Likewise.
8729 * posix/Versions: Likewise.
8730 * iconv/Versions: Likewise.
8731 * elf/Versions: Likewise.
8732 * wcsmbs/Versions: Likewise.
8734 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8736 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8737 loop termination condition.
8739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8740 variable to calculate EZ.
8743 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8744 the lower precision input.
8746 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8749 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8750 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8751 (run-via-rtld-prefix): Do not handle %-bp tests.
8752 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8753 (all-object-suffixes): Remove .ob.
8754 (bppfx): Remove variable.
8755 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8756 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8757 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8758 [$(build-bounded) = yes] (libtype.ob): Likewise.
8759 * Makerules (elide-routines.ob): Remove variable.
8760 (do-tests-clean): Do not handle *-bp.out.
8761 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8762 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8763 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8764 (tests): Do not include $(tests-bp.out).
8765 (xtests): Do not include $(xtests-bp.out).
8766 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8767 [$(build-bounded) = yes] ($(addprefix
8768 $(objpfx),$(binaries-bounded))): Remove rule.
8769 ($(objpfx)%-bp.out): Remove rule.
8770 * config.make.in (build-bounded): Remove variable.
8771 * crypt/Makefile [$(build-bounded) = yes]
8772 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8773 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8775 [$(build-bounded) = yes] (install-lib): Likewise.
8776 [$(build-bounded) = yes] (generated): Likewise.
8777 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8779 * intl/Makefile [$(build-bounded) = yes]
8780 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8781 * math/Makefile [$(build-bounded) = yes]
8782 ($(tests:%=$(objpfx)%-bp): Likewise.
8783 * misc/Makefile [$(build-bounded) = yes]
8784 ($(objpfx)tst-tsearch-bp): Likewise.
8785 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8786 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8788 * string/Makefile (o-objects.ob): Remove variable.
8789 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8790 (CFLAGS-.ob): Remove variable.
8791 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8792 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8793 both definitions of variable.
8794 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8795 (ASFLAGS-.ob): Remove variable.
8797 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8800 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8801 Remove __BOUNDED_POINTERS__ from condition.
8802 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8803 * string/bits/string2.h [!__NO_STRING_INLINES &&
8804 !__BOUNDED_POINTERS__]: Likewise.
8805 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8807 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8808 Remove conditional code.
8809 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8810 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8811 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8815 * csu/libc-start.c: Do not include <bp-sym.h>.
8816 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8817 * elf/dl-open.c: Do not include <bp-sym.h>.
8818 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8819 * math/fegetenv.c: Do not include <bp-sym.h>.
8820 (fegetenv): Do not use BP_SYM in versioned symbols.
8821 * nptl/sysdeps/pthread/bits/libc-lockP.h
8822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8825 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8827 (__pthread_mutex_destroy): Likewise.
8828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8829 (__pthread_mutex_lock): Likewise.
8830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8831 (__pthread_mutex_trylock): Likewise.
8832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8833 (__pthread_mutex_unlock): Likewise.
8834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8835 (__pthread_mutexattr_init): Likewise.
8836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8837 (__pthread_mutexattr_destroy): Likewise.
8838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8839 (__pthread_mutexattr_settype): Likewise.
8840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8841 (__pthread_rwlock_init): Likewise.
8842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8843 (__pthread_rwlock_destroy): Likewise.
8844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8845 (__pthread_rwlock_rdlock): Likewise.
8846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8847 (__pthread_rwlock_tryrdlock): Likewise.
8848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8849 (__pthread_rwlock_wrlock): Likewise.
8850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8851 (__pthread_rwlock_trywrlock): Likewise.
8852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8853 (__pthread_rwlock_unlock): Likewise.
8854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8855 (__pthread_key_create): Likewise.
8856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8857 (__pthread_setspecific): Likewise.
8858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8859 (__pthread_getspecific): Likewise.
8860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8863 (_pthread_cleanup_push_defer): Likewise.
8864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8865 (_pthread_cleanup_pop_restore): Likewise.
8866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8867 (pthread_setcancelstate): Likewise.
8868 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8870 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8871 (memchr): Do not use BP_SYM in weak_alias.
8872 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8873 (fegetenv): Do not use BP_SYM in versioned symbols.
8874 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8875 (fesetenv): Do not use BP_SYM in versioned symbols.
8876 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8877 (feupdateenv): Do not use BP_SYM in versioned symbols.
8878 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8879 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8880 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8881 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8882 (open64): Do not use BP_SYM in weak_alias.
8883 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8884 (fegetenv): Do not use BP_SYM in versioned symbols.
8885 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8886 (fesetenv): Do not use BP_SYM in versioned symbols.
8887 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8888 (feupdateenv): Do not use BP_SYM in versioned symbols.
8889 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8890 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8891 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8892 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8893 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8894 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8895 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8897 (__libc_start_main): Do not use BP_SYM.
8899 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8902 redundant return line.
8906 (sub_magnitudes): Likewise.
8912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8916 (sub_magnitudes): Likewise.
8923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8926 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8930 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8932 of __mul for squares.
8933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8937 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8938 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8940 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8943 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8945 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8946 prototype or function definition. Rename ubp_* variables and
8947 parameters. Remove argv definitions conditional on
8948 [__BOUNDED_POINTERS__].
8949 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8950 * elf/dl-runtime.c (_dl_fixup): Likewise.
8951 * include/set-hooks.h (RUN_HOOK): Likewise.
8952 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8954 * string/strcpy.c (strcpy): Do not use __unbounded.
8955 * sysdeps/generic/frame.h (struct layout): Likewise.
8956 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8957 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8958 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8959 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8960 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8961 (__backtrace): Likewise.
8962 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8964 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8965 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8966 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8968 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8969 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8970 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8971 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8972 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8973 Do not use __unbounded.
8974 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8975 Rename __unboundedrlimits parameter to rlimits in prototype.
8976 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8977 Do not use __unbounded.
8978 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8980 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8981 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8982 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8983 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8984 __ptrvalue or __unbounded.
8985 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8986 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8988 (__new_msgctl): Do not use __ptrvalue.
8989 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8991 (__libc_msgrcv): Do not use __ptrvalue.
8992 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8993 startup_info): Do not use __unbounded.
8994 (__libc_start_main): Likewise. Rename ubp_* variables and
8995 parameters. Remove argv definitions conditional on
8996 [__BOUNDED_POINTERS__].
8997 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8999 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9001 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9003 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9005 (__new_shmctl): Do not use __ptrvalue.
9006 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9007 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9009 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9011 (__libc_sigaction): Likewise.
9012 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9013 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9015 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9017 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9019 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9021 * string/mempcpy.c: Implement by calling memcpy.
9023 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9031 values in the mantissa.
9033 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9034 minimize writes to Z.
9035 (sub_magnitudes): Simplify code a bit.
9037 2013-02-12 Roland McGrath <roland@hack.frob.com>
9039 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9040 from the message. The linker prefixes all warnings with that already.
9042 2013-02-12 Andreas Schwab <schwab@suse.de>
9045 * posix/regexec.c (extend_buffers): Add parameter min_len.
9046 (check_matching): Pass minimum needed length.
9047 (clean_state_log_if_needed): Likewise.
9048 (get_subexp): Likewise.
9049 * posix/Makefile (tests): Add bug-regex34.
9050 (bug-regex34-ENV): Define.
9051 * posix/bug-regex34.c: New file.
9054 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9055 elements compare against the byte sequence of it, not its name.
9056 * posix/Makefile (tests): Add bug-regex35.
9057 (bug-regex35-ENV): Define.
9058 * posix/bug-regex35.c: New file.
9060 2013-02-11 Tom de Vries <tom@codesourcery.com>
9062 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9064 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9065 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9066 (CHECK_EOL): Add undef.
9068 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9070 * bits/stdlib-bsearch.h: New file.
9071 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9072 * stdlib/stdlib.h: Likewise.
9074 2013-02-11 Roland McGrath <roland@hack.frob.com>
9076 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9077 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9079 * manual/search.texi (Array Search Function): Add missing const in
9081 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9082 declaration to use rlim_t.
9083 (Basic Scheduling Functions): Remove erroneous const from
9084 sched_getparam prototype. Remove erroneous * from
9085 sched_get_priority_max and sched_get_priority_min prototypes.
9086 (Resource Usage): Fix summary @comment on vtimes to refer to
9087 sys/vtimes.h rather than vtimes.h.
9088 Add missing *s in vtimes prototype.
9089 (Limits on Resources): Fix ulimit prototype to return long int.
9090 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9091 prototypes to use long int rather than double.
9092 (BSD Random): Fix initstate and setstate to use char *, not void *.
9093 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9094 prototype to make second argument 'struct aiocb64 *const[]'.
9095 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9096 (Status of AIO Operations): Remove erroneous const in aio_return and
9097 aio_return64 prototypes.
9098 (Synchronizing I/O): Fix sync prototype to return void.
9099 * manual/startup.texi (Suboptions): Remove an erroneous const in
9100 getsubopt prototype.
9101 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9102 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9103 use size_t rather than int.
9104 (Scanning All Users): Likewise for getpwent_r.
9105 (Setting Groups): Add missing const to setgroups prototype.
9106 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9107 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9108 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9109 'const void *' rather than 'const char *'.
9110 (Host Address Functions): Likewise for inet_ntop.
9111 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9112 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9113 ssize_t for return value.
9114 (Sending Data): Likewise for send, sendto, sendmsg.
9115 (Socket Option Functions): Add a missing const in setsockopt prototype.
9116 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9117 use wchar_t for the argument.
9118 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9119 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9121 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9122 double/float/long double for second argument.
9123 Fix return types of significand, significandf, significandl.
9124 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9125 argument in fchmod prototype.
9126 (File Owner): Use uid_t and gid_t in fchown prototype.
9127 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9128 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9129 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9130 use 'const struct dirent **' as argument types to CMP function pointer
9132 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9133 (File Times): Fix summary magic @comment for struct utimbuf and utime
9134 to refer to utime.h, not time.h.
9135 * manual/string.texi (Argz Functions): Add missing const in
9136 argz_extract and argz_next prototypes.
9137 (Finding Tokens in a String): Likewise for basename.
9138 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9139 (Copying and Concatenation): Fix typo in wmemmove prototype.
9140 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9141 (Signal Stack): Remove erroneous const in sigstack prototype.
9142 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9144 (Simple Calendar Time): Likewise for stime.
9145 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9147 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9148 say sys/sysctl.h instead.
9149 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9150 and vsyslog prototypes.
9152 2013-02-11 Tom de Vries <tom@codesourcery.com>
9154 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9157 2013-02-11 Roland McGrath <roland@hack.frob.com>
9159 * misc/sys/mman.h: Fix typo in mremap comment.
9161 2013-02-08 Roland McGrath <roland@hack.frob.com>
9163 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9164 the '\0' terminator.
9166 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9169 * debug/segfault.c: Don't include <bp-checks.h>.
9170 * sysdeps/generic/bp-checks.h: Remove file.
9171 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9172 (__GETDENTS): Don't use CHECK_N.
9173 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9174 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9175 (__getgroups): Don't use CHECK_N.
9176 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9177 (setgroups): Don't use CHECK_N.
9178 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9179 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9180 (__libc_msgrcv): Don't use CHECK_N.
9181 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9182 (__libc_msgsnd): Don't use CHECK_N.
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9185 (__libc_pread): Don't use CHECK_N.
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9187 include <bp-checks.h>.
9188 (__libc_pread64): Don't use CHECK_N.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9190 include <bp-checks.h>.
9191 (__libc_pwrite): Don't use CHECK_N.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9193 include <bp-checks.h>.
9194 (__libc_pwrite64): Don't use CHECK_N.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9197 (__libc_pread): Don't use CHECK_N.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9199 include <bp-checks.h>.
9200 (__libc_pread64): Don't use CHECK_N.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9202 include <bp-checks.h>.
9203 (__libc_pwrite): Don't use CHECK_N.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9205 include <bp-checks.h>.
9206 (__libc_pwrite64): Don't use CHECK_N.
9207 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9208 (do_pread): Don't use CHECK_N.
9209 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9210 (do_pread64): Don't use CHECK_N.
9211 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9212 (do_pwrite): Don't use CHECK_N.
9213 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9214 (do_pwrite64): Don't use CHECK_N.
9215 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9216 (__libc_readv): Don't use CHECK_N.
9217 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9218 (semop): Don't use CHECK_N.
9219 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9221 (semtimedop): Don't use CHECK_N.
9222 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9223 (__libc_pread): Don't use CHECK_N.
9224 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9226 (__libc_pread64): Don't use CHECK_N.
9227 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9229 (__libc_pwrite): Don't use CHECK_N.
9230 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9232 (__libc_pwrite64): Don't use CHECK_N.
9233 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9235 (__libc_msgrcv): Don't use CHECK_N.
9236 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9237 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9238 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9239 (__libc_writev): Don't use CHECK_N.
9241 2013-02-08 Roland McGrath <roland@hack.frob.com>
9243 * string/strcpy.c: Removed unused variable.
9245 * Makeconfig (+sysdep-includes): Define with := rather than =.
9246 Use an existing include/ subdir of each sysdeps dir before it.
9248 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9250 * nscd/connection.c (register_traced_file): Comment function.
9251 [HAVE_INOTIFY] (union __inev): Define.
9252 [HAVE_INOTIFY] (inotify_check_files): New function.
9253 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9254 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9256 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9258 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9260 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9261 loaded if not already and that a failure is permanent.
9263 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9266 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9267 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9269 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9272 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9273 (CHECK_1_NULL_OK): Likewise.
9274 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9275 (__fxstat): Do not use CHECK_1.
9276 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9278 (___fxstat64): Do not use CHECK_1.
9279 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9281 (__fxstatat): Do not use CHECK_1.
9282 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9284 (__fxstatat64): Do not use CHECK_1.
9285 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9287 (__fxstat): Do not use CHECK_1.
9288 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9290 (__fxstatat): Do not use CHECK_1.
9291 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9293 (__getresgid): Do not use CHECK_1.
9294 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9296 (__getresuid): Do not use CHECK_1.
9297 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9299 (__lxstat): Do not use CHECK_1.
9300 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9302 (__old_msgctl): Do not use CHECK_1.
9303 (__new_msgctl): Likewise.
9304 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9306 (__new_setrlimit): Do not use CHECK_1.
9307 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9309 (__old_shmctl): Do not use CHECK_1.
9310 (__new_shmctl): Likewise.
9311 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9313 (__xstat): Do not use CHECK_1.
9314 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9315 (__lxstat): Do not use CHECK_1.
9316 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9318 (___lxstat64): Do not use CHECK_1.
9319 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9320 (__old_msgctl): Do not use CHECK_1.
9321 (__new_msgctl): Likewise.
9322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9324 (__gettimeofday): Do not use CHECK_1.
9325 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9326 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9327 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9329 (__gettimeofday): Do not use CHECK_1.
9330 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9331 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9332 (__new_shmctl): Do not use CHECK_1.
9333 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9335 (do_sigtimedwait): Do not use CHECK_1.
9336 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9338 (do_sigwaitinfo): Do not use CHECK_1.
9339 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9341 (msgctl): Do not use CHECK_1.
9342 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9344 (shmctl): Do not use CHECK_1.
9345 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9346 (ustat): Do not use CHECK_1.
9347 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9349 (__fxstat): Do not use CHECK_1.
9350 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9352 (__fxstatat): Do not use CHECK_1.
9353 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9355 (__lxstat): Do not use CHECK_1.
9356 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9358 (__xstat): Do not use CHECK_1.
9359 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9360 (__xstat): Do not use CHECK_1.
9361 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9362 (___xstat64): Do not use CHECK_1.
9365 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9367 (CHECK_BOUNDS_HIGH): Likewise.
9368 * string/strcpy.c: Do not include <bp-checks.h>.
9369 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9371 2013-02-07 Roland McGrath <roland@hack.frob.com>
9373 * nscd/nscd-client.h (__nscd_drop_map_ref):
9374 Add __attribute__ ((unused)).
9375 * nis/nss-nisplus.h (niserr2nss): Likewise.
9377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9378 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9380 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9381 Remove inline keyword.
9382 * include/rounding-mode.h (round_away): Likewise.
9383 * libio/wfileops.c (adjust_wide_data): Likewise.
9384 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9385 (__m128i_strloadu_tolower): Likewise.
9386 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9387 (__m128i_strloadu_tolower): Likewise.
9388 * time/mktime.c (ydhms_diff): Likewise.
9389 * locale/elem-hash.h (elem_hash): Likewise.
9390 * locale/setlocale.c (setdata): Likewise.
9391 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9392 (re_string_wchar_at): Likewise.
9393 (bitset_not, bitset_merge, bitset_mask): Likewise.
9394 [!(__GNUC__ > 3)] (inline): Remove macro.
9395 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9396 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9397 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9398 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9399 * string/memcmp.c (memcmp_bytes): Likewise.
9400 * locale/programs/locarchive.c (compute_hashval): Likewise.
9401 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9402 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9403 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9404 * nss/getent.c (print_rpc, print_protocols): Likewise.
9405 (print_passwd, print_group, print_aliases): Likewise.
9406 * nis/nss-nisplus.h (niserr2nss): Likewise.
9407 * nscd/connections.c (restart_p): Likewise.
9408 Change return type to bool.
9410 2013-02-05 Roland McGrath <roland@hack.frob.com>
9412 * Makeconfig (all-Depend-files): Add existing
9413 $(sorted-subdirs:=/Depend) files.
9414 (all-subdirs): Remove nss.
9415 * sysdeps/unix/inet/Subdirs: Add it here instead.
9416 * hesiod/Depend: New file.
9418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9419 instead of calling alloca.
9421 * io/lseek.c (__lseek): Rename to __libc_lseek.
9422 Define __lseek as an alias.
9424 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9426 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9428 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9429 else clause and remove check for non-standard endianness.
9431 2013-02-04 David S. Miller <davem@davemloft.net>
9433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9435 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9438 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9439 (__ubp_memchr): Remove prototype.
9440 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9441 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9442 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9443 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9444 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9446 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9447 (__ubp_memchr): Likewise.
9448 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9449 (__ubp_memchr): Likewise.
9450 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9451 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9452 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9453 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9455 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9456 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9457 (__getcwd): Do not use CHECK_STRING.
9458 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9460 (__real_chown): Do not use CHECK_STRING.
9461 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9463 (fchownat): Do not use CHECK_STRING.
9464 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9466 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9468 (__lchown): Do not use CHECK_STRING.
9469 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9470 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9471 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9472 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9474 include <bp-checks.h>.
9475 (truncate64): Do not use CHECK_STRING.
9476 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9478 (__real_chown): Do not use CHECK_STRING.
9479 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9481 (__lchown): Do not use CHECK_STRING.
9482 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9484 (__chown): Do not use CHECK_STRING.
9485 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9487 (truncate64): Do not use CHECK_STRING.
9488 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9490 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9491 (__xmknod): Do not use CHECK_STRING.
9492 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9494 (__xmknodat): Do not use CHECK_STRING.
9495 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9496 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9498 2013-02-04 Andreas Schwab <schwab@suse.de>
9501 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9502 * include/netdb.h: Likewise for h_errno.
9503 * elf/tst-stackguard1.c: Include <tls.h>.
9505 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9507 * elf/link.h (struct link_map): Extend the l_addr comment.
9508 * include/link.h (struct link_map): Likewise.
9510 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9513 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9514 (BOUNDED_1): Remove macro.
9515 * debug/backtrace.c: Don't include <bp-checks.h>.
9516 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9517 (__backtrace): Likewise.
9518 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9520 (__backtrace): Don't use BOUNDED_1.
9521 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9523 (__backtrace): Don't use BOUNDED_1.
9524 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9525 (__backtrace): Don't use BOUNDED_1.
9526 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9527 (shmat): Don't use BOUNDED_N.
9529 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9532 * sysdeps/generic/bp-start.h: Remove file.
9533 * csu/libc-start.c: Don't include <bp-start.h>.
9534 (LIBC_START_MAIN): Set up __environ directly instead of using
9535 INIT_ARGV_and_ENVIRON.
9536 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9540 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9542 (CHECK_FCNTL): Likewise.
9543 (CHECK_N_PAGES): Likewise.
9546 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9548 (CHECK_SIGSET_NULL_OK): Likewise.
9549 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9551 (sigpending): Don't use CHECK_SIGSET.
9552 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9554 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9555 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9557 (do_sigsuspend): Don't use CHECK_SIGSET.
9558 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9560 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9561 (do_sigwait): Don't use CHECK_SIGSET.
9562 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9564 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9565 include <bp-checks.h>.
9566 (sigpending): Don't use CHECK_SIGSET.
9567 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9568 include <bp-checks.h>.
9569 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9570 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9572 (sigpending): Don't use CHECK_SIGSET.
9573 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9575 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9578 * sysdeps/generic/bp-semctl.h: Remove file.
9579 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9580 <bp-checks.h> and <bp-semctl.h>.
9581 (__old_semctl): Don't use CHECK_SEMCTL.
9582 (__new_semctl): Likewise.
9583 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9585 (__old_semctl): Don't use CHECK_SEMCTL.
9586 (__new_semctl): Likewise.
9587 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9588 <bp-checks.h> and <bp-semctl.h>.
9589 (__old_semctl): Don't use CHECK_SEMCTL.
9590 (__new_semctl): Likewise.
9591 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9592 <bp-checks.h> and <bp-semctl.h>.
9593 (semctl): Don't use CHECK_SEMCTL.
9596 * Makerules (elide-bp-thunks): Remove variable.
9597 (elide-routines.oS): Don't use $(elide-bp-thunks).
9598 (elide-routines.os): Likewise.
9599 (elide-routines.o): Likewise.
9600 (elide-routines.op): Likewise.
9601 (elide-routines.og): Likewise.
9602 (objects): Don't use $(bp-thunks).
9603 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9605 (common-generated): Do not add s-proto-bp.d.
9606 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9609 Do not generate makefile rules for bounded-pointer thunks.
9610 * sysdeps/generic/bp-thunks.h: Remove file.
9611 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9612 * sysdeps/unix/s-proto-bp.S: Likewise.
9615 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9616 parts of result separately when argument is not close to line from
9617 -i to i and one part of argument is small.
9618 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9619 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9620 * math/libm-test.inc (cacos_test): Add more tests.
9621 (casin_test): Likewise.
9622 (casinh_test): Likewise.
9623 * sysdeps/i386/fpu/libm-test-ulps: Update.
9624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9626 2013-01-31 David S. Miller <davem@davemloft.net>
9628 * po/de.po: Update from translation team.
9630 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9632 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9634 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9636 * configure.in (_AC_PROG_CC_C89): New definition.
9637 * configure: Regenerate.
9639 * configure.in (AC_PROG_CPP): New definition.
9640 * configure: Regenerate.
9642 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9644 * debug/tst-backtrace.h: New file.
9645 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9646 (ret): Remove variable.
9648 (FAIL): Remove macro.
9649 (NO_INLINE): Likewise.
9650 (fn1): Use match function instead of strstr.
9651 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9652 (ret): Remove variable.
9654 (FAIL): Remove macro.
9655 (NO_INLINE): Likewise.
9656 (fn): Use match function instead of strstr.
9657 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9658 (ret): Remove variable.
9660 (FAIL): Remove macro.
9661 (NO_INLINE): Likewise.
9662 (handle_signal): Use match function instead of strstr.
9663 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9664 (ret): Remove variable.
9666 (FAIL): Remove macro.
9667 (NO_INLINE): Likewise.
9668 (handle_signal): Use match function instead of strstr.
9670 2013-01-23 Roland McGrath <roland@hack.frob.com>
9672 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9674 2013-01-23 David S. Miller <davem@davemloft.net>
9676 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9677 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9678 argument of CAS if possible.
9679 * sysdeps/sparc/sparc64/bits/atomic.h
9680 (__arch_compare_and_exchange_val_32_acq): Likewise.
9681 (__arch_compare_and_exchange_val_64_acq): Likewise.
9683 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9685 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9686 * sysdeps/posix/ulimit.c: ... this.
9688 * sysdeps/unix/bsd/ulimit.c: Remove file.
9690 2013-01-23 Adam Conrad <adconrad@0c3.net>
9692 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9693 (LDFLAGS-tst-array5): Likewise.
9695 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9698 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9699 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9700 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9701 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9703 2013-01-21 David S. Miller <davem@davemloft.net>
9705 * sysdeps/sparc/backtrace.c: New file.
9706 * sysdeps/sparc/sparc32/backtrace.h: New file.
9707 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9708 * sysdeps/sparc/sparc64/backtrace.h: New file.
9709 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9710 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9713 2013-01-21 Andreas Schwab <schwab@suse.de>
9716 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9719 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9725 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9726 Mark Mitchell <mark@codesourcery.com>
9727 Tom de Vries <tom@codesourcery.com>
9728 Paul Pluzhnikov <ppluzhnikov@google.com>
9730 * debug/tst-backtrace2.c: New file.
9731 * debug/tst-backtrace3.c: Likewise.
9732 * debug/tst-backtrace4.c: Likewise.
9733 * debug/tst-backtrace5.c: Likewise.
9734 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9735 (CFLAGS-tst-backtrace3.c): Likewise.
9736 (CFLAGS-tst-backtrace4.c): Likewise.
9737 (CFLAGS-tst-backtrace5.c): Likewise.
9738 (LDFLAGS-tst-backtrace2): Likewise.
9739 (LDFLAGS-tst-backtrace3): Likewise.
9740 (LDFLAGS-tst-backtrace4): Likewise.
9741 (LDFLAGS-tst-backtrace5): Likewise.
9742 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9743 tst-backtrace4 and tst-backtrace5.
9745 2013-01-18 Anton Blanchard <anton@samba.org>
9746 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9748 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9749 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9750 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9751 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9753 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9754 "+r" and remove output regs list as redundant. Add explicit inline
9755 asm to specify register of return val to work around compiler codegen
9756 bug. Remove (int) cast on return value. Add return type parameter to
9757 use in macro so that this macro does not truncate return value for
9759 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9760 pass to INTERNAL_VSYSCALL_NCS.
9761 (INLINE_VSYSCALL): Add 'long int' as return type to
9762 INTERNAL_VSYSCALL_NCS macro invocation.
9763 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9764 INTERNAL_VSYSCALL_NCS macro invocation.
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9767 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9770 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9771 Fix application of SIMD FP exception mask.
9773 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9774 mp_no from a power of two.
9775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9776 __mpexp_twomm1. Use __pow_mp.
9778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9781 2013-01-17 David S. Miller <davem@davemloft.net>
9783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9785 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9788 * include/complex.h: Condition contents on [!_COMPLEX_H].
9789 (__kernel_casinhf): New prototype.
9790 (__kernel_casinh): Likewise.
9791 (__kernel_casinhl): Likewise.
9792 * math/Makefile (libm_calls): Add k_casinh.
9793 * math/k_casinh.c: New file.
9794 * math/k_casinhf.c: Likewise.
9795 * math/k_casinhl.c: Likewise.
9796 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9797 finite nonzero arguments.
9798 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9799 finite nonzero arguments.
9800 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9801 finite nonzero arguments.
9802 * math/s_casinh.c: Do not include <float.h>.
9803 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9804 * math/s_casinhf.c: Do not include <float.h>.
9805 (__casinhf): Move code for finite nonzero arguments to
9807 * math/s_casinhl.c: Do not include <float.h>.
9808 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9810 (__casinhl): Move code for finite nonzero arguments to
9812 * math/libm-test.inc (cacos_test): Add more tests.
9813 * sysdeps/i386/fpu/libm-test-ulps: Update.
9814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9816 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9818 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9819 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9820 [!HAVE_MREMAP]: Remove [defined linux] case.
9821 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9823 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9825 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9827 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9829 * elf/elf.h (R_386_SIZE32): New relocation.
9830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9832 (elf_machine_rela): Likewise.
9833 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9834 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9836 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9838 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9839 (FP_FAST_FMA): Do not define.
9840 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9841 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9842 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9843 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9844 !_SOFT_FLOAT]: Likewise.
9845 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9846 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9849 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9850 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9851 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9852 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9853 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9856 2013-01-16 Andreas Schwab <schwab@suse.de>
9859 * include/stdlib.h (__mktemp): Add declaration.
9860 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9861 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9863 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9865 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9867 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9868 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9869 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9871 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9872 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9874 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9876 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9877 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9878 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9880 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9881 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9883 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9885 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9887 2013-01-15 David S. Miller <davem@davemloft.net>
9889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9890 trunc{,f} to libm-sysdep_routes.
9891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9901 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9902 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9903 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9904 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9905 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9906 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9909 nearbyint{,f} to libm-sysdep_routes.
9910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9927 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9928 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9930 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9931 libc_feholdexcept and libc_fesetenv.
9933 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9935 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9937 2013-01-14 David S. Miller <davem@davemloft.net>
9939 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9940 (SPARC_ASM_VIS2_IFUNC): Likewise.
9941 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9943 use of 'siam' instruction.
9944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9977 routines to libm-sysdep_routines.
9978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9981 fdim/fdimf to libm-sysdep_routines.
9982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9990 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9991 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9992 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9993 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9995 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10000 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10005 local variable MPTWO.
10006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10009 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10011 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10014 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10016 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10018 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10020 * manual/pattern.texi (glob_t): Document gl_flags.
10021 (glob64_t): Likewise.
10023 2013-01-11 David S. Miller <davem@davemloft.net>
10025 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10026 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10027 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10028 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10029 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10030 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10031 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10032 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10033 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10034 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10035 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10036 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10037 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10039 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10040 sparc V9 rather than using V8 code.
10041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10046 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10049 2013-01-11 Roland McGrath <roland@hack.frob.com>
10051 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10052 not in the main loop.
10053 * configure: Regenerated.
10055 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10057 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10058 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10060 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10061 [!__GLIBC_HAVE_LONG_LONG] case.
10062 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10063 condition to just #else.
10064 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10065 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10066 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10067 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10069 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10070 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10071 #elif condition to just #else.
10072 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10073 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10074 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10075 #elif condition to just #else.
10077 2013-01-11 Steve Ellcey <sellcey@mips.com>
10079 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10080 (EF_MIPS_ARCH_64): Fix value.
10081 (EF_MIPS_ARCH_32R2): New.
10082 (EF_MIPS_ARCH_64R2): New.
10084 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10086 * Makeconfig (+link-pie-before-libc): New.
10087 (+link-pie-after-libc): Likewise.
10088 (+link-pie-tests): Likewise.
10089 (+link-pie): Rewritten.
10090 (link-before-libc): Remove $(config-LDFLAGS).
10091 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10092 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10093 (config-LDFLAGS): Renamed to ...
10094 (rtld-LDFLAGS): This.
10095 (rtld-tests-LDFLAGS): New macro.
10096 (link-libc-rpath-link): Likewise.
10097 (link-libc-tests-rpath-link): Likewise.
10098 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10099 (link-libc): Prepand $(link-libc-rpath-link).
10100 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10101 (test-program-prefix): New macro.
10102 (test-via-rtld-prefix): Likewise.
10103 (test-program-cmd): Likewise.
10104 (host-test-program-cmd): Likewise.
10105 * Makefile ($(common-objpfx)testrun.sh): Replace
10106 $(run-program-prefix) with $(test-program-prefix).
10107 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10109 ($(common-objpfx)shlib.lds): Likewise.
10110 (build-module-helper): Likewise.
10111 ($(common-objpfx)format.lds): Likewise.
10112 * Rules (binaries-pie-tests): New.
10113 (binaries-pie-notests): Likewise.
10114 (binaries-pie): Rewritten.
10115 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10116 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10117 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10118 (make-test-out): Replace $(host-built-program-cmd) with
10119 $(host-test-program-cmd).
10120 * config.make.in (build-hardcoded-path-in-tests): New variable.
10121 * configure.in (--enable-hardcoded-path-in-tests): New configure
10123 (hardcoded_path_in_tests): New AC_SUBST.
10124 * configure: Regenerated.
10125 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10126 $(built-program-cmd) with $(test-program-cmd).
10127 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10128 (test_program_cmd): This.
10129 * elf/Makefile ($(objpfx)order.out): Run test with
10130 $(test-program-prefix).
10131 ($(objpfx)order2.out): Likewise.
10132 ($(objpfx)tst-initorder.out): Likewise.
10133 ($(objpfx)tst-initorder2.out): Likewise.
10134 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10135 $(test-program-cmd).
10136 ($(objpfx)tst-array1-static.out): Likewise.
10137 ($(objpfx)tst-array2.out): Likewise.
10138 ($(objpfx)tst-array3.out): Likewise.
10139 ($(objpfx)tst-array4.out): Likewise.
10140 ($(objpfx)tst-array5.out): Likewise.
10141 ($(objpfx)tst-array5-static.out): Likewise.
10142 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10143 $(test-program-cmd).
10144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10145 $(run-program-prefix) with $(test-program-prefix).
10146 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10147 (test_program_prefix): This.
10148 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10149 $(run-program-prefix) with $(test-program-prefix).
10150 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10151 (test_program_prefix): This.
10152 * iconvdata/tst-tables.sh: Likewise.
10153 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10154 $(run-program-prefix) with $(test-program-prefix).
10155 ($(objpfx)tst-translit.out): Likewise.
10156 ($(objpfx)tst-gettext2.out): Likewise.
10157 ($(objpfx)tst-gettext4.out): Likewise.
10158 ($(objpfx)tst-gettext6.out): Likewise.
10159 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10160 (test_program_prefix): This.
10161 * intl/tst-gettext2.sh: Likewise.
10162 * intl/tst-gettext4.sh Likewise.
10163 * intl/tst-gettext6.sh: Likewise.
10164 * intl/tst-translit.sh: Likewise.
10165 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10166 with $(test-program-cmd).
10167 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10168 $(run-program-prefix) with $(test-program-prefix).
10169 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10170 (test_program_prefix): This.
10171 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10172 $(run-program-prefix) with $(test-program-prefix).
10173 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10174 (test_program_prefix): This.
10175 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10176 * posix/Makefile ($(objpfx)globtest.out): Replace
10177 $(run-via-rtld-prefix) and $(test-wrapper) with
10178 $(test-program-prefix) and $(test-via-rtld-prefix).
10179 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10180 $(test-program-prefix).
10181 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10182 $(host-test-program-cmd).
10183 (tst-spawn-ARGS): Likewise.
10184 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10185 $(test-program-prefix).
10186 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10187 (test_via_rtld_prefix): This.
10188 (test_wrapper): Renamed to ...
10189 (test_program_prefix): This.
10190 (run_program_prefix): Replaced by test_program_prefix.
10191 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10192 (test_program_prefix): This.
10193 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10194 with $(host-test-program-cmd).
10195 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10196 $(run-program-prefix) with $(test-program-prefix).
10197 ($(objpfx)tst-printf.out): Likewise.
10198 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10199 $(test-program-cmd).
10200 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10201 (test_program_prefix): This.
10202 * stdio-common/tst-unbputc.sh: Likewise.
10203 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10204 $(run-program-prefix) with $(test-program-prefix).
10205 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10206 (test_program_prefix): This.
10207 * string/Makefile ($(objpfx)tst-svc.out): Replace
10208 $(built-program-cmd) with $(test-program-cmd).
10210 2013-01-11 Andreas Jaeger <aj@suse.de>
10213 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10214 value. Sync with Linux 3.7.
10216 2013-01-10 David S. Miller <davem@davemloft.net>
10218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10219 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10220 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10222 2013-01-10 Roland McGrath <roland@hack.frob.com>
10224 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10226 * configure: Regenerated.
10228 2013-01-10 David S. Miller <davem@davemloft.net>
10230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10231 sparc V9 rather than using V8 code.
10232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10235 2013-01-10 Roland McGrath <roland@hack.frob.com>
10237 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10238 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10239 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10240 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10241 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10242 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10243 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10244 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10245 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10246 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10247 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10248 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10249 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10250 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10251 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10252 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10253 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10254 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10255 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10256 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10257 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10258 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10259 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10260 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10261 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10262 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10263 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10265 2013-01-10 David S. Miller <davem@davemloft.net>
10267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10269 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10271 * posix/Makefile (tests-static): New variable.
10272 (tests): Add $(tests-static).
10273 (tst-exec-static-ARGS): New variable.
10274 (tst-spawn-static-ARGS): Likewise.
10275 * posix/tst-exec-static.c: New file.
10276 * posix/tst-spawn-static.c: Likewise.
10277 * posix/tst-exec.c: Support run directly.
10278 * posix/tst-spawn.c: Likewise.
10280 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10282 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10284 * math/bits/mathcalls.h (llrint): Likewise.
10285 (llround): Likewise.
10286 * stdlib/stdlib.h (struct drand48_data): Likewise.
10287 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10288 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10289 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10291 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10293 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10294 (elf_greg_t): Likewise.
10295 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10296 (__jmp_buf): Likewise.
10297 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10299 (llrint): Likewise, for all definitions.
10300 (llrintl): Likewise.
10302 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10303 Remove [__GNUC__] condition.
10304 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10305 condition to just [__USE_ISOC99].
10306 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10308 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10311 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10312 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10314 (_POSIX_V6_ILP32_OFF32): Likewise.
10315 (_XBS5_ILP32_OFF32): Likewise.
10316 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10317 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10319 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10321 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10324 doubles __mpexp_twomm1. Adjust usage.
10325 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10328 2013-01-10 Andreas Schwab <schwab@suse.de>
10331 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10332 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10334 2013-01-09 David S. Miller <davem@davemloft.net>
10337 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10338 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10339 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10340 TCP_FASTOPEN): Define.
10341 (tcp_repair_opt): New structure.
10342 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10344 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10345 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10346 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10347 (tcp_cookie_transactions): New structure.
10349 2013-01-09 Anton Blanchard <anton@samba.org>
10351 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10352 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10353 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10354 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10356 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10358 * include/features.h (__USE_ANSI): Remove.
10360 2013-01-09 Roland McGrath <roland@hack.frob.com>
10362 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10364 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10366 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10368 * sysdeps/s390/fpu/libm-test-ulps: Update.
10370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10372 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10376 (denorm): Likewise.
10377 (__mp_dbl): Likewise.
10378 (__dbl_mp): Likewise.
10379 (add_magnitudes): Likewise.
10380 (sub_magnitudes): Likewise.
10386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10390 (denorm): Likewise.
10391 (__mp_dbl): Likewise.
10392 (__dbl_mp): Likewise.
10393 (add_magnitudes): Likewise.
10394 (sub_magnitudes): Likewise.
10400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10404 (denorm): Likewise.
10405 (__mp_dbl): Likewise.
10406 (__dbl_mp): Likewise.
10407 (add_magnitudes): Likewise.
10408 (sub_magnitudes): Likewise.
10415 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10417 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10418 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10419 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10420 2 && __USE_EXTERN_INLINES]: Likewise.
10422 2013-01-08 Andreas Jaeger <aj@suse.de>
10425 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10427 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10428 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10430 2013-01-07 Anton Blanchard <anton@samba.org>
10432 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10433 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10434 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10435 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10436 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10437 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10438 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10439 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10442 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10444 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10446 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10448 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10449 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10450 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10452 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10453 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10455 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10456 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10457 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10458 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10459 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10461 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10462 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10465 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10466 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10467 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10468 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10474 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10476 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10478 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10479 (__MALLOC_PMT): Likewise.
10480 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10481 [__GNUC__], only on [_LIBC].
10482 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10483 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10484 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10485 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10486 forward declaration.
10487 (realloc_hook_ini): Likewise.
10488 (memalign_hook_ini): Likewise.
10489 (__libc_memalign): Do not use __MALLOC_PMT in variable
10491 (__libc_valloc): Likewise.
10492 (__libc_pvalloc): Likewise.
10493 (__libc_calloc): Likewise.
10494 (__posix_memalign): Likewise.
10497 * math/s_casinh.c: Include <float.h>.
10498 (__casinh): Do not do computation with squaring and square root
10499 for large arguments.
10500 * math/s_casinhf.c: Include <float.h>.
10501 (__casinhf): Do not do computation with squaring and square root
10502 for large arguments.
10503 * math/s_casinhl.c: Include <float.h>.
10504 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10505 (__casinhl): Do not do computation with squaring and square root
10506 for large arguments.
10507 * math/libm-test.inc (casin_test): Add more tests.
10508 (casinh_test): Likewise.
10509 * sysdeps/i386/fpu/libm-test-ulps: Update.
10510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10512 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10514 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10515 (__x86_64_raw_data_cache_size): Likewise.
10516 (__x86_64_data_cache_size_half): Likewise.
10517 (__x86_64_raw_data_cache_size_half): Likewise.
10518 (__x86_64_shared_cache_size): Likewise.
10519 (__x86_64_raw_shared_cache_size): Likewise.
10520 (__x86_64_shared_cache_size_half): Likewise.
10521 (__x86_64_raw_shared_cache_size_half): Likewise.
10522 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10524 (__x86_data_cache_size): This.
10525 (__x86_64_raw_data_cache_size): Renamed to ...
10526 (__x86_raw_data_cache_size): This.
10527 (__x86_64_data_cache_size_half): Renamed to ...
10528 (__x86_data_cache_size_half): This.
10529 (__x86_64_raw_data_cache_size_half): Renamed to ...
10530 (__x86_raw_data_cache_size_half): This.
10531 (__x86_64_shared_cache_size): Renamed to ...
10532 (__x86_shared_cache_size): This.
10533 (__x86_64_raw_shared_cache_size): Renamed to ...
10534 (__x86_raw_shared_cache_size): This.
10535 (__x86_64_shared_cache_size_half): Renamed to ...
10536 (__x86_shared_cache_size_half): This.
10537 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10538 (__x86_raw_shared_cache_size_half): This.
10539 * sysdeps/x86_64/memcpy.S: Updated.
10540 * sysdeps/x86_64/memset.S: Likewise.
10541 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10545 2013-01-04 David S. Miller <davem@davemloft.net>
10547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10549 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10551 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10552 1 to avoid redefinition warning.
10553 (__USE_GNU): Don't define.
10554 (init_signaling_nan): Protoize.
10556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10558 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10560 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10562 (__cpymn): Likewise.
10563 (norm): Remove commented code.
10564 (denorm): Likewise.
10565 (__mp_dbl): Likewise.
10567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10568 (__cpymn): Likewise.
10569 (norm): Remove commented code.
10570 (denorm): Likewise.
10571 (__mp_dbl): Likewise.
10574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10575 mp_no value for 1.0 and 2.0.
10576 (norm): Use RADIXI instead of radixi.d.
10577 (denorm): Likewise.
10578 (__mul): Use 0.0 instead of zero.d.
10579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10580 mp_no value for 1.0 and 2.0.
10581 (norm): Use RADIXI instead of radixi.d.
10582 (denorm): Likewise.
10583 (__mul): Use 0.0 instead of zero.d.
10585 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10588 * math/s_casinh.c (__casinh): Reduce finite argument to first
10589 quadrant then set signs of results at the end.
10590 * math/s_casinhf.c (__casinhf): Likewise.
10591 * math/s_casinhl.c (__casinhl): Likewise.
10592 * math/libm-test.inc (casin_test): Add more tests.
10593 (casinh_test): Likewise.
10594 * sysdeps/i386/fpu/libm-test-ulps: Update.
10595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10597 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10599 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10601 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10603 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10605 (denorm): Likewise.
10606 (__mp_dbl): Likewise.
10609 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10610 and adjust the header comment.
10612 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10613 variable name from declaration.
10615 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10618 Initialize COMMON_CPUID_INDEX_7 element.
10619 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10620 (CPUID_RTM): Likewise.
10621 (HAS_RTM): Likewise.
10622 (COMMON_CPUID_INDEX_7): New enum.
10624 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10627 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10628 size is zero, record memory as freed.
10630 2013-01-03 Andreas Jaeger <aj@suse.de>
10632 * po/ia.po: Add new Interlingua translation.
10634 2012-01-03 Allan McRae <allan@archlinux.org>
10636 * locale/programs/localedef.c: Fix description of '--posix' flag.
10638 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10640 * NEWS: Update dates in second copyright notice.
10641 * README: Update copyright dates in example.
10642 * manual/libc.texinfo: Update copyright dates.
10643 * scripts/test-installation.pl: Update copyright date in --version
10646 * hurd/ctty-input.c: Fix copyright notice formatting.
10647 * hurd/ctty-output.c: Likewise.
10648 * hurd/dtable.c: Likewise.
10649 * hurd/hurd-raise.c: Likewise.
10650 * hurd/hurdprio.c: Likewise.
10651 * hurd/msgportdemux.c: Likewise.
10652 * misc/sys/file.h: Likewise.
10653 * misc/sys/ioctl.h: Likewise.
10654 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10655 * sysdeps/mach/hurd/chdir.c: Likewise.
10656 * sysdeps/mach/hurd/fchdir.c: Likewise.
10657 * sysdeps/mach/hurd/rename.c: Likewise.
10658 * sysdeps/mach/hurd/rmdir.c: Likewise.
10659 * sysdeps/mach/hurd/seekdir.c: Likewise.
10660 * sysdeps/mach/hurd/setsid.c: Likewise.
10661 * sysdeps/posix/wait3.c: Likewise.
10663 * All files with FSF copyright notices: Update copyright dates
10664 using scripts/update-copyrights.
10665 * intl/plural.c: Regenerated.
10666 * locale/programs/charmap-kw.h: Likewise.
10667 * locale/programs/locfile-kw.h: Likewise.
10669 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10671 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10674 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10675 calculation loop and add branch prediction.
10677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10678 check access beyond bounds of m1np.
10680 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10682 (__inv): Remove local variable MPTWO to use the global
10684 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10687 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10688 MP3HALFS static const.
10690 2013-01-01 David S. Miller <davem@davemloft.net>
10692 * po/ca.po: Update from translation team.
10694 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10696 * scripts/update-copyrights: New file.
10697 * Makeconfig: Reformat copyright notice.
10698 * ctype/ctype.h: Likewise.
10699 * debug/swprintf_chk.c: Likewise.
10700 * elf/dl-cache.c: Likewise.
10701 * elf/dl-debug.c: Likewise.
10702 * elf/dl-object.c: Likewise.
10703 * grp/initgroups.c: Likewise.
10704 * hurd/Makefile: Likewise.
10705 * hurd/hurd/signal.h: Likewise.
10706 * hurd/hurdfault.c: Likewise.
10707 * hurd/hurdioctl.c: Likewise.
10708 * hurd/hurdlookup.c: Likewise.
10709 * hurd/intr-msg.c: Likewise.
10710 * iconv/gconv_open.c: Likewise.
10711 * libio/swprintf.c: Likewise.
10712 * locale/lc-ctype.c: Likewise.
10713 * locale/nl_langinfo.c: Likewise.
10714 * mach/Machrules: Likewise.
10715 * mach/Makefile: Likewise.
10716 * malloc/obstack.h: Likewise.
10717 * manual/Makefile: Likewise.
10718 * manual/tsort.awk: Likewise.
10719 * misc/bits/stab.def: Likewise.
10720 * nis/nis_print_group_entry.c: Likewise.
10721 * nis/nis_table.c: Likewise.
10722 * nis/nss_compat/compat-pwd.c: Likewise.
10723 * nis/nss_compat/compat-spwd.c: Likewise.
10724 * po/Makefile: Likewise.
10725 * posix/fnmatch.c: Likewise.
10726 * posix/regex.h: Likewise.
10727 * resolv/Makefile: Likewise.
10728 * resolv/nss_dns/dns-network.c: Likewise.
10729 * resolv/res_hconf.c: Likewise.
10730 * scripts/gen-sorted.awk: Likewise.
10731 * soft-fp/soft-fp.h: Likewise.
10732 * stdio-common/printf.h: Likewise.
10733 * stdlib/monetary.h: Likewise.
10734 * stdlib/random.c: Likewise.
10735 * stdlib/random_r.c: Likewise.
10736 * sysdeps/generic/Makefile: Likewise.
10737 * sysdeps/gnu/Makefile: Likewise.
10738 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10766 * sysdeps/mach/hurd/errnos.awk: Likewise.
10767 * sysdeps/mach/hurd/fork.c: Likewise.
10768 * sysdeps/mach/hurd/getcwd.c: Likewise.
10769 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10770 * sysdeps/mach/hurd/mmap.c: Likewise.
10771 * sysdeps/mach/hurd/utimes.c: Likewise.
10772 * sysdeps/mach/hurd/xmknod.c: Likewise.
10773 * sysdeps/posix/profil.c: Likewise.
10774 * sysdeps/posix/readdir_r.c: Likewise.
10775 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10776 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10777 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10778 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10780 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10781 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10782 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10786 * sysdeps/pthread/lio_listio.c: Likewise.
10787 * sysdeps/sparc/dl-procinfo.h: Likewise.
10788 * sysdeps/unix/i386/sysdep.S: Likewise.
10789 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10790 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10791 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10792 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10794 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10795 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10796 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10797 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10798 * sysdeps/wordsize-32/divdi3.c: Likewise.
10799 * time/sys/time.h: Likewise.
10800 * wcsmbs/Makefile: Likewise.
10802 2013-01-01 David S. Miller <davem@davemloft.net>
10804 * po/fr.po: Update from translation team.
10806 * catgets/gencat.c: Update copyright year.
10807 * csu/version.c: Likewise.
10808 * debug/catchsegv.sh: Likewise.
10809 * debug/pcprofiledump.c: Likewise.
10810 * debug/xtrace.sh: Likewise.
10811 * elf/ldconfig.c: Likewise.
10812 * elf/ldd.bash.in: Likewise.
10813 * elf/pldd.c: Likewise.
10814 * elf/sotruss.ksh: Likewise.
10815 * elf/sprof.c: Likewise.
10816 * iconv/iconv_prog.c: Likewise.
10817 * iconv/iconvconfig.c: Likewise.
10818 * locale/programs/locale.c: Likewise.
10819 * locale/programs/localedef.c: Likewise.
10820 * login/programs/pt_chown.c: Likewise.
10821 * malloc/memusage.sh: Likewise.
10822 * malloc/memusagestat.c: Likewise.
10823 * malloc/mtrace.pl: Likewise.
10824 * nscd/nscd.c: Likewise.
10825 * nss/getent.c: Likewise.
10826 * nss/makedb.c: Likewise.
10827 * posix/getconf.c: Likewise.
10829 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10831 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10834 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10836 * math/bits/mathcalls.h (modf): Use __nonnull.
10838 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10840 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10841 (split): Use macro CN instead of the bare value.
10842 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10845 instead of the bare value.
10846 (power1): Likewise.
10848 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10850 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10852 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10854 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10856 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10857 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10858 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10859 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10861 2012-12-28 Andreas Jaeger <aj@suse.de>
10863 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10864 values are from Linux 3.7.
10866 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10867 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10869 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10871 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10876 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10877 variables with preprocessor constants.
10878 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10879 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10880 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10882 2012-12-27 Bruno Haible <bruno@clisp.org>
10885 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10888 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10891 and use variable directly.
10892 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10894 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10896 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10901 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10902 include directive. Remove local variable MPONE.
10903 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10904 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10905 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10907 2012-12-25 David S. Miller <davem@davemloft.net>
10909 * version.h (RELEASE): Set to "development".
10910 (VERSION): Set to "2.17.90".
10911 * NEWS: Add 2.18 section.
10913 2012-12-21 David S. Miller <davem@davemloft.net>
10915 * po/hr.po: Update from translation team.
10917 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10919 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10921 2012-12-19 Steve Ellcey <sellcey@mips.com>
10923 * NEWS: Mention new memcpy for MIPS.
10925 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10927 * manual/contrib.texi (Contributors): Spelling correction.
10929 2012-12-15 David S. Miller <davem@davemloft.net>
10931 * po/ru.po: Update from translation team.
10933 2012-12-13 David S. Miller <davem@davemloft.net>
10935 * NEWS: Mention IFUNC testsuite enhancements.
10937 * po/pl.po: Update from translation team.
10938 * po/bg.po: Likewise.
10940 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10941 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10943 2012-12-11 David S. Miller <davem@davemloft.net>
10945 * po/sv.po: Update from translation team.
10947 * po/vi.po: Update from translation team.
10949 * po/cs.po: Update from translation team.
10951 * po/de.po: Update from translation team.
10952 * po/eo.po: Likewise.
10953 * po/nl.po: Likewise.
10955 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10958 * manual/argp.texi (Argp Helper Functions): Move node to follow
10959 Argp Parsing State.
10962 * manual/conf.texi (Limits on File System Capacity): Mention if
10963 terminating null is included in the max size.
10965 2012-12-10 Andreas Jaeger <aj@suse.de>
10967 * po/cs.po: Update from translation team.
10969 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10971 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10972 void pointer and cast to uintptr_t.
10973 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10975 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10976 * sysdeps/s390/s390-64/memset.S: Likewise.
10978 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10981 * menual/message.texi (Message Translation): Fix typos.
10982 (Helper programs for gettext): Likewise.
10984 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10987 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10990 2012-12-07 David S. Miller <davem@davemloft.net>
10992 * po/libc.pot: Update.
10994 2012-12-07 Richard Henderson <rth@redhat.com>
10997 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10998 normal/normal case to before the switch.
10999 (_FP_DIV): Likewise.
11001 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11002 Mike Frysinger <vapier@gentoo.org>
11004 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11005 check for __NR_fadvise64_64.
11007 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11009 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11010 0, not just to plain "0" as a statement.
11011 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11014 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11016 * NEWS: Use sourceware.org in Bugzilla URL.
11018 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11021 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11023 * stdio-common/tst-put-error.c (do_test): Add newline to the
11024 padded test to ensure flush.
11026 2012-12-05 Jeff Law <law@redhat.com>
11028 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11030 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11032 * README: Don't refer to ports add-on as distributed separately.
11033 Mention AArch64 in list of systems supported in the ports add-on.
11035 * LICENSES: Add more non-FSF copyright and license notices.
11037 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11040 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11042 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11043 10000 as width of padded output.
11045 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11047 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11050 variable LX with __attribute__ ((unused)).
11051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11053 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11056 with __attribute__ ((unused)).
11058 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11060 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11062 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11064 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11065 (CFLAGS-nldbl-acos.c): New variable.
11066 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11067 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11068 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11069 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11070 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11071 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11072 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11073 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11074 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11075 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11076 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11077 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11078 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11079 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11080 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11081 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11082 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11083 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11084 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11085 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11086 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11087 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11088 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11089 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11090 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11091 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11092 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11093 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11094 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11095 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11096 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11097 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11098 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11099 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11100 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11101 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11102 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11103 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11104 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11105 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11106 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11107 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11108 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11109 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11110 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11111 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11112 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11113 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11114 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11115 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11116 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11117 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11118 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11119 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11120 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11121 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11122 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11123 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11124 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11125 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11126 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11127 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11128 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11129 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11130 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11131 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11132 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11133 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11134 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11135 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11136 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11137 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11138 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11139 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11140 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11141 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11142 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11143 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11144 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11145 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11146 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11147 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11148 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11149 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11150 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11151 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11152 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11153 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11154 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11155 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11156 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11157 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11158 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11159 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11160 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11161 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11162 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11165 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11169 whole low double instead of just low 47 bits when splitting values
11172 2012-12-03 Allan McRae <allan@archlinux.org>
11174 * manual/stdio.texi (Predefined Printf Handlers): Remove
11175 @hsep and @vsep usage.
11177 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11179 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11180 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11182 2012-12-03 Jeff Law <law@redhat.com>
11184 * time/sys/time.h (settimeofday): Do not mark TV argument
11187 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11189 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11190 when currently writing and seek to current position when not.
11191 * libio/Makefile (tests): Remove bug-fclose1.
11192 * libio/bug-fclose1.c: Delete.
11194 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11196 * manual/arith.texi (feenableexcept): Fix typo.
11197 (fedisableexcept): Likewise.
11199 2012-11-30 Roland McGrath <roland@hack.frob.com>
11201 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11202 second, differently-typed declaration, rather than a cast.
11204 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11206 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11207 * include/rpc/svc.h: ... here.
11209 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11212 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11213 depending n and resplen2 to catch cases where answer
11216 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11218 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11219 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11221 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11225 2012-11-29 Roland McGrath <roland@hack.frob.com>
11227 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11229 2012-11-28 Jeff Law <law@redhat.com>
11232 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11233 dataset_temporary. Track alloca usage into alloca_used.
11234 If dataset is large allocate and release it via malloc/free.
11236 2012-06-04 Florian Weimer <fweimer@redhat.com>
11239 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11241 2012-11-28 David S. Miller <davem@davemloft.net>
11243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11245 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11248 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11249 of pi/2 rounded to nearest to 64 bits.
11250 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11251 nearest to 64 bits.
11252 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11255 2012-11-28 Jeff Law <law@redhat.com>
11256 Martin Osvald <mosvald@redhat.com>
11259 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11260 * sunrpc/svc.c: Include time.h.
11261 (__svc_accept_failed): New function.
11262 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11263 any reason other than EINTR, call __svc_accept_failed.
11264 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11265 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11267 2012-11-28 Andreas Schwab <schwab@suse.de>
11269 * scripts/abilist.awk: Also handle indirect functions in .opd
11272 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11275 * sysdeps/x86/fpu/powl_helper.c: New file.
11276 * sysdeps/x86/fpu/Makefile: Likewise.
11277 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11279 (__ieee754_powl): Use __powl_helper for finite arguments except
11280 integer exponents below 8.
11281 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11283 (__ieee754_powl): Use __powl_helper for finite arguments except
11284 integer exponents below 8.
11285 * math/libm-test.inc (pow_test): Add more tests and enable some
11286 previously disabled tests.
11287 * sysdeps/i386/fpu/libm-test-ulps: Update.
11288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11290 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11291 Carlos O'Donell <carlos_odonell@mentor.com>
11293 * nss/makedb.c (is_prime): Assert that input is odd and greater
11294 than 4. Note that fact in a comment too.
11295 (next_prime): Add 4 to input.
11297 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11300 * libio/Makefile (tests): Add test case tst-fwrite-error.
11301 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11302 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11303 * libio/tst-fwrite-error.c: New test case.
11305 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11307 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11308 before casting to void *.
11309 * include/libc-internal.h (__pointer_type): New macro.
11310 (__integer_if_pointer_type_sub): Likewise.
11311 (__integer_if_pointer_type): Likewise.
11312 (cast_to_integer): Likewise.
11313 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11314 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11315 before casting to atomic64_t.
11316 (atomic_exchange_acq): Likewise.
11317 (__arch_exchange_and_add_body): Likewise.
11318 (__arch_add_body): Likewise.
11319 (atomic_add_negative): Likewise.
11320 (atomic_add_zero): Likewise.
11322 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11324 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11325 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11326 (add_fdes): Likewise.
11327 (linear_search_fdes): Likewise.
11328 (binary_search_unencoded_fdes): Likewise.
11330 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11332 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11334 2012-11-24 Adam Conrad <adconrad@0c3.net>
11336 * configure.in: Autodetect C++ header directories.
11337 * configure: Regenerated.
11339 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11341 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11343 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11347 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11349 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11350 LDBL_MANT_DIG == 106]: Disable some tests.
11351 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11353 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11357 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11358 input for small inputs. Return +/- pi/2 for large inputs.
11359 * math/libm-test.inc (atan_test): Add more tests.
11361 * sysdeps/generic/unwind-dw2-fde-glibc.c
11362 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11363 __attribute__ ((unused)).
11366 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11367 x * y if x and y are nonzero and z is zero.
11370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11371 nonzero exponents with absolute value below 0x1p-117 to +/-
11375 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11376 up arguments below 2**-450, not just those below 2**-500.
11377 * math/libm-test.inc (hypot_test): Add another test.
11380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11381 Return a+b for ratio over 2**120, not 2**60.
11382 * math/libm-test.inc (hypot_test): Add another test.
11384 * math/libm-test.inc (clog_test): Use
11385 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11386 (clog10_test): Likewise.
11389 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11391 2012-11-22 Andreas Schwab <schwab@suse.de>
11393 * sysdeps/i386/fpu/libm-test-ulps: Update.
11395 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11397 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11398 printf output with newline.
11400 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11403 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11404 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11405 -z nodlopen, -z initfirst and -z execstack support.
11406 * configure: Regenerated.
11408 * elf/elf.h (DF_1_NODIRECT): New macro.
11409 (DF_1_IGNMULDEF): Likewise.
11410 (DF_1_NOKSYMS): Likewise.
11411 (DF_1_NOHDR): Likewise.
11412 (DF_1_EDITED): Likewise.
11413 (DF_1_NORELOC): Likewise.
11414 (DF_1_SYMINTPOSE): Likewise.
11415 (DF_1_GLOBAUDIT): Likewise.
11416 (DF_1_SINGLETON): Likewise.
11417 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11418 DT_1_SUPPORTED_MASK bits.
11419 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11421 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11423 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11425 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11427 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11430 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11431 (sendmmsg): Move declarations...
11432 * socket/sys/socket.h: ... here.
11433 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11434 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11436 * socket/recvmmsg.c: ... this new file.
11437 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11438 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11439 definition of __sendmmsg hidden.
11440 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11441 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11442 Move ENOSYS stub into and include it from...
11443 * socket/sendmmsg.c: ... this new file.
11444 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11445 (sysdep_routines): Move recvmmsg and sendmmsg...
11446 * socket/Makefile (routines): ... here.
11447 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11448 (GLIBC_PRIVATE): Add __sendmmsg.
11449 * include/sys/socket.h (__sendmmsg): Add declarations.
11450 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11453 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11456 variable I1 with __attribute__ ((unused)).
11457 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11459 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11461 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11462 DUMMY variables with __attribute__ ((unused)).
11464 * bits/byteswap.h: Include <bits/types.h>.
11465 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11467 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11469 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11470 string_t. Do not manually set errno.
11471 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11472 length with __strnlen. Make sure to both set errno and return it on
11475 2012-11-19 David S. Miller <davem@davemloft.net>
11477 With help from Joseph Myers.
11478 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11479 very large arguments properly.
11480 * math/libm-test.inc (atan_test): New tests.
11481 (atan2_test): New tests.
11482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11485 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11488 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11491 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11492 [POSIX] (EADDRNOTAVAIL): Likewise.
11493 [POSIX] (EAFNOSUPPORT): Likewise.
11494 [POSIX] (EALREADY): Likewise.
11495 [POSIX] (ECONNABORTED): Likewise.
11496 [POSIX] (ECONNREFUSED): Likewise.
11497 [POSIX] (ECONNRESET): Likewise.
11498 [POSIX] (EDESTADDRREQ): Likewise.
11499 [POSIX] (EDQUOT): Likewise.
11500 [POSIX] (EHOSTUNREACH): Likewise.
11501 [POSIX] (EIDRM): Likewise.
11502 [POSIX] (EISCONN): Likewise.
11503 [POSIX] (ELOOP): Likewise.
11504 [POSIX] (EMULTIHOP): Likewise.
11505 [POSIX] (ENETDOWN): Likewise.
11506 [POSIX] (ENETUNREACH): Likewise.
11507 [POSIX] (ENOBUFS): Likewise.
11508 [POSIX] (ENODATA): Likewise.
11509 [POSIX] (ENOLINK): Likewise.
11510 [POSIX] (ENOMSG): Likewise.
11511 [POSIX] (ENOPROTOOPT): Likewise.
11512 [POSIX] (ENOSR): Likewise.
11513 [POSIX] (ENOSTR): Likewise.
11514 [POSIX] (ENOTCONN): Likewise.
11515 [POSIX] (ENOTSOCK): Likewise.
11516 [POSIX] (EOPNOTSUPP): Likewise.
11517 [POSIX] (EOVERFLOW): Likewise.
11518 [POSIX] (EPROTO): Likewise.
11519 [POSIX] (EPROTONOSUPPORT): Likewise.
11520 [POSIX] (EPROTOTYPE): Likewise.
11521 [POSIX] (ESTALE): Likewise.
11522 [POSIX] (ETIME): Likewise.
11523 [POSIX] (ETXTBSY): Likewise.
11524 [POSIX] (EWOULDBLOCK): Likewise.
11525 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11526 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11527 [POSIX] (SEEK_CUR): Likewise.
11528 [POSIX] (SEEK_END): Likewise.
11529 [POSIX || UNIX98] (mode_t): Do not require.
11530 [POSIX] (off_t): Likewise.
11531 [POSIX] (pid_t): Likewise.
11532 [POSIX] (sys/stat.h): Do not allow header.
11533 [POSIX] (unistd.h): Likewise.
11534 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11535 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11536 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11537 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11539 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11540 sigevent): Specify elements.
11541 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11543 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11544 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11546 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11547 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11548 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11549 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11550 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11551 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11552 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11553 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11554 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11555 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11556 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11557 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11558 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11559 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11561 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11565 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11567 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11568 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11569 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11570 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11571 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11572 Specify lower bound on value.
11573 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11574 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11575 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11576 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11577 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11578 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11579 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11580 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11582 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11584 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11585 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11586 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11587 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11588 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11589 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11590 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11591 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11592 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11593 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11594 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11595 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11596 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11597 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11598 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11599 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11601 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11603 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11604 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11605 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11606 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11607 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11608 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11610 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11611 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11612 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11613 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11614 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11615 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11616 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11619 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11620 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11621 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11622 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11623 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11624 specify as optional.
11625 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11626 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11627 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11628 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11629 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11630 [XPG3] (NL_LANGMAX): Likewise.
11631 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11632 [POSIX || XPG3] (NL_NMAX): Likewise.
11633 [POSIX || XPG3] (NL_SETMAX): Likewise.
11634 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11635 [XPG3] (NZERO): Likewise.
11636 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11637 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11638 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11639 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11640 (REG_ERANGE): Expect.
11641 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11643 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11644 Use (void) in prototype.
11645 [POSIX] (*_t): Allow.
11646 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11647 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11648 (WRDE_BADVAL): Expect.
11650 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11652 [XPG3 || XPG4] (O_RSYNC): Likewise.
11653 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11655 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11656 [XPG3 || XPG4] (sigqueue): Likewise.
11657 [XPG3 || XPG4] (sigtimedwait): Likewise.
11658 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11659 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11660 [XPG3 || XPG4] (vsnprintf): Likewise.
11661 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11663 [XPG3 || XPG4] (blksize_t): Likewise.
11664 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11666 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11667 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11668 [XPG3 || XPG4] (struct itimerspec): Likewise.
11669 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11670 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11671 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11672 [XPG3 || XPG4] (clockid_t): Likewise.
11673 [XPG3 || XPG4] (timer_t): Likewise.
11674 [XPG3 || XPG4] (clock_getres): Likewise.
11675 [XPG3 || XPG4] (clock_gettime): Likewise.
11676 [XPG3 || XPG4] (clock_settime): Likewise.
11677 [XPG3 || XPG4] (nanosleep): Likewise.
11678 [XPG3 || XPG4] (timer_create): Likewise.
11679 [XPG3 || XPG4] (timer_delete): Likewise.
11680 [XPG3 || XPG4] (timer_gettime): Likewise.
11681 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11682 [XPG3 || XPG4] (timer_settime): Likewise.
11683 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11684 [XPG3 || XPG4] (getlogin_r): Likewise.
11685 [XPG3 || XPG4] (pread): Likewise.
11686 [XPG3 || XPG4] (pthread_atfork): Likewise.
11687 [XPG3 || XPG4] (pwrite): Likewise.
11690 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11693 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11695 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11696 finalizing MALLSTREAM.
11698 * sysdeps/mach/hurd/syncfs.c: New file.
11700 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11703 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11704 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11705 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11706 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11707 (_nss_dns_gethostbyname4_r): Likewise.
11708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11709 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11711 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11714 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11716 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11718 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11719 * elf/cache.c (print_entry): Print ",AArch64" for
11722 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11723 * elf/cache.c (print_entry): Print ",hard-float" for
11726 2012-11-18 David S. Miller <davem@davemloft.net>
11728 With help from Joseph Myers.
11729 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11731 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11733 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11734 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11736 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11737 * math/libm-test.inc (y0_test): New tests.
11738 (y1_test): New tests.
11739 * sysdeps/i386/fpu/libm-test-ulps: Update.
11740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11743 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11745 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11747 * configure: Regenerated.
11749 2012-11-17 David S. Miller <davem@davemloft.net>
11752 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11753 nonzero exponents with absolute value below 0x1p-128 to +/-
11756 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11758 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11760 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11762 * posix/getconf-speclist.c: New file.
11763 * posix/posix-envs.def: Likewise.
11764 * posix/confstr.c (START_ENV_GROUP): New macro.
11765 (END_ENV_GROUP): Likewise.
11766 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11767 (KNOWN_PRESENT_ENV_STRING): Likewise.
11768 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11769 (UNKNOWN_ENVIRONMENT): Likewise.
11770 (confstr): Include posix-envs.def instead of handling
11771 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11772 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11773 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11774 (END_ENV_GROUP): Likewise.
11775 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11776 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11777 (UNKNOWN_ENVIRONMENT): Likewise.
11778 (__sysconf): Include posix-envs.def instead of handling associated
11779 cases directly here.
11780 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11781 preprocessing getconf-speclist.c rather than running getconf or
11782 generating empty file.
11784 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11786 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11788 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11791 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11793 2012-11-16 David S. Miller <davem@davemloft.net>
11795 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11796 smaller than LDBL_EPSILON/2.0L, just return xm1.
11798 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11800 * elf/tst-array1.c (init): Set constructor priority to 1000.
11801 (fini): Set destructor priority to 1000.
11802 * elf/tst-array2dep.c: Likewise.
11804 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11807 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11808 (_IO_new_file_xsputn): Also return EOF if none of the input
11809 data was written when overflow failed.
11810 * libio/iopadn.c (_IO_padn): Likewise.
11811 * libio/iowpadn.c (_IO_wpadn): Likewise.
11812 * stdio-common/tst-put-error.c: Add copyright notice.
11813 (do_test): Add case for printing padded string.
11814 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11815 _IO_padn returned error.
11816 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11817 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11820 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11822 * libio/libioP.h: Add comment note that the references to C++
11823 bits are now obsolete.
11825 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11827 * math/libm-test.inc (check_complex): Use asprintf.
11829 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11831 * debug/pcprofiledump.c (print_version): Update copyright year.
11832 * malloc/memusagestat.c (print_version): Likewise.
11834 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11837 * elf/Makefile (tests): Add tst-audit8.
11838 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11839 ($(objpfx)tst-audit8.out): New target.
11840 (tst-audit8-ENV): New variable.
11841 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11842 audit if l_reloc_result is NULL.
11843 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11844 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11845 * elf/tst-audit8.c: New file.
11847 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11849 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11850 * misc/Makefile (CFLAGS-select.c): Define.
11851 * posix/Makefile (CFLAGS-pause.c): Define.
11853 2012-11-13 David S. Miller <davem@davemloft.net>
11855 * crypt/Makefile: Move test targets after toplevel Rules
11856 inclusion. Grab any necessary sysdep routines when linking.
11857 * crypt/md5.c (md5_process_block): Remove define, we will always
11858 name it __md5_process_block.
11859 (md5_finish_ctx): Update md5_process_block call.
11860 (md5_stream): Likewise.
11861 (md5_process_bytes): Likewise.
11862 (md5_process_block): Rename to __md5_process_block and move to ...
11863 * crypt/md5-block.c: ... here.
11864 * crypt/sha256.c (sha256_process_block): Move to ...
11865 * crypt/sha256-block.c: ... here.
11866 * crypt/sha512.c (sha512_process_block): Move to ...
11867 * crypt/sha512-block.c: ... here.
11868 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11870 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11871 * sysdeps/sparc/sparc64/multiarch/Makefile
11872 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11874 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11877 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11878 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11879 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11880 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11881 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11882 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11883 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11884 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11885 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11887 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11888 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11890 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11892 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11894 * timezone/tzselect.ksh: Update from tzcode git revision
11895 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11896 * timezone/zdump.c: Likewise.
11897 * timezone/zic.c: Likewise.
11898 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11899 in TZVERSION setting, not $(PKGVERSION).
11900 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11901 REPORT_BUGS_TO settings.
11904 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11907 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11909 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11910 detection to immediately after _FP_ROUND().
11911 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11914 2012-11-11 David S. Miller <davem@davemloft.net>
11916 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11918 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11919 __close rather than their public counterparts.
11921 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11923 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11925 [UNIX98] (sem_timedwait): Do not expect.
11926 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11927 [XPG4 || UNIX98] (sockatmark): Do not expect.
11928 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11929 (clock_getcpuclockid): Do not expect.
11930 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11931 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11933 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11934 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11935 [UNIX98] (vwscanf): Likewise.
11936 [UNIX98] (vswscanf): Likewise.
11938 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11940 * timezone/version.h: Remove file.
11941 * timezone/README: Do not refer to version.h.
11942 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11943 $(objpfx)version.h.
11944 ($(objpfx)zdump.o): Likewise.
11945 ($(objpfx)version.h): New target.
11947 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11949 * timezone/README: Don't mention modification to tzselect.ksh.
11950 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11951 work on unmodified tzselect.ksh. Substitute version numbers in
11954 * Makefile (format-me): Remove.
11955 (INSTALL): Adjust indentation. Use commands directly instead of
11956 using $(format-me).
11958 * aclocal.m4 (ACX_PKGVERSION): New macro.
11959 (ACX_BUGURL): Likewise.
11960 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11961 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11962 (REPORT_BUGS_TO): Likewise.
11963 * configure: Regenerated.
11964 * config.h.in (PKGVERSION): New macro.
11965 (REPORT_BUGS_TO): Likewise.
11966 * config.make.in (PKGVERSION): New variable.
11967 (PKGVERSION_TEXI): Likewise.
11968 (REPORT_BUGS_TO): Likewise.
11969 (REPORT_BUGS_TEXI): Likewise.
11970 * Makefile (format-me): Use -I$(common-objpfx)manual.
11971 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11972 ($(common-objpfx)manual/%): New target.
11973 (manual/%): Remove target.
11974 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11975 (print_version): Use PKGVERSION.
11976 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11977 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11978 and REPORT_BUGS_TO.
11979 ($(objpfx)xtrace): Likewise.
11980 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11981 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11982 (print_version): Use PKGVERSION.
11983 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11984 (do_version): Use PKGVERSION.
11985 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11987 (common-ldd-rewrite): Likewise.
11988 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11989 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11990 (print_version): Use PKGVERSION.
11991 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11992 * elf/pldd.c (argp_program_bug_address): Remove variable.
11993 (more_help): New function.
11994 (argp): Use more_help.
11995 (print_version): Use PKGVERSION.
11996 * elf/sln.c (main): Use PKGVERSION.
11997 (usage): Use REPORT_BUGS_TO.
11998 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11999 (top level): Use PKGVERSION.
12000 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12001 (print_version): Use PKGVERSION.
12002 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12003 (print_version): Use PKGVERSION.
12004 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12005 (print_version): Use PKGVERSION.
12006 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12007 (print_version): Use PKGVERSION.
12008 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12009 (print_version): Use PKGVERSION.
12010 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12011 (print_version): Use PKGVERSION.
12012 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12014 ($(objpfx)memusage): Likewise.
12015 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12016 (do_version): Use PKGVERSION.
12017 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12018 (print_version): Use PKGVERSION.
12019 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12020 ($PKGVERSION): New variable.
12021 ($REPORT_BUGS_TO): Likewise.
12022 (usage): Use $REPORT_BUGS_TO.
12023 (top level): Use $PKGVERSION.
12024 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12025 ($(objpfx)pkgvers.texi): New rule.
12026 ($(objpfx)stamp-pkgvers): Likewise.
12027 * manual/install.texi: Include pkgvers.texi.
12028 (--with-pkgversion): Document new configure option.
12029 (--with-bugurl): Likewise.
12030 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12031 than necessarily for this particular distribution. Use
12032 REPORT_BUGS_TO for where to report bugs.
12033 * INSTALL: Regenerated.
12034 * manual/libc.texinfo: Include pkgvers.texi.
12035 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12036 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12037 (print_version): Use PKGVERSION.
12038 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12039 (print_version): Use PKGVERSION.
12040 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12041 (print_version): Use PKGVERSION.
12042 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12043 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12045 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12046 (print_version): Use PKGVERSION.
12047 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12048 (print_version): Use PKGVERSION.
12049 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12052 * timezone/checktab.awk: Update from tzcode 2012i.
12053 * timezone/ialloc.c: Likewise.
12054 * timezone/private.h: Likewise.
12055 * timezone/scheck.c: Likewise.
12056 * timezone/tzfile.h: Likewise.
12057 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12058 (TZVERSION): Hardcode tzcode version number.
12059 * timezone/zdump.c: Update from tzcode 2012i.
12060 * timezone/zic.c: Likewise.
12061 * timezone/version.h: New file.
12062 * timezone/README: Describe version.h. Update upstream location.
12065 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12066 (mktemp): Enable declaration.
12067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12084 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12085 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12086 for copies of such integer values.
12087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12090 2012-11-09 Andreas Jaeger <aj@suse.de>
12092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12093 definitions and declarations that are provided by
12094 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12096 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12098 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12099 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12100 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12103 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12105 * elf/elf.h: Update comment before AArch64 relocations.
12107 2012-11-07 David S. Miller <davem@davemloft.net>
12109 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12110 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12111 (__start_context): Declare.
12112 (__makecontext_ret): Delete.
12113 (__makecontext): Hook up __start_context instead of
12115 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12116 (sysdep_routines): Add __start_context when in stdlib.
12118 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12120 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12121 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12122 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12124 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12125 (READELF): New variable. Use it instead of hardcoded "readelf".
12127 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12129 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12130 * sysdeps/x86/Makefile: Here.
12131 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12132 * sysdeps/x86/tst-xmmymm.sh: This.
12134 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12136 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12138 [UNIX98] (pthread_barrier_t): Do not expect.
12139 [UNIX98] (pthread_barrierattr_t): Likewise.
12140 [UNIX98] (pthread_spinlock_t): Likewise.
12141 [UNIX98] (pthread_barrier_destroy): Likewise.
12142 [UNIX98] (pthread_barrier_init): Likewise.
12143 [UNIX98] (pthread_barrier_wait): Likewise.
12144 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12145 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12146 [UNIX98] (pthread_barrierattr_init): Likewise.
12147 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12148 [UNIX98] (pthread_getcpuclockid): Likewise.
12149 [UNIX98] (pthread_mutex_timedlock): Likewise.
12150 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12151 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12152 [UNIX98] (pthread_sigmask): Likewise.
12153 [UNIX98] (pthread_spin_destroy): Likewise.
12154 [UNIX98] (pthread_spin_init): Likewise.
12155 [UNIX98] (pthread_spin_lock): Likewise.
12156 [UNIX98] (pthread_spin_trylock): Likewise.
12157 [UNIX98] (pthread_spin_unlock): Likewise.
12158 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12160 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12161 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12162 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12163 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12164 [XPG3 || XPG4] (pthread_key_t): Likewise.
12165 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12166 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12167 [XPG3 || XPG4] (pthread_once_t): Likewise.
12168 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12169 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12170 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12171 [XPG3 || XPG4] (pthread_t): Likewise.
12173 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12175 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12177 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12178 Change function return type to int.
12180 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12181 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12182 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12183 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12184 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12185 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12186 [!POSIX] (posix_madvise): Likewise.
12187 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12189 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12190 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12191 (mode_t): Likewise.
12192 (posix_mem_offset): Likewise.
12193 (posix_typed_mem_get_info): Likewise.
12194 (posix_typed_mem_open): Likewise.
12196 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12197 Change condition to [XOPEN2K8].
12199 * conform/conformtest.pl: Preprocess allow-header data with -x c
12200 instead of from stdin.
12201 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12202 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12203 [C99-based standards] (cerfc): Likewise.
12204 [C99-based standards] (cexp2): Likewise.
12205 [C99-based standards] (cexpm1): Likewise.
12206 [C99-based standards] (clog10): Likewise.
12207 [C99-based standards] (clog1p): Likewise.
12208 [C99-based standards] (clog2): Likewise.
12209 [C99-based standards] (clgamma): Likewise.
12210 [C99-based standards] (ctgamma): Likewise.
12211 [C99-based standards] (cerff): Likewise.
12212 [C99-based standards] (cerfcf): Likewise.
12213 [C99-based standards] (cexp2f): Likewise.
12214 [C99-based standards] (cexpm1f): Likewise.
12215 [C99-based standards] (clog10f): Likewise.
12216 [C99-based standards] (clog1pf): Likewise.
12217 [C99-based standards] (clog2f): Likewise.
12218 [C99-based standards] (clgammaf): Likewise.
12219 [C99-based standards] (ctgammaf): Likewise.
12220 [C99-based standards] (cerfl): Likewise.
12221 [C99-based standards] (cerfcl): Likewise.
12222 [C99-based standards] (cexp2l): Likewise.
12223 [C99-based standards] (cexpm1l): Likewise.
12224 [C99-based standards] (clog10l): Likewise.
12225 [C99-based standards] (clog1pl): Likewise.
12226 [C99-based standards] (clog2l): Likewise.
12227 [C99-based standards] (clgammal): Likewise.
12228 [C99-based standards] (ctgammal): Likewise.
12229 * conform/data/inttypes.h-data [C99-based standards]: Include
12230 stdint.h-data. Remove all expectations for stdint.h contents.
12231 [C99-based standards] (PRI*): Do not allow.
12232 [C99-based standards] (SCN*): Likewise.
12233 [C99-based standards] (*_t): Likewise.
12234 [C99-based-standards] (PRId8): Expect macro.
12235 [C99-based-standards] (PRIi8): Likewise.
12236 [C99-based-standards] (PRIo8): Likewise.
12237 [C99-based-standards] (PRIu8): Likewise.
12238 [C99-based-standards] (PRIx8): Likewise.
12239 [C99-based-standards] (PRIX8): Likewise.
12240 [C99-based-standards] (SCNd8): Likewise.
12241 [C99-based-standards] (SCNi8): Likewise.
12242 [C99-based-standards] (SCNo8): Likewise.
12243 [C99-based-standards] (SCNu8): Likewise.
12244 [C99-based-standards] (SCNx8): Likewise.
12245 [C99-based-standards] (PRIdLEAST8): Likewise.
12246 [C99-based-standards] (PRIiLEAST8): Likewise.
12247 [C99-based-standards] (PRIoLEAST8): Likewise.
12248 [C99-based-standards] (PRIuLEAST8): Likewise.
12249 [C99-based-standards] (PRIxLEAST8): Likewise.
12250 [C99-based-standards] (PRIXLEAST8): Likewise.
12251 [C99-based-standards] (SCNdLEAST8): Likewise.
12252 [C99-based-standards] (SCNiLEAST8): Likewise.
12253 [C99-based-standards] (SCNoLEAST8): Likewise.
12254 [C99-based-standards] (SCNuLEAST8): Likewise.
12255 [C99-based-standards] (SCNxLEAST8): Likewise.
12256 [C99-based-standards] (PRIdFAST8): Likewise.
12257 [C99-based-standards] (PRIiFAST8): Likewise.
12258 [C99-based-standards] (PRIoFAST8): Likewise.
12259 [C99-based-standards] (PRIuFAST8): Likewise.
12260 [C99-based-standards] (PRIxFAST8): Likewise.
12261 [C99-based-standards] (PRIXFAST8): Likewise.
12262 [C99-based-standards] (SCNdFAST8): Likewise.
12263 [C99-based-standards] (SCNiFAST8): Likewise.
12264 [C99-based-standards] (SCNoFAST8): Likewise.
12265 [C99-based-standards] (SCNuFAST8): Likewise.
12266 [C99-based-standards] (SCNxFAST8): Likewise.
12267 [C99-based-standards] (PRId16): Likewise.
12268 [C99-based-standards] (PRIi16): Likewise.
12269 [C99-based-standards] (PRIo16): Likewise.
12270 [C99-based-standards] (PRIu16): Likewise.
12271 [C99-based-standards] (PRIx16): Likewise.
12272 [C99-based-standards] (PRIX16): Likewise.
12273 [C99-based-standards] (SCNd16): Likewise.
12274 [C99-based-standards] (SCNi16): Likewise.
12275 [C99-based-standards] (SCNo16): Likewise.
12276 [C99-based-standards] (SCNu16): Likewise.
12277 [C99-based-standards] (SCNx16): Likewise.
12278 [C99-based-standards] (PRIdLEAST16): Likewise.
12279 [C99-based-standards] (PRIiLEAST16): Likewise.
12280 [C99-based-standards] (PRIoLEAST16): Likewise.
12281 [C99-based-standards] (PRIuLEAST16): Likewise.
12282 [C99-based-standards] (PRIxLEAST16): Likewise.
12283 [C99-based-standards] (PRIXLEAST16): Likewise.
12284 [C99-based-standards] (SCNdLEAST16): Likewise.
12285 [C99-based-standards] (SCNiLEAST16): Likewise.
12286 [C99-based-standards] (SCNoLEAST16): Likewise.
12287 [C99-based-standards] (SCNuLEAST16): Likewise.
12288 [C99-based-standards] (SCNxLEAST16): Likewise.
12289 [C99-based-standards] (PRIdFAST16): Likewise.
12290 [C99-based-standards] (PRIiFAST16): Likewise.
12291 [C99-based-standards] (PRIoFAST16): Likewise.
12292 [C99-based-standards] (PRIuFAST16): Likewise.
12293 [C99-based-standards] (PRIxFAST16): Likewise.
12294 [C99-based-standards] (PRIXFAST16): Likewise.
12295 [C99-based-standards] (SCNdFAST16): Likewise.
12296 [C99-based-standards] (SCNiFAST16): Likewise.
12297 [C99-based-standards] (SCNoFAST16): Likewise.
12298 [C99-based-standards] (SCNuFAST16): Likewise.
12299 [C99-based-standards] (SCNxFAST16): Likewise.
12300 [C99-based-standards] (PRId32): Likewise.
12301 [C99-based-standards] (PRIi32): Likewise.
12302 [C99-based-standards] (PRIo32): Likewise.
12303 [C99-based-standards] (PRIu32): Likewise.
12304 [C99-based-standards] (PRIx32): Likewise.
12305 [C99-based-standards] (PRIX32): Likewise.
12306 [C99-based-standards] (SCNd32): Likewise.
12307 [C99-based-standards] (SCNi32): Likewise.
12308 [C99-based-standards] (SCNo32): Likewise.
12309 [C99-based-standards] (SCNu32): Likewise.
12310 [C99-based-standards] (SCNx32): Likewise.
12311 [C99-based-standards] (PRIdLEAST32): Likewise.
12312 [C99-based-standards] (PRIiLEAST32): Likewise.
12313 [C99-based-standards] (PRIoLEAST32): Likewise.
12314 [C99-based-standards] (PRIuLEAST32): Likewise.
12315 [C99-based-standards] (PRIxLEAST32): Likewise.
12316 [C99-based-standards] (PRIXLEAST32): Likewise.
12317 [C99-based-standards] (SCNdLEAST32): Likewise.
12318 [C99-based-standards] (SCNiLEAST32): Likewise.
12319 [C99-based-standards] (SCNoLEAST32): Likewise.
12320 [C99-based-standards] (SCNuLEAST32): Likewise.
12321 [C99-based-standards] (SCNxLEAST32): Likewise.
12322 [C99-based-standards] (PRIdFAST32): Likewise.
12323 [C99-based-standards] (PRIiFAST32): Likewise.
12324 [C99-based-standards] (PRIoFAST32): Likewise.
12325 [C99-based-standards] (PRIuFAST32): Likewise.
12326 [C99-based-standards] (PRIxFAST32): Likewise.
12327 [C99-based-standards] (PRIXFAST32): Likewise.
12328 [C99-based-standards] (SCNdFAST32): Likewise.
12329 [C99-based-standards] (SCNiFAST32): Likewise.
12330 [C99-based-standards] (SCNoFAST32): Likewise.
12331 [C99-based-standards] (SCNuFAST32): Likewise.
12332 [C99-based-standards] (SCNxFAST32): Likewise.
12333 [C99-based-standards] (PRId64): Likewise.
12334 [C99-based-standards] (PRIi64): Likewise.
12335 [C99-based-standards] (PRIo64): Likewise.
12336 [C99-based-standards] (PRIu64): Likewise.
12337 [C99-based-standards] (PRIx64): Likewise.
12338 [C99-based-standards] (PRIX64): Likewise.
12339 [C99-based-standards] (SCNd64): Likewise.
12340 [C99-based-standards] (SCNi64): Likewise.
12341 [C99-based-standards] (SCNo64): Likewise.
12342 [C99-based-standards] (SCNu64): Likewise.
12343 [C99-based-standards] (SCNx64): Likewise.
12344 [C99-based-standards] (PRIdLEAST64): Likewise.
12345 [C99-based-standards] (PRIiLEAST64): Likewise.
12346 [C99-based-standards] (PRIoLEAST64): Likewise.
12347 [C99-based-standards] (PRIuLEAST64): Likewise.
12348 [C99-based-standards] (PRIxLEAST64): Likewise.
12349 [C99-based-standards] (PRIXLEAST64): Likewise.
12350 [C99-based-standards] (SCNdLEAST64): Likewise.
12351 [C99-based-standards] (SCNiLEAST64): Likewise.
12352 [C99-based-standards] (SCNoLEAST64): Likewise.
12353 [C99-based-standards] (SCNuLEAST64): Likewise.
12354 [C99-based-standards] (SCNxLEAST64): Likewise.
12355 [C99-based-standards] (PRIdFAST64): Likewise.
12356 [C99-based-standards] (PRIiFAST64): Likewise.
12357 [C99-based-standards] (PRIoFAST64): Likewise.
12358 [C99-based-standards] (PRIuFAST64): Likewise.
12359 [C99-based-standards] (PRIxFAST64): Likewise.
12360 [C99-based-standards] (PRIXFAST64): Likewise.
12361 [C99-based-standards] (SCNdFAST64): Likewise.
12362 [C99-based-standards] (SCNiFAST64): Likewise.
12363 [C99-based-standards] (SCNoFAST64): Likewise.
12364 [C99-based-standards] (SCNuFAST64): Likewise.
12365 [C99-based-standards] (SCNxFAST64): Likewise.
12366 [C99-based-standards] (PRIdMAX): Likewise.
12367 [C99-based-standards] (PRIiMAX): Likewise.
12368 [C99-based-standards] (PRIoMAX): Likewise.
12369 [C99-based-standards] (PRIuMAX): Likewise.
12370 [C99-based-standards] (PRIxMAX): Likewise.
12371 [C99-based-standards] (PRIXMAX): Likewise.
12372 [C99-based-standards] (SCNdMAX): Likewise.
12373 [C99-based-standards] (SCNiMAX): Likewise.
12374 [C99-based-standards] (SCNoMAX): Likewise.
12375 [C99-based-standards] (SCNuMAX): Likewise.
12376 [C99-based-standards] (SCNxMAX): Likewise.
12377 [C99-based-standards] (PRIdPTR): Likewise.
12378 [C99-based-standards] (PRIiPTR): Likewise.
12379 [C99-based-standards] (PRIoPTR): Likewise.
12380 [C99-based-standards] (PRIuPTR): Likewise.
12381 [C99-based-standards] (PRIxPTR): Likewise.
12382 [C99-based-standards] (PRIXPTR): Likewise.
12383 [C99-based-standards] (SCNdPTR): Likewise.
12384 [C99-based-standards] (SCNiPTR): Likewise.
12385 [C99-based-standards] (SCNoPTR): Likewise.
12386 [C99-based-standards] (SCNuPTR): Likewise.
12387 [C99-based-standards] (SCNxPTR): Likewise.
12388 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12390 * conform/data/stdint.h-data: Update comments to clarify
12392 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12394 [C99-based standards] (INT8_MAX): Likewise.
12395 [C99-based standards] (INT16_MIN): Likewise.
12396 [C99-based standards] (INT16_MAX): Likewise.
12397 [C99-based standards] (INT32_MIN): Likewise.
12398 [C99-based standards] (INT32_MAX): Likewise.
12399 [C99-based standards] (INT64_MIN): Likewise.
12400 [C99-based standards] (INT64_MAX): Likewise.
12401 [C99-based standards] (UINT8_MAX): Likewise.
12402 [C99-based standards] (UINT16_MAX): Likewise.
12403 [C99-based standards] (UINT32_MAX): Likewise.
12404 [C99-based standards] (UINT64_MAX): Likewise.
12405 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12406 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12407 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12408 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12409 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12410 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12411 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12412 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12413 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12414 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12415 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12416 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12417 [C99-based standards] (INT_FAST8_MIN): Likewise.
12418 [C99-based standards] (INT_FAST8_MAX): Likewise.
12419 [C99-based standards] (INT_FAST16_MIN): Likewise.
12420 [C99-based standards] (INT_FAST16_MAX): Likewise.
12421 [C99-based standards] (INT_FAST32_MIN): Likewise.
12422 [C99-based standards] (INT_FAST32_MAX): Likewise.
12423 [C99-based standards] (INT_FAST64_MIN): Likewise.
12424 [C99-based standards] (INT_FAST64_MAX): Likewise.
12425 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12426 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12427 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12428 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12429 [C99-based standards] (INTPTR_MIN): Likewise.
12430 [C99-based standards] (INTPTR_MAX): Likewise.
12431 [C99-based standards] (UINTPTR_MAX): Likewise.
12432 [C99-based standards] (INTMAX_MIN): Likewise.
12433 [C99-based standards] (INTMAX_MAX): Likewise.
12434 [C99-based standards] (UINTMAX_MAX): Likewise.
12435 [C99-based standards] (PTRDIFF_MIN): Likewise.
12436 [C99-based standards] (PTRDIFF_MAX): Likewise.
12437 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12438 [C99-based standards] (SIZE_MAX): Likewise.
12439 [C99-based standards] (WCHAR_MAX): Likewise.
12440 [C99-based standards] (WINT_MAX): Likewise.
12441 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12442 constraint on value.
12443 [C99-based standards] (WCHAR_MIN): Likewise.
12444 [C99-based standards] (WINT_MIN): Likewise.
12445 [C99-based standards] (*_t): Allow.
12446 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12447 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12448 Include math.h-data and complex.h-data. Remove all expectations
12449 of math.h and complex.h contents.
12450 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12452 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12453 (struct tm): Expect tag.
12454 [C99-based-standards] (wcstof): Expect function.
12455 [C99-based-standards] (wcstold): Likewise.
12456 [C99-based-standards] (wcstoll): Likewise.
12457 [C99-based-standards] (wcstoull): Likewise.
12458 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12459 macro-int-constant. Specify type.
12460 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12461 constraint on value.
12462 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12464 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12466 [ISO C standards]: Do not allow headers.
12467 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12468 wcs[abcdefghijklmnopqrstuvwxyz]*.
12469 [ISO C standards] (*_t): Do not allow.
12470 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12472 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12473 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12475 [ISO C standards]: Do not allow headers.
12476 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12477 is[abcdefghijklmnopqrstuvwxyz]*.
12478 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12479 to[abcdefghijklmnopqrstuvwxyz]*.
12480 [ISO C standards] (*_t): Do not allow.
12481 * conform/data/stdalign.h-data: New file.
12482 * conform/data/stdbool.h-data: Likewise.
12483 * conform/data/stdnoreturn.h-data: Likewise.
12485 2012-11-07 Roland McGrath <roland@hack.frob.com>
12488 * manual/filesys.texi (Directory Entries): Typo fix.
12489 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12491 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12493 * elf/elf.h (EM_AARCH64): New macro.
12494 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12495 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12496 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12497 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12498 (R_AARCH64_TLSDESC): Likewise.
12499 (NT_ARM_TLS): Likewise.
12500 (NT_ARM_HW_BREAK): Likewise.
12501 (NT_ARM_HW_WATCH): Likewise.
12503 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12506 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12507 (__ieee754_powl): Saturate nonzero exponents with absolute value
12508 below 0x1p-79 to +/- 0x1p-79.
12509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12510 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12511 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12512 nonzero exponents with absolute value below 0x1p-32 to +/-
12514 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12515 (__ieee754_powl): Saturate nonzero exponents with absolute value
12516 below 0x1p-79 to +/- 0x1p-79.
12517 * math/libm-test.inc (pow_test): Add more tests.
12519 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12521 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12522 _dl_s390_cap_flags with kernel. Increase string length.
12523 (_dl_s390_platforms): Add z196 and zEC12.
12525 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12527 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12528 Change XOPEN21K to XOPEN2K.
12530 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12532 * string/memmove.c: Use memcpy when possible.
12534 2012-11-06 Andreas Jaeger <aj@suse.de>
12536 * po/eo.po: Update from translation team.
12538 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12542 exponent and small x and y exponents, scale x or y up. Increase
12543 by 2 the exponent used in scaling up.
12544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12546 * math/libm-test.inc (fma_test): Add more tests.
12547 (fma_test_towardzero): Likewise.
12548 (fma_test_downward): Likewise.
12549 (fma_test_upward): Likewise.
12551 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12554 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12558 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12559 namespace for names of struct fields.
12560 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12562 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12563 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12565 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12568 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12570 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12572 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12576 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12579 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12583 definitely overflow as x * y not x * y + z.
12584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12586 * math/libm-test.inc (fma_test): Add more tests.
12587 (fma_test_towardzero): Likewise.
12588 (fma_test_downward): Likewise.
12589 (fma_test_upward): Likewise.
12591 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12595 * include/stub-tag.h: Remove file.
12596 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12598 * manual/maint.texi (Porting): Don't reference it.
12599 * Makerules ($(objpfx)stubs): Likewise.
12600 * dirent/closedir.c: Don't include <stub-tag.h>.
12601 * dirent/dirfd.c: Likewise.
12602 * dirent/fdopendir.c: Likewise.
12603 * dirent/getdents.c: Likewise.
12604 * dirent/getdents64.c: Likewise.
12605 * dirent/opendir.c: Likewise.
12606 * dirent/readdir.c: Likewise.
12607 * dirent/readdir64.c: Likewise.
12608 * dirent/readdir64_r.c: Likewise.
12609 * dirent/readdir_r.c: Likewise.
12610 * dirent/rewinddir.c: Likewise.
12611 * dirent/seekdir.c: Likewise.
12612 * dirent/telldir.c: Likewise.
12613 * gmon/profil.c: Likewise.
12614 * grp/setgroups.c: Likewise.
12615 * inet/if_index.c: Likewise.
12616 * io/access.c: Likewise.
12617 * io/chdir.c: Likewise.
12618 * io/chmod.c: Likewise.
12619 * io/chown.c: Likewise.
12620 * io/close.c: Likewise.
12621 * io/dup.c: Likewise.
12622 * io/dup2.c: Likewise.
12623 * io/dup3.c: Likewise.
12624 * io/euidaccess.c: Likewise.
12625 * io/faccessat.c: Likewise.
12626 * io/fchdir.c: Likewise.
12627 * io/fchmod.c: Likewise.
12628 * io/fchmodat.c: Likewise.
12629 * io/fchown.c: Likewise.
12630 * io/fchownat.c: Likewise.
12631 * io/fcntl.c: Likewise.
12632 * io/flock.c: Likewise.
12633 * io/fstatfs.c: Likewise.
12634 * io/fstatfs64.c: Likewise.
12635 * io/fstatvfs.c: Likewise.
12636 * io/fstatvfs64.c: Likewise.
12637 * io/futimens.c: Likewise.
12638 * io/fxstat.c: Likewise.
12639 * io/fxstat64.c: Likewise.
12640 * io/fxstatat.c: Likewise.
12641 * io/fxstatat64.c: Likewise.
12642 * io/getcwd.c: Likewise.
12643 * io/isatty.c: Likewise.
12644 * io/lchmod.c: Likewise.
12645 * io/lchown.c: Likewise.
12646 * io/link.c: Likewise.
12647 * io/linkat.c: Likewise.
12648 * io/lseek.c: Likewise.
12649 * io/lseek64.c: Likewise.
12650 * io/lxstat64.c: Likewise.
12651 * io/mkdir.c: Likewise.
12652 * io/mkdirat.c: Likewise.
12653 * io/mkfifo.c: Likewise.
12654 * io/mkfifoat.c: Likewise.
12655 * io/open.c: Likewise.
12656 * io/open64.c: Likewise.
12657 * io/openat.c: Likewise.
12658 * io/openat64.c: Likewise.
12659 * io/pipe.c: Likewise.
12660 * io/pipe2.c: Likewise.
12661 * io/poll.c: Likewise.
12662 * io/posix_fadvise.c: Likewise.
12663 * io/posix_fadvise64.c: Likewise.
12664 * io/posix_fallocate.c: Likewise.
12665 * io/posix_fallocate64.c: Likewise.
12666 * io/read.c: Likewise.
12667 * io/readlink.c: Likewise.
12668 * io/readlinkat.c: Likewise.
12669 * io/rmdir.c: Likewise.
12670 * io/sendfile.c: Likewise.
12671 * io/sendfile64.c: Likewise.
12672 * io/statfs.c: Likewise.
12673 * io/statfs64.c: Likewise.
12674 * io/statvfs.c: Likewise.
12675 * io/statvfs64.c: Likewise.
12676 * io/symlink.c: Likewise.
12677 * io/symlinkat.c: Likewise.
12678 * io/ttyname.c: Likewise.
12679 * io/ttyname_r.c: Likewise.
12680 * io/umask.c: Likewise.
12681 * io/unlink.c: Likewise.
12682 * io/unlinkat.c: Likewise.
12683 * io/utime.c: Likewise.
12684 * io/utimensat.c: Likewise.
12685 * io/write.c: Likewise.
12686 * io/xmknod.c: Likewise.
12687 * io/xmknodat.c: Likewise.
12688 * io/xstat.c: Likewise.
12689 * io/xstat64.c: Likewise.
12690 * login/getpt.c: Likewise.
12691 * login/grantpt.c: Likewise.
12692 * login/unlockpt.c: Likewise.
12693 * math/e_acoshl.c: Likewise.
12694 * math/e_acosl.c: Likewise.
12695 * math/e_asinl.c: Likewise.
12696 * math/e_atan2l.c: Likewise.
12697 * math/e_atanhl.c: Likewise.
12698 * math/e_coshl.c: Likewise.
12699 * math/e_expl.c: Likewise.
12700 * math/e_fmodl.c: Likewise.
12701 * math/e_gammal_r.c: Likewise.
12702 * math/e_hypotl.c: Likewise.
12703 * math/e_j0l.c: Likewise.
12704 * math/e_j1l.c: Likewise.
12705 * math/e_jnl.c: Likewise.
12706 * math/e_lgammal_r.c: Likewise.
12707 * math/e_log10l.c: Likewise.
12708 * math/e_log2l.c: Likewise.
12709 * math/e_logl.c: Likewise.
12710 * math/e_powl.c: Likewise.
12711 * math/e_rem_pio2l.c: Likewise.
12712 * math/e_sinhl.c: Likewise.
12713 * math/e_sqrtl.c: Likewise.
12714 * math/fclrexcpt.c: Likewise.
12715 * math/fedisblxcpt.c: Likewise.
12716 * math/feenablxcpt.c: Likewise.
12717 * math/fegetenv.c: Likewise.
12718 * math/fegetexcept.c: Likewise.
12719 * math/fegetround.c: Likewise.
12720 * math/feholdexcpt.c: Likewise.
12721 * math/fesetenv.c: Likewise.
12722 * math/fesetround.c: Likewise.
12723 * math/feupdateenv.c: Likewise.
12724 * math/fgetexcptflg.c: Likewise.
12725 * math/fraiseexcpt.c: Likewise.
12726 * math/fsetexcptflg.c: Likewise.
12727 * math/ftestexcept.c: Likewise.
12728 * math/k_cosl.c: Likewise.
12729 * math/k_rem_pio2l.c: Likewise.
12730 * math/k_sinl.c: Likewise.
12731 * math/k_tanl.c: Likewise.
12732 * math/s_asinhl.c: Likewise.
12733 * math/s_atanl.c: Likewise.
12734 * math/s_cbrtl.c: Likewise.
12735 * math/s_erfl.c: Likewise.
12736 * math/s_expm1l.c: Likewise.
12737 * math/s_log1pl.c: Likewise.
12738 * math/s_tanhl.c: Likewise.
12739 * misc/acct.c: Likewise.
12740 * misc/brk.c: Likewise.
12741 * misc/chflags.c: Likewise.
12742 * misc/chroot.c: Likewise.
12743 * misc/fchflags.c: Likewise.
12744 * misc/fgetxattr.c: Likewise.
12745 * misc/flistxattr.c: Likewise.
12746 * misc/fremovexattr.c: Likewise.
12747 * misc/fsetxattr.c: Likewise.
12748 * misc/fsync.c: Likewise.
12749 * misc/ftruncate.c: Likewise.
12750 * misc/futimes.c: Likewise.
12751 * misc/futimesat.c: Likewise.
12752 * misc/getdomain.c: Likewise.
12753 * misc/getdtsz.c: Likewise.
12754 * misc/gethostid.c: Likewise.
12755 * misc/gethostname.c: Likewise.
12756 * misc/getloadavg.c: Likewise.
12757 * misc/getpagesize.c: Likewise.
12758 * misc/getsysstats.c: Likewise.
12759 * misc/getxattr.c: Likewise.
12760 * misc/gtty.c: Likewise.
12761 * misc/ioctl.c: Likewise.
12762 * misc/lgetxattr.c: Likewise.
12763 * misc/listxattr.c: Likewise.
12764 * misc/llistxattr.c: Likewise.
12765 * misc/lremovexattr.c: Likewise.
12766 * misc/lsetxattr.c: Likewise.
12767 * misc/lutimes.c: Likewise.
12768 * misc/madvise.c: Likewise.
12769 * misc/mincore.c: Likewise.
12770 * misc/mlock.c: Likewise.
12771 * misc/mlockall.c: Likewise.
12772 * misc/mmap.c: Likewise.
12773 * misc/mprotect.c: Likewise.
12774 * misc/msync.c: Likewise.
12775 * misc/munlock.c: Likewise.
12776 * misc/munlockall.c: Likewise.
12777 * misc/munmap.c: Likewise.
12778 * misc/preadv.c: Likewise.
12779 * misc/preadv64.c: Likewise.
12780 * misc/ptrace.c: Likewise.
12781 * misc/pwritev.c: Likewise.
12782 * misc/pwritev64.c: Likewise.
12783 * misc/readv.c: Likewise.
12784 * misc/reboot.c: Likewise.
12785 * misc/remap_file_pages.c: Likewise.
12786 * misc/removexattr.c: Likewise.
12787 * misc/revoke.c: Likewise.
12788 * misc/select.c: Likewise.
12789 * misc/setdomain.c: Likewise.
12790 * misc/setegid.c: Likewise.
12791 * misc/seteuid.c: Likewise.
12792 * misc/sethostid.c: Likewise.
12793 * misc/sethostname.c: Likewise.
12794 * misc/setregid.c: Likewise.
12795 * misc/setreuid.c: Likewise.
12796 * misc/setxattr.c: Likewise.
12797 * misc/sstk.c: Likewise.
12798 * misc/stty.c: Likewise.
12799 * misc/swapoff.c: Likewise.
12800 * misc/swapon.c: Likewise.
12801 * misc/sync.c: Likewise.
12802 * misc/syncfs.c: Likewise.
12803 * misc/syscall.c: Likewise.
12804 * misc/truncate.c: Likewise.
12805 * misc/ualarm.c: Likewise.
12806 * misc/usleep.c: Likewise.
12807 * misc/ustat.c: Likewise.
12808 * misc/utimes.c: Likewise.
12809 * misc/vhangup.c: Likewise.
12810 * misc/writev.c: Likewise.
12811 * posix/_exit.c: Likewise.
12812 * posix/alarm.c: Likewise.
12813 * posix/execve.c: Likewise.
12814 * posix/fexecve.c: Likewise.
12815 * posix/fork.c: Likewise.
12816 * posix/fpathconf.c: Likewise.
12817 * posix/getaddrinfo.c: Likewise.
12818 * posix/getegid.c: Likewise.
12819 * posix/geteuid.c: Likewise.
12820 * posix/getgid.c: Likewise.
12821 * posix/getgroups.c: Likewise.
12822 * posix/getlogin.c: Likewise.
12823 * posix/getlogin_r.c: Likewise.
12824 * posix/getpgid.c: Likewise.
12825 * posix/getpid.c: Likewise.
12826 * posix/getppid.c: Likewise.
12827 * posix/getresgid.c: Likewise.
12828 * posix/getresuid.c: Likewise.
12829 * posix/getsid.c: Likewise.
12830 * posix/getuid.c: Likewise.
12831 * posix/glob64.c: Likewise.
12832 * posix/nanosleep.c: Likewise.
12833 * posix/pathconf.c: Likewise.
12834 * posix/pause.c: Likewise.
12835 * posix/posix_madvise.c: Likewise.
12836 * posix/pread.c: Likewise.
12837 * posix/pread64.c: Likewise.
12838 * posix/pwrite.c: Likewise.
12839 * posix/pwrite64.c: Likewise.
12840 * posix/sched_getaffinity.c: Likewise.
12841 * posix/sched_getp.c: Likewise.
12842 * posix/sched_gets.c: Likewise.
12843 * posix/sched_primax.c: Likewise.
12844 * posix/sched_primin.c: Likewise.
12845 * posix/sched_rr_gi.c: Likewise.
12846 * posix/sched_setaffinity.c: Likewise.
12847 * posix/sched_setp.c: Likewise.
12848 * posix/sched_sets.c: Likewise.
12849 * posix/sched_yield.c: Likewise.
12850 * posix/setgid.c: Likewise.
12851 * posix/setlogin.c: Likewise.
12852 * posix/setpgid.c: Likewise.
12853 * posix/setresgid.c: Likewise.
12854 * posix/setresuid.c: Likewise.
12855 * posix/setsid.c: Likewise.
12856 * posix/setuid.c: Likewise.
12857 * posix/sleep.c: Likewise.
12858 * posix/spawni.c: Likewise.
12859 * posix/sysconf.c: Likewise.
12860 * posix/times.c: Likewise.
12861 * posix/wait.c: Likewise.
12862 * posix/wait3.c: Likewise.
12863 * posix/wait4.c: Likewise.
12864 * posix/waitpid.c: Likewise.
12865 * resolv/gai_sigqueue.c: Likewise.
12866 * resource/getpriority.c: Likewise.
12867 * resource/getrlimit.c: Likewise.
12868 * resource/getrusage.c: Likewise.
12869 * resource/nice.c: Likewise.
12870 * resource/setpriority.c: Likewise.
12871 * resource/setrlimit.c: Likewise.
12872 * resource/ulimit.c: Likewise.
12873 * rt/aio_cancel.c: Likewise.
12874 * rt/aio_fsync.c: Likewise.
12875 * rt/aio_read.c: Likewise.
12876 * rt/aio_sigqueue.c: Likewise.
12877 * rt/aio_suspend.c: Likewise.
12878 * rt/aio_write.c: Likewise.
12879 * rt/clock_getres.c: Likewise.
12880 * rt/clock_gettime.c: Likewise.
12881 * rt/clock_nanosleep.c: Likewise.
12882 * rt/clock_settime.c: Likewise.
12883 * rt/lio_listio.c: Likewise.
12884 * rt/mq_close.c: Likewise.
12885 * rt/mq_getattr.c: Likewise.
12886 * rt/mq_notify.c: Likewise.
12887 * rt/mq_open.c: Likewise.
12888 * rt/mq_receive.c: Likewise.
12889 * rt/mq_send.c: Likewise.
12890 * rt/mq_setattr.c: Likewise.
12891 * rt/mq_timedreceive.c: Likewise.
12892 * rt/mq_timedsend.c: Likewise.
12893 * rt/mq_unlink.c: Likewise.
12894 * rt/shm_open.c: Likewise.
12895 * rt/shm_unlink.c: Likewise.
12896 * rt/timer_create.c: Likewise.
12897 * rt/timer_delete.c: Likewise.
12898 * rt/timer_getoverr.c: Likewise.
12899 * rt/timer_gettime.c: Likewise.
12900 * rt/timer_settime.c: Likewise.
12901 * setjmp/__longjmp.c: Likewise.
12902 * setjmp/setjmp.c: Likewise.
12903 * signal/kill.c: Likewise.
12904 * signal/killpg.c: Likewise.
12905 * signal/raise.c: Likewise.
12906 * signal/sigaction.c: Likewise.
12907 * signal/sigaltstack.c: Likewise.
12908 * signal/sigblock.c: Likewise.
12909 * signal/sigignore.c: Likewise.
12910 * signal/sigintr.c: Likewise.
12911 * signal/signal.c: Likewise.
12912 * signal/sigpause.c: Likewise.
12913 * signal/sigpending.c: Likewise.
12914 * signal/sigqueue.c: Likewise.
12915 * signal/sigreturn.c: Likewise.
12916 * signal/sigset.c: Likewise.
12917 * signal/sigsetmask.c: Likewise.
12918 * signal/sigstack.c: Likewise.
12919 * signal/sigsuspend.c: Likewise.
12920 * signal/sigtimedwait.c: Likewise.
12921 * signal/sigvec.c: Likewise.
12922 * signal/sigwait.c: Likewise.
12923 * signal/sigwaitinfo.c: Likewise.
12924 * signal/sysv_signal.c: Likewise.
12925 * socket/accept.c: Likewise.
12926 * socket/accept4.c: Likewise.
12927 * socket/bind.c: Likewise.
12928 * socket/connect.c: Likewise.
12929 * socket/getpeername.c: Likewise.
12930 * socket/getsockname.c: Likewise.
12931 * socket/getsockopt.c: Likewise.
12932 * socket/isfdtype.c: Likewise.
12933 * socket/listen.c: Likewise.
12934 * socket/recv.c: Likewise.
12935 * socket/recvfrom.c: Likewise.
12936 * socket/recvmsg.c: Likewise.
12937 * socket/send.c: Likewise.
12938 * socket/sendmsg.c: Likewise.
12939 * socket/sendto.c: Likewise.
12940 * socket/setsockopt.c: Likewise.
12941 * socket/shutdown.c: Likewise.
12942 * socket/sockatmark.c: Likewise.
12943 * socket/socket.c: Likewise.
12944 * socket/socketpair.c: Likewise.
12945 * stdio-common/ctermid.c: Likewise.
12946 * stdio-common/cuserid.c: Likewise.
12947 * stdio-common/remove.c: Likewise.
12948 * stdio-common/rename.c: Likewise.
12949 * stdio-common/renameat.c: Likewise.
12950 * stdio-common/tempname.c: Likewise.
12951 * stdlib/getcontext.c: Likewise.
12952 * stdlib/makecontext.c: Likewise.
12953 * stdlib/setcontext.c: Likewise.
12954 * stdlib/swapcontext.c: Likewise.
12955 * stdlib/system.c: Likewise.
12956 * streams/fattach.c: Likewise.
12957 * streams/fdetach.c: Likewise.
12958 * streams/getmsg.c: Likewise.
12959 * streams/getpmsg.c: Likewise.
12960 * streams/putmsg.c: Likewise.
12961 * streams/putpmsg.c: Likewise.
12962 * sysdeps/unix/bsd/getpt.c: Likewise.
12963 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12964 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12965 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12968 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12969 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12970 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12971 * sysvipc/msgctl.c: Likewise.
12972 * sysvipc/msgget.c: Likewise.
12973 * sysvipc/msgrcv.c: Likewise.
12974 * sysvipc/msgsnd.c: Likewise.
12975 * sysvipc/semctl.c: Likewise.
12976 * sysvipc/semget.c: Likewise.
12977 * sysvipc/semop.c: Likewise.
12978 * sysvipc/semtimedop.c: Likewise.
12979 * sysvipc/shmat.c: Likewise.
12980 * sysvipc/shmctl.c: Likewise.
12981 * sysvipc/shmdt.c: Likewise.
12982 * sysvipc/shmget.c: Likewise.
12983 * termios/tcdrain.c: Likewise.
12984 * termios/tcflow.c: Likewise.
12985 * termios/tcflush.c: Likewise.
12986 * termios/tcgetattr.c: Likewise.
12987 * termios/tcgetpgrp.c: Likewise.
12988 * termios/tcsendbrk.c: Likewise.
12989 * termios/tcsetattr.c: Likewise.
12990 * termios/tcsetpgrp.c: Likewise.
12991 * time/adjtime.c: Likewise.
12992 * time/clock.c: Likewise.
12993 * time/getitimer.c: Likewise.
12994 * time/gettimeofday.c: Likewise.
12995 * time/setitimer.c: Likewise.
12996 * time/settimeofday.c: Likewise.
12997 * time/stime.c: Likewise.
12998 * time/time.c: Likewise.
13000 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13002 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13005 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13007 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13009 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13013 FE_TONEAREST before applying Dekker multiplication and Knuth
13014 addition. Clear inexact exceptions and check for exact zero
13015 results afterwards.
13016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13017 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13018 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13019 * math/libm-test.inc (fma_test): Add more tests.
13020 (fma_test_towardzero): Likewise.
13021 (fma_test_downward): Likewise.
13022 (fma_test_upward): Likewise.
13023 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13025 (libc_fesetround): New macro.
13026 (libc_fesetroundf): Likewise.
13027 (libc_fesetroundl): Likewise.
13028 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13030 (libc_fesetround_387): Likewise.
13031 (libc_fesetroundf): New macro.
13032 (libc_fesetround): Likewise.
13033 (libc_fesetroundl): Likewise.
13034 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13036 (libc_fesetroundf): New macro.
13037 (libc_fesetround): Likewise.
13038 (libc_fesetroundl): Likewise.
13039 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13040 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13041 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13043 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13044 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13046 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13047 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13049 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13053 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13054 integer constant usable in #if and use that to give value to enum
13056 (FE_DIVBYZERO): Likewise.
13057 (FE_UNDERFLOW): Likewise.
13058 (FE_OVERFLOW): Likewise.
13059 (FE_INVALID): Likewise.
13060 (FE_INVALID_SNAN): Likewise.
13061 (FE_INVALID_ISI): Likewise.
13062 (FE_INVALID_IDI): Likewise.
13063 (FE_INVALID_ZDZ): Likewise.
13064 (FE_INVALID_IMZ): Likewise.
13065 (FE_INVALID_COMPARE): Likewise.
13066 (FE_INVALID_SOFTWARE): Likewise.
13067 (FE_INVALID_SQRT): Likewise.
13068 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13069 (FE_TONEAREST): Likewise.
13070 (FE_TOWARDZERO): Likewise.
13071 (FE_UPWARD): Likewise.
13072 (FE_DOWNWARD): Likewise.
13073 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13074 (FE_DIVBYZERO): Likewise.
13075 (FE_OVERFLOW): Likewise.
13076 (FE_UNDERFLOW): Likewise.
13077 (FE_INEXACT): Likewise.
13078 (FE_TONEAREST): Likewise.
13079 (FE_DOWNWARD): Likewise.
13080 (FE_UPWARD): Likewise.
13081 (FE_TOWARDZERO): Likewise.
13082 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13083 (FE_UNDERFLOW): Likewise.
13084 (FE_OVERFLOW): Likewise.
13085 (FE_DIVBYZERO): Likewise.
13086 (FE_INVALID): Likewise.
13087 (FE_TONEAREST): Likewise.
13088 (FE_TOWARDZERO): Likewise.
13089 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13090 (FE_OVERFLOW): Likewise.
13091 (FE_UNDERFLOW): Likewise.
13092 (FE_DIVBYZERO): Likewise.
13093 (FE_INEXACT): Likewise.
13094 (FE_TONEAREST): Likewise.
13095 (FE_TOWARDZERO): Likewise.
13096 (FE_UPWARD): Likewise.
13097 (FE_DOWNWARD): Likewise.
13098 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13099 (FE_DIVBYZERO): Likewise.
13100 (FE_OVERFLOW): Likewise.
13101 (FE_UNDERFLOW): Likewise.
13102 (FE_INEXACT): Likewise.
13103 (FE_TONEAREST): Likewise.
13104 (FE_DOWNWARD): Likewise.
13105 (FE_UPWARD): Likewise.
13106 (FE_TOWARDZERO): Likewise.
13108 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13110 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13112 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13114 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13115 commands. Quote $PWD.
13116 (blacklist_exports): Don't use remove_newlines. Replace "declare
13118 (remove_newlines): Remove.
13120 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13122 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13123 * stdlib/stdlib.h (atof): Moved to ...
13124 * include/bits/stdlib-float.h: Here. New file.
13125 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13126 * stdlib/bits/stdlib-float.h: New file.
13127 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13132 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13134 * conform/conformtest.pl (@headers): Add fenv.h.
13135 * conform/data/fenv.h-data: New file.
13136 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13137 include of <math/fenv.h>.
13139 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13140 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13141 && !UNIX98]. Enables tests for XOPEN2K8.
13142 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13143 POSIX2008]: Likewise.
13145 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13146 (struct rusage): Do not expect type or its members.
13149 * math/math.h (FP_NAN): Define macro to integer constant usable in
13150 #if and use that to give value to enum constant.
13151 (FP_INFINITE): Likewise.
13152 (FP_ZERO): Likewise.
13153 (FP_SUBNORMAL): Likewise.
13154 (FP_NORMAL): Likewise.
13156 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13158 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13159 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13162 2012-11-02 Roland McGrath <roland@hack.frob.com>
13164 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13165 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13166 autoconf-time if not.
13167 * configure.in: Remove AC_PREREQ.
13169 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13171 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13172 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13173 of the internal implementation.
13175 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13177 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13178 except include of <misc/sys/syslog.h>.
13180 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13183 function returns with a NULL context exit with zero.
13185 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13187 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13189 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13191 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13192 (run_program_cmd): This.
13193 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13194 (tst_langinfo): New variable. Use it.
13196 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13198 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13199 floating point opcodes.
13201 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13203 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13206 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13208 * sysdeps/mach/hurd/powerpc: Remove directory.
13209 * sysdeps/mach/powerpc: Likewise.
13211 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13213 * scripts/check-local-headers.sh: Ignore c++ headers.
13215 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13217 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13218 __libc_cleanup_region_start argument.
13220 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13225 x * y using scaling, not as x * y + z.
13226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13228 * math/libm-test.inc (fma_test): Add more tests.
13229 (fma_test_towardzero): Likewise.
13230 (fma_test_downward): Likewise.
13231 (fma_test_upward): Likewise.
13233 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13235 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13237 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13239 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13242 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13244 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13246 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13253 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13256 Fix the order of the list for glibc 2.17.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13260 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13264 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13268 for low part of x being zero before using __atanl (y).
13269 * math/libm-test.inc (atan2_test): Add another test.
13271 * manual/install.texi (Configuring and compiling): Document
13272 general use of test-wrapper and test-wrapper-env.
13273 * INSTALL: Regenerated.
13275 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13276 (__fma): Do not extract and scale down low bits on after-rounding
13277 systems when result rounded to normal precision would have normal
13279 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13280 (__fmal): Do not extract and scale down low bits on after-rounding
13281 systems when result rounded to normal precision would have normal
13283 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13284 (__fmal): Do not extract and scale down low bits on after-rounding
13285 systems when result rounded to normal precision would have normal
13287 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13289 (fma_test): Add more tests.
13290 (fma_test_towardzero): Likewise.
13291 (fma_test_downward): Likewise.
13292 (fma_test_upward): Likewise.
13294 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13296 * sysdeps/i386/tininess.h: Renamed to ...
13297 * sysdeps/x86/tininess.h: This.
13298 * sysdeps/x86_64/tininess.h: Removed.
13300 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13302 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13303 input. Use $(build-program-cmd).
13304 ($(objpfx)tst-array1-static.out): Likewise.
13305 ($(objpfx)tst-array2.out): Likewise.
13306 ($(objpfx)tst-array3.out): Likewise.
13307 ($(objpfx)tst-array4.out): Likewise.
13308 ($(objpfx)tst-array5.out): Likewise.
13309 ($(objpfx)tst-array5-static.out): Likewise.
13311 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13313 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13316 * nss/nsswitch.h (nss_interface_function): Provide new
13317 macro for use with NSS functions.
13318 * grp/initgroups.c: Use new macro.
13319 * nss/getXXbyYY.c: Likewise.
13320 * nss/getXXbyYY_r.c: Likewise.
13321 * nss/getXXent.c: Likewise.
13322 * nss/getXXent_r.c: Likewise.
13323 * sysdeps/posix/getaddrinfo.c: Likewise.
13325 2012-10-30 Andreas Jaeger <aj@suse.de>
13327 * po/ru.po: Update Russion translation from translation project.
13329 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13334 result and shift together with sticky bit instead of replicating
13335 round-to-nearest rounding.
13336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13338 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13339 missing underflow exceptions.
13340 (fma_test_towardzero): Add more tests.
13341 (fma_test_downward): Likewise.
13342 (fma_test_upward): Likewise.
13345 * sysdeps/generic/tininess.h: New file.
13346 * sysdeps/i386/tininess.h: Likewise.
13347 * sysdeps/sh/tininess.h: Likewise.
13348 * sysdeps/x86_64/tininess.h: Likewise.
13349 * stdlib/tst-strtod-underflow.c: Likewise.
13350 * stdlib/tst-tininess.c: Likewise.
13351 * stdlib/strtod_l.c: Include <tininess.h>.
13352 (round_and_return): Do not set errno for exact underflow cases.
13353 Force an underflow exception when setting errno for underflow.
13354 Determine underflow based on rounding to normal precision if
13355 TININESS_AFTER_ROUNDING.
13356 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13357 ERANGE for exact underflow cases.
13358 * stdlib/Makefile (tests): Add tst-tininess and
13359 tst-strtod-underflow.
13360 ($(objpfx)tst-tininess): Use $(link-libm).
13361 ($(objpfx)tst-strtod-underflow): Likewise.
13363 2012-10-30 Andreas Jaeger <aj@suse.de>
13366 * elf/Makefile (tests): Remove conditional for have-initfini-array
13367 since this is now always required and the variable does not exist
13369 (tests-static): Likewise.
13370 (modules-names): Likewise.
13372 * po/eo.po: Add Esperanto translation from translation project.
13374 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13375 merged with constructor/destructor.
13376 (init_array): Likewise.
13377 * elf/tst-array2dep.c (fini_array): Likewise.
13378 (init_array): Likewise.
13380 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13382 * manual/message.texi: Delete @cartouche tags.
13384 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13386 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13388 * sysdeps/mach/hurd/fsync.c: Likewise.
13390 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13391 [_POSIX_REALTIME_SIGNALS]: Change condition to
13392 [_POSIX_REALTIME_SIGNALS > 0].
13394 2012-10-27 Andreas Jaeger <aj@suse.de>
13396 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13397 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13399 [__WORDSIZE != 64]: Likewise.
13401 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13403 * iconvdata/tst-table.sh: Remove ${SHELL}.
13404 * iconvdata/tst-tables.sh: Likewise.
13406 2012-10-25 David S. Miller <davem@davemloft.net>
13408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13409 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13415 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13416 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13419 2012-10-25 Roland McGrath <roland@hack.frob.com>
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13422 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13425 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13426 Jim Blandy <jimb@codesourcery.com>
13428 * scripts/cross-test-ssh.sh: New file.
13429 * manual/install.texi (Configuring and compiling): Document use of
13431 * INSTALL: Regenerated.
13433 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13435 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13438 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13440 * Makeconfig (run-program-prefix): Fix comment.
13442 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13443 Jim Blandy <jimb@codesourcery.com>
13445 * Makeconfig (test-wrapper): New variable,
13446 (test-wrapper-env): Likewise.
13447 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13448 (run-built-tests): Define to yes.
13449 (run-program-prefix): Use $(test-wrapper).
13450 (built-program-cmd): Likewise.
13451 * Rules (make-test-out): Use $(test-wrapper-env) and
13452 $(host-built-program-cmd).
13453 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13454 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13456 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13457 $(test-wrapper-env) to tst-rtld-load-self.sh.
13458 ($(objpfx)order2.out): Use $(test-wrapper).
13459 ($(objpfx)tst-initorder.out): Likewise.
13460 ($(objpfx)tst-initorder2.out): Likewise.
13461 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13462 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13463 (test_wrapper_env): New variable. Use it to run ld.so.
13464 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13465 Use it to run ld.so.
13466 (test_wrapper_env): Likewise.
13467 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13468 $(test-wrapper) to run-iconv-test.sh.
13469 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13470 (ICONV): Use $test_wrapper.
13471 * posix/Makefile ($(objpfx)globtest.out): Pass
13472 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13473 globtest.sh, not $(run-program-prefix).
13474 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13475 (test_wrapper): Likewise.
13476 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13477 set together with run_via_rtld_prefix.
13478 (run_program_prefix): Define in terms of test_wrapper and
13479 run_via_rtld_prefix.
13481 2012-10-24 Roland McGrath <roland@hack.frob.com>
13483 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13484 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13488 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13489 Declare __clock_getres, __clock_gettime, __clock_settime,
13490 __clock_nanosleep, and __clock_getcpuclockid.
13491 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13492 Remove librt_hidden_def (clock_gettime).
13493 * sysdeps/unix/clock_gettime.c: Likewise.
13494 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13496 * rt/clock_getres.c: Define __clock_getres as an alias.
13497 * sysdeps/posix/clock_getres.c: Likewise.
13498 * rt/clock_settime.c: Define __clock_settime as an alias.
13499 * sysdeps/unix/clock_settime.c: Likewise.
13500 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13501 * sysdeps/unix/clock_nanosleep.c: Likewise.
13502 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13503 * rt/clock-compat.c: New file.
13504 * rt/Makefile (librt-routines): Add clock-compat and move
13505 $(clock-routines) to ...
13506 (routines): ... here, new variable.
13507 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13508 Don't add get_clockfreq here.
13509 * rt/Versions (libc: GLIBC_2.17): New version set.
13510 Add clock_* symbols here.
13511 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13513 (GLIBC_2.17): Add clock_* symbols.
13514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13525 * NEWS: Mention the move.
13527 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13528 Use __open, __read, __close rather than their public counterparts.
13529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13530 (__get_clockfreq_via_cpuinfo): Likewise.
13531 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13532 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13534 * config.h.in (HAVE_IFUNC): New #undef.
13535 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13537 * configure: Regenerated.
13539 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13541 * configure.in: Move READELF check to start of file.
13542 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13543 libc_cv_asm_gnu_indirect_function in the process.
13544 * configure: Regenerated.
13546 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13548 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13549 send the output to /dev/null.
13550 (libc_cv_cc_with_libunwind): Likewise.
13551 (libc_cv_as_noexecstack): Likewise.
13552 * configure: Regenerate.
13554 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13556 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13558 * posix/globtest.sh (TMPDIR): Do not set.
13559 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13560 (testout): Likewise.
13562 2012-10-24 Andreas Jaeger <aj@suse.de>
13564 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13565 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13566 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13567 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13568 posix_fadvise64, posix_fallocate64.
13570 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13571 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13572 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13574 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13576 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13579 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13580 <bits/fcntl-linux.h>.
13581 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13584 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13585 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13586 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13587 [__WORDSIZE != 64]: Likewise.
13589 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13591 * Makeconfig (run-built-tests): New variable.
13592 * Rules [$(cross-compiling) = yes]: Change condition to
13593 [$(run-built-tests) = no].
13594 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13595 to [$(run-built-tests) = yes].
13596 * elf/Makefile [$(cross-compiling) = no]: Likewise
13597 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13598 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13599 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13600 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13601 * io/Makefile [$(cross-compiling) = no]: Likewise.
13602 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13603 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13604 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13605 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13606 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13607 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13608 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13609 * string/Makefile [$(cross-compiling) = no]: Likewise.
13611 * posix/Makefile ($(objpfx)globtest.out): Pass
13612 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13613 $(rtld-installed-name).
13614 * posix/globtest.sh (elf_objpfx): Remove variable.
13615 (rtld_installed_name): Likewise.
13616 (library_path): Likewise.
13617 (run_program_prefix): New variable. Use for running globtest
13620 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13621 Joseph Myers <joseph@codesourcery.com>
13623 * Makeconfig (host-built-program-cmd): New variable.
13624 * elf/Makefile (tst-stackguard1-ARGS): Use
13625 $(host-built-program-cmd).
13626 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13627 (tst-spawn-ARGS): Likewise.
13628 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13630 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13631 Jim Blandy <jimb@codesourcery.com>
13633 * Makeconfig (run-via-rtld-prefix): New variable.
13634 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13635 (built-program-cmd): Likewise.
13637 2012-10-22 Andreas Jaeger <aj@suse.de>
13639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13640 __O_RSYNC if it exists, otherwise to O_SYNC.
13642 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13643 Joseph Myers <joseph@codesourcery.com>
13645 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13647 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13649 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13652 2012-10-22 Andreas Jaeger <aj@suse.de>
13654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13659 bits/fcntl-linux.h.
13661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13662 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13669 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13670 Joseph Myers <joseph@codesourcery.com>
13672 * config.make.in (NM): New variable.
13674 2012-10-21 Andreas Jaeger <aj@suse.de>
13676 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13677 definitions and declarations that are provided by
13678 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13680 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13683 * elf/Makefile (tests-static): Add tst-leaks1-static.
13684 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13685 ($(objpfx)tst-leaks1-static): New rule.
13686 ($(objpfx)tst-leaks1-static-mem): Likewise.
13687 (tst-leaks1-static-ENV): New macro.
13688 * elf/dl-open.c (dl_open_worker): Check the main application
13689 only if SHARED is defined.
13690 * elf/tst-leaks1-static.c: New file.
13692 2012-10-20 Andreas Jaeger <aj@suse.de>
13694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13695 generic values for Linux.
13696 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13697 and declarations that are provided by <bits/fcntl-linux.h> and
13698 include <bits/fcntl-linux.h>.
13699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13702 2012-10-20 Roland McGrath <roland@hack.frob.com>
13704 * io/fcntl.h: Move include of <bits/types.h> to the top and
13705 include it unconditionally.
13707 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13709 * wcsmbs/Makefile (tests-ifunc): New variable.
13710 (tests): Add $(tests-ifunc).
13711 * wcsmbs/test-wcschr-ifunc.c: New file.
13712 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13713 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13714 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13715 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13716 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13718 * string/Makefile (tests-ifunc): New variable.
13719 (tests): Add $(tests-ifunc).
13720 * string/test-memccpy.c (TEST_NAME): New macro.
13721 * string/test-memchr.c (TEST_NAME): Likewise.
13722 * string/test-memcmp.c (TEST_NAME): Likewise.
13723 * string/test-memcpy.c (TEST_NAME): Likewise.
13724 * string/test-memmem.c (TEST_NAME): Likewise.
13725 * string/test-memmove.c (TEST_NAME): Likewise.
13726 * string/test-memset.c (TEST_NAME): Likewise.
13727 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13728 * string/test-stpcpy.c (TEST_NAME): Likewise.
13729 * string/test-stpncpy.c (TEST_NAME): Likewise.
13730 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13731 * string/test-strcasestr.c (TEST_NAME): Likewise.
13732 * string/test-strcat.c (TEST_NAME): Likewise.
13733 * string/test-strchr.c (TEST_NAME): Likewise.
13734 * string/test-strcmp.c(TEST_NAME): Likewise.
13735 * string/test-strcpy.c (TEST_NAME): Likewise.
13736 * string/test-strcspn.c (TEST_NAME): Likewise.
13737 * string/test-strlen.c (TEST_NAME): Likewise.
13738 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13739 * string/test-strncmp.c (TEST_NAME): Likewise.
13740 * string/test-strncpy.c (TEST_NAME): Likewise.
13741 * string/test-strnlen.c (TEST_NAME): Likewise.
13742 * string/test-strpbrk.c (TEST_NAME): Likewise.
13743 * string/test-strrchr.c (TEST_NAME): Likewise.
13744 * string/test-strspn.c (TEST_NAME): Likewise.
13745 * string/test-strstr.c (TEST_NAME): Likewise.
13746 * string/test-bcopy-ifunc.c: New file.
13747 * string/test-bzero-ifunc.c: Likewise.
13748 * string/test-memccpy-ifunc.c: Likewise.
13749 * string/test-memchr-ifunc.c: Likewise.
13750 * string/test-memcmp-ifunc.c: Likewise.
13751 * string/test-memcpy-ifunc.c: Likewise.
13752 * string/test-memmem-ifunc.c: Likewise.
13753 * string/test-memmove-ifunc.c: Likewise.
13754 * string/test-mempcpy-ifunc.c: Likewise.
13755 * string/test-memset-ifunc.c: Likewise.
13756 * string/test-rawmemchr-ifunc.c: Likewise.
13757 * string/test-stpcpy-ifunc.c: Likewise.
13758 * string/test-stpncpy-ifunc.c: Likewise.
13759 * string/test-strcasecmp-ifunc.c: Likewise.
13760 * string/test-strcasestr-ifunc.c: Likewise.
13761 * string/test-strcat-ifunc.c: Likewise.
13762 * string/test-strchr-ifunc.c: Likewise.
13763 * string/test-strchrnul-ifunc.c: Likewise.
13764 * string/test-strcmp-ifunc.c: Likewise.
13765 * string/test-strcpy-ifunc.c: Likewise.
13766 * string/test-strcspn-ifunc.c: Likewise.
13767 * string/test-strlen-ifunc.c: Likewise.
13768 * string/test-strncasecmp-ifunc.c: Likewise.
13769 * string/test-strncat-ifunc.c: Likewise.
13770 * string/test-strncmp-ifunc.c: Likewise.
13771 * string/test-strncpy-ifunc.c: Likewise.
13772 * string/test-strnlen-ifunc.c: Likewise.
13773 * string/test-strpbrk-ifunc.c: Likewise.
13774 * string/test-strrchr-ifunc.c: Likewise.
13775 * string/test-strspn-ifunc.c: Likewise.
13776 * string/test-strstr-ifunc.c: Likewise.
13778 * debug/Makefile (tests-ifunc): New variable.
13779 (tests): Add $(tests-ifunc).
13780 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13781 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13782 * debug/test-stpcpy_chk-ifunc.c: New file.
13783 * debug/test-strcpy_chk-ifunc.c: Likewise.
13785 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13788 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13789 header is not read in.
13791 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13793 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13794 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13795 directly. Pass built executable to script as
13796 $(built-program-cmd).
13797 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13798 $testprogram without using LD_LIBRARY_PATH and $ldso.
13800 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13801 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13802 $(rtld-installed-name).
13803 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13804 (rtld_installed_name): Likewise.
13805 (library_path): Likewise.
13806 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13807 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13808 $(run-program-prefix) to tst-tables.sh.
13809 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13810 it to run tst-table-from and tst-table-to.
13811 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13812 Pass it to tst-table.sh.
13813 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13814 $(run-program-prefix) to tst-gettext.sh.
13815 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13817 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13819 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13820 to run tst-gettext.
13821 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13822 to run tst-gettext2.
13823 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13824 to run tst-translit.
13825 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13826 $(run-program-prefix) to tst-mtrace.sh.
13827 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13829 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13830 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13831 $(rtld-installed-name).
13832 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13833 (rtld_installed_name): Likewise.
13834 (run_program_prefix): New variable. Use it to run wordexp-test.
13836 * Makeconfig (ARCH): Remove all definitions.
13837 (machine): Likewise.
13838 [ARCH]: Remove conditional code.
13839 [!objdir]: Give error.
13840 [!objdir] (objpfx): Remove.
13841 [!objdir] (common-objpfx): Likewise.
13842 [!objdir] (common-objdir): Likewise.
13843 * configure.in (config_makefile): Remove. Hardcode Makefile in
13844 AC_CONFIG_FILES call.
13845 * configure: Regenerated.
13848 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13850 (testout): Likewise.
13852 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13853 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13854 $(rtld-installed-name).
13855 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13856 (rtld_installed_name): Likwise.
13857 (runit): Remove function.
13858 (run_getconf): New variable, Use it for running getconf binary.
13860 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13863 * string/test-memmem.c (check_result): New function.
13864 (do_one_test): Use it.
13865 (check1): New function.
13866 (test_main): Use it.
13868 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13870 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13872 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13874 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13875 (_G_LSEEK64): Likewise.
13876 (_G_MMAP64): Likewise.
13877 (_G_FSTAT64): Likewise.
13878 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13879 (_G_LSEEK64): Likewise.
13880 (_G_MMAP64): Likewise.
13881 (_G_FSTAT64): Likewise.
13882 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13883 unconditional. Call __mmap64 directly.
13884 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13885 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13886 __lseek64 directly.
13887 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13888 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13890 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13891 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13892 __lseek64 directly.
13893 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13894 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13895 __lseek64 directly.
13896 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13897 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13898 __lseek64 directly.
13899 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13900 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13901 __fxstat64 directly.
13902 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13903 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13905 (freopen64) [!_G_OPEN64]: Remove conditional code.
13906 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13908 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13909 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13911 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13912 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13914 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13915 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13917 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13918 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13920 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13921 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13923 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13924 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13926 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13928 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13931 * manual/memory.texi (Malloc Tunable Parameters): Add note
13932 about free list pointers overwriting some perturb bytes.
13933 Wording suggested by Roland McGrath.
13935 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13937 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13938 (lgamma_test): Likewise.
13939 (tgamma_test): Likewise.
13941 2012-10-16 Florian Weimer <fweimer@redhat.com>
13944 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13945 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13947 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13949 * NEWS: Mention BZ #14716.
13950 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13951 when removing AVAILABLE1_USES_J macro.
13953 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13955 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13956 (__bswap_64): __uint64_t for unsigned 64-bit int.
13958 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13960 * include/string.h (memmem): Declare libc hidden alias.
13961 * string/memmem.c (memmem): Define libc hidden alias.
13962 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13963 __read, __close instead of open, read, close.
13965 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13968 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13970 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13971 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13972 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13974 (__rawmemchr_sse2): Likewise.
13975 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13976 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13977 (__strchr_sse2): Likewise.
13978 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13979 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13980 (__strcasecmp_sse2): Likewise.
13981 (__strncasecmp_sse2): Likewise.
13982 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13983 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13984 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13985 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13986 (__strrchr_sse2): Likewise.
13987 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13989 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13990 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13991 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13992 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13993 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13995 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13996 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13997 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13998 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13999 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14000 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14001 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14002 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14003 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14004 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14005 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14006 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14007 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14008 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14009 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14010 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14011 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14012 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14013 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14014 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14015 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14016 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14017 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14018 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14020 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14022 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14023 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14024 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14025 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14027 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14029 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14030 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14031 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14032 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14034 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14035 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14036 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14037 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14038 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14039 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14040 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14041 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14042 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14043 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14044 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14045 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14046 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14047 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14048 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14050 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14051 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14052 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14053 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14054 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14055 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14056 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14057 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14058 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14059 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14060 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14061 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14062 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14063 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14064 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14065 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14066 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14067 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14068 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14069 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14070 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14071 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14072 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14073 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14074 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14076 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14077 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14078 * include/ifunc-impl-list.h: New file.
14079 * misc/ifunc-impl-list.c: Likewise.
14080 * misc/Makefile (routines): Add ifunc-impl-list.
14081 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14082 * string/test-string.h: Include <ifunc-impl-list.h>.
14083 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14084 impl_array): New variables.
14085 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14087 (test_init): Call __libc_ifunc_impl_list to initialize
14088 func_list if TEST_IFUNC and TEST_NAME are defined.
14090 * string/Makefile (strop-tests): Add bcopy and bzero.
14091 * string/test-bcopy.c: New file.
14092 * string/test-bzero.c: Likewise.
14093 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14095 * string/test-memset.c: Support bzero test if TEST_BZERO is
14097 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14099 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14101 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14104 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14106 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14107 * configure: Regenerated.
14109 * Makeconfig (+link-static-before-libc): Don't include
14110 $(link-static-libc).
14112 * libio/libio.h (_IO_pos_t): Remove.
14114 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14116 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14121 * crypt/crypt-entry.c: Include fips-private.h.
14122 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14123 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14124 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14125 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14127 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14129 * crypt/crypt-private.h: Include stdbool.h.
14130 (_ufc_setup_salt_r): Return bool.
14131 * crypt/crypt-entry.c: Include errno.h.
14132 (__crypt_r): Return NULL with EINVAL for bad salt.
14133 * crypt/crypt_util.c (bad_for_salt): New.
14134 (_ufc_setup_salt_r): Check that salt is long enough and within
14135 the specified alphabet.
14136 * crypt/badsalttest.c: New file.
14137 * crypt/Makefile (tests): Add it.
14138 ($(objpfx)badsalttest): New.
14140 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14142 * NEWS: Add entry for BZ #14602.
14144 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14146 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14148 * math/libm-test.inc: Update comment listing what functions and
14150 (isgreater_test): New function.
14151 (isgreaterequal_test): Likewise.
14152 (isless_test): Likewise.
14153 (islessequal_test): Likewise.
14154 (islessgreater_test): Likewise.
14155 (isunordered_test): Likewise.
14156 (main): Call the new functions.
14158 2012-10-09 Roland McGrath <roland@hack.frob.com>
14160 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14161 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14162 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14163 * sysdeps/i386/configure: Regenerated.
14164 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14165 * sysdeps/mach/configure: Regenerated.
14166 * sysdeps/mach/hurd/configure: Regenerated.
14167 * sysdeps/powerpc/configure: Regenerated.
14168 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14169 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14170 * sysdeps/s390/s390-32/configure: Regenerated.
14171 * sysdeps/s390/s390-64/configure: Regenerated.
14172 * sysdeps/sh/configure: Regenerated.
14173 * sysdeps/sparc/configure: Regenerated.
14174 * sysdeps/unix/sysv/linux/configure: Regenerated.
14175 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14176 * sysdeps/x86_64/configure: Regenerated.
14178 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14179 defined. Don't check if MAP is NULL.
14181 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14183 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14184 (_G_stat64): Likewise.
14185 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14186 (_G_stat64): Likewise.
14187 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14188 instead of struct _G_stat64.
14189 * libio/fileops.c (mmap_remap_check): Likewise.
14190 (decide_maybe_mmap): Likewise.
14191 (_IO_new_file_seekoff): Likewise.
14192 (_IO_file_stat): Likewise.
14193 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14195 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14196 instead of struct _G_stat64.
14197 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14199 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14202 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14204 (CHECK_EOL): New macro.
14205 (two_way_short_needle): Check beginning of haystack for EOL. Use
14207 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14208 Replace with CHECK_EOL.
14209 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14210 Replace with CHECK_EOL.
14212 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14214 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14216 * math/libm-test.inc: Update comment listing what functions and
14218 (finite_test): New function.
14219 (isinf_test): Likewise.
14220 (isnan_test): Likewise.
14221 (fpclassify_test): Test subnormal input.
14222 (isfinite_test): Likewise.
14223 (isnormal_test): Likewise.
14224 (main): Call the new functions.
14226 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14229 * Makerules (%.dynsym): Force C locale when running
14230 $(OBJDUMP) --dynamic-syms.
14232 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14234 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14237 2012-10-06 David S. Miller <davem@davemloft.net>
14239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14240 upper 32-bits of the length value in %o2 since we use branch-on-register
14241 tests which consider the entire 64-bit register.
14243 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14245 * string/test-strstr.c (check2): Add a test for page boundary.
14247 2012-10-05 David S. Miller <davem@davemloft.net>
14249 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14250 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14252 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14254 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14255 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14256 and bzero when HWCAP_SPARC_CRYPTO is present.
14258 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14261 * string/test-strstr.c (check2): New function.
14262 (test_main): Call check2.
14264 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14266 * string/bug-strcasestr1.c (do_test): Moved to ...
14267 * string/test-strcasestr.c (check1): Here. New function.
14268 (do_one_test): Break out result checking code into ...
14269 (check_result): This. New function.
14270 (do_one_test): Call check_result.
14271 (test_main): Call check1.
14272 * string/bug-strchr1.c (do_test): Moved to ...
14273 * string/test-strchr.c (check1): Here. New function.
14274 (do_one_test): Break out result checking code into ...
14275 (check_result): This. New function.
14276 (do_one_test): Call check_result.
14277 (test_main): Call check1.
14278 * string/bug-strstr1.c (main): Moved to ...
14279 * string/test-strstr.c (check1): Here. New function.
14280 (do_one_test): Break out result checking code into ...
14281 (check_result): This. New function.
14282 (do_one_test): Call check_result.
14283 (test_main): Call check1.
14284 * string/bug-strcasestr1.c: Removed.
14285 * string/bug-strchr1.c: Likewise.
14286 * string/bug-strstr1.c: Likewise.
14288 * elf/Makefile (dl-routines): Add hwcaps.
14289 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14290 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14291 (_dl_important_hwcaps): Moved to ...
14292 * elf/dl-hwcaps.c: Here. New file.
14293 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14296 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14297 if IS_IN_rtld isn't defined.
14299 * elf/dl-support.c (_dl_sysinfo_map): New.
14300 Include "get-dynamic-info.h" and "setup-vdso.h".
14301 (_dl_non_dynamic_init): Call setup_vdso.
14302 * elf/dynamic-link.h: Don't include <assert.h>.
14303 (elf_get_dynamic_info): Moved to ...
14304 * elf/get-dynamic-info.h: Here. New file.
14305 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14306 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14307 * elf/setup-vdso.h: Here. New file.
14308 * elf/rtld.c: Include "setup-vdso.h".
14309 (dl_main): Call setup_vdso.
14311 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14313 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14314 creal in comment listing functions tested. List finite, isinf,
14315 isnan, isless, islessequal, isgreater, isgreaterequal,
14316 islessgreater, isunordered, lgamma_r and pow10 as functions and
14317 macros not tested. Mention which functions not tested are aliases
14318 for other functions. Fix typo. Note that signs of NaNs are not
14321 * scripts/config.guess: Update from config.git.
14322 * scripts/config.sub: Likewise.
14324 2012-10-04 Roland McGrath <roland@hack.frob.com>
14326 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14327 * misc/madvise.c (madvise): Renamed to __madvise.
14328 Make madvise a weak alias.
14329 * include/sys/mman.h: Declare __madvise.
14330 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14331 * sysdeps/unix/syscalls.list
14332 (madvise): Make __madvise the strong name, and madvise a weak alias.
14333 * sysdeps/unix/sysv/linux/syscalls.list
14334 (madvise, mmap): Remove redundant entries.
14335 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14336 * malloc/malloc.c (mtrim): Likewise.
14337 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14339 2012-10-03 Roland McGrath <roland@hack.frob.com>
14341 * sysdeps/mach/hurd/dl-cache.c: File removed.
14342 * config.h.in (USE_LDCONFIG): New #undef.
14343 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14344 * configure: Regenerated.
14345 * elf/Makefile (dl-routines): Add dl-cache only under
14346 [$(use-ldconfig) = yes].
14347 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14348 cache on [USE_LDCONFIG].
14349 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14351 * elf/rtld.c (dl_main): Likewise.
14353 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14355 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14356 _SC_LEVEL4_CACHE_LINESIZE.
14358 2012-10-03 Roland McGrath <roland@hack.frob.com>
14360 * sysdeps/unix/bsd/confstr.h: File removed.
14362 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14364 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14367 2012-10-02 Roland McGrath <roland@hack.frob.com>
14369 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14370 Make 'mapoff' field ElfW(Off) rather than off_t.
14372 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14374 * nscd/Makefile: Remove nscd-cflags and all its users.
14375 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14376 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14379 * malloc.c (malloc_printerr): Clarify error message.
14381 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14385 Set bit_FMA_Usable if FMA is supported.
14386 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14388 (bit_FMA4_Usable): Updated.
14389 (index_FMA_Usable): New macro.
14390 (CPUID_FMA): Likewise
14391 (HAS_FMA): Defined with bit_FMA_Usable.
14393 2012-10-01 Roland McGrath <roland@hack.frob.com>
14395 * bits/types.h (__swblk_t): Type removed.
14396 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14397 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14399 (__SWBLK_T_TYPE): Likewise.
14400 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14401 (__SWBLK_T_TYPE): Likewise.
14402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14403 (__SWBLK_T_TYPE): Likewise.
14404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14405 (__SWBLK_T_TYPE): Likewise.
14407 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14408 Honza Horak <hhorak@redhat.com>
14410 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14411 (xdr_mapname): Use YPMAXMAP as maxsize.
14412 (xdr_peername): Use YPMAXPEER as maxsize.
14413 (xdr_keydat): Use YPAXRECORD as maxsize.
14414 (xdr_valdat): Use YPMAXRECORD as maxsize.
14416 2012-10-01 Roland McGrath <roland@hack.frob.com>
14418 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14420 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14421 * csu/init-first.c: ... here.
14422 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14423 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14424 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14425 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14426 * sysdeps/i386/init-first.c: File removed.
14427 * sysdeps/sh/init-first.c: File removed.
14429 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14433 if x * y might underflow to zero and z is zero.
14434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14436 * math/libm-test.inc (min_subnorm_value): New variable.
14437 (fma_test): Add more tests.
14438 (fma_test_towardzero): Likewise.
14439 (fma_test_downward): Likewise
14440 (fma_test_upward): Likewise.
14441 (initialize): Set min_subnorm_value.
14443 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14449 mode for addition resulting in exact zero.
14450 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14455 * math/libm-test.inc (fma_test): Add more tests.
14456 (fma_test_towardzero): New function.
14457 (fma_test_downward): Likewise.
14458 (fma_test_upward): Likewise.
14459 (main): Call the new functions.
14461 2012-09-28 David S. Miller <davem@davemloft.net>
14463 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14465 2012-09-28 Roland McGrath <roland@hack.frob.com>
14467 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14468 instead of SIGALRM.
14470 * sysdeps/gnu/_G_config.h: Moved to ...
14471 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14472 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14473 * sysdeps/generic/_G_config.h: ... here.
14475 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14477 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14479 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14480 Conditionalize target on [libnss_test1.so-version].
14482 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14484 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14485 (elfobjdir): Move out of conditionals.
14487 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14488 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14489 (__nss_lookup_function): Conditionalize label remove_from_tree on
14490 [!DO_STATIC_NSS || SHARED], matching its only use.
14492 2012-09-28 David S. Miller <davem@davemloft.net>
14494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14497 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14501 when HWCAP_SPARC_CRYPTO is present.
14503 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14505 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14507 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14510 * stdio-common/vfprintf.c (process_string_arg): Revert
14513 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14515 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14517 * stdio-common/tst-sprintf.c: Include <locale.h>
14518 (main): Test sprintf's handling of incomplete multibyte
14521 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14523 * elf/dl-runtime.c (VERSYMIDX): Removed.
14524 * elf/dl-version.c (VERSYMIDX): Likewise.
14525 * elf/do-rel.h (VERSYMIDX): Likewise.
14526 (VALIDX): Likewise.
14527 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14528 * elf/rtld.c (VALIDX): Likewise.
14529 (ADDRIDX): Likewise.
14530 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14531 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14532 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14533 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14534 (VALIDX): Likewise.
14535 (ADDRIDX): Likewise.
14537 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14539 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14541 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14544 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14546 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14547 addresses are in the same scope as 192.0.2/24.
14548 * posix/gai.conf: Document new scope table defaults.
14550 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14553 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14554 for ftell. Compute offsets from write pointers instead.
14555 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14557 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14560 * libio/Makefile (tests): New test case tst-fseek.
14561 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14562 combination works in wide mode.
14563 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14564 state when the external buffer state changes.
14566 2012-09-27 David S. Miller <davem@davemloft.net>
14569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14570 pass reloc->r_addend in as the 'high' argument to
14571 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14575 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14577 * rt/tst-aio2.c: Include <pthread.h>.
14578 * rt/tst-aio3.c: Likewise.
14580 2012-09-27 Steve Ellcey <sellcey@mips.com>
14582 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14584 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14586 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14587 contents on [SHARED].
14589 2012-09-26 Marek Polacek <polacek@redhat.com>
14593 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14594 for C++ and GCC <4.3 as well as for non GCC compilers.
14596 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14600 2012-09-25 Roland McGrath <roland@hack.frob.com>
14602 * Makefile.in (all, install): Declare with .PHONY.
14603 Reported by Michael Hope <michael.hope@linaro.org>.
14605 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14607 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14608 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14610 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14612 (sydep_routines): Add the new and the internal functions.
14613 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14614 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14616 (GLIBC_2.17): Add the new function.
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14618 (GLIBC_2.17): Likewise.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14620 (GLIBC_2.17): Likewise.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14622 (GLIBC_2.17): Likewise.
14623 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14625 2012-09-25 Alan Modra <amodra@gmail.com>
14627 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14628 Add release barrier before setting once_control to say
14629 initialisation is done. Add hints on lwarx. Use macro in
14631 (clear_once_control): Add release barrier.
14633 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14636 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14638 * math/s_clog10.c (__clog10): Likewise.
14639 * math/s_clog10f.c (__clog10f): Likewise.
14640 * math/s_clog10l.c (__clog10l): Likewise.
14641 * math/s_clogf.c (__clogf): Likewise.
14642 * math/s_clogl.c (__clogl): Likewise.
14643 * math/Makefile (libm-calls): Add x2y2m1.
14644 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14645 (__x2y2m1): Likewise.
14646 (__x2y2m1l): Likewise.
14647 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14648 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14651 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14653 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14654 * sysdeps/i386/fpu/libm-test-ulps: Update.
14655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14658 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14659 int as type of variable DEPTH.
14660 (glob): Use size_t instead of int as type of variables NEWCOUNT
14663 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14666 Add s_sincosf-sse2.
14667 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14668 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14669 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14670 macros for using routine as __sincosf_ia32.
14671 Use macro for function declaration and weak_alias.
14672 * sysdeps/i386/fpu/libm-test-ulps: Update.
14674 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14677 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14678 subnormal argument.
14679 * math/s_cexpf.c (__cexpf): Likewise.
14680 * math/s_csinf.c (__csinf): Likewise.
14681 * math/s_csinhf.c (__csinhf): Likewise.
14682 * math/s_ctanf.c (__ctanf): Likewise.
14683 * math/s_ctanhf.c (__ctanhf): Likewise.
14684 * math/s_ccosh.c (__ccoshf): Likewise.
14685 * math/s_cexp.c (__cexpl): Likewise.
14686 * math/s_csin.c (__csin): Likewise.
14687 * math/s_csinh.c (__csinh): Likewise.
14688 * math/s_ctan.c (__ctan): Likewise.
14689 * math/s_ctanh.c (ctanh): Likewise.
14690 * math/s_ccoshl.c (__ccoshl): Likewise.
14691 * math/s_cexpl.c (__cexpl): Likewise.
14692 * math/s_csinl.c (__csinl): Likewise.
14693 * math/s_csinhl.c (__csinhl): Likewise.
14694 * math/s_ctanl.c (__ctanl): Likewise.
14695 * math/s_ctanhl.c (__ctanhl): Likewise.
14697 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14699 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14700 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14701 (_IO_off_t): Define to __off_t, not _G_off_t.
14702 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14703 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14704 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14705 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14706 type of __dummy and __dummy2 fields.
14707 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14708 (_G_ssize_t): Likewise.
14709 (_G_off_t): Likewise.
14710 (_G_pid_t): Likewise.
14711 (_G_uid_t): Likewise.
14712 (_G_wchar_t): Likewise.
14713 (_G_wint_t): Likewise.
14714 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14715 (_G_ssize_t): Likewise.
14716 (_G_off_t): Likewise.
14717 (_G_pid_t): Likewise.
14718 (_G_uid_t): Likewise.
14719 (_G_wchar_t): Likewise.
14720 (_G_wint_t): Likewise.
14721 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14722 (_G_ssize_t): Likewise.
14723 (_G_off_t): Likewise.
14724 (_G_pid_t): Likewise.
14725 (_G_uid_t): Likewise.
14726 (_G_wchar_t): Likewise.
14727 (_G_wint_t): Likewise.
14729 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14731 * malloc/arena.c: Include malloc-sysdep.h.
14732 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14733 is sufficient to shrink the heap or an unmap is needed.
14734 * sysdeps/generic/malloc-sysdep.h: New file. Define
14735 new function check_may_shrink_heap.
14736 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14737 new function check_may_shrink_heap.
14739 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14741 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14744 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14746 * catgets/test-gencat.sh: Add "set -e".
14747 * elf/tst-pathopt.sh: Likewise.
14748 * grp/tst_fgetgrent.sh: Likewise.
14749 * iconvdata/run-iconv-test.sh: Likewise.
14750 * intl/tst-gettext.sh: Likewise.
14751 * intl/tst-gettext2.sh: Likewise.
14752 * intl/tst-gettext4.sh: Likewise.
14753 * intl/tst-gettext6.sh: Likewise.
14754 * intl/tst-translit.sh: Likewise.
14755 * io/ftwtest-sh: Likewise.
14756 * libio/test-freopen.sh: Likewise.
14757 * malloc/tst-mtrace.sh: Likewise.
14758 * posix/globtest.sh: Likewise.
14759 * posix/tst-getconf.sh: Likewise.
14760 * posix/wordexp-tst.sh: Likewise.
14761 * stdio-common/tst-printf.sh: Likewise.
14762 * stdio-common/tst-unbputc.sh: Likewise.
14763 * stdlib/tst-fmtmsg.sh: Likewise.
14764 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14765 * catgets/Makefile: Do not specify -e option when running
14766 testsuite shell scripts.
14767 * elf/Makefile: Likewise.
14768 * grp/Makefile: Likewise.
14769 * iconvdata/Makefile: Likewise.
14770 * intl/Makefile: Likewise.
14771 * io/Makefile: Likewise.
14772 * libio/Makefile: Likewise.
14773 * malloc/Makefile: Likewise.
14774 * posix/Makefile: Likewise.
14775 * stdio-common/Makefile: Likewise.
14776 * stdlib/Makefile: Likewise.
14777 * sysdeps/x86_64/Makefile: Likewise.
14779 * io/ftwtest-sh: Add copyright header.
14780 * posix/globtest.sh: Likewise.
14781 * posix/tst-getconf.sh: Likewise.
14782 * posix/wordexp-tst.sh: Likewise.
14783 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14785 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14788 * Makeconfig (+link): Defined as $(+link-static) if
14789 $(build-shared) isn't yes.
14790 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14792 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14794 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14797 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14798 new chunk size with MALLOC_ALIGN_MASK.
14800 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14803 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14805 (__printf_fphex): Determine rounding using get_rounding_mode and
14807 * stdio-common/tst-printf-round.c (struct hex_test): New
14809 (hex_tests): New variable.
14810 (test_hex_in_one_mode): New function.
14811 (do_test): Also run tests for hex float output.
14813 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14815 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14816 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14817 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14818 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14819 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14820 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14821 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14822 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14824 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14826 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14827 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14828 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14829 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14831 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14834 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14836 * elf/tst-rtld-load-self.sh: New test.
14837 * elf/Makefile: Run it.
14839 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14841 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14842 (tst-writev-ENV): Remove.
14843 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14845 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14847 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14849 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14851 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14853 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14855 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14856 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14857 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14860 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14863 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14864 * config.make.in (have-cpp-asm-debuginfo): Removed.
14865 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14866 * configure: Regenerated.
14868 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14871 * stdio-common/printf_fp.c: Include <stdbool.h> and
14873 (___printf_fp): Determine rounding using get_rounding_mode and
14875 * stdio-common/tst-printf-round.c: New file.
14876 * stdio-common/Makefile (tests): Add tst-printf-round.
14877 (link-libm): New variable.
14878 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14880 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14883 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14884 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14886 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14889 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14891 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14892 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14893 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14894 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14896 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14899 * include/rounding-mode.h: New file.
14900 * sysdeps/generic/get-rounding-mode.h: Likewise.
14901 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14902 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14903 (MAX_VALUE): New macro.
14904 (MIN_VALUE): Likewise.
14905 (overflow_value): New function.
14906 (underflow_value): Likewise.
14907 (round_and_return): Use overflow_value and underflow_value to
14908 determine return values in overflow and underflow cases. Use
14909 round_away to determine rounding depending on rounding mode.
14910 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14911 determine return values in overflow and underflow cases.
14912 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14913 (struct test_results): New structure.
14914 (struct test): Use struct test_results to store expected results
14915 for all rounding modes.
14916 (TEST): Include expected results for all rounding modes.
14917 (test_in_one_mode): New function.
14918 (do_test): Use test_in_one_mode to compute and check results.
14919 Check results for all rounding modes.
14920 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14923 2012-12-09 Allan McRae <allan@archlinux.org>
14925 * sysdeps/i386/fpu/libm-test-ulps: Update
14927 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14929 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14930 (_G_int32_t): Likewise.
14931 (_G_uint16_t): Likewise.
14932 (_G_uint32_t): Likewise.
14933 (_G_HAVE_BOOL): Likewise.
14934 (_G_HAVE_ATEXIT): Likewise.
14935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14936 (_G_HAVE_IO_FILE_OPEN): Likewise.
14937 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14938 (_G_int32_t): Likewise.
14939 (_G_uint16_t): Likewise.
14940 (_G_uint32_t): Likewise.
14941 (_G_HAVE_BOOL): Likewise.
14942 (_G_HAVE_ATEXIT): Likewise.
14943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14944 (_G_HAVE_IO_FILE_OPEN): Likewise.
14945 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14946 (_G_int32_t): Likewise.
14947 (_G_uint16_t): Likewise.
14948 (_G_uint32_t): Likewise.
14949 (_G_HAVE_BOOL): Likewise.
14950 (_G_HAVE_ATEXIT): Likewise.
14951 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14952 (_G_HAVE_IO_FILE_OPEN): Likewise.
14954 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14956 * csu/libc-tls.c: Update copyright years.
14958 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14960 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14961 [!_G_USING_THUNKS]: Remove conditional code.
14962 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14963 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14965 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14966 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14967 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14968 (_G_VTABLE_LABEL_PREFIX): Likewise.
14969 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14970 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14971 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14972 (_G_VTABLE_LABEL_PREFIX): Likewise.
14973 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14974 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14975 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14976 (_G_VTABLE_LABEL_PREFIX): Likewise.
14977 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14979 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14981 * libio/Makefile: Include ../Makeconfig before tests.
14982 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14983 only if $(build-shared) is yes.
14985 * iconv/gconv_db.c: Update copyright years.
14987 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14989 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14990 unwind info if defined PIC. Fix special cases description.
14991 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14993 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14995 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14997 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14999 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15001 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15004 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15005 (LDLIBS-tst-chk4): This.
15006 (LDFLAGS-tst-chk5): Renamed to ...
15007 (LDLIBS-tst-chk5): This.
15008 (LDFLAGS-tst-chk6): Renamed to ...
15009 (LDLIBS-tst-chk6): This.
15010 (LDFLAGS-tst-lfschk4): Renamed to ...
15011 (LDLIBS-tst-lfschk4): This.
15012 (LDFLAGS-tst-lfschk5): Renamed to ...
15013 (LDLIBS-tst-lfschk5): This.
15014 (LDFLAGS-tst-lfschk6): Renamed to ...
15015 (LDLIBS-tst-lfschk6): This.
15017 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15018 on $(common-objpfx)soversions.mk.
15020 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15023 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15026 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15028 * malloc/arena.c (arena_get_retry): New function that gets
15029 another arena for the caller to try its request on.
15030 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15031 current arena cannot fulfill the request.
15032 (__libc_memalign): Likewise.
15033 (__libc_memalign): Likewise.
15034 (__libc_pvalloc): Likewise.
15035 (__libc_calloc): Likewise.
15037 2012-09-05 John Tobey <john.tobey@gmail.com>
15040 * manual/arith.texi (Operations on Complex): Fix description
15041 of carg branch cut.
15043 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15046 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15050 * manual/memory.texi (Memory): Make order of menu items match
15053 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15055 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15056 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15057 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15059 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15061 * csu/libc-tls.c (static_dtv): Renamed to ...
15062 (_dl_static_dtv): This. Make it global.
15063 (_dl_initial_dtv): Removed.
15064 (__libc_setup_tls): Updated.
15065 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15066 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15069 2012-09-06 Petr Machata <pmachata@redhat.com>
15071 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15072 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15073 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15074 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15076 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15079 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15080 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15083 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15086 * Makeconfig (link-static-before-libc): Replace $(+prector)
15088 (link-static-after-libc): Replace $(+postctor) with
15090 (link-bounded): Replace $(+prector)/$(+postctor) with
15091 $(+prectorT)/$(+postctorT).
15092 (+prectorT): New macro.
15093 (+postctorT): Likewise.
15095 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15097 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15098 (round_str): Handle values above the maximum for IBM long double
15100 * stdlib/tst-strtod-round.c (tests): Regenerated.
15102 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15104 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15106 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15107 zarch_nohighgprs around the zarch optimized routines.
15108 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15109 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15113 2012-09-05 David S. Miller <davem@davemloft.net>
15115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15117 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15118 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15119 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15120 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15123 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15125 * malloc/arena.c: Fold copyright years.
15126 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15130 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15132 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15134 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15136 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15138 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15139 change internal state upon failure.
15141 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15143 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15144 * malloc/memusage.c (mmap): Likewise.
15145 (mmap64, mremap): Likewise. Adjust name in comment.
15147 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15149 * libio/fileops.c: Fix typos in comments.
15150 * libio/oldfileops.c: Likewise.
15151 * libio/wfileops.c: Likewise.
15153 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15156 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15157 (tst-malloc-usable-ENV): Set environment for test case.
15158 * malloc/hooks.c (malloc_check_get_size): New function to get
15160 * malloc/malloc.c (musable): Use malloc_check_get_size.
15161 * malloc/tst-malloc-usable.c: New test case.
15163 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15165 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15167 2012-09-05 Allan McRae <allan@archlinux.org>
15170 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15171 determine header location.
15172 * configure: Regenerated.
15174 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15176 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15178 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15179 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15181 (test): Regenerate.
15183 2012-09-04 David S. Miller <davem@davemloft.net>
15185 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15186 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15187 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15189 2012-09-04 Florian Weimer <fweimer@redhat.com>
15191 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15194 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15196 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15199 * libio/iogetdelim.c: Include <limits.h>.
15200 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15201 + len + 1 would overflow.
15203 2012-09-03 Andreas Jaeger <aj@suse.de>
15205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15206 * sysdeps/i386/fpu/libm-test-ulps: Update.
15208 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15210 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15211 Add s_sinf-sse2, s_conf-sse2.
15213 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15214 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15215 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15216 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15218 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15219 for using routine as __sinf_ia32.
15220 Use macro for function declaration and weak_alias.
15221 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15222 for using routine as __cosf_ia32.
15223 Use macro for function declaration and weak_alias.
15225 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15226 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15228 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15229 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15232 * math/libm-test.inc (cos_test): Add more test cases.
15233 (sin_test): Likewise.
15234 (sincos_test): Likewise.
15236 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15238 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15239 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15241 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15243 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15246 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15247 first element of the GOT.
15248 (elf_machine_load_address): Return the difference between
15249 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15251 2012-09-01 Allan McRae <allan@archlinux.org>
15254 * configure.in (AWK): Require gawk version 3.0 or later.
15255 * configure: Regenerated.
15257 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15259 * sysdeps/unix/sysv/linux/kernel-features.h
15260 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15262 [__NR_clock_getres]: Make code unconditional.
15263 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15264 (clock_getcpuclockid): Remove code left unreachable by removal of
15266 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15267 code unconditional.
15268 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15269 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15270 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15271 Make code unconditional.
15272 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15273 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15274 * sysdeps/unix/sysv/linux/clock_settime.c
15275 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15277 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15278 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15280 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15283 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15284 scripts/test-installation.pl.
15286 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15287 and $ld_so_version if it is set.
15289 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15292 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15293 failure if reading from procfs failed.
15294 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15296 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15298 * sysdeps/unix/sysv/linux/kernel-features.h
15299 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15300 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15301 Remove conditional code.
15302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15303 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15304 Remove conditional code.
15305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15306 * sysdeps/unix/sysv/linux/i386/fxstat.c
15307 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15309 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15310 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15312 * sysdeps/unix/sysv/linux/i386/lxstat.c
15313 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15315 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15316 Remove conditional code.
15317 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15318 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15319 Remove conditional code.
15320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15321 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15322 <kernel-features.h>.
15323 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15325 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15326 Remove conditional code.
15327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15328 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15329 Remove conditional.
15331 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15334 * NEWS: Add fixed bug number.
15336 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15339 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15340 underflowing exponent in case of negative sign.
15341 * stdlib/tst-strtod-round-data: Add more tests.
15342 * stdlib/tst-strtod-round.c (tests): Regenerated.
15345 * stdlib/strtod_l.c (NDIG): Remove.
15346 (HEXNDIG): Likewise.
15347 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15348 smallest representable value.
15349 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15350 lie within an exact representation of 1/2 ulp of the result.
15351 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15353 (TENS_P9_IDX): Define unconditionally.
15354 (TENS_P9_SIZE): Likewise.
15355 (TENS_P10_IDX): Likewise.
15356 (TENS_P10_SIZE): Likewise.
15357 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15358 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15359 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15360 entries for 10^2^13 and 10^2^14.
15361 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15362 (TENS_P13_IDX): Define.
15363 (TENS_P13_SIZE): Likewise.
15364 (TENS_P14_IDX): Likewise.
15365 (TENS_P14_SIZE): Likewise.
15366 (_fpioconst_pow10): Change array size to
15367 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15369 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15370 1024]: Add entries for 10^2^13 and 10^2^14.
15371 [LAST_POW10 > _LAST_POW10]: Remove #error.
15372 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15373 (_fpioconst_pow10): Change array size to
15374 FPIOCONST_POW10_ARRAY_SIZE.
15375 * stdlib/gen-fpioconst.c: New file.
15376 * stdlib/gen-tst-strtod-round.c: Likewise.
15377 * stdlib/tst-strtod-round-data: Likewise.
15378 * stdlib/tst-strtod-round.c: Likewise.
15379 * stdlib/Makefile (tests): Add tst-strtod-round.
15382 * stdlib/strtod_l.c: Include <stdint.h>.
15383 (NDEBUG): Do not define.
15384 (round_and_return): Change EXPONENT parameter to type intmax_t.
15385 Rearrange calculations to avoid internal overflow possibilities.
15386 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15387 Rearrange calculations to avoid internal overflow possibilities.
15388 Assert that number fits inside MPNSIZE limbs.
15389 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15390 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15391 calculations and add assertions to avoid internal overflow
15392 possibilities. Add casts to avoid signed/unsigned operations.
15393 * stdlib/tst-strtod-overflow.c: New file.
15394 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15396 2012-08-25 Marek Polacek <polacek@redhat.com>
15398 * time/time.h: Fix some typos in comments.
15400 2012-08-23 Roland McGrath <roland@hack.frob.com>
15402 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15403 * posix/tst-rfc3484-2.c: Likewise.
15404 * posix/tst-rfc3484-3.c: Likewise.
15406 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15408 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15409 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15411 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15413 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15414 #include of fxstatat64.c.
15416 2012-08-22 Roland McGrath <roland@hack.frob.com>
15418 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15419 * shadow/getspent_r.c: Likewise.
15420 * shadow/getspnam.c: Likewise.
15421 * shadow/getspnam_r.c: Likewise.
15422 * gshadow/getsgent.c: Likewise.
15423 * gshadow/getsgent_r.c: Likewise.
15424 * gshadow/getsgnam.c: Likewise.
15425 * gshadow/getsgnam_r.c: Likewise.
15426 * inet/getnetbyad.c: Likewise.
15427 * inet/getnetbyad_r.c: Likewise.
15428 * inet/getnetbynm.c: Likewise.
15429 * inet/getnetbynm_r.c: Likewise.
15430 * inet/getnetent.c: Likewise.
15431 * inet/getnetent_r.c: Likewise.
15432 * inet/getproto.c: Likewise.
15433 * inet/getproto_r.c: Likewise.
15434 * inet/getprtent.c: Likewise.
15435 * inet/getprtent_r.c: Likewise.
15436 * inet/getprtname.c: Likewise.
15437 * inet/getprtname_r.c: Likewise.
15438 * inet/getrpcbyname.c: Likewise.
15439 * inet/getrpcbyname_r.c: Likewise.
15440 * inet/getrpcbynumber.c: Likewise.
15441 * inet/getrpcbynumber_r.c: Likewise.
15442 * inet/getrpcent.c: Likewise.
15443 * inet/getrpcent_r.c: Likewise.
15444 * inet/getaliasent.c: Likewise.
15445 * inet/getaliasent_r.c: Likewise.
15446 * inet/getaliasname.c: Likewise.
15447 * inet/getaliasname_r.c: Likewise.
15448 * nscd/getgrgid_r.c: Likewise.
15449 * nscd/getgrnam_r.c: Likewise.
15450 * nscd/gethstbyad_r.c: Likewise.
15451 * nscd/gethstbynm3_r.c: Likewise.
15452 * nscd/getpwnam_r.c: Likewise.
15453 * nscd/getpwuid_r.c: Likewise.
15454 * nscd/getsrvbynm_r.c: Likewise.
15455 * nscd/getsrvbypt_r.c: Likewise.
15456 * nscd/gai.c: Likewise.
15458 * configure.in (build_nscd): New substituted variable, set
15459 by --disable-build-nscd and defaults to $use_nscd.
15460 * configure: Regenerated.
15461 * config.make.in (build-nscd): New substituted variable.
15462 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15463 Change conditional to require [$(build-nscd) = yes] as well.
15464 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15467 * configure.in (use_nscd): New substituted variable, set by
15468 --disable-nscd. If enabled, define USE_NSCD.
15469 * configure: Regenerated.
15470 * config.h.in: Add USE_NSCD.
15471 * config.make.in (use-nscd): New substituted variable.
15472 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15473 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15474 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15475 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15476 (CFLAGS-getgrnam_r.c): Likewise.
15477 (CFLAGS-initgroups.c): Likewise.
15478 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15479 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15481 * inet/getnetgrent_r.c
15482 (nscd_setnetgrent): New function, broken out of ...
15483 (setnetgrent): ... here. Call it.
15484 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15485 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15486 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15487 * nscd/Makefile (routines, aux): Move definitions after include of
15488 Makeconfig. Conditionalize on [$(use-nscd) != no].
15489 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15490 Conditionalize on [USE_NSCD].
15491 (is_nscd, nscd_init_cb): Likewise.
15492 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15493 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15494 * nss/nss_db/db-init.c: Likewise.
15495 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15497 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15498 (make_request): Use it.
15499 (cache_valid_p): New function.
15500 (__check_pf): Use it.
15501 * NEWS: Add item for --disable-nscd.
15503 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15505 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15506 to support sed >= 4.2.1-20-ga9bf076.
15507 * configure: Regenerated.
15509 2012-08-22 Roland McGrath <roland@hack.frob.com>
15511 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15512 Conditionalize whole body on [IREL].
15514 2012-08-22 Jeff Law <law@redhat.com>
15517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15518 if the family is PF_UNSPEC.
15520 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15522 * Makerules (lib-version): Rename from V.
15523 (install-lib-nosubdir): Change V to lib-version.
15525 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15528 * powerpc32/power6/wcschr.c: New file.
15529 * powerpc32/power6/wcscpy.c: New file.
15530 * powerpc32/power6/wcsrchr.c: New file.
15531 * powerpc64/power6/wcschr.c: New file.
15532 * powerpc64/power6/wcscpy.c: New file.
15533 * powerpc64/power6/wcsrchr.c: New file.
15535 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15537 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15538 (two_way_short_needle): Use it.
15539 * string/strstr.c (AVAILABLE1_USES_J): Define.
15540 * string/strcasestr.c: Likewise.
15542 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15544 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15547 * NEWS: Add an entry.
15548 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15549 define their defaults.
15550 (two_way_short_needle): Detect end-of-string on-the-fly.
15551 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15552 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15553 * string/bug-strcasestr1.c: New test.
15554 * string/Makefile: Run it.
15556 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15559 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15560 the first character.
15562 2012-08-21 Roland McGrath <roland@hack.frob.com>
15564 * csu/elf-init.c (__libc_csu_irel): Function removed.
15565 * csu/libc-start.c (apply_irel): New function.
15566 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15568 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15570 * sysdeps/unix/sysv/linux/kernel-features.h
15571 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15572 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15573 <kernel-features.h>.
15574 [__NR_fadvise64_64]: Make code unconditional.
15575 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15576 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15577 !__NR_fadvise64_64)]: Likewise.
15578 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15579 !__NR_fadvise64_64))]: Likewise.
15580 [__NR_fadvise64]: Make code unconditional.
15581 [!__NR_fadvise64]: Remove conditional code.
15582 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15583 <kernel-features.h>.
15584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15589 not include <kernel-features.h>.
15590 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15592 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15594 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15595 include <kernel-features.h>.
15596 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15598 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15601 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15604 slight instruction rearrangements per scrollpipe analysis.
15605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15607 2012-08-20 Roland McGrath <roland@hack.frob.com>
15609 * manual/syslog.texi (syslog; vsyslog, closelog):
15610 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15611 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15613 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15614 DSOCAPS to match condition on defining it.
15616 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15618 * sysdeps/unix/sysv/linux/kernel-features.h
15619 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15621 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15622 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15624 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15625 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15627 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15628 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15630 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15631 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15633 * sysdeps/unix/sysv/linux/kernel-features.h
15634 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15635 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15637 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15638 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15639 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15640 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15641 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15642 Make code unconditional.
15643 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15644 (__mmap64) [!__NR_mmap2]: Likewise.
15645 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15646 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15647 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15648 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15649 [__NR_mmap2]: Make code unconditional.
15650 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15651 (__mmap64) [!__NR_mmap2]: Likewise.
15653 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15655 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15657 2012-08-18 Andreas Jaeger <aj@suse.de>
15659 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15661 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15663 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15664 * include/unistd.h (__have_sock_cloexec): Likewise.
15665 (__have_pipe2): Likewise.
15666 (__have_dup3): Likewise.
15668 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15671 * include/unistd.h (__have_pipe2): Change define into an extern int.
15672 (__have_dup3): Likewise.
15673 * socket/have_sock_cloexec.c: Include fcntl.h.
15674 (__have_pipe2): New variable.
15675 (__have_dup3): Likewise.
15677 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15679 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15681 2012-08-17 Marek Polacek <polacek@redhat.com>
15683 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15684 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15686 2012-08-17 Roland McGrath <roland@hack.frob.com>
15688 * configure.in: Add AC_SUBST for sysheaders.
15689 * configure: Regenerated.
15690 * config.make.in (sysheaders): New substituted variable.
15692 * sysdeps/unix/mkfifo.c: Moved ...
15693 * sysdeps/posix/mkfifo.c: ... here.
15694 * sysdeps/unix/mkfifoat.c: Moved ...
15695 * sysdeps/posix/mkfifoat.c: ... here.
15697 * sysdeps/unix/utime.c: Moved ...
15698 * sysdeps/posix/utime.c: ... here.
15700 * sysdeps/unix/time.c: Moved ...
15701 * sysdeps/posix/time.c: ... here.
15702 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15703 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15705 * sysdeps/unix/nice.c: Moved ...
15706 * sysdeps/posix/nice.c: ... here.
15708 * sysdeps/unix/alarm.c: Moved ...
15709 * sysdeps/posix/alarm.c: ... here.
15711 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15713 2012-08-17 Jeff Law <law@redhat.com>
15715 * intl/Makefile (codeset_mo): New variable.
15716 ($(codeset_mo)): New target.
15717 (tst-codeset.out): Depend on that. Remove explicit rule.
15718 (tst-gettext3.out, tst-gettext5.out): Likewise.
15719 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15720 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15721 * intl/tst-codeset.sh: Remove.
15722 * intl/tst-gettext3.sh: Likewise.
15723 * intl/tst-gettext5.sh: Likewise.
15725 2012-08-17 Roland McGrath <roland@hack.frob.com>
15727 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15728 * sysdeps/unix/syscalls.list: ... here.
15730 * sysdeps/posix/getaddrinfo.c
15731 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15732 (gaiconf_init, gaiconf_reload): Use them.
15733 [!_STATBUF_ST_NSEC]
15734 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15735 Define using time_t rather than struct timespec.
15737 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15738 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15740 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15742 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15743 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15746 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15747 __libc_cleanup_push argument.
15749 * bits/param.h: New file.
15750 * misc/sys/param.h: New file.
15751 * include/sys/param.h: New file.
15752 * misc/Makefile (headers): Add bits/param.h.
15753 * sysdeps/generic/sys/param.h: File removed.
15754 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15755 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15756 * sysdeps/mach/hurd/bits/param.h: New file.
15757 * sysdeps/mach/hurd/sys/param.h: File removed.
15759 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15762 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15764 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15765 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15768 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15769 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15770 rather than -D_IO_MTSAFE_IO conditionally.
15771 * stdio-common/Makefile (CPPFLAGS): Likewise.
15772 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15773 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15774 Use $(libio-mtsafe).
15775 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15776 of -D_IO_MTSAFE_IO.
15777 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15778 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15779 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15780 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15781 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15782 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15783 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15784 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15785 (CFLAGS-fread_u_chk.c): Likewise.
15786 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15787 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15788 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15789 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15790 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15791 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15792 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15793 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15794 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15796 * libio/Makefile: Test [$(libc-reentrant) = yes]
15797 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15800 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15801 * sysdeps/pthread/configure: File removed.
15802 * sysdeps/pthread/Makeconfig: New file.
15803 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15804 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15806 2012-08-16 Gary Benson <gbenson@redhat.com>
15808 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15809 unmapping the first object in a namespace.
15811 2012-08-16 Roland McGrath <roland@hack.frob.com>
15813 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15814 (__internal_setnetgrent): ... this. Add internal_function to
15815 definition. Add libc_hidden_def.
15816 (setnetgrent): Update caller.
15817 (internal_endnetgrent): Renamed to ...
15818 (__internal_endnetgrent): ... this. Add internal_function to
15819 definition. Add libc_hidden_def.
15820 (endnetgrent): Update caller.
15821 (internal_getnetgrent_r): Renamed to ...
15822 (__internal_getnetgrent_r): ... this. Add internal_function to
15823 definition. Add libc_hidden_def.
15824 (__getnetgrent_r): Update caller.
15825 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15827 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15829 * stdlib/longlong.h: Update from GCC.
15831 2012-08-16 Roland McGrath <roland@hack.frob.com>
15833 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15834 on _QL, which is set by umul_ppmm but never used.
15835 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15836 variables, which are set by GMP macros but never used.
15837 * stdio-common/_itowa.c (_itowa): Likewise.
15838 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15839 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15841 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15843 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15844 struct La_sh_regs is not constant.
15845 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15846 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15847 and struct La_sparc64_regs are not constant.
15849 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15851 * sysdeps/unix/sysv/linux/kernel-features.h
15852 (__ASSUME_POSIX_TIMERS): Remove.
15853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15855 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15856 Make code unconditional.
15857 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15858 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15859 Make code unconditional.
15860 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15861 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15862 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15863 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15864 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15865 Make code unconditional.
15866 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15867 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15868 (__libc_missing_posix_timers): Remove.
15870 2012-08-15 Roland McGrath <roland@hack.frob.com>
15872 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15873 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15875 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15877 * elf/dl-sym.c: Include <stdlib.h>.
15879 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15880 constants, which avoids warnings in 32-bit builds.
15882 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15883 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15885 * misc/lseek.c: File moved to ...
15886 * io/lseek.c: ... here.
15888 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15890 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15891 shifting LEN more than 31 bits at once.
15893 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15896 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15897 segmentation fault for a case of two empty input strings.
15898 * string/test-strncasecmp.c (check1): Renamed to...
15899 (bz12205): ...this.
15900 (bz14195): Add new testcase for two empty input strings and N > 0.
15901 (test_main): Call new testcase, adapt for renamed function.
15903 2012-08-15 Andreas Jaeger <aj@suse.de>
15906 * crypt/md5test2.c: New test, based on test supplied by Serge
15907 Belyshev <belyshev@depni.sinp.msu.ru>.
15908 * crypt/Makefile (xtests): Add md5test-giant..
15909 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15911 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15914 * crypt/md5.c (md5_process_block): Don't assume the buffer
15915 length is less than 2**32.
15916 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15917 length is less than 2**64.
15919 2012-08-15 Roland McGrath <roland@hack.frob.com>
15921 * string/str-two-way.h: Include <sys/param.h>.
15922 (MAX): Macro removed.
15924 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15925 Move #define and #undef of memmove to just before and after
15926 including <string.h>.
15928 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15929 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15930 and after including <string.h>. Move declarations of
15931 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15932 to before #include "string/memmove.c".
15934 * include/dirent.h: Declare __getdirentries.
15936 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15937 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15939 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15941 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15942 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15943 * sysdeps/i386/configure: Regenerated.
15944 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15945 STABS_CURRENT_FILE, and STABS_FUN.
15946 (END): Remove call to STABS_FUN_END.
15947 (STABS_CURRENT_FILE1): Delete.
15948 (STABS_CURRENT_FILE): Likewise.
15949 (STABS_FUN): Likewise.
15950 (STABS_FUN_END): Likewise.
15951 (STABS_FUN2): Likewise.
15952 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15953 * sysdeps/x86_64/configure: Regenerated.
15955 2012-08-14 Roland McGrath <roland@hack.frob.com>
15957 * elf/dl-open.c: Include <atomic.h>.
15958 * elf/dl-lookup.c: Likewise.
15960 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15962 * sysdeps/unix/sysv/linux/kernel-features.h
15963 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15964 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15966 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15968 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15969 condition on __ASSUME_CLONE_THREAD_FLAGS.
15971 2012-08-14 Andreas Jaeger <aj@suse.de>
15973 * sysdeps/i386/fpu/libm-test-ulps: Update.
15975 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15977 * include/atomic.h (atomic_exchange_and_add): Split into ...
15978 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15981 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15985 2012-08-13 Jeff Law <law@redhat.com>
15987 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15988 null byte in the output string.
15990 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15992 * sysdeps/unix/sysv/linux/kernel-features.h
15993 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15994 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15995 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15997 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15998 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15999 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16001 2012-08-09 Jeff Law <law@redhat.com>
16004 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16005 When avoid_arena is set, don't retry in the that arena. Pick the
16006 next one, whatever it might be.
16007 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16008 (arena_lock): Pass in new parameter to arena_get2.
16009 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16011 (__libc_malloc): Unify retrying after main arena failure with
16012 __libc_memalign version.
16013 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16015 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16018 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16019 to __redirect_strstr.
16020 (__strstr_sse42): Use typeof __redirect_strstr.
16021 (__strstr_ia32): Likewise.
16022 (__libc_strstr): New prototype.
16023 (strstr): Renamed to ...
16024 (__libc_strstr): This.
16025 (strstr): New strong alias of __libc_strstr.
16026 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16027 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16030 (__libc_time): New prototype.
16031 (time_ifunc): Replace time with __libc_time.
16032 (time): New strong alias and hidden definition of __libc_time.
16033 (__GI_time): Remove strong alias.
16034 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16035 Include <stddef.h>.
16036 (memmove): Redefined to __redirect_memmove.
16037 (__memmove_sse2): Use typeof __redirect_memmove.
16038 (__memmove_ssse3): Likewise.
16039 (__memmove_ssse3_back): Likewise.
16040 (__libc_memmove): New prototype.
16041 (memmove): Renamed to ...
16042 (__libc_memmove): This.
16043 (memmove): New strong alias of __libc_memmove.
16045 2012-08-08 Mark Salter <msalter@redhat.com>
16048 (R_MN10300_TLS_GD): Define.
16049 (R_MN10300_TLS_LD): Likewise.
16050 (R_MN10300_TLS_LDO): Likewise.
16051 (R_MN10300_TLS_GOTIE): Likewise.
16052 (R_MN10300_TLS_IE): Likewise.
16053 (R_MN10300_TLS_LE): Likewise.
16054 (R_MN10300_TLS_DTPMOD): Likewise.
16055 (R_MN10300_TLS_DTPOFF): Likewise.
16056 (R_MN10300_TLS_TPOFF): Likewise.
16057 (R_MN10300_SYM_DIFF): Likewise.
16058 (R_MN10300_ALIGN): Likewise.
16059 (R_MN10300_NUM): Update.
16061 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16063 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16066 2012-08-08 Roland McGrath <roland@hack.frob.com>
16068 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16070 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16071 sysdeps/unix -> sysdeps/posix move.
16072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16074 2012-08-07 Allan McRae <allan@archlinux.org>
16077 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16078 (SUNOS_CPP): Likewise.
16079 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16081 (open_input): Call CPP using execvp.
16083 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16085 * sysdeps/unix/sysv/linux/kernel-features.h
16086 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16087 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16088 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16089 (__ASSUME_WAITID_SYSCALL): Likewise.
16090 * sysdeps/unix/sysv/linux/dl-execstack.c
16091 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16092 code unconditional.
16093 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16095 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16096 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16097 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16099 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16101 [__ASSUME_WAITID_SYSCALL]: Likewise.
16102 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16104 2012-08-07 Roland McGrath <roland@hack.frob.com>
16106 * sysdeps/unix/closedir.c: Renamed to ...
16107 * sysdeps/posix/closedir.c: ... here.
16108 * sysdeps/unix/dirfd.c: Renamed to ...
16109 * sysdeps/posix/dirfd.c: ... here.
16110 * sysdeps/unix/dirstream.h: Renamed to ...
16111 * sysdeps/posix/dirstream.h: ... here.
16112 * sysdeps/unix/fdopendir.c: Renamed to ...
16113 * sysdeps/posix/fdopendir.c: ... here.
16114 * sysdeps/unix/opendir.c: Renamed to ...
16115 * sysdeps/posix/opendir.c: ... here.
16116 * sysdeps/unix/readdir.c: Renamed to ...
16117 * sysdeps/posix/readdir.c: ... here.
16118 * sysdeps/unix/readdir_r.c: Renamed to ...
16119 * sysdeps/posix/readdir_r.c: ... here.
16120 * sysdeps/unix/rewinddir.c: Renamed to ...
16121 * sysdeps/posix/rewinddir.c: ... here.
16122 * sysdeps/unix/seekdir.c: Renamed to ...
16123 * sysdeps/posix/seekdir.c: ... here.
16124 * sysdeps/unix/telldir.c: Renamed to ...
16125 * sysdeps/posix/telldir.c: ... here.
16126 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16127 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16128 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16129 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16131 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16132 * bits/fcntl.h: ... here.
16134 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16136 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16137 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16138 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16139 (struct flock): Move l_start, l_len to the beginning.
16140 Use __pid_t for l_pid.
16141 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16142 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16143 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16144 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16145 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16146 [__USE_LARGEFILE64] (struct flock64): New type.
16147 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16149 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16150 * bits/dirent.h: ... here.
16152 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16153 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16155 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16158 Change from 2.6.0 to 2.6.16.
16159 * sysdeps/unix/sysv/linux/configure: Regenerated.
16160 * sysdeps/unix/sysv/linux/kernel-features.h
16161 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16162 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16164 (__ASSUME_UTIMES): Likewise.
16165 (__ASSUME_CLONE_STOPPED): Remove.
16166 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16167 architectures, not kernel version.
16168 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16169 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16170 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16171 (__ASSUME_WAITID_SYSCALL): Likewise.
16172 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16173 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16174 * README: State 2.6.16 as minimum Linux kernel version. Do not
16175 refer to older versions.
16177 2012-08-06 Roland McGrath <roland@hack.frob.com>
16179 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16180 Define alphasort64 as an alias.
16181 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16182 Define versionsort64 as an alias.
16183 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16184 Define scandir64 as an alias.
16185 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16186 Define scandirat64 as an alias.
16187 * dirent/alphasort64.c (alphasort64):
16188 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16189 * dirent/versionsort64.c: Likewise.
16190 * dirent/scandir64.c: Likewise.
16191 * dirent/scandirat64.c: Likewise.
16192 * sysdeps/wordsize-64/alphasort.c: File removed.
16193 * sysdeps/wordsize-64/alphasort64.c: File removed.
16194 * sysdeps/wordsize-64/scandir.c: File removed.
16195 * sysdeps/wordsize-64/scandir64.c: File removed.
16196 * sysdeps/wordsize-64/scandirat.c: File removed.
16197 * sysdeps/wordsize-64/scandirat64.c: File removed.
16198 * sysdeps/wordsize-64/versionsort.c: File removed.
16199 * sysdeps/wordsize-64/versionsort64.c: File removed.
16200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16209 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16211 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16213 [defined __arch64__ || defined __sparcv9]
16214 (__INO_T_MATCHES_INO64_T): New macro.
16215 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16216 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16217 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16218 * sysdeps/unix/sysv/linux/bits/dirent.h
16219 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16220 (_DIRENT_MATCHES_DIRENT64): New macro.
16222 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16223 Define lockf64 as an alias.
16224 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16225 Define fseeko64 as an alias.
16226 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16227 Define ftello64 as an alias.
16228 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16229 Define _IO_fgetpos64 and fgetpos64 as aliases.
16230 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16231 Define _IO_fsetpos64 and fsetpos64 as aliases.
16232 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16233 Conditionalize body on this.
16234 * libio/fseeko64.c: Likewise.
16235 * libio/ftello64.c: Likewise.
16236 * libio/iofgetpos64.c: Likewise.
16237 * libio/iofsetpos64.c: Likewise.
16238 * sysdeps/wordsize-64/lockf.c: File removed.
16239 * sysdeps/wordsize-64/lockf64.c: File removed.
16240 * sysdeps/wordsize-64/fseeko.c: File removed.
16241 * sysdeps/wordsize-64/fseeko64.c: File removed.
16242 * sysdeps/wordsize-64/ftello.c: File removed.
16243 * sysdeps/wordsize-64/ftello64.c: File removed.
16244 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16245 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16246 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16247 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16249 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16251 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16253 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16259 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16261 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16263 [defined __arch64__ || defined __sparcv9]
16264 (__OFF_T_MATCHES_OFF64_T): New macro.
16265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16266 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16268 (__OFF_T_MATCHES_OFF64_T): New macro.
16270 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16272 * stdlib/secure-getenv.c (__secure_getenv): Replace
16273 GLIBC_2_16 with GLIBC_2_17.
16275 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16280 2012-08-03 David S. Miller <davem@davemloft.net>
16282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16284 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16288 (__ASSUME_CORRECT_SI_PID): Likewise.
16289 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16290 (__ASSUME_TMPFS_NAME): Likewise.
16291 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16292 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16293 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16294 (HAVE_AUX_SECURE): Make definition unconditional.
16295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16296 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16298 2012-08-03 Roland McGrath <roland@hack.frob.com>
16300 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16301 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16302 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16303 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16304 __eloop_threshold instead of SYMLOOP_MAX.
16306 * sysdeps/generic/eloop-threshold.h: New file.
16307 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16309 * elf/chroot_canon.c (chroot_canon): Likewise.
16311 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16315 Change to 2.6.0 everywhere.
16316 * sysdeps/unix/sysv/linux/configure: Regenerated.
16317 * sysdeps/unix/sysv/linux/kernel-features.h
16318 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16319 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16321 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16322 (__ASSUME_FUTEX_REQUEUE): Remove.
16323 (__ASSUME_STATFS64): Define unconditionally.
16324 (__ASSUME_AT_SECURE): Likewise.
16325 (__ASSUME_CORRECT_SI_PID): Likewise.
16326 (__ASSUME_TGKILL): Define without depending on kernel version for
16328 (__ASSUME_UTIMES): Likewise.
16329 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16331 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16332 (__ASSUME_TMPFS_NAME): Likewise.
16333 * README: Update reference to Linux kernel versions.
16335 2012-08-02 Marek Polacek <polacek@redhat.com>
16338 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16339 libc_cv_asm_type_prefix with %.
16340 * configure: Regenerated.
16341 * include/libc-symbols.h: Remove comment about
16342 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16343 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16344 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16345 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16346 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16347 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16348 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16349 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16350 * elf/tst-unique2mod1.c: Likewise.
16351 * elf/tst-unique1mod2.c: Likewise.
16352 * elf/tst-unique1mod1.c: Likewise.
16353 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16354 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16355 Replace ASM_TYPE_DIRECTIVE with .type.
16356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16357 * sysdeps/i386/sysdep.h: Likewise.
16358 * sysdeps/x86_64/sysdep.h: Likewise.
16359 * sysdeps/sh/sysdep.h: Likewise.
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16361 Do not define ASM_TYPE_DIRECTIVE.
16362 * sysdeps/powerpc/sysdep.h: Likewise.
16363 * sysdeps/powerpc/powerpc32/sysdep.h:
16364 Replace ASM_TYPE_DIRECTIVE with .type.
16365 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16366 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16367 * sysdeps/i386/fpu/e_powf.S: Likewise.
16368 * sysdeps/i386/fpu/e_expl.S: Likewise.
16369 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16371 * sysdeps/i386/fpu/e_pow.S: Likewise.
16372 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16373 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16374 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16375 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16376 * sysdeps/i386/fpu/e_log2.S: Likewise.
16377 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16378 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16379 * sysdeps/i386/fpu/e_powl.S: Likewise.
16380 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16381 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16382 * sysdeps/i386/fpu/e_logl.S: Likewise.
16383 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16384 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16385 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16386 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16387 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16388 * sysdeps/i386/fpu/e_log.S: Likewise.
16389 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16390 * sysdeps/i386/fpu/e_logf.S: Likewise.
16391 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16392 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16393 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16394 * sysdeps/i386/fpu/e_log10.S: Likewise.
16395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16400 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16401 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16402 * sysdeps/i386/i686/strtok.S: Likewise.
16403 * sysdeps/i386/i386-mcount.S: Likewise.
16404 * sysdeps/i386/strtok.S: Likewise.
16405 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16406 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16409 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16411 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16412 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16413 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16414 * sysdeps/x86_64/_mcount.S: Likewise.
16415 * sysdeps/x86_64/strtok.S: Likewise.
16416 * sysdeps/sh/_mcount.S: Likewise.
16418 2012-08-01 Roland McGrath <roland@hack.frob.com>
16420 * libio/iofopen.c: Include <fcntl.h>.
16421 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16422 (_IO_fopen64, fopen64): Define as aliases.
16423 * libio/iofopen64.c: Include <fcntl.h>.
16424 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16425 Conditionalize body on this.
16426 * sysdeps/wordsize-64/iofopen.c: File removed.
16427 * sysdeps/wordsize-64/iofopen64.c: File removed.
16429 2012-08-01 Marek Polacek <polacek@redhat.com>
16431 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16432 Use dlfcn directly instead of a variable.
16433 (binfmt-subdir): Do not define.
16436 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16439 Remove all definitions.
16440 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16441 <kernel-features.h>.
16442 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16443 (miss_F_GETOWN_EX): Remove all definitions.
16444 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16446 [!__ASSUME_FCNTL64]: Remove conditional code.
16447 [__ASSUME_FCNTL64]: Make code unconditional.
16448 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16449 <kernel-features.h>.
16450 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16451 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16452 (lockf64) [__NR_fcntl64]: Make code unconditional.
16453 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16455 * sysdeps/unix/sysv/linux/kernel-features.h
16456 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16457 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16458 Make code unconditional.
16459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16462 [__NR_vfork]: Make code unconditional.
16463 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16464 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16466 [__NR_vfork]: Make code unconditional.
16467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16470 2012-08-01 Roland McGrath <roland@hack.frob.com>
16472 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16473 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16475 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16476 Define mkstemp64 as an alias.
16477 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16478 Define mkstemps64 as an alias.
16479 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16480 Define mkostemp64 as an alias.
16481 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16482 Define mkostemps64 as an alias.
16483 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16484 Conditionalize body on this.
16485 * misc/mkostemp64.c: Likewise.
16486 * misc/mkostemps64.c: Likewise.
16487 * misc/mkstemps64.c: Likewise.
16488 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16489 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16490 * sysdeps/wordsize-64/mkostemp.c: File removed.
16491 * sysdeps/wordsize-64/mkstemp.c: File removed.
16492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16495 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16498 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16499 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16500 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16501 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16503 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16504 compat_symbol macros from <shlib-compat.h> rather than the underlying
16505 default_symbol_version and symbol_version macros, so that DEFAULT
16506 lines in shlib-versions are respected.
16507 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16509 2012-08-01 Florian Weimer <fweimer@redhat.com>
16511 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16512 Declare with warn_unused_result.
16513 (setgid, setregid, setegid, setresgid): Likewise.
16514 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16516 * WUR-REPORT: Remove set*id functions.
16518 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16520 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16522 2012-07-31 Roland McGrath <roland@hack.frob.com>
16525 * include/sys/socket.h (__libc_accept, __libc_accept4):
16526 Add attribute_hidden.
16527 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16529 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16531 * inet/getnetgrent_r.c (setup): Likewise.
16533 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16535 2012-07-31 David S. Miller <davem@davemloft.net>
16537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16539 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16542 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16543 value between 1.0 and 2.0 and smaller part has absolute value less
16545 * math/s_clog10.c (__clog10): Likewise.
16546 * math/s_clog10f.c (__clog10f): Likewise.
16547 * math/s_clog10l.c (__clog10l): Likewise.
16548 * math/s_clogf.c (__clogf): Likewise.
16549 * math/s_clogl.c (__clogl): Likewise.
16550 * math/libm-test.inc (clog_test): Add more tests.
16551 (clog10_test): Likewise.
16552 * sysdeps/i386/fpu/libm-test-ulps: Update.
16553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16555 2012-07-31 Florian Weimer <fweimer@redhat.com>
16557 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16558 Exit with zero in case no suitable GID is found, and write a
16559 message to standard error.
16561 2012-07-30 Roland McGrath <roland@hack.frob.com>
16563 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16565 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16566 (MAXPATHLEN): Removed.
16567 (NOGROUP, NODEV): New macros.
16568 (setbit, clrbit, isset, isclr): New macros.
16569 (howmany, roundup, powerof2): New macros.
16570 (DEV_BSIZE): New macro.
16572 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16573 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16575 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16576 definition on [!__NO_LONG_DOUBLE_MATH].
16578 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16579 PTR_MANGLE and PTR_DEMANGLE.
16581 * socket/accept4.c (accept4): Rename to __libc_accept4.
16582 Define accept4 as a weak alias.
16584 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16585 on [_DIRENT_HAVE_D_TYPE].
16586 * io/ftw.c (ftw_dir): Likewise.
16588 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16590 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16592 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16593 Use the BSD numbers rather than the arbitrary ones we had.
16594 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16595 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16596 (SIGXCPU, SIGXFSZ): New macros.
16599 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16600 initializer on [_LIBC_REENTRANT].
16602 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16603 definitions inside [_POSIX_MAPPED_FILES].
16605 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16607 * dirent/opendir.c: Include <fcntl.h>.
16609 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16610 (__libc_getspecific): Likewise.
16611 (__libc_key_create): Likewise.
16613 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16614 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16615 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16616 (tmpfile64): Define as alias.
16617 * sysdeps/wordsize-64/tmpfile.c: File removed.
16618 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16622 * stdio-common/vfscanf.c: Include <stdbool.h>.
16623 * nss/makedb.c: Likewise.
16624 * stdio-common/_i18n_number.h: Likewise.
16625 * argp/argp-help.c: Likewise.
16626 * posix/wordexp.c: Likewise.
16627 * sysdeps/posix/spawni.c: Likewise.
16628 * nss/nss_files/files-initgroups.c: Likewise.
16629 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16630 * nss/nss_files/files-initgroups.c: Likewise.
16631 * nss/nss_db/db-netgrp.c: Likewise.
16632 * nss/nss_db/db-initgroups.c: Likewise.
16633 * io/fchmodat.c: Include <sys/stat.h>.
16635 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16636 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16638 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16641 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16642 Add multiple inclusion protection.
16644 2012-07-27 David S. Miller <davem@davemloft.net>
16646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16648 2012-07-27 Gary Benson <gbenson@redhat.com>
16651 * elf/rtld.c: Include <stap-probe.h>.
16652 (dl_main): Added static probes "init_start" and "init_complete".
16653 * elf/dl-load.c: Include <stap-probe.h>.
16654 (lose): Take new parameter "nsid".
16655 Added static probe "map_failed".
16656 (_dl_map_object_from_fd): Pass namespace id to lose.
16657 Added static probe "map_start".
16658 (open_verify): Pass namespace id to lose.
16659 * elf/dl-open.c: Include <stap-probe.h>.
16660 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16661 and "reloc_complete".
16662 * elf/dl-close.c: Include <stap-probe.h>.
16663 (_dl_close_worker): Added static probes "unmap_start" and
16665 * elf/rtld-debugger-interface.txt: New file documenting the above.
16667 2012-07-26 Roland McGrath <roland@hack.frob.com>
16669 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16670 rather than a string variable.
16671 * sunrpc/rpc_main.c (h_output): Likewise.
16672 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16674 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16676 * inet/check_native.c: New file.
16678 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16681 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16682 if larger part has absolute value 1.0.
16683 * math/s_clog10.c (__clog10): Likewise.
16684 * math/s_clog10f.c (__clog10f): Likewise.
16685 * math/s_clog10l.c (__clog10l): Likewise.
16686 * math/s_clogf.c (__clogf): Likewise.
16687 * math/s_clogl.c (__clogl): Likewise.
16688 * math/libm-test.inc (clog_test): Add more tests.
16689 (clog10_test): Likewise.
16690 * sysdeps/i386/fpu/libm-test-ulps: Update.
16691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16693 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16694 (pltexit): Likewise.
16695 (La_regs): Likewise.
16696 (La_retval): Likewise.
16697 (int_retval): Likewise.
16698 Update #error for removed macros to refer only to definitions in
16700 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16702 (pltexit): Likewise.
16703 (La_regs): Likewise.
16704 (La_retval): Likewise.
16705 (int_retval): Likewise.
16706 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16708 (pltexit): Likewise.
16709 (La_regs): Likewise.
16710 (La_retval): Likewise.
16711 (int_retval): Likewise.
16712 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16714 (pltexit): Likewise.
16715 (La_regs): Likewise.
16716 (La_retval): Likewise.
16717 (int_retval): Likewise.
16718 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16720 (pltexit): Likewise.
16721 (La_regs): Likewise.
16722 (La_retval): Likewise.
16723 (int_retval): Likewise.
16724 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16726 (pltexit): Likewise.
16727 (La_regs): Likewise.
16728 (La_retval): Likewise.
16729 (int_retval): Likewise.
16730 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16732 (pltexit): Likewise.
16733 (La_regs): Likewise.
16734 (La_retval): Likewise.
16735 (int_retval): Likewise.
16736 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16737 macro definitions in tst-audit.h.
16738 * sysdeps/i386/tst-audit.h: New file.
16739 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16740 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16741 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16742 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16743 * sysdeps/sh/tst-audit.h: Likewise.
16744 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16745 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16746 * sysdeps/x86_64/tst-audit.h: Likewise.
16748 2012-07-26 Andreas Jaeger <aj@suse.de>
16750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16753 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16754 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16755 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16757 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16758 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16759 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16761 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16764 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16766 (si_call_addr, si_syscall, si_arch): Define new macro.
16767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16769 (si_call_addr, si_syscall, si_arch): Define new marcro.
16770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16772 (si_call_addr, si_syscall, si_arch): Define new macro.
16773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16775 (si_call_addr, si_syscall, si_arch): Define new macro.
16777 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16781 Change to 2.4.21 where previously 2.4.1.
16782 * sysdeps/unix/sysv/linux/configure: Regenerated.
16783 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16784 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16785 Linux kernel version.
16786 (__ASSUME_STD_AUXV): Remove.
16787 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16789 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16790 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16791 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16792 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16793 (__ASSUME_NETLINK_SUPPORT): Likewise.
16794 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16795 (__no_netlink_support): Remove conditional definition.
16796 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16798 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16799 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16801 (if_nameindex_ioctl): Remove.
16802 (if_nameindex_netlink): Do not handle __no_netlink_support.
16803 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16805 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16806 Remove conditional code.
16807 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16809 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16811 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16812 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16813 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16815 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16816 [!__ASSUME_STD_AUXV]: Remove conditional code.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16818 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16819 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16821 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16824 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16831 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16834 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16837 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16838 code unconditional.
16839 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16841 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16843 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16846 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16848 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16851 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16852 code unconditional.
16853 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16855 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16857 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16860 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16861 code unconditional.
16862 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16864 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16866 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16869 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16871 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16873 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16874 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16875 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16876 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16878 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16879 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16880 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16881 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16882 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16883 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16884 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16885 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16887 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16889 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16891 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16892 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16895 2012-07-25 Florian Weimer <fweimer@redhat.com>
16897 * Versions.def: Add GLIBC_2.17.
16898 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16899 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16900 Introduce __libc_secure_getenv.
16901 * stdlib/Versions (2.17): Add secure_getenv
16902 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16903 * stdlib/secure-getenv.c: Rename __secure_getenv to
16904 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16905 symbol __secure_getenv for GLIBC_2.0.
16906 * stdlib/tst-secure-getenv.c: New.
16907 * stdlib/Makefile (tests): Add testcase.
16908 * manual/startup.texi (Environment Access): Document
16910 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16911 __libc_secure_getenv.
16912 * inet/ruserpass.c (ruserpass): Likewise.
16913 * malloc/mtrace.c (mtrace): Likewise.
16914 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16915 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16916 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16917 * sysdeps/posix/tempname.c: Likewise. Evaluate
16918 HAVE_SECURE_GETENV.
16919 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16920 __secure_getenv to __libc_secure_getenv.
16921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16934 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16936 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16937 (struct La_i86_retval): Likewise.
16938 (struct La_x86_64_regs): Likewise.
16939 (struct La_x86_64_retval): Likewise.
16940 (struct La_x32_regs): Likewise.
16941 (struct La_x32_retval): Likewise.
16942 (struct La_ppc32_regs): Likewise.
16943 (struct La_ppc32_retval): Likewise.
16944 (struct La_ppc64_regs): Likewise.
16945 (struct La_ppc64_retval): Likewise.
16946 (struct La_sh_regs): Likewise.
16947 (struct La_sh_retval): Likewise.
16948 (struct La_s390_32_regs): Likewise.
16949 (struct La_s390_32_retval): Likewise.
16950 (struct La_s390_64_regs): Likewise.
16951 (struct La_s390_64_retval): Likewise.
16952 (struct La_sparc32_regs): Likewise.
16953 (struct La_sparc32_retval): Likewise.
16954 (struct La_sparc64_regs): Likewise.
16955 (struct La_sparc64_retval): Likewise.
16956 (struct audit_ifaces): Remove architecture-specific pltenter and
16958 * sysdeps/i386/ldsodefs.h: New file.
16959 * sysdeps/powerpc/ldsodefs.h: Likewise.
16960 * sysdeps/s390/ldsodefs.h: Likewise.
16961 * sysdeps/sh/ldsodefs.h: Likewise.
16962 * sysdeps/sparc/ldsodefs.h: Likewise.
16963 * sysdeps/x86_64/ldsodefs.h: Likewise.
16965 2012-07-25 Marek Polacek <polacek@redhat.com>
16968 * math/libm-test.inc (yn_test): Add another test.
16969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16970 to ERANGE when the result is +-Inf.
16971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16972 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16974 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16976 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16978 * conform/data/time.h-data (NULL): Use macro-constant. Require
16980 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16982 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16984 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16986 * configure.in <sysdeps resolving>: Correct printing
16988 * configure: Regenerate.
16990 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16992 * math/w_ilogb.c: Include <limits.h>.
16993 * math/w_ilogbl.c: Likewise.
16995 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16997 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16998 va_copy. Document allowing for unavailable va_copy only as
16999 pre-C99 compatibility.
17000 * manual/string.texi (Copying and Concatenation): Use va_copy
17001 instead of __va_copy in concat example.
17003 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17005 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17006 (__sendto): Use create_address_port. Initialize APORT and deallocate
17009 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17010 with O_NOLINK passed to __file_name_lookup.
17012 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17013 with O_NOLINK passed to __file_name_lookup.
17015 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17016 negative N or less than NGIDS.
17018 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17019 type to string_t. Set ERANGE as errno and return it if NAME is not big
17020 enough. Use memcpy instead of strncpy.
17022 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17024 * elf/Makefile (check-data): Remove.
17025 (localplt.data): New vpath directive.
17026 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17027 instead of $(check-data).
17028 * scripts/data/localplt-generic.data: Move to ...
17029 * sysdeps/generic/localplt.data: ... here.
17030 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17031 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17032 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17035 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17038 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17041 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17044 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17047 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17051 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17053 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17054 PPC32 and PPC64 files.
17055 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17056 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17058 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17060 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17061 __makecontext_ret to ...
17062 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17063 ... here and call exit if uc_link is NULL. New file.
17064 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17065 __makecontext_ret.S.
17066 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17067 __makecontext_ret to ...
17068 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17069 ... here and call exit if uc_link is NULL. New file.
17070 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17071 __makecontext_ret.S.
17073 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17075 * elf/elf.h (R_390_IRELATIVE): New definition.
17076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17077 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17078 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17080 (elf_machine_lazy_rel): Likewise.
17081 * sysdeps/s390/dl-irel.h: New file.
17082 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17083 * sysdeps/s390/s390-64/memset.S: New asm code.
17084 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17085 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17087 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17088 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17089 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17091 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17092 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17093 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17094 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17095 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17096 * sysdeps/s390/s390-32/memset.S: New asm code.
17097 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17099 2012-07-17 Marek Polacek <polacek@redhat.com>
17102 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17103 * sysdeps/s390/s390-64/configure.in: Likewise.
17104 * sysdeps/sparc/configure.in: Likewise.
17105 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17106 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17107 * sysdeps/i386/configure.in: Likewise.
17108 * sysdeps/x86_64/configure.in: Likewise.
17109 * sysdeps/sh/configure.in: Likewise.
17110 * sysdeps/s390/s390-32/configure: Regenerated.
17111 * sysdeps/s390/s390-64/configure: Likewise.
17112 * sysdeps/x86_64/configure: Likewise.
17113 * sysdeps/sh/configure: Likewise.
17114 * sysdeps/powerpc/powerpc64/configure: Likewise.
17115 * sysdeps/powerpc/powerpc32/configure: Likewise.
17116 * sysdeps/sparc/configure: Likwise.
17117 * sysdeps/i386/configure: Likewise.
17119 * elf/dl-open.c: Comment fixes.
17121 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17123 * Makefile [CXX] (check-data): Remove.
17124 [CXX] (c++-types.data): New vpath directive.
17125 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17126 vpath. Do not allow for C++ type data being missing.
17127 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17128 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17129 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17130 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17131 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17132 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17133 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17136 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17139 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17142 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17145 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17148 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17151 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17154 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17157 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17158 definitions to architecture-specific files.
17159 (TLS_IE): Likewise.
17160 (TLS_LD): Likewise.
17161 (TLS_GD): Likewise.
17162 * sysdeps/i386/tls-macros.h: New file.
17163 * sysdeps/powerpc/tls-macros.h: Likewise.
17164 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17165 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17166 * sysdeps/sh/tls-macros.h: Likewise.
17167 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17168 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17169 * sysdeps/x86_64/tls-macros.h: Likewise.
17171 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17174 zero value for regular exit case.
17176 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17177 (__start_context): Preserve zero value for regular exit case.
17179 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17180 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17182 * manual/setjmp.texi (setcontext): Clarify normal process
17183 termination when uc_link is the null pointer.
17184 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17187 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17189 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17190 preprocessor. Test for each exception mask separately.
17192 2012-07-16 Andreas Jaeger <aj@suse.de>
17194 * po/ru.po: Update from translation team.
17196 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17198 * conform/data/string.h-data (NULL): Use macro-constant. Require
17200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17201 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17202 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17203 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17206 2012-07-13 Andreas Jaeger <aj@suse.de>
17208 * po/fr.po: Update from translation team.
17210 2012-07-12 Marek Polacek <polacek@redhat.com>
17213 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17217 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17221 Change to 2.4.1 where previously 2.4.0.
17222 * sysdeps/unix/sysv/linux/configure: Regenerated.
17223 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17224 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17226 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17227 (__ASSUME_AT_CLKTCK): Remove.
17228 (__ASSUME_AT_PAGESIZE): Likewise.
17229 (__ASSUME_AT_XID): Likewise.
17230 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17231 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17232 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17234 (HAVE_AUX_PAGESIZE): Likewise.
17235 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17236 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17237 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17239 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17243 the temporary buffer used to invoke __gethostbyname2_r,
17244 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17245 host_data / struct gaih_addrtuple.
17246 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17247 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17248 header file nss/nsswitch.h.
17249 * nss/nsswitch.h (global scope): Add definition of implementation
17250 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17251 resolv/nss_dns/dns-host.c).
17253 2012-07-11 Andreas Jaeger <aj@suse.de>
17255 * po/fr.po: Update from translation team.
17257 * po/sv.po: Update from translation team
17258 * po/fr.po: Another update from translation team.
17260 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17263 for subnormals or multiply small sinh result by itself.
17264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17267 2012-07-11 David S. Miller <davem@davemloft.net>
17269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17271 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17274 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17275 (INTERNAL_MARK): Shift it here.
17277 2012-07-10 Marek Polacek <polacek@redhat.com>
17280 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17281 libc_cv_asm_global_directive with .globl.
17282 * configure: Regenerated.
17283 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17285 * sysdeps/i386/configure: Regenerated.
17286 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17288 * sysdeps/x86_64/configure: Regenerated.
17289 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17290 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17291 * elf/tst-unique2mod2.c: Likewise.
17292 * elf/tst-unique2mod1.c: Likewise.
17293 * elf/tst-unique1mod2.c: Likewise.
17294 * elf/tst-unique1mod1.c: Likewise.
17295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17296 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17298 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17299 * sysdeps/mach/sysdep.h: Likewise.
17300 * sysdeps/i386/sysdep.h: Likewise.
17301 * sysdeps/i386/i386-mcount.S: Likewise.
17302 * sysdeps/x86_64/_mcount.S: Likewise.
17303 * sysdeps/x86_64/sysdep.h: Likewise.
17304 * sysdeps/sh/_mcount.S: Likewise.
17305 * sysdeps/sh/sysdep.h: Likewise.
17306 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17307 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17308 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17310 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17311 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17312 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17313 * locale/localeinfo.h: Likewise.
17314 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17315 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17317 2012-07-09 Roland McGrath <roland@hack.frob.com>
17320 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17322 * manual/message.texi (The Uniforum approach): Likewise.
17323 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17324 (glibc iconv Implementation): Likewise.
17326 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17329 * math/s_clog.c (__clog): Avoid scaling a value down where that
17330 could result in underflow.
17331 * math/s_clog10.c (__clog10): Likewise.
17332 * math/s_clog10f.c (__clog10f): Likewise.
17333 * math/s_clog10l.c (__clog10l): Likewise.
17334 * math/s_clogf.c (__clogf): Likewise.
17335 * math/s_clogl.c (__clogl): Likewise.
17336 * math/libm-test.inc (clog_test): Add more tests.
17337 (clog10_test): Likewise.
17338 * sysdeps/i386/fpu/libm-test-ulps: Update.
17339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17341 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17344 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17345 by 7 not 8 to examine high bit of fractional part.
17348 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17349 for call to __mcount_internal.
17350 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17351 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17352 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17354 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17357 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17358 approximation for values within 0x1p-13f of an odd multiple of
17360 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17361 exception. Add more tests.
17362 * sysdeps/i386/fpu/libm-test-ulps: Update.
17365 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17366 inputs and return -1 for them. Do not check for +Inf in case not
17367 reachable for +Inf.
17368 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17369 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17371 and return -1 for them. Do not check for +Inf in case not
17372 reachable for +Inf.
17373 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17376 and return -1 for them. Do not check for +Inf in case not
17377 reachable for +Inf.
17378 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17379 spurious underflow.
17380 * sysdeps/i386/fpu/libm-test-ulps: Update.
17381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17383 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17385 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17387 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17391 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17392 could result in spurious underflow. Scale down values above
17393 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17394 * math/s_csqrtf.c (__csqrtf): Likewise.
17395 * math/s_csqrtl.c (__csqrtl): Likewise.
17396 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17397 spurious underflow.
17398 * sysdeps/i386/fpu/libm-test-ulps: Update.
17399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17401 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17403 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17405 * catgets/xopen-msg.awk: New file.
17406 * catgets/xopen-msg.sed: Removed.
17408 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17410 * intl/po2test.awk: New file.
17411 * intl/po2test.sed: Removed.
17413 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17416 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17417 or multiply small sinh result by itself.
17418 * math/s_ctanf.c (__ctanf): Likewise.
17419 * math/s_ctanh.c (__ctanh): Likewise.
17420 * math/s_ctanhf.c (__ctanhf): Likewise.
17421 * math/s_ctanhl.c (__ctanhl): Likewise.
17422 * math/s_ctanl.c (__ctanl): Likewise.
17423 * math/libm-test.inc (ctan_test_tonearest): New function.
17424 (ctan_test_towardzero): Likewise.
17425 (ctan_test_downward): Likewise.
17426 (ctan_test_upward): Likewise.
17427 (ctanh_test_tonearest): Likewise.
17428 (ctanh_test_towardzero): Likewise.
17429 (ctanh_test_downward): Likewise.
17430 (ctanh_test_upward): Likewise.
17431 (main): Call these new functions.
17432 * sysdeps/i386/fpu/libm-test-ulps: Update.
17433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17435 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17437 * .gitignore: Delete /ports entry.
17439 2012-07-03 Andreas Jaeger <aj@suse.de>
17441 * po/bg.po: Update from translation team.
17442 * po/cs.po: Likewise.
17443 * po/de.po: Likewise.
17444 * po/hr.po: Likewise.
17445 * po/nl.pl: Likewise.
17446 * po/pl.po: Likewise.
17447 * po/vi.po: Likewise.
17449 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17451 * Makeconfig [!+link] (+link-before-libc): New variable.
17452 [!+link] (+link-after-libc): Likewise.
17453 [!+link] (+link-tests): Likewise.
17454 [!+link] (+link): Define in terms of $(+link-before-libc) and
17455 $(+link-after-libc).
17456 [!+link-static] (+link-static-before-libc): New variable.
17457 [!+link-static] (+link-static-after-libc): Likewise.
17458 [!+link-static] (+link-static-tests): Likewise.
17459 [!+link-static] (+link-static): Define in terms of
17460 $(+link-static-before-libc) and $(+link-static-after-libc).
17461 [build-shared] (link-libc-before-gnulib): New variable.
17462 [build-shared] (link-libc-tests): Likewise.
17463 [build-shared] (link-libc): Define in terms of
17464 $(link-libc-before-gnulib).
17465 [!build-shared] (link-libc-tests): New variable.
17466 (link-libc-static-tests): New variable.
17467 [!gnulib] (gnulib-arch): New variable.
17468 [!gnulib] (gnulib-tests): Likewise.
17469 [!gnulib] (static-gnulib-arch): Likewise.
17470 [!gnulib] (static-gnulib-tests): Likewise.
17471 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17472 Define with "=" instead of ":=".
17473 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17474 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17475 * Rules (binaries-all-notests): New variable.
17476 (binaries-all-tests): Likewise.
17477 (binaries-static-notests): Likewise.
17478 (binaries-static-tests): Likewise.
17479 (binaries-all): Define using $(binaries-all-notests) and
17480 $(binaries-all-tests).
17481 (binaries-static): Define using $(binaries-static-notests) and
17482 $(binaries-static-tests).
17483 (binaries-shared-tests): New variable.
17484 (binaries-shared-notests): Likewise.
17485 (binaries-shared): Remove variable.
17486 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17487 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17488 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17489 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17490 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17491 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17492 * elf/Makefile (sln-modules): New variable.
17493 (extra-objs): Add $(sln-modules:=.o).
17494 (ldconfig-modules): Add static-stubs.
17495 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17496 * elf/static-stubs.c: New file.
17499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17500 by 7 not 8 to examine high bit of fractional part. Use volatile
17501 variables when splitting into final array of floats if
17502 __FLT_EVAL_METHOD__ != 0.
17503 * math/libm-test.inc (cos_test): Add another test.
17504 (sin_test): Likewise.
17505 * sysdeps/i386/fpu/libm-test-ulps: Update.
17508 * math/libm-test.inc (cosh_test): Add more tests.
17510 * version.h (RELEASE): Set to "development".
17511 (VERSION): Set to "2.16.90".
17513 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17515 * NEWS: Update copyright. Remove last-updated date.
17516 Mention math library bug fixes and timezone data changes.
17517 * README: Mention GNU/Hurd, x32, and HPPA support status.
17519 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17521 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17523 2012-06-27 Andreas Jaeger <aj@suse.de>
17525 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17527 2012-06-25 Andreas Jaeger <aj@suse.de>
17529 * sysdeps/s390/fpu/libm-test-ulps: Update.
17531 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17532 Thomas Schwinge <thomas@codesourcery.com>
17534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17535 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17539 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17541 * sysdeps/mach/start.c: Remove file.
17542 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17543 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17544 * sysdeps/sh/init-first.c: Likewise.
17546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17547 registers for frame unwinding purposes, add CFI directives.
17548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17550 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17553 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17554 __fortify_fail returning.
17555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17557 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17558 sysdeps/sh/____longjmp_chk.S.
17559 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17560 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17561 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17562 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17564 * sysdeps/sh/abort-instr.h: New file.
17565 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17566 process in case exit returns.
17568 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17569 initialize the GOT register before use.
17571 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17572 calculation of ARGC > 4.
17574 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17575 meaningful names to some local labels.
17577 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17578 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17581 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17582 (__arch_compare_and_exchange_val_16_acq): Likewise.
17583 (__arch_compare_and_exchange_val_32_acq): Likewise.
17584 (atomic_exchange_and_add): Fix gUSA sequence.
17585 (atomic_add): Likewise.
17586 (atomic_add_negative): Likewise.
17587 (atomic_add_zero): Likewise.
17588 (atomic_bit_test_set): Likewise.
17590 2012-06-22 Andreas Schwab <schwab@redhat.com>
17593 * include/link.h (struct link_map): Add l_free_initfini.
17594 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17596 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17597 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17598 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17601 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17603 * configure.in: Use AC_LANG_SOURCE.
17604 * configure: Regenerate.
17606 2012-06-22 Roland McGrath <roland@hack.frob.com>
17608 * configure.in (libc_cv_localstatedir): New substituted variable.
17609 * configure: Regenerated.
17610 * config.make.in (localstatedir): New variable, substituted from
17611 libc_cv_localstatedir.
17612 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17613 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17614 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17615 * sysdeps/gnu/configure: Regenerated.
17617 2012-06-21 Jeff Law <law@redhat.com>
17620 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17621 free. Simplify list management for _LIBC case.
17623 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17626 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17627 Clear sign bit of 64-bit integer value before comparing against
17630 * sysdeps/mach/configure: Regenerated.
17632 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17635 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17637 2012-06-21 Jeff Law <law@redhat.com>
17640 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17641 uint16_t for elements in the "seen" array to avoid char overflows.
17642 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17643 * elf/dl-open.c (dl_open_worker): Likewise.
17645 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17647 * scripts/list-sources.sh: Scan PORTS for translations.
17648 * po/libc.pot: Regenerated.
17650 2012-06-21 Andreas Jaeger <aj@suse.de>
17653 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17655 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17656 * bits/byteswap-16.h (__bswap_16): Likewise.
17657 * bits/byteswap.h (__bswap_constant_16): Likewise.
17659 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17662 * sysdeps/i386/fpu_control.h: Removed.
17663 * sysdeps/x86_64/fpu_control.h: Moved to ...
17664 * sysdeps/x86/fpu_control.h: Here.
17666 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17667 (_FPU_SETCW): Likewise.
17669 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17672 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17673 * sysdeps/x86/fpu/bits/mathinline.h: This.
17674 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17678 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17679 functions if __x86_64__ is defined.
17681 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17683 * string/endian.h: Add !__ASSEMBLER__ condition for including
17684 conversion interfaces.
17686 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17690 of ABS(x) in calculating zero to negative powers other than odd
17692 * math/libm-test.inc (pow_test): Add more tests.
17694 2012-06-15 Andreas Jaeger <aj@suse.de>
17696 * manual/contrib.texi (Contributors): Update entry of Liubov
17697 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17700 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17702 * string/string.h: Add __wur to GNU version of strerror_r.
17704 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17707 * string/Makefile (tests): Add tst-strtok_r.
17708 * string/tst-strtok_r.c: New file.
17709 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17710 RAX_LP/RDX_LP on SAVE_PTR.
17712 2012-06-14 Roland McGrath <roland@hack.frob.com>
17714 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17716 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17718 * libm_test.inc (csqrt_test): Allow more spurious underflow
17720 (j0_test): Likewise.
17721 (j1_test): Likewise.
17722 (y0_test): Likewise.
17723 (y1_test): Likewise.
17725 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17727 * po/Makefile (libc.pot): Use UTF-8 charset.
17729 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17732 Suppress sign-conversion warning from FD_SET.
17733 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17734 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17735 not unsigned long int.
17736 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17738 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17742 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17743 __extern_always_inline instead of __extern_inline.
17744 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17745 (__signbit): Likewise.
17746 (__signbitl): Support C++ namespace.
17747 (lrintf): New inline function.
17749 (llrintf): Likewise.
17750 (llrint): Likewise.
17760 (floorf): Likewise.
17761 (nearbyint): Likewise.
17762 (nearbyintf): Likewise.
17764 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17767 non-default versions.
17769 2012-06-11 Roland McGrath <roland@hack.frob.com>
17772 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17774 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17776 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17777 (FE_UPWARD, FE_DOWNWARD): Don't define.
17778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17783 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17786 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17790 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17791 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17793 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17796 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17797 * sysdeps/i386/fpu/Implies: New file.
17798 * sysdeps/x86_64/fpu/Implies: Likewise.
17799 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17800 * sysdeps/x86/fpu/bits/fenv.h: This.
17802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17805 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17808 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17809 character 0xffff that matches the last element of the
17812 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17817 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17820 values higher than 25.6283.
17822 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17825 subnormal exponent extraction and add some __builtin_expect.
17826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17827 Fix for subnormal mantissa calculation.
17829 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17831 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17832 cpu2 is -1 and errno is not ENOSYS.
17834 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17837 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17838 * sysdeps/x86/bits/string.h: This.
17839 * sysdeps/x86_64/bits/string.h: Removed.
17841 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17842 if not compiling for x86-64, but compiling for >= i486.
17844 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17845 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17848 New macro from Linux kernel 3.4.0.
17849 (FP_XSTATE_MAGIC2): Likewise.
17850 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17851 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17852 (struct _fpx_sw_bytes): New struct.
17853 (struct _xsave_hdr): Likewise.
17854 (struct _ymmh_state): Likewise.
17855 (struct _xstate): Likewise.
17857 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17858 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17860 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17862 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17864 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17866 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17867 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17868 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17869 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17871 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17874 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17875 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17876 (sysdep_headers): Include sys/platform/ppc.h.
17877 * sysdeps/powerpc/test-gettimebase.c: Test for
17878 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17879 * manual/Makefile (appendices): Include platform.texi.
17880 * manual/contrib.texi (Contributors): Update @node pointers.
17881 * manual/maint.texi (Maintenance): Likewise.
17882 (Platform): New node.
17883 * manual/platform.texi: New file. Document the new features.
17885 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17886 Jakub Jelinek <jakub@redhat.com>
17889 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17890 where __builtin_expect is unavailable.
17892 2012-06-03 David S. Miller <davem@davemloft.net>
17894 * stdlib/longlong.h: Updated from GCC.
17896 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17899 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17900 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17903 (GLIBC_2.16): Likewise.
17905 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17909 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17912 (default-abi): New variable.
17913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17916 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17918 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17923 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17924 definition. Document in comment.
17926 2012-06-01 David S. Miller <davem@davemloft.net>
17928 * stdlib/longlong.h: Updated from GCC.
17930 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17933 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17934 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17935 sys/debugreg.h sys/io.h here.
17936 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17937 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17939 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17940 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17942 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17944 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17947 Define only if __x86_64__ is defined.
17949 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17953 Use int64_t for variable i.
17954 * math/libm-test.inc (fmod_test): Add more tests.
17956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17957 z computation is not scheduled after fetestexcept.
17958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17959 Use math_force_eval instead of asm to ensure calculation scheduled
17960 before exception test.
17961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17962 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17964 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17967 computation is not scheduled after fetestexcept.
17969 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17972 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17973 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17975 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17977 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17978 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17980 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17983 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17985 (__WCHAR_MIN): Support __WORDSIZE == 64.
17986 (__WCHAR_MAX): Likewise.
17988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17989 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17993 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17999 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18000 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18003 Defined to 1 if __x86_64__ isn't defined.
18004 (_STAT_VER_LINUX_OLD): New.
18005 (st_atime): Remove duplicate.
18006 (st_mtime): Likewise.
18007 (st_ctime): Likewise.
18009 2012-05-31 David S. Miller <davem@davemloft.net>
18011 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18014 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18016 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18020 * elf/dl-reloc.c: Include <_itoa.h>.
18021 (_dl_reloc_bad_type): Remove use of INTUSE.
18022 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18023 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18024 * stdio-common/psiginfo.c (psiginfo): Likewise.
18025 * stdio-common/psignal.c (psignal): Likewise.
18026 * string/strsignal.c (strsignal): Likewise.
18027 * include/signal.h (_sys_siglist): Declare hidden proto.
18028 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18029 INTVARDEF with libc_hidden_data_def.
18030 * stdio-common/itoa-udigits.c: Likewise.
18031 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18032 (_itoa_lower_digits_internal): Remove declaration.
18033 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18034 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18035 (_sys_sigabbrev_internal): Remove aliases.
18036 (_sys_siglist): Define hidden alias.
18038 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18043 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18046 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18047 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18049 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18051 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18052 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18054 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18056 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18057 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18058 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18070 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18072 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18073 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18075 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18076 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18079 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18080 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18083 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18089 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18090 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18092 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18094 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18095 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18096 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18102 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18104 * math/math.h (M_El): Use two more decimal places.
18105 (M_LOG2El): Likewise.
18106 (M_LOG10El): Likewise.
18107 (M_LN2l): Likewise.
18108 (M_LN10l): Likewise.
18110 (M_PI_2l): Likewise.
18111 (M_PI_4l): Likewise.
18112 (M_1_PIl): Likewise.
18113 (M_2_PIl): Likewise.
18114 (M_2_SQRTPIl): Likewise.
18115 (M_SQRT2l): Likewise.
18116 (M_SQRT1_2l): Likewise.
18118 2012-05-31 David S. Miller <davem@davemloft.net>
18120 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18121 values between float registers.
18122 * sysdeps/sparc/sparc64/memset.S: Likewise.
18123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18125 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18127 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18128 -D_FORTIFY_SOURCE=1.
18129 (CPPFLAGS-tst-longjmp_chk.c): Define.
18130 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18131 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18132 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18133 CFLAGS-tst-wchar-h.c.
18135 2012-05-31 Marek Polacek <polacek@redhat.com>
18138 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18139 __endmntent_internal): Remove declaration.
18140 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18141 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18142 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18144 2012-05-30 David S. Miller <davem@davemloft.net>
18146 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18147 (___Q_simulate_exceptions): Use real FP ops rather than writing
18149 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18152 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18155 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18156 * sysdeps/x86/bits/xtitypes.h: This.
18158 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18159 * sysdeps/x86/bits/wordsize.h: This.
18161 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18162 * sysdeps/x86/bits/huge_vall.h: This.
18164 * sysdeps/i386/bits/select.h: Removed.
18165 * sysdeps/x86_64/bits/select.h: Renamed to ...
18166 * sysdeps/x86/bits/select.h: This.
18168 * sysdeps/i386/bits/setjmp.h: Removed.
18169 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18170 * sysdeps/x86/bits/setjmp.h: This.
18172 * sysdeps/i386/bits/mathdef.h: Removed.
18173 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18174 * sysdeps/x86/bits/mathdef.h: This.
18176 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18179 * include/sys/socket.h (__connect_internal)
18180 (__libc_sa_len_internal): Remove declaration.
18181 (__connect, __libc_sa_len): Declare hidden_proto.
18182 (SA_LEN): Remove use of INTUSE.
18183 * socket/connect.c: Add libc_hidden_def.
18184 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18185 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18186 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18188 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18190 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18191 of adding _internal alias.
18193 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18196 * sysdeps/i386/bits/link.h: Removed.
18197 * sysdeps/i386/bits/linkmap.h: Likewise.
18198 * sysdeps/x86_64/bits/link.h: Renamed to ...
18199 * sysdeps/x86/bits/link.h: This.
18200 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18201 * sysdeps/x86/bits/linkmap.h: This.
18203 * sysdeps/i386/bits/endian.h: Removed.
18204 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18205 * sysdeps/x86/bits/endian.h: This.
18207 * sysdeps/i386/bits/byteswap.h: Removed.
18208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18209 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18210 * sysdeps/x86/bits/byteswap.h: This.
18211 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18212 * sysdeps/x86/bits/byteswap-16.h: This.
18213 * sysdeps/i386/Implies: Add x86.
18214 * sysdeps/x86_64/Implies: Likewise.
18216 2012-05-30 David S. Miller <davem@davemloft.net>
18218 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18219 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18221 (FP_TRAPPING_EXCEPTIONS): Define.
18222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18223 (FP_TRAPPING_EXCEPTIONS): Define.
18224 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18225 subnormals only when inexact has been signalled or underflow
18226 exceptions are enabled.
18227 (_FP_PACK_CANONICAL): Likewise.
18229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18233 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18235 2012-05-30 Richard Henderson <rth@twiddle.net>
18237 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18238 with #ifndef NOT_IN_libc.
18240 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18241 marked to avoid plt entry.
18243 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18246 * Makeconfig (default-abi): New macro.
18247 (abi-includes): Likewise.
18248 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18249 $(abi-$(default-abi)-lib-soname) for soname if defined.
18250 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18252 * Makefile (installed-stubs): Likewise.
18253 * include/stubs-biarch.h: Removed.
18254 * scripts/lib-names.awk: Only handle one library at a time.
18255 * scripts/soversions.awk: Remove WORDSIZE support.
18256 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18260 (syscall-list-default-condition): Likewise.
18261 (syscall-list-default-condition): Likewise.
18262 (syscall-list-includes): Likewise.
18263 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18264 syscall-list-* with abi-*. Handle undefined abi-variants.
18265 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18266 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18267 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18268 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18269 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18270 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18272 (syscall-list-32-options): Likewise.
18273 (syscall-list-32-condition): Likewise.
18274 (syscall-list-64-options): Likewise.
18275 (syscall-list-64-condition): Likewise.
18276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18278 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18281 (abi-64-ld-soname): New macro.
18282 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18283 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18286 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18287 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18289 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18291 * sysdeps/unix/sysv/linux/kernel-features.h
18292 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18293 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18294 include <kernel-features.h>.
18295 [!__NR_ftruncate64]: Remove conditional code.
18296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18297 [__NR_ftruncate64]: Make code unconditional.
18298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18299 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18300 include <kernel-features.h>.
18301 [!__NR_ftruncate64]: Remove conditional code.
18302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18303 [__NR_ftruncate64]: Make code unconditional.
18304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18306 include <kernel-features.h>.
18307 [!__NR_ftruncate64]: Remove conditional code.
18308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18309 [__NR_ftruncate64]: Make code unconditional.
18310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18312 include <kernel-features.h>.
18313 [!__NR_ftruncate64]: Remove conditional code.
18314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18315 [__NR_ftruncate64]: Make code unconditional.
18316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18318 * configure.in (libc_cv_fpie): Weaken to a compile test using
18319 LIBC_TRY_CC_OPTION.
18320 * configure: Regenerated.
18322 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18337 2012-05-27 David S. Miller <davem@davemloft.net>
18339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18341 (__Q_simulate_exceptions): Return void. Change to simulate
18342 exceptions by writing into the %fsr.
18343 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18344 (__Qp_handle_exceptions): Likewise.
18346 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18347 __Qp_handle_exceptions.
18348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18349 __Qp_handle_exceptions.
18350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18351 as unused and give dummy FP_RND_NEAREST initializer.
18352 (FP_INHIBIT_RESULTS): Define.
18353 (___Q_simulate_exceptions): Update declaration.
18354 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18357 as unused and give dummy FP_RND_NEAREST initializer.
18358 (__Qp_handle_exceptions): Update declaration.
18359 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18362 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18364 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18365 the temporary FPU control word.
18366 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18367 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18369 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18372 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18374 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18375 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18378 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18380 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18383 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18385 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18386 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18387 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18388 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18390 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18391 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18394 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18396 * po/h.po: Update from translation team.
18398 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18400 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18403 handling of denormals.
18404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18405 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18407 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18413 2012-05-26 Marek Polacek <polacek@redhat.com>
18416 * math/libm-test.inc (fma_test): Don't always expect underflow
18419 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18422 * elf/tst-execstack.c: Include stackinfo.h.
18423 (do_test): Adjust test case to ensure that pthread_getattr_np
18424 behaviour remains the same after marking stack executable.
18426 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18428 * sysdeps/unix/sysv/linux/kernel-features.h
18429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18430 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18432 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18433 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18434 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18436 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18437 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18439 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18441 * configure.in: Define the default includes to being none.
18442 * configure: Regenerated.
18444 2012-05-25 Roland McGrath <roland@hack.frob.com>
18446 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18447 * sysdeps/x86_64/setjmp.S: Likewise.
18448 * sysdeps/i386/bsd-setjmp.S: Likewise.
18449 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18450 * sysdeps/i386/setjmp.S: Likewise.
18451 * sysdeps/i386/__longjmp.S: Likewise.
18452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18455 * include/stap-probe.h: New file.
18456 * configure.in: Handle --enable-systemtap.
18457 * configure: Regenerated.
18458 * config.h.in (USE_STAP_PROBE): New #undef.
18459 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18460 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18461 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18463 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18467 to 2.4.0 where earlier.
18468 * sysdeps/unix/sysv/linux/configure: Regenerated.
18469 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18470 <kernel-features.h>.
18471 [__ASSUME_32BITUIDS]: Make code unconditional.
18472 [!__ASSUME_32BITUIDS]: Remove conditional code.
18473 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18474 <kernel-features.h>.
18475 [__ASSUME_32BITUIDS]: Make code unconditional.
18476 [!__ASSUME_32BITUIDS]: Remove conditional code.
18477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18478 [__ASSUME_32BITUIDS]: Make code unconditional.
18479 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18480 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18481 <kernel-features.h>.
18482 [__ASSUME_32BITUIDS]: Make code unconditional.
18483 [!__ASSUME_32BITUIDS]: Remove conditional code.
18484 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18485 <kernel-features.h>.
18486 [__ASSUME_32BITUIDS]: Make code unconditional.
18487 [!__ASSUME_32BITUIDS]: Remove conditional code.
18488 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18489 <kernel-features.h>.
18490 [__ASSUME_32BITUIDS]: Make code unconditional.
18491 [!__ASSUME_32BITUIDS]: Remove conditional code.
18492 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18493 <kernel-features.h>.
18494 [__ASSUME_32BITUIDS]: Make code unconditional.
18495 [!__ASSUME_32BITUIDS]: Remove conditional code.
18496 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18497 <kernel-features.h>.
18498 [__ASSUME_32BITUIDS]: Make code unconditional.
18499 [!__ASSUME_32BITUIDS]: Remove conditional code.
18500 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18501 <kernel-features.h>.
18502 [__ASSUME_32BITUIDS]: Make code unconditional.
18503 [!__ASSUME_32BITUIDS]: Remove conditional code.
18504 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18505 <kernel-features.h>.
18506 [__ASSUME_32BITUIDS]: Make code unconditional.
18507 [!__ASSUME_32BITUIDS]: Remove conditional code.
18508 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18509 <kernel-features.h>.
18510 [__ASSUME_32BITUIDS]: Make code unconditional.
18511 [!__ASSUME_32BITUIDS]: Remove conditional code.
18512 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18513 <kernel-features.h>.
18514 [__ASSUME_32BITUIDS]: Make code unconditional.
18515 [!__ASSUME_32BITUIDS]: Remove conditional code.
18516 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18517 <kernel-features.h>.
18518 [__ASSUME_32BITUIDS]: Make code unconditional.
18519 [!__ASSUME_32BITUIDS]: Remove conditional code.
18520 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18521 <kernel-features.h>.
18522 [__NR_setresgid] (__setresgid): Do not declare.
18523 [__ASSUME_32BITUIDS]: Make code unconditional.
18524 [!__ASSUME_32BITUIDS]: Remove conditional code.
18525 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18526 <kernel-features.h>.
18527 [__NR_setresuid] (__setresuid): Do not declare.
18528 [__ASSUME_32BITUIDS]: Make code unconditional.
18529 [!__ASSUME_32BITUIDS]: Remove conditional code.
18530 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18531 <kernel-features.h>.
18532 [__ASSUME_32BITUIDS]: Make code unconditional.
18533 [!__ASSUME_32BITUIDS]: Remove conditional code.
18534 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18535 <kernel-features.h>.
18536 [__ASSUME_32BITUIDS]: Make code unconditional.
18537 [!__ASSUME_32BITUIDS]: Remove conditional code.
18538 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18539 <kernel-features.h>.
18540 [__ASSUME_32BITUIDS]: Make code unconditional.
18541 [!__ASSUME_32BITUIDS]: Remove conditional code.
18542 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18543 <kernel-features.h>.
18544 [__ASSUME_32BITUIDS]: Make code unconditional.
18545 [!__ASSUME_32BITUIDS]: Remove conditional code.
18546 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18547 <kernel-features.h>.
18548 [__ASSUME_32BITUIDS]: Make code unconditional.
18549 [!__ASSUME_32BITUIDS]: Remove conditional code.
18550 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18551 <kernel-features.h>.
18552 [__ASSUME_32BITUIDS]: Make code unconditional.
18553 [!__ASSUME_32BITUIDS]: Remove conditional code.
18554 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18555 <kernel-features.h>.
18556 [__ASSUME_32BITUIDS]: Make code unconditional.
18557 [!__ASSUME_32BITUIDS]: Remove conditional code.
18558 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18559 <kernel-features.h>.
18560 [__ASSUME_32BITUIDS]: Make code unconditional.
18561 [!__ASSUME_32BITUIDS]: Remove conditional code.
18562 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18563 <kernel-features.h>.
18564 [__ASSUME_32BITUIDS]: Make code unconditional.
18565 [!__ASSUME_32BITUIDS]: Remove conditional code.
18566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18567 <kernel-features.h>.
18568 [__ASSUME_32BITUIDS]: Make code unconditional.
18569 [!__ASSUME_32BITUIDS]: Remove conditional code.
18570 * sysdeps/unix/sysv/linux/kernel-features.h
18571 (__ASSUME_SETRESUID_SYSCALL): Remove.
18572 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18573 (__ASSUME_32BITUIDS): Likewise.
18574 (__ASSUME_LDT_WORKS): Likewise.
18575 (__ASSUME_O_DIRECTORY): Likewise.
18576 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18577 architecture but not kernel version.
18578 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18579 (__ASSUME_MMAP2_SYSCALL): Likewise.
18580 (__ASSUME_STAT64_SYSCALL): Likewise.
18581 (__ASSUME_IPC64): Likewise.
18582 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18583 <kernel-features.h>.
18584 [__ASSUME_32BITUIDS]: Make code unconditional.
18585 [!__ASSUME_32BITUIDS]: Remove conditional code.
18586 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18587 <kernel-features.h>.
18588 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18589 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18590 132096]: Remove conditional code.
18591 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18593 <kernel-features.h>.
18594 [__ASSUME_32BITUIDS]: Make code unconditional.
18595 [!__ASSUME_32BITUIDS]: Remove conditional code.
18596 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18597 <kernel-features.h>.
18598 [__ASSUME_32BITUIDS]: Make code unconditional.
18599 [!__ASSUME_32BITUIDS]: Remove conditional code.
18600 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18601 <kernel-features.h>.
18602 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18604 (__setresgid): Do not declare.
18605 [__ASSUME_32BITUIDS]: Make code unconditional.
18606 [!__ASSUME_32BITUIDS]: Remove conditional code.
18607 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18608 <kernel-features.h>.
18609 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18611 (__setresuid): Do not declare.
18612 [__ASSUME_32BITUIDS]: Make code unconditional.
18613 [!__ASSUME_32BITUIDS]: Remove conditional code.
18614 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18615 <kernel-features.h>.
18616 [__ASSUME_32BITUIDS]: Make code unconditional.
18617 [!__ASSUME_32BITUIDS]: Remove conditional code.
18618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18619 <kernel-features.h>.
18620 [__ASSUME_32BITUIDS]: Make code unconditional.
18621 [!__ASSUME_32BITUIDS]: Remove conditional code.
18623 2012-05-25 Richard Henderson <rth@twiddle.net>
18625 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18626 dl_hwcap to ifunc resolver.
18627 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18629 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18630 dl_hwcap to ifunc resolver.
18631 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18633 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18636 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18637 for |x| <= 2**-26, not 2**-57.
18638 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18641 2012-05-24 Jeff Law <law@redhat.com>
18643 * stdio-common/Makefile (tests): Add bug25.
18644 * stdio-common/bug25.c: New test.
18646 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18649 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18650 multiple of MALLOC_ALIGNMENT in size.
18651 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18653 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18655 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18657 (FILENAME_MAX): Use macro-int-constant.
18658 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18659 (_IOFBF): Use macro-int-constant.
18660 (_IOLBF): Likewise.
18661 (_IONBF): Likewise.
18662 (SEEK_CUR): Likewise.
18663 (SEEK_END): Likewise.
18664 (SEEK_SET): Likewise.
18665 (TMP_MAX): Likewise.
18666 (EOF): Use macro-int-constant. Require < 0.
18667 (NULL): Use macro-constant. Require == 0.
18668 (stdin): Require type to be FILE *.
18669 (stdout): Likewise.
18670 (stderr): Likewise.
18671 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18672 macro-int-constant.
18673 (EXIT_SUCCESS): Likewise.
18674 (NULL): Use macro-constant. Require == 0.
18675 (RAND_MAX): Use macro-int-constant.
18676 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18677 [C99-based standards] (strtof): Require function.
18678 [C99-based standards] (strtold): Likewise.
18679 [C99-based standards] (strtoll): Likewise.
18680 [C99-based standards] (strtoull): Likewise.
18681 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18682 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18683 [ISO || ISO99 || ISO11] (math.h): Likewise.
18684 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18685 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18688 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18691 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18692 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18693 * intl/dgettext.c (DCGETTEXT): Likewise.
18694 * intl/gettext.c (DCGETTEXT): Likewise.
18695 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18696 * posix/regex_internal.h (gettext): Likewise.
18697 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18698 Remove declaration.
18699 * include/argz.h (__argz_count_internal)
18700 (__argz_stringify_internal): Remove declaration.
18701 (__argz_count, __argz_stringify): Declare hidden proto.
18702 * intl/dcgettext.c: Remove use of INTDEF.
18703 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18704 * string/argz-stringify.c: Likewise.
18705 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18706 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18707 Declare hidden proto.
18708 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18709 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18710 Declare hidden proto.
18711 * include/stdio.h (__asprintf_internal): Don't declare.
18712 (__asprintf): Don't define as macro. Declare hidden proto.
18713 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18714 (__fsetlocking): Declare hidden proto.
18715 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18716 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18718 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18719 (_IO_setlinebuf): Remove use of INTUSE.
18720 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18721 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18722 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18723 Remove declaration.
18724 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18725 (_IO_do_flush): Remove use of INTUSE.
18726 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18727 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18728 (_IO_adjust_column, _IO_least_wmarker)
18729 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18730 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18731 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18732 (_IO_default_doallocate, _IO_wdefault_doallocate)
18733 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18734 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18735 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18736 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18737 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18738 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18739 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18740 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18741 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18742 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18743 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18744 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18745 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18747 (_IO_flush_all_internal, _IO_adjust_column_internal)
18748 (_IO_default_uflow_internal, _IO_default_finish_internal)
18749 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18750 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18751 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18752 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18753 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18754 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18755 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18756 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18757 (_IO_file_close_internal, _IO_file_close_it_internal)
18758 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18759 (_IO_file_init_internal, _IO_file_attach_internal)
18760 (_IO_file_fopen_internal, _IO_file_read_internal)
18761 (_IO_file_sync_internal, _IO_file_seek_internal)
18762 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18763 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18764 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18765 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18766 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18767 (_IO_list_all_internal, _IO_link_in_internal)
18768 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18769 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18770 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18771 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18772 (_IO_do_write_internal, _IO_padn_internal)
18773 (_IO_getline_info_internal, _IO_getline_internal)
18774 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18775 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18776 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18777 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18778 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18779 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18780 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18781 with libc_hidden_ver, remove use of INTUSE.
18782 * libio/genops.c: Likewise.
18783 * libio/freopen.c: Likewise.
18784 * libio/freopen64.c: Likewise.
18785 * libio/iofclose.c: Likewise.
18786 * libio/iofdopen.c: Likewise.
18787 * libio/iofflush.c: Likewise.
18788 * libio/iofflush_u.c: Likewise.
18789 * libio/iofgets.c: Likewise.
18790 * libio/iofgets_u.c: Likewise.
18791 * libio/iofopen.c: Likewise.
18792 * libio/iofopncook.c: Likewise.
18793 * libio/iofread.c: Likewise.
18794 * libio/iofread_u.c: Likewise.
18795 * libio/ioftell.c: Likewise.
18796 * libio/iofwrite.c: Likewise.
18797 * libio/iogetline.c: Likewise.
18798 * libio/iogets.c: Likewise.
18799 * libio/iogetwline.c: Likewise.
18800 * libio/iopadn.c: Likewise.
18801 * libio/iopopen.c: Likewise.
18802 * libio/ioseekoff.c: Likewise.
18803 * libio/ioseekpos.c: Likewise.
18804 * libio/iosetbuffer.c: Likewise.
18805 * libio/iosetvbuf.c: Likewise.
18806 * libio/ioungetc.c: Likewise.
18807 * libio/ioungetwc.c: Likewise.
18808 * libio/iovdprintf.c: Likewise.
18809 * libio/iovsprintf.c: Likewise.
18810 * libio/iovsscanf.c: Likewise.
18811 * libio/memstream.c: Likewise.
18812 * libio/obprintf.c: Likewise.
18813 * libio/oldfileops.c: Likewise.
18814 * libio/oldiofclose.c: Likewise.
18815 * libio/oldiofdopen.c: Likewise.
18816 * libio/oldiofopen.c: Likewise.
18817 * libio/oldiopopen.c: Likewise.
18818 * libio/oldstdfiles.c: Likewise.
18819 * libio/putc.c: Likewise.
18820 * libio/setbuf.c: Likewise.
18821 * libio/setlinebuf.c: Likewise.
18822 * libio/stdfiles.c: Likewise.
18823 * libio/strops.c: Likewise.
18824 * libio/vasprintf.c: Likewise.
18825 * libio/vscanf.c: Likewise.
18826 * libio/vsnprintf.c: Likewise.
18827 * libio/vswprintf.c: Likewise.
18828 * libio/wfiledoalloc.c: Likewise.
18829 * libio/wfileops.c: Likewise.
18830 * libio/wgenops.c: Likewise.
18831 * libio/wmemstream.c: Likewise.
18832 * libio/wstrops.c: Likewise.
18833 * libio/__fpurge.c: Likewise.
18834 * libio/__fsetlocking.c: Likewise.
18835 * assert/assert.c: Likewise.
18836 * debug/fgets_chk.c: Likewise.
18837 * debug/fgets_u_chk.c: Likewise.
18838 * debug/fread_chk.c: Likewise.
18839 * debug/fread_u_chk.c: Likewise.
18840 * debug/gets_chk.c: Likewise.
18841 * debug/obprintf_chk.c: Likewise.
18842 * debug/vasprintf_chk.c: Likewise.
18843 * debug/vdprintf_chk.c: Likewise.
18844 * debug/vsnprintf_chk.c: Likewise.
18845 * debug/vsprintf_chk.c: Likewise.
18846 * malloc/mtrace.c: Likewise.
18847 * misc/error.c: Likewise.
18848 * misc/syslog.c: Likewise.
18849 * stdio-common/asprintf.c: Likewise.
18850 * stdio-common/fxprintf.c: Likewise.
18851 * stdio-common/getw.c: Likewise.
18852 * stdio-common/isoc99_fscanf.c: Likewise.
18853 * stdio-common/isoc99_scanf.c: Likewise.
18854 * stdio-common/isoc99_vfscanf.c: Likewise.
18855 * stdio-common/isoc99_vscanf.c: Likewise.
18856 * stdio-common/isoc99_vsscanf.c: Likewise.
18857 * stdio-common/printf-prs.c: Likewise.
18858 * stdio-common/printf_fp.c: Likewise.
18859 * stdio-common/printf_fphex.c: Likewise.
18860 * stdio-common/printf_size.c: Likewise.
18861 * stdio-common/putw.c: Likewise.
18862 * stdio-common/scanf.c: Likewise.
18863 * stdio-common/sprintf.c: Likewise.
18864 * stdio-common/tmpfile.c: Likewise.
18865 * stdio-common/vfprintf.c: Likewise.
18866 * stdio-common/vfscanf.c: Likewise.
18867 * stdlib/strfmon_l.c: Likewise.
18868 * sunrpc/openchild.c: Likewise.
18869 * sunrpc/xdr_stdio.c: Likewise.
18870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18871 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18873 2012-05-24 Roland McGrath <roland@hack.frob.com>
18875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18877 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18878 in the third column, to generate for the shared library an IFUNC
18879 that uses _dl_vdso_vsym.
18880 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18881 * Makeconfig (object-suffixes-noshared): New variable.
18883 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18884 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18885 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18886 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18889 * include/sys/time.h (__gettimeofday): Remove macro.
18890 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18891 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18893 (__gettimeofday): Add libc_hidden_def.
18894 (gettimeofday): Add libc_hidden_weak.
18895 * sysdeps/mach/gettimeofday.c: Likewise.
18896 * sysdeps/posix/gettimeofday.c: Likewise.
18897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18898 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18900 (__gettimeofday_internal): Remove strong_alias.
18901 (__gettimeofday): Add libc_hidden_def.
18902 (gettimeofday): Add libc_hidden_weak.
18903 * sysdeps/unix/syscalls.list (gettimeofday):
18904 Remove __gettimeofday_internal alias.
18906 2012-05-24 Daniel Jacobowitz <drow@false.org>
18907 H.J. Lu <hongjiu.lu@intel.com>
18910 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18911 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18912 (largebin_index_32_big): New.
18913 (largebin_index): Use it for 16-byte alignment.
18914 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18915 correction with front_misalign.
18917 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18945 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18946 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18948 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18952 * math/libm-test.inc (exp_test): Add test from bug 14036.
18953 (pow_test): Add test from bug 10846.
18955 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18957 (special_function): Do not include flags in test name.
18958 (parse_args): Likewise.
18959 * sysdeps/i386/fpu/libm-test-ulps: Update.
18960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18965 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18967 * math/libm-test.inc ("Philosophy"): Update comment about
18969 (UNDERFLOW_EXCEPTION): New macro.
18970 (UNDERFLOW_EXCEPTION_OK): Likewise.
18971 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18972 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18973 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18974 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18975 (INVALID_EXCEPTION_OK): Update value.
18976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18977 (OVERFLOW_EXCEPTION_OK): Likewise.
18978 (IGNORE_ZERO_INF_SIGN): Likewise.
18979 (test_exceptions): Handle underflow exceptions.
18980 (acos_test): Update for underflow exception expectations.
18981 (cexp_test): Likewise.
18982 (clog_test): Likewise.
18983 (clog10_test): Likewise.
18984 (csqrt_test): Likewise.
18985 (ctan_test): Likewise.
18986 (ctanh_test): Likewise.
18987 (exp_test): Likewise.
18988 (exp10_test): Likewise.
18989 (exp2_test): Likewise.
18990 (expm1_test): Likewise.
18991 (fma_test): Likewise.
18992 (j0_test): Likewise.
18993 (jn_test): Likewise.
18994 (nexttoward_test): Likewise.
18995 (pow_test): Likewise.
18996 (scalbn_test): Likewise.
18997 (scalbln_test): Likewise.
18998 (tan_test): Likewise.
18999 (y1_test): Likewise.
19000 * sysdeps/i386/fpu/libm-test-ulps: Update.
19001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19003 2012-05-23 David S. Miller <davem@davemloft.net>
19005 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19006 (__libc_sigaction): Remove unused local variables.
19008 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19012 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19014 mktime: avoid signed integer overflow
19015 * time/mktime.c (__mktime_internal): Do not mishandle the case
19016 where diff == INT_MIN.
19018 mktime: simplify computation of average
19019 * time/mktime.c (ranged_convert): Use new time_t_avg function
19020 instead of rolling our own (probably-slower) code.
19022 mktime: do not assume signed right shift propagates sign bit
19023 * time/mktime.c (isdst_differ): New static function.
19024 (__mktime_internal): No need to normalize tm_isdst now.
19025 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19028 mktime: merge another wrapv change from gnulib
19029 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19030 from some compilers.
19032 mktime: remove incorrect attempt at unusual arithmetics
19033 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19034 The code didn't really work on such machines anyway.
19035 (TYPE_MINIMUM): Assume two's complement.
19036 (twos_complement_arithmetic): Verify that long_int and time_t
19037 are two's complement (or unsigned, in the latter case).
19039 mktime: check signed shifts on long_int and time_t, too
19040 * time/mktime.c (SHR): Check that shifts work as desired
19041 on the types long_int and time_t too, as SHR is used on
19044 mktime: do not assume 'long' is wide enough
19045 * time/mktime.c (verify): Move decl up.
19046 (long_int): New type.
19047 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19048 to remove assumption in the code that 'long' is wide enough to
19049 store year values. This assumption is not true on x32 and on
19050 some non-glibc platforms.
19052 mktime: merge wrapv change from gnulib
19053 * time/mktime.c (WRAPV): New macro.
19054 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19055 (guess_time_tm, __mktime_internal): Do not assume that signed
19056 integer overflow wraps around; modern compilers generate code
19057 where this assumption is no longer valid.
19059 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19062 Replace "jmp L(pseudo_end)" with "ret".
19063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19066 2012-05-23 Andreas Jaeger <aj@suse.de>
19068 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19069 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19071 2012-05-23 Andreas Jaeger <aj@suse.de>
19072 Maximilian Attems <max@stro.at>
19074 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19077 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19080 code so that pseudo_end is just ret and the stack pointer is
19081 correct also for static library in error case.
19083 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19085 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19086 move to syscalls.list.
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19092 * manual/install.texi (Running make install): Do not mention Linux
19093 kernel version for which pt_chown is not needed.
19094 (Linux): Do not mention problems with nscd with 2.0 kernels.
19095 * INSTALL: Regenerated.
19097 2012-05-23 Andreas Jaeger <aj@suse.de>
19099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19100 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19102 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19104 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19106 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19112 * sysdeps/unix/sysv/linux/bits/in.h
19113 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19115 2012-05-22 Roland McGrath <roland@hack.frob.com>
19117 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19118 (PREPARE_VERSION): Just use assert instead, it will be elided
19119 under [NDEBUG] anyway.
19121 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19123 * sysdeps/unix/sysv/linux/Makefile: Include
19124 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19125 (sysdep_routines): Remove sysctl.
19126 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19127 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19129 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19130 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19132 2012-05-22 Andreas Jaeger <aj@suse.de>
19134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19135 that pseudo_end is just ret and the stack pointer is correct also
19136 for static library in error case.
19138 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19141 * nss/nsswitch.c (defconfig_entries): New variable.
19142 (__nss_database_lookup): Don't leak defconfig entries.
19143 (nss_parse_service_list): Don't leak on error paths.
19144 (free_database_entries): New function.
19145 (free_defconfig): New function.
19146 (free_mem): Move common code to free_database_entries.
19148 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19152 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19155 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19158 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19159 (INTERNAL_SYSCALL_TYPES): Likewise.
19160 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19161 (LOAD_REGS_TYPES_[1-6]): Likewise.
19162 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19163 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19165 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19168 copysignl for GLIBC_2_0.
19169 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19170 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19172 logbl for GLIBC_2_0.
19173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19174 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19176 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19184 * time/mktime.c: Update copyright years.
19186 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19188 mktime: merge comment-quoting-style change from gnulib
19189 * time/mktime.c: Quote 'like this' in comments.
19190 The GNU coding standards suggest that we no longer quote `like this',
19191 as "`" and "'" are typically rendered asymmetrically nowadays.
19192 The typical gnulib style is to quote 'like this' when quoting
19193 code, and "like this" when quoting English.
19195 * time/mktime.c (compile-command): Add "-I.".
19197 mktime: merge mktime-internal.h change from gnulib
19198 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19200 mktime: merge time_r change from gnulib
19201 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19203 mktime: merge DEBUG change from gnulib
19204 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19205 case system <time.h> has a #define.
19207 mktime: merge <sys/types.h> change from gnulib
19208 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19209 since <time.t> is now guaranteed to define time_t.
19211 mktime: merge HAVE_CONFIG_H change from gnulib
19212 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19214 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19219 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19221 (struct rusage): Use anonymous union to pad each field to
19224 2012-05-21 David S. Miller <davem@davemloft.net>
19226 * Makefules (o-iterator): Remove .s cases.
19227 (compile-command.s): Delete.
19228 (COMPILE.s): Delete.
19229 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19231 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19233 * configure.in (libc_cv_predef_stack_protector): Only consider
19234 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19235 * configure: Regenerated.
19237 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19240 New macro. Use R*LP on int and pointer.
19241 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19242 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19243 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19244 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19246 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19247 [__WORDSIZE_TIME64_COMPAT32] instead of
19248 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19249 (struct utmp): Likewise.
19250 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19251 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19253 (__WORDSIZE_TIME64_COMPAT32): This.
19254 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19255 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19256 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19257 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19258 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19259 (__WORDSIZE_TIME64_COMPAT32): New macro.
19261 2012-05-21 Andreas Jaeger <aj@suse.de>
19263 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19264 only if [SHARED]. Add prototype for __wcschr_ia32.
19266 2012-05-21 Roland McGrath <roland@hack.frob.com>
19268 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19269 of %rbp unmolested in the jmp_buf while mangling the low bits.
19270 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19271 unmolested high bits of %rbp while demangling the low bits.
19272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19274 2012-05-21 Andreas Jaeger <aj@suse.de>
19276 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19277 * sunrpc/svc_simple.c: Use it for registerrpc.
19278 * sunrpc/xcrypt.c: Use it for passwd2des.
19280 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19282 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19284 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19285 Don't define if [__SYSCALL_WORDSIZE != 32].
19286 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19289 2012-05-21 Bruno Haible <bruno@clisp.org>
19290 Andreas Jaeger <aj@suse.de>
19292 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19293 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19294 inptr and inend for must_buffer_ch.
19295 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19296 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19297 * stdio-common/Makefile (tests): Remove bug15.
19298 (bug15-ENV): Remove macro.
19299 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19302 2012-05-19 Andreas Jaeger <aj@suse.de>
19303 Roland McGrath <roland@hack.frob.com>
19305 * manual/contrib.texi: Completely rewritten. It contains now an
19306 alphabetical list of contributors and their contributions.
19308 2012-05-21 Richard Henderson <rth@twiddle.net>
19310 * misc/getauxval.c (__getauxval): Use unsigned long int.
19311 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19312 (getauxval): Use unsigned long int.
19314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19316 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19318 2012-05-21 Roland McGrath <roland@hack.frob.com>
19320 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19321 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19322 __alignof__ (long double).
19324 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19328 2012-05-20 Richard Henderson <rth@twiddle.net>
19330 * misc/getauxval.c: New file.
19331 * misc/sys/auxv.h: New file.
19332 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19333 (routines): Add getauxval.
19334 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19336 * elf/dl-sysdep.c (_dl_auxv): Remove.
19337 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19338 * elf/dl-support.c (_dl_auxv): New variable.
19339 (_dl_aux_init): Initialize it.
19340 * manual/startup.texi (Auxiliary Vector): New node.
19341 * sysdeps/generic/bits/hwcap.h: New file.
19342 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19343 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19344 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19345 * sysdeps/sparc/sysdep.h: ... here. Include it.
19346 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19359 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19363 2012-05-19 David S. Miller <davem@davemloft.net>
19365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19367 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19370 * math/s_ccosh.c: Include <float.h>
19371 (__ccosh): Avoid internal overflow calculating sinh and cosh
19372 values before multiplying by sin and cos values.
19373 * math/s_ccoshf.c: Likewise.
19374 * math/s_ccoshl.c: Likewise.
19375 * math/s_csin.c: Likewise.
19376 * math/s_csinf.c: Likewise.
19377 * math/s_csinl.c: Likewise.
19378 * math/s_csinh.c: Likewise.
19379 * math/s_csinhf.c: Likewise.
19380 * math/s_csinhl.c: Likewise.
19381 * math/libm-test.inc (ccos_test): Add more tests.
19382 (ccosh_test): Likewise.
19383 (csin_test): Likewise.
19384 (csinh_test): Likewise.
19385 * sysdeps/i386/fpu/libm-test-ulps: Update.
19386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19388 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19390 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19391 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19393 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19395 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19397 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19398 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19399 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19400 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19401 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19402 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19403 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19404 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19405 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19406 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19407 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19408 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19409 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19410 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19411 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19412 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19413 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19414 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19415 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19416 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19417 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19418 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19419 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19420 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19421 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19422 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19423 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19424 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19425 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19426 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19427 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19429 2012-05-18 Andreas Jaeger <aj@suse.de>
19431 * csu/.gitignore: Delete.
19433 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19435 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19436 (timex): Use __syscall_slong_t.
19438 2012-05-18 Andreas Jaeger <aj@suse.de>
19439 Carlos O'Donell <carlos_odonell@mentor.com>
19441 * manual/install.texi (Configuring and compiling): Update
19442 description about files modified in the source directory.
19443 * INSTALL: Regenerated.
19445 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19447 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19448 value. Use "or" to set return value to -1.
19449 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19450 negate return value.
19452 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19454 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19455 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19456 failure if the compiler has Graphite support disabled.
19457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19459 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19460 CFLAGS-memmove.c): Likewise.
19461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19464 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19466 * sysdeps/x86_64/x32/_itoa.h: New file.
19468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19469 getdents system call only if kernel and user dirents have the
19470 same d_ino and d_off.
19472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19473 LLONG_MAX != LONG_MAX.
19474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19475 (_fitoa_word): Likewise.
19477 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19480 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19483 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19484 include <bits/wordsize.h>. Check __x86_64__ instead of
19486 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19487 if __x86_64__ is defined. Use anonymous union on fpstate.
19489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19492 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19494 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19495 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19496 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19497 Refer to _rtld_local_ro instead of _rtld_global_ro.
19498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19500 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19502 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19504 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19505 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19506 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19508 * sysdeps/powerpc/powerpc32/dl-machine.c
19509 (__elf_machine_runtime_setup) [PROF]: Don't reference
19512 2012-05-18 Andreas Jaeger <aj@suse.de>
19514 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19515 function only available for GCCs before 3.4 since GCC 3.4
19516 introduced a builtin.
19518 (llrintf): Likewise.
19519 (llrint): Likewise.
19526 (nearbyint): Likewise.
19527 (nearbyintf): Likewise.
19531 (floorf): Likewise.
19533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19535 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19536 on both fields and cast pointer to __syscall_ulong_t.
19538 * bits/types.h (__fsword_t): New type.
19539 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19540 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19542 (__FSWORD_T_TYPE): Likewise.
19543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19544 (__FSWORD_T_TYPE): Likewise.
19545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19546 (__FSWORD_T_TYPE): Likewise.
19547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19548 (__FSWORD_T_TYPE): Likewise.
19549 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19550 __SWORD_TYPE with __fsword_t.
19551 (statfs64): Likewise.
19553 2012-05-17 David S. Miller <davem@davemloft.net>
19555 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19557 2012-05-17 Andreas Jaeger <aj@suse.de>
19559 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19562 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19564 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19566 2012-05-17 Andreas Jaeger <aj@suse.de>
19568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19571 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19573 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19575 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19577 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19578 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19580 2012-05-17 Andreas Jaeger <aj@suse.de>
19581 Carlos O'Donell <carlos_odonell@mentor.com>
19584 * sysdeps/x86_64/multiarch/init-arch.h
19585 (bit_YMM_Usable): Rename to...
19586 (bit_AVX_Usable): ... this.
19587 (bit_FMA4_Usable): New macro.
19588 (bit_XMM_state): New macro.
19589 (bit_YMM_state): New macro.
19590 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19591 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19592 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19593 (CPUID_OSXSAVE): New macro.
19594 (CPUID_AVX): New macro.
19595 (CPUID_FMA4): New macro.
19596 (index_YMM_Usable): Rename to...
19597 (index_AVX_Usable): ... this.
19598 (HAS_AVX): Use HAS_ARCH_FEATURE.
19599 (HAS_FMA4): Likewise.
19600 (HAS_YMM_USABLE): Remove.
19601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19602 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19604 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19605 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19606 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19607 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19608 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19610 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19612 * math/libm-test.c: Support platforms without multiple rounding modes.
19613 * math/bug-nextafter.c: Support platforms without FP exceptions.
19614 * math/bug-nexttoward.c: Likewise.
19615 * math/test-fenv.c: Likewise.
19616 * math/test-misc.c: Likewise.
19617 * stdlib/bug-getcontext.c: Likewise.
19619 2012-05-17 Andreas Jaeger <aj@suse.de>
19621 * manual/examples/search.c (critter_cmp): Change signature to
19623 * manual/string.texi (Collation Functions): Likewise.
19625 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19627 * bits/types.h: Fold copyright years.
19628 * bits/typesizes.h: Likewise.
19629 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19633 * time/time.h: Likewise.
19635 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19638 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19639 in instead of returning them. Return void.
19640 (__libc_mallinfo): Accumulate over all arenas.
19641 (__malloc_stats): Adjust for change in int_mallinfo interface.
19643 2012-05-16 Roland McGrath <roland@hack.frob.com>
19646 * configure.in (NM): Add AC_CHECK_TOOL for it.
19647 (libc_extra_cflags): New substituted variable.
19648 Check for -fstack-protector being used implicitly.
19649 * configure: Regenerated.
19650 * config.make.in (config-extra-cflags): New variable,
19651 gets @libc_extra_cflags@.
19652 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19655 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19656 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19657 * configure: Regenerated.
19658 * config.make.in (CPPUNDEFS): New substituted variable.
19659 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19660 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19661 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19665 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19666 (mq_attr): Use __syscall_slong_t.
19668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19670 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19671 Check __x86_64__ instead of __WORDSIZE.
19672 (_STAT_VER_LINUX): Likewise.
19673 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19674 __syscall_ulong_t and __syscall_slong_t.
19675 (stat64): Likewise.
19677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19681 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19685 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19687 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19690 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19691 include <bits/wordsize.h>. Check __x86_64__ instead of
19693 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19695 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19698 include <bits/wordsize.h>. Check __x86_64__ instead of
19700 (user_regs_struct): Use "__extension__ unsigned long long"
19701 instead of "unsigned long" if __x86_64__ is defined.
19702 (user): Likewise. Pad after pointer field if __ILP32__ is
19705 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19707 * configure.in (makeinfo): Require version 4.5 or later. Allow
19709 * configure: Regenerated.
19710 * manual/install.texi (texinfo): Increase version requirement to
19712 * INSTALL: Regenerated.
19714 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19718 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19720 * sysdeps/x86_64/x32/ffs.c: New file.
19722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19724 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19725 defined. Use __syscall_ulong_t.
19726 (shminfo): Use __syscall_ulong_t.
19727 (shm_info): Likewise.
19729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19734 (msgqnum_t): Use __syscall_ulong_t.
19735 (msglen_t): Likewise.
19736 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19742 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19744 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19745 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19747 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19751 include <bits/wordsize.h>. Check __x86_64__ instead of
19754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19755 "unsigned long long int" if __x86_64__ is defined.
19756 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19760 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19764 (GET_PC): Cast to uintptr_t first.
19765 (GET_FRAME): Likewise.
19766 (GET_STACK): Likewise.
19768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19776 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19798 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19800 * Makerules (+depfiles): Also collect depfiles from .oS in
19802 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19803 .oS, $(libnldbl-routines)).
19805 * Makerules (native-compile-mkdep-flags): Define.
19806 * sunrpc/Makefile (extra-objs): Add $(addprefix
19807 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19808 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19809 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19810 calling $(make-target-directory).
19812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19814 * bits/types.h (__snseconds_t): Removed.
19815 * time/time.h (struct timespec): Replace __snseconds_t with
19817 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19818 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19821 (__SNSECONDS_T_TYPE): Likewise.
19822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19823 (__SNSECONDS_T_TYPE): Likewise.
19824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19825 (__SNSECONDS_T_TYPE): Likewise.
19827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19829 * sysdeps/mach/hurd/bits/typesizes.h
19830 (__SYSCALL_SLONG_TYPE): New macro.
19831 (__SYSCALL_ULONG_TYPE): Likewise.
19833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19835 * bits/types.h (__syscall_slong_t): New type.
19836 (__syscall_ulong_t): Likewise.
19838 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19839 (__SYSCALL_ULONG_TYPE): Likewise.
19840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19841 (__SYSCALL_SLONG_TYPE): Likewise.
19842 (__SYSCALL_ULONG_TYPE): Likewise.
19843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19844 (__SYSCALL_SLONG_TYPE): Likewise.
19845 (__SYSCALL_ULONG_TYPE): Likewise.
19846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19847 (__SYSCALL_SLONG_TYPE): Likewise.
19848 (__SYSCALL_ULONG_TYPE): Likewise.
19850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19852 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19853 Add sigaltstack-offsets.sym.
19854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19855 <sigaltstack-offsets.h>.
19856 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19857 longjmp_msg pointer.
19858 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19859 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19861 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19863 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19865 * elf/stackguard-macros.h: Remove file.
19866 * sysdeps/generic/stackguard-macros.h: New file.
19867 * sysdeps/i386/stackguard-macros.h: Likewise.
19868 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19869 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19870 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19871 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19872 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19873 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19874 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19875 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19876 <elf/stackguard-macros.h>.
19879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19880 __aligned__ in attribute.
19881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19882 (gregset_t): Likewise.
19884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19886 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19887 * sysdeps/x86_64/64/Implies-after: Here. New file.
19888 * sysdeps/x86_64/x32/Implies-after: New file.
19890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19892 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19893 and access return value for _dl_profile_fixup. Use R10_LP to
19896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19898 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19902 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19903 * sysdeps/x86_64/x32/sysdep.h: New file.
19905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19907 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19908 * sysdeps/x86_64/setjmp.S: Likewise.
19910 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19914 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19916 remove unused global constant.
19918 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19920 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19921 include of <not-cancel.h>.
19923 2012-05-15 Roland McGrath <roland@hack.frob.com>
19925 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19927 2012-05-15 Jeff Law <law@redhat.com>
19928 Andreas Jaeger <aj@suse.de>
19931 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19933 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19934 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19936 code changing __hst_map_handle.map.
19938 2012-05-15 Roland McGrath <roland@hack.frob.com>
19940 * configure.in (sysnames): Look for Implies-before and Implies-after
19942 * configure: Regenerated.
19944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19947 8-byte data alignment with LP_SIZE alignment.
19949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19956 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19961 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19968 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19969 (stackinfo_sub_sp): Likewise.
19971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19988 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19992 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19993 into R11_LP and load __x86_64_shared_cache_size_half into
19996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20001 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20010 powerpc32/power7/fpu/s_logb.c via #include.
20011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20012 powerpc32/power7/fpu/s_logbf.c via #include.
20013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20014 powerpc32/power7/fpu/s_logbl.c via #include.
20016 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20018 * README.libm: Remove file.
20020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20022 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20023 count for x32. Use R*_LP and omit operand-size suffix.
20025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20027 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20028 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20029 * sysdeps/x86_64/x32/shlib-versions: New file.
20031 2012-05-14 Roland McGrath <roland@hack.frob.com>
20033 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20034 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20035 Use _dl_fatal_printf instead.
20037 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20039 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20040 set if not set by the user. Do not allow for being unset.
20041 * sysdeps/unix/sysv/linux/configure: Regenerated.
20043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20046 the `q' suffix from lea and replace .quad with ASM_ADDR.
20048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20051 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20053 (PTR_DEMANGLE): Likewise.
20055 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20057 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20059 (ASM_ADDR): Likewise.
20060 (RAX_LP): Likewise.
20061 (RBP_LP): Likewise.
20062 (RBX_LP): Likewise.
20063 (RCX_LP): Likewise.
20064 (RDI_LP): Likewise.
20065 (RSI_LP): Likewise.
20066 (RSP_LP): Likewise.
20069 (R10_LP): Likewise.
20070 (R10_LP): Likewise.
20071 (R11_LP): Likewise.
20072 (R12_LP): Likewise.
20073 (R13_LP): Likewise.
20074 (R14_LP): Likewise.
20075 (R15_LP): Likewise.
20077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20079 * sysdeps/x86_64/x32/dl-machine.h: New file.
20081 2012-05-14 Andreas Jaeger <aj@suse.de>
20083 * manual/Makefile (subdir): Remove export of subdir.
20084 (all): Remove target.
20085 (.PHONY): Remove all from list.
20086 (mkinstalldirs): Remove.
20087 (.PHONY): Remove installdirs from list.
20088 ($(inst_infodir)/libc.info): Use make-target-directory.
20089 (installdirs): Remove.
20090 (subdir_%): Remove.
20091 (glibc-targets): Remove.
20094 ($(objpfx)stubs ../po/manual.pot): Remove.
20095 ($(objpfx)stamp%): Remove.
20096 (make-target-directory): Remove.
20097 (subdir_install): Remove.
20098 (routines): Remove.
20105 * manual/.gitignore: Remove, it's not needed anymore.
20106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20110 (texis): Renamed to $(objpfx)texis.
20111 (texis-path): New, contains path to generated files.
20112 (chapters.%): Use texis-path for complete path, add extra argument
20114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20116 (summary,texi, stamp-summary): Use complete path of
20117 files. Generate files in build dir.
20118 (dir-add.texi): Build in build dir.
20119 (libm-err.texi,stamp-libm-err): Likewise.
20120 (version.texi, stamp-version): Likewise.
20121 (.%c.texi): Likewise.
20122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20123 (mostlyclean): Remove target.
20124 (realclean): Remove target.
20125 (generated): Add new variable with contents from mostlyclean and
20126 realclean, remove entries duplicated in common-mostlyclean, add
20127 stamp-libm-err and stamp-version.
20128 (generated-dirs): Add libc directory.
20129 ($(inst_infodir)/libc.info): Install files from build dir.
20131 * manual/install.texi (Configuring and compiling): Adjust since
20132 the info files are not part of the tar ball anymore.
20134 2012-05-14 Andreas Jaeger <aj@suse.de>
20136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20139 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20143 to 2.2.0 where earlier.
20144 * sysdeps/unix/sysv/linux/configure: Regenerated.
20145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20146 Remove conditional code.
20147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20149 Remove conditional code.
20150 [!__NR_lchown]: Likewise.
20151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20152 [__NR_lchown]: Likewise.
20153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20154 comment referencing __ASSUME_LCHOWN_SYSCALL.
20155 * sysdeps/unix/sysv/linux/i386/sigaction.c
20156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20159 Remove conditional code.
20160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20161 (__protocol_available): Remove #if 0 code.
20162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20165 * sysdeps/unix/sysv/linux/kernel-features.h
20166 (__ASSUME_GETCWD_SYSCALL): Don't define.
20167 (__ASSUME_REALTIME_SIGNALS): Likewise.
20168 (__ASSUME_PREAD_SYSCALL): Likewise.
20169 (__ASSUME_PWRITE_SYSCALL): Likewise.
20170 (__ASSUME_POLL_SYSCALL): Likewise.
20171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20174 (__ASSUME_SIOCGIFNAME): Don't define.
20175 (__ASSUME_MSG_NOSIGNAL): Likewise.
20176 (__ASSUME_SENDFILE): Define unconditionally.
20177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20212 Remove conditional code.
20213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20215 Remove conditional code.
20216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20220 Remove conditional code.
20221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20223 Remove conditional code.
20224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20226 Remove conditional code.
20227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20229 Remove conditional code.
20230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20232 Remove conditional code.
20233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20237 * sysdeps/unix/sysv/linux/sigaction.c
20238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20240 * sysdeps/unix/sysv/linux/sigpending.c
20241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20243 * sysdeps/unix/sysv/linux/sigprocmask.c
20244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20246 * sysdeps/unix/sysv/linux/sigsuspend.c
20247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20250 (__libc_missing_rt_sigs): Remove.
20251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20254 Remove conditional code.
20255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20263 2012-05-14 Andreas Jaeger <aj@suse.de>
20265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20266 it's not used in glibc.
20267 (__coshm1): Likewise.
20268 (__acosh1p): Likewise.
20271 * manual/string.texi (Copying and Concatenation): Add missing
20272 variable in concat example.
20273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20279 __builtin_clzl with __builtin_clzll.
20281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20287 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20294 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20296 * NEWS: Update ia64 info.
20298 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20303 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20306 * sysdeps/unix/syscalls.list (dup3): Likewise.
20307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20310 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20315 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20319 (TLS_IE): Use mov/add instead of movq/addq to load thread
20321 (TLS_GD_PREFIX): New.
20324 2012-05-11 David S. Miller <davem@davemloft.net>
20326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20328 (_FPU_SETCW): Likewise.
20330 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20333 is 32-byte aligned.
20335 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20338 * iconvdata/gb18030.c: Update tables.
20339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20340 characters specially.
20341 (BODY for TO_LOOP): Add encoding of missing ranges.
20343 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20347 * sysdeps/mach/hurd/dup3.c: Likewise.
20348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20349 * sysdeps/powerpc/memmove.c:: Likewise.
20351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20358 * elf/elf.h (R_X86_64_RELATIVE64): New.
20359 (R_X86_64_NUM): Updated.
20360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20364 tst-quad1pie tst-quad2pie
20365 (modules-names): Add tst-quadmod1 tst-quadmod2.
20366 ($(objpfx)tst-quad1): New dependency.
20367 ($(objpfx)tst-quad2): Likewise.
20368 ($(objpfx)tst-quad1pie): Likewise.
20369 ($(objpfx)tst-quad2pie): Likewise.
20370 * sysdeps/x86_64/tst-quad1.c: New file.
20371 * sysdeps/x86_64/tst-quad1pie.c: New file.
20372 * sysdeps/x86_64/tst-quad2.c: Likewise.
20373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20383 * streams/stropts.h (t_scalar_t): Define type.
20385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20386 (_PATH_PRESERVE): Set to "/var/lib".
20387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20393 if __dir_mkfile succeeded.
20395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20396 checking for _hurd_dtablesize. Unlock it right after having
20397 finished _hurd_dtable allocation.
20399 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20402 * sysdeps/mach/hurd/configure: Regenerated.
20403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20404 special-casing to...
20405 * sysdeps/gnu/configure.in: ... this new file.
20406 * sysdeps/unix/sysv/linux/configure: Regenerated.
20407 * sysdeps/gnu/configure: New generated file.
20409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20410 for Linux: use nsec instead of usec, as well as:
20411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20412 members of type struct timespec.
20413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20415 (struct stat64): Likewise.
20416 (_STATBUF_ST_NSEC): New macro.
20417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20420 __strtoul_internal rather than strtoul.
20422 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20430 which preserves existing values.
20431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20433 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20436 TIMEOUT values. Return EINVAL for NFDS values either negative or
20437 greater than FD_SETSIZE.
20439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20442 allocated, call __vm_protect to finish enabling the existing space, and
20443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20444 allocate the remainder.
20446 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20454 sysdeps/mach/hurd/readlink.c.
20456 * posix/tst-sysconf.c (posix_options): Only use
20457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20458 _POSIX_SYNCHRONIZED_IO when they are defined
20459 * sysdeps/mach/hurd/bits/posix_opt.h:
20460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20461 (_XOPEN_REALTIME): Undefine macro.
20462 (_XOPEN_REALTIME_THREADS): Undefine macro.
20463 (_XOPEN_SHM): Undefine macro.
20464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20468 (_POSIX_ASYNC_IO): Undefine macro.
20469 (_POSIX_PRIORITIZED_IO): Undefine macro.
20470 (_POSIX_SPIN_LOCKS): Define macro to -1.
20472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20473 SA_NODEFER, SA_RESETHAND.
20474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20480 * elf/Makefile (pldd-modules): Define unconditionally.
20482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20489 Return ENOENT when name is empty.
20490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20500 Fix mlock in all cases except non-readable pages.
20501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20502 instead of VM_PROT_ALL as parameter to __vm_wire function.
20504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20505 (__mkdir): When path is `/', just fail with EEXIST.
20506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20511 <sys/uio.h> (for writev).
20512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20513 and <sys/param.h> (for MIN).
20515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20518 REQUESTED_TIME. Properly set the remaining time and return EINTR
20521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20524 Depend on against $(link-rpcuserlibs).
20526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20529 (__libc_stack_end): Do not use attribute_relro.
20530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20532 to libthread-provided value.
20533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20539 * bits/libc-lock.h (__libc_once_get): New macro.
20540 * sysdeps/mach/bits/libc-lock.h: Likewise.
20541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20543 instead of using implementation details.
20545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20546 * libio/freopen.c: Likewise.
20547 * libio/freopen64.c: Likewise.
20548 * misc/syslog.c: Likewise.
20549 * nscd/connections.c: Likewise.
20550 * nscd/netgroupcache.c: Likewise.
20551 * sysdeps/posix/getcwd.c: Likewise.
20553 2012-05-10 Roland McGrath <roland@hack.frob.com>
20555 * math/w_ilogbf.c: Add #include <limits.h>.
20557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20560 path instead of returning without unlocking.
20562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20563 immediate-write ioctls.
20564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20569 __builtin_frame_address instead of making assumptions about the
20570 location of the return address relative to DATA. Force early load of
20571 the return address.
20572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20573 __builtin_frame_address.
20576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20578 implement dup3 and do some further code clean-ups.
20579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20595 when handler == SIG_ERR, not when handler != SIG_ERR.
20597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20603 accept4 for GNU Hurd.
20604 * include/sys/socket.h (__libc_accept4): New prototype.
20605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20606 to implement __libc_accept4.
20607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20614 signal-defines.sym.
20616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20623 assertion on O_CLOEXEC flag.
20624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20625 * hurd/intern-fd.c: Likewise.
20626 * hurd/port2fd.c: Likewise.
20628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20631 * bits/in.h (IPV6_PKTINFO): Define new macro.
20632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20634 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20645 * math/libm-test.inc (logb_test) : Additional logb tests.
20647 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20648 Andreas Jaeger <aj@suse.de>
20650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20651 * configure: Regenerated.
20652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20653 * config.make.in (link-obsolete-rpc): New substituted variable.
20654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20658 so that libc.a contains the symbols.
20659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20661 * sunrpc/auth_none.c: Likewise.
20662 * sunrpc/auth_unix.c: Likewise.
20663 * sunrpc/authdes_prot.c: Likewise.
20664 * sunrpc/authuxprot.c: Likewise.
20665 * sunrpc/clnt_gen.c: Likewise.
20666 * sunrpc/clnt_perr.c: Likewise.
20667 * sunrpc/clnt_raw.c: Likewise.
20668 * sunrpc/clnt_simp.c: Likewise.
20669 * sunrpc/clnt_tcp.c: Likewise.
20670 * sunrpc/clnt_udp.c: Likewise.
20671 * sunrpc/clnt_unix.c: Likewise.
20672 * sunrpc/des_crypt.c: Likewise.
20673 * sunrpc/des_soft.c: Likewise.
20674 * sunrpc/get_myaddr.c: Likewise.
20675 * sunrpc/key_call.c: Likewise.
20676 * sunrpc/key_prot.c: Likewise.
20677 * sunrpc/netname.c: Likewise.
20678 * sunrpc/pm_getmaps.c: Likewise.
20679 * sunrpc/pm_getport.c: Likewise.
20680 * sunrpc/pmap_clnt.c: Likewise.
20681 * sunrpc/pmap_prot.c: Likewise.
20682 * sunrpc/pmap_prot2.c: Likewise.
20683 * sunrpc/pmap_rmt.c: Likewise.
20684 * sunrpc/publickey.c: Likewise.
20685 * sunrpc/rpc_cmsg.c: Likewise.
20686 * sunrpc/rpc_common.c: Likewise.
20687 * sunrpc/rpc_dtable.c: Likewise.
20688 * sunrpc/rpc_prot.c: Likewise.
20689 * sunrpc/rpc_thread.c: Likewise.
20690 * sunrpc/rtime.c: Likewise.
20691 * sunrpc/svc.c: Likewise.
20692 * sunrpc/svc_auth.c: Likewise.
20693 * sunrpc/svc_raw.c: Likewise.
20694 * sunrpc/svc_run.c: Likewise.
20695 * sunrpc/svc_tcp.c: Likewise.
20696 * sunrpc/svc_udp.c: Likewise.
20697 * sunrpc/svc_unix.c: Likewise.
20698 * sunrpc/svcauth_des.c: Likewise.
20699 * sunrpc/xcrypt.c: Likewise.
20700 * sunrpc/xdr.c: Likewise.
20701 * sunrpc/xdr_array.c: Likewise.
20702 * sunrpc/xdr_float.c: Likewise.
20703 * sunrpc/xdr_intXX_t.c: Likewise.
20704 * sunrpc/xdr_mem.c: Likewise.
20705 * sunrpc/xdr_rec.c: Likewise.
20706 * sunrpc/xdr_ref.c: Likewise.
20707 * sunrpc/xdr_sizeof.c: Likewise.
20708 * sunrpc/xdr_stdio.c: Likewise.
20710 2012-05-10 Roland McGrath <roland@hack.frob.com>
20712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20713 change. Update copyright years.
20715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20719 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20720 Joseph Myers <joseph@codesourcery.com>
20721 Paul Pluzhnikov <ppluzhnikov@google.com>
20724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20726 [cross-compiling] (extra-libs): Likewise.
20727 [cross-compiling] (extra-libs-others): Likewise.
20728 [cross-compiling] (librpcsvc-routines): Likewise.
20729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20730 [cross-compiling] (omit-deps): Likewise.
20731 (sunrpc-CPPFLAGS): New variable.
20732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20734 (cross-rpcgen-objs): New variable.
20735 (extra-objs): Append $(cross-rpcgen-objs).
20736 ($(cross-rpcgen-objs)): New rule.
20737 ($(objpfx)cross-rpcgen): Likewise.
20738 (rpcgen-cmd): Define to use $(built-program-file). Expand
20740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20741 ($(objpfx)x%.stmp): Likewise.
20742 * sunrpc/proto.h [IS_IN_build] (_): Define.
20743 [IS_IN_build] (_libc_intl_domainname): Likewise.
20745 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20749 and R_X86_64_TPOFF64.
20751 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20754 sysdeps/unix/sysv/syscalls.list.
20757 * sysdeps/unix/sysv/syscalls.list: Remove file.
20759 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20765 (__LC_IDENTIFICATION): Make these macros useful in #if
20766 expressions, as required by C99.
20768 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20774 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20776 * stdlib/longlong.h: Updated from GCC.
20778 2012-05-09 Andreas Jaeger <aj@suse.de>
20780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20781 default is first entry.
20782 (run_mode): Set type.
20783 (main): Remove informal message about syslog.
20784 (options): Fix typo.
20787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20790 (llrintf): Likewise.
20791 (llrint): Likewise.
20794 (nearbyint): Likewise.
20795 (nearbyintf): Likewise.
20797 2012-05-09 Andreas Jaeger <aj@suse.de>
20798 Pedro Alves <palves@redhat.com>
20800 * nscd/nscd.c (run_mode): Use enum.
20801 (main): Cleanup coding style issue.
20803 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20804 Andreas Jaeger <aj@suse.de>
20806 * nscd/nscd.c (go_background): Replaced with...
20807 (run_mode): ... this.
20808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20809 (options): Add -F --foreground.
20810 (main): Implement it.
20811 (parse_opt): Parse it.
20813 2012-05-09 Andreas Jaeger <aj@suse.de>
20816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20818 -Wconversion warning.
20819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20822 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20826 (LC_ALL): Use macro-int-constant.
20827 (LC_COLLATE): Likewise.
20828 (LC_CTYPE): Likewise.
20829 (LC_MESSAGES): Likewise.
20830 (LC_MONETARY): Likewise.
20831 (LC_NUMERIC): Likewise.
20832 (LC_TIME): Likewise.
20833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20838 [C99-based standards] (float_t): Expect type.
20839 [C99-based standards] (double_t): Expect type.
20840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20842 [C99-based standards] (HUGE_VALL): Likewise.
20843 [C99-based standards] (INFINITY): Likewise.
20844 [C99-based standards] (NAN): Likewise.
20845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20846 [C99-based standards] (FP_NAN): Likewise.
20847 [C99-based standards] (FP_NORMAL): Likewise.
20848 [C99-based standards] (FP_SUBNORMAL): Likewise.
20849 [C99-based standards] (FP_ZERO): Likewise.
20850 [C99-based standards] (FP_FAST_FMA): Use
20851 optional-macro-int-constant. Specify type. Require == 1.
20852 [C99-based standards] (FP_FAST_FMAF): Likewise.
20853 [C99-based standards] (FP_FAST_FMAL): Likewise.
20854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20855 [C99-based standards] (FP_ILOGBNAN): Likewise.
20856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20859 [C99-based standards] (math_errhandling): Specify type.
20860 [ISO99 || ISO11] (signgam): Do not allow.
20861 [non-C99-based standards] (copysignf): Do not allow.
20862 [non-C99-based standards] (exp2f): Likewise.
20863 [non-C99-based standards] (log2f): Likewise.
20864 [non-C99-based standards] (modff): Allow.
20865 [non-C99-based standards] (erff): Do not allow.
20866 [non-C99-based standards] (erfcf): Likewise.
20867 [non-C99-based standards] (gammaf): Likewise.
20868 [non-C99-based standards] (hypotf): Likewise.
20869 [non-C99-based standards] (j0f): Likewise.
20870 [non-C99-based standards] (j1f): Likewise.
20871 [non-C99-based standards] (jnf): Likewise.
20872 [non-C99-based standards] (lgammaf): Likewise.
20873 [non-C99-based standards] (tgammaf): Likewise.
20874 [non-C99-based standards] (y0f): Likewise.
20875 [non-C99-based standards] (y1f): Likewise.
20876 [non-C99-based standards] (ynf): Likewise.
20877 [non-C99-based standards] (isnanf): Likewise.
20878 [non-C99-based standards] (acoshf): Likewise.
20879 [non-C99-based standards] (asinhf): Likewise.
20880 [non-C99-based standards] (atanhf): Likewise.
20881 [non-C99-based standards] (cbrtf): Likewise.
20882 [non-C99-based standards] (expm1f): Likewise.
20883 [non-C99-based standards] (ilogbf): Likewise.
20884 [non-C99-based standards] (log1pf): Likewise.
20885 [non-C99-based standards] (logbf): Likewise.
20886 [non-C99-based standards] (nextafterf): Likewise.
20887 [non-C99-based standards] (remainderf): Likewise.
20888 [non-C99-based standards] (rintf): Likewise.
20889 [non-C99-based standards] (scalbf): Likewise.
20890 [non-C99-based standards] (copysignl): Likewise.
20891 [non-C99-based standards] (exp2l): Likewise.
20892 [non-C99-based standards] (log2l): Likewise.
20893 [non-C99-based standards] (modfl): Allow.
20894 [non-C99-based standards] (erfl): Do not allow.
20895 [non-C99-based standards] (erfcl): Likewise.
20896 [non-C99-based standards] (gammal): Likewise.
20897 [non-C99-based standards] (hypotl): Likewise.
20898 [non-C99-based standards] (j0l): Likewise.
20899 [non-C99-based standards] (j1l): Likewise.
20900 [non-C99-based standards] (jnl): Likewise.
20901 [non-C99-based standards] (lgammal): Likewise.
20902 [non-C99-based standards] (tgammal): Likewise.
20903 [non-C99-based standards] (y0l): Likewise.
20904 [non-C99-based standards] (y1l): Likewise.
20905 [non-C99-based standards] (ynl): Likewise.
20906 [non-C99-based standards] (isnanl): Likewise.
20907 [non-C99-based standards] (acoshl): Likewise.
20908 [non-C99-based standards] (asinhl): Likewise.
20909 [non-C99-based standards] (atanhl): Likewise.
20910 [non-C99-based standards] (cbrtl): Likewise.
20911 [non-C99-based standards] (expm1l): Likewise.
20912 [non-C99-based standards] (ilogbl): Likewise.
20913 [non-C99-based standards] (log1pl): Likewise.
20914 [non-C99-based standards] (logbl): Likewise.
20915 [non-C99-based standards] (nextafterl): Likewise.
20916 [non-C99-based standards] (remainderl): Likewise.
20917 [non-C99-based standards] (rintl): Likewise.
20918 [non-C99-based standards] (scalbl): Likewise.
20919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20920 [non-C99-based standards] (FP_*): Do not allow.
20921 [C99-based standards] (FP_*): Change to
20922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20926 (SIG_ERR): Likewise.
20927 [X/Open-based standards] (SIG_HOLD): Likewise.
20928 (SIG_IGN): Likewise.
20929 (SIGABRT): Use macro-int-constant. Specify type. Require
20931 (SIGFPE): Likewise.
20932 (SIGILL): Likewise.
20933 (SIGINT): Likewise.
20934 (SIGSEGV): Likewise.
20935 (SIGTER): Likewise.
20936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20954 [X/Open-based standards] (SIGTRAP): Likewise.
20955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20962 2012-05-08 Ian Wienand <ianw@vmware.com>
20965 * time/tzset.c (__tzset_parse_tz): Update default rules for
20966 daylight time changes in the Energy Policy Act of 2005.
20968 2012-05-09 Andreas Jaeger <aj@suse.de>
20971 * elf/ldconfig.c (parse_conf): Change string to make clear that
20972 ldconfig only issued a warning if ld.so.conf does not exist.
20974 2012-05-08 David S. Miller <davem@davemloft.net>
20976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20977 movxtod instead of popping the value on the stack.
20979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20981 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20983 * config.h.in: Add HAVE_ARM_PCS_VFP.
20985 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20989 checking but the checks are disabled for any reason.
20991 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20994 and ELF64_R_TYPE with ELFW(R_TYPE).
20996 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20999 (ulimit): Likewise.
21001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21002 (settimeofday): Likewise.
21004 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21007 a struct th_u2 inside the union, and move tu_block/tu_code into
21008 a new th_u3 union of tu_block/tu_code inside of that. Move
21009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21013 (th_stuff): Change to th_u1.tu_stuff.
21015 (th_msg): Change to th_u1.th_u2.tu_data.
21017 2012-05-07 David S. Miller <davem@davemloft.net>
21019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21023 (SETUP_PIC_REG): Use it.
21024 (SETUP_PIC_REG_LEAF): Use it.
21026 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21032 (EXPL_FINITE): Likewise.
21033 (FLDLOG): Likewise.
21034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21039 (EXPL_FINITE): Likewise.
21040 (FLDLOG): Likewise.
21041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21045 test of -max_value argument for long double.
21046 * sysdeps/i386/fpu/libm-test-ulps: Update.
21047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21049 2012-05-06 David S. Miller <davem@davemloft.net>
21051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21052 quad soft-float symbols whose references which are compiler
21054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21056 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21062 (EXPL_FINITE): Likewise.
21063 (FLDLOG): Likewise.
21066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21067 Adjust comments for base varying.
21068 (__expl_finite): Change alias to EXPL_FINITE.
21069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21077 (EXPL_FINITE): Likewise.
21078 (FLDLOG): Likewise.
21081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21082 Adjust comments for base varying.
21083 (__expl_finite): Change alias to EXPL_FINITE.
21084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21089 * math/libm-test.inc (check_float_internal): Correct ulp
21090 calculation for subnormal expected results.
21092 2012-05-06 Andreas Jaeger <aj@suse.de>
21094 * Makeconfig (+math-flags): New, set to -frounding-math.
21095 (+cflags): Add +math-flags so that all of glibc gets compiled with
21098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21100 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21109 (__ieee754_expl): Allow for and saturate large arguments.
21110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21111 (u_threshold): Likewise.
21112 (__exp): Call __ieee754_exp before checking for overflow and
21114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21115 (u_threshold): Likewise.
21116 (__expf): Call __ieee754_expf before checking for overflow and
21118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21119 (u_threshold): Likewise.
21120 (__expl): Call __ieee754_expl before checking for overflow and
21122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21123 (__ieee754_expl): Allow for and saturate large arguments.
21124 * math/libm-test.inc (exp_test): Add another test. Do not allow
21125 missing overflow exception on overflow.
21126 (expm1_test): Do not allow missing overflow exception on overflow.
21128 * sysdeps/i386/fpu/e_expl.c: Move to ...
21129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21130 rather than using inline asm.
21131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21138 (signal): Likewise.
21142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21145 sysdeps/unix/common/syscalls.list.
21146 (fchmod): Likewise.
21147 (fchown): Likewise.
21148 (ftruncate): Likewise.
21149 (getrusage): Likewise.
21150 (gettimeofday): Likewise.
21151 (setpgid): Likewise.
21152 (setregid): Likewise.
21153 (setreuid): Likewise.
21154 (sigaction): Likewise.
21155 (truncate): Likewise.
21156 (vhangup): Likewise.
21157 * sysdeps/unix/common/syscalls.list: Remove file.
21158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21159 * sysdeps/unix/sysv/linux/Implies: Likewise.
21161 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21208 * sysdeps/unix/common/bits/dirent.h: Remove file.
21209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21214 * sysdeps/unix/bsd/isatty.c: Likewise.
21215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21219 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21223 long double comparison inaccuracies.
21224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21227 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21232 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21236 nonzero digits before rounding a hex value.
21237 * stdlib/tst-strtod.c (tests): Add another test.
21239 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21241 * sysdeps/s390/fpu/libm-test-ulps: Update.
21243 2012-05-03 Andreas Jaeger <aj@suse.de>
21245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21246 does not get optimized out.
21247 (malloc_opt_barrier): New.
21249 2012-05-03 Andreas Jaeger <aj@suse.de>
21250 Roland McGrath <roland@hack.frob.com>
21252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21253 intermediate file deletion.
21254 (generated): Add .symlist files.
21256 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21260 Redirect under this condition.
21261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21262 [__USE_GNU] (__dprintf_chk): Not under this condition.
21263 [__USE_GNU] (__vdprintf_chk): Likewise.
21264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21265 under this condition.
21266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21268 [__USE_XOPEN2K8] (vdprintf): Likewise.
21269 [__USE_GNU] (__dprintf_chk): Not under this condition.
21270 [__USE_GNU] (__vdprintf_chk): Likewise.
21271 [__USE_GNU] (dprintf): Likewise.
21272 [__USE_GNU] (vdprintf): Likewise.
21274 2012-05-03 Roland McGrath <roland@hack.frob.com>
21276 * elf/Makefile (common-generated): Set this instead of generated for
21277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21278 $(all-built-dso)-derived lists.
21280 2012-05-03 Andreas Jaeger <aj@suse.de>
21282 * sysdeps/i386/fpu/libm-test-ulps: Update.
21285 * FAQ.in: Likewise.
21286 * scripts/gen-FAQ.pl: Likewise.
21287 * manual/install.texi (Installation): Point to online location of
21289 * Makefile (files-for-dist): Remove FAQ.
21292 2012-05-02 Allan McRae <allan@archlinux.org>
21294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21295 (LDFLAGS-reldepmod5.so): Likewise.
21296 (LDFLAGS-reldep6mod1.so): Likewise.
21297 (LDFLAGS-reldep6mod4.so): Likewise.
21298 (LDFLAGS-reldep8mod3.so): Likewise.
21299 (LDFLAGS-unload4mod1.so): Likewise.
21300 (LDFLAGS-unload4mod2.so): Likewise.
21301 (LDFLAGS-tst-initorder): Likewise.
21302 (LDFLAGS-tst-initordera2.so): Likewise.
21303 (LDFLAGS-tst-initordera3.so): Likewise.
21304 (LDFLAGS-tst-initordera4.so): Likewise.
21305 (LDFLAGS-tst-initorderb2.so): Likewise.
21306 (LDFLAGS-noload): Likewise.
21307 (LDFLAGS-next): Likewise.
21308 (LDFLAGS-order2mod1.so): Likewise.
21309 (LDFLAGS-order2mod2.so): Likewise.
21310 (LDFLAGS-tst-initorder2): Likewise.
21311 (LDFLAGS-tst-initorder2a.so): Likewise.
21312 (LDFLAGS-tst-initorder2b.so): Likewise.
21313 (LDFLAGS-tst-initorder2c.so): Likewise.
21314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21316 2012-05-02 David S. Miller <davem@davemloft.net>
21318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21320 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21325 2012-05-02 Andreas Jaeger <aj@suse.de>
21327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21328 since we manipulate rounding mode.
21329 (CPPFLAGS-test-idouble.c): Likewise.
21330 (CPPFLAGS-test-ifloat.c): Likewise.
21331 (CFLAGS-test-ldouble.c): Likewise.
21332 (CFLAGS-test-double.c): Likewise.
21333 (CFLAGS-test-float.c): Likewise.
21334 (CFLAGS-test-misc.c): Likewise.
21335 (CFLAGS-test-test-fenv.c): Likewise.
21337 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21342 comparisons to determine direction to adjust input.
21344 2012-05-01 Roland McGrath <roland@hack.frob.com>
21346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21347 output to the target.
21349 * scripts/localplt.awk: New file.
21350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21351 (check-localplt-CFLAGS): Variable removed.
21352 ($(all-built-dso:=.jmprel)): New static pattern rule.
21353 (generated): Add those targets.
21354 (localplt-built-dso): New variable.
21355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21357 * elf/check-localplt.c: File removed.
21359 * scripts/check-execstack.awk: New file.
21360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21361 (check-execstack-CFLAGS): Variable removed.
21362 ($(objpfx)check-execstack.h): Target removed.
21363 ($(objpfx)execstack-default): New target.
21364 (generated): Add that instead of check-execstack.h.
21365 ($(all-built-dso:=.phdr)): New static pattern rule.
21366 (generated): Add those targets.
21367 * elf/check-execstack.c: File removed.
21369 * scripts/check-textrel.awk: New file.
21370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21371 (check-textrel-CFLAGS): Variable removed.
21372 (all-built-dso): Use := to define.o
21373 ($(all-built-dso:=.dyn)): New static pattern rule.
21374 (generated): Add those targets.
21375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21376 * config.make.in (READELF): New substituted variable.
21377 * elf/check-textrel.c: File removed.
21379 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21383 * conform/data/ctype.h-data [C99-based standards] (isblank):
21385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21389 Specify type. Require positive value.
21390 (EILSEQ): Likewise.
21391 (ERANGE): Likewise.
21392 [ISO || POSIX] (EILSEQ): Do not expect.
21393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21394 Specify type. Require positive value.
21395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21473 (FLT_ROUNDS): Expect as macro, not constant.
21474 (FLT_MANT_DIG): Use macro-int-constant.
21475 (DBL_MANT_DIG): Likewise.
21476 (LDBL_MANT_DIG): Likewise.
21477 (FLT_DIG): Likewise.
21478 (DBL_DIG): Likewise.
21479 (LDBL_DIG): Likewise.
21480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21481 (DBL_MIN_EXP): Likewise.
21482 (LDBL_MIN_EXP): Likewise.
21483 (FLT_MAX_EXP): Use macro-int-constant.
21484 (DBL_MAX_EXP): Likewise.
21485 (LDBL_MAX_EXP): Likewise.
21486 (FLT_MAX_10_EXP): Likewise.
21487 (DBL_MAX_10_EXP): Likewise.
21488 (LDBL_MAX_10_EXP): Likewise.
21489 (FLT_MAX): Use macro-constant.
21490 (DBL_MAX): Likewise.
21491 (LDBL_MAX): Likewise.
21492 (FLT_EPSILON): Use macro-constant. Give upper bound.
21493 (DBL_EPSILON): Likewise.
21494 (LDBL_EPSILON): Likewise.
21495 (FLT_MIN): Likewise.
21496 (DBL_MIN): Likewise.
21497 (LDBL_MIN): Likewise.
21498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21507 [ISO11] (FLT_TRUE_MIN): Likewise.
21508 [ISO11] (LDBL_TRUE_MIN): Likewise.
21509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21511 (SCHAR_MIN): Use macro-int-constant. Specify type.
21512 (SCHAR_MAX): Likewise.
21513 (UCHAR_MAX): Likewise.
21514 (CHAR_MIN): Likewise.
21515 (CHAR_MAX): Likewise.
21516 (MB_LEN_MAX): Use macro-int-constant.
21517 (SHRT_MIN): Use macro-int-constant. Specify type.
21518 (SHRT_MAX): Likewise.
21519 (USHRT_MAX): Likewise.
21520 (INT_MAX): Likewise.
21521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21528 bound negative. Suffix upper bound with "L".
21529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21533 [C99-based standards] (LLONG_MAX): Likewise.
21534 [C99-based standards] (ULLONG_MAX): Likewise.
21535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21537 [ISO11] (max_align_t): Require type.
21538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21541 from $CFLAGS, without defining away __attribute__ calls.
21542 (checknamespace): Use $CFLAGS_namespace.
21544 * conform/conformtest.pl (@keywords): Only include C99 keywords
21545 for standards based on C99 or C11.
21547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21553 usability of symbols in #if.
21555 * conform/conformtest.pl: If macro or constant types start
21556 "promoted:", expect the symbol to be of the following type
21557 promoted by the integer promotions.
21559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21560 in one place. Also handle "macro-constant".
21562 * conform/conformtest.pl: Only accept expected macro values with
21563 "==". Parse all "macro" lines in one place.
21564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21566 * conform/conformtest.pl: Handle braced types on "constant" lines
21567 instead of handling "typed-constant".
21568 * conform/data/signal.h-data: Use "constant" instead of
21571 * conform/conformtest.pl: Handle "optional-" at start of lines in
21572 one place rather than duplicating several cases. Handle each
21573 format of "macro" line with initial "optional-".
21575 * conform/conformtest.pl: Only accept expected constant or
21576 optional-constant values with "==". Parse all "constant" lines in
21577 one place. Parse all "optional-constant" lines in one place.
21578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21579 * conform/data/fmtmsg.h-data: Likewise.
21580 * conform/data/netinet/in.h-data: Likewise.
21581 * conform/data/tar.h-data: Likewise.
21582 * conform/data/limits.h-data: Use "==" form on "constant" and
21583 "optional-constant" lines.
21585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21586 Use -std=c99 for XOPEN2K.
21587 (@knownproblems): Remove.
21588 (newtoken): Don't check %isknown.
21590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21591 Do not expect macro.
21592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21622 [XPG3] (acosh): Likewise.
21623 [XPG3] (asinh): Likewise.
21624 [XPG3] (atanh): Likewise.
21625 [XPG3] (cbrt): Likewise.
21626 [XPG3] (expm1): Likewise.
21627 [XPG3] (ilogb): Likewise.
21628 [XPG3] (log1p): Likewise.
21629 [XPG3] (logb): Likewise.
21630 [XPG3] (nextafter): Likewise.
21631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21633 [XPG3] (remainder): Likewise.
21634 [XPG3] (rint): Likewise.
21635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21642 [UNIX98 || XOPEN2K] (scalb): Expect.
21643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21782 _XOPEN_SOURCE_EXTENDED for XPG4.
21784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21786 * Makeconfig (localtime): Remove variable.
21787 (inst_localtime-file): Likewise.
21789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21810 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21815 comparisons to determine direction to adjust input.
21816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21829 * math/libm-test.inc (nexttoward_test): Add more tests.
21831 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21835 in version GLIBC_2.1, not GLIBC_2.0.
21836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21839 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21846 * math/libm-test.inc (acos_test): Add more tests.
21847 (asin_test): Likewise.
21848 * sysdeps/i386/fpu/libm-test-ulps: Update.
21849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21856 * math/libm-test.inc (acos_test_tonearest): New function.
21857 (acos_test_towardzero): Likewise.
21858 (acos_test_downward): Likewise.
21859 (acos_test_upward): Likewise.
21860 (asin_test_tonearest): Likewise.
21861 (asin_test_towardzero): Likewise.
21862 (asin_test_downward): Likewise.
21863 (asin_test_upward): Likewise.
21864 (main): Call the new functions.
21865 * sysdeps/i386/fpu/libm-test-ulps: Update.
21866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21870 * math/e_exp10.c: Include <float.h>.
21871 (__ieee754_exp10): Handle underflow here rather than multiplying
21872 large negative argument by M_LN10.
21873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21875 * math/e_exp10l.c: Include <float.h>.
21876 (__ieee754_exp10l): Handle underflow here rather than multiplying
21877 large negative argument by M_LN10l.
21878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21879 spurious overflow exception on underflow.
21881 2012-04-29 Marek Polacek <polacek@redhat.com>
21883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21884 (__fortify_function): New macro.
21885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21887 __extern_always_inline.
21888 * libio/bits/stdio2.h: Likewise.
21889 * libio/bits/stdio.h: Likewise.
21890 * string/string.h: Likewise.
21891 * string/bits/string3.h: Likewise.
21892 * include/stdio.h: Likewise.
21893 * stdlib/bits/stdlib.h: Likewise.
21894 * stdlib/stdlib.h: Likewise.
21895 * rt/bits/mqueue2.h: Likewise.
21896 * rt/mqueue.h: Likewise.
21897 * posix/bits/unistd.h: Likewise.
21898 * posix/unistd.h: Likewise.
21899 * io/bits/poll2.h: Likewise.
21900 * io/bits/fcntl2.h: Likewise.
21901 * io/fcntl.h: Likewise.
21902 * io/sys/poll.h: Likewise.
21903 * misc/bits/syslog.h: Likewise.
21904 * misc/bits/syslog-ldbl.h: Likewise.
21905 * misc/sys/syslog.h: Likewise.
21906 * socket/bits/socket2.h: Likewise.
21907 * socket/sys/socket.h: Likewise.
21908 * debug/tst-chk1.c: Likewise.
21909 * wcsmbs/bits/wchar2.h: Likewise.
21910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21911 * wcsmbs/wchar.h: Likewise.
21913 2012-04-29 Andreas Jaeger <aj@suse.de>
21915 * Makerules (tests): Remove enable-check-abi protection.
21916 (check-abi-warn): Remove.
21917 (check-abi-%): Remove check-abi-warn usage.
21919 * configure.in: Remove check-abi configure option.
21920 * configure: Regenerated.
21921 * config.make.in (enable-check-abi): Remove.
21923 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21927 double functions to double *_finite functions.
21930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21933 * stdio-common/Makefile (tests): Add tst-sprintf3.
21934 * stdio-common/tst-sprintf3.c: New file.
21936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21939 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21941 * conform/conformtest.pl: Remove duplicate typed-constant
21944 2012-04-28 David S. Miller <davem@davemloft.net>
21946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21947 (check-abi-%): Remove AWK script prerequisite and explicit
21949 (check-abi): Rewrite to just diff the symlist with the abilist.
21950 (config-tls, config-abi-config): Delete, no longer used.
21951 (update-abi-%): Remove AWK script and explicit abilist directory.
21952 (update-abi): Rewrite to simply compare and conditionally copy the
21953 symlist and the sysdep abilist file. Remove update-abi-config
21955 * abilist/ld.abilist: Remove.
21956 * abilist/libBrokenLocale.abilist: Remove.
21957 * abilist/libanl.abilist: Remove.
21958 * abilist/libcrypt.abilist: Remove.
21959 * abilist/libdl.abilist: Remove.
21960 * abilist/librt.abilist: Remove.
21961 * abilist/libthread_db.abilist: Remove.
21962 * abilist/libutil.abilist: Remove.
21963 * scripts/extract-abilist.awk: Remove.
21964 * scripts/merge-abilist.awk: Remove.
21965 * sysdeps/generic/libcidn.abilist: New file.
21966 * sysdeps/generic/libnss_compat.abilist: New file.
21967 * sysdeps/generic/libnss_db.abilist: New file.
21968 * sysdeps/generic/libnss_dns.abilist: New file.
21969 * sysdeps/generic/libnss_files.abilist: New file.
21970 * sysdeps/generic/libnss_hesiod.abilist: New file.
21971 * sysdeps/generic/libnss_nis.abilist: New file.
21972 * sysdeps/generic/libnss_nisplus.abilist: New file.
21973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22171 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22173 * conform/conformtest.pl: Fix typo in handling typed-constant from
22176 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22178 * README: Cut down references to pre-2.6 Linux kernels and
22179 Linuxthreads. Update lists of configurations in libc and ports
22180 and sort alphabetically. Say "or newer" with Linux kernel version
22183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22185 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22188 * math/libm-test.inc (logb_test_downward): New test to expose
22189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22192 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22200 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22202 * sysdeps/unix/i386/brk.S: Remove file.
22203 * sysdeps/unix/i386/dl-brk.S: Likewise.
22204 * sysdeps/unix/i386/pipe.S: Likewise.
22205 * sysdeps/unix/i386/sigreturn.S: Likewise.
22206 * sysdeps/unix/i386/syscall.S: Likewise.
22207 * sysdeps/unix/i386/vfork.S: Likewise.
22208 * sysdeps/unix/i386/wait.S: Likewise.
22210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22213 * configure.in (arm*-none*): Do not allow without
22214 --enable-hacker-mode.
22215 (netbsd*): Remove case setting base_os.
22216 (386bsd*): Likewise.
22217 (freebsd*): Likewise.
22220 (sunos*): Likewise.
22221 (ultrix*): Likewise.
22222 (newsos*): Likewise.
22223 (dynix*): Likewise.
22229 (minix*): Likewise.
22230 (irix4*): Likewise.
22231 (irix6*): Likewise.
22232 (solaris[2-9]*): Likewise.
22234 * configure: Regenerated.
22236 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22240 overflow or cancellation in calculating denominator.
22241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22243 down expression to avoid unexpected rounding in newer GCCs.
22244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22246 2012-04-26 David S. Miller <davem@davemloft.net>
22248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22249 long-double compat symbols.
22250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22264 2012-04-25 David S. Miller <davem@davemloft.net>
22266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22267 HWCAP_* values only after the memory barriers have been defined.
22268 (atomic_full_barrier): Define.
22269 (atomic_read_barrier): Define.
22270 (atomic_write_barrier): Define.
22272 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22274 * shlib-versions: Add libgcc_s version information.
22275 * sysdeps/generic/libgcc_s.h: Remove.
22276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22278 * sysdeps/gnu/unwind-resume.c: Likewise.
22279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22281 2012-04-25 David S. Miller <davem@davemloft.net>
22283 * sysdeps/unix/sparc/brk.S: Delete.
22284 * sysdeps/unix/sparc/dl-brk.S: Delete.
22285 * sysdeps/unix/sparc/pipe.S: Delete.
22286 * sysdeps/unix/sparc/sysdep.S: Delete.
22287 * sysdeps/unix/sparc/sysdep.h: Delete.
22288 * sysdeps/unix/sparc/vfork.S: Delete.
22289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22290 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22292 ret_ERRVAL, r0, r1, MOVE): Define.
22293 (JUMPTARGET): Remove.
22294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22295 sysdeps/unix/sparc/sysdep.h
22296 (ENTRY, END): Remove.
22297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22299 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22305 * timezone/README: Update upstream location and email address for
22307 * timezone/zdump.c: Update from tzcode 2012b.
22308 * timezone/zic.c: Likewise.
22310 * configure.in (libc_cv_as_needed): Remove test.
22311 * configure: Regenerated.
22312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22313 conditional definition.
22314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22316 * config.make.in (have-as-needed): Remove variable.
22318 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22319 Paul Pluzhnikov <ppluzhnikov@google.com>
22321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22324 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22328 * sysdeps/sh/strlen.S: Likewise.
22330 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22332 * sysdeps/unix/fork.S: Remove file.
22333 * sysdeps/unix/i386/fork.S: Likewise.
22334 * sysdeps/unix/sparc/fork.S: Likewise.
22336 * sysdeps/unix/system.c: Remove file.
22337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22339 * sysdeps/unix/getegid.S: Remove file.
22340 * sysdeps/unix/geteuid.S: Likewise.
22342 2012-04-24 Roland McGrath <roland@hack.frob.com>
22344 * scripts/check-localplt.awk: New file.
22345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22347 * scripts/data/localplt-generic.data: Add a comment.
22349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22350 NODE when __dir_mkfile failed.
22351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22352 Reported by Ludovic Courtès <ludo@gnu.org>.
22354 2012-04-24 Andreas Jaeger <aj@suse.de>
22356 * Makerules (common-clean): Also remove gen-as-const-headers
22359 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22361 * Makerules (native-compile): Do not change working directory for
22362 build. Use $(OUTPUT_OPTION) in command.
22363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22365 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22370 * math/libm-test.inc (floor_test): Add more tests.
22371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22373 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22375 * sysdeps/unix/getdents.c: Remove file.
22376 * sysdeps/unix/sysv/getdents.c: Likewise.
22377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22380 sysdeps/unix/mman/syscalls.list.
22382 (mprotect): Likewise.
22384 (munmap): Likewise.
22385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22386 * sysdeps/unix/mman/syscalls.list: Remove.
22387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22391 * configure: Regenerated.
22392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22393 $(libgcc_s_suffix).
22394 * config.make.in (libgcc_s_suffix): Remove variable.
22396 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22398 * sysdeps/unix/sysv/gethostname.c: Move to ...
22399 * sysdeps/posix/gethostname.c: ... here.
22401 * sysdeps/unix/execve.S: Remove file.
22403 * sysdeps/unix/_exit.S: Remove file.
22405 2012-04-23 Andreas Jaeger <aj@suse.de>
22408 * manual/Makefile: Remove make dist support, there's no
22409 need for a stand-alone documentation tar ball.
22410 (TEXI2DVI): Define always, it's not in Makeconfig.
22413 (edition): Removed.
22414 (glibc-doc-$(edition).tar): Removed
22418 (ETAGS): Remove, it's in Makeconfig.
22419 (move-if-change): Remove, it's in Makeconfig.
22421 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22427 (strtod_l, strtof_l, strtold_l): Remove __wur.
22428 It is not necessarily an error to ignore strtol's return value.
22429 One can reliably look at the stored endptr to decide whether
22430 the number had valid syntax.
22432 2012-04-21 Andreas Jaeger <aj@suse.de>
22435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22437 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22440 * sysdeps/unix/sysv/Versions: Remove file.
22442 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22447 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22451 version from __vm86.
22453 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22455 * sysdeps/unix/common/lxstat.c: Remove file.
22456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22458 * sysdeps/unix/sysv/Makefile: Remove file.
22460 * sysdeps/unix/sysv/direct.h: Remove file.
22462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22472 * sysdeps/unix/xmknod.c: Remove file.
22473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22477 * sysdeps/unix/sysv/i386/time.S: Remove file.
22479 * sysdeps/unix/fxstat.c: Remove file.
22480 * sysdeps/unix/xstat.c: Likewise.
22481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22483 * sysdeps/unix/sysv/sigaction.c: Remove file.
22485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22486 (sysdep_headers): Remove variable.
22487 [termio.h not in sysdep_headers] (generated): Likewise.
22488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22491 * sysdeps/unix/sysv/tcflow.c: Likewise.
22492 * sysdeps/unix/sysv/tcflush.c: Likewise.
22493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22499 * sysdeps/unix/siglist.c: Remove file.
22501 * sysdeps/unix/getppid.S: Remove file.
22503 * sysdeps/unix/mkdir.c: Remove file.
22504 * sysdeps/unix/rmdir.c: Likewise.
22506 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22511 errlist-compat value.
22513 2012-04-18 David S. Miller <davem@davemloft.net>
22515 * sysdeps/generic/memcopy.h (reg_char): Delete.
22516 * debug/strcat_chk.c: Use char, not reg_char.
22517 * debug/strcpy_chk.c: Likewise.
22518 * debug/strncat_chk.c: Likewise.
22519 * debug/strncpy_chk.c: Likewise.
22520 * string/memchr.c: Likewise.
22521 * string/memrchr.c: Likewise.
22522 * string/rawmemchr.c: Likewise.
22523 * string/strcat.c: Likewise.
22524 * string/strchr.c: Likewise.
22525 * string/strchrnul.c: Likewise.
22526 * string/strcmp.c: Likewise.
22527 * string/strcpy.c: Likewise.
22528 * string/strncat.c: Likewise.
22529 * string/strncmp.c: Likewise.
22530 * string/strncpy.c: Likewise.
22532 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22535 __builtin_memcopy is called when src and dest ranges are known to not
22538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22542 fwd_align_merge macro call.
22543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22544 bwd_align_merge macro call.
22545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22547 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22550 bwd_align_merge macros.
22551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22555 2012-04-18 David S. Miller <davem@davemloft.net>
22557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22559 2012-04-18 Andreas Jaeger <aj@suse.de>
22562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22572 Adjust for changed ldbl-128 files.
22574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22578 2012-04-17 David S. Miller <davem@davemloft.net>
22580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22582 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22591 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22595 * math/libm-test.inc: Add ilogb errno and exception tests.
22596 * math/w_ilogb.c: New file: ilogb wrapper.
22597 * math/w_ilogbf.c: New file: ilogbf wrapper.
22598 * math/w_ilogbl.c: New file: ilogbl wrapper.
22599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22602 exception being thrown with 0.0 as argument.
22603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22605 exception being thrown with 0.0 as argument.
22606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22608 exception being thrown with 0.0 as argument.
22609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22611 exception being thrown with 0.0 as argument.
22612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22622 2012-04-17 Petr Baudis <pasky@ucw.cz>
22624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22627 2012-04-16 Marek Polacek <polacek@redhat.com>
22629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22631 2012-04-16 Marek Polacek <polacek@redhat.com>
22633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22634 operands of fdivp instruction.
22636 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22639 * elf/tst-auditmod3b.c: Likewise.
22640 * elf/tst-auditmod4b.c: Likewise.
22641 * elf/tst-auditmod5b.c: Likewise.
22642 * elf/tst-auditmod6b.c: Likewise.
22643 * elf/tst-auditmod6c.c: Likewise.
22644 * elf/tst-auditmod7b.c: Likewise.
22645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22646 * sysdeps/x86_64/preconfigure.in: Likewise.
22647 * sysdeps/x86_64/preconfigure: Regenerated.
22649 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22654 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22659 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22662 * locale/iso-639.def: Fix gl language name. Spotted by
22665 2012-04-12 Roland McGrath <roland@hack.frob.com>
22668 * libio/libio.h (__io_write_fn): Update comment.
22670 2012-04-12 Petr Baudis <pasky@ucw.cz>
22673 * stdio.texi (Hook Functions): The user provided writer function
22674 is not allowed to return -1.
22676 2012-04-11 David S. Miller <davem@davemloft.net>
22678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22680 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22683 Add a leading slash to rtkaio.
22685 2012-04-11 Jim Meyering <meyering@redhat.com>
22688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22689 It is not necessarily an error to ignore fwrite's return
22690 value. One can reliably use ferror to test for errors after
22693 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22695 * bits/types.h (__snseconds_t): New type.
22696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22700 (__SNSECONDS_T_TYPE): Likewise.
22701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22702 (__SNSECONDS_T_TYPE): Likewise.
22703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22704 (__SNSECONDS_T_TYPE): Likewise.
22706 2012-04-10 Andreas Jaeger <aj@suse.de>
22709 * manual/time.texi (Processor Time): Return type of times is
22710 elapsed real time since an arbitrary point in the past.
22711 (CPU Time): Move CLK_TCK from here...
22712 (Processor Time): ...to here. Correct description.
22713 * manual/conf.texi (Constants for Sysconf): Correct description of
22716 2012-04-10 David S. Miller <davem@davemloft.net>
22719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22720 where the is a gap between DT_REL(A) and DT_JMPREL.
22722 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22728 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22732 (dl_main): Handle --inhibit-cache.
22733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22735 * elf/dl-load.c (_dl_map_object): Use it.
22736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22738 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22742 (__ieee754_powl): Saturate large exponents rather than testing for
22743 overflow of y*log2(x).
22744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22749 * math/s_ctan.c: Include <float.h>.
22750 (__ctan): Avoid internal overflow or cancellation in calculating
22752 * math/s_ctanf.c: Likewise.
22753 * math/s_ctanl.c: Likewise.
22754 * math/s_ctanh.c: Likewise.
22755 * math/s_ctanhf.c: Likewise.
22756 * math/s_ctanhl.c: Likewise.
22757 * math/libm-test.inc (ctan_test): Add more tests.
22758 (ctanh_test): Likewise.
22759 * sysdeps/i386/fpu/libm-test-ulps: Update.
22760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762 2012-04-09 Andreas Jaeger <aj@suse.de>
22765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22766 is an optional BSD extension.
22769 * manual/stdio.texi (Opening Streams): Document additional fopen
22772 2012-04-09 Roland McGrath <roland@hack.frob.com>
22774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22775 %eax without telling the compiler.
22777 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22780 * manual/install.texi: Use sourceware.org.
22782 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22786 (__ieee754_pow): Generate overflow and underflow using huge*huge
22787 and tiny*tiny rather than just returning constant infinity or zero
22788 for large exponents.
22789 * math/libm-test.inc (pow_test): Require overflow exceptions for
22790 applicable cases of large exponents.
22793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22794 (__ieee754_pow): Use iterative multiplication algorithm only for
22795 integer exponents with absolute value below 1024. Check for odd
22796 integer exponents when using algorithm for real exponents.
22797 * math/libm-test.inc (pow_test): Add more tests.
22798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22800 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22803 * math/libm-test.inc (exp_test): Do not allow overflow exception
22806 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22810 instead of __kernel_standard_f.
22812 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22815 * sysdeps/x86_64/memset_chk.S: Likewise.
22817 2012-04-08 Andreas Jaeger <aj@suse.de>
22820 * manual/startup.texi (Environment Access): Describe return value
22821 for putenv and setenv.
22824 * manual/filesys.texi (Directory Entries): Add description for
22828 * manual/filesys.texi (Directory Entries): Clarify that it's file
22829 system not operating system in the description of DT_UNKNOWN.
22832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22834 2012-04-08 Stephen Compall <s11@member.fsf.org>
22837 * manual/llio.texi (Opening and Closing Files): Add cross
22838 reference to explain mode argument.
22840 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22843 * sysdeps/x86_64/memset_chk.S: Likewise.
22845 2012-04-07 David S. Miller <davem@davemloft.net>
22847 * elf/elf.h (R_SPARC_WDISP10): Define.
22848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22851 R_SPARC_SIZE64 and R_SPARC_H34.
22853 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22856 conditions and remove no longer applicable assertion.
22858 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22860 * bits/byteswap.h: Include <features.h>.
22861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22864 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22866 * bits/byteswap.h (__bswap_16): Removed.
22867 Include <bits/byteswap-16.h> to get __bswap_16.
22868 * sysdeps/i386/bits/byteswap.h: Likewise.
22869 * sysdeps/s390/bits/byteswap.h: Likewise.
22870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22871 * bits/byteswap-16.h: New file.
22872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22875 * string/Makefile (headers): Add bits/byteswap-16.h.
22877 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22883 * nss/tst-nss-static.c: New.
22885 2012-04-06 Robert Millan <rmh@gnu.org>
22888 * manual/llio.texi (File Position Primitive): lseek
22889 refers to WHENCE when it really means OFFSET.
22891 2012-04-06 Andreas Jaeger <aj@suse.de>
22893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22894 strncmp declarations.
22896 * abilist/libc.abilist: Add __poll and __ppoll.
22898 2012-04-05 David S. Miller <davem@davemloft.net>
22900 * scripts/check-local-headers.sh: Accept a host triplet in the
22901 path matched by the exclude regexp.
22903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22905 * sysdeps/powerpc/powerpc32/dl-machine.h
22906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22907 * sysdeps/s390/s390-32/dl-machine.h
22908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22909 * sysdeps/sparc/sparc32/dl-machine.h
22910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22911 * sysdeps/sparc/sparc64/dl-machine.h
22912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22917 undefined symbol errors.
22919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22922 2012-04-05 Michael Matz <matz@suse.de>
22925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22927 2012-04-05 Andreas Jaeger <aj@suse.de>
22930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22933 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22936 which ROUND is no valid rounding mode.
22938 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22944 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22947 an exception using FPU order intentionally.
22949 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22956 2012-04-05 Simon Josefsson <simon@josefsson.org>
22959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22960 EINVAL when BUFLEN is too smal.
22962 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22968 2012-04-03 Andreas Jaeger <aj@suse.de>
22971 * manual/setjmp.texi (System V contexts): Fix sentence.
22974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22975 New macro for this case.
22976 [!__GNUC__] (__bswap_64): New inline function for this case.
22977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22978 * bits/byteswap.h: Likewise.
22979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22980 ull, guard with __GLIBC_HAVE_LONG_LONG.
22982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22983 __GLIBC_HAVE_LONG_LONG.
22985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22988 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22992 inptr and inend, rather than using last_ch.
22994 2012-04-02 David S. Miller <davem@davemloft.net>
22996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22997 * stdio-common/printf-parse.h (read_int): Change return type to
22998 'int', return -1 on INT_MAX overflow.
22999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23001 overflows INT_MAX. Check for overflow of in-format-string precision
23002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23003 SIZE_MAX not INT_MAX for integer overflow test.
23004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23005 skip the construct in the format string but do not record anything.
23006 * stdio-common/bug22.c: Adjust to test both width/prevision
23007 INT_MAX overflow as well as total length INT_MAX overflow. Check
23008 explicitly for proper errno values.
23010 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23014 * string/test-strcmp.c [! WIDE]: Likewise.
23015 * time/tst-mktime2.c: Likewise for INT_MAX.
23016 * string/test-string.h: #include <sys/param.h> for MIN.
23018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23019 * sysdeps/i386/init-first.c (init): Likewise.
23020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23022 * sysdeps/sh/init-first.c (init): Likewise.
23024 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23026 * po/ru.po: Update from translation team.
23027 * po/vi.po: Likewise.
23029 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23031 * resolv/nss_dns/dns-host.c: Merge copyright years.
23033 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23036 Optimize memcpy with prefetch if
23037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23038 src, dst pointers have unequal 16 byte alignments.
23040 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23044 from a CNAME entry and return the minimum ttl for the query.
23045 (gaih_getanswer_slice): Likewise.
23047 2012-03-30 Jeff Law <law@redhat.com>
23049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23054 * resolv/nss_dns/dns-host.c: Update copyright year.
23056 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23059 requests to save a system call. Fix check that all bytes are sent.
23061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23062 comments for sendmmsg.
23064 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23068 with only 1 character between 0x0041 and 0x01b0.
23069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23070 * wcsmbs/tst-mbsnrtowcs.c: New file.
23072 2012-03-29 David S. Miller <davem@davemloft.net>
23074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23075 small copies by hand.
23077 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23081 _nss_compat_initgroups_dyn): Fall back to malloc/free
23082 for large group memberships.
23084 2012-03-28 David S. Miller <davem@davemloft.net>
23086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23087 that branches into memcpy.
23088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23095 implementation too.
23096 * sysdeps/sparc/mempcpy.S: New file.
23098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23099 the IFUNC routine in the libc case.
23100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23112 loop to 256 bytes instead of 64 bytes and fix test signedness.
23114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23115 * sysdeps/sparc/sparc32/Makefile: rather than here...
23116 * sysdeps/sparc/sparc64/Makefile: and here.
23118 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23120 * malloc/mallocbug.c: Avoid warnings about unused variables.
23122 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23126 in the right place. Discard and retry query if response is
23127 larger than input buffer size.
23129 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23135 x for large integer exponent.
23136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23138 sign of result as needed afterwards.
23139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23141 result for underflowing pow the same as for overflow.
23142 (__kernel_standard_l): Handle powl overflow and underflow here
23143 rather than calling __kernel_standard.
23144 * math/libm-test.inc (pow_test): Add more tests.
23159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23161 (__kernel_standard_l): New function.
23162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23164 * math/w_acosl.c (__acosl): Likewise.
23165 * math/w_asinl.c (__asinl): Likewise.
23166 * math/w_atan2l.c (__atan2l): Likewise.
23167 * math/w_atanhl.c (__atanhl): Likewise.
23168 * math/w_coshl.c (__coshl): Likewise.
23169 * math/w_exp10l.c (__exp10l): Likewise.
23170 * math/w_exp2l.c (__exp2l): Likewise.
23171 * math/w_fmodl.c (__fmodl): Likewise.
23172 * math/w_hypotl.c (__hypotl): Likewise.
23173 * math/w_j0l.c (__j0l, __y0l): Likewise.
23174 * math/w_j1l.c (__j1l, __y1l): Likewise.
23175 * math/w_jnl.c (__jnl, __ynl): Likewise.
23176 * math/w_lgammal.c (__lgammal): Likewise.
23177 * math/w_log10l.c (__log10l): Likewise.
23178 * math/w_log2l.c (__log2l): Likewise.
23179 * math/w_logl.c (__logl): Likewise.
23180 * math/w_powl.c (__powl): Likewise.
23181 * math/w_remainderl.c (__remainderl): Likewise.
23182 * math/w_scalbl.c (sysv_scalbl): Likewise.
23183 * math/w_sinhl.c (__sinhl): Likewise.
23184 * math/w_sqrtl.c (__sqrtl): Likewise.
23185 * math/w_tgammal.c (__tgammal): Likewise.
23186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23188 * math/libm-test.inc (acos_test): Add more tests.
23189 (acosh_test): Likewise.
23190 (asin_test): Likewise.
23191 (atanh_test): Likewise.
23192 (exp_test): Likewise.
23193 (exp10_test): Likewise.
23194 (exp2_test): Likewise.
23195 (expm1_test): Likewise.
23196 (lgamma_test): Likewise.
23197 (log_test): Likewise.
23198 (log10_test): Likewise.
23199 (log1p_test): Likewise.
23200 (log2_test): Likewise.
23201 (pow_test): Do not allow some spurious overflow exceptions.
23202 (sqrt_test): Add more tests.
23203 (tgamma_test): Likewise.
23204 (y0_test): Likewise.
23205 (y1_test): Likewise.
23206 (yn_test): Likewise.
23208 2012-03-27 Anton Blanchard <anton@samba.org>
23210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23216 2012-03-27 David S. Miller <davem@davemloft.net>
23218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23221 have-as-vis3 check.
23223 2012-03-27 Andreas Jaeger <aj@suse.de>
23225 * sysdeps/x86_64/elf/configure.in: Moved to ...
23226 * sysdeps/x86_64/configure.in: ... here.
23227 * sysdeps/x86_64/elf/start.S: Moved to ...
23228 * sysdeps/x86_64/start.S: ... here.
23229 * sysdeps/x86_64/elf/configure: Delete.
23231 * sysdeps/x86_64/configure.in: Merge contents from
23232 sysdeps/i386/configure.in (without i686 check).
23234 * sysdeps/i386/elf/Versions: Merge into ...
23235 * sysdeps/i386/Versions: ... this.
23236 * sysdeps/i386/elf/Versions: Delete file.
23237 * sysdeps/i386/elf/start.S: Moved to ...
23238 * sysdeps/i386/start.S: ...here.
23239 * sysdeps/i386/elf/configure.in: Merge into...
23240 * sysdeps/i386/configure.in: ...here.
23241 * sysdeps/i386/elf/configure.in: Delete file.
23242 * sysdeps/i386/elf/configure: Delete file.
23244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23245 * debug/backtracesyms.c: ... here.
23246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23247 * debug/backtracesymsfd.c: ... here.
23248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23249 * sysdeps/generic/ifunc-sel.h: ... here.
23251 * sysdeps/unix/i386/start.c: Delete file.
23252 * sysdeps/unix/sparc/start.c: Delete file.
23253 * sysdeps/unix/start.c: Delete file.
23255 * sysdeps/sh/elf/configure.in: Moved to ...
23256 * sysdeps/sh/configure.in: ... here.
23257 * sysdeps/sh/elf/start.S: Moved to ...
23258 * sysdeps/sh/start.S: ... here.
23259 * sysdeps/sh/elf/configure: Delete file.
23261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23266 * sysdeps/powerpc/powerpc64/start.S: here.
23267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23276 * sysdeps/powerpc/powerpc32/start.S: ... here.
23277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23282 * sysdeps/powerpc/ifunc-sel.h: ... here.
23283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23286 * sysdeps/sparc/elf/configure.in: Moved to ...
23287 * sysdeps/sparc/configure.in: ... here.
23288 * sysdeps/sparc/elf/configure: Delete file.
23289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23290 * sysdeps/sparc/sparc32/start.S: ... here.
23291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23292 * sysdeps/sparc/sparc64/start.S: ... here.
23293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23294 * sysdeps/sparc/sparc32/Makefile: ... this.
23295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23296 * sysdeps/sparc/sparc64/Makefile: ... this.
23298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23303 * sysdeps/s390/s390-32/setjmp.S: ... here.
23304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23305 * sysdeps/s390/s390-32/configure.in: ... here.
23306 * sysdeps/s390/s390-32/elf/configure: Delete file.
23307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23308 * sysdeps/s390/s390-32/start.S: ... here.
23310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23315 * sysdeps/s390/s390-64/setjmp.S: ... here.
23316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23317 * sysdeps/s390/s390-64/configure.in: ... here
23318 * sysdeps/s390/s390-64/elf/configure: Delete file.
23319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23320 * sysdeps/s390/s390-64/start.S: ... here.
23321 * sysdeps/s390/s390-64/elf/configure: Delete.
23323 * configure.in: Remove support for elf directories in sysdeps.
23325 * configure: Regenerated.
23326 * sysdeps/i386/configure: Regenerated.
23327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23329 * sysdeps/s390/s390-32/configure: Regenerated.
23330 * sysdeps/s390/s390-64/configure: Regenerated.
23331 * sysdeps/sh/configure: Regenerated.
23332 * sysdeps/sparc/configure: Regenerated.
23333 * sysdeps/x86_64/configure: Regenerated.
23335 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23340 denormal result into account.
23342 2012-03-25 Roland McGrath <roland@hack.frob.com>
23344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23345 Reported by Allan McRae <allan@archlinux.org>.
23347 2012-03-23 Jeff Law <law@redhat.com>
23349 * nss/getnssent.c (__nss_getent): Fix typo.
23351 2012-03-23 David S. Miller <davem@davemloft.net>
23353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23355 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23358 to pad to uint64_t for each field.
23359 (dl_tls_index): Replace unsigned long with uint64_t.
23361 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23362 Paul Pluzhnikov <ppluzhnikov@google.com>
23365 * grp/Makefile (otherlibs): Don't set it.
23366 * inet/Makefile (otherlibs): Likewise.
23367 * login/Makefile (otherlibs): Likewise.
23368 * nscd/Makefile (otherlibs): Likewise.
23369 * posix/Makefile (otherlibs): Likewise.
23370 * pwd/Makefile (otherlibs): Likewise.
23371 * rt/Makefile (otherlibs): Likewise.
23372 * sunrpc/Makefile (otherlibs): Likewise.
23373 * nss/Makefile (otherlibs): Likewise.
23374 Add libnss_files to routines and static-only-routines.
23375 ($(objpfx)getent): Remove rule.
23376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23377 static-only-routines.
23379 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23382 * math/s_cexp.c: Include <float.h>.
23383 (__cexp): Handle exp result overflowing not necessarily
23384 overflowing both real and imaginary parts of result.
23385 * math/s_cexpf.c: Likewise.
23386 * math/s_cexpl.c: Likewise.
23387 * math/libm-test.inc (cexp_test): Add more tests.
23388 * sysdeps/i386/fpu/libm-test-ulps: Update.
23389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23391 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23393 * include/link.h (ELFW): New macro.
23394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23397 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23402 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23406 (struct La_x32_retval): Likewise.
23408 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23410 * sysdeps/x86_64/preconfigure.in: New file.
23411 * sysdeps/x86_64/preconfigure: New generated file.
23413 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23416 * math/e_exp2l.c: Include <float.h>.
23417 (__ieee754_exp2l): Handle overflow and underflow cases
23418 separately. Only pass fractional part of argument to
23420 * math/libm-test.inc (exp2_test): Add more tests.
23422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23423 negating x to take absolute value.
23424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23430 computing low part if x was negated.
23431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23433 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23436 la_x32_gnu_pltexit.
23437 (pltexit): Cast int_retval to ptrdiff_t.
23438 * elf/tst-auditmod3b.c: Likewise.
23439 * elf/tst-auditmod4b.c: Likewise.
23440 * elf/tst-auditmod5b.c: Likewise.
23441 * elf/tst-auditmod6b.c: Likewise.
23442 * elf/tst-auditmod6c.c: Likewise.
23443 * elf/tst-auditmod7b.c: Likewise.
23445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23446 and x32_gnu_pltexit.
23448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23449 __ELF_NATIVE_CLASS.
23450 (La_x32_regs): New macro.
23451 (La_x32_retval): Likewise.
23452 (la_x32_gnu_pltenter): New function prototype.
23453 (la_x32_gnu_pltexit): Likewise.
23455 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23462 * configure.in (libc_cv_cc_nofma): Check for option to disable
23463 generation of FMA instructions.
23464 * configure: Regenerate.
23465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23466 * sysdeps/ieee754/dbl-64/Makefile: New file.
23467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23468 Remove brandred-fma4.
23469 (CFLAGS-brandred-fma4.c): Remove.
23470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23476 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23479 LLONG_MAX != LONG_MAX.
23480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23481 (_fitoa_word): Likewise.
23482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23483 LLONG_MAX != LONG_MAX.
23484 * stdio-common/_itowa.h: Include <_itoa.h>.
23485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23488 only if not defined.
23489 (_ITOA_WORD_TYPE): Likewise.
23490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23493 2012-03-21 David S. Miller <davem@davemloft.net>
23495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23500 of x86_64 when setting libc_cv_slibdir, libdir and
23502 * sysdeps/unix/sysv/linux/configure: Regenerated.
23504 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23506 * manual/lang.texi (Old Varargs): Remove section.
23507 (How Variadic): Update menu.
23508 (va_start): Do not mention varargs.h.
23510 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23511 Joseph Myers <joseph@codesourcery.com>
23513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23515 * configure: Regenerated.
23517 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23523 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23526 * Makefile (files-for-dist): Remove NOTES.
23527 (NOTES): Remove rule.
23528 * README: Don't refer to NOTES.
23529 * manual/creature.texi: Don't include macros.texi.
23530 * manual/intro.texi (creature.texi): Remove comment referring to
23533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23535 * configure: Regenerated.
23536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23537 LIBC_TRY_CC_OPTION.
23538 (libc_cv_as_i686): Likewise.
23539 (libc_cv_cc_avx): Likewise.
23540 (libc_cv_cc_sse2avx): Likewise.
23541 (libc_cv_cc_fma4): Likewise.
23542 (libc_cv_cc_novzeroupper): Likewise.
23543 * sysdeps/i386/configure: Regenerated.
23546 * sysdeps/i386/fpu/s_cexp.S: Remove.
23547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23549 * math/libm-test.inc (cexp_test): Add more tests.
23550 * sysdeps/i386/fpu/libm-test-ulps: Update.
23551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23553 2012-03-21 Allan McRae <allan@archlinux.org>
23555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23560 * math/w_exp2.c: Do not include <float.h>.
23561 (o_threshold, u_threshold): Remove.
23562 (__exp2): Calculate result before checking finiteness and calling
23564 * math/w_exp2f.c: Likewise.
23565 * math/w_exp2l.c: Likewise.
23566 * math/libm-test.inc (exp2_test): Require overflow exception for
23570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23571 range of signed 64-bit integers before using fistpll. Remove
23572 checks for whether integers fit in mantissa bits.
23573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23574 the range of signed 32-bit integers before using fistpl. Remove
23575 checks for whether integers fit in mantissa bits.
23576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23577 (__ieee754_powl): Test for y outside the range of signed 64-bit
23578 integers before using fistpll. Reduce 64-bit values to 63-bit
23580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23581 divide-by-zero is raised for zero to large negative powers.
23582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23583 (__ieee754_powl): Test for y outside the range of signed 64-bit
23584 integers before using fistpll. Reduce 64-bit values to 63-bit
23586 * math/libm-test.inc (pow_test): Add more tests.
23588 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23591 <stdio-common/_itoa.h>.
23592 * debug/segfault.c: Likewise.
23593 * elf/dl-cache.c: Likewise.
23594 * elf/dl-minimal.c: Likewise.
23595 * elf/dl-misc.c: Likewise.
23596 * elf/dl-sysdep.c: Likewise.
23597 * elf/dl-version.c: Likewise.
23598 * elf/rtld.c: Likewise.
23599 * hurd/hurdsock.c: Likewise.
23600 * hurd/lookup-retry.c: Likewise.
23601 * malloc/malloc.c: Likewise.
23602 * malloc/mtrace.c: Likewise.
23603 * nscd/nscd_getgr_r.c: Likewise.
23604 * nscd/nscd_getpw_r.c: Likewise.
23605 * nscd/nscd_getserv_r.c: Likewise.
23606 * posix/getopt_init.c: Likewise.
23607 * posix/wordexp.c: Likewise.
23608 * stdio-common/_itoa.c: Likewise.
23609 * stdio-common/printf_fphex.c: Likewise.
23610 * stdio-common/vfprintf.c: Likewise.
23611 * string/_strerror.c: Likewise.
23612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23613 * sysdeps/i386/i686/hp-timing.h: Likewise.
23614 * sysdeps/mach/_strerror.c: Likewise.
23615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23616 * sysdeps/mach/hurd/sethostid.c: Likewise.
23617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23618 * sysdeps/mach/xpg-strerror.c: Likewise.
23619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23643 * stdio-common/_itoa.h: Moved to ...
23644 * sysdeps/generic/_itoa.h: Here.
23646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23649 instead of "_itoa.h" and "_itowa.h".
23650 * stdio-common/vfprintf.: Likewise.
23652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23657 (__signbit): Likwise.
23658 (llrintf): Likwise.
23661 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23666 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23669 OVERFLOW_EXCEPTION_OK.
23670 * math/libm-test.inc ("Philosophy"): Update comment about
23672 (OVERFLOW_EXCEPTION): Define.
23673 (OVERFLOW_EXCEPTION_OK): Likewise.
23674 (INVALID_EXCEPTION_OK): Renumber.
23675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23676 (IGNORE_ZERO_INF_SIGN): Likewise.
23677 (test_exceptions): Handle FE_OVERFLOW.
23678 (exp10_test): Expect overflow exceptions.
23679 (exp2_test): Likewise.
23680 (expm1_test): Likewise.
23681 (nextafter_test): Likewise.
23682 (pow_test): Likewise.
23683 (scalbn_test): Likewise.
23684 (scalbln_test): Likewise.
23686 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23688 * sysdeps/x86_64/bits/atomic.h
23689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23691 (atomic_exchange_acq): Likewise.
23692 (__arch_exchange_and_add_body): Likewise.
23693 (__arch_add_body): Likewise.
23694 (atomic_add_negative): Likewise.
23695 (atomic_add_zero): Likewise.
23697 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23705 Check __x86_64__ instead of __WORDSIZE.
23707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23711 2012-03-19 David S. Miller <davem@davemloft.net>
23713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23715 * sysdeps/sparc/fpu/fenv_private.h: New file.
23716 * sysdeps/sparc/fpu/math_private.h: Use it.
23717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23720 (libc_feholdexcept_setroundl): Remove.
23721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23729 int64_t instead of long int.
23730 (INSERT_WORDS64): Likwise.
23732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23735 _Unwind_GetCFA return to _Unwind_Ptr first.
23737 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23740 * math/s_clog.c: Include <float.h>.
23741 (__clog): Scale large or subnormal inputs.
23742 * math/s_clogf.c: Likewise.
23743 * math/s_clogl.c: Likewise.
23744 * math/s_clog10.c: Include <float.h>.
23745 (M_LOG10_2): Define.
23746 (__clog10): Scale large or subnormal inputs.
23747 * math/s_clog10f.c: Likewise.
23748 * math/s_clog10l.c: Likewise.
23749 * math/libm-test.inc (clog_test): Add more tests.
23750 (clog10_test): Likewise.
23751 * sysdeps/i386/fpu/libm-test-ulps: Update.
23752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23757 * math/libm-test.inc (atan2_test): Add another test.
23759 * Makerules (common-objdir-compile): Remove.
23760 * sysdeps/unix/Makefile (config-generated): Do not add
23761 $(unix-generated) to variable.
23762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23767 [generic bits/local_lim.h] (before-compile): Do not append to
23769 [generic bits/local_lim.h] (common-generated): Likewise.
23770 [generic sys/param.h] (before-compile): Do not append to variable.
23771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23778 [generic sys/param.h] ($(addprefix
23779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23780 [generic sys/param.h] (common-generated): Do not append to
23782 [generic sys/param.h] (sysdep_headers): Likewise.
23783 [generic bits/errno.h] (before-compile): Do not append to
23785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23790 [generic bits/errno.h] (common-generated): Do not append to
23792 [generic bits/ioctls.h] (before-compile): Do not append to
23794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23803 [generic bits/ioctls.h] (common-generated): Do not append to
23805 [generic sys/syscall.h] (syscall.h): Remove variable.
23806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23808 [generic sys/syscall.h] (before-compile): Do not append to
23810 [generic sys/syscall.h] (common-generated): Likewise.
23811 * sysdeps/unix/errnos-tmpl.c: Remove file.
23812 * sysdeps/unix/errnos.awk: Likewise.
23813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23814 * sysdeps/unix/ioctls.awk: Likewise.
23815 * sysdeps/unix/mk-local_lim.c: Likewise.
23816 * sysdeps/unix/snarf-ioctls: Likewise.
23818 2012-03-19 Richard Henderson <rth@twiddle.net>
23820 * sysdeps/i386/fpu/fenv_private.h: New file.
23821 * sysdeps/i386/fpu/math_private.h: Use it.
23822 (math_opt_barrier, math_force_eval): Remove.
23823 (libc_feholdexcept_setround_53bit): Remove.
23824 (libc_feupdateenv_53bit): Remove.
23825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23826 (math_opt_barrier, math_force_eval): Remove.
23827 (libc_feholdexcept): Remove.
23828 (libc_feholdexcept_setround): Remove.
23829 (libc_fetestexcept, libc_fesetenv): Remove.
23830 (libc_feupdateenv_test): Remove.
23831 (libc_feupdateenv, libc_feholdsetround): Remove.
23832 (libc_feresetround): Remove.
23834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23839 (libc_feupdateenv_testl): New.
23840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23841 (libc_feupdateenv_testf): New.
23842 (libc_feupdateenv): Use libc_feupdateenv_test.
23843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23849 (libc_feresetround_noex): New.
23850 (libc_feresetround_noexf): New.
23851 (libc_feresetround_noexl): New.
23852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23862 SET_RESTORE_ROUND_NOEX.
23863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23864 SET_RESTORE_ROUND_NOEXF.
23865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23867 (libc_feholdsetroundf): New.
23868 (libc_feresetround, libc_feresetroundf): New.
23870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23874 * sysdeps/generic/math_private.h: Include <fenv.h>.
23875 (default_libc_feholdexcept): New.
23876 (default_libc_feholdexcept_setround): New.
23877 (default_libc_fesetenv, default_libc_feupdateenv): New.
23878 (libc_feholdexcept): Only define if undefined.
23879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23881 (libc_feholdexcept_setroundl): Likewise.
23882 (libc_feholdexcept_setround_53bit): Likewise.
23883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23886 (libc_feupdateenv_53bit): Likewise.
23887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23888 (libc_feholdexcept): Convert from macro to inline function.
23889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23890 (libc_fesetenv, libc_feupdateenv): Likewise.
23892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23893 not previously defined.
23894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23898 * sysdeps/ieee754/flt-32/math_private.h: New file.
23899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23900 math_private.h below SET_FLOAT_WORD.
23901 (__isnan, __isinf_ns, __finite): Remove.
23902 (__isnanf, __isinf_nsf, __finitef): Remove.
23904 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23908 2012-03-17 David S. Miller <davem@davemloft.net>
23911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23914 2012-03-16 David S. Miller <davem@davemloft.net>
23916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23924 sysdep_routines when subdir is sysvipc.
23925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23926 __getshmlba helper.
23928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23930 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23939 (__lround): Renamed to ...
23940 (__llround): This. Replace long int with long long int.
23941 Define lround functions as aliases of llround functions.
23942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23944 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23948 adresses to uintptr_t. Replace "long int" and "unsigned long
23949 int" with "greg_t" on va_arg.
23951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23957 Move e_machine check before EI_CLASS check. Handle x32
23958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23960 SKIP_EM_IA_64 and include
23961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23965 (add_system_dir): New macro.
23967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23970 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23983 * math/w_j0f.c (j0f): Likewise.
23985 * math/w_j0l.c (__j0l): Likewise.
23987 * math/w_j1.c (j1): Likewise.
23989 * math/w_j1f.c (j1f): Likewise.
23991 * math/w_j1l.c (__j1l): Likewise.
23993 * math/w_jn.c (jn): Likewise.
23995 * math/w_jnf.c (jnf): Likewise.
23997 * math/w_jnl.c (__jnl): Likewise.
23999 * math/libm-test.inc (j0_test): Add more tests.
24000 (j1_test): Likewise.
24001 (jn_test): Likewise. Add trailing semicolon to existing test.
24002 (y0_test): Likewise.
24003 (y1_test): Likewise.
24004 * sysdeps/i386/fpu/libm-test-ulps: Update.
24005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24013 (__tanl): Set errno for infinite argument.
24014 * sysdeps/i386/fpu/mptan.c: Remove.
24015 * sysdeps/i386/fpu/s_tan.S: Likewise.
24016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24019 * math/libm-test.inc (tan_test): Add more tests and enable more
24020 tests for double and long double.
24021 * sysdeps/i386/fpu/libm-test-ulps: Update.
24022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24024 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24029 2012-03-16 Roland McGrath <roland@hack.frob.com>
24031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24032 * configure.in: Use it for both main tree and add-ons.
24033 * configure: Regenerated.
24035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24039 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24053 != 0 for prec == 2.
24054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24065 * math/libm-test.inc (cos_test): Add more tests and enable more
24066 tests for long double.
24067 (sin_test): Likewise.
24068 (sincos_test): Likewise.
24069 * sysdeps/i386/fpu/libm-test-ulps: Update.
24070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24072 2012-03-16 David S. Miller <davem@davemloft.net>
24074 * sysdeps/sparc/fpu/math_private.h: New file.
24076 2012-03-15 David S. Miller <davem@davemloft.net>
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24095 * sysdeps/sparc/sparc-ifunc.h: New file.
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24141 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24147 2012-03-15 Andreas Jaeger <aj@suse.de>
24150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24151 ieee754/flt-32 implementation for sin, cos and sincos.
24152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24157 ieee754/flt-32 implementation for tan.
24159 * math/libm-test.inc (cos_test): Enable some large input tests for
24161 (sin_test): Likewise.
24162 (sincos_test): Likewise.
24163 (tan_test): Add tests for large input.
24165 * sysdeps/i386/fpu/libm-test-ulps: Update.
24167 2012-03-15 Andreas Jaeger <aj@suse.de>
24170 * math/libm-test.inc (cos_test): Add more test cases.
24171 (sin_test): Likewise.
24172 (sincos_test): Likewise.
24174 2012-03-15 Andreas Jaeger <aj@suse.de>
24177 * math/libm-test.inc (cos_test): Add a test case for large input
24179 (sin_test): Likewise.
24180 (sincos_test): Likewise.
24182 2012-03-15 Andreas Jaeger <aj@suse.de>,
24183 Joseph Myers <joseph@codesourcery.com>
24186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24188 * sysdeps/i386/fpu/branred.c: Likewise.
24189 * sysdeps/i386/fpu/dosincos.c: Likewise.
24190 * sysdeps/i386/fpu/mpa.c: Likewise.
24191 * sysdeps/i386/fpu/s_cos.S: Likewise.
24192 * sysdeps/i386/fpu/s_sin.S: Likewise.
24193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24194 * sysdeps/i386/fpu/sincos32.c: Likewise.
24196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24198 (libc_feupdateenv_53bit): Define.
24199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24201 (libc_feupdateenv_53bit): Define.
24203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24204 53 bit (without extend i386 double precision).
24206 * math/libm-test.inc (sincos_test): Add tests for large input.
24210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24212 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24216 2012-03-15 David S. Miller <davem@davemloft.net>
24218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24246 fmin/fmax sysdep routines.
24247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24249 2012-03-14 David S. Miller <davem@davemloft.net>
24251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24328 * sysdeps/sparc/configure.in: New file.
24329 * sysdeps/sparc/configure: Generate.
24330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24331 * configure: Regenerate.
24332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24333 * config.make.in (have-as-vis3): New.
24334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24335 available use -Av9d instead of -Av9a.
24336 * sysdeps/sparc/sparc64/Makefile: Likewise.
24337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24353 fzeros/fnegs to load 0x80000000 into a float register instead of
24355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24357 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24363 ($(inst_includedir)/bits/syscall.h): Remove rule.
24364 ($(objpfx)bits/syscall.d): Include instead of
24365 $(objpfx)syscall-list.d.
24366 (generated): Change syscall-list.h and syscall-list.d to
24367 bits/syscall.h and bits/syscall.d.
24369 2012-03-14 Roland McGrath <roland@hack.frob.com>
24372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24374 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24377 * math/s_csqrt.c: Include <float.h>.
24378 (__csqrt): Scale large or subnormal inputs.
24379 * math/s_csqrtf.c: Likewise.
24380 * math/s_csqrtl.c: Likewise.
24381 * math/libm-test.inc (csqrt_test): Add more tests.
24382 * sysdeps/i386/fpu/libm-test-ulps: Update.
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24386 * math/libm-test.inc (hypot_test): Add more tests.
24388 2012-03-13 David S. Miller <davem@davemloft.net>
24391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24392 double-precision for the calculation instead of scaling.
24394 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24397 manipulate bits before adding and subtracting TWO52[sx].
24398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24403 2012-03-13 David S. Miller <davem@davemloft.net>
24405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24408 rtld-global-offsets.h
24409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24417 'err' in the ifdef scope in which it is actually used.
24419 * nss/nss_db/db-init.c: Include string.h
24421 2012-03-12 David S. Miller <davem@davemloft.net>
24423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24424 masking out of the most significant byte of random value used.
24425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24426 Fix coding style in previous change.
24428 * sysdeps/unix/sysv/linux/kernel-features.h
24429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24435 2012-03-11 David S. Miller <davem@davemloft.net>
24437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24440 for 'resultvar' otherwise things get truncated on 64-bit.
24442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24443 Fix masking out of the most significant byte of random value used.
24445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24447 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24451 2012-03-09 David S. Miller <davem@davemloft.net>
24453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24454 variables with appropriate CPP guards.
24455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24456 frame pointer, not the stack pointer. Correct layout comments. Fix test
24457 on resulting framesize and the management of the outregs buffer for pltexit.
24458 Preserve floating point return values across _dl_call_pltexit call.
24459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24460 framesize and the management of the outregs buffer for pltexit.
24461 Preserve floating point return values across _dl_call_pltexit
24463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24464 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24465 (print_exit): Fix format string for return register value.
24467 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24469 * sunrpc/Makefile (others): Add rpcgen.
24470 ($(objpfx)rpcgen): Remove special build rule and dependency on
24472 * sunrpc/rpcgen.c: New file.
24474 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24479 * sysdeps/i386/crti.S: Likewise.
24480 * sysdeps/i386/crtn.S: Likewise.
24481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24485 * sysdeps/sh/crti.S: Likewise.
24486 * sysdeps/sh/crtn.S: Likewise.
24487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24492 * locale/programs/locfile-kw.gperf: Likewise.
24493 * locale/programs/charmap-kw.h: Regenerated.
24494 * locale/programs/locfile-kw.h: Likewise.
24497 * intl/plural.y: Replace FSF snail mail address with URL.
24498 * intl/plural.c: Regenerated.
24500 2012-03-09 Richard Henderson <rth@twiddle.net>
24502 * include/math_private.h: Remove file.
24503 * math/math_private.h: Move file ...
24504 * sysdeps/generic/math_private.h: ... here.
24506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24511 and <math_private.h>.
24512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24661 * sysdeps/ieee754/k_standard.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24822 * sysdeps/ieee754/s_lib_version.c: Likewise.
24823 * sysdeps/ieee754/s_matherr.c: Likewise.
24824 * sysdeps/ieee754/s_signgam.c: Likewise.
24825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24847 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24850 * sunrpc/rpc_main.c: Likewise.
24851 * sunrpc/rpc_svcout.c: Likewise.
24853 2012-03-09 David S. Miller <davem@davemloft.net>
24855 * include/math_private.h: New file.
24857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24862 from <bits/socket_type.h>.
24863 (enum __socket_type): Don't define here.
24864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24866 bits/socket_type.h.
24869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24870 checking __USE_GNU.
24872 * Makerules ($(inst_includedir)/%.h): New rule.
24873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24874 (install-others): Remove variable setting.
24875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24877 2012-03-08 Richard Henderson <rth@twiddle.net>
24879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24880 from macro to inline function; merge with the
24881 !__LIBC_INTERNAL_MATH_INLINES version.
24882 (__ieee754_sqrtf): Likewise.
24884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24885 to inline function.
24886 (__rintf, __floor, __floorf): Likewise.
24888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24889 macro to inline function.
24890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24893 not <math/math_private.h>.
24895 2012-03-08 David S. Miller <davem@davemloft.net>
24897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24901 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24908 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24911 be defined individually, they must be defined as a block. Define
24912 S for printing a string instead of hidint the different by using a
24913 macro for adding the 'l'.
24914 * stdio-common/tst-fphex-wide.c: Adjust.
24916 2012-03-07 Marek Polacek <polacek@redhat.com>
24918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24920 2012-03-08 Marek Polacek <polacek@redhat.com>
24923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24924 * stdio-common/tst-fphex.c: Define a few macros to make the
24925 test reusable. Use them.
24926 * stdio-common/tst-fphex-wide.c: New file.
24928 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24931 * manual/macros.texi (gnusystems): New macro.
24932 (nongnusystems): Likewise.
24933 (gnulinuxhurdsystems): Likewise.
24934 (gnuhurdsystems): Likewise..
24935 (gnulinuxsystems): Likewise.
24936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24937 variants of the GNU system, not "GNU system".
24938 * manual/conf.texi: Likewise.
24939 * manual/errno.texi: Likewise. Update example of errno macro
24941 * manual/filesys.texi: Likewise.
24942 (getumask): Document as specific to GNU/Hurd.
24943 * manual/install.texi: Likewise. Reword some references to
24945 * manual/intro.texi: Likewise.
24946 * manual/io.texi: Likewise.
24947 (File Name Portability): Detail which constraints are inapplicable
24948 to all GNU systems and which are only inapplicable to GNU/Hurd.
24949 * manual/job.texi: Likewise.
24950 * manual/llio.texi: Likewise.
24951 (O_NOCTTY): Document as present on GNU/Linux.
24952 * manual/maint.texi: Likewise.
24953 * manual/memory.texi: Likewise.
24954 * manual/pattern.texi: Likewise.
24955 * manual/pipe.texi: Likewise.
24956 * manual/process.texi: Likewise.
24957 * manual/resource.texi: Likewise.
24958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24960 * manual/setjmp.texi: Likewise.
24961 * manual/signal.texi: Likewise.
24962 * manual/startup.texi: Likewise.
24963 * manual/stdio.texi: Likewise.
24964 * manual/terminal.texi: Likewise.
24965 (ONLCR): Document as POSIX.
24966 (OXTABS): Document availability on GNU/Linux as XTABS.
24967 (ONOEOT): Document availability separately from other bits.
24968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24969 * manual/time.texi: Likewise.
24970 * manual/users.texi: Likewise.
24971 * INSTALL: Regenerated.
24972 * sysdeps/gnu/errlist.c: Regenerated.
24974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24978 * configure: Regenerated.
24980 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24983 default includes instead of AC_HEADER_CHECK.
24984 * sysdeps/i386/configure: Regenerated.
24987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24988 * math/s_cacoshf.c (__cacoshf): Likewise.
24989 * math/s_cacoshl.c (__cacoshl): Likewise.
24990 * math/s_casinh.c (__casinh): Set signs of result from argument.
24991 * math/s_casinhf.c (__casinhf): Likewise.
24992 * math/s_casinhl.c (__casinhl): Likewise.
24993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24994 (casinh_test): Add more tests.
24995 * sysdeps/i386/fpu/libm-test-ulps: Update.
24996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24998 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25000 * po/zh_TW.po: Update from translation team.
25002 * login/Makefile (distribute): Remove variable.
25003 * catgets/Makefile: Likewise.
25004 * mach/Makefile: Likewise.
25005 * malloc/Makefile: Likewise.
25006 * misc/Makefile: Likewise.
25007 * iconv/Makefile: Likewise.
25008 * nscd/Makefile: Likewise.
25009 * hurd/Makefile: Likewise.
25010 * manual/Makefile: Likewise.
25011 * locale/Makefile: Likewise.
25012 * intl/Makefile: Likewise.
25013 * conform/Makefile: Likewise.
25014 * nss/Makefile: Likewise.
25015 * time/Makefile: Likewise.
25016 * soft-fp/Makefile: Likewise.
25017 * dirent/Makefile: Likewise.
25018 * gmon/Makefile: Likewise.
25019 * po/Makefile: Likewise.
25020 * rt/Makefile: Likewise.
25021 * socket/Makefile: Likewise.
25022 * math/Makefile: Likewise.
25023 * signal/Makefile: Likewise.
25024 * debug/Makefile: Likewise.
25025 * elf/Makefile: Likewise.
25026 * timezone/Makefile: Likewise.
25027 * stdlib/Makefile: Likewise.
25028 * iconvdata/Makefile: Likewise.
25029 * sunrpc/Makefile: Likewise.
25030 * io/Makefile: Likewise.
25031 * argp/Makefile: Likewise.
25032 * inet/Makefile: Likewise.
25033 * hesiod/Makefile: Likewise.
25034 * grp/Makefile: Likewise.
25035 * csu/Makefile: Likewise.
25036 * wctype/Makefile: Likewise.
25037 * crypt/Makefile: Likewise.
25038 * libio/Makefile: Likewise.
25039 * string/Makefile: Likewise.
25040 * nis/Makefile: Likewise.
25041 * resolv/Makefile: Likewise.
25042 * stdio-common/Makefile: Likewise.
25043 * wcsmbs/Makefile: Likewise.
25044 * dlfcn/Makefile: Likewise.
25045 * posix/Makefile: Likewise.
25048 * timezone/Makefile: Don't install timezone files, just the programs
25051 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25053 * nss/databases.def: Add missing gshadow entry.
25055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25057 2012-03-06 Marek Polacek <polacek@redhat.com>
25060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25063 * stdio-common/tst-long-dbl-fphex.c: New file.
25065 2012-03-06 David S. Miller <davem@davemloft.net>
25067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25068 (set_obp_int): New function.
25069 (get_obp_int): New function.
25070 (__get_clockfreq_via_dev_openprom): Likewise.
25071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25072 Avoid unused variable warnings on 'val' and use builtin_expect.
25073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25075 (INLINE_CLONE_SYSCALL): Likewise.
25077 2012-03-05 David S. Miller <davem@davemloft.net>
25079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25081 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25086 only for |x| >= 40.
25087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25089 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25092 Replace gettimeofday with __vdso_gettimeofday.
25094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25096 __vdso_clock_gettime and __vdso_getcpu.
25098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25099 time with __vdso_time.
25101 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25103 * manual/lang.texi (size_t): Note types to which size_t may be
25104 equivalent with the GNU C Library, but do not describe when
25105 differences between them are significant.
25107 2012-03-05 Andreas Jaeger <aj@suse.de>
25109 * sysdeps/i386/fpu/libm-test-ulps: Update.
25111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25115 (__ieee754_pow): Save and restore rounding mode and use
25116 round-to-nearest for main computations.
25117 * math/libm-test.inc (pow_test_tonearest): New function.
25118 (pow_test_towardzero): Likewise.
25119 (pow_test_downward): Likewise.
25120 (pow_test_upward): Likewise.
25121 (main): Call the new functions.
25122 * sysdeps/i386/fpu/libm-test-ulps: Update.
25123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25126 * math/libm-test.inc (cosh_test_tonearest): New function.
25127 (cosh_test_towardzero): Likewise.
25128 (cosh_test_downward): Likewise.
25129 (cosh_test_upward): Likewise.
25130 (sinh_test_tonearest): Likewise.
25131 (sinh_test_towardzero): Likewise.
25132 (sinh_test_downward): Likewise.
25133 (sinh_test_upward): Likewise.
25134 (main): Call the new functions.
25135 * sysdeps/i386/fpu/libm-test-ulps: Update.
25136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25138 2012-03-05 Tom de Vries <tom@codesourcery.com>
25140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25141 default stack guard is set in last bytes.
25142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25144 2012-03-05 Kees Cook <keescook@chromium.org>
25146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25150 possibly allocate from heap instead of stack.
25151 * stdio-common/bug-vfprintf-nargs.c: New file.
25152 * stdio-common/Makefile (tests): Add nargs overflow test.
25154 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25158 2012-03-03 Marek Polacek <polacek@redhat.com>
25160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25161 * math/math_private.h: Likewise.
25162 * stdlib/tst-strtod.c: Likewise.
25163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25164 * sysdeps/x86_64/bits/atomic.h: Likewise.
25166 2012-03-02 David S. Miller <davem@davemloft.net>
25168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25177 2012-03-02 Roland McGrath <roland@hack.frob.com>
25180 * manual/examples/README: New file, says the example source files
25181 can be used under GPL>=2.
25182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25183 line containing just "*/".
25184 * manual/examples/add.c: Add copyright header (GPL>=2).
25185 * manual/examples/argp-ex1.c: Likewise.
25186 * manual/examples/argp-ex2.c: Likewise.
25187 * manual/examples/argp-ex3.c: Likewise.
25188 * manual/examples/argp-ex4.c: Likewise.
25189 * manual/examples/atexit.c: Likewise.
25190 * manual/examples/db.c: Likewise.
25191 * manual/examples/dir.c: Likewise.
25192 * manual/examples/dir2.c: Likewise.
25193 * manual/examples/execinfo.c: Likewise.
25194 * manual/examples/filecli.c: Likewise.
25195 * manual/examples/filesrv.c: Likewise.
25196 * manual/examples/fmtmsgexpl.c: Likewise.
25197 * manual/examples/genpass.c: Likewise.
25198 * manual/examples/inetcli.c: Likewise.
25199 * manual/examples/inetsrv.c: Likewise.
25200 * manual/examples/isockad.c: Likewise.
25201 * manual/examples/longopt.c: Likewise.
25202 * manual/examples/memopen.c: Likewise.
25203 * manual/examples/memstrm.c: Likewise.
25204 * manual/examples/mkfsock.c: Likewise.
25205 * manual/examples/mkisock.c: Likewise.
25206 * manual/examples/mygetpass.c: Likewise.
25207 * manual/examples/pipe.c: Likewise.
25208 * manual/examples/popen.c: Likewise.
25209 * manual/examples/rprintf.c: Likewise.
25210 * manual/examples/search.c: Likewise.
25211 * manual/examples/select.c: Likewise.
25212 * manual/examples/setjmp.c: Likewise.
25213 * manual/examples/sigh1.c: Likewise.
25214 * manual/examples/sigusr.c: Likewise.
25215 * manual/examples/stpcpy.c: Likewise.
25216 * manual/examples/strdupa.c: Likewise.
25217 * manual/examples/strftim.c: Likewise.
25218 * manual/examples/strncat.c: Likewise.
25219 * manual/examples/subopt.c: Likewise.
25220 * manual/examples/swapcontext.c: Likewise.
25221 * manual/examples/termios.c: Likewise.
25222 * manual/examples/testopt.c: Likewise.
25223 * manual/examples/testpass.c: Likewise.
25224 * manual/examples/timeval_subtract.c: Likewise.
25227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25229 * manual/timeval_subtract.c.texi: ... here, new file.
25231 2012-03-02 David S. Miller <davem@davemloft.net>
25233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25235 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25239 (__sin): Save and restore rounding mode and use round-to-nearest
25240 for all computations.
25241 (__cos): Save and restore rounding mode and use round-to-nearest
25242 for all computations.
25243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25245 (tan): Save and restore rounding mode and use round-to-nearest for
25247 * math/libm-test.inc (cos_test_tonearest): New function.
25248 (cos_test_towardzero): Likewise.
25249 (cos_test_downward): Likewise.
25250 (cos_test_upward): Likewise.
25251 (sin_test_tonearest): Likewise.
25252 (sin_test_towardzero): Likewise.
25253 (sin_test_downward): Likewise.
25254 (sin_test_upward): Likewise.
25255 (tan_test_tonearest): Likewise.
25256 (tan_test_towardzero): Likewise.
25257 (tan_test_downward): Likewise.
25258 (tan_test_upward): Likewise.
25259 (main): Call the new functions.
25260 * sysdeps/i386/fpu/libm-test-ulps: Update.
25261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25265 small n, then large n, before computing and testing k+n.
25266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25279 * math/libm-test.inc (scalbn_test): Add more tests.
25280 (scalbln_test): Likewise.
25282 * manual/filesys.texi (mode_t): Describe constraints on size and
25283 signedness, not exact equivalence to a particular type.
25285 (ino64_t): Likewise.
25287 (nlink_t): Likewise.
25288 (blkcnt_t): Likewise.
25289 (blkcnt64_t): Likewise.
25290 * manual/llio.texi (off_t): Likewise.
25293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25294 (__ieee754_exp): Save and restore rounding mode and use
25295 round-to-nearest for all computations.
25296 * math/libm-test.inc (exp_test_tonearest): New function.
25297 (exp_test_towardzero): Likewise.
25298 (exp_test_downward): Likewise.
25299 (exp_test_upward): Likewise.
25300 (main): Call the new functions.
25301 * sysdeps/i386/fpu/libm-test-ulps: Update.
25302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25304 2012-03-01 Chris Demetriou <cgd@google.com>
25306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25307 have predictable order.
25309 2012-03-01 David S. Miller <davem@davemloft.net>
25311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25352 * sysdeps/sparc/elf/configure: Regenerated.
25354 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25356 * configure.in (AS, LD): Require binutils 2.20 or later.
25357 * configure: Regenerated.
25358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25359 as required minimum version.
25360 * INSTALL: Regenerated.
25364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25365 before squaring exponent.
25366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25367 bottom long double and 27 bits of top long double before squaring
25369 * math/libm-test.inc (erfc_test): Add more tests.
25370 * sysdeps/i386/fpu/libm-test-ulps: Update.
25371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25374 2012-03-01 Kai Tietz <ktietz@redhat.com>
25376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25378 containing bit-fields.
25379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25380 * soft-fp/single.h (_FP_UNION_S): Likewise.
25381 * soft-fp/double.h (_FP_UNION_D): Likewise.
25383 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25387 not include ../strcmp.S.
25388 [USE_AS_STRNCASECMP_L]: Likewise.
25389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25392 (__strncasecmp_l_ia32): Define as alias to
25393 __strncasecmp_l_nonascii.
25396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25397 * sysdeps/i386/fpu/libm-test-ulps: Update.
25398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25403 2012-02-29 Jeff Law <law@redhat.com>
25405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25406 out of bounds read.
25408 2012-02-29 Marek Polacek <polacek@redhat.com>
25411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25412 * elf/Makefile: Add rules to run tst-unused-dep.out.
25414 2012-02-28 David S. Miller <davem@davemloft.net>
25416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25423 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25425 * math/libm-test.inc (llround_test): Move one test from
25426 lround_test. Use TEST_f_L in moved test.
25427 (lround_test): Move misplaced test to llround_test. Add testcase
25430 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25432 * sysdeps/x86_64/fpu/e_expf.S: New file.
25433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25435 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25439 of remain_len that may cause incomplete multi-byte character and
25441 * posix/bug-regex33.c: New file.
25442 * posix/Makefile (tests): Add bug-regex33.
25444 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25446 * manual/macros.texi: New file.
25447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25448 * manual/libc.texinfo: Include macros.texi.
25449 * manual/creatute.texi: Likewise.
25450 * manual/install.texi: Likewise.
25451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25452 @glibcadj{} in references to the GNU C Library.
25453 * manual/charset.texi: Likewise.
25454 * manual/conf.texi: Likewise.
25455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25456 when not using those macros.
25457 * manual/creature.texi: Likewise.
25458 * manual/crypt.texi: Likewise.
25459 * manual/errno.texi: Likewise.
25460 * manual/filesys.texi: Likewise.
25461 * manual/header.texi: Likewise.
25462 * manual/install.texi: Likewise.
25463 * manual/intro.texi: Likewise.
25464 * manual/io.texi: Likewise.
25465 * manual/job.texi: Likewise.
25466 * manual/lang.texi: Likewise.
25467 * manual/libc.texiinfo: Likewise.
25468 * manual/llio.texi: Likewise.
25469 * manual/locale.texi: Likewise.
25470 * manual/maint.texi: Likewise.
25471 * manual/math.texi: Likewise.
25472 * manual/memory.texi: Likewise.
25473 * manual/message.texi: Likewise.
25474 * manual/nss.texi: Likewise.
25475 * manual/pattern.texi: Likewise.
25476 * manual/process.texi: Likewise.
25477 * manual/resource.texi: Likewise.
25478 * manual/search.texi: Likewise.
25479 * manual/setjmp.texi: Likewise.
25480 * manual/signal.texi: Likewise.
25481 * manual/socket.texi: Likewise.
25482 * manual/startup.texi: Likewise.
25483 * manual/stdio.texi: Likewise.
25484 * manual/string.texi: Likewise.
25485 * manual/sysinfo.texi: Likewise.
25486 * manual/syslog.texi: Likewise.
25487 * manual/terminal.texi: Likewise.
25488 * manual/time.texi: Likewise.
25489 * manual/users.texi: Likewise.
25490 * INSTALL: Regenerated.
25491 * NOTES: Regenerated.
25492 * sysdeps/gnu/errlist.c: Regenerated.
25494 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25496 * include/dirent.h: Include <dirstream.h> before
25499 2012-02-28 David S. Miller <davem@davemloft.net>
25501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25506 2012-02-27 David S. Miller <davem@davemloft.net>
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25514 frame pointer instead of stack pointer relative arg slot.
25515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25519 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25524 2012-02-27 David S. Miller <davem@davemloft.net>
25526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25535 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25538 later. Allow versions 5-9.
25539 * configure: Regenerated.
25540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25541 required minimum version and 4.6 as recommended version. Do not
25542 mention bugs in GCC 2.7 and 2.8.
25543 * INSTALL: Regenerated.
25545 2012-02-27 David S. Miller <davem@davemloft.net>
25547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25557 manipulate bits before adding and subtracting TWO112[sx].
25558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25560 2012-02-27 Roland McGrath <roland@hack.frob.com>
25563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25566 being in POSIX, because they are in 1003.1-2008.
25568 * rt/tst-aio.c: Include <fcntl.h>.
25569 * rt/tst-aio7.c: Likewise.
25570 * rt/tst-aio64.c: Likewise.
25572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25574 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25576 * manual/install.texi (--with-headers): Describe headers as
25577 interface headers, not private headers.
25578 (Specific advice for GNU/Linux systems): Describe use of headers
25579 from "make headers_install", not private headers from older
25581 * INSTALL: Regenerated.
25582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25584 * sysdeps/unix/sysv/linux/configure: Regenerated.
25586 * manual/llio.texi (fclean): Remove documentation.
25588 * manual/Makefile (libc-texi-generated): New variable. Include
25590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25591 $(libc-texi-generated), not duplicated list of files.
25592 (version.texi, stamp-version): New rules.
25593 (realclean): Remove $(libc-texi-generated), not individual files
25594 from that list. Do not remove dir-add.texinfo.
25595 * manual/libc.texinfo: Comment out uses of edition numbers and
25596 references to printed manual. Remove last-updated dates.
25597 (EDITION): Comment out.
25599 (VERSION, UPDATED): Remove.
25600 (version.texi): Include.
25602 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25604 * sysdeps/posix/spawni.c: Include <signal.h>.
25605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25606 * sysdeps/pthread/aio_fsync.c: Likewise.
25608 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25610 * conform/Makefile (tests): Run only when not cross-compiling and
25611 when fast-check is not defined.
25613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25614 * conform/data/limits.h-data: Fixes for POSIX2008.
25615 * conform/run-conformtest.sh: Run all tests.
25616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25618 * include/bits/dlfcn.h: Likewise.
25619 * include/langinfo.h: Likewise.
25620 * include/monetary.h: Likewise.
25621 * include/sys/poll.h: Likewise.
25623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25625 * posix/spawn.h: Define __need_sigset_t.
25626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25629 to get sigevent_t only.
25630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25631 only for __USE_GNU.
25632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25634 process_vm_writev only for __USE_GNU.
25635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25637 * conform/Makefile: For now ignore errors from run-conformtest.
25638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25639 POSIX to avoid namespace pollution. Don't prepend headers.
25640 * conform/data/aio.h-data: Fixes for POSIX testing.
25641 * conform/data/fcntl.h-data: Likewise.
25642 * conform/data/glob.h-data: Likewise.
25643 * conform/data/grp.h-data: Likewise.
25644 * conform/data/pthread.h-data: Likewise.
25645 * conform/data/pwd.h-data: Likewise.
25646 * conform/data/signal.h-data: Likewise.
25647 * conform/data/spawn.h-data: Likewise.
25648 * conform/data/stdio.h-data: Likewise.
25649 * conform/data/stdlib.h-data: Likewise.
25650 * conform/data/stropts.h-data: Likewise.
25651 * conform/data/sys/mman.h-data: Likewise.
25652 * conform/data/sys/stat.h-data: Likewise.
25653 * conform/data/sys/types.h-data: Likewise.
25654 * conform/data/sys/wait.h-data: Likewise.
25655 * conform/data/time.h-data: Likewise.
25656 * conform/data/unistd.h-data: Likewise.
25657 * conform/data/utime.h-data: Likewise.
25659 * io/sys/stat.h: fchmod was always in POSIX.
25660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25662 * rt/aio.h: Define __need_timespec before including <time.h>.
25663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25664 struct. Add forward declaration of pthread_attr_t and use it in
25666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25669 always remove CLK_TCK definition.
25671 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25675 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25677 * conform/run-conformtest.sh: New file.
25678 * conform/Makefile: Run run-conformtest for tests.
25679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25682 * conform/data/uchar.h-data: New file.
25683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25684 * conform/data/arpa/inet.h-data: Likewise.
25685 * conform/data/assert.h-data: Likewise.
25686 * conform/data/complex.h-data: Likewise.
25687 * conform/data/cpio.h-data: Likewise.
25688 * conform/data/ctype.h-data: Likewise.
25689 * conform/data/dirent.h-data: Likewise.
25690 * conform/data/dlfcn.h-data: Likewise.
25691 * conform/data/errno.h-data: Likewise.
25692 * conform/data/fcntl.h-data: Likewise.
25693 * conform/data/float.h-data: Likewise.
25694 * conform/data/fmtmsg.h-data: Likewise.
25695 * conform/data/fnmatch.h-data: Likewise.
25696 * conform/data/ftw.h-data: Likewise.
25697 * conform/data/glob.h-data: Likewise.
25698 * conform/data/grp.h-data: Likewise.
25699 * conform/data/iconv.h-data: Likewise.
25700 * conform/data/inttypes.h-data: Likewise.
25701 * conform/data/langinfo.h-data: Likewise.
25702 * conform/data/libgen.h-data: Likewise.
25703 * conform/data/limits.h-data: Likewise.
25704 * conform/data/locale.h-data: Likewise.
25705 * conform/data/math.h-data: Likewise.
25706 * conform/data/monetary.h-data: Likewise.
25707 * conform/data/mqueue.h-data: Likewise.
25708 * conform/data/ndbm.h-data: Likewise.
25709 * conform/data/net/if.h-data: Likewise.
25710 * conform/data/netdb.h-data: Likewise.
25711 * conform/data/netinet/in.h-data: Likewise.
25712 * conform/data/nl_types.h-data: Likewise.
25713 * conform/data/poll.h-data: Likewise.
25714 * conform/data/pthread.h-data: Likewise.
25715 * conform/data/pwd.h-data: Likewise.
25716 * conform/data/regex.h-data: Likewise.
25717 * conform/data/sched.h-data: Likewise.
25718 * conform/data/search.h-data: Likewise.
25719 * conform/data/semaphore.h-data: Likewise.
25720 * conform/data/setjmp.h-data: Likewise.
25721 * conform/data/signal.h-data: Likewise.
25722 * conform/data/spawn.h-data: Likewise.
25723 * conform/data/stdarg.h-data: Likewise.
25724 * conform/data/stdio.h-data: Likewise.
25725 * conform/data/stdlib.h-data: Likewise.
25726 * conform/data/string.h-data: Likewise.
25727 * conform/data/strings.h-data: Likewise.
25728 * conform/data/stropts.h-data: Likewise.
25729 * conform/data/sys/ipc.h-data: Likewise.
25730 * conform/data/sys/mman.h-data: Likewise.
25731 * conform/data/sys/msg.h-data: Likewise.
25732 * conform/data/sys/resource.h-data: Likewise.
25733 * conform/data/sys/select.h-data: Likewise.
25734 * conform/data/sys/sem.h-data: Likewise.
25735 * conform/data/sys/shm.h-data: Likewise.
25736 * conform/data/sys/socket.h-data: Likewise.
25737 * conform/data/sys/stat.h-data: Likewise.
25738 * conform/data/sys/statvfs.h-data: Likewise.
25739 * conform/data/sys/time.h-data: Likewise.
25740 * conform/data/sys/timeb.h-data: Likewise.
25741 * conform/data/sys/times.h-data: Likewise.
25742 * conform/data/sys/types.h-data: Likewise.
25743 * conform/data/sys/uio.h-data: Likewise.
25744 * conform/data/sys/un.h-data: Likewise.
25745 * conform/data/sys/utsname.h-data: Likewise.
25746 * conform/data/sys/wait.h-data: Likewise.
25747 * conform/data/syslog.h-data: Likewise.
25748 * conform/data/tar.h-data: Likewise.
25749 * conform/data/termios.h-data: Likewise.
25750 * conform/data/utime.h-data: Likewise.
25751 * conform/data/utmpx.h-data: Likewise.
25752 * conform/data/varargs.h-data: Likewise.
25753 * conform/data/wchar.h-data: Likewise.
25754 * conform/data/wctype.h-data: Likewise.
25755 * conform/data/wordexp.h-data: Likewise.
25757 * include/stropts.h: New file.
25758 * include/uchar.h: New file.
25759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25760 * include/assert.h: Likewise.
25761 * include/ctype.h: Likewise.
25762 * include/dirent.h: Likewise.
25763 * include/dlfcn.h: Likewise.
25764 * include/fcntl.h: Likewise.
25765 * include/fnmatch.h: Likewise.
25766 * include/glob.h: Likewise.
25767 * include/grp.h: Likewise.
25768 * include/libio.h: Likewise.
25769 * include/locale.h: Likewise.
25770 * include/math.h: Likewise.
25771 * include/net/if.h: Likewise.
25772 * include/netdb.h: Likewise.
25773 * include/netinet/in.h: Likewise.
25774 * include/pthread.h: Likewise.
25775 * include/pwd.h: Likewise.
25776 * include/regex.h: Likewise.
25777 * include/sched.h: Likewise.
25778 * include/search.h: Likewise.
25779 * include/setjmp.h: Likewise.
25780 * include/signal.h: Likewise.
25781 * include/stdio.h: Likewise.
25782 * include/stdlib.h: Likewise.
25783 * include/string.h: Likewise.
25784 * include/sys/cdefs.h: Likewise.
25785 * include/sys/mman.h: Likewise.
25786 * include/sys/msg.h: Likewise.
25787 * include/sys/resource.h: Likewise.
25788 * include/sys/select.h: Likewise.
25789 * include/sys/socket.h: Likewise.
25790 * include/sys/stat.h: Likewise.
25791 * include/sys/statvfs.h: Likewise.
25792 * include/sys/time.h: Likewise.
25793 * include/sys/times.h: Likewise.
25794 * include/sys/uio.h: Likewise.
25795 * include/sys/utsname.h: Likewise.
25796 * include/sys/wait.h: Likewise.
25797 * include/termios.h: Likewise.
25798 * include/time.h: Likewise.
25799 * include/ulimit.h: Likewise.
25800 * include/unistd.h: Likewise.
25801 * include/utime.h: Likewise.
25802 * include/wchar.h: Likewise.
25803 * include/wctype.h: Likewise.
25804 * include/wordexp.h: Likewise.
25806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25808 * time/time.h: TIME_UTC must be a macro.
25809 Make timespec_get available for ISO C11 only as well.
25811 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25818 * configure.in: Use -o not -a in test for unsupported multi-arch.
25820 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25822 * manual/texinfo.tex: Update to version 2012-01-19.16.
25824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25828 2012-02-24 Roland McGrath <roland@hack.frob.com>
25831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25832 * manual/fdl-1.3.texi: New file.
25833 * manual/fdl-1.1.texi: File removed.
25836 * manual/libc.texinfo (FDL_VERSION): New @set.
25837 Use it for mention of FDL in cover text.
25838 (Documentation License): Use it in @include file name.
25840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25841 Roland McGrath <roland@hack.frob.com>
25844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25845 not LONG_LONG_MAX and LONG_LONG_MIN.
25846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25856 manipulate bits before adding and subtracting TWO23[sx].
25857 * math/libm-test.inc (nearbyint_test): Add more tests.
25859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25863 bits before adding and subtracting TWO23[sx].
25864 * math/libm-test.inc (rint_test): Add more tests.
25865 (rint_test_tonearest): Likewise.
25866 (rint_test_towardzero): Likewise.
25867 (rint_test_downward): Likewise.
25868 (rint_test_upward: Likewise.
25870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25873 * include/stdc-predef.h: New file. Extracted from features.h.
25874 * include/features.h: Include stdc-predef.h.
25875 * Makefile (headers): Add stdc-predef.h.
25876 * CONFORMANCE (Compiler limitations): Update.
25878 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25882 2012-02-21 David S. Miller <davem@davemloft.net>
25884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25887 2012-02-20 David S. Miller <davem@davemloft.net>
25889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25890 using a normal save/restore sequence, rather than allocating a
25891 dummy stack frame just to store a frame pointer and restore.
25892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25894 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25896 * manual/install.texi: Fix stray word in line-wrapped comment.
25898 2012-02-20 David S. Miller <davem@davemloft.net>
25900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25901 both binutils and gcc support GOTDATA.
25903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25904 "rd %pc" in the PIC register setup sequences.
25906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25915 (SYSCALL_ERROR_HANDLER): Likewise.
25916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25919 (SYSCALL_ERROR_HANDLER): Likewise.
25921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25922 (HAVE_GCC_GOTDATA): New.
25923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25924 relocation support in both binutils and gcc.
25925 * sysdeps/sparc/elf/configure: Regenerate.
25927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25928 * sysdeps/sparc/sparc32/elf/configure: Delete.
25929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25930 * sysdeps/sparc/sparc64/elf/configure: Delete.
25931 * sysdeps/sparc/elf/configure.in: New file.
25932 * sysdeps/sparc/elf/configure: Generate.
25934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25940 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25942 * manual/install.texi: Do not mention specific glibc version
25944 * manual/libc.texinfo (VERSION, UPDATED): Update.
25945 (@copying): Use @copyright{} and range of years.
25947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25951 [crti.S not in sysdirs] (generated): Do not append.
25952 [crti.S not in sysdirs] (omit-deps): Likewise.
25953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25962 * csu/defs.awk: Remove file.
25963 * sysdeps/generic/initfini.c: Likewise.
25964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25969 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25979 (__EPOLL_PACKED): Define to empty if not defined by
25981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25985 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25996 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26005 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26010 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26020 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26022 * math/w_acos.c: Use non-signaling floating-point comparisons.
26023 * math/w_acosf.c: Likewise.
26024 * math/w_acosh.c: Likewise.
26025 * math/w_acoshf.c: Likewise.
26026 * math/w_acoshl.c: Likewise.
26027 * math/w_acosl.c: Likewise.
26028 * math/w_asin.c: Likewise.
26029 * math/w_asinf.c: Likewise.
26030 * math/w_asinl.c: Likewise.
26031 * math/w_atanh.c: Likewise.
26032 * math/w_atanhf.c: Likewise.
26033 * math/w_atanhl.c: Likewise.
26034 * math/w_exp2.c: Likewise.
26035 * math/w_exp2f.c: Likewise.
26036 * math/w_exp2l.c: Likewise.
26037 * math/w_j0.c: Likewise.
26038 * math/w_j0f.c: Likewise.
26039 * math/w_j0l.c: Likewise.
26040 * math/w_j1.c: Likewise.
26041 * math/w_j1f.c: Likewise.
26042 * math/w_j1l.c: Likewise.
26043 * math/w_jn.c: Likewise.
26044 * math/w_jnf.c: Likewise.
26045 * math/w_log.c: Likewise.
26046 * math/w_log10.c: Likewise.
26047 * math/w_log10f.c: Likewise.
26048 * math/w_log10l.c: Likewise.
26049 * math/w_log2.c: Likewise.
26050 * math/w_log2f.c: Likewise.
26051 * math/w_log2l.c: Likewise.
26052 * math/w_logf.c: Likewise.
26053 * math/w_logl.c: Likewise.
26054 * math/w_sqrt.c: Likewise.
26055 * math/w_sqrtf.c: Likewise.
26056 * math/w_sqrtl.c: Likewise.
26057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26063 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26066 * manual/string.texi (strnlen): Use correct parameter name in
26067 equivalent expression.
26069 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26072 * manual/users.texi (seteuid): Consistently use neweuid for
26075 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26078 * manual/nss.texi (Services in the NSS configuration): Correct
26079 list of services in example configuration file.
26081 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26084 * manual/arith.texi: Remove statements about negative zero
26085 behaving identically to zero.
26087 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26090 * manual/install.texi: Do not document upgrading from libc5.
26092 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26097 2012-02-18 David S. Miller <davem@davemloft.net>
26099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26101 %o7 across the call.
26102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26105 SETUP_PIC_REG_LEAF.
26106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26108 * sysdeps/sparc/crtn.S: Likewise.
26110 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26112 * aout/Makefile: Remove.
26114 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26117 * manual/examples/argp-ex1.c (main): Format definition in GNU
26119 * manual/examples/argp-ex2.c (main): Likewise.
26120 * manual/examples/argp-ex3.c (main): Likewise.
26121 * manual/examples/argp-ex4.c (main): Likewise.
26122 * manual/examples/longopt.c (main): Use new-style prototype
26124 * manual/examples/strncat.c (main): Specify return type and use
26125 (void) for arguments.
26126 * manual/examples/subopt.c (main): Use char **argv argument.
26128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26134 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26137 * manual/string.texi (strchr): Change when strchrnul is
26140 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26143 * manual/locale.texi (setlocale): Document LOCPATH.
26145 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26148 * manual/process.texi (execle): Move @dots{} before last argument.
26150 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26153 * manual/charset.texi (Generic Charset Conversion): Fix typo
26154 (LC_TYPE -> LC_CTYPE).
26156 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26160 (scalbnf): Likewise.
26161 (scalbnl): Likewise.
26162 (scalbln): Likewise.
26163 (scalblnf): Likewise.
26164 (scalblnl): Likewise.
26165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26166 (vwarnx): Likewise.
26169 * manual/filesys.texi (telldir): Use braces around return type.
26170 * manual/llio.texi (mmap): Add space after comma.
26171 (mmap64): Likewise.
26172 * manual/math.texi (jn): Use @var{} on parameter names.
26178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26183 (sched_get_priority_max): Likewise.
26184 * manual/signal.texi (sigvec): Add space after comma.
26185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26187 (if_indextoname): Likewise.
26188 (if_freenameindex): Likewise.
26189 (sendto): Use ',' instead of '.' in prototype.
26190 * manual/startup.texi (syscall): Use @dots{} instead of literal
26192 * manual/stdio.texi (__fpending): Separate initial words of
26193 paragraph from @deftypefun line.
26194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26196 (vsyslog): Use @var{} on parameter names.
26197 * manual/terminal.texi (stty): Use @var{} on parameter names.
26198 * manual/users.texi (getutmp): Use @var{} on parameter names.
26199 (getutmpx): Likewise.
26201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26204 * manual/stdio.texi (fopen): Fix typos in description of
26207 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26211 get clock_id definition.
26213 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26217 (madvise): Cast every argument to void on its own.
26219 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26222 * manual/startup.texi (Exit Status): Fix typo.
26224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26228 * manual/examples/argp-ex2.c: Likewise.
26229 * manual/examples/argp-ex3.c: Likewise.
26231 2012-02-16 Richard Henderson <rth@redhat.com>
26233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26234 * sysdeps/s390/s390-32/initfini.c: Remove.
26235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26236 * sysdeps/s390/s390-64/initfini.c: Remove.
26238 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26241 compiler output for sysdeps/generic/initfini.c.
26242 * sysdeps/sh/elf/initfini.c: Remove file.
26244 2012-02-16 David S. Miller <davem@davemloft.net>
26247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26250 * sysdeps/sparc/crti.S: New file.
26251 * sysdeps/sparc/crtn.S: New file.
26252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26253 * sysdeps/sparc/sparc64/Makefile: Likewise.
26255 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26260 2012-02-15 Roland McGrath <roland@hack.frob.com>
26263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26266 (write, read, close): Likewise.
26267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26269 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26280 2012-02-14 Marek Polacek <polacek@redhat.com>
26282 * sysdeps/x86_64/crti.S: New file.
26283 * sysdeps/x86_64/crtn.S: New file.
26284 * sysdeps/x86_64/elf/initfini.c: Remove file.
26286 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26297 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26308 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26311 __feraiseexcept instead of feraiseexcept.
26313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26314 nanosleep invocations.
26315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26316 strings, and add error checking for a nanosleep invocations.
26318 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26320 Replace FSF snail mail address with URLs, as per GNU coding standards.
26321 Most of the snail mail addresses were wrong anyway, and omitting
26322 them makes the source code easier to maintain. Almost all of the
26323 changes are to license notices and to locale LC_IDENTIFICATION
26324 addresses, except for this one:
26325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26326 not its snail mail address.
26328 2012-02-09 Richard Henderson <rth@twiddle.net>
26330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26331 of kernel-features.h.
26333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26335 2012-02-08 Marek Polacek <polacek@redhat.com>
26337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26339 * sysdeps/gnu/_G_config.h: Likewise.
26340 * sysdeps/generic/_G_config.h: Likewise.
26342 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26348 * sysdeps/powerpc/powerpc32/crti.S: New file.
26349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26350 * sysdeps/powerpc/powerpc64/crti.S: New file.
26351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26353 * Makeconfig (have-initfini): Don't set.
26354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26355 * configure.in (nopic_initfini): Don't substitute.
26356 * config.h.in (HAVE_INITFINI): Don't #undef.
26357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26360 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26362 Support crti.S and crtn.S provided directly by architectures.
26363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26364 [crti.S in sysdirs] (omit-deps): Likewise.
26365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26374 compiler output for sysdeps/generic/initfini.c.
26375 * sysdeps/i386/elf/Makefile: Remove file.
26376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26378 2012-02-07 Marek Polacek <polacek@redhat.com>
26380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26381 * sysdeps/gnu/_G_config.h: Likewise.
26382 * sysdeps/mach/hurd/_G_config.h: Likewise.
26384 2012-02-07 Marek Polacek <polacek@redhat.com>
26386 * math/Makefile (tests): Add tst-CMPLX2.
26387 * math/tst-CMPLX2.c: New file.
26389 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26393 * math/libm-test.inc (jn_test): Add missing L suffix.
26395 2012-02-06 Marek Polacek <polacek@redhat.com>
26397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26398 * sysdeps/i386/fpu/e_powf.S: Likewise.
26399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26402 * sysdeps/i386/fpu/e_pow.S: Likewise.
26403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26407 * sysdeps/i386/fpu/e_log2.S: Likewise.
26408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26410 * sysdeps/i386/fpu/e_powl.S: Likewise.
26411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26414 * sysdeps/i386/fpu/e_logl.S: Likewise.
26415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26421 * sysdeps/i386/fpu/e_log.S: Likewise.
26422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26425 * sysdeps/i386/fpu/e_logf.S: Likewise.
26426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26431 * sysdeps/i386/fpu/e_log10.S: Likewise.
26432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26438 * sysdeps/i386/asm-syntax.h: Likewise.
26439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26448 * sysdeps/powerpc/sysdep.h: Likewise.
26449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26452 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26457 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26459 * sysdeps/i386/sysdep.h: Include <features.h>.
26460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26463 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26473 (SETUP_PIC_REG): Use GET_PC_THUNK.
26474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26480 for non-PIC compilation.
26481 (SETUP_PIC_REG): Add .p2align directive.
26482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26524 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26526 * math/tst-CMPLX.c: Include <stdio.h>.
26528 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26533 * sysdeps/sparc/bits/mathdef.h: Likewise.
26535 2012-01-31 Marek Polacek <polacek@redhat.com>
26537 * libio/libio.h: Don't define _PARAMS.
26538 * locale/programs/config.h: Don't define PARAMS.
26539 * stdlib/strtol_l.c: Likewise.
26540 (__strtol_l): Remove PARAMS from the prototype.
26542 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26545 names. Just use the correct names. Remove unnecessary wrapper
26547 * malloc/arena.c: Likewise.
26548 * malloc/hooks.c: Likewise.
26550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26551 ARENA_TEST says not to. Simplify test for creation of a new arena.
26552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26554 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26558 (update_get_addr): New function.
26559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26560 GET_ADDR_MODULE parameter.
26562 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26564 * crypt/cert.c: Remove __STDC__ conditionals.
26565 * crypt/crypt-entry.c: Likewise.
26566 * crypt/crypt_util.c: Likewise.
26567 * libio/filedoalloc.c: Likewise.
26568 * libio/fileops.c: Likewise.
26569 * libio/genops.c: Likewise.
26570 * libio/iofclose.c: Likewise.
26571 * libio/iofdopen.c: Likewise.
26572 * libio/iofopen.c: Likewise.
26573 * libio/iofopen64.c: Likewise.
26574 * libio/iogetdelim.c: Likewise.
26575 * libio/iopopen.c: Likewise.
26576 * libio/obprintf.c: Likewise.
26577 * libio/oldfileops.c: Likewise.
26578 * libio/oldiofclose.c: Likewise.
26579 * libio/oldiofdopen.c: Likewise.
26580 * libio/oldiofopen.c: Likewise.
26581 * libio/oldiopopen.c: Likewise.
26582 * libio/wfiledoalloc.c: Likewise.
26583 * libio/wgenops.c: Likewise.
26584 * locale/programs/xmalloc.c: Likewise.
26585 * misc/syslog.c: Likewise.
26586 * stdio-common/xbug.c: Likewise.
26587 * string/memchr.c: Likewise.
26588 * string/memcmp.c: Likewise.
26589 * string/memrchr.c: Likewise.
26590 * string/rawmemchr.c: Likewise.
26591 * sysdeps/posix/getcwd.c: Likewise.
26592 * time/strftime_l.c: Likewise.
26594 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26597 * config.make.in (config-cflags-sse2avx): Define.
26598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26601 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26603 * scripts/config.guess: Update from upstream config git repository.
26604 * scripts/config.sub: Likewise.
26606 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26610 (R_TILEPRO_*, R_TILEGX_*): New macros.
26612 * scripts/firstversions.awk: Fix bug in version range handling.
26614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26618 * include/sys/epoll.h: New file.
26619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26622 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26625 Avoid unnecessary __WORDSIZE == 64 test.
26626 (fmaxf): Use VEX format if possible.
26631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26632 * math/math_private.h: Remove libc_fegetround* and
26634 * sysdeps/i386/configure.in: Check for -msse2avx.
26635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26636 also if SSE2AVX is defined.
26637 Remove libc_fegetround* and libc_fesetround*.
26638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26650 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26656 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26661 * Makeconfig (libm): Define.
26662 * elf/Makefile: Add rules to build and run tst-relsort1.
26663 * elf/tst-relsort1.c: New file.
26664 * elf/tst-relsort1mod1.c: New file.
26665 * elf/tst-relsort1mod2.c: New file.
26667 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26669 * math/s_ldexp.c: Remove __STDC__ conditionals.
26670 * math/s_ldexpf.c: Likewise.
26671 * math/s_ldexpl.c: Likewise.
26672 * math/s_nextafter.c: Likewise.
26673 * math/s_nexttowardf.c: Likewise.
26674 * math/s_significand.c: Likewise.
26675 * math/s_significandf.c: Likewise.
26676 * math/s_significandl.c: Likewise.
26677 * math/w_jnl.c: Likewise.
26678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26718 * sysdeps/ieee754/k_standard.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26798 * sysdeps/ieee754/s_matherr.c: Likewise.
26799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26804 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26806 * crypt/md5.h: Remove __STDC__ conditionals.
26807 * libio/libioP.h: Likewise.
26808 * locale/programs/config.h: Likewise.
26809 * sysdeps/generic/sysdep.h: Likewise.
26810 * sysdeps/i386/asm-syntax.h: Likewise.
26811 * sysdeps/s390/asm-syntax.h: Likewise.
26812 * sysdeps/unix/sysdep.h: Likewise.
26813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26816 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26818 * libio/libio.h: Remove __STDC__ conditionals.
26819 * malloc/obstack.h: Likewise.
26820 * math/complex.h: Likewise.
26821 * math/math.h: Likewise.
26822 * sysdeps/generic/_G_config.h: Likewise.
26823 * sysdeps/gnu/_G_config.h: Likewise.
26824 * sysdeps/mach/hurd/_G_config.h: Likewise.
26825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26827 * sysdeps/sparc/bits/mathdef.h: Likewise.
26829 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26833 Clean up HAS_* macros.
26834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26845 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26847 * elf/tst-unique3.cc (gets): Remove declaration.
26848 * elf/tst-unique3lib.cc (gets): Likewise.
26849 * elf/tst-unique3lib2.cc (gets): Likewise.
26850 * elf/tst-unique4.cc (gets): Likewise.
26852 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26854 * include/stdio.h: Add C++ protection. Add gets declarations and
26856 * debug/tst-chk1.c: Don't declare gets here.
26857 * stdio-common/tst-gets.c: Likewise.
26859 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26861 * posix/glob: Remove directory.
26863 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26867 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26870 of the non-standard EPFNOSUPPORT.
26872 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26878 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26882 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26886 * nscd/grpcache.c (cache_addgr): Likewise.
26887 * nscd/hstcache.c (cache_addhst): Likewise.
26888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26889 * nscd/pwdcache.c (cache_addpw): Likewise.
26890 * nscd/servicescache.c (cache_addserv): Likewise.
26892 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26894 * malloc/malloc.c: Various cleanups.
26895 * malloc/hooks.c: Likewise.
26897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26898 * stdlib/bug-fmtmsg1.c: New file.
26900 * stdlib/fmtmsg.c (init): Add missing unlock.
26901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26903 2012-01-12 Marek Polacek <polacek@redhat.com>
26905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26908 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26912 macro to ensure uniqueness of label name.
26913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26916 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26925 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26940 * math/bits/math-finite.h: Add ldexp support.
26942 2012-01-10 Marek Polacek <polacek@redhat.com>
26944 * locale/programs/localedef.h (show_archive_content): Add noreturn
26947 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26951 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26955 * io/Makefile (headers): Add bits/poll2.h.
26957 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26960 typo #include statement.
26962 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26964 * include/sys/cdefs.h: Define __attribute_alloc_size.
26965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26967 * elf/pldd.c: Likewise.
26968 * iconv/iconv_charmap.c: Likewise.
26969 * iconv/iconvconfig.c: Likewise.
26970 * iconv/strtab.c: Likewise.
26971 * locale/programs/locale.c: Likewise.
26972 * locale/programs/localedef.h: Likewise.
26973 * locale/programs/simple-hash.c: Likewise.
26974 * nscd/nscd.h: Likewise.
26975 * nss/makedb.c: Likewise.
26976 * sysdeps/generic/ldconfig.h: Likewise.
26977 * locale/programs/localedef.c: Remove xmalloc prototype.
26978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26980 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26987 * math/Makefile (tests): Add tst-CMPLX.
26988 * math/tst-CMPLX.c: New file.
26990 * math/complex.h (CMPLXL): Fix typo.
26992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26995 * debug/tst-chk1.c: Add poll and ppoll tests.
26996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26997 * include/sys/poll.h: Add hidden proto for ppoll.
26998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26999 * sysdeps/mach/hurd/ppoll.c: Likewise.
27000 * io/ppoll.c: Likewise.
27001 * debug/poll_chk.c: New file.
27002 * debug/ppoll_chk.c: New file.
27003 * include/bits/poll2.h: New file.
27004 * io/bits/poll2.h: New file.
27007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27009 * configure.in: static is always set to yes. Remove.
27010 * config.make.in: Don't set build-static.
27011 * Makeconfig: Remove use of build-static.
27012 * dlfcn/Makefile: Likewise.
27013 * elf/Makefile: Likewise.
27014 * math/Makefile: Likewise.
27015 * misc/Makefile: Likewise.
27016 * nptl/Makefile: Likewise.
27017 * sysdeps/mach/hurd/Makefile: Likewise.
27019 * configure.in: PWD_P is not used anymore.
27020 * config.make.in: Remove PWD_P entry.
27022 * configure.in: Remove last remnants of RANLIB.
27023 No need to check for signed size_t anymore.
27024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27026 Remove __builtin_expect test because we require at least gcc 3.4.
27027 * aclocal.m4: Likewise.
27029 * wcsmbs/mbrtoc16.c: Implement using towc function.
27030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27031 * wcsmbs/wcsmbsload.c: Likewise.
27032 * iconv/gconv_simple.c: Likewise.
27033 * iconv/gconv_int.h: Likewise.
27034 * iconv/gconv_builtin.h: Likewise.
27035 * iconv/iconv_prog.c: Remove CHAR16 handling.
27037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27041 * configure.in: Remove --with-elf and --enable-bounded options.
27042 Dont set base_machine for ia64. More non-ELF conditions removed.
27043 Remove testing and setting of leading underscore information.
27044 * config.make.in (build-bounded): Set to no.
27045 * config.h.in: Remove NO_UNDERSCORES entry.
27046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27048 * csu/start.c: Remove !NO_UNDERSCORE code.
27049 * locale/localeinfo.h: Likewise.
27050 * sysdeps/generic/machine-gmon.h: Likewise.
27051 * sysdeps/generic/sysdep.h: Likewise.
27052 * sysdeps/i386/sysdep.h: Likewise.
27053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27054 * sysdeps/mach/sysdep.h: Likewise.
27055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27057 * sysdeps/sh/sysdep.h: Likewise.
27058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27059 * sysdeps/unix/i386/sysdep.S: Likewise.
27060 * sysdeps/unix/sparc/start.c: Likewise.
27061 * sysdeps/unix/sparc/sysdep.S: Likewise.
27062 * sysdeps/unix/sparc/sysdep.h: Likewise.
27063 * sysdeps/unix/start.c: Likewise.
27064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27065 * sysdeps/x86_64/sysdep.h: Likewise.
27067 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27072 * argp/argp-fmtstream.h: Use const instead __const.
27073 * argp/argp.h: Likewise.
27074 * assert/assert.h: Likewise.
27075 * bits/fenv.h: Likewise.
27076 * bits/sched.h: Likewise.
27077 * bits/sigset.h: Likewise.
27078 * bits/sigthread.h: Likewise.
27079 * catgets/nl_types.h: Likewise.
27080 * conform/data/pthread.h-data: Likewise.
27081 * crypt/crypt-private.h: Likewise.
27082 * crypt/crypt.h: Likewise.
27083 * crypt/crypt_util.c: Likewise.
27084 * ctype/ctype.h: Likewise.
27085 * debug/execinfo.h: Likewise.
27086 * debug/mbsnrtowcs_chk.c: Likewise.
27087 * debug/mbsrtowcs_chk.c: Likewise.
27088 * debug/wcsnrtombs_chk.c: Likewise.
27089 * debug/wcsrtombs_chk.c: Likewise.
27090 * debug/wcstombs_chk.c: Likewise.
27091 * dirent/dirent.h: Likewise.
27092 * dlfcn/dlfcn.h: Likewise.
27093 * elf/neededtest4.c: Likewise.
27094 * grp/grp.h: Likewise.
27095 * gshadow/gshadow.h: Likewise.
27096 * iconv/gconv.h: Likewise.
27097 * iconv/gconv_int.h: Likewise.
27098 * iconv/gconv_simple.c: Likewise.
27099 * iconv/iconv.h: Likewise.
27100 * iconv/loop.c: Likewise.
27101 * iconv/skeleton.c: Likewise.
27102 * include/aio.h: Likewise.
27103 * include/aliases.h: Likewise.
27104 * include/argz.h: Likewise.
27105 * include/arpa/inet.h: Likewise.
27106 * include/assert.h: Likewise.
27107 * include/dirent.h: Likewise.
27108 * include/dlfcn.h: Likewise.
27109 * include/execinfo.h: Likewise.
27110 * include/fcntl.h: Likewise.
27111 * include/fenv.h: Likewise.
27112 * include/glob.h: Likewise.
27113 * include/grp.h: Likewise.
27114 * include/libintl.h: Likewise.
27115 * include/mntent.h: Likewise.
27116 * include/netdb.h: Likewise.
27117 * include/pwd.h: Likewise.
27118 * include/rpc/netdb.h: Likewise.
27119 * include/sched.h: Likewise.
27120 * include/search.h: Likewise.
27121 * include/shadow.h: Likewise.
27122 * include/signal.h: Likewise.
27123 * include/stdio.h: Likewise.
27124 * include/stdlib.h: Likewise.
27125 * include/string.h: Likewise.
27126 * include/sys/socket.h: Likewise.
27127 * include/sys/stat.h: Likewise.
27128 * include/sys/statfs.h: Likewise.
27129 * include/sys/statvfs.h: Likewise.
27130 * include/sys/syslog.h: Likewise.
27131 * include/sys/time.h: Likewise.
27132 * include/sys/uio.h: Likewise.
27133 * include/time.h: Likewise.
27134 * include/unistd.h: Likewise.
27135 * include/utmp.h: Likewise.
27136 * include/wchar.h: Likewise.
27137 * include/wctype.h: Likewise.
27138 * inet/aliases.h: Likewise.
27139 * inet/arpa/inet.h: Likewise.
27140 * inet/netinet/ether.h: Likewise.
27141 * inet/netinet/in.h: Likewise.
27142 * intl/libintl.h: Likewise.
27143 * io/bits/fcntl2.h: Likewise.
27144 * io/fcntl.h: Likewise.
27145 * io/ftw.h: Likewise.
27146 * io/sys/poll.h: Likewise.
27147 * io/sys/stat.h: Likewise.
27148 * io/sys/statfs.h: Likewise.
27149 * io/sys/statvfs.h: Likewise.
27150 * io/utime.h: Likewise.
27151 * libio/bits/stdio.h: Likewise.
27152 * libio/bits/stdio2.h: Likewise.
27153 * libio/libio.h: Likewise.
27154 * libio/libioP.h: Likewise.
27155 * libio/stdio.h: Likewise.
27156 * locale/lc-ctype.c: Likewise.
27157 * locale/locale.h: Likewise.
27158 * login/utmp.h: Likewise.
27159 * malloc/arena.c: Likewise.
27160 * malloc/malloc.c: Likewise.
27161 * malloc/malloc.h: Likewise.
27162 * malloc/mcheck.c: Likewise.
27163 * malloc/mtrace.c: Likewise.
27164 * math/bits/mathcalls.h: Likewise.
27165 * math/fenv.h: Likewise.
27166 * math/math_private.h: Likewise.
27167 * misc/bits/error.h: Likewise.
27168 * misc/bits/syslog.h: Likewise.
27169 * misc/err.h: Likewise.
27170 * misc/error.h: Likewise.
27171 * misc/fstab.h: Likewise.
27172 * misc/mntent.h: Likewise.
27173 * misc/regexp.h: Likewise.
27174 * misc/search.h: Likewise.
27175 * misc/sgtty.h: Likewise.
27176 * misc/sys/mman.h: Likewise.
27177 * misc/sys/syslog.h: Likewise.
27178 * misc/sys/uio.h: Likewise.
27179 * misc/sys/xattr.h: Likewise.
27180 * misc/ttyent.h: Likewise.
27181 * nis/rpcsvc/ypclnt.h: Likewise.
27182 * nss/nss.h: Likewise.
27183 * posix/bits/unistd.h: Likewise.
27184 * posix/fnmatch.h: Likewise.
27185 * posix/glob.h: Likewise.
27186 * posix/sched.h: Likewise.
27187 * posix/spawn.h: Likewise.
27188 * posix/sys/wait.h: Likewise.
27189 * posix/unistd.h: Likewise.
27190 * posix/wordexp.h: Likewise.
27191 * pwd/pwd.h: Likewise.
27192 * resolv/netdb.h: Likewise.
27193 * resource/sys/resource.h: Likewise.
27194 * rt/aio.h: Likewise.
27195 * rt/bits/mqueue2.h: Likewise.
27196 * rt/mqueue.h: Likewise.
27197 * shadow/shadow.h: Likewise.
27198 * signal/signal.h: Likewise.
27199 * socket/send.c: Likewise.
27200 * socket/sendto.c: Likewise.
27201 * socket/sys/socket.h: Likewise.
27202 * stdio-common/printf.h: Likewise.
27203 * stdlib/bits/stdlib.h: Likewise.
27204 * stdlib/fmtmsg.h: Likewise.
27205 * stdlib/monetary.h: Likewise.
27206 * stdlib/stdlib.h: Likewise.
27207 * stdlib/ucontext.h: Likewise.
27208 * streams/stropts.h: Likewise.
27209 * string/argz.h: Likewise.
27210 * string/bits/string2.h: Likewise.
27211 * string/string.h: Likewise.
27212 * string/strings.h: Likewise.
27213 * sunrpc/rpc/auth.h: Likewise.
27214 * sunrpc/rpc/auth_des.h: Likewise.
27215 * sunrpc/rpc/clnt.h: Likewise.
27216 * sunrpc/rpc/netdb.h: Likewise.
27217 * sunrpc/rpc/pmap_clnt.h: Likewise.
27218 * sunrpc/rpc/xdr.h: Likewise.
27219 * sysdeps/generic/inttypes.h: Likewise.
27220 * sysdeps/generic/net/if.h: Likewise.
27221 * sysdeps/generic/sys/swap.h: Likewise.
27222 * sysdeps/gnu/net/if.h: Likewise.
27223 * sysdeps/gnu/utmpx.h: Likewise.
27224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27225 * sysdeps/i386/i486/bits/string.h: Likewise.
27226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27227 * sysdeps/s390/bits/string.h: Likewise.
27228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27259 * sysvipc/sys/ipc.h: Likewise.
27260 * sysvipc/sys/msg.h: Likewise.
27261 * sysvipc/sys/sem.h: Likewise.
27262 * sysvipc/sys/shm.h: Likewise.
27263 * termios/termios.h: Likewise.
27264 * time/sys/time.h: Likewise.
27265 * time/time.h: Likewise.
27266 * wcsmbs/bits/wchar2.h: Likewise.
27267 * wcsmbs/uchar.h: Likewise.
27268 * wcsmbs/wchar.h: Likewise.
27269 * wctype/wctype.h: Likewise.
27272 * Makeconfig: Remove all but ELF support including AIX support.
27273 * Makerules: Likewise.
27274 * config.h.in: Likewise.
27275 * config.make.in: Likewise.
27276 * configure: Likewise.
27277 * configure.in: Likewise.
27278 * csu/Makefile: Likewise.
27279 * csu/version.c: Likewise.
27280 * debug/Makefile: Likewise.
27281 * dlfcn/Makefile: Likewise.
27282 * elf/Makefile: Likewise.
27283 * extra-lib.mk: Likewise.
27284 * iconv/Makefile: Likewise.
27285 * include/libc-symbols.h: Likewise.
27286 * include/shlib-compat.h: Likewise.
27287 * resolv/Makefile: Likewise.
27288 * resolv/res_libc.c: Likewise.
27289 * rt/Makefile: Likewise.
27290 * sysdeps/i386/asm-syntax.h: Likewise.
27291 * sysdeps/i386/sysdep.h: Likewise.
27292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27293 * sysdeps/mach/sysdep.h: Likewise.
27294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27296 * sysdeps/s390/asm-syntax.h: Likewise.
27297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27299 * sysdeps/sh/sysdep.h: Likewise.
27300 * sysdeps/unix/sparc/sysdep.h: Likewise.
27301 * sysdeps/wordsize-32/divdi3.c: Likewise.
27302 * sysdeps/x86_64/sysdep.h: Likewise.
27304 * argp/Versions: Remove _argp_unlock_xxx.
27307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27308 * abilist/libBrokenLocale.abilist: Likewise.
27309 * abilist/libanl.abilist: Likewise.
27310 * abilist/libc.abilist: Likewise.
27311 * abilist/libcrypt.abilist: Likewise.
27312 * abilist/libdl.abilist: Likewise.
27313 * abilist/libm.abilist: Likewise.
27314 * abilist/libnsl.abilist: Likewise.
27315 * abilist/libpthread.abilist: Likewise.
27316 * abilist/libresolv.abilist: Likewise.
27317 * abilist/librt.abilist: Likewise.
27318 * abilist/libthread_db.abilist: Likewise.
27319 * abilist/libutil.abilist: Likewise.
27320 * abilist/libnss_db.abilist: New file.
27322 * scripts/abilist.awk: Add support for indirect functions.
27324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27328 * shlib-versions: Remove entries for ports architectures.
27330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27332 * elf/stackguard-macros.h: Remove support for IA-64.
27333 * elf/tst-auditmod1.c: Likewise.
27334 * sysdeps/generic/ldsodefs.h: Likewise.
27336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27341 * configure.in: Remove --enable-omitfp support.
27343 * config.make.in: Likewise.
27344 * Makeconfig: Likewise.
27345 * manual/install.texi: Likewise.
27347 In case anyone cares, the IA-64 architecture could move to ports.
27348 * sysdeps/ia64/*: Removed.
27349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27353 * configure.in: Remove entries for unsupported architectures.
27356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27362 fall back to using wcrtomb.
27363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27367 * wcsmbs/tst-c16c32-1.c: New file.
27369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27374 * elf/tst-unique3.cc: Add explicit declaration of gets.
27375 * elf/tst-unique3lib.cc: Likewise.
27376 * elf/tst-unique3lib2.cc: Likewise.
27377 * elf/tst-unique4.cc: Likewise.
27379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27381 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27384 * assert/assert.h (static_assert): Don't define for C++.
27385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27388 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27390 * iconv/loop.c (single loop): Fix assertion in storing of
27393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27395 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27397 * posix/getconf.c: Update copyright year.
27398 * nss/getent.c: Likewise.
27399 * nss/makedb.c: Likewise.
27400 * iconv/iconvconfig.c: Likewise.
27401 * iconv/iconv_prog.c: Likewise.
27402 * elf/ldconfig.c: Likewise.
27403 * elf/pldd.c: Likewise.
27404 * elf/sotruss.ksh: Likewise.
27405 * catgets/gencat.c: Likewise.
27406 * csu/version.c: Likewise.
27407 * elf/ldd.bash.in: Likewise.
27408 * elf/sprof.c (print_version): Likewise.
27409 * locale/programs/locale.c: Likewise.
27410 * locale/programs/localedef.c: Likewise.
27411 * login/programs/pt_chown.c: Likewise.
27412 * nscd/nscd.c (print_version): Likewise.
27413 * debug/xtrace.sh: Likewise.
27414 * malloc/memusage.sh: Likewise.
27415 * malloc/mtrace.pl: Likewise.
27416 * debug/catchsegv.sh: Likewise.
27418 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27423 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27429 * iconv/gconv_int.h: Likewise.
27430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27432 from libc for GLIBC_2.16.
27433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27435 * wcsmbs/uchar.h: Really define mbstate_t.
27436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27437 * wcsmbs/c16rtomb.c: New file.
27438 * wcsmbs/mbrtoc16.c: New file.
27439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27440 for C/POSIX locale.
27441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27444 * wcsmbs/wchar.h: Add missing __restrict.
27446 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27449 * time/Makefile (routines): Add timespec_get.
27450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27452 timespec for ISO C11.
27453 * time/timespec_get.c: New file.
27454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27459 * stdlib/stdlib.h: Declare aligned_alloc.
27460 * Versions.def: Add GLIBC_2.16 for libc.
27461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27474 * assert/assert.h (static_assert): Define.
27476 * version.h: Update for 2.16 development version.
27479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27482 * version.h (RELEASE): Bump for 2.15 release.
27483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27486 Patch by Marek Polacek <mpolacek@redhat.com>.
27488 * bits/byteswap.h: Protect long long constants with __extension__.
27489 * sysdeps/i386/bits/byteswap.h: Likewise.
27490 * sysdeps/ia64/bits/byteswap.h: Likewise.
27491 * sysdeps/s390/bits/byteswap.h: Likewise.
27492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27494 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27498 destination buffer.
27499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27501 2011-12-23 Marek Polacek <polacek@redhat.com>
27503 * elf/dl-addr.c (determine_info): Add inline keyword.
27504 * elf/tst-auditmod4b.c (check_avx): Likewise.
27505 * elf/tst-auditmod6b.c (check_avx): Likewise.
27506 * elf/tst-auditmod6c.c (check_avx): Likewise.
27507 * elf/tst-auditmod7b.c (check_avx): Likewise.
27509 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27514 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27518 processing for last bytes.
27520 2011-08-06 Bruno Haible <bruno@clisp.org>
27523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27524 U+0385, not to U+1FEE.
27527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27528 entry for U+00A5 U+0301.
27530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27534 buffer for the output is too small.
27536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27541 SSE flags if possible.
27543 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27547 processing for last bytes.
27549 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27552 (syscall-list-default-options, syscall-list-default-condition)
27553 (syscall-list-includes): Define.
27554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27555 list of ABIs and options and #if conditions for each ABI. Do not
27556 handle common syscalls between ABIs specially.
27557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27559 (syscall-list-variants, syscall-list-32bit-options)
27560 (syscall-list-32bit-condition, syscall-list-64bit-options)
27561 (syscall-list-64bit-condition): Define.
27562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27563 (syscall-list-variants, syscall-list-32bit-options)
27564 (syscall-list-32bit-condition, syscall-list-64bit-options)
27565 (syscall-list-64bit-condition): Define.
27566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27568 (syscall-list-variants, syscall-list-32bit-options)
27569 (syscall-list-32bit-condition, syscall-list-64bit-options)
27570 (syscall-list-64bit-condition): Define.
27571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27573 (syscall-list-variants, syscall-list-32bit-options)
27574 (syscall-list-32bit-condition, syscall-list-64bit-options)
27575 (syscall-list-64bit-condition): Define.
27577 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27579 * locale/iso-639.def: Add brx entry.
27582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27586 __feraiseexcept_renamed.
27588 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27592 EPOLLET with unsigned values.
27593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27597 to large cancellation.
27598 * math/s_cacoshf.c: Likewise.
27599 * math/s_cacoshl.c: Likewise.
27601 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27606 * math/s_cacoshf.c: Likewise.
27607 * math/s_cacoshl.c: Likewise.
27609 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27612 * iconv/gconv.h: Define __GCONV_SWAP.
27613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27614 * iconvdata/utf-16.c: Likewise.
27615 * iconvdata/utf-32.c: Likewise.
27617 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27621 numerator after shifting it by one limb.
27623 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27626 under [__USE_EXTERN_INLINES].
27628 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27633 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27642 for strncasecmp/strncasecmp_l compilation.
27643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27646 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27652 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27655 * time/tzfile.c (__tzfile_read): Check values from file header.
27657 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27661 * powerpc/powerpc32/dl-start.S: Likewise.
27662 * powerpc/powerpc32/elf/start.S: Likewise.
27663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27676 * powerpc/powerpc32/memset.S: Likewise.
27677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27691 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27693 * math/libm-test.inc: Added more nearbyint tests.
27694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27699 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27704 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27707 Add wcscpy-ssse3 wcscpy-c.
27708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27711 * sysdeps/x86_64/wcschr.S: New file.
27712 * sysdeps/x86_64/wcsrchr.S: New file.
27713 * string/test-strcmp.c: Remove checking of wcscmp function for
27715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27717 wcsrchr-sse2 wcsrchr-c.
27718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27727 * wcsmbc/wcschr.c (WCSCHR): New macro.
27729 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27732 * wcsmbs/test-wcsrchr.c: New file.
27733 * string/test-strrchr.c: Add wcsrchr support.
27735 * wcsmbs/test-wcscpy.c: New file.
27736 * string/test-strcpy.c: Add wcscpy support.
27739 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27744 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27749 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27752 Minor optimizations.
27754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27758 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27763 for gcc to avoid warnings.
27764 * inet/Makefile (tests): Add tst-checks.
27765 * inet/tst-checks.c: New file.
27767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27778 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27785 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27788 conditional on GCC version.
27789 (__arch_compare_and_exchange_val_8_acq)
27790 (__arch_compare_and_exchange_val_16_acq)
27791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27795 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27797 * sysdeps/sh/backtrace.c: New file.
27799 2011-12-02 Andreas Schwab <schwab@redhat.com>
27801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27804 2011-12-01 Andreas Schwab <schwab@redhat.com>
27806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27807 falling back to utime.
27809 2011-11-30 Andreas Schwab <schwab@redhat.com>
27811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27812 expectations for float.
27814 2011-11-29 Andreas Schwab <schwab@redhat.com>
27816 * locale/weight.h (findidx): Add parameter len.
27817 * locale/weightwc.h (findidx): Likewise.
27818 * posix/fnmatch_loop.c (FCT): Adjust caller.
27819 * posix/regcomp.c (build_equiv_class): Likewise.
27820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27821 * posix/regexec.c (check_node_accept_bytes): Likewise.
27822 * string/strcoll_l.c (STRCOLL): Likewise.
27823 * string/strxfrm_l.c (STRXFRM): Likewise.
27825 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27827 * Makefile.in: Remove CVSOPT handling.
27828 * configure.in: Remove use of AC_REVISION.
27829 * iconvdata/Makefile (distribute): No need to filter out CVS.
27830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27833 2011-11-16 Andreas Schwab <schwab@redhat.com>
27835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27837 [USE_AS_STRNCASECMP_L]: Likewise.
27838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27839 NO_TLS_DIRECT_SEG_REFS.
27840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27841 Fix argument offsets for non-PIC.
27842 [USE_AS_STRNCASECMP_L]: Likewise.
27843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27844 NO_TLS_DIRECT_SEG_REFS.
27846 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27850 * locale/loadlocale.c (_nl_load_locale): Likewise.
27852 2011-11-15 Andreas Schwab <schwab@redhat.com>
27854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27857 (SYSCALL_GETTIME): Set errno on error.
27859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27860 count references to noai6ai_cached.
27862 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27867 FD_CLOEXEC for /proc/self/maps.
27869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27870 FD_CLOEXEC for /proc/meminfo.
27872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27876 FD_CLOEXEC for given file.
27878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27881 FD_CLOEXEC for /etc/hosts.
27882 (_gethtent): Likewise.
27884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27887 cancellation and set FD_CLOEXEC for /etc/netgroup.
27889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27890 reading /etc/publickey.
27892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27893 allow cancellation when reading /etc/group.
27895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27900 when using data file.
27902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27905 (write_nis_obj): Use "c" and "e" in fopen.
27907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27925 file parsing and set FD_CLOEXEC.
27927 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27931 2011-11-14 Andreas Schwab <schwab@redhat.com>
27933 * malloc/arena.c (arena_get2): Don't call reused_arena when
27934 _int_new_arena failed.
27936 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27944 to compile strcasecmp and strncasecmp.
27945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27950 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27953 locale-defines.sym to gen-as-const-headers.
27954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27957 to compile strcasecmp and strncasecmp.
27958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27959 strcasecmp_l and strncasecmp_l.
27960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27972 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27975 result of SYSDEP_GETTIME_CPU to retval.
27976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27977 parameter list to macro. Remove trailing semicolon. Adjust users.
27979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27987 from unused variable.
27989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27997 * sunrpc/rpc_prot.c (rejected): Fix case value.
27999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28000 unsigned long long int to avoid warnings in shift.
28002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28011 * nis/nis_table.c (nis_list): Use variable of correct type for
28012 result of __follow_path call.
28014 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28017 of math functions ceil, trunc, floor, round, and sqrt, when
28018 avaliable on the platform.
28019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28025 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28030 2011-11-11 Roland McGrath <roland@hack.frob.com>
28032 * include/unistd.h: Fix __readlink return type.
28033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28035 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28037 * stdlib/ucontext.h: Undo last change for makecontext.
28039 2011-11-11 Andreas Schwab <schwab@redhat.com>
28041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28044 * setjmp/setjmp.h: Mark functions as non-leaf.
28045 * setjmp/bits/setjmp2.h: Likewise.
28046 * stdlib/ucontext.h: Likewise.
28048 2011-11-10 Andreas Schwab <schwab@redhat.com>
28050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28051 (reused_arena): Don't check arena limit.
28052 (arena_get2): Atomically check arena limit.
28054 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28062 2011-11-07 Andreas Schwab <schwab@redhat.com>
28064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28065 handler when locking.
28067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28068 Fix size of allocated buffer.
28070 2011-11-04 Andreas Schwab <schwab@redhat.com>
28073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28074 declarations for long double functions.
28075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28079 2011-11-03 Andreas Schwab <schwab@redhat.com>
28081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28087 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28091 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28093 * include/alloca.h (stackinfo_alloca_round): Define.
28094 (extend_alloca): Use it.
28095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28099 * scripts/check-local-headers.sh: Ignore libaudit.h.
28101 * nscd/Makefile (extra-objs): Make recursively expanded.
28103 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28109 * posix/tst-rfc3484-2.c: Likewise.
28110 * posix/tst-rfc3484-3.c: Likewise.
28112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28117 process_vm_writev from libc using GLIBC_2.15 version.
28119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28121 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28126 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28129 * nss/getent.c (initgroups_keys): Show error message in case no group
28132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28134 __bump_nl_timestamp.
28135 * nscd/connections (nscd_init): When host database is served open
28136 netlink socket and request notification about configuration changes.
28137 (main_loop_poll): Track netlink file descriptor and bump timestamp
28138 in case data becomes available.
28139 (main_loop_epoll): Likewise.
28140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28141 (database_pers_head): Add extra_data fileds.
28142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28147 in6ai data, call __free_in6ai.
28148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28149 Add -DHAVE_NETLINK.
28150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28151 interface information. Reuse previous data if netlink timestamp
28153 (__bump_nl_timestamp): New function.
28154 (__free_in6ai): New function.
28156 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28159 close_not_cancel_no_status here.
28160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28162 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28172 2011-07-03 Andreas Jaeger <aj@suse.de>
28175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28177 * math/libm-test.inc (sin_test): Add test case.
28179 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28185 * elf/chroot_canon.c (chroot_canon): Cleanups.
28187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28193 * string/test-strchr.c: Make usable for strchrnul testing.
28194 * string/test-strchrnul.c: New file.
28195 * string/Makefile (strop-tests): Add strchrnul.
28197 * po/it.po: Update from translation team.
28198 * po/es.po: Likewise.
28200 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28203 the three constants needed as parameters. Drop the others.
28204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28205 __m128i_strloadu_tolower.
28206 Create and initialize variable zero and use it in all the places
28207 where _mm_setzero_si128 was used.
28209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28219 __mpranred, __mptan.
28220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28230 2011-10-28 Andreas Schwab <schwab@redhat.com>
28232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28233 redefine if SHARED.
28234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28237 wide char related routines to wcsmbs subdir.
28239 2011-10-27 Andreas Schwab <schwab@redhat.com>
28242 * misc/sys/cdefs.h (__THROWNL): Define.
28243 * posix/unistd.h: Use __THREADNL instead of __THREAD
28244 for memory synchronization functions.
28246 2011-10-26 Roland McGrath <roland@hack.frob.com>
28249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28251 * manual/stdio.texi (Obstack Streams): Node removed.
28253 2011-10-26 Andreas Schwab <schwab@redhat.com>
28255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28259 * math/math_private.h (math_force_eval): Allow non-addressable
28261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28266 file is not needed.
28268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28301 place. Use VEX encoding when compiling for AVX.
28303 2011-10-25 Andreas Schwab <schwab@redhat.com>
28305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28310 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28313 useless if() expression.
28314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28336 2011-10-25 Andreas Schwab <schwab@redhat.com>
28338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28345 .text section. Avoid duplicate constants.
28346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28392 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28394 * sysdeps/x86_64/dla.h: Move to ...
28395 * sysdeps/x86_64/fpu/dla.h: ...here.
28396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28397 situations. Use __builtin_fma only for gcc 4.6 and up.
28399 * config.make.in: Add have-mfma4 entry.
28400 * configure.in: Substitute libc_cv_cc_fma4.
28401 * math/Makefile (dbl-only-routines): Add sincostab.
28402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28403 Use __sincostab not sincos.
28404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28420 define aliases when function name is a macro.
28421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28422 sysdeps/ieee754/dbl-64/sincos.tbl.
28423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28424 fma4-enabled routines.
28425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28467 2011-10-24 Andreas Schwab <schwab@redhat.com>
28469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28471 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28480 Remove unused variable magic_bits.
28481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28483 * string/strnlen.c: Define and use STRNLEN macro.
28484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28487 * wcsmbs/wcslen.c: Define and use WCSLEN.
28488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28496 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28499 strnlen-sse2-no-bsf.
28500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28503 Add strnlen support.
28504 (USE_AS_STRNLEN): New macro.
28505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28508 * sysdeps/x86_64/wcslen.S: New file.
28510 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28513 XMM-moves are used for copying on small sizes.
28515 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28517 * wcsmbs/Makefile (strop-tests): Add wcschr.
28518 * wcsmbs/test-wcschr.c: New file.
28519 * string/test-strchr.c: Update.
28520 Add wcschr support.
28523 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28525 * wcsmbs/Makefile (strop-tests): Add wcslen.
28526 * wcsmbs/test-wcslen.c: New file.
28527 * string/test-strlen.c: Update.
28528 Add wcslen support.
28531 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28533 * po/it.po: Update from translation team.
28535 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28537 * sysdeps/x86_64/wcscmp.S: Update.
28538 Fix wrong comparison semantics.
28539 wcscmp shall use signed comparison not unsigned.
28540 Don't use substraction to avoid overflow bug.
28541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28542 * wcsmbc/wcscmp.c: Likewise.
28543 * string/test-strcmp.c: Likewise.
28544 Add new tests to check cases with negative values.
28546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28549 * sysdeps/x86_64/dla.h: ...here. New file.
28550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28560 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28563 __ynl_finite aliases.
28565 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28571 [DLA_FMA] (EMULV): Use DLA_FMA.
28572 [DLA_FMA] (MUL12): Use EMULV.
28573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28574 that are not needed.
28575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28583 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28585 * math/s_nan.c: Undef __nan.
28586 * math/s_nanf.c: Undef __nanf.
28587 * math/s_nanl.c: Undef __nanl.
28588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28591 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28593 * math/s_catan.c: Add branch predictions.
28594 * math/s_catanf.c: Likewise.
28595 * math/s_catanh.c: Likewise.
28596 * math/s_catanhf.c: Likewise.
28597 * math/s_catanhl.c: Likewise.
28598 * math/s_catanl.c: Likewise.
28599 * math/s_cexp.c: Likewise.
28600 * math/s_cexpf.c: Likewise.
28601 * math/s_cexpl.c: Likewise.
28602 * math/s_clog.c: Likewise.
28603 * math/s_clog10.c: Likewise.
28604 * math/s_clog10f.c: Likewise.
28605 * math/s_clog10l.c: Likewise.
28606 * math/s_clogf.c: Likewise.
28607 * math/s_clogl.c: Likewise.
28608 * math/s_csqrt.c: Likewise.
28609 * math/s_csqrtf.c: Likewise.
28610 * math/s_csqrtl.c: Likewise.
28611 * math/s_ctanf.c: Likewise.
28612 * math/s_ctanh.c: Likewise.
28613 * math/s_ctanhf.c: Likewise.
28614 * math/s_ctanhl.c: Likewise.
28615 * math/s_ctanl.c: Likewise.
28617 * math/math_private.h: Define __nan, __nanf, __nanl.
28618 * math/s_cacosh.c: Include <math_private.h>.
28619 * math/s_cacoshl.c: Likewise.
28620 * math/s_casinh.c: Likewise.
28621 * math/s_casinhf.c: Likewise.
28622 * math/s_casinhl.c: Likewise.
28623 * math/s_ccos.c: Rely entire on ccosh.
28624 * math/s_ccosf.c: Rely entire on ccoshf.
28625 * math/s_ccosl.c: Rely entirely on ccoshl.
28626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28627 Remove tests for FE_INVALID.
28628 * math/s_ccoshf.c: Likewise.
28629 * math/s_ccoshl.c: Likewise.
28630 * math/s_csin.c: Likewise.
28631 * math/s_csinf.c: Likewise.
28632 * math/s_csinh.c Likewise.
28633 * math/s_csinhf.c: Likewise.
28634 * math/s_csinhl.c: Likewise.
28635 * math/s_csinl.c: Likewise.
28636 * math/s_ctan.c: Likewise.
28637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28641 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28644 compilation problems.
28646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28649 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28651 * sysdeps/i386/configure.in: Test for -mfma4 option.
28652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28654 COMMON_CPUID_INDEX_80000001.
28655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28657 use it if FMA3 is not supported.
28658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28663 2011-10-20 Andreas Schwab <schwab@redhat.com>
28666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28667 it would create a cycle with a link time dependency.
28669 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28673 * string/Makefile (strop-tests): Add rawmemchr.
28674 * string/test-rawmemchr.c: New file.
28676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28679 when compiling str{,n}casecmp and when AVX is available. Hook up
28680 new optimized code in initializers.
28682 2011-10-19 Andreas Schwab <schwab@redhat.com>
28684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28685 __feraiseexcept instead of feraiseexcept.
28687 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28689 * math/math_private.h: Define defaults for libc_fetestexcept and
28691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28697 libc_fetestexcept and libc_feupdateenv.
28699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28703 libc_feholdexcept_setround.
28705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28706 Add s_nearbyint-c and s_nearbyintf-c.
28707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28708 nearbyintf inlines.
28709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28714 * math/math_private.h: Define defaults for libc_fegetround,
28715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28720 standard functions.
28721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28722 Remove comments and hacks for old compiler versions.
28723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28725 libc_feholdexceptl.
28727 2011-10-18 Andreas Schwab <schwab@redhat.com>
28729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28730 (__feraiseexcept_renamed): Add __NTH.
28731 (feraiseexcept): Add __NTH. Rename local variables to fix
28732 namespace violations.
28734 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28741 recently added interfaces.
28742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28745 about macro parameter expansion.
28747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28748 __NO_MATH_INLINES is defined. Cleanups.
28750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28751 and __floorf is target has SSE4.1.
28752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28759 (floorf): Likewise.
28761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28763 2011-10-17 Andreas Schwab <schwab@redhat.com>
28765 * misc/sys/cdefs.h: Fix last change.
28767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28770 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28798 ceil, ceilf, floor, floorf.
28800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28801 Perform IRELATIVE relocations last.
28803 * elf/do-rel.h: Add another parameter nrelative, replacing the
28804 local variable with the same name. Change name of the function
28805 to end in Rel or Rela (uppercase).
28806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28808 elf_dynamic_do_##reloc function.
28810 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28813 is sufficient, at least on modern CPUs.
28815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28822 * math/bits/math-finite.h: Add entries for exp.
28823 * math/e_expl.c: Add __*_finite alias.
28824 * sysdeps/i386/fpu/e_exp.S: Likewise.
28825 * sysdeps/i386/fpu/e_expf.S: Likewise.
28826 * sysdeps/i386/fpu/e_expl.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28836 is sufficient, at least on modern CPUs.
28838 * ctype/ctype-info.c (__ctype_init): Define.
28839 * include/ctype.h (__ctype_init): Declare.
28840 (__ctype_b_loc): The variable is always initialized.
28841 (__ctype_toupper_loc): Likewise.
28842 (__ctype_tolower_loc): Likewise.
28843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28846 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28850 * configure.in: Also look in $cxxmachine/include for C++ system
28853 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28860 (USE_AS_WMEMCMP): New macro.
28862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28873 (USE_AS_WMEMCMP): New macro.
28874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28875 * sysdeps/string/test-memcmp.c: Update.
28876 Fix simple_wmemcmp.
28878 * wcsmbs/wmemcmp.c: Update.
28879 (WMEMCMP): New macro.
28882 2011-10-12 Andreas Jaeger <aj@suse.de>
28885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28887 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28889 * libio/iofwide.c (do_length): Avoid warning.
28891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28893 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28900 * sysdeps/i386/i686/fpu/e_log.S: New file.
28901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28904 * ctype/ctype.h: Add support for inlined isXXX functions when
28905 compiling C++ code.
28907 2011-10-14 Andreas Schwab <schwab@redhat.com>
28909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28913 2011-10-13 Roland McGrath <roland@hack.frob.com>
28916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28918 2011-10-13 Andreas Schwab <schwab@redhat.com>
28920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28924 * sysdeps/x86_64/memrchr.S: Check for zero size.
28926 * string/stratcliff.c: Add memrchr tests.
28928 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28932 rawmemchr-sse2 rawmemchr-sse2-bsf.
28933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28943 * string/memrchr.c (MEMRCHR): New macro.
28945 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28947 Add integration with gcc's -ffinite-math-only and optimize wrapper
28949 * Versions.def: Define GLIBC_2.15 version for libm.
28950 * math/Makefile (headers): Add bits/math-finite.h.
28951 * math/bits/math-finite.h: New file.
28952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28954 * math/e_acoshl.c: Add __*_finite alias.
28955 * math/e_acosl.c: Likewise.
28956 * math/e_asinl.c: Likewise.
28957 * math/e_atan2l.c: Likewise.
28958 * math/e_atanhl.c: Likewise.
28959 * math/e_coshl.c: Likewise.
28960 * math/e_exp10.c: Likewise.
28961 * math/e_exp10f.c: Likewise.
28962 * math/e_exp10l.c: Likewise.
28963 * math/e_exp2l.c: Likewise.
28964 * math/e_fmodl.c: Likewise.
28965 * math/e_gammal_r.c: Likewise.
28966 * math/e_hypotl.c: Likewise.
28967 * math/e_j0l.c: Likewise.
28968 * math/e_j1l.c: Likewise.
28969 * math/e_jnl.c: Likewise.
28970 * math/e_lgammal_r.c: Likewise.
28971 * math/e_log10l.c: Likewise.
28972 * math/e_log2l.c: Likewise.
28973 * math/e_logl.c: Likewise.
28974 * math/e_powl.c: Likewise.
28975 * math/e_sinhl.c: Likewise.
28976 * math/e_sqrtl.c: Likewise.
28977 * math/e_scalb.c: Completely rewritten and optimized.
28978 * math/e_scalbf.c: Likewise.
28979 * math/e_scalbl.c: Likewise.
28980 * math/w_acos.c: Likewise.
28981 * math/w_acosf.c: Likewise.
28982 * math/w_acosl.c: Likewise.
28983 * math/w_acosh.c: Likewise.
28984 * math/w_acoshf.c: Likewise.
28985 * math/w_acoshl.c: Likewise.
28986 * math/w_asin.c: Likewise.
28987 * math/w_asinf.c: Likewise.
28988 * math/w_asinl.c: Likewise.
28989 * math/w_atan2.c: Likewise.
28990 * math/w_atan2f.c: Likewise.
28991 * math/w_atan2l.c: Likewise.
28992 * math/w_atanh.c: Likewise.
28993 * math/w_atanhf.c: Likewise.
28994 * math/w_atanhl.c: Likewise.
28995 * math/w_exp10.c: Likewise.
28996 * math/w_exp10f.c: Likewise.
28997 * math/w_exp10l.c: Likewise.
28998 * math/w_fmod.c: Likewise.
28999 * math/w_fmodf.c: Likewise.
29000 * math/w_fmodl.c: Likewise.
29001 * math/w_j0.c: Likewise.
29002 * math/w_j0f.c: Likewise.
29003 * math/w_j0l.c: Likewise.
29004 * math/w_j1.c: Likewise.
29005 * math/w_j1f.c: Likewise.
29006 * math/w_j1l.c: Likewise.
29007 * math/w_jn.c: Likewise.
29008 * math/w_jnf.c: Likewise.
29009 * math/w_log.c: Likewise.
29010 * math/w_logf.c: Likewise.
29011 * math/w_logl.c: Likewise.
29012 * math/w_log10.c: Likewise.
29013 * math/w_log10f.c: Likewise.
29014 * math/w_log10l.c: Likewise.
29015 * math/w_log2.c: Likewise.
29016 * math/w_log2f.c: Likewise.
29017 * math/w_log2l.c: Likewise.
29018 * math/w_pow.c: Likewise.
29019 * math/w_powf.c: Likewise.
29020 * math/w_powl.c: Likewise.
29021 * math/w_remainder.c: Likewise.
29022 * math/w_remainderf.c: Likewise.
29023 * math/w_remainderl.c: Likewise.
29024 * math/w_scalb.c: Likewise.
29025 * math/w_scalbf.c: Likewise.
29026 * math/w_scalbl.c: Likewise.
29027 * math/w_sqrt.c: Likewise.
29028 * math/w_sqrtf.c: Likewise.
29029 * math/w_sqrtl.c: Likewise.
29030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29033 * math/math_private.h: Declare __kernel_standard_f.
29034 * math/w_cosh.c: Remove cruft and optimize a bit.
29035 * math/w_coshf.c: Likewise.
29036 * math/w_coshl.c: Likewise.
29037 * math/w_exp2.c: Likewise.
29038 * math/w_exp2f.c: Likewise.
29039 * math/w_exp2l.c: Likewise.
29040 * math/w_hypot.c: Likewise.
29041 * math/w_hypotf.c: Likewise.
29042 * math/w_hypotl.c: Likewise.
29043 * math/w_lgamma.c: Likewise.
29044 * math/w_lgamma_r.c: Likewise.
29045 * math/w_lgammaf.c: Likewise.
29046 * math/w_lgammaf_r.c: Likewise.
29047 * math/w_lgammal.c: Likewise.
29048 * math/w_lgammal_r.c: Likewise.
29049 * math/w_sinh.c: Likewise.
29050 * math/w_sinhf.c: Likewise.
29051 * math/w_sinhl.c: Likewise.
29052 * math/w_tgamma.c: Likewise.
29053 * math/w_tgammaf.c: Likewise.
29054 * math/w_tgammal.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29058 Minor optimizations. Pretty printing. Remove cruft.
29059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29064 * sysdeps/i386/fpu/e_asin.S: Likewise.
29065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29083 * sysdeps/i386/fpu/e_log.S: Likewise.
29084 * sysdeps/i386/fpu/e_log10.S: Likewise.
29085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29087 * sysdeps/i386/fpu/e_log2.S: Likewise.
29088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29090 * sysdeps/i386/fpu/e_logf.S: Likewise.
29091 * sysdeps/i386/fpu/e_logl.S: Likewise.
29092 * sysdeps/i386/fpu/e_pow.S: Likewise.
29093 * sysdeps/i386/fpu/e_powf.S: Likewise.
29094 * sysdeps/i386/fpu/e_powl.S: Likewise.
29095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29217 (__isnanf): Likewise.
29218 (__isinf_ns): Likewise.
29219 (__isinf_nsf): Likewise.
29220 (__finite): Likewise.
29221 (__finitef): Likewise.
29222 (__ieee754_sqrt): Define as macro.
29223 (__ieee754_sqrtf): Define as macro.
29224 (__ieee754_sqrtl): Define as macro.
29225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29228 __FINITE_MATH_ONLY__ consistent.
29229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29231 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29238 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29240 * po/ja.po: Update from translation team.
29242 2011-10-08 Roland McGrath <roland@hack.frob.com>
29244 * locale/programs/locarchive.c (prepare_address_space): New function.
29245 (create_archive, enlarge_archive, open_archive): Use it.
29247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29248 inside [SHARED], where it is used.
29250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29252 * nss/getent.c (netgroup_keys): Remove unused variable.
29253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29255 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29263 * math/Makefile (libm-calls): Add s_isinf_ns.
29264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29265 * math/multc3.c: Likewise.
29266 * math/s_casin.c: Likewise.
29267 * math/s_casinf.c: Likewise.
29268 * math/s_casinl.c: Likewise.
29269 * math/s_ccos.c: Likewise.
29270 * math/s_ccosf.c: Likewise.
29271 * math/s_ccosl.c: Likewise.
29272 * math/s_ctan.c: Likewise.
29273 * math/s_ctanf.c: Likewise.
29274 * math/s_ctanh.c: Likewise.
29275 * math/s_ctanhf.c: Likewise.
29276 * math/s_ctanhl.c: Likewise.
29277 * math/s_ctanl.c: Likewise.
29278 * math/w_fmod.c: Likewise.
29279 * math/w_fmodf.c: Likewise.
29280 * math/w_fmodl.c: Likewise.
29281 * math/w_remainder.c: Likewise.
29282 * math/w_remainderf.c: Likewise.
29283 * math/w_remainderl.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29295 * stdio-common/printf_fphex.c: Likewise.
29296 * stdio-common/printf_size.c: Likewise.
29298 * math/e_exp10.c: Include math_private.h using <...> not "...".
29299 * math/e_exp10f.c: Likewise.
29300 * math/e_exp10l.c: Likewise.
29301 * math/e_exp2l.c: Likewise.
29302 * math/e_j0l.c: Likewise.
29303 * math/e_j1l.c: Likewise.
29304 * math/e_jnl.c: Likewise.
29305 * math/e_lgammal_r.c: Likewise.
29306 * math/e_rem_pio2l.c: Likewise.
29307 * math/e_scalb.c: Likewise.
29308 * math/e_scalbf.c: Likewise.
29309 * math/e_scalbl.c: Likewise.
29310 * math/k_cosl.c: Likewise.
29311 * math/k_sinl.c: Likewise.
29312 * math/k_tanl.c: Likewise.
29313 * math/s_cacoshf.c: Likewise.
29314 * math/s_catan.c: Likewise.
29315 * math/s_catanf.c: Likewise.
29316 * math/s_catanh.c: Likewise.
29317 * math/s_catanhf.c: Likewise.
29318 * math/s_catanhl.c: Likewise.
29319 * math/s_catanl.c: Likewise.
29320 * math/s_ccosh.c: Likewise.
29321 * math/s_ccoshf.c: Likewise.
29322 * math/s_ccoshl.c: Likewise.
29323 * math/s_cexp.c: Likewise.
29324 * math/s_cexpf.c: Likewise.
29325 * math/s_cexpl.c: Likewise.
29326 * math/s_clog.c: Likewise.
29327 * math/s_clog10.c: Likewise.
29328 * math/s_clog10f.c: Likewise.
29329 * math/s_clog10l.c: Likewise.
29330 * math/s_clogf.c: Likewise.
29331 * math/s_clogl.c: Likewise.
29332 * math/s_csin.c: Likewise.
29333 * math/s_csinf.c: Likewise.
29334 * math/s_csinh.c: Likewise.
29335 * math/s_csinhf.c: Likewise.
29336 * math/s_csinhl.c: Likewise.
29337 * math/s_csinl.c: Likewise.
29338 * math/s_csqrt.c: Likewise.
29339 * math/s_csqrtf.c: Likewise.
29340 * math/s_csqrtl.c: Likewise.
29341 * math/s_ctan.c: Likewise.
29342 * math/s_ctanf.c: Likewise.
29343 * math/s_ctanh.c: Likewise.
29344 * math/s_ctanhf.c: Likewise.
29345 * math/s_ctanhl.c: Likewise.
29346 * math/s_ctanl.c: Likewise.
29347 * math/s_ldexp.c: Likewise.
29348 * math/s_ldexpf.c: Likewise.
29349 * math/s_ldexpl.c: Likewise.
29350 * math/s_significand.c: Likewise.
29351 * math/s_significandf.c: Likewise.
29352 * math/s_significandl.c: Likewise.
29353 * math/w_acos.c: Likewise.
29354 * math/w_acosf.c: Likewise.
29355 * math/w_acosh.c: Likewise.
29356 * math/w_acoshf.c: Likewise.
29357 * math/w_acoshl.c: Likewise.
29358 * math/w_acosl.c: Likewise.
29359 * math/w_asin.c: Likewise.
29360 * math/w_asinf.c: Likewise.
29361 * math/w_asinl.c: Likewise.
29362 * math/w_atan2.c: Likewise.
29363 * math/w_atan2f.c: Likewise.
29364 * math/w_atan2l.c: Likewise.
29365 * math/w_atanh.c: Likewise.
29366 * math/w_atanhf.c: Likewise.
29367 * math/w_atanhl.c: Likewise.
29368 * math/w_cosh.c: Likewise.
29369 * math/w_coshf.c: Likewise.
29370 * math/w_coshl.c: Likewise.
29371 * math/w_dremf.c: Likewise.
29372 * math/w_exp10.c: Likewise.
29373 * math/w_exp10f.c: Likewise.
29374 * math/w_exp10l.c: Likewise.
29375 * math/w_exp2.c: Likewise.
29376 * math/w_exp2f.c: Likewise.
29377 * math/w_fmod.c: Likewise.
29378 * math/w_fmodf.c: Likewise.
29379 * math/w_fmodl.c: Likewise.
29380 * math/w_hypot.c: Likewise.
29381 * math/w_hypotf.c: Likewise.
29382 * math/w_hypotl.c: Likewise.
29383 * math/w_j0.c: Likewise.
29384 * math/w_j0f.c: Likewise.
29385 * math/w_j0l.c: Likewise.
29386 * math/w_j1.c: Likewise.
29387 * math/w_j1f.c: Likewise.
29388 * math/w_j1l.c: Likewise.
29389 * math/w_jn.c: Likewise.
29390 * math/w_jnf.c: Likewise.
29391 * math/w_jnl.c: Likewise.
29392 * math/w_lgamma.c: Likewise.
29393 * math/w_lgamma_r.c: Likewise.
29394 * math/w_lgammaf.c: Likewise.
29395 * math/w_lgammaf_r.c: Likewise.
29396 * math/w_lgammal.c: Likewise.
29397 * math/w_lgammal_r.c: Likewise.
29398 * math/w_log.c: Likewise.
29399 * math/w_log10.c: Likewise.
29400 * math/w_log10f.c: Likewise.
29401 * math/w_log10l.c: Likewise.
29402 * math/w_log2.c: Likewise.
29403 * math/w_log2f.c: Likewise.
29404 * math/w_log2l.c: Likewise.
29405 * math/w_logf.c: Likewise.
29406 * math/w_logl.c: Likewise.
29407 * math/w_pow.c: Likewise.
29408 * math/w_powf.c: Likewise.
29409 * math/w_powl.c: Likewise.
29410 * math/w_remainder.c: Likewise.
29411 * math/w_remainderf.c: Likewise.
29412 * math/w_remainderl.c: Likewise.
29413 * math/w_scalb.c: Likewise.
29414 * math/w_scalbf.c: Likewise.
29415 * math/w_scalbl.c: Likewise.
29416 * math/w_sinh.c: Likewise.
29417 * math/w_sinhf.c: Likewise.
29418 * math/w_sinhl.c: Likewise.
29419 * math/w_sqrt.c: Likewise.
29420 * math/w_sqrtf.c: Likewise.
29421 * math/w_sqrtl.c: Likewise.
29422 * math/w_tgamma.c: Likewise.
29423 * math/w_tgammaf.c: Likewise.
29424 * math/w_tgammal.c: Likewise.
29426 * po/ja.po: Update from translation team.
29428 2011-09-29 Andreas Jaeger <aj@suse.de>
29431 * sunrpc/netname.c (netname2host): Fix logic.
29435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29437 * math/w_remainder.c (__remainder): Likewise.
29438 * math/w_remainderf.c (__remainderf): Likewise.
29439 * math/libm-test.inc (remainder_test): Add test cases.
29441 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29446 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29448 * string/test-memcmp.c: Avoid unncessary #defines.
29449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29451 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29454 Use new sse2 version for core i3 - i7 as it's faster
29455 than sse42 version.
29456 (bit_Prefer_PMINUB_for_stringop): New.
29457 * sysdeps/x86_64/rawmemchr.S: Update.
29458 Replace with faster SSE2 version.
29459 * sysdeps/x86_64/memrchr.S: New file.
29460 * sysdeps/x86_64/memchr.S: Update.
29461 Replace with faster SSE2 version.
29463 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29465 * elf/dl-load.c (lose): Add cast to avoid warning.
29467 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29469 * po/ca.po: Update from translation team.
29471 * inet/getnetgrent_r.c: Hook up nscd.
29472 * nscd/Makefile (routines): Add nscd_netgroup.
29473 (nscd-modules): Add netgroupcache.
29474 (CFLAGS-netgroupcache.c): Define.
29475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29476 (cache_search): Add const to second parameter.
29477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29479 (dbs): Add netgrdb entry.
29480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29481 (verify_persistent_db): Handle netgrdb.
29482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29485 (netgroup_response_header): Define.
29486 (innetgroup_response_header): Define.
29487 (datahead): Add netgroup_response_header and innetgroup_response_header
29489 * nscd/nscd.conf: Add entries for netgroup cache.
29490 * nscd/nscd.h (dbtype): Add netgrdb.
29491 (_PATH_NSCD_NETGROUP_DB): Define.
29492 (netgroup_iov_disabled): Declare.
29493 (xmalloc, xcalloc, xrealloc): Move declarations here.
29494 (cache_search): Adjust prototype.
29495 Add netgroup-related prototypes.
29496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29498 (__nscd_innetgr): Declare.
29499 * nscd/selinux.c (perms): Use access_vector_t as element type and
29500 add netgroup-related initializers.
29501 * nscd/netgroupcache.c: New file.
29502 * nscd/nscd_netgroup.c: New file.
29503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29505 For four parameters use innetgr.
29506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29511 * nscd/connections.c (register_traced_file): Don't register file
29512 for disabled databases.
29514 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29519 from tree and freeing node.
29521 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29523 * nss/nsswitch.c (__nss_database_lookup): Handle
29524 nss_parse_service_list out of memory case.
29526 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29529 out of memory case.
29531 2011-10-04 Andreas Schwab <schwab@redhat.com>
29533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29537 elf_machine_rela, elf_machine_lazy_rel.
29538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29539 (ELF_DYNAMIC_DO_REL): Likewise.
29540 (ELF_DYNAMIC_DO_RELA): Likewise.
29541 (ELF_DYNAMIC_RELOCATE): Likewise.
29542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29543 to ELF_DYNAMIC_DO_REL.
29544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29549 skip_ifunc, don't call ifunc function if non-zero.
29550 (elf_machine_rela): Likewise.
29551 (elf_machine_lazy_rel): Likewise.
29552 (elf_machine_lazy_rela): Likewise.
29553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29554 (elf_machine_lazy_rel): Likewise.
29555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29557 (elf_machine_lazy_rel): Likewise.
29558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29560 (elf_machine_lazy_rel): Likewise.
29561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29562 (elf_machine_lazy_rel): Likewise.
29563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29564 (elf_machine_lazy_rel): Likewise.
29565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29566 (elf_machine_lazy_rel): Likewise.
29567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29568 (elf_machine_lazy_rel): Likewise.
29569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29570 (elf_machine_lazy_rel): Likewise.
29571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29572 (elf_machine_lazy_rel): Likewise.
29574 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29576 * nss/nss_files/files-init.c (_nss_files_init): Use static
29577 initialization for all the *_traced_file variables.
29579 2011-09-28 Andreas Schwab <schwab@redhat.com>
29581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29583 2011-09-27 Roland McGrath <roland@hack.frob.com>
29586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29588 2011-09-27 Andreas Schwab <schwab@redhat.com>
29590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29591 Reread the line before reparsing it.
29593 2011-09-26 Andreas Schwab <schwab@redhat.com>
29595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29597 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29598 Maxim Kuvyrkov <maxim@codesourcery.com>
29599 Joseph Myers <joseph@codesourcery.com>
29601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29602 if needed for __stack_chk_guard.
29604 2011-09-19 Roland McGrath <roland@hack.frob.com>
29606 * sysdeps/posix/spawni.c (script_execute): Always define it.
29607 It will be optimized away if unused.
29608 (maybe_script_execute): New function.
29609 (__spawni): Call it.
29611 * Makerules: Don't include tls.make.
29612 (config-tls): Always set to thread.
29613 * tls.make.c: File removed.
29615 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29618 * config.make.in (CPPFLAGS-config): New substituted variable.
29620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29628 2011-09-15 Roland McGrath <roland@hack.frob.com>
29630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29633 (CALL_FAIL): Likewise.
29634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29635 (CALL_FAIL): Macro removed.
29636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29638 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29641 for __FINITE_MATH_ONLY__ == 1.
29643 2011-09-15 Andreas Schwab <schwab@redhat.com>
29645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29646 __ieee754_sqrt instead of sqrt.
29647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29648 __ieee754_sqrtf instead of sqrtf.
29649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29650 __floorf instead of floorf.
29651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29652 __floorf, __truncf instead of floorf, truncf.
29654 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29659 __extern_always_inline.
29660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29663 2011-09-14 Andreas Schwab <schwab@redhat.com>
29665 * elf/rtld.c (dl_main): Also relocate in dependency order when
29666 doing symbol dependency testing.
29668 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29671 Always define `refsym'.
29673 2011-09-13 Andreas Schwab <schwab@redhat.com>
29675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29676 (__FD_ELT): Renamed from __FDELT.
29677 * misc/bits/select2.h (__FD_ELT): Likewise.
29678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29679 __FD_MASK instead of __FDELT, __FDMASK.
29680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29685 * elf/Makefile (gen-ldd): Fix pattern.
29687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29688 (init_tls): Likewise.
29690 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29694 2011-09-12 Andreas Schwab <schwab@redhat.com>
29696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29697 `struct cmsghdr *' instead of `void *'.
29698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29701 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29706 ldd_rewrite_script.
29708 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29710 * configure.in: Remove --with-tls option.
29711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29713 out in case it is missing.
29714 * sysdeps/ia64/elf/configure.in: Likewise.
29715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29719 * sysdeps/sh/elf/configure.in: Likewise.
29720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29722 * sysdeps/x86_64/elf/configure.in: Likewise.
29723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29724 * sysdeps/mach/hurd/tls.h: Likewise.
29727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29730 * configure.in: Fix use of AC_INIT.
29732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29734 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29738 * malloc/hooks.c: Likewise.
29741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29742 variables statically.
29743 (narenas): Initialize.
29744 (list_lock): Initialize.
29745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29746 initializtion of main_arena and list_lock. Small cleanups.
29747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29749 Add initializers to main_arena and mp_.
29750 (malloc_state): Remove pagesize member. Change all users to use
29753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29755 is always initialized.
29757 * malloc/malloc.c: Removed unused configurations and dead code.
29758 * malloc/arena.c: Likewise.
29759 * malloc/hooks.c: Likewise.
29760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29762 * include/tls.h: Removed. USE___THREAD must always be defined.
29763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29764 * elf/dl-libc.c: Likewise.
29765 * elf/dl-tsd.c: Likewise.
29766 * include/errno.h: Likewise.
29767 * include/netdb.h: Likewise.
29768 * include/resolv.h: Likewise.
29769 * inet/herrno-loc.c: Likewise.
29770 * inet/herrno.c: Likewise.
29771 * malloc/arena.c: Likewise.
29772 * malloc/hooks.c: Likewise.
29773 * malloc/malloc.c: Likewise.
29774 * resolv/res-state.c: Likewise.
29775 * resolv/res_libc.c: Likewise.
29776 * sysdeps/i386/dl-machine.h: Likewise.
29777 * sysdeps/ia64/dl-machine.h: Likewise.
29778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29782 * sysdeps/sh/dl-machine.h: Likewise.
29783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29785 * sysdeps/unix/i386/sysdep.S: Likewise.
29786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29797 * sysdeps/x86_64/dl-machine.h: Likewise.
29798 * tls.make.c: Likewise.
29800 * configure.in: Remove --with-__thread option. Make tests for
29801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29802 tls_model attribute fail if no support is available. Remove
29804 * Makeconfig: Adjust for dropped configure option. All features are
29806 * Makerules: Likewise.
29807 * Versions.def: Likewise.
29808 * argp/argp-fmtstream.c: Likewise.
29809 * argp/argp-fmtstream.h: Likewise.
29810 * argp/argp-help.c: Likewise.
29811 * assert/assert.c: Likewise.
29812 * config.h.in: Likewise.
29813 * config.make.in: Likewise.
29814 * configure: Likewise.
29815 * configure.in: Likewise.
29816 * csu/Versions: Likewise.
29817 * csu/init.c: Likewise.
29818 * elf/tst-audit2.c: Likewise.
29819 * elf/tst-tls10.c: Likewise.
29820 * elf/tst-tls10.h: Likewise.
29821 * elf/tst-tls11.c: Likewise.
29822 * elf/tst-tls12.c: Likewise.
29823 * elf/tst-tls14.c: Likewise.
29824 * elf/tst-tlsmod11.c: Likewise.
29825 * elf/tst-tlsmod12.c: Likewise.
29826 * elf/tst-tlsmod13.c: Likewise.
29827 * elf/tst-tlsmod13a.c: Likewise.
29828 * elf/tst-tlsmod14a.c: Likewise.
29829 * elf/tst-tlsmod15b.c: Likewise.
29830 * elf/tst-tlsmod16a.c: Likewise.
29831 * elf/tst-tlsmod16b.c: Likewise.
29832 * elf/tst-tlsmod7.c: Likewise.
29833 * elf/tst-tlsmod8.c: Likewise.
29834 * elf/tst-tlsmod9.c: Likewise.
29835 * gmon/gmon.c: Likewise.
29836 * grp/fgetgrent_r.c: Likewise.
29837 * grp/putgrent.c: Likewise.
29838 * hurd/fopenport.c: Likewise.
29839 * include/libc-symbols.h: Likewise.
29840 * include/tls.h: Likewise.
29841 * intl/gettextP.h: Likewise.
29842 * intl/loadinfo.h: Likewise.
29843 * locale/global-locale.c: Likewise.
29844 * locale/localeinfo.h: Likewise.
29845 * mach/devstream.c: Likewise.
29846 * malloc/arena.c: Likewise.
29847 * malloc/set-freeres.c: Likewise.
29848 * misc/err.c: Likewise.
29849 * misc/getttyent.c: Likewise.
29850 * misc/mntent_r.c: Likewise.
29851 * posix/getopt.c: Likewise.
29852 * posix/wordexp.c: Likewise.
29853 * pwd/fgetpwent_r.c: Likewise.
29854 * resolv/Versions: Likewise.
29855 * resolv/res_hconf.c: Likewise.
29856 * shadow/fgetspent_r.c: Likewise.
29857 * shadow/putspent.c: Likewise.
29858 * stdio-common/printf_fphex.c: Likewise.
29859 * stdio-common/tmpfile.c: Likewise.
29860 * stdlib/abort.c: Likewise.
29861 * stdlib/fmtmsg.c: Likewise.
29862 * sunrpc/auth_unix.c: Likewise.
29863 * sunrpc/clnt_perr.c: Likewise.
29864 * sunrpc/clnt_tcp.c: Likewise.
29865 * sunrpc/clnt_udp.c: Likewise.
29866 * sunrpc/clnt_unix.c: Likewise.
29867 * sunrpc/openchild.c: Likewise.
29868 * sunrpc/svc_simple.c: Likewise.
29869 * sunrpc/svc_tcp.c: Likewise.
29870 * sunrpc/svc_udp.c: Likewise.
29871 * sunrpc/svc_unix.c: Likewise.
29872 * sunrpc/xdr.c: Likewise.
29873 * sunrpc/xdr_array.c: Likewise.
29874 * sunrpc/xdr_rec.c: Likewise.
29875 * sunrpc/xdr_ref.c: Likewise.
29876 * sunrpc/xdr_stdio.c: Likewise.
29878 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29882 2011-07-03 Andreas Jaeger <aj@suse.de>
29884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29886 regenerate with gen-libm-tests.pl.
29888 2010-05-12 Petr Baudis <pasky@suse.cz>
29891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29892 around j0() zero points by switching to j1().
29893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29898 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29905 Patch in part by Pavel Roskin <proski@gnu.org>.
29908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29911 Free memory block if necessary.
29914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29915 be NULL. Don't lock in this case.
29917 2011-09-09 Roland McGrath <roland@hack.frob.com>
29919 * elf/elf.h (ELFOSABI_GNU): New macro.
29920 (ELFOSABI_LINUX): Define to that.
29922 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29924 * string/strncat.c (strncat): Undef the symbol in case it has been
29925 defined in bits/string.h.
29927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29934 2011-08-17 Andreas Jaeger <aj@suse.de>
29936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29938 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29939 Ian Lance Taylor <iant@google.com>
29941 * math/libm-test.inc (lround_test): New testcase.
29942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29944 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29946 * Makefile: Remove support for automatic cvs check-ins.
29947 * Makerules: Likewise.
29948 * config.make.in: Likewise.
29949 * configure.in: Likewise.
29950 * intl/Makefile: Likewise.
29951 * locale/Makefile: Likewise.
29952 * po/Makefile: Likewise.
29953 * posix/Makefile: Likewise.
29954 * sysdeps/gnu/Makefile: Likewise.
29955 * sysdeps/mach/hurd/Makefile: Likewise.
29956 * sysdeps/sparc/sparc32/Makefile: Likewise.
29959 * posix/Makefile (bug-regex32-ENV): Define.
29960 Patch by John Stanley <jpsinthemix@verizon.net>.
29962 * misc/Makefile (headers): Add bits/select2.h.
29963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29964 * misc/bits/select2.h: New file.
29965 * include/bits/select2.h: New file.
29966 * debug/Makefile (routines): Add fdelt_chk.
29967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29970 * debug/fdelt_chk.c: New file.
29972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29973 * wcsmbs/test-wmemcmp.c: Likewise.
29974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29977 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29979 * string/Makefile (strop-tests): Add memcmp.
29980 * string/test-wmemcmp.c: New file.
29981 * string/test-memcmp.c: Add wmemcmp support.
29983 2011-09-08 Roland McGrath <roland@hack.frob.com>
29986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29990 garbage value in a __mach_port_mod_refs call in the cases of the
29991 task-self and thread-self ports.
29993 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29997 2011-09-08 Andreas Schwab <schwab@redhat.com>
29999 * elf/dl-load.c (lose): Check for non-null L.
30001 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30005 * elf/dl-libc.c (dlerror_run): Pass back error code from
30009 * elf/dl-load.c (lose): Free l_origin if it is valid.
30011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30020 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30033 2011-08-15 Alan Modra <amodra@gmail.com>
30036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30039 ppc_mcount to static-only-routines.
30040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30045 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30048 for finite and infinity parameters.
30050 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30053 and add nop instructions for throughput optimization.
30054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30056 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30059 aligned copy for power7 with vector-scalar instructions.
30060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30062 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30067 2011-09-07 Andreas Schwab <schwab@redhat.com>
30070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30073 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30081 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30084 Forgot to demangle the pointer.
30086 * sysdeps/i386/sysdep.h: Define atom_text_section.
30087 * sysdeps/x86_64/sysdep.h: Likewise.
30088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30089 section with atom_text_section.
30090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30098 already be defined. Change to take two parameters and don't assign
30099 result to variable. Adjust all users.
30100 Define INTERNAL_GETTIME if not already defined.
30101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30104 HAVE_CLOCK_GETTIME_VSYSCALL.
30105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30108 gettimeofday vsyscall, just use time.
30110 2011-09-06 Andreas Schwab <schwab@redhat.com>
30112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30115 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30123 syscall if possible.
30125 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30128 e_ident. Don't pass to find_mapsXX.
30129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30131 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30135 * sysdeps/x86_64/multiarch/strchr.S: Update.
30136 Check bit_slow_BSF bit.
30137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30141 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30146 (tryshell): Define.
30147 (__spawni): Change last parameter to be flag. Test
30148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30151 * posix/spawni.c: Likewise.
30152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30153 * posix/spawnp.c: Likewise. Change normal version to use
30154 SPAWN_XFLAGS_USE_PATH.
30155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30156 SPAWN_XFLAGS_TRY_SHELL.
30159 * posix/glob.h: Remove gcc 1.x support.
30162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30164 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30176 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30178 * sysdeps/x86_64/wcscmp.S: New file.
30180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30181 wcscmp-c wcscmp-sse2
30182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30185 * wcsmbs/wcscmp.c: Allow renaming.
30187 2011-09-05 David S. Miller <davem@davemloft.net>
30189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30190 stack slot, rather than the struct return pointer slot.
30191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30196 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30198 * po/ja.po: Update from translation team.
30201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30202 kernel in 64-bit binaries.
30204 2011-09-01 David S. Miller <davem@davemloft.net>
30206 * elf/elf.h (HWCAP_SPARC_*): Move to..
30207 * sysdeps/sparc/sysdep.h: this new file and add new values.
30208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30210 _DL_HWCAP_COUNT to 24.
30211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30217 instead of magic constants.
30218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30220 2011-08-31 David S. Miller <davem@davemloft.net>
30222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30224 Reimplement to do errno handling inline.
30225 (SYSCALL_ERROR_HANDLER): New macro.
30226 (__SYSCALL_STRING): Do not do errno handling in asm.
30227 (__CLONE_SYSCALL_STRING): Delete.
30228 (__INTERNAL_SYSCALL_STRING): Delete.
30229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30231 (PSEUDO): Reimplement to do errno handling inline.
30232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30233 (SYSCALL_ERROR_HANDLER): New macro.
30234 (__SYSCALL_STRING): Do not do errno handling in asm.
30235 (__CLONE_SYSCALL_STRING): Delete.
30236 (__INTERNAL_SYSCALL_STRING): Delete.
30237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30241 (inline_syscall*): Add 'err' argument.
30242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30250 2011-08-30 Andreas Schwab <schwab@redhat.com>
30252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30254 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30259 2011-08-24 David S. Miller <davem@davemloft.net>
30261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30263 2011-08-24 Andreas Schwab <schwab@redhat.com>
30265 * elf/Makefile: Add rules to build and run unload8 test.
30266 * elf/unload8.c: New file.
30267 * elf/unload8mod1.c: New file.
30268 * elf/unload8mod1x.c: New file.
30269 * elf/unload8mod2.c: New file.
30270 * elf/unload8mod3.c: New file.
30272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30275 2011-08-23 David S. Miller <davem@davemloft.net>
30277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30278 subtract stack bias.
30279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30280 %sp not %fp in calculations.
30281 (_JMPBUF_UNWINDS_ADJ): Likewise.
30283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30284 (aio_suspend): Call it to force an exception region around the
30285 AIO_MISC_WAIT() invocation.
30287 2011-08-23 Andreas Schwab <schwab@redhat.com>
30289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30292 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30297 and <dl-machine.h>.
30298 (Elf64_FuncDesc): Remove.
30300 2011-08-22 David S. Miller <davem@davemloft.net>
30302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30303 sigaltstack check, add missing cfi directives.
30304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30305 missing cfi directives, and sigaltstack handling.
30307 2011-08-16 Andreas Schwab <schwab@redhat.com>
30310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30311 object is seen twice.
30312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30314 * elf/Makefile (distribute): Add tst-initorder2.c.
30315 (tests): Add tst-initorder2.
30316 (modules-names): Add tst-initorder2a tst-initorder2b
30317 tst-initorder2c tst-initorder2d. Add rules to build them.
30318 ($(objpfx)tst-initorder2.out): New rule.
30319 * elf/tst-initorder2.c: New file.
30320 * elf/tst-initorder2.exp: New file.
30322 2011-08-22 Andreas Schwab <schwab@redhat.com>
30324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30327 dependencies back to end of function.
30329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30330 $(elfobjdir)/ld.so.
30332 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30339 of __vdso_gettimeofday.
30340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30343 (_libc_vdso_platform_setup): Remove initialization of
30344 __vdso_gettimeofday and __vdso_time.
30346 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30349 and fgetc_unlocked.
30350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30353 * elf/dl-open.c (add_to_global): Report additions to the global scope
30354 for LD_DEBUG=scopes.
30355 (dl_open_worker): Also print scope of newly loaded dependencies.
30356 (_dl_show_scope): Indicate if there is no scope.
30359 * stdio-common/Makefile (tests): Add bug24.
30360 * stdio-common/bug24.c: New file.
30362 2011-08-19 Andreas Jaeger <aj@suse.de>
30365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30366 non-existant file when using close-on-exec mode.
30368 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30371 the very first instruction.
30373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30374 the CFI state in the end.
30375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30376 inclusion of dl-trampoline.h.
30377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30379 2011-08-19 Andreas Schwab <schwab@redhat.com>
30381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30382 expectations for long double.
30384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30387 2011-08-14 David S. Miller <davem@davemloft.net>
30389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30390 artificual limit depends upon the system page size.
30392 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30395 * resolv/Makefile: Define CFLAGS-libresolv.
30397 2011-08-17 Andreas Schwab <schwab@redhat.com>
30399 * nss/makedb.c (compute_tables): Make variables used in nested
30402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30406 if buffer was too small.
30408 * elf/pldd.c (main): Attach to all threads in the process.
30409 Rewrite /proc handling to use *at functions.
30411 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30414 specifies first scope to show.
30415 (dl_open_worker): Update callers. Move printing scope of new
30416 object to before the relocation.
30417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30418 * sysdeps/generic/ldsodefs.h: Update declaration.
30420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30421 string for the scope number.
30423 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30425 * nscd/servicescache.c (cache_addserv): Make sure written is always
30428 2011-08-14 Roland McGrath <roland@hack.frob.com>
30430 * sysdeps/i386/i486/bits/atomic.h
30431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30432 statement expression, so as to suppress "set but not used" warning.
30433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30435 * string/strncat.c (STRNCAT): Use prototype definition.
30437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30441 (localedef-modules): Add localedef.
30442 (locale-modules): Add locale.
30444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30446 to avoid a warning.
30448 2011-08-14 David S. Miller <davem@davemloft.net>
30450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30453 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30457 * elf/rtld.c (dl_main): Set l_name of vDSO.
30458 Call _dl_show_scope when DL_DEBUG_SCOPES.
30459 (process_dl_debug): Recognize scopes flag and also set it for all.
30460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30461 Declare _dl_show_scope.
30463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30464 (do_dlopen): Pass caller_dlopen to dl_open.
30465 (__libc_dlopen_mode): Initialize caller_dlopen.
30467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30468 of libc. Make tolower call locale-independent. Optimize a bit by
30469 using isdigit instead of isalnum.
30470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30472 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30475 was a dependency or dynamically loaded.
30477 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30479 * intl/l10nflist.c: Allow architecture-specific pop function.
30480 * sysdeps/x86_64/l10nflist.c: New file.
30482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30485 2011-08-10 Andreas Schwab <schwab@redhat.com>
30487 * include/dirent.h: Add libc_hidden_proto for scandirat and
30488 scandirat64. Don't declare __scandirat64.
30489 * dirent/scandirat.c: Add libc_hidden_def.
30490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30493 2011-08-10 David S. Miller <davem@davemloft.net>
30495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30501 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30503 * Versions.def [libc]: Add GLIBC_2.15.
30504 * dirent/Makefile (routines): Add scandirat and scandirat64.
30505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30507 * dirent/dirent.h: Declare scandirat and scandirat64.
30508 * dirent/scandirat.c: New file.
30509 * dirent/scandirat64.c: New file.
30510 * sysdeps/wordsize-64/scandirat.c: New file.
30511 * sysdeps/wordsize-64/scandirat64.c: New file.
30512 * dirent/opendir.c: Define opendirat.
30513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30515 * dirent/scandir64.c: Adjust for scandir.c change.
30516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30517 __scandirat64, and __scandir_cancel_handler.
30518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30519 additional parameter and use openat instead of open (outside of ld.so).
30520 Add new __opendir as wrapper around __opendirat.
30521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30522 here without requiring old scandirat implementation.
30524 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30526 * dirent/scandir.c (cancel_handler): Renamed to
30527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30528 defined. Adjust users.
30529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30532 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30534 * string/test-string.h (IMPL): Use __STRING to expand name and then
30537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30540 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30542 * string/Makefile: Update.
30543 (strop-tests): Append strncat.
30544 * string/test-wcscmp.c: New file.
30545 New comprehensive test for wcscmp.
30546 * string/test-strcmp.c: Update.
30547 (WIDE): New define.
30549 2011-07-22 Andreas Schwab <schwab@redhat.com>
30551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30554 2011-07-26 Andreas Schwab <schwab@redhat.com>
30556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30557 encoding to ACE if AI_IDN.
30559 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30564 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30567 Fix overflow bug in strncat.
30568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30570 * string/test-strncat.c: Update.
30571 Add new tests for checking overflow bugs.
30573 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30586 (USE_AS_STRCAT): Define.
30587 Add strcat and strncat support.
30588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30590 2011-07-25 Andreas Schwab <schwab@redhat.com>
30592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30593 __n bigger than INT_MAX+1.
30594 (__strncmp_g): Likewise.
30596 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30599 * libio/stido.h: Likewise.
30601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30618 (_dl_x86_64_save_sse): Likewise.
30620 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30624 (_dl_x86_64_save_sse): Likewise.
30626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30630 2011-07-21 Andreas Schwab <schwab@redhat.com>
30632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30634 (_dl_x86_64_save_sse): Use correct AVX check.
30636 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30639 bug in strncpy/strncat.
30640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30642 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30644 * string/tester.c (test_strcat): Add tests for different alignments
30645 of source and destination.
30646 (test_strncat): Likewise.
30648 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30651 * posix/glob.c (glob): Check passed in values before using them in
30652 expressions to avoid some overflows.
30653 (glob_in_dir): Likewise.
30656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30657 check for AVX enablement so that we don't crash with old kernels and
30659 * elf/tst-audit4.c: Add same checks here.
30660 * elf/tst-audit6.c: Likewise.
30662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30664 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30668 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30670 * po/cs.po: Update from translation team.
30671 * po/bg.po: Likewise.
30673 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30675 * misc/sys/cdefs.h: Add support for const attribute.
30676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30677 to gnu_dev_{major,minor,makedev} functions.
30679 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30683 2011-07-20 Andreas Schwab <schwab@redhat.com>
30685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30688 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30692 register in order to avoid conflicts with the soft frame pointer
30693 being held in r11 when necessary.
30694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30695 (INTERNAL_VSYSCALL_NCS): Likewise.
30697 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30700 * elf/dl-fini.c (_dl_fini): Adjust caller.
30701 * elf/dl-close.c (_dl_close_worker): Likewise.
30702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30704 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30707 "aux_cache->nlibs < 0".
30709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30710 in the reload-count case.
30712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30718 * sysdeps/x86_64/multiarch/strcat.S: New file.
30719 * sysdeps/x86_64/multiarch/strncat.S: New file.
30720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30725 (USE_AS_STRCAT): Define.
30726 Add strcat and strncat support.
30727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30730 * string/strncat.c: Update.
30731 (USE_AS_STRNCAT): Define.
30732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30735 * sysdeps/x86_64/multiarch/init-arch.h
30736 (bit_Prefer_PMINUB_for_stringop): New.
30737 (index_Prefer_PMINUB_for_stringop): Likewise.
30738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30739 bit_Prefer_PMINUB_for_stringop.
30741 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30746 of casting of buffer.
30747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30748 buffer32 and buffer64.
30749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30750 writes instead of casting of buffer.
30751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30756 2011-07-19 Andreas Schwab <schwab@redhat.com>
30758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30760 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30762 * nscd/nscd.c (termination_handler): Don't do anything for a database
30763 if it has not yet been initialized.
30765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30769 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30773 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30775 * po/nl.po: Update from translation team.
30776 * po/sv.po: Likewise.
30778 2011-07-16 Roland McGrath <roland@hack.frob.com>
30780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30781 now disallowed by GCC.
30783 * configure.in (use-default-link): Default to yes if a test -shared
30784 link meets our qualifications.
30785 * configure: Regenerated.
30787 * config.make.in (output-format): New variable.
30788 * configure.in: Check for ld --print-output-format support.
30789 * configure: Regenerated.
30790 * Makerules ($(common-objpfx)format.lds)
30791 [$(output-format) != unknown]: Just use $(output-format),
30792 instead of the linker-script munging.
30794 2011-07-14 Roland McGrath <roland@hack.frob.com>
30796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30797 of $(common-objpfx)shlib.lds.
30798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30803 * configure.in (-z relro check): Adjust test code to add a large
30804 writable data section after it.
30805 * configure: Regenerated.
30807 2011-07-11 Roland McGrath <roland@hack.frob.com>
30809 * configure.in (-z relro check): Fix test code to make the variable
30811 * configure: Regenerated.
30813 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30815 * nscd/nscd.h (struct traced_file): Define.
30816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30817 elements. Add traced_files.
30818 (inotify_fd): Declare.
30819 (register_traced_file): Declare.
30820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30821 (inotify_fd): Export.
30822 (resolv_conf_descr): Remove.
30823 (nscd_init): Move inotify descriptor creation to main.
30824 Don't register files for notification here.
30825 (register_traced_file): New function.
30826 (invalidate_cache): Don't use reset_res to determine whether to call
30827 res_init, go through the list of registered files.
30828 (main_loop_poll): The inotify descriptors are now stored in the
30829 structures for the traced files.
30830 (main_loop_epoll): Likewise
30831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30832 to __nss_disable_nscd.
30833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30834 for a database anymore. Check the records for all the registered
30836 * nss/Makefile (libnss_files-routines): Add files-init.
30837 (libnss_db-routines): Add db-init.
30838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30840 * nss/nss_db/db-init.c: New file.
30841 * nss/nss_files/files-init.c: New file.
30842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30843 __nss_lookup_function.
30844 (__nss_lookup_function): Call nss_load_library.
30845 (nss_load_all_libraries): New function.
30846 (__nss_disable_nscd): Take parameter with callback function for files
30847 to register. Set is_nscd. Load all the DSOs for the NSS modules
30848 used for the cached services.
30849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30851 options for features to all the files in nscd.
30853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30855 2011-07-10 Roland McGrath <roland@hack.frob.com>
30857 * csu/elf-init.c (__libc_csu_init): Comment typo.
30859 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30861 * po/pl.po: Update from translation team.
30862 * po/ja.po: Likewise.
30863 * po/ru.po: Likewise.
30864 * po/ko.po: Likewise.
30865 * po/fr.po: Likewise.
30867 2011-07-09 Roland McGrath <roland@hack.frob.com>
30869 * configure.in (.ctors/.dtors header and trailer check):
30870 Use an empirical test on a built program.
30871 * configure: Regenerated.
30873 * configure.in (-z relro check): Use an empirical test on a built DSO.
30874 Detect, but do not require, on ia64.
30875 * configure: Regenerated.
30877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30878 Update tests that use readelf to use $READELF instead.
30879 * configure: Regenerated.
30881 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30884 if the result is not used.
30886 2011-07-05 Andreas Jaeger <aj@suse.de>
30889 * stdlib/tst-strtod.c: Add testcase.
30891 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30895 The latter has a higher limit. Take additional parameter to pass to
30897 (__pathconf): Pass file to __statfs_link_max.
30898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30908 (__statfs_filesize_max): Likewise.
30909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30911 2011-07-05 Andreas Jaeger <aj@suse.de>
30913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30915 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30922 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30924 * Makefile (strop-tests): Add strncat.
30925 * string/test-strncat.c: New file.
30927 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30931 2011-06-21 Andreas Jaeger <aj@suse.de>
30933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30934 Copy rule from iconvdata/Makefile.
30936 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30940 but no long options are defined, just return 'W'.
30942 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30947 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30951 (innetgr): Likewise.
30953 2011-07-05 Roland McGrath <roland@hack.frob.com>
30955 * config.make.in (install_root): Default to $(DESTDIR).
30957 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30961 2011-07-02 Roland McGrath <roland@hack.frob.com>
30963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30966 containing directory rather than embedding absolute directory names.
30968 * scripts/check-local-headers.sh: Rewritten using awk.
30969 Match by word, not by line. Print error messages for matches.
30970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30972 * Makerules [shlib-lds-flags empty]:
30973 ($(common-objpfx)libc_pic.opts): New target.
30974 ($(common-objpfx)libc_pic.os.clean): New target.
30975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30977 * config.make.in (OBJCOPY): New variable.
30978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30979 * configure: Regenerated.
30981 * config.make.in (use-default-link): New variable.
30982 * configure.in (use_default_link): Grok --with-default-link to set it.
30983 * configure: Regenerated.
30984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30985 (shlib-lds, shlib-lds-flags): Define to empty.
30987 * Makerules (shlib-lds): New variable.
30988 (shlib-lds-flags): New variable.
30989 (build-shlib, build-moduile, build-module-asneeded): Use it.
30990 ($(common-objpfx)libc.so): Use $(shlib-lds).
30991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30995 DT_FLAGS/DT_FLAGS_1 with zero flags.
30997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30998 linker script munging.
31000 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31004 * crypt/sha512.c (sha512_process_block): Perform total addition using
31005 128-bit if possible.
31006 (__sha512_finish_ctx): Likewise.
31007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31009 * crypt/sha256.c (SWAP64): Define.
31010 (sha256_process_block): Perform total addition using 64-bit if
31012 (__sha256_finish_ctx): Likewise.
31014 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31018 * nscd/hstcache.c (cache_addhst): Likewise.
31019 * nscd/grpcache.c (cache_addgr): Likewise.
31020 * nscd/aicache.c (addhstaiX): Likewise
31021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31023 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31027 * nscd/hstcache.c (cache_addhst): Likewise.
31028 * nscd/grpcache.c (cache_addgr): Likewise.
31029 * nscd/aicache.c (addhstaiX): Likewise
31031 2011-07-01 Andreas Schwab <schwab@redhat.com>
31033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31034 domain only when needed.
31036 2011-06-30 Andreas Schwab <schwab@redhat.com>
31038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31039 is always restored.
31041 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31044 are re-adding the entry.
31045 * nscd/servicescache.c (cache_addserv): Likewise.
31047 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31049 * sysdeps/generic/dl-irel.h: fix protection against multiple
31051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31053 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31056 * malloc/memusage.sh: Fix quoting in message.
31057 * debug/xtrace.sh: Likewise.
31059 * configure.in: Remove support for --experimental-malloc option, make
31061 * config.make.in: Likewise.
31062 * malloc/Makefile: Likewise.
31064 2011-06-27 Andreas Schwab <schwab@redhat.com>
31066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31067 two-byte characters.
31069 2011-06-27 Roland McGrath <roland@hack.frob.com>
31071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31072 AC_CACHE_CHECK invocation.
31073 * configure: Regenerated.
31075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31077 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31081 bit from old_res_options.
31083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31086 value type for setfct.
31088 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31091 __gettimeofday instead of gettimeofday.
31093 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31097 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31104 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31108 strcpy-sse2-unaligned strncpy-sse2-unaligned
31109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31119 (STRCPY): Support SSE2 and SSSE3 versions.
31121 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31126 kernels which artificially limit size of requests.
31128 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31146 Enable unaligned load optimization for Intel Core i3, i5 and i7
31148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31150 (index_Fast_Unaligned_Load): Define.
31151 (HAS_FAST_UNALIGNED_LOAD): Define.
31153 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31157 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31161 until it is clear that the information is realy needed.
31162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31164 2011-06-22 Andreas Schwab <schwab@redhat.com>
31166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31168 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31171 /sys/devices/system/cpu/online if it is usable.
31173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31174 reading the information from the /proc filesystem to once a second.
31176 2011-06-21 Andreas Jaeger <aj@suse.de>
31178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31179 NULL after inclusion of kernel headers.
31181 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31184 calls to internal_setent.
31187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31188 addresses using gethostbyname4_r ignore IPv4 addresses.
31190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31195 2011-06-20 David S. Miller <davem@davemloft.net>
31197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31202 (elf_irel): Use it.
31203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31207 * sysdeps/x86_64/dl-irel.h: Likewise.
31209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31210 * elf/dl-sym.c: Likewise.
31212 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31215 need to dereference resplen2.
31217 2011-06-14 Andreas Schwab <schwab@redhat.com>
31219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31221 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31223 * Makeconfig: Define vardbdir and inst_vardbdir.
31224 * nss/Makefile: Add rules to install db-Makefile.
31226 * nss/nss_db/db-XXX.c: Cleanup.
31228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31232 * nss/makedb.c: Implement -g option to specify that value strings
31233 are generated and should not be added to table iterated over for
31235 * nss/nss_db/db-initgroups.c: New file.
31237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31241 (internal_getgrouplist): Adjust to name change.
31242 Update use_initgroups_entry if this is not the first call.
31243 * nss/databases.def: Add initgroups entry.
31245 * nss/makedb.c (compute_tables): Check result of multiple hash table
31246 sizes to minimize maximum chain length.
31248 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31250 * Versions.def: Add entry for libnss_db.
31251 * shlib-versions: Likewise.
31252 * nss/Makefile: Add rules to build libnss_db.
31253 * nss/Versions: Add libnss_db information. Organize libnss_files
31255 * nss/db-Makefile: Add gshadow support. Change rules for the new
31256 makedb progra. Some minor improvements to generate smaller files.
31257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31259 * nss/makedb.c: ...here.
31260 Improve database format to be smaller and require less memory at
31262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31264 * nss/nss_db/db-netgrp.c: Likewise.
31265 * nss/nss_db/db-open.c: Likewise.
31266 * nss/nss_files/flies-XXX.x: Adjust comments.
31267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31268 * nss/nss_files/files-grp.c: Likewise.
31269 * nss/nss_files/files-hosts.c: Likewise.
31270 * nss/nss_files/files-network.c: Likewise.
31271 * nss/nss_files/files-proto.c: Likewise.
31272 * nss/nss_files/files-pwd.c: Likewise.
31273 * nss/nss_files/files-rpc.c: Likewise.
31274 * nss/nss_files/files-service.c: Likewise.
31275 * nss/nss_files/files-sgrp.c: Likewise.
31276 * nss/nss_files/files-spwd.c: Likewise.
31277 * nss/nss_db/db-alias.c: Removed.
31278 * nss/nss_db/dummy-db.h: Removed.
31280 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31282 * nss/makedb.c: Rewritten to not use database library.
31283 * nss/Makefile: Update to build new makedb program.
31285 2011-06-14 Andreas Jaeger <aj@suse.de>
31287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31288 memset declaration.
31290 2011-06-10 Andreas Schwab <schwab@redhat.com>
31292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31295 2011-06-10 Roland McGrath <roland@hack.frob.com>
31297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31298 * elf/Makefile ($(objpfx)ld.so): Likewise.
31300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31301 Don't list ld.so twice in dependencies.
31303 * posix/bug-regex31.c: Include <stdlib.h>.
31305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31307 * nis/nss_compat/compat-spwd.c
31308 (getspent_next_nss_netgr): Remove unused variable.
31309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31312 nonmembers" output to use the right array.
31314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31320 * catgets/gencat.c (read_input_file): Likewise.
31321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31324 variable definition inside #if's controlling its use.
31326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31338 * configure: Regenerated.
31340 * Makerules: Revert last change.
31341 * elf/Makefile: Likewise.
31343 2011-06-09 Roland McGrath <roland@hack.frob.com>
31345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31347 (reloc-link): Likewise.
31349 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31351 * elf/Makefile: Add rules to build pldd.
31352 * elf/pldd.c: New file.
31353 * elf/pldd-xx.c: New file.
31355 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31357 * version.h: Update for 2.15 development version.
31359 2011-06-07 David S. Miller <davem@davemloft.net>
31361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31364 elf_machine_lazy_rel): Likewise.
31365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31367 elf_machine_lazy_rel): Likewise.
31368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31369 dl_hwcap via passed in argument.
31370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31373 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31377 2011-06-06 Roland McGrath <roland@hack.frob.com>
31380 * manual/fdl-1.1.texi: New file, verbatim from:
31381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31382 * manual/lgpl-2.1.texi: New file, verbatim from:
31383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31384 * manual/Makefile (licenses): New variable, list those new file names.
31386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31388 * manual/fdl.texi: File removed.
31389 * manual/lesser.texi: File removed.
31390 * manual/libc.texinfo (Copying, Documentation License):
31391 Use new @include file names, put @appendix directive before @include.
31393 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31398 (mq_open): Add __NTH.
31400 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31403 Assume Intel Core i3/i5/i7 processor if AVX is available.
31405 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31410 2011-05-31 Andreas Schwab <schwab@redhat.com>
31412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31413 memory. Use alloca_account. Fix memory leak when retrying.
31415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31417 * version.h (RELEASE): Bump for 2.14 release.
31418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31420 * config.make.in (RANLIB): Remove entry.
31422 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31425 (libc.pot): Work around missing support for .ksh extension in xgettext.
31428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31429 if both request failed.
31430 (send_dg): In case of server errors clear resplen or *resplen2.
31433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31434 when there are multiple maps.
31435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31436 (_dl_fini): Remove test here.
31438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31440 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31444 bit from old_res_options.
31445 (gaih_inet): Likewise.
31448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31451 * resolv/res_init.c (res_setoptions): Make the code more compact.
31454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31463 * malloc/malloc.h: Declare malloc hook variables as volatile.
31465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31470 raise in the comment.
31471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31475 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31479 grow the buffers more if it already has to be sufficient.
31480 (build_wcs_upper_buffer): Likewise.
31481 * posix/regexec.c (check_matching): Likewise.
31482 (clean_state_log_if_needed): Likewise.
31483 (extend_buffers): Don't enlarge buffers beyond size of the input
31485 Patches mostly by Emil Wojak <emil@wojak.eu>.
31486 * posix/bug-regex32.c: New file.
31487 * posix/Makefile (tests): Add bug-regex32.
31489 * locale/findlocale.c (_nl_find_locale): Return right away if
31490 _nl_explode_name failed.
31491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31495 * debug/xtrace.sh: Unify messages.
31496 * malloc/memusage.sh: Likewise.
31499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31500 time symbol from vDSO. Substitute with vsyscall if not available.
31501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31507 Add sendmmsg and internal_sendmmsg.
31508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31516 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31526 * iconvdata/Makefile (tests): Add bug-iconv9.
31527 * iconvdata/bug-iconv9.c: New file.
31529 2011-05-27 Andreas Schwab <schwab@redhat.com>
31532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31534 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31537 (struct user_regs_struct): Change intcs field back to cs.
31539 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31541 * po/ja.po: Update from translation team.
31543 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31549 2011-05-20 Andreas Schwab <schwab@redhat.com>
31551 * stdlib/longlong.h: Update from GCC.
31553 2011-05-23 Andreas Schwab <schwab@redhat.com>
31555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31558 Add parameter name.
31559 (__sysconf): Pass it down.
31561 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31568 add in in __libc_use_alloca calls. Adjust callers.
31569 (glob): Use malloc in some situations.
31571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31575 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31578 and CLOCK_BOOTTIME_ALARM.
31581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31584 * string/_strerror.c (__strerror_r): Print negative errors as signed
31588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31592 * configure.in: Fix typo in redirection and correct removal of test
31593 files in two cases.
31596 * locale/setlocale.c (new_composite_name): Fix test to check for
31597 identical name of all categories.
31600 * libio/filedoalloc.c (local_isatty): New function.
31601 (_IO_file_doallocate): Use local_isatty.
31602 * stdio-common/perror.c (perror): In case a new stream is used
31603 forward the stream error.
31604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31607 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31612 * include/alloca.h (extend_alloca_account): Define.
31615 * posix/regex.h: Fix comments with documentation of user-accessible
31616 fields after compilation and describe correct free'ing of pattern
31617 after re_compile_pattern.
31618 Patch by Reuben Thomas <rrt@sc3d.org>.
31620 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31623 and -mno-altivec to prevent the compiler from using Altivec and/or
31624 VSX instructions when the corresponding registers are not available.
31626 2011-05-19 Andreas Schwab <schwab@redhat.com>
31628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31630 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31632 * libio/freopen.c (freopen): Use __dup2, not dup2.
31633 * libio/freopen64.c (freopen64): Likewise.
31635 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31639 * math/Makefile (tests): Add test-powl.
31640 (CFLAGS-test-powl.c): Define.
31641 * math/test-powl.c: New file.
31643 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31647 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31650 * iconvdata/gb18030.c: Update to GB18020-2005.
31652 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31656 Patch by Aharon Robbins <arnold@skeeve.com>.
31659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31664 through underflows.
31667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31668 point to strings before performing equality test for error_one_per_line
31672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31676 (struct user_fpregs_struct): Avoid __uint*_t types.
31679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31680 symbol info. Use it instead of calling _dl_addr locally.
31681 (lock_and_info): New function.
31682 (tr_freehook): Call lock_and_info and pass symbol info as additional
31683 parameter to tr_where.
31684 (tr_mallochook): Likewise.
31685 (tr_reallochook): Likewise.
31686 (tr_memalignhook): Likewise.
31688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31689 used and couldn't be at all thread-safe.
31691 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31693 * libio/freopen.c (freopen): Don't close old file descriptor
31694 before the new one is opened. Instead dup the new file descriptor
31695 to the old one after the new stream is created.
31696 * libio/freopen64.c (freopen64): Likewise.
31697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31698 * libio/fileops.c (_IO_new_file_close_it): Handle new
31699 _IO_FLAGS2_NOCLOSE flag.
31700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31703 _IO_FLAGS2_NOCLOSE flag.
31704 * include/unistd.h: Add hidden_proto for dup3.
31705 Define __have_dup3.
31706 * io/dup3.c: Define hidden symbol.
31707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31711 when an incomplete long option is used.
31712 * posix/tst-getopt_long1.c: New file.
31713 * posix/Makefile (tests): Add tst-getopt_long1.
31716 * scripts/config.guess: Update from autoconf-2.68.
31717 * scripts/config.sub: Likewise.
31720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31722 (has_cpuclock): ...this. New function.
31723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31724 macro here based on has_cpuclock code.
31727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31728 First byte (not low byte) is now always NUL.
31729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31732 Use non-cancelable interfaces.
31735 * locale/iso-639.def: Add entry for Sorani.
31738 * include/stdlib.h: Move include protection to the right place.
31739 Define abort_msg_s. Declare __abort_msg with it.
31740 * stdlib/abort.c (__abort_msg): Adjust type.
31741 * assert/assert.c (__assert_fail_base): New function. Majority
31742 of code from __assert_fail. Allocate memory for __abort_msg with
31744 (__assert_fail): Now call __assert_fail_base.
31745 * assert/assert-perr.c: Remove bulk of implementation. Use
31746 __assert_fail_base.
31747 * include/assert.hL Declare __assert_fail_base.
31748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31752 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31757 until all modules are registered in the DTV.
31758 * elf/Makefile: Add rules to build and run tst-tls19.
31759 * elf/tst-tls19.c: New file.
31760 * elf/tst-tls19mod1.c: New file.
31761 * elf/tst-tls19mod2.c: New file.
31762 * elf/tst-tls19mod3.c: New file.
31763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31771 two-byte sequence errors.
31772 * iconvdata/Makefile (tests): Add bug-iconv8.
31773 * iconvdata/bug-iconv8.c: New file.
31776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31783 (dummy_getcfa): New function.
31784 (init): Get _Unwind_GetCFA address, use dummy if not found.
31785 (backtrace_helper): In recursion check, also check whether CFA changes.
31786 (__backtrace): Completely initialize arg.
31788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31789 storing incomplete byte sequence in state object. Avoid testing for
31790 guaranteed too small input if we know there is enough data available.
31792 2011-05-11 Andreas Schwab <schwab@redhat.com>
31794 * Makeconfig (+link-pie): Indent.
31795 * Rules (binaries-pie): Define if $(have-fpie) and
31797 (binaries-shared): Also filter out $(binaries-pie).
31798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31799 * nscd/Makefile (others-pie): Add nscd.
31800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31801 ($(objpfx)nscd): Remove command override.
31802 * login/Makefile (others-pie): Add pt_chown.
31803 ($(objpfx)pt_chown): Remove command override.
31804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31805 remove command overrides.
31807 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31809 * libio/tst_putwc.c: Fix error messages.
31812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31813 currently writing and seek to current position when not.
31814 * libio/Makefile (tests): Add bug-fclose1.
31815 * libio/bug-fclose1.c: New file.
31817 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31821 don't set DF_1_NODELETE here.
31822 (do_lookup_x): When entering new entry test for copy relocation
31823 and if necessary set DF_1_NODELETE flag.
31824 * elf/tst-unique4.cc: New file.
31825 * elf/tst-unique4.h: New file.
31826 * elf/tst-unique4lib.cc: New file.
31827 * elf/Makefile: Add rules to build and run tst-unique4.
31828 Patch by Piotr Bury <pbury@goahead.com>.
31830 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31836 * misc/mntent_r.c (addmntent): Flush the stream after the output
31839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31840 (is_trusted_path_normalize): Skip initial colon. Append slash
31841 to empty buffer. Duplicate is_trusted_path code but allow
31842 constructed patch to be prefix.
31843 (is_dst): Allow $ORIGIN followed by /.
31844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31845 Correct testing of result of is_trusted_path_normalize
31846 (decompose_rpath): Fix warning.
31848 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31851 * grp/initgroups.c (internal_getgrouplist): When we found the service
31852 list through the initgroups entry in nsswitch.conf do not always
31853 continue on a successful lookup. Don't always use the
31854 __nss_group_database value if it is set.
31855 * nss/nsswitch.conf (initgroups): Change action for successful db
31856 lookup to continue for compatibility.
31858 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31865 * iconvdata/tst-tables.sh: Likewise.
31866 * iconvdata/cp770.c: New file.
31867 * iconvdata/cp771.c: New file.
31868 * iconvdata/cp772.c: New file.
31869 * iconvdata/cp773.c: New file.
31870 * iconvdata/cp774.c: New file.
31871 * iconvdata/testdata/CP770: New file.
31872 * iconvdata/testdata/CP770..UTF8: New file.
31873 * iconvdata/testdata/CP771: New file.
31874 * iconvdata/testdata/CP771..UTF8: New file.
31875 * iconvdata/testdata/CP772: New file.
31876 * iconvdata/testdata/CP772..UTF8: New file.
31877 * iconvdata/testdata/CP773: New file.
31878 * iconvdata/testdata/CP773..UTF8: New file.
31879 * iconvdata/testdata/CP774: New file.
31880 * iconvdata/testdata/CP774..UTF8: New file.
31882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31884 * iconvdata/gen-8bit-gap.sh: Likewise.
31885 * iconvdata/gen-8bit.sh: Likewise.
31887 * locale/iso-639.def: Add ary entry.
31890 * locale/C-translit.h.in: Add U20A1 transliteration.
31893 * locale/iso-639.def: Add wae entry.
31894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31901 * locale/C-translit.h.in: Add entry for U20B9.
31902 Patch by pravin.d.s@gmail.com.
31904 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31908 ENAMETOOLONG use generic getcwd.
31909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31910 in rtld. Use *stat64.
31911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31918 __fstatat64 macros.
31919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31920 * dirent/rewinddir.c: Add libc_hidden_def.
31921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31924 * include/dirent.h (__alloc_dir): Add flags parameter.
31925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31929 from fdopendir if O_CLOEXEC is already set.
31931 2011-03-15 Alan Modra <amodra@gmail.com>
31933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31934 l_tls_firstbyte_offset non-zero. Save padding offset in
31935 l_tls_firstbyte_offset for later use.
31936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31937 freeing static tls block.
31939 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31942 where #ifdef was intended. The intent is to prevent ARG_MAX from
31943 being defined by the kernel headers.
31945 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31948 * resolv/resolv.h: Define RES_NOTLDQUERY.
31949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31950 no-tld-query and set RES_NOTLDQUERY.
31951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31953 modern BIND to search name as TLD unless forbidden.
31955 2011-05-07 Petr Baudis <pasky@suse.cz>
31956 Ulrich Drepper <drepper@gmail.com>
31959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31960 (is_trusted_path): ...to here.
31961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31963 using is_trusted_path_normalize() in setuid scripts.
31965 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31968 __BEGIN/__END_DECLS.
31970 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31973 NSS_STATUS_NOTFOUND if no record was found.
31975 2011-05-05 Andreas Schwab <schwab@redhat.com>
31977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31978 (headers-not-in-tirpc): Remove rpc/netdb.h
31979 * resolv/netdb.h: Revert last change.
31981 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31984 circular dependency between libgcc.a and libc.a.
31986 2011-05-05 Andreas Schwab <schwab@redhat.com>
31988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31989 * nis/Makefile: Don't install rpcsvc/*.
31990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31991 instead of <rpc/types.h>.
31992 (MAXHOSTNAMELEN): Define.
31994 2011-05-03 Andreas Schwab <schwab@redhat.com>
31996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31998 2011-04-28 Maciej Babinski <mbabinski@google.com>
32001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32002 gethostbyname4_r when IPv6 results are possible.
32004 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32008 _PC_PIPE_BUF handling.
32010 2011-04-30 Bruno Haible <bruno@clisp.org>
32013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32016 * inet/getnameinfo.c (getnameinfo): Likewise.
32018 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32021 to groups setting in database lookup.
32022 * nss/nsswitch.conf: Add initgroups entry.
32024 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32029 Patch by Eric Blake <eblake@redhat.com>.
32031 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32033 * sunrpc/Makefile (need-export-routines): Add svc_run.
32034 (routines): Remove svc_run.
32035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32037 * sunrpc/svc_run.c (svc_run): Likewise.
32038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32040 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32043 problem in reallocation in last patch.
32045 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32047 * sunrpc/Makefile: Move inclusion of Rules.
32049 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32051 * nss/nss_files/files-initgroups.c: New file.
32052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32054 _nss_files_initgroups_dyn.
32056 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32058 * elf/elf.h (R_ARM_IRELATIVE): Define.
32060 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32062 * po/ru.po: Update from translation team.
32064 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32069 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32078 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32086 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32091 * stdlib/bug-getcontext.c: New file.
32092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32094 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32097 instructions into .machine "z9-109".
32098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32101 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32104 between environment variables and auxiliary vector.
32106 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32108 * Makefile: Add rules to build linkobj/libc.so.
32109 * include/libc-symbols.h: Define libc_hidden_nolink.
32110 * include/rpc/auth.h: Mark functions which are to be hidden.
32111 * include/rpc/auth_des.h: Likewise.
32112 * include/rpc/auth_unix.h: Likewise.
32113 * include/rpc/clnt.h: Likewise.
32114 * include/rpc/des_crypt.h: Likewise.
32115 * include/rpc/key_prot.h: Likewise.
32116 * include/rpc/pmap_clnt.h: Likewise.
32117 * include/rpc/pmap_prot.h: Likewise.
32118 * include/rpc/pmap_rmt.h: Likewise.
32119 * include/rpc/rpc_msg.h: Likewise.
32120 * include/rpc/svc.h: Likewise.
32121 * include/rpc/svc_auth.h: Likewise.
32122 * include/rpc/xdr.h: Likewise.
32123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32124 * nss/Makefile: Likewise.
32125 * sunrpc/Makefile: Don't install headers. Build library with normal
32126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32128 for the compat linking library. Remove use of INTDEF/INTUSE.
32129 * sunrpc/auth_none.c: Likewise.
32130 * sunrpc/auth_unix.c: Likewise.
32131 * sunrpc/authdes_prot.c: Likewise.
32132 * sunrpc/authuxprot.c: Likewise.
32133 * sunrpc/clnt_gen.c: Likewise.
32134 * sunrpc/clnt_perr.c: Likewise.
32135 * sunrpc/clnt_raw.c: Likewise.
32136 * sunrpc/clnt_simp.c: Likewise.
32137 * sunrpc/clnt_tcp.c: Likewise.
32138 * sunrpc/clnt_udp.c: Likewise.
32139 * sunrpc/clnt_unix.c: Likewise.
32140 * sunrpc/des_crypt.c: Likewise.
32141 * sunrpc/des_soft.c: Likewise.
32142 * sunrpc/get_myaddr.c: Likewise.
32143 * sunrpc/key_call.c: Likewise.
32144 * sunrpc/key_prot.c: Likewise.
32145 * sunrpc/netname.c: Likewise.
32146 * sunrpc/pm_getmaps.c: Likewise.
32147 * sunrpc/pm_getport.c: Likewise.
32148 * sunrpc/pmap_clnt.c: Likewise.
32149 * sunrpc/pmap_prot.c: Likewise.
32150 * sunrpc/pmap_prot2.c: Likewise.
32151 * sunrpc/pmap_rmt.c: Likewise.
32152 * sunrpc/publickey.c: Likewise.
32153 * sunrpc/rpc_cmsg.c: Likewise.
32154 * sunrpc/rpc_common.c: Likewise.
32155 * sunrpc/rpc_dtable.c: Likewise.
32156 * sunrpc/rpc_prot.c: Likewise.
32157 * sunrpc/rpc_thread.c: Likewise.
32158 * sunrpc/rtime.c: Likewise.
32159 * sunrpc/svc.c: Likewise.
32160 * sunrpc/svc_auth.c: Likewise.
32161 * sunrpc/svc_authux.c: Likewise.
32162 * sunrpc/svc_raw.c: Likewise.
32163 * sunrpc/svc_run.c: Likewise.
32164 * sunrpc/svc_simple.c: Likewise.
32165 * sunrpc/svc_tcp.c: Likewise.
32166 * sunrpc/svc_udp.c: Likewise.
32167 * sunrpc/svc_unix.c: Likewise.
32168 * sunrpc/svcauth_des.c: Likewise.
32169 * sunrpc/xcrypt.c: Likewise.
32170 * sunrpc/xdr.c: Likewise.
32171 * sunrpc/xdr_array.c: Likewise.
32172 * sunrpc/xdr_float.c: Likewise.
32173 * sunrpc/xdr_intXX_t.c: Likewise.
32174 * sunrpc/xdr_mem.c: Likewise.
32175 * sunrpc/xdr_rec.c: Likewise.
32176 * sunrpc/xdr_ref.c: Likewise.
32177 * sunrpc/xdr_sizeof.c: Likewise.
32178 * sunrpc/xdr_stdio.c: Likewise.
32180 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32184 * sysdeps/ia64/dl-tls.h: Likewise.
32185 * sysdeps/powerpc/dl-tls.h: Likewise.
32186 * sysdeps/s390/dl-tls.h: Likewise.
32187 * sysdeps/sh/dl-tls.h: Likewise.
32188 * sysdeps/sparc/dl-tls.h: Likewise.
32189 * sysdeps/x86_64/dl-tls.h: Likewise.
32190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32192 2011-03-14 Andreas Schwab <schwab@redhat.com>
32194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32195 rpath element also skip the following colon.
32196 (expand_dynamic_string_token): Add is_path parameter and pass
32197 down to DL_DST_REQUIRED and _dl_dst_substitute.
32198 (decompose_rpath): Call expand_dynamic_string_token with
32199 non-zero is_path. Ignore empty rpaths.
32200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32203 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32208 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32212 Patch by Filipe David Manana <fdmanana@apache.org>.
32214 2011-04-07 Andreas Schwab <schwab@redhat.com>
32216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32217 Maintain aligned stack.
32218 (CHECK_RSP): Remove unused macro.
32220 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32225 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32231 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32236 * sysdeps/x86_64/memmove.c: New file.
32237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32238 (memcpy): Renamed to ...
32239 (__new_memcpy): This.
32240 (memcpy): Provide GLIBC_2_14 memcpy.
32241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32242 (memcpy): Provide GLIBC_2_2_5 memcpy.
32244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32249 2011-03-30 Andreas Schwab <schwab@redhat.com>
32251 * misc/syncfs.c: New file.
32252 * misc/Makefile (routines): Add syncfs.
32253 * posix/unistd.h: Declare syncfs.
32254 * sysdeps/unix/syscalls.list: Add syncfs.
32256 2011-04-01 Andreas Schwab <schwab@redhat.com>
32258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32268 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32279 sync_file_range.c with -fexceptions.
32280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32287 sync_file_range as cancellation point
32288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32289 now a wrapper around __call_sync_file_range with cancellation handling.
32290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32292 function name to __call_sync_file_range.
32293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32294 Add call_sync_file_range.
32296 2011-04-01 Andreas Schwab <schwab@redhat.com>
32298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32301 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32303 * iconv/iconv.h: Fix typo in comment.
32304 * io/fcntl.h: Likewise.
32305 * libio/stdio.h: Likewise.
32306 * posix/spawn.h: Likewise.
32307 * posix/unistd.h: Likewise.
32308 * stdlib/stdlib.h: Likewise.
32309 * time/time.h: Likewise.
32310 * wcsmbs/wchar.h: Likewise.
32312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32313 open_by_handle): Add.
32314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32316 Augment a few comments.
32317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32325 * io/fcntl.h (AT_EMPTY_PATH): Define.
32327 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32334 * Versions.def: Add GLIBC_2.14.
32335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32338 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32344 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32347 * string/test-strncmp.c (do_page_test): New function.
32348 (check2): Likewise.
32349 (test_main): Call check2.
32350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32352 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32356 Handle cache information in CPU leaf 4.
32357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32359 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32363 character representation.
32364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32366 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32369 END(__isnan) to END(__isnanf) to match function entry point/label
32370 EALIGN(__isnanf,...).
32372 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32376 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32380 copy from the symbol referenced in the relocation to initialize the
32382 Patch by Piotr Bury <pbury@goahead.com>.
32383 * elf/Makefile: Add rules to build and tst-unique3.
32384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32385 * elf/tst-unique3.cc: New file.
32386 * elf/tst-unique3.h: New file.
32387 * elf/tst-unique3lib.cc: New file.
32388 * elf/tst-unique3lib2.cc: New file.
32390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32392 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32398 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32401 to-be-loaded object along a path to loader is ld.so.
32403 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32404 Ulrich Drepper <drepper@gmail.com>
32406 * sysdeps/x86_64/memset.S: After aligning destination, code
32407 branches to different locations depending on the value of
32408 misalignment, when multiarch is enabled. Fix this.
32410 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32413 Set _x86_64_preferred_memory_instruction for AMD processsors.
32414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32415 Set bit_Prefer_SSE_for_memop for AMD processors.
32417 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32419 * libio/fmemopen.c (fmemopen): Optimize a bit.
32421 2011-03-03 Andreas Schwab <schwab@redhat.com>
32423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32425 2011-03-03 Roland McGrath <roland@redhat.com>
32427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32429 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32432 __bzero_ultra1 instead of __memset_ultra1.
32434 2011-02-23 Andreas Schwab <schwab@redhat.com>
32435 Ulrich Drepper <drepper@gmail.com>
32438 * include/link.h (struct link_map): Add l_orig_initfini.
32439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32440 returning unsuccessfully.
32441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32442 close of a file loaded at startup, restore the original l_initfini
32444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32445 list, store the pointer.
32446 * elf/Makefile ($(objpfx)noload-mem): New rule.
32447 (noload-ENV): Define.
32448 (tests): Add $(objpfx)noload-mem.
32449 * elf/noload.c: Include <memcheck.h>.
32450 (main): Call mtrace. Close all opened handles.
32452 2011-02-17 Andreas Schwab <schwab@redhat.com>
32455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32456 dependencies are missing.
32458 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32460 Fix __if_freereq crash: Unlike the generic version which uses free,
32462 * sysdeps/mach/hurd/ifreq.h: New file.
32464 2011-01-27 Petr Baudis <pasky@suse.cz>
32465 Ulrich Drepper <drepper@gmail.com>
32468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32469 to extend_alloca().
32470 * stdio-common/bug23.c: New file.
32471 * stdio-common/Makefile (tests): Add bug23.
32473 2010-09-28 Andreas Schwab <schwab@redhat.com>
32474 Ulrich Drepper <drepper@gmail.com>
32477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32478 before performing relro protection. At old place add assertion
32479 to make sure nothing changed.
32481 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32482 Glauber de Oliveira Costa <glommer@gmail.com>
32484 * elf/elf.h: Add new ARM TLS relocs.
32486 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32493 * sysdeps/wordsize-64/tst-writev.c: New file.
32495 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32499 insns in _dl_start to prevent a TOC reference before relocs are
32502 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32505 * Makeconfig: Remove RANLIB definition.
32506 * Makerules: Don't use RANLIB.
32507 * aclocal.m4: Remove ranlib test.
32508 * configure.in: No need to check for ranlib.
32509 * elf/rtld-Rules: Don't use RANLIB.
32511 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32516 inclusion protection macro.
32518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32519 SIGRTMIN and SIGRTMAX and print information in that case only when
32520 SIGRTMIN is defined.
32522 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32525 arginfo fn returning -1.
32527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32528 and thousands string is zero terminated.
32530 2011-02-03 Andreas Schwab <schwab@redhat.com>
32532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32533 sysdeps/unix/sysv/linux/bits/socket.h.
32535 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32538 (__CPU_COUNT): Remove old macros.
32539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32541 (__CPU_ALLOC, __CPU_FREE): Add macros.
32542 (__sched_cpualloc, __sched_cpufree): Add declarations.
32544 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32549 (readdhstai): Return value of addhstaiX call.
32550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32551 (addgrbyX): Return value returned by cache_addgr.
32552 (readdgrbyname): Return value returned by addgrbyX.
32553 (readdgrbygid): Likewise.
32554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32555 (addpwbyX): Return value returned by cache_addpw.
32556 (readdpwbyname): Return value returned by addhstbyX.
32557 (readdpwbyuid): Likewise.
32558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32559 (addservbyX): Return value returned by cache_addserv.
32560 (readdservbyname): Return value returned by addservbyX:
32561 (readdservbyport): Likewise.
32562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32563 (addhstbyX): Return value returned by cache_addhst.
32564 (readdhstbyname): Return value returned by addhstbyX.
32565 (readdhstbyaddr): Likewise.
32566 (readdhstbynamev6): Likewise.
32567 (readdhstbyaddrv6): Likewise.
32568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32569 (readdinitgroups): Return value returned by addinitgroupsX.
32570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32571 (prune_cache): Keep track of timeout value of re-added entries.
32572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32573 * nscd/nscd.h: Adjust prototypes of readd* functions.
32575 2011-02-04 Roland McGrath <roland@redhat.com>
32577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32578 (nis_stats): Likewise.
32579 * nis/nis_modify.c (nis_modify): Likewise.
32580 * nis/nis_remove.c (nis_remove): Likewise.
32581 * nis/nis_add.c (nis_add): Likewise.
32583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32585 * posix/fnmatch_loop.c: Add some consts.
32587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32589 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32592 * config.make.in (config-cflags-novzeroupper): Define.
32593 * configure.in: Substitute libc_cv_cc_novzeroupper.
32594 * elf/Makefile (AVX-CFLAGS): Define.
32595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32596 (CFLAGS-tst-auditmod4a.c): Likewise.
32597 (CFLAGS-tst-auditmod4b.c): Likewise.
32598 (CFLAGS-tst-auditmod6b.c): Likewise.
32599 (CFLAGS-tst-auditmod6c.c): Likewise.
32600 (CFLAGS-tst-auditmod7b.c): Likewise.
32601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32603 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32606 function to the callback.
32607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32609 2011-02-02 Andreas Schwab <schwab@redhat.com>
32611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32614 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32624 * elf/Makefile: Add rules to build and run new test.
32625 * elf/tst-initorder.c: New file.
32626 * elf/tst-initorder.exp: New file.
32627 * elf/tst-initordera1.c: New file.
32628 * elf/tst-initordera2.c: New file.
32629 * elf/tst-initordera3.c: New file.
32630 * elf/tst-initordera4.c: New file.
32631 * elf/tst-initorderb1.c: New file.
32632 * elf/tst-initorderb2.c: New file.
32633 * elf/tst-order-a1.c: New file.
32634 * elf/tst-order-a2.c: New file.
32635 * elf/tst-order-a3.c: New file.
32636 * elf/tst-order-a4.c: New file.
32637 * elf/tst-order-b1.c: New file.
32638 * elf/tst-order-b2.c: New file.
32639 * elf/tst-order-main.c: New file.
32640 New test case by George Gensure <werkt0@gmail.com>.
32642 2010-10-01 Andreas Schwab <schwab@redhat.com>
32644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32645 decoding ACE if AI_CANONIDN.
32647 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32651 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32653 * version.h (RELEASE): Bump for 2.13 release.
32654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32667 * posix/getconf.c: Update copyright year.
32668 * catgets/gencat.c: Likewise.
32669 * csu/version.c: Likewise.
32670 * debug/catchsegv.sh: Likewise.
32671 * debug/xtrace.sh: Likewise.
32672 * elf/ldconfig.c: Likewise.
32673 * elf/ldd.bash.in: Likewise.
32674 * elf/sprof.c (print_version): Likewise.
32675 * iconv/iconv_prog.c: Likewise.
32676 * iconv/iconvconfig.c: Likewise.
32677 * locale/programs/locale.c: Likewise.
32678 * locale/programs/localedef.c: Likewise.
32679 * malloc/memusage.sh: Likewise.
32680 * malloc/mtrace.pl: Likewise.
32681 * nscd/nscd.c (print_version): Likewise.
32682 * nss/getent.c: Likewise.
32684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32685 PF_CAIF, and PF_ALG.
32686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32688 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32691 (modules-names): Use them.
32692 (ifunc-test-modules, ifunc-pie-tests): Define.
32693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32695 (test-extras): Likewise.
32696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32697 $(compile-command.c).
32698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32699 (all-built-dso): Define.
32700 (check-textrel.out, check-execstack.out): Depend on it.
32702 * configure.in: Don't override --enable-multi-arch.
32704 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32707 * nscd/hstcache.c (tryagain): Define.
32708 (cache_addhst): Return tryagain not notfound for temporary errors.
32709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32712 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32716 to make the syscall.
32717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32721 and fall back to matching as normal character if the string ends before
32722 the matching ']' is found. This is what POSIX requires.
32723 * posix/testfnm.c: Adjust test result.
32724 * posix/globtest.sh: Adjust test result. Add new test.
32725 * posix/tst-fnmatch.input: Likewise.
32726 * posix/tst-fnmatch2.c: Add new test.
32728 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32730 * elf/Makefile (check-execstack): Revert last change. Depend on
32732 (check-execstack.h): New target.
32733 (generated): Add check-execstack.h.
32734 * elf/check-execstack.c: Include "check-execstack.h".
32735 (main): Revert last change.
32736 (handle_file): Return zero if GNU_STACK is absent and
32737 DEFAULT_STACK_PERMS doesn't include PF_X.
32739 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32742 in child fails because the descriptor is already closed.
32743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32753 temporary buffer used to handle multi lookups locally.
32754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32756 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32761 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32764 alignment for SSE2.
32766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32770 characters. When rounding increased number of integer digits recompute
32772 * stdio-common/tst-grouping.c: New file.
32773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32775 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32782 * bits/select.h: Likewise.
32784 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32786 * po/ja.po: Update from translation team.
32788 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32792 implementation just like for lxstat, fxstatat, et al.
32794 2010-12-27 Jim Meyering <meyering@redhat.com>
32797 * posix/regexec.c (build_trtable): Return failure indication upon
32798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32800 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32815 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32819 script has SORT_BY_INIT_PRIORITY.
32820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32821 NO_CTORS_DTORS_SECTIONS is defined.
32822 * elf/soinit.c: Likewise.
32823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32824 NO_CTORS_DTORS_SECTIONS is defined.
32825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32827 * sysdeps/sh/init-first.c: Likewise.
32828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32830 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32833 always use the slow path.
32835 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32838 similar rule which adds the sysdep directories to the header search in
32839 order to pick up the correct platform stackinfo.h.
32840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32841 perform test if it is, otherwise return successfully without testing.
32842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32843 DEFAULT_STACK_PERMS define in stackinfo.h.
32844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32845 defined in stackinfo.h.
32846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32847 DEFAULT_STACK_PERMS defined in stackinfo.h.
32848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32849 * sysdeps/ia64/stackinfo.h: Likewise.
32850 * sysdeps/s390/stackinfo.h: Likewise.
32851 * sysdeps/sh/stackinfo.h: Likewise.
32852 * sysdeps/sparc/stackinfo.h: Likewise.
32853 * sysdeps/x86_64/stackinfo.h: Likewise.
32854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32855 PF_X for powerpc64. Retain PF_X for powerpc32.
32857 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32862 GETDENTS_64BIT_ALIGNED.
32864 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32868 2010-12-10 Andreas Schwab <schwab@redhat.com>
32870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32879 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32885 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32889 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32891 * po/it.po: Update from translation team.
32893 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32898 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32902 2010-11-24 Andreas Schwab <schwab@redhat.com>
32904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32906 (gaih_getanswer_slice): Likewise.
32908 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32912 2010-05-31 Petr Baudis <pasky@suse.cz>
32915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32916 silently even in the chroot mode.
32918 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32921 last patch a bit. Pretty printing
32923 2010-05-31 Petr Baudis <pasky@suse.cz>
32926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32927 initialization of skip_initgroups_dyn.
32929 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32934 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32938 2010-11-11 Andreas Schwab <schwab@redhat.com>
32940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32943 ($(objpfx)tst-fnmatch-mem): New rule.
32944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32945 * posix/tst-fnmatch.c (main): Call mtrace.
32947 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32950 Support Intel processor model 6 and model 0x2c.
32952 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32957 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32960 * string/test-strncasecmp.c (check_result): New function.
32961 (do_one_test): Use it.
32962 (check1): New function.
32963 (test_main): Use it.
32964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32965 Support strcasecmp and strncasecmp.
32967 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32973 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32979 * sysdeps/x86_64/multiarch/bzero.S: New file.
32980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32982 * sysdeps/x86_64/multiarch/memset.S: New file.
32983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32985 Set bit_Prefer_SSE_for_memop for Intel processors.
32986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32988 (index_Prefer_SSE_for_memop): Define.
32989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32991 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32996 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33000 (__x86_64_raw_data_cache_size_half): Likewise.
33001 (__x86_64_raw_shared_cache_size): Likewise.
33002 (__x86_64_raw_shared_cache_size_half): Likewise.
33004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33005 (__x86_64_raw_data_cache_size_half): Likewise.
33006 (__x86_64_raw_shared_cache_size): Likewise.
33007 (__x86_64_raw_shared_cache_size_half): Likewise.
33008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33010 and __x86_64_raw_shared_cache_size_half. Round
33011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33013 to multiple of 256 bytes.
33015 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33019 of inacessible symlinks. Verify result of symlink before returning it.
33020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33023 2010-10-28 Erich Ritz <erichritz@gmail.com>
33025 * math/math.h (isinf): Fix typo in comment.
33027 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33029 * po/da.po: Update from translation team.
33031 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33034 is added to the list.
33036 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33037 Ulrich Drepper <drepper@gmail.com>
33039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33040 the global list here. Move code to...
33041 (_dl_add_to_namespace_list): ...here. New function.
33042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33044 * elf/dl-load.c (lose): Don't remove the element from the list.
33045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33046 (_dl_map_object): Likewise.
33048 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33052 into all bytes of SSE register.
33053 Patch by Richard Li <richardpku@gmail.com>.
33055 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33061 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33071 2010-10-22 Andreas Schwab <schwab@redhat.com>
33073 * include/dlfcn.h (__RTLD_SECURE): Define.
33074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33075 mode & __RTLD_SECURE instead.
33076 (open_path): Rename preloaded parameter to secure.
33077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33079 * elf/dl-deps.c (openaux): Likewise.
33080 * elf/rtld.c (struct map_args): Remove is_preloaded.
33081 (map_doit): Don't use it.
33082 (dl_main): Likewise.
33083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33086 2010-09-09 Andreas Schwab <schwab@redhat.com>
33088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33089 (sysd-rules-targets): Remove duplicates.
33090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33091 rtld-%.$o dependency.
33093 2010-10-18 Andreas Schwab <schwab@redhat.com>
33095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33096 _dl_map_object do it.
33098 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33101 fast fma builtins, define the macros in the C99 standard.
33102 (FP_FAST_FMAF): Likewise.
33103 (FP_FAST_FMAL): Likewise.
33104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33106 * bits/mathdef.h: Update copyright year.
33107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33109 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33112 builtins, define the macros in the C99 standard.
33113 (FP_FAST_FMAF): Likewise.
33114 (FP_FAST_FMAL): Likewise.
33115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33117 (FP_FAST_FMAF): Likewise.
33119 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33122 * math/libm-test.inc (fma_test): Some new testcases.
33123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33125 y and infinite z. Do multiplication by C already in long double.
33126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33128 y and infinite z. Do bitwise or of inexact bit into u.d.
33129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33131 * sysdeps/i386/fpu/s_fma.S: Removed.
33132 * sysdeps/i386/fpu/s_fmal.S: Removed.
33134 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33139 computation is not scheduled after fetestexcept. Fix value
33140 of minimum denormal long double.
33142 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33145 * math/libm-test.inc (fma_test): Add some more tests.
33146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33149 2010-10-15 Andreas Schwab <schwab@redhat.com>
33151 * scripts/data/localplt-s390-linux-gnu.data: New file.
33152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33154 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33164 if one of x and y is very large and the other is subnormal.
33165 * sysdeps/s390/fpu/s_fmaf.c: New file.
33166 * sysdeps/s390/fpu/s_fma.c: New file.
33167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33168 * sysdeps/powerpc/fpu/s_fma.S: New file.
33169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33173 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33186 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33190 * posix/bug-regex31.input: Add test case.
33192 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33195 * posix/bug-regex31.input: New file.
33198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33199 (parse_sub_exp): Fix last change, use postorder.
33201 * posix/bug-regex31.c: New file.
33202 * posix/Makefile: Add rules to build and run bug-regex31.
33204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33211 to have entries in sys_siglist.
33214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33217 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33233 * math/ftestexcept.c (fetestexcept): Likewise.
33234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33248 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33250 * string/bug-strstr1.c: New file.
33251 * string/Makefile: Add rules to build and run bug-strstr1.
33253 2010-10-05 Eric Blake <eblake@redhat.com>
33256 * string/str-two-way.h (two_way_long_needle): Always clear memory
33257 when skipping input due to the shift table.
33259 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33262 * malloc/mcheck.c: Handle large requests.
33265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33266 for strncmp and strncasecmp.
33267 * string/stratcliff.c: Add tests for strcmp and strncmp.
33268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33270 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33275 2010-09-30 Andreas Jaeger <aj@suse.de>
33277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33278 (CGROUP_SUPER_MAGIC): Define.
33279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33280 Handle btrfs and cgroup file systems.
33281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33284 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33289 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33293 trying to locate the ELF header.
33295 2010-09-27 Andreas Schwab <schwab@redhat.com>
33298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33299 Mask out sign-bit copies when constructing f_fsid.
33301 2010-09-24 Petr Baudis <pasky@suse.cz>
33303 * debug/stack_chk_fail_local.c: Add missing licence exception.
33304 * debug/warning-nop.c: Likewise.
33306 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33309 implementing getdents64 using getdents syscall, set d_type if
33310 __ASSUME_GETDENTS32_D_TYPE.
33312 2010-09-16 Andreas Schwab <schwab@redhat.com>
33314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33317 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33320 * posix/unistd.h: Undo change of feature selection for ftruncate from
33323 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33328 2010-09-20 Andreas Schwab <schwab@redhat.com>
33330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33334 2010-09-14 Andreas Schwab <schwab@redhat.com>
33336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33337 variables after CHECK_SP call.
33338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33340 2010-09-13 Andreas Schwab <schwab@redhat.com>
33341 Ulrich Drepper <drepper@redhat.com>
33343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33344 re-relocationg ld.so.
33345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33346 _dl_init_paths call.
33347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33350 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33352 * resolv/res_init.c (__res_vinit): Count the default server we added.
33354 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33355 Ulrich Drepper <drepper@redhat.com>
33358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33359 (____longjmp_chk): Use %ebx for saving value across system call.
33362 2010-09-06 Andreas Schwab <schwab@redhat.com>
33364 * manual/Makefile: Don't mix pattern rules with normal rules.
33366 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33377 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33383 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33386 * sysdeps/x86_64/addmul_1.S: Likewise.
33387 * sysdeps/x86_64/lshift.S: Likewise.
33388 * sysdeps/x86_64/mul_1.S: Likewise.
33389 * sysdeps/x86_64/rshift.S: Likewise.
33390 * sysdeps/x86_64/sub_n.S: Likewise.
33391 * sysdeps/x86_64/submul_1.S: Likewise.
33393 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33396 Define __sched_param instead of SCHED_* and sched_param when
33397 <bits/sched.h> is included with __need_schedparam defined.
33398 * bits/sched.h [__need_schedparam]
33399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33401 (__defined_schedparam): Define to 1.
33402 (__sched_param): New structure, identical to sched_param.
33403 (__need_schedparam): Undefine.
33405 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33408 (epoll_create1): Declare.
33410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33412 2010-08-31 Andreas Schwab <schwab@redhat.com>
33415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33416 shifting retval into place.
33418 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33420 * nis/rpcsvc/nis.h: Update copyright notice.
33421 * nis/rpcsvc/nis.x: Likewise.
33422 * nis/rpcsvc/nis_callback.h: Likewise.
33423 * nis/rpcsvc/nis_callback.x: Likewise.
33424 * nis/rpcsvc/nis_object.x: Likewise.
33425 * nis/rpcsvc/nis_tags.h: Likewise.
33426 * nis/rpcsvc/yp.h: Likewise.
33427 * nis/rpcsvc/yp.x: Likewise.
33428 * nis/rpcsvc/ypupd.h: Likewise.
33429 * nis/yp_xdr.c: Likewise.
33430 * nis/ypupdate_xdr.c: Likewise.
33432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33433 mainly the body of pmap_getport. Add parameters to specify timeouts.
33434 (pmap_getport): Use __libc_rpc_getport.
33435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33439 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33444 2010-08-27 Roland McGrath <roland@redhat.com>
33446 * sysdeps/i386/i686/multiarch/Makefile
33447 (CFLAGS-varshift.c): New variable.
33449 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33458 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33460 * sysdeps/x86_64/strlen.S: Unroll the loop.
33461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33462 strlen-sse2 strlen-sse2-bsf.
33463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33464 __strlen_no_bsf if bit_Slow_BSF is set.
33465 (__strlen_sse42): Removed.
33466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33469 2010-08-25 Roland McGrath <roland@redhat.com>
33471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33472 * sysdeps/x86_64/multiarch/varshift.c: New file.
33473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33478 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33481 strlen-sse2 strlen-sse2-bsf.
33482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33484 (__strlen_sse2): Removed.
33485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33488 bit_Slow_BSF for Atom.
33489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33490 (index_Slow_BSF): Define.
33491 (HAS_SLOW_BSF): Define.
33493 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33496 * resolv/res_init.c (__res_vinit): When no server address at all
33497 is given default to loopback.
33499 2010-08-24 Roland McGrath <roland@redhat.com>
33501 * configure.in: Remove config-name.h generation.
33502 * configure: Regenerated.
33503 * config-name.in: File removed.
33504 * scripts/config-uname.sh: New file.
33505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33506 ($(objdir)config-name.h): New target.
33508 * sunrpc/rpc_parse.h: Avoid nested comment.
33510 2010-08-24 Richard Henderson <rth@redhat.com>
33511 Ulrich Drepper <drepper@redhat.com>
33512 H.J. Lu <hongjiu.lu@intel.com>
33514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33518 _mm_alignr_epi8 with _mm_loadu_si128.
33519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33521 (__m128i_shift_right): Removed.
33522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33524 * sysdeps/x86_64/multiarch/varshift.h: New file.
33525 * sysdeps/x86_64/multiarch/varshift.S: New file.
33527 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33529 * configure.in: Move assembler checks to before sysdep dir checking.
33531 2010-08-20 Petr Baudis <pasky@suse.cz>
33533 * LICENSES: Sync the sunrpc license.
33535 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33537 * sunrpc/auth_des.c: Update copyright notice once again.
33538 * sunrpc/auth_none.c: Likewise.
33539 * sunrpc/auth_unix.c: Likewise.
33540 * sunrpc/authdes_prot.c: Likewise.
33541 * sunrpc/authuxprot.c: Likewise.
33542 * sunrpc/bindrsvprt.c: Likewise.
33543 * sunrpc/clnt_gen.c: Likewise.
33544 * sunrpc/clnt_perr.c: Likewise.
33545 * sunrpc/clnt_raw.c: Likewise.
33546 * sunrpc/clnt_simp.c: Likewise.
33547 * sunrpc/clnt_tcp.c: Likewise.
33548 * sunrpc/clnt_udp.c: Likewise.
33549 * sunrpc/clnt_unix.c: Likewise.
33550 * sunrpc/des_crypt.c: Likewise.
33551 * sunrpc/des_soft.c: Likewise.
33552 * sunrpc/get_myaddr.c: Likewise.
33553 * sunrpc/getrpcport.c: Likewise.
33554 * sunrpc/key_call.c: Likewise.
33555 * sunrpc/key_prot.c: Likewise.
33556 * sunrpc/openchild.c: Likewise.
33557 * sunrpc/pm_getmaps.c: Likewise.
33558 * sunrpc/pm_getport.c: Likewise.
33559 * sunrpc/pmap_clnt.c: Likewise.
33560 * sunrpc/pmap_prot.c: Likewise.
33561 * sunrpc/pmap_prot2.c: Likewise.
33562 * sunrpc/pmap_rmt.c: Likewise.
33563 * sunrpc/rpc/auth.h: Likewise.
33564 * sunrpc/rpc/auth_unix.h: Likewise.
33565 * sunrpc/rpc/clnt.h: Likewise.
33566 * sunrpc/rpc/des_crypt.h: Likewise.
33567 * sunrpc/rpc/key_prot.h: Likewise.
33568 * sunrpc/rpc/netdb.h: Likewise.
33569 * sunrpc/rpc/pmap_clnt.h: Likewise.
33570 * sunrpc/rpc/pmap_prot.h: Likewise.
33571 * sunrpc/rpc/pmap_rmt.h: Likewise.
33572 * sunrpc/rpc/rpc.h: Likewise.
33573 * sunrpc/rpc/rpc_des.h: Likewise.
33574 * sunrpc/rpc/rpc_msg.h: Likewise.
33575 * sunrpc/rpc/svc.h: Likewise.
33576 * sunrpc/rpc/svc_auth.h: Likewise.
33577 * sunrpc/rpc/types.h: Likewise.
33578 * sunrpc/rpc/xdr.h: Likewise.
33579 * sunrpc/rpc_clntout.c: Likewise.
33580 * sunrpc/rpc_cmsg.c: Likewise.
33581 * sunrpc/rpc_common.c: Likewise.
33582 * sunrpc/rpc_cout.c: Likewise.
33583 * sunrpc/rpc_dtable.c: Likewise.
33584 * sunrpc/rpc_hout.c: Likewise.
33585 * sunrpc/rpc_main.c: Likewise.
33586 * sunrpc/rpc_parse.c: Likewise.
33587 * sunrpc/rpc_parse.h: Likewise.
33588 * sunrpc/rpc_prot.c: Likewise.
33589 * sunrpc/rpc_sample.c: Likewise.
33590 * sunrpc/rpc_scan.c: Likewise.
33591 * sunrpc/rpc_scan.h: Likewise.
33592 * sunrpc/rpc_svcout.c: Likewise.
33593 * sunrpc/rpc_tblout.c: Likewise.
33594 * sunrpc/rpc_util.c: Likewise.
33595 * sunrpc/rpc_util.h: Likewise.
33596 * sunrpc/rpcinfo.c: Likewise.
33597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33598 * sunrpc/rpcsvc/key_prot.x: Likewise.
33599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33600 * sunrpc/rpcsvc/mount.x: Likewise.
33601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33603 * sunrpc/rpcsvc/rex.x: Likewise.
33604 * sunrpc/rpcsvc/rstat.x: Likewise.
33605 * sunrpc/rpcsvc/rusers.x: Likewise.
33606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33607 * sunrpc/rpcsvc/spray.x: Likewise.
33608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33609 * sunrpc/rtime.c: Likewise.
33610 * sunrpc/svc.c: Likewise.
33611 * sunrpc/svc_auth.c: Likewise.
33612 * sunrpc/svc_authux.c: Likewise.
33613 * sunrpc/svc_raw.c: Likewise.
33614 * sunrpc/svc_run.c: Likewise.
33615 * sunrpc/svc_simple.c: Likewise.
33616 * sunrpc/svc_tcp.c: Likewise.
33617 * sunrpc/svc_udp.c: Likewise.
33618 * sunrpc/svc_unix.c: Likewise.
33619 * sunrpc/svcauth_des.c: Likewise.
33620 * sunrpc/xcrypt.c: Likewise.
33621 * sunrpc/xdr.c: Likewise.
33622 * sunrpc/xdr_array.c: Likewise.
33623 * sunrpc/xdr_float.c: Likewise.
33624 * sunrpc/xdr_mem.c: Likewise.
33625 * sunrpc/xdr_rec.c: Likewise.
33626 * sunrpc/xdr_ref.c: Likewise.
33627 * sunrpc/xdr_sizeof.c: Likewise.
33628 * sunrpc/xdr_stdio.c: Likewise.
33630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33633 2010-08-19 Andreas Schwab <schwab@redhat.com>
33635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33637 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33654 2010-07-26 Anton Blanchard <anton@samba.org>
33656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33657 * malloc/arena.c (heap_trim): Likewise.
33659 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33666 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33668 * sysdeps/i386/elf/Makefile: New file.
33670 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33673 from fanotify_init.
33674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33677 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33681 * sysdeps/multiarch/strcmp.S: Likewise.
33683 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33686 strncase_l-nonascii.
33687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33688 Add strncase_l-ssse3.
33689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33690 * sysdeps/x86_64/strcmp.S: Likewise.
33691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33693 * sysdeps/x86_64/strncase.S: New file.
33694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33695 * sysdeps/x86_64/strncase_l.S: New file.
33696 * string/Makefile (strop-tests): Add strncasecmp.
33697 * string/test-strncasecmp.c: New file.
33699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33705 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33709 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33715 2010-05-01 Alan Modra <amodra@gmail.com>
33717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33722 tidying. Don't tail-call __sigjmp_save for static lib.
33723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33726 (CALL_MCOUNT): Add eh info, and nop after bl.
33727 (TAIL_CALL_SYSCALL_ERROR): New macro.
33728 (PSEUDO_RET): Use it.
33729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33730 Correct save location of integer regs and cr.
33731 (_dl_profile_resolve): Correct cr save location. Delete nops
33732 after bl when SHARED. Reduce cfi size a little by better
33733 placement of cfi directives.
33734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33735 make a stack frame. Instead use parm save area as a temp.
33736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33739 Don't make a stack frame for parent, use parm save area.
33740 Increase child stack frame to 112 bytes. Don't save unused reg,
33741 and adjust reg usage. Set up cfi on error recovery and
33742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33744 (__makecontext): Add dummy nop after jump to exit.
33745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33746 Use correct parm save area and cr save, reduce stack frame.
33747 Correct cfi for possible PSEUDO_RET frame setup.
33748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33749 Branch to local label emitted by PSEUDO_RET rather than
33752 2010-08-12 Andreas Schwab <schwab@redhat.com>
33755 * locale/programs/locale.c (print_assignment): New function.
33756 (show_locale_vars): Use it.
33758 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33762 (struct statfs64): Likewise.
33763 (_STATFS_F_FLAGS): Define.
33764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33767 (ST_VALID): Define locally.
33768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33769 __statvfs_getflags, use the provided value.
33770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33771 __ASSUME_STATFS_F_FLAGS.
33773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33776 Add sys/fanotify.h.
33777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33778 fanotify_mask for GLIBC_2.13.
33779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33780 fanotify_init and fanotify_mark.
33781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33787 prlimit64 for GLIBC_2.13.
33788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33804 * nss/Makefile: Add rules to build and run tst-nss-test1.
33805 * shlib-versions: Add entry for libnss_test1.
33806 * nss/nss_test1.c: New file.
33807 * nss/tst-nss-test1.c: New file.
33809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33810 (__nss_configure_lookup): Set appropriate entry in
33811 __nss_configure_lookup to true.
33812 * nss/nsswitch.h: Define enum with indeces of databases in
33813 databases and __nss_database_custom arrays. Declare
33814 __nss_database_custom.
33815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33816 to avoid using nscd when custom rules are installed.
33817 * nss/getXXbyYY_r.c: Likewise.
33818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33820 * nss/nss_files/files-parse.c: Whitespace fixes.
33822 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33826 * posix/fnmatch_loop.c: Likewise.
33828 2010-07-17 Andi Kleen <ak@linux.intel.com>
33830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33833 * Versions.def [GLIBC_2.13]: Add.
33835 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33838 Also fail if tpwd after pwuid call is NULL.
33840 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33843 when converting to ms.
33845 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33848 EOPNOTSUPP errors with ENOTTY.
33849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33850 EOPNOTSUPP errors with ENOTTY.
33852 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33855 Add strcasecmp_l-ssse3.
33856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33862 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33866 * string/Makefile (strop-tests): Add strcasecmp.
33867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33868 strcasecmp_l-nonascii.
33869 (gen-as-const-headers): Add locale-defines.sym.
33870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33871 * sysdeps/x86_64/strcasecmp.S: New file.
33872 * sysdeps/x86_64/strcasecmp_l.S: New file.
33873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33874 * sysdeps/x86_64/locale-defines.sym: New file.
33875 * string/test-strcasecmp.c: New file.
33877 * string/test-strcasestr.c: Test both ends of the range of characters.
33878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33880 2010-07-29 Roland McGrath <roland@redhat.com>
33883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33885 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33890 2010-07-27 Andreas Schwab <schwab@redhat.com>
33892 * manual/memory.texi (Malloc Tunable Parameters): Document
33895 2010-07-26 Roland McGrath <roland@redhat.com>
33898 * configure.in (-fgnu89-inline check): Set and substitute
33899 gnu89_inline, not libc_cv_gnu89_inline.
33900 * configure: Regenerated.
33901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33903 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33905 * string/test-strnlen.c: New file.
33906 * string/Makefile (strop-tests): Add strnlen.
33907 * string/tester.c (test_strnlen): Add a few more test cases.
33908 * string/tst-strlen.c: Better error reporting.
33910 * sysdeps/x86_64/strnlen.S: New file.
33912 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33915 lower-latency instructions.
33917 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33919 * string/test-strcasestr.c: New file.
33920 * string/test-strstr.c: New file.
33921 * string/Makefile (strop-tests): Add strstr and strcasestr.
33922 * string/str-two-way.h: Don't undefine MAX.
33923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33925 2010-07-21 Andreas Schwab <schwab@redhat.com>
33927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33928 strcasestr-nonascii.
33929 (CFLAGS-strcasestr-nonascii.c): Define.
33930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33932 Remove unused attribute.
33934 2010-07-20 Roland McGrath <roland@redhat.com>
33936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33938 ld.so.cache was broken. With it, there is no way to disable dsocaps
33939 like LD_HWCAP_MASK can disable hwcaps.
33941 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33945 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33948 call in strcasestr.
33949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33950 __strcasestr_sse42_nonascii.
33951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33952 strcasestr-nonascii.c.
33953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33955 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33962 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33967 2010-07-06 Andreas Schwab <schwab@redhat.com>
33970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33973 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33976 _PC_PIPE_BUF using F_GETPIPE_SZ.
33978 2010-07-05 Roland McGrath <roland@redhat.com>
33980 * manual/arith.texi (Rounding Functions): Fix rint description
33981 implicit in round description.
33983 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33985 * elf/Makefile: Fix linking for a few tests to make recent linker
33988 2010-06-30 Andreas Schwab <schwab@redhat.com>
33990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33991 $(common-objpfx)libc_nonshared.a.
33993 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34044 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34048 * string/memmove.c (memmove): Renamed to ...
34049 (MEMMOVE): ...this. Default to memmove.
34050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34055 mempcpy-ssse3-back memmove-ssse3-back.
34056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34063 * sysdeps/x86_64/multiarch/memmove.c: New file.
34064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34071 (index_Fast_Copy_Backward): Define.
34072 (HAS_ARCH_FEATURE): Define.
34073 (HAS_FAST_REP_STRING): Define.
34074 (HAS_FAST_COPY_BACKWARD): Define.
34076 2010-06-21 Andreas Schwab <schwab@redhat.com>
34078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34079 Restore proper fallback handling.
34081 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34084 * posix/group_member.c (__group_member): Correct checking loop.
34086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34087 OOM in getpwuid_r correctly. Return error number when the caller
34088 should return, otherwise -1.
34089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34090 call returning > 0 value.
34091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34093 2010-06-07 Andreas Schwab <schwab@redhat.com>
34095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34096 libc_nonshared.a from targets in modules-names.
34098 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34103 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34110 2010-06-02 Andreas Schwab <schwab@redhat.com>
34112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34114 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34125 2010-06-14 Roland McGrath <roland@redhat.com>
34127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34129 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34132 __REDIRECT followed by __THROW.
34133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34134 * posix/getopt.h (getopt): Likewise.
34136 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34145 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34149 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34153 Properly check family and model.
34155 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34159 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34163 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34168 2010-05-19 Andreas Schwab <schwab@redhat.com>
34170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34173 2010-05-21 Andreas Schwab <schwab@redhat.com>
34175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34176 and internal_recvmmsg.
34177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34186 2010-05-20 Andreas Schwab <schwab@redhat.com>
34188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34190 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34192 POWER7 optimizations.
34193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34196 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34198 * version.h: Update for 2.13 development version.
34200 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34203 exceptions. Return 0.
34205 2010-05-07 Roland McGrath <roland@redhat.com>
34207 * elf/ldconfig.c (main): Add a const.
34209 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34212 (args_options): Add no-idn option.
34213 (ahosts_keys_int): Add idn_flags to ai_flags.
34214 (parse_option): Handle 'i' option to clear idn_flags.
34216 * malloc/malloc.c (_int_free): Possible race in the most recently
34217 added check. Only act on the data if no current modification
34220 See ChangeLog.17 for earlier changes.