1 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16 Move -mhard-float appending from
17 ports/sysdeps/powerpc/powerpc32/Makefile.
18 [$(with-fp) = yes] (ASFLAGS): Likewise.
19 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20 * sysdeps/powerpc/nofpu: Move directory from
21 ports/sysdeps/powerpc/nofpu.
22 * sysdeps/powerpc/soft-fp: Move directory from
23 ports/sysdeps/powerpc/soft-fp.
24 * sysdeps/powerpc/powerpc32/405: Move directory from
25 ports/sysdeps/powerpc/powerpc32/405.
26 * sysdeps/powerpc/powerpc32/440: Move directory from
27 ports/sysdeps/powerpc/powerpc32/440.
28 * sysdeps/powerpc/powerpc32/464: Move directory from
29 ports/sysdeps/powerpc/powerpc32/464.
30 * sysdeps/powerpc/powerpc32/476: Move directory from
31 ports/sysdeps/powerpc/powerpc32/476.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
33 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42 * README: Update for powerpc-*-linux-gnu software floating point
45 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46 case to powerpc/powerpc32*.
47 * sysdeps/unix/sysv/linux/configure: Regenerated.
49 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
50 (_FPU_MASK_OM): Define as 0x04.
51 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
54 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
64 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
65 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
68 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
70 * locale/iso-3166.def: Update iso-1366.def and related occurrences
72 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
74 * manual/threads.texi (Default Thread Attributes): Fix typo.
76 2013-10-04 Will Newton <will.newton@linaro.org>
78 * malloc/Makefile: Add tst-memalign.
79 * malloc/tst-memalign.c: New file.
81 * malloc/tst-posix_memalign.c: Add comments.
82 (do_test): Add comments and call free on all potentially
83 allocated pointers. Add space after cast.
85 * malloc/tst-pvalloc.c: Add comments.
86 (do_test): Add comments and call free on all potentially
87 allocated pointers. Remove duplicate check for NULL pointer.
90 * malloc/tst-valloc.c: Add comments.
91 (do_test): Add comments and call free on all potentially
92 allocated pointers. Remove duplicate check for NULL pointer.
95 2013-10-04 Alan Modra <amodra@gmail.com>
97 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
98 Use stdint types in rather than __attribute__((mode())).
99 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
101 2013-10-04 Alan Modra <amodra@gmail.com>
103 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
104 Correct handling of unaligned relocs for little-endian.
105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
107 2013-10-04 Alan Modra <amodra@gmail.com>
109 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
110 * configure: Regenerate.
111 * nptl/shlib-versions: Powerpc*le starts at 2.18.
112 * shlib-versions: Likewise.
114 2013-10-04 Alan Modra <amodra@gmail.com>
116 * string/tester.c (test_memrchr): Increment reported test cycle.
118 2013-10-04 Alan Modra <amodra@gmail.com>
120 * string/test-memcpy.c (do_one_test): When reporting errors, print
121 string address and don't overrun end of string.
123 2013-10-04 Alan Modra <amodra@gmail.com>
125 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
126 insrdi. Make better use of reg selection to speed exit slightly.
127 Schedule entry path a little better. Remove useless "are we done"
128 checks on entry to main loop. Handle wrapping around zero address.
129 Correct main loop count. Handle single left-over word from main
130 loop inline rather than by using loop_small. Remove extra word
131 case in loop_small caused by wrong loop count. Add little-endian
133 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
136 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
137 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
138 support. Avoid rlwimi.
139 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
141 2013-10-04 Alan Modra <amodra@gmail.com>
143 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
145 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
146 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
147 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
148 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
149 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
150 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
152 2013-10-04 Alan Modra <amodra@gmail.com>
154 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
155 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
157 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
158 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
159 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
160 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
163 use of regs. Use power7 mtocrf. Tidy function tails.
165 2013-10-04 Alan Modra <amodra@gmail.com>
167 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
168 Formatting. Consistently use rXXX register defines or rN defines.
169 Use early exit labels that avoid restoring unused non-volatile regs.
170 Make cr field use more consistent with rWORDn compares. Rename
171 regs used as shift registers for unaligned loop, using rN defines
172 for short lifetime/multiple use regs.
173 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
174 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
175 addi 1,1,64 to pop stack frame. Simplify return value code.
176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
178 2013-10-04 Alan Modra <amodra@gmail.com>
180 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
181 support. Correct typos, formatting. Optimize tail. Use insrdi
183 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
185 little-endian support. Correct typos.
186 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
188 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
189 in loop and entry code to keep "and." results.
190 (strchr): Add little-endian support. Comment. Move cntlzd
192 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
194 2013-10-04 Alan Modra <amodra@gmail.com>
196 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
197 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
198 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
199 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
201 2013-10-04 Alan Modra <amodra@gmail.com>
203 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
204 (rTMP): Define as r11.
205 (strcmp): Add little-endian support. Optimise tail.
206 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
207 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
208 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
209 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
214 2013-10-04 Alan Modra <amodra@gmail.com>
216 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
217 little-endian support. Remove unnecessary "are we done" tests.
218 Handle "s" wrapping around zero and extremely large "size".
219 Correct main loop count. Handle single left-over word from main
220 loop inline rather than by using small_loop. Correct comments.
221 Delete "zero" tail, use "end_max" instead.
222 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
224 2013-10-04 Alan Modra <amodra@gmail.com>
226 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
227 support. Don't branch over align.
228 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
229 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
230 support. Rearrange tmp reg use to suit. Comment.
231 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
233 2013-10-04 Alan Modra <amodra@gmail.com>
235 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
237 2013-10-04 Alan Modra <amodra@gmail.com>
239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
240 conditional form of branch and link when obtaining pc.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
243 2013-10-04 Alan Modra <amodra@gmail.com>
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
250 2013-10-04 Alan Modra <amodra@gmail.com>
252 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
253 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
254 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
255 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
256 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
257 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
258 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
259 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
260 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
261 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
263 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
264 Alistair Popple <alistair@ozlabs.au.ibm.com>
265 Alan Modra <amodra@gmail.com>
268 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
269 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
270 _dl_hwcap access for little-endian.
271 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
272 destroy vmx regs when saving unaligned.
273 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
274 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
275 destroy vmx regs when saving unaligned.
277 2013-10-04 Alan Modra <amodra@gmail.com>
279 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
280 Don't use a union to pack hi/low value.
282 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
284 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
286 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
288 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
289 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
290 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
292 2013-10-04 Alan Modra <amodra@gmail.com>
294 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
295 constants to usual value for .cst8 section, and remove redundant
297 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
298 constant for 0x1p52. Load little-endian words of double from
299 correct stack offsets.
301 2013-10-04 Alan Modra <amodra@gmail.com>
303 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
304 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
305 words of double from correct stack offsets.
306 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
307 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
308 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
309 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
310 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
311 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
313 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
314 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
318 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
319 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
320 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
321 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
322 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
324 2013-10-04 Alan Modra <amodra@gmail.com>
326 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
327 64-bit int/double union.
328 (_FPU_SETCW): Likewise.
329 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
330 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
332 2013-10-04 Alan Modra <amodra@gmail.com>
334 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
335 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
337 2013-10-04 Alan Modra <amodra@gmail.com>
339 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
340 use vector int constants.
341 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
343 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
345 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
346 array with long long.
347 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
348 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
349 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
350 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
351 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
352 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
353 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
354 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
355 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
356 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
357 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
358 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
359 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
361 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
363 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
364 (__signbit): Likewise. Correct for little-endian.
365 (__signbitl): Call __signbit.
366 (lrint): Correct for little-endian.
367 (lrintf): Call lrint.
369 2013-10-04 Alan Modra <amodra@gmail.com>
371 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
372 union 32-bit int array member with 64-bit int array.
373 (t515, tm256): Double rather than long double.
374 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
376 2013-10-04 Alan Modra <amodra@gmail.com>
378 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
380 (IEEE854_LONG_DOUBLE_BIAS): Delete.
381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
382 version of math_ldbl.h.
384 2013-10-04 Alan Modra <amodra@gmail.com>
386 [BZ #15734], [BZ #15735]
387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
388 all uses of ieee875 long double macros and unions. Simplify test
389 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
390 ldbl_extract_mantissa value for ix,iy exponents. Properly
391 normalize after ldbl_extract_mantissa, and don't add hidden bit
392 already handled. Don't treat low word of ieee854 mantissa like
393 low word of IBM long double and mask off bit when testing for
395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
396 all uses of ieee875 long double macros and unions. Simplify tests
397 for 0.0L and inf. Correct double adjustment of k. Delete dead code
398 adjusting ha,hb. Simplify code setting kld. Delete two600 and
399 two1022, instead use their values. Recognise that tests for large
400 "a" and small "b" are mutually exclusive. Rename vars. Comment.
401 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
402 Rewrite all uses of ieee875 long double macros and unions. Simplify
403 test for 0.0L and nan. Correct negation.
404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
405 ieee875 long double macros and unions. Correct output for large
406 magnitude x. Correct absolute value calculation.
408 * math/libm-test.inc: Add tests for errors discovered in IBM long
409 double versions of fmodl, remainderl, erfl and erfcl.
411 2013-10-04 Alan Modra <amodra@gmail.com>
413 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
414 all uses of ieee854 long double macros and unions. Simplify tests
415 for long doubles that are fully specified by the high double.
416 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
418 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
419 Remove dead code too.
420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
421 (__ieee754_ynl): Likewise.
422 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
423 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
424 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
425 Remove dead code too.
426 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
427 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
428 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
431 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
436 Comment on variable precision.
437 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
438 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
440 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
443 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
444 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
446 2013-10-04 Alan Modra <amodra@gmail.com>
448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
449 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
450 all uses of ieee854 long double macros and unions.
451 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
452 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
453 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
454 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
455 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
456 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
462 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
463 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
464 Simplify sign and nan test too.
465 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
466 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
467 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
468 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
470 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
471 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
474 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
476 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
480 2013-10-04 Alan Modra <amodra@gmail.com>
482 * stdio-common/printf_size.c (__printf_size): Don't use
483 union ieee854_long_double in fpnum union.
484 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
485 signbit macro to retrieve sign from long double.
486 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
487 retrieve sign from long double.
488 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
489 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
490 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
491 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
492 * math/test-misc.c (main): Don't use union ieee854_long_double.
494 2013-10-04 Alan Modra <amodra@gmail.com>
497 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
498 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
499 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
500 calculation. Remove unnecessary test for denormal exponent.
501 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
502 Correct handling of denormals. Avoid undefined shift behaviour.
503 Correct normalisation of low mantissa when low double is denormal.
504 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
505 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
506 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
507 Correct normalisation of low mantissa. Test for overflow of high
508 mantissa and normalise.
509 (ldbl_nearbyint): Use more readable constant for two52.
510 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
511 (__mpn_construct_long_double): Fix test for overflow of high
512 mantissa and correct normalisation. Avoid undefined shift.
514 2013-10-04 Alan Modra <amodra@gmail.com>
516 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
517 (union ibm_extended_long_double): Define as an array of ieee754_double.
518 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
519 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
520 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
521 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
523 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
525 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
527 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
528 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
530 2013-10-03 Joseph Myers <joseph@codesourcery.com>
532 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
533 page size instead of calling getpagesize.
535 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
536 (LOCFILE_ALIGN_MASK): Likewise.
537 (LOCFILE_ALIGN_UP): Likewise.
538 (LOCFILE_ALIGNED_P): Likewise.
539 * locale/programs/ld-collate.c (collate_output): Use the new
540 macros instead of __alignof__ (int32_t).
541 * locale/weight.h (findidx): Likewise.
543 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
546 * manual/string.texi: Fix strncat and wcsncat.
548 2013-10-03 Brooks Moses <bmoses@google.com>
551 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
552 * Makerules: ...here, and adjust associated comments.
554 2013-10-02 Will Newton <will.newton@linaro.org>
556 * malloc/Makefile: Add tst-pvalloc.
557 * malloc/tst-pvalloc.c: New file.
559 2013-10-02 Will Newton <will.newton@linaro.org>
561 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
562 improve test coverage.
564 2013-10-02 Will Newton <will.newton@linaro.org>
566 * malloc/Makefile: Add tst-posix_memalign.
567 * malloc/tst-posix_memalign.c: New file.
569 2013-10-01 Eric Blake <eblake@redhat.com>
571 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
572 Use __THROWNL rather than __THROW on static functions.
574 2013-09-30 Petr Machata <pmachata@redhat.com>
576 * elf/elf.h (R_AARCH64_ABS16): New macro.
577 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
578 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
579 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
580 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
581 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
582 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
583 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
584 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
585 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
586 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
587 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
588 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
589 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
590 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
591 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
592 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
593 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
594 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
595 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
596 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
597 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
598 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
599 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
600 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
601 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
602 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
603 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
604 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
605 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
606 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
607 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
608 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
609 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
610 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
611 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
612 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
613 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
614 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
615 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
616 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
617 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
618 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
619 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
620 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
621 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
622 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
623 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
624 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
625 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
626 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
627 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
628 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
629 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
630 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
631 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
632 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
633 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
634 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
635 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
636 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
637 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
638 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
639 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
640 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
641 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
642 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
643 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
644 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
645 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
646 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
647 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
648 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
649 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
650 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
651 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
652 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
653 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
654 (R_AARCH64_TLSDESC_LDR): Likewise.
655 (R_AARCH64_TLSDESC_ADD): Likewise.
656 (R_AARCH64_TLSDESC_CALL): Likewise.
658 2013-09-30 Andreas Schwab <schwab@suse.de>
661 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
662 the nss database lookup.
663 * nscd/initgrcache.c (addinitgroupsX): Likewise.
664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
666 2013-09-28 Mike Frysinger <vapier@gentoo.org>
668 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
670 2013-09-28 P. J. McDermott <pj@pehjota.net>
672 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
673 ${Bash-specific parameter/pattern/string} parameter expansion.
674 * sysdeps/unix/make-syscalls.sh: Likewise.
676 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
678 * sysdeps/sh/stackguard-macros.h: New file.
680 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
683 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
684 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
685 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
686 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
687 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
689 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
691 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
692 Fix thread ID register.
694 2013-09-25 Joseph Myers <joseph@codesourcery.com>
696 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
697 [POSIX || UNIX98]: Require rather than permitting all symbols from
699 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
700 element of struct sched_param.
701 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
702 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
703 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
704 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
707 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
709 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
710 argument calculation.
712 2013-09-24 Joseph Myers <joseph@codesourcery.com>
714 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
716 [POSIX] (pthread_attr_t): Do not require type.
717 [POSIX] (pthread_cond_t): Likewise.
718 [POSIX] (pthread_condattr_t): Likewise.
719 [POSIX] (pthread_key_t): Likewise.
720 [POSIX] (pthread_mutex_t): Likewise.
721 [POSIX] (pthread_mutexattr_t): Likewise.
722 [POSIX] (pthread_once_t): Likewise.
723 [POSIX] (pthread_t): Likewise.
724 [POSIX-based standards] (pthread_atfork): Expect function.
726 2013-09-24 Joseph Myers <joseph@codesourcery.com>
727 Richard Sandiford <richard@codesourcery.com>
729 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
730 (swap_endianness_p): New extern variable.
731 (set_big_endian): New inline function.
732 (maybe_swap_uint32): Likewise.
733 (maybe_swap_uint32_array): Likewise.
734 (maybe_swap_uint32_obstack): Likewise.
735 * locale/programs/locfile.c: Include <stdbool.h>.
736 (swap_endianness_p): New variable.
737 (add_locale_uint32): Call maybe_swap_uint32.
738 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
739 (write_locale_data): Call maybe_swap_uint32_array.
740 * locale/programs/ld-collate.c (obstack_int32_grow): Call
742 (obstack_int32_grow_fast): Likewise.
743 (output_weightwc): Call maybe_swap_uint32_obstack.
744 (collate_output): Likewise.
745 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
746 (OPT_LITTLE_ENDIAN): Likewise.
747 (options): Add --little-endian and --big-endian options.
748 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
749 * locale/programs/locarchive.c: Include "locfile.h".
753 (create_archive): Use the new macros to access fields of
754 structures directly mapped from or written to locale archives.
755 (oldlocrecentcmp): Likewise.
756 (enlarge_archive): Likewise.
757 (insert_name): Likewise.
758 (add_alias): Likewise.
759 (add_locale): Likewise.
760 (delete_locales_from_archive): Likewise.
761 (show_archive_content): Likewise.
762 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
765 2013-09-24 Roland McGrath <roland@hack.frob.com>
767 * manual/freemanuals.texi: Updated from (newly) canonical copy at
768 http://www.gnu.org/doc/freemanuals.texi.
769 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
771 2013-09-24 Will Newton <will.newton@linaro.org>
773 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
776 2013-09-23 Joseph Myers <joseph@codesourcery.com>
778 * locale/hashval.h (compute_hashval): Interpret bytes of key as
781 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
783 * manual/threads.texi (POSIX Threads): Fix a typo.
785 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
788 * string/tst-strcoll-overflow.c: New test case.
789 * string/Makefile (xtests): Add tst-strcoll-overflow.
790 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
791 cache if string sizes may cause integer overflow.
794 * string/strcoll_l.c (coll_seq): New members rule, idx,
795 save_idx and back_us.
796 (get_next_seq_nocache): New function.
797 (do_compare_nocache): New function.
798 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
801 2013-09-23 Carlos O'Donell <carlos@redhat.com>
804 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
805 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
806 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
809 * elf/Makefile (tests): Add tst-ptrguard1.
810 (tests-static): Add tst-ptrguard1-static.
811 (tst-ptrguard1-ARGS): Define.
812 (tst-ptrguard1-static-ARGS): Define.
813 * elf/tst-ptrguard1.c: New file.
814 * elf/tst-ptrguard1-static.c: New file.
815 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
816 * sysdeps/i386/stackguard-macros.h: Likewise.
817 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
818 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
819 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
820 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
821 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
822 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
824 2013-09-23 Hector Marco <hecmargi@upv.es>
825 Ismael Ripoll <iripoll@disca.upv.es>
826 Carlos O'Donell <carlos@redhat.com>
829 * sysdeps/generic/stackguard-macros.h: Define
830 __pointer_chk_guard_local and POINTER_CHK_GUARD.
831 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
832 Define __pointer_chk_guard_local.
833 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
834 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
836 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
839 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
841 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
843 * include/string.h (__ffs): Declare as hidden.
844 * string/ffs.c (__ffs): Define as hidden.
845 * sysdeps/i386/ffs.c (__ffs): Likewise.
846 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
847 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
848 * sysdeps/s390/ffs.c (__ffs): Likewise.
849 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
851 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
853 * NEWS: Mention malloc probes.
855 * malloc/arena.c (new_heap): New memory_heap_new probe.
856 (grow_heap): New memory_heap_more probe.
857 (shrink_heap): New memory_heap_less probe.
858 (heap_trim): New memory_heap_free probe.
859 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
860 (systrim): New memory_sbrk_less probe.
861 * manual/probes.texi: Document them.
863 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
864 * manual/probes.texi: Document it.
866 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
867 (__libc_realloc): Add memory_realloc_retry probe.
868 (__libc_memalign): Add memory_memalign_retry probe.
869 (__libc_valloc): Add memory_valloc_retry probe.
870 (__libc_pvalloc): Add memory_pvalloc_retry probe.
871 (__libc_calloc): Add memory_calloc_retry probe.
872 * manual/probes.texi: Document them.
874 * malloc/arena.c (get_free_list): Add probe
875 memory_arena_reuse_free_list.
876 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
877 and memory_arena_reuse.
878 (arena_get2) [!PER_THREAD]: Likewise.
879 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
880 memory_arena_reuse_realloc.
881 * manual/probes.texi: Document them.
883 * malloc/malloc.c (__libc_free): Add
884 memory_mallopt_free_dyn_thresholds probe.
885 (__libc_mallopt): Add multiple memory_mallopt probes.
886 * manual/probes.texi: Document them.
888 * malloc/malloc.c: Include stap-probe.h.
889 (__libc_mallopt): Add memory_mallopt probe.
890 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
891 * manual/probes.texi: New.
892 * manual/Makefile (chapters): Add probes.
893 * manual/threads.texi: Set next node.
895 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
898 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
899 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
900 Add `Chinese' to `nan' entry name.
902 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
904 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
905 (POLYNOMIAL): Likewise.
906 (TAYLOR_SINCOS): Likewise.
907 (TAYLOR_SLOW): Likewise.
908 (__sin): Use TAYLOR_SINCOS.
910 (slow): Use TAYLOR_SLOW.
915 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
917 * stdlib/strtod_l.c: Fix buffer overrun.
919 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
921 * benchtests/Makefile (bench): Add sincos.
922 * benchtests/bench-sincos.c: New file.
924 * math/libm-test.inc (cos_test_data): New test inputs.
925 (sin_test_data): Likewise.
927 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
941 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
950 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
952 * config.h.in (HAVE_MIPS_NAN2008): New macro.
953 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
954 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
955 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
956 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
957 * elf/cache.c (print_entry): Handle the new cache flags.
959 2013-09-18 Joseph Myers <joseph@codesourcery.com>
960 Aldy Hernandez <aldyh@redhat.com>
962 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
963 Change condition to [_SOFT_FLOAT].
964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
976 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
979 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
982 2013-09-18 Joseph Myers <joseph@codesourcery.com>
984 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
985 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
986 (__longjmp): Use LOAD_GP to load saved GPRs.
987 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
988 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
989 (__sigsetjmp): Use SAVE_GP to save GPRs.
991 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
992 Do not append -msoft-float.
993 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
995 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
997 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
999 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1002 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1003 (_FPU_GETCW): Use initial "__" on variable and field names but not
1004 on macro parameter name.
1005 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1006 parentheses around reference to macro parameter.
1008 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1010 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1012 (ctype_startup): Use uint32_t in cast and sizeof for
1015 2013-09-11 Jia Liu <proljc@gmail.com>
1017 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1019 [__FreeBSD__]: Likewise.
1021 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1024 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1025 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1026 (strchr): Remove __strchr_sse42 ifunc selection.
1027 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1028 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1030 2013-09-11 Will Newton <will.newton@linaro.org>
1032 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1033 parameter to RES. Remove hardcoded 1000 value.
1034 * benchtests/bench-skeleton.c (main): Pass RES parameter
1035 to TIMING_INIT and multiply result by 1000.
1037 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1041 2013-09-11 Andreas Schwab <schwab@suse.de>
1043 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1045 (O_TMPFILE) [__USE_GNU]: Define.
1046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1049 2013-09-11 Will Newton <will.newton@linaro.org>
1052 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1055 2013-09-11 Will Newton <will.newton@linaro.org>
1058 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1061 2013-09-11 Will Newton <will.newton@linaro.org>
1064 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1067 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
1069 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1070 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1073 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1075 2013-09-10 Allan McRae <allan@archlinux.org>
1078 * manual/arith.texi (Parsing of Floats): Clarify
1082 * manual/install.texi (Running make install): Mention
1084 * INSTALL: Regenerated.
1086 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1088 * csu/init-first.c (_init): Remove the !SHARED condition around
1089 FPU control word initialization.
1090 * elf/dl-support.c (_dl_fpu_control): New variable.
1091 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1092 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1093 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1094 * math/test-fpucw-static.c: New file.
1095 * math/test-fpucw-ieee.c: New file.
1096 * math/test-fpucw-ieee-static.c: New file.
1097 * math/Makefile (tests): Add `test-fpucw-ieee' and
1099 (tests-static): New variable.
1100 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1102 [($(build-shared),yes)]
1103 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1105 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1108 2013-09-09 Allan McRae <allan@archlinux.org>
1111 * manual/string.texi (Collation Functions): Fix typo in
1113 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1116 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1119 * libio/memstream.c (open_memstream): Fix memory leak.
1120 * libio/wmemstream.c (open_wmemstream): Likewise.
1123 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1125 2013-09-09 Will Newton <will.newton@linaro.org>
1127 * malloc/Makefile: Add tst-realloc to tests.
1128 * malloc/tst-realloc.c: New file.
1130 2013-09-09 Allan McRae <allan@archlinux.org>
1133 * COPYING: Update from GNU website to fix FSF address.
1134 * COPYING.LIB: Likewise.
1136 2013-09-06 David S. Miller <davem@davemloft.net>
1138 * po/zh_TW.po: Update Chinese (traditional) translation from
1139 translation project.
1141 2013-09-06 Richard Sandiford <richard@codesourcery.com>
1142 Joseph Myers <joseph@codesourcery.com>
1144 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1146 (obstack_chunk_alloc): New macro.
1147 (obstack_chunk_free): Likewise.
1148 (record_offset): New function.
1149 (init_locale_data): Likewise.
1150 (align_locale_data): Likewise.
1151 (add_locale_empty): Likewise.
1152 (add_locale_raw_data): Likewise.
1153 (add_locale_raw_obstack): Likewise.
1154 (add_locale_string): Likewise.
1155 (add_locale_wstring): Likewise.
1156 (add_locale_uint32): Likewise.
1157 (add_locale_uint32_array): Likewise.
1158 (add_locale_char): Likewise.
1159 (start_locale_structure): Likewise.
1160 (end_locale_structure): Likewise.
1161 (start_locale_prelude): Likewise.
1162 (end_locale_prelude): Likewise.
1163 (write_locale_data): Take locale_file structure rather than an
1165 * locale/programs/locfile.h: Include "obstack.h".
1166 (struct locale_file): Change to store locale file contents instead
1168 (init_locale_data): New prototype.
1169 (align_locale_data): Likewise.
1170 (add_locale_empty): Likewise.
1171 (add_locale_raw_data): Likewise.
1172 (add_locale_raw_obstack): Likewise.
1173 (add_locale_string): Likewise.
1174 (add_locale_wstring): Likewise.
1175 (add_locale_uint32): Likewise.
1176 (add_locale_uint32_array): Likewise.
1177 (add_locale_char): Likewise.
1178 (start_locale_structure): Likewise.
1179 (end_locale_structure): Likewise.
1180 (start_locale_prelude): Likewise.
1181 (end_locale_prelude): Likewise.
1182 (write_locale_data): Update prototype.
1183 * locale/programs/3level.h (struct TABLE): Remove result field.
1184 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1185 Use new locale_file interface.
1186 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1187 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1188 * locale/programs/ld-address.c (address_output): Use new
1189 locale_file interface.
1190 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1192 (collate_finish): Don't call collseq_table_finalize.
1193 (collate_output): Use new locale_file interface.
1194 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1196 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1197 (TABLE): Move defines earlier in file.
1198 (ELEMENT): Likewise.
1199 (DEFAULT): Likewise.
1200 (wctrans_table_add): Move macro and inline function earlier in
1202 (struct wctype_table): Move type earlier in file.
1203 (add_locale_wctype_table): New static prototype.
1204 (struct locale_ctype_t): Use logical types instead of struct iovec
1205 pointers for members.
1206 (ctype_output): Use new locale_file interface.
1207 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1208 new locale_file interface.
1209 (allocate_arrays): Update for use of new locale_file interface.
1210 * locale/programs/ld-identification.c (identification_output): Use
1211 new locale_file interface.
1212 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1213 * locale/programs/ld-messages.c (messages_output): Likewise.
1214 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1215 * locale/programs/ld-name.c (name_output): Likewise.
1216 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1217 * locale/programs/ld-paper.c (paper_output): Likewise.
1218 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1219 * locale/programs/ld-time.c (time_output): Likewise.
1221 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223 * benchtests/Makefile: Add memrchr benchmark.
1224 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1225 benchmark as memrchr.
1226 * benchtests/bench-memrchr-ifunc.c: New file.
1227 * benchtests/bench-memrchr.c: New file.
1229 2013-09-06 Will Newton <will.newton@linaro.org>
1231 * benchtests/Makefile (string-bench): Add memcpy.
1233 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1234 Cong Wang <amwang@redhat.com>
1236 * sysdeps/unix/sysv/linux/bits/in.h
1237 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1238 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1239 before __USE_KERNEL_IPV6_DEFS uses.
1240 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1242 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1243 sockaddr_in6, or ipv6_mreq.
1245 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1247 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1248 memory access for final bytes in some large inputs.
1249 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1251 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253 * string/test-memrchr.c: New file.
1254 * string/test-memrchr-ifunc.c: New file.
1255 * string/Makefile: Add new memrchr testcase.
1257 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1259 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1260 fanotify_init returns EPERM.
1262 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1264 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1266 (top level): Treat second token from macro or constant entries for
1267 allowed headers as allowed.
1268 * include/complex.h: Condition internal declarations on
1270 * include/fenv.h: Condition include of <stdbool.h> and internal
1271 declarations on [!_ISOMAC].
1273 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1276 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1278 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1280 * configure.in (--enable-versioning): Remove configure option.
1281 (libc_cv_asm_symver_directive): Remove configure test.
1282 (libc_cv_ld_version_script_option): Likewise.
1283 (VERSIONING): Remove variable and AC_SUBST.
1284 (DO_VERSIONING): Remove AC_DEFINE.
1285 * configure: Regenerated.
1286 * config.h.in (DO_VERSIONING): Remove macro.
1287 * Makerules [$(versioning) = yes]: Change conditionals to
1288 [$(build-shared) = yes].
1289 * config.make.in (versioning): Remove variable.
1290 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1291 [$(build-shared) = yes].
1292 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1293 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1294 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1295 [$(build-shared) = yes].
1296 * extra-lib.mk [$(versioning) = yes]: Likewise.
1297 * hurd/Makefile [$(versioning) = yes]: Likewise.
1298 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1300 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1302 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1303 [SHARED && !NO_HIDDEN].
1304 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1306 [SHARED && DO_VERSIONING]: Likewise..
1307 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1308 [$(build-shared) = yes].
1309 * manual/install.texi (--disable-versioning): Remove
1311 * INSTALL: Regenerated.
1312 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1314 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1315 [$(build-shared) = yes].
1316 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1317 * sysdeps/i386/i686/multiarch/strstr-c.c
1318 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1319 [SHARED && !NO_HIDDEN].
1320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1321 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1322 * sysdeps/powerpc/powerpc32/dl-machine.c
1323 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1324 * sysdeps/powerpc/powerpc32/sysdep.h
1325 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1326 to [SHARED && PIC && !NO_HIDDEN].
1327 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1328 conditional to [SHARED].
1330 2013-09-04 Will Newton <will.newton@linaro.org>
1332 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1333 * benchtests/bench-string.h: Include bench-timing.h instead
1334 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1335 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1336 call to HP_TIMING_DIFF_INIT.
1337 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1338 instead of hp-timing.h macros.
1339 * benchtests/bench-memchr.c: Likewise.
1340 * benchtests/bench-memcmp.c: Likewise.
1341 * benchtests/bench-memcpy.c: Likewise.
1342 * benchtests/bench-memmem.c: Likewise.
1343 * benchtests/bench-memmove.c: Likewise.
1344 * benchtests/bench-memset.c: Likewise.
1345 * benchtests/bench-rawmemchr.c: Likewise.
1346 * benchtests/bench-strcasecmp.c: Likewise.
1347 * benchtests/bench-strcasestr.c: Likewise.
1348 * benchtests/bench-strcat.c: Likewise.
1349 * benchtests/bench-strchr.c: Likewise.
1350 * benchtests/bench-strcmp.c: Likewise.
1351 * benchtests/bench-strcpy.c: Likewise.
1352 * benchtests/bench-strcpy_chk.c: Likewise.
1353 * benchtests/bench-strlen.c: Likewise.
1354 * benchtests/bench-strncasecmp.c: Likewise.
1355 * benchtests/bench-strncat.c: Likewise.
1356 * benchtests/bench-strncmp.c: Likewise.
1357 * benchtests/bench-strncpy.c: Likewise.
1358 * benchtests/bench-strnlen.c: Likewise.
1359 * benchtests/bench-strpbrk.c: Likewise.
1360 * benchtests/bench-strrchr.c: Likewise.
1361 * benchtests/bench-strspn.c: Likewise.
1362 * benchtests/bench-strstr.c: Likewise.
1364 2013-09-04 Will Newton <will.newton@linaro.org>
1366 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1368 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1371 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1372 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1373 * math/libm-test.inc (lgamma_test_data): Add more tests.
1374 * sysdeps/i386/fpu/libm-test-ulps: Update.
1375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1377 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1379 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1383 Add strcmp-sse2-unaligned
1384 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1386 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1388 * Versions.def (libc): Add GLIBC_2.19.
1390 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1392 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1393 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1395 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1398 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1399 intermediate calculations in recurrence.
1400 (__ieee754_ynf): Likewise.
1401 * math/libm-test.inc (jn_test_data): Do not allow spurious
1402 underflow exception. Add more tests.
1403 (yn_test_data): Add more tests.
1404 * sysdeps/i386/fpu/libm-test-ulps: Update.
1405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1407 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1411 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1413 * csu/init-first.c: Fix then/than typos.
1414 * locale/programs/ld-collate.c: Likewise.
1415 * locale/programs/linereader.h: Likewise.
1416 * manual/charset.texi: Likewise.
1417 * manual/filesys.texi: Likewise.
1418 * manual/stdio.texi: Likewise.
1419 * manual/string.texi: Likewise.
1420 * stdlib/fmtmsg.c: Likewise.
1421 * sysdeps/i386/stpncpy.S: Likewise.
1422 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1423 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1425 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1427 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1429 * elf/dl-open.c: Fix typos.
1430 * iconvdata/gbbig5.c: Likewise.
1431 * iconvdata/iso-2022-jp.c: Likewise.
1432 * iconv/gconv_int.h: Likewise.
1433 * iconv/loop.c: Likewise.
1434 * nis/rpcsvc/nis.h: Likewise.
1435 * resolv/ns_name.c: Likewise.
1436 * stdio-common/vfscanf.c: Likewise.
1437 * streams/stropts.h: Likewise.
1438 * sunrpc/rpc_thread.c: Likewise.
1439 * sysdeps/i386/strpbrk.S: Likewise.
1440 * sysdeps/ieee754/k_standard.c: Likewise.
1441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1443 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1444 * sysdeps/mach/hurd/profil.c: Likewise.
1445 * sysdeps/s390/dl-procinfo.h: Likewise.
1446 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1447 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1448 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1449 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1450 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1452 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1454 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1457 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1459 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1461 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1470 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1471 Roland McGrath <roland@hack.frob.com>
1473 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1474 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1476 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1478 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1479 __executable_start symbol instead of _start.
1481 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1483 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1484 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1486 * sysdeps/gnu/ldsodefs.h: ... this new file.
1488 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1489 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1490 instead of ELFOSABI_LINUX.
1492 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1493 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1494 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1495 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1497 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1498 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1501 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1502 (ibm_extended_long_double): Add ieee_nan member.
1503 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1504 (do_test): New function.
1506 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1508 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1509 functions, renamed from truncdfsf_test, trunctfsf_test,
1511 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1513 (do_test): Run all these.
1515 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1517 * argp/argp-help.c: Fix typos.
1518 * argp/argp-parse.c: Likewise.
1519 * debug/backtracesyms.c: Likewise.
1520 * elf/elf.h: Likewise.
1521 * malloc/malloc.c: Likewise.
1522 * nis/nis_print.c: Likewise.
1523 * resolv/res_comp.c: Likewise.
1524 * stdlib/stdlib.h: Likewise.
1525 * sunrpc/clnt_tcp.c: Likewise.
1526 * sunrpc/clnt_udp.c: Likewise.
1527 * sunrpc/clnt_unix.c: Likewise.
1528 * sysdeps/unix/bsd/ptsname.c: Likewise.
1529 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1537 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1539 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1541 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1544 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1547 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1548 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1549 ($(objpfx)bug-dl-leaf): New rule.
1550 ($(objpfx)bug-dl-leaf.so): Likewise.
1551 ($(objpfx)bug-dl-leaf.out): Likewise.
1552 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1553 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1554 * dlfcn/bug-dl-leaf.c: New test.
1555 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1556 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1557 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1558 (dlclose): Likewise.
1559 (dlmopen): Likewise.
1561 2013-08-27 Roland McGrath <roland@hack.frob.com>
1563 * include/netdb.h [!_ISOMAC]:
1564 Don't include <tls.h>.
1565 (h_errno, __libc_h_errno): Move declaration and macros out of
1568 * include/resolv.h [_RESOLV_H_]:
1569 Don't include <tls.h>.
1570 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1571 * resolv/res_libc.c: Don't include <tls.h>.
1572 (_res): Use __attribute__ ((nocommon)) in place of
1573 __attribute__ ((section (".bss"))).
1575 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1576 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1578 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1580 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1581 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1583 * resolv/res_mkquery.c: Include <sys/time.h>.
1585 * inet/ifreq.c: Moved to ...
1586 * sysdeps/unix/ifreq.c: ... here.
1587 * inet/ifreq.c: New file, true stub version.
1589 * socket/sa_len.c: New file.
1590 * socket/Makefile (aux): Add it.
1591 * sysdeps/unix/sysv/linux/Makefile
1592 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1593 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1594 and #include <socket/sa_len.c>.
1595 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1596 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1598 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1599 * bits/socket.h: ... here.
1601 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1602 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1603 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1605 2013-08-27 Andreas Schwab <schwab@suse.de>
1608 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1609 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1610 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1611 * string/test-strcasecmp.c (test_main): Run tests in several
1613 * string/test-strncasecmp.c (test_main): Likewise.
1615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1616 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1617 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1619 (__strncasecmp_ssse3) [PIC]: Likewise.
1621 2013-08-26 Roland McGrath <roland@hack.frob.com>
1623 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1625 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1626 instead of explicitly declaring xdecrypt.
1627 * nis/nss_nis/nis-publickey.c: Likewise.
1629 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1632 * nscd/aicache.c: Include res_hconf.h.
1633 (addhstaiX): Initialize res_hconf.
1635 2013-08-26 Andreas Schwab <schwab@suse.de>
1637 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1638 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1640 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1642 * nscd/aicache.c (addhstaiX): Fix indentation.
1644 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1646 * configure.ac: Quote $build_pt_chown test.
1647 * configure: Regenerated.
1649 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1652 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1653 * math/s_cexpf.c (__cexpf): Likewise.
1654 * math/s_cexpl.c (__cexpl): Likewise.
1655 * math/libm-test.inc (cexp_test_data): Correct expected return
1656 value for NaN + i0. Add another test.
1658 2013-08-22 David S. Miller <davem@davemloft.net>
1660 * po/ca.po: Update Catalan translation from translation project.
1661 * po/uk.po: Add Ukrainian translations from translation project.
1663 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1666 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1667 is infinite, not alongside NaN test.
1668 * math/s_fdimf.c (__fdimf): Likewise.
1669 * math/s_fdiml.c (__fdiml): Likewise.
1670 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1673 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1675 * argp/argp-help.c: Fix typos.
1676 * crypt/speeds.c: Likewise.
1677 * csu/check_fds.c: Likewise.
1678 * elf/dl-load.c: Likewise.
1679 * elf/dl-open.c: Likewise.
1680 * elf/reldep3.c: Likewise.
1681 * elf/reldep.c: Likewise.
1682 * elf/sprof.c: Likewise.
1683 * iconv/iconv_charmap.c: Likewise.
1684 * iconv/skeleton.c: Likewise.
1685 * iconv/strtab.c: Likewise.
1686 * io/lockf64.c: Likewise.
1687 * libio/libioP.h: Likewise.
1688 * resolv/gai_notify.c: Likewise.
1689 * resolv/ns_name.c: Likewise.
1690 * resolv/ns_samedomain.c: Likewise.
1691 * resolv/res_send.c: Likewise.
1692 * stdlib/random.c: Likewise.
1693 * sunrpc/rpc/xdr.h: Likewise.
1694 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1695 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1696 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1697 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1698 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1699 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1702 * sysdeps/mach/hurd/check_fds.c: Likewise.
1703 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1704 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1705 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1706 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1707 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1708 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1709 * sysdeps/pthread/aio_notify.c: Likewise.
1710 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1711 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1712 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1714 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1716 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1718 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1719 version if bit_Slow_SSE4_2 is set.
1720 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1721 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1723 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1726 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1727 trampoline stack frame information.
1728 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1729 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1730 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1731 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1732 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1733 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1734 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1735 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1737 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1738 interrupting a syscall and set with option SA_SIGINFO.
1740 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1743 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1744 argument is infinite.
1745 * math/s_cprojf.c (__cprojf): Likewise.
1746 * math/s_cprojl.c (__cprojl): Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1748 * math/libm-test.inc (cproj_test_data): Add more tests.
1750 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1752 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1753 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1754 size. Use __ffs to determine corresponding shift.
1756 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1757 Roland McGrath <roland@hack.frob.com>
1759 * Makefile (INSTALL): Remove trailing blank lines from output of
1762 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1764 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1765 Align 32 bit compat elf_greg to 8 bytes.
1767 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1769 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1771 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1773 * string/strcoll_l.c (coll_seq): New structure.
1774 (get_next_seq_cached): New function.
1775 (get_next_seq): New function.
1776 (do_compare): New function.
1777 (STRCOLL): Use GNU style definition. Simplify implementation
1778 by using get_next_seq, get_next_seq_cached and do_compare.
1780 2013-08-16 Florian Weimer <fweimer@redhat.com>
1784 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1786 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1788 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1789 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1790 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1792 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1793 GETDENTS_64BIT_ALIGNED.
1794 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1795 * manual/filesys.texi (Reading/Closing Directory): Document
1796 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1798 * manual/conf.texi (Limits for Files): Add portability note to
1800 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1802 2013-08-13 Andreas Schwab <schwab@suse.de>
1805 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1807 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1808 LDBL_MAX_EXP >= 16384]: Add tests for it.
1810 2013-08-12 David S. Miller <davem@davemloft.net>
1812 * version.h (RELEASE): Set to "development".
1813 (VERSION): Set to "2.18.90".
1814 * NEWS: Add 2.19 section.
1816 2013-08-03 David S. Miller <davem@davemloft.net>
1818 * po/ko.po: Update Korean translation from translation project.
1820 2013-08-01 David S. Miller <davem@davemloft.net>
1822 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1823 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1826 2013-07-30 David S. Miller <davem@davemloft.net>
1828 * po/fr.po: Update French translation from translation project.
1830 2013-07-28 David S. Miller <davem@davemloft.net>
1832 * po/cs.po: Update Czech translation from translation project.
1834 * po/sv.po: Update Swedish translation from translation project.
1836 2013-07-27 David S. Miller <davem@davemloft.net>
1838 * po/eo.po: Update Esperanto translation from translation project.
1840 * po/vi.po: Update Vietnamese translation from translation project.
1842 * po/de.po: Update German translation from translation project.
1844 2013-07-26 David S. Miller <davem@davemloft.net>
1846 * po/bg.po: Update Bulgarian translation from translation project.
1848 * po/nl.po: Update Dutch translation from translation project.
1849 * po/pl.po: Update Polish translation from translation project.
1850 * po/ru.po: Update Russian translation from translation project.
1852 2013-07-24 David S. Miller <davem@davemloft.net>
1854 * po/libc.pot: Update.
1856 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1858 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1860 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1861 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1862 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1864 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1866 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1868 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1869 Andreas Schwab <schwab@suse.de>
1870 Roland McGrath <roland@hack.frob.com>
1871 Joseph Myers <joseph@codesourcery.com>
1872 Carlos O'Donell <carlos@redhat.com>
1875 * config.h.in: Define HAVE_PT_CHOWN.
1876 * config.make.in (build-pt-chown): New variable.
1877 * configure.in (--enable-pt_chown): New configure option.
1878 * configure: Regenerate.
1879 * login/Makefile: Include Makeconfig. Build pt_chown only if
1880 build-pt-chown is enabled.
1881 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1882 pt_chown to fix pty ownership.
1883 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1885 * manual/install.texi (Configuring and compiling): Mention
1886 --enable-pt_chown. Add @findex for grantpt.
1887 * INSTALL: Regenerate.
1889 2013-07-20 David S. Miller <davem@davemloft.net>
1891 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1892 difference between 32-bit and 64-bit.
1894 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1897 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1898 Avoid system header dependency with -ffreestanding.
1899 ($(objpfx)bits/syscall%d): Likewise.
1901 2013-07-13 David S. Miller <davem@davemloft.net>
1903 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1904 underflows from atanl/atan2l due to bug 15319.
1905 (casinh_test_data): Likewise.
1907 2013-07-07 David S. Miller <davem@davemloft.net>
1909 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1911 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1913 * sysdeps/i386/fpu/libm-test-ulps: Update.
1914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1916 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1918 * configure.in (--enable-lock-elision): Fix message text.
1919 * INSTALL: Regenerate.
1920 * configure: Regenerate.
1922 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1926 2013-07-03 Andreas Jaeger <aj@suse.de>
1928 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1930 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1931 (ptrace_peeksiginfo_args): Add.
1932 (__ptrace_peeksiginfo_flags): Add.
1933 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1934 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1937 2013-07-03 Allan McRae <allan@archlinux.org>
1939 * sysdeps/i386/fpu/libm-test-ulps: Update.
1941 2013-07-02 David S. Miller <davem@davemloft.net>
1943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1945 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1949 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1951 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1954 2013-07-02 Andi Kleen <ak@linux.intel.com>
1956 * config.h.in (ENABLE_LOCK_ELISION): Add.
1957 * configure.in (--enable-lock-elision): Add option.
1958 * manual/install.texi: Document --enable lock elision.
1959 * configure: Regenerate
1960 * INSTALL: Regenerate.
1962 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1964 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1965 SSE4.2 strcasecmp for libc.a.
1966 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1968 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1971 * soft-fp/op-common.h (_FP_FMA): New macro.
1972 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1973 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1974 (_FP_MUL_MEAT_1_imm): ... here.
1975 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1976 (_FP_MUL_MEAT_1_wide): ... here.
1977 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1978 (_FP_MUL_MEAT_1_hard): ... here.
1979 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1980 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1981 (_FP_MUL_MEAT_2_wide): ... here.
1982 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1983 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1984 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1985 (_FP_MUL_MEAT_2_gmp): ... here.
1986 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1987 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1988 (_FP_MUL_MEAT_4_wide): ... here.
1989 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1990 (_FP_MUL_MEAT_4_gmp): ... here.
1991 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1992 (_FP_WFRACBITS_DW_S): Likewise.
1993 (_FP_WFRACXBITS_DW_S): Likewise.
1994 (_FP_HIGHBIT_DW_S): Likewise.
1995 (FP_FMA_S): Likewise.
1996 (_FP_FRAC_HIGH_DW_S): Likewise.
1997 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1998 (_FP_WFRACBITS_DW_D): Likewise.
1999 (_FP_WFRACXBITS_DW_D): Likewise.
2000 (_FP_HIGHBIT_DW_D): Likewise.
2001 (FP_FMA_D): Likewise.
2002 (_FP_FRAC_HIGH_DW_D): Likewise.
2003 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2004 (_FP_WFRACBITS_DW_E): Likewise.
2005 (_FP_WFRACXBITS_DW_E): Likewise.
2006 (_FP_HIGHBIT_DW_E): Likewise.
2007 (FP_FMA_E): Likewise.
2008 (_FP_FRAC_HIGH_DW_E): Likewise.
2009 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2010 (_FP_WFRACBITS_DW_Q): Likewise.
2011 (_FP_WFRACXBITS_DW_Q): Likewise.
2012 (_FP_HIGHBIT_DW_Q): Likewise.
2013 (FP_FMA_Q): Likewise.
2014 (_FP_FRAC_HIGH_DW_Q): Likewise.
2015 * soft-fp/fmasf4.c: New file.
2016 * soft-fp/fmadf4.c: Likewise.
2017 * soft-fp/fmatf4.c: Likewise.
2019 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2022 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2024 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2026 (index_Slow_SSE4_2): Likewise.
2027 (index_Prefer_PMINUB_for_stringop): Likewise.
2028 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2029 bit_Slow_SSE4_2 is set.
2030 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2031 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2033 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2035 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2036 rtld_global._dl_hwcap2.
2037 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2039 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2040 POWER8 feature descriptions defined in _dl_hwcap2.
2041 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2042 string handling for POWER8 feature bits.
2043 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2044 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2045 _dl_powerpc_cap_flags.
2046 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2047 * sysdeps/powerpc/rtld-global-offsets.sym
2048 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2049 _dl_hwcap2 in the rtld_global_ro structure.
2051 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2053 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2054 hardware capabilities in support of AT_HWCAP2.
2055 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2056 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2058 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2059 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2060 explicitly the unknown a_type display mechanism is used.
2061 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2062 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2064 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2065 to macro prototype for AT_HWCAP2 support.
2066 * sysdeps/i386/dl-procinfo.h: Likewise.
2067 * sysdeps/s390/dl-procinfo.h: Likewise.
2068 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2069 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2070 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2071 return -1 for unknown a_type display fallback.
2072 * sysdeps/sparc/dl-procinfo.h: Likewise.
2073 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2074 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2076 2013-06-28 Joseph Myers <joseph@codesourcery.com>
2078 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2079 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2081 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2084 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2085 mprotect making __stack_prot writable.
2087 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2088 Joseph Myers <joseph@codesourcery.com>
2090 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2091 as being properly aligned.
2093 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2095 * dlfcn/modstatic5.c: New file.
2096 * dlfcn/tststatic5.c: New file.
2097 * dlfcn/Makefile (tests): Add tststatic5.
2098 (tests-static): Likewise.
2099 (modules-names): Add modstatic5.
2100 (tststatic5-ENV): New variable.
2101 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2104 * elf/dl-support.c (_dl_main_map): New variable.
2105 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2106 (_dl_nns, _dl_load_adds): Set to 1.
2107 (_dl_initial_searchlist): Refer to _dl_main_map.
2108 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2109 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2110 call to _dl_get_origin.
2111 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2113 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2114 * dlfcn/modstatic3.c: New file.
2115 * dlfcn/tststatic3.c: New file.
2116 * dlfcn/tststatic4.c: New file.
2117 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2118 (tests-static): Likewise.
2119 (modules-names): Add modstatic3.
2120 (tststatic3-ENV, tststatic4-ENV): New variables.
2121 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2122 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2124 2013-06-26 Joseph Myers <joseph@codesourcery.com>
2126 * configure.in (CC): Require GCC version 4.4 or later.
2127 * configure: Regenerated.
2128 * manual/install.texi (Tools for Compilation): Update GCC version
2130 * INSTALL: Regenerated.
2132 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2135 * string/test-memcmp.c (check2): New.
2136 (main): Call check2.
2138 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2140 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2143 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2145 (dl_open_worker) [!SHARED]: ... here.
2147 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2149 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2151 2013-06-25 Richard Henderson <rth@redhat.com>
2153 * locale/programs/locarchive.c: Include <libc-internal.h>
2155 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2157 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2158 trailing whitespace removed.
2160 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2163 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2164 * locale/programs/locarchive.c: Include libc-mmap.h.
2165 (prepare_address_space): Take two new outputs (the mmap base and len).
2166 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2168 (create_archive): Declare new mmap base and len values for
2169 prepare_address_space, and store the result in ah.
2170 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2171 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2172 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2173 Declare new mmap base and len values for
2174 prepare_address_space, and store the result in new_ah.
2175 (open_archive): Declare new mmap base and len values for
2176 prepare_address_space, and store the result in ah.
2177 (close_archive): If ah->mmap_base is not NULL, use that and
2178 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2179 * sysdeps/generic/libc-mmap.h: New file.
2181 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2183 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2184 (ALIGN_UP): Likewise.
2185 (PTR_ALIGN_DOWN): Likewise.
2186 (PTR_ALIGN_UP): Likewise.
2188 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2190 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2191 entry mapped to PPC_PLATFORM_POWER8.
2192 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2194 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2195 (_dl_string_platform): Add case for exporting platform position for
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2198 search path to sysdeps/powerpc/powerpc32/power8 directory.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2200 search path to sysdeps/powerpc/powerpc64/power8 directory.
2201 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2203 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2206 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2208 * INSTALL: Regenerate.
2210 * nscd/connections.c (nscd_init): Fix comment.
2212 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2214 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2217 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2218 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2220 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2222 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2224 (DL_DST_REQ_STATIC): Remove macro.
2226 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2229 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2230 with a shift of 0 bits.
2232 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2234 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2237 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2240 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2242 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2244 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2245 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2246 accepts -fno-tree-loop-distribute-patterns.
2247 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2248 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2250 * string/memset.c (memset): Likewise.
2251 * string/test-memmove.c (simple_memmove): Disable loop transformation
2253 * string/test-memset.c (simple_memset): Likewise.
2254 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2255 * benchtests/bench-memset.c (simple_memset): Likewise.
2256 * configure: Regenerated.
2258 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2260 * math/test-misc.c (main): Ignore fesetround failure when failures
2261 of subsequent rounding tests would be ignored.
2264 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2265 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2266 * math/fegetenv.c (__fegetenv): Return 0.
2267 * math/fegetexcept.c (fegetexcept): Return 0.
2268 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2270 * math/feholdexcpt.c (feholdexcept): Return 0.
2271 * math/fesetenv.c (__fesetenv): Return 0.
2272 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2273 argument FE_TONEAREST.
2274 * math/feupdateenv.c (__feupdateenv): Return 0.
2275 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2277 2013-06-18 Roland McGrath <roland@hack.frob.com>
2279 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2280 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2281 ($(objpfx)rtld-%.os rules): Use them.
2283 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2285 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2288 2013-06-17 Roland McGrath <roland@hack.frob.com>
2290 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2291 length of target pattern, then descending length of dependency pattern.
2292 * configure.in (AWK): Require gawk 3.1.2 or newer.
2293 * manual/install.texi (Tools for Compilation): Say that we do.
2294 * configure: Regenerated.
2296 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2297 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2298 * scripts/sysd-rules.awk: ... this new script.
2299 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2300 than a glob-style pattern.
2302 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2304 * math/test-misc.c (main): Do not treat incorrectly rounded
2305 conversions as failure unless ROUNDING_TESTS passes.
2307 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2310 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2311 restore exception state around main square root computation, then
2312 check for inexactness explicitly.
2314 * math/libm-test.inc (fma_test_data): Add another test.
2316 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2318 * manual/threads.texi (Non-POSIX Extensions): New document
2319 node. Document pthread_getattr_default_np and
2320 pthread_setattr_default_np.
2322 * Versions.def (libpthread): Add GLIBC_2.18.
2323 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2332 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2343 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2346 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2348 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2349 H.J. Lu <hjl.tools@gmail.com>
2352 * sysdeps/x86_64/rtld-memset.c: Remove file.
2353 * sysdeps/x86_64/rtld-memset.S: New file.
2355 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2357 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2358 (test_in_one_mode): Take arguments for whether the rounding mode
2359 is supported for each floating-point type.
2360 (do_test): Pass new arguments to test_in_one_mode using
2363 2013-06-13 Roland McGrath <roland@hack.frob.com>
2365 * posix/tst-waitid.c (do_test): Distinguish different instances of
2366 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2367 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2368 before entering the kernel for waitpid.
2370 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2372 * NEWS: Fix note on clock function precision. Text by Roland
2375 2013-06-13 Roland McGrath <roland@hack.frob.com>
2377 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2378 it into place only when and if the sanity check passes.
2380 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2382 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2383 output for whether conversion result is exact. Take argument
2384 indicating whether type is IBM long double.
2385 (round_for_all): Change need_exact field to ibm_ld.
2386 * stdlib/tst-strtod-round.c (struct exactness): New type.
2387 (struct test): Change bool ld_ok field to struct exactness exact.
2388 (TEST): Update all definitions for change to field.
2389 (tests): Regenerate array contents.
2390 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2391 field value. Check for IBM long double here.
2392 (do_test): Update calls to test_in_one_mode.
2394 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2397 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2398 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2400 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2403 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2404 generated by the compiler on loop optimizations.
2405 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2406 general definitions.
2408 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2410 * math/bug-nextafter.c: Include <math-tests.h>.
2411 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2413 * math/bug-nexttoward.c: Include <math-tests.h>.
2414 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2416 * math/test-misc.c: Include <math-tests.h>.
2417 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2420 2013-06-12 Andreas Jaeger <aj@suse.de>
2422 * po/ia.po: Update Interlingua translation from translation
2425 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2427 * include/fenv.h: Include stdbool.h.
2428 (struct rm_ctx): New structure.
2429 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2431 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2432 (SET_RESTORE_ROUNDF): Likewise.
2433 (SET_RESTORE_ROUNDL): Likewise.
2434 (SET_RESTORE_ROUND_NOEX): Likewise.
2435 (SET_RESTORE_ROUND_NOEXF): Likewise.
2436 (SET_RESTORE_ROUND_NOEXL): Likewise.
2437 (SET_RESTORE_ROUND_53BIT): Likewise.
2438 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2439 (libc_feresetround_noexf_ctx): Likewise.
2440 (libc_feresetround_noexl_ctx): Likewise.
2441 (libc_feholdsetround_53bit_ctx): Likewise.
2442 (libc_feresetround_53bit_ctx): Likewise.
2443 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2444 (libc_feholdexcept_setround_sse_ctx): New function.
2445 (libc_fesetenv_sse_ctx): Likewise.
2446 (libc_feupdateenv_sse_ctx): Likewise.
2447 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2448 (libc_feholdexcept_setround_387_ctx): Likewise.
2449 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2450 (libc_feholdsetround_387_prec_ctx): Likewise.
2451 (libc_feholdsetround_387_ctx): Likewise.
2452 (libc_feholdsetround_387_53bit_ctx): Likewise.
2453 (libc_feholdsetround_sse_ctx): Likewise.
2454 (libc_feresetround_sse_ctx): Likewise.
2455 (libc_feresetround_387_ctx): Likewise.
2456 (libc_feupdateenv_387_ctx): Likewise.
2457 (libc_feholdexcept_setroundf_ctx): Define macro.
2458 (libc_fesetenvf_ctx): Likewise.
2459 (libc_feupdateenvf_ctx): Likewise.
2460 (libc_feholdsetroundf_ctx): Likewise.
2461 (libc_feresetroundf_ctx): Likewise.
2462 (libc_feholdexcept_setround_ctx): Likewise.
2463 (libc_fesetenv_ctx): Likewise.
2464 (libc_feupdateenv_ctx): Likewise.
2465 (libc_feholdsetround_ctx): Likewise.
2466 (libc_feresetround_ctx): Likewise.
2467 (libc_feholdexcept_setroundl_ctx): Likewise.
2468 (libc_feupdateenvl_ctx): Likewise.
2469 (libc_feholdsetroundl_ctx): Likewise.
2470 (libc_feresetroundl_ctx): Likewise.
2471 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2472 (libc_feresetround_53bit_ctx): Likewise.
2474 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2476 * locale/iso-639.def: Convert to UTF-8.
2478 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2480 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2481 (EXCEPTION_TESTS_double): Likewise.
2482 (EXCEPTION_TESTS_long_double): Likewise.
2483 (EXCEPTION_TESTS): Likewise.
2484 * math/libm-test.inc (test_exceptions): Only test exceptions if
2485 EXCEPTION_TESTS (FLOAT).
2487 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2489 * benchtests/Makefile (string-bench): Add strcpy_chk and
2491 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2492 * benchtests/bench-stpcpy_chk.c: New file.
2493 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2494 * benchtests/bench-strcpy_chk.c: New file.
2495 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2497 (do_test): Likewise.
2499 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2501 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2502 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2503 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2504 with tabs where appropriate.
2505 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2507 [PPC_PLATFORM_PPC440]: Likewise.
2508 [PPC_PLATFORM_PPC464]: Likewise.
2509 [PPC_PLATFORM_PPC476]: Likewise.
2510 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2511 ppc464, and ppc476 platform strings merging from ports/
2514 2013-06-11 Andreas Schwab <schwab@suse.de>
2517 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2518 (from_ucs4_idx): Regenerate.
2519 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2520 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2521 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2522 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2523 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2524 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2525 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2526 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2527 from FROM_LOOP and TO_LOOP specific macros.
2528 (BODY): Handle combining characters.
2529 * iconvdata/BIG5HKSCS.irreversible: Update.
2530 * iconvdata/BIG5HKSCS.precomposed: New file.
2531 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2533 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2535 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2537 * include/sys/time.h: Fix indentation and add copyright header.
2539 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2540 (do_test): Likewise.
2541 * string/test-memchr.c (do_one_test): Likewise.
2542 (do_test): Likewise.
2543 * string/test-memcmp.c (do_one_test): Likewise.
2544 (do_test): Likewise.
2545 * string/test-memcpy.c (do_one_test): Likewise.
2546 (do_test): Likewise.
2547 * string/test-memmem.c (do_one_test): Likewise.
2548 (do_test): Likewise.
2549 (do_random_tests): Likewise.
2550 * string/test-memmove.c (do_one_test): Likewise.
2551 (do_test): Likewise.
2552 * string/test-memset.c (do_one_test): Likewise.
2553 (do_test): Likewise.
2554 * string/test-rawmemchr.c (do_one_test): Likewise.
2555 (do_test): Likewise.
2556 * string/test-strcasecmp.c (do_one_test): Likewise.
2557 (do_test): Likewise.
2558 * string/test-strcasestr.c (do_one_test): Likewise.
2559 (do_test): Likewise.
2560 * string/test-strcat.c (do_one_test): Likewise.
2561 (do_test): Likewise.
2562 * string/test-strchr.c (do_one_test): Likewise.
2563 (do_test): Likewise.
2564 * string/test-strcmp.c (do_one_test): Likewise.
2565 (do_test): Likewise.
2566 * string/test-strcpy.c (do_one_test): Likewise.
2567 (do_test): Likewise.
2568 * string/test-string.h: Likewise.
2569 (test_init): Likewise.
2570 * string/test-strlen.c (do_one_test): Likewise.
2571 (do_test): Likewise.
2572 * string/test-strncasecmp.c (do_one_test): Likewise.
2573 (do_test): Likewise.
2574 * string/test-strncat.c (do_one_test): Likewise.
2575 (do_test): Likewise.
2576 * string/test-strncmp.c (do_one_test): Likewise.
2577 (do_test_limit): Likewise.
2578 (do_test): Likewise.
2579 * string/test-strncpy.c (do_one_test): Likewise.
2580 (do_test): Likewise.
2581 * string/test-strnlen.c (do_one_test): Likewise.
2582 (do_test): Likewise.
2583 * string/test-strpbrk.c (do_one_test): Likewise.
2584 (do_test): Likewise.
2585 * string/test-strrchr.c (do_one_test): Likewise.
2586 (do_test): Likewise.
2587 * string/test-strspn.c (do_one_test): Likewise.
2588 (do_test): Likewise.
2589 * string/test-strstr.c (do_one_test): Likewise.
2590 (do_test): Likewise.
2592 * benchtests/Makefile (string-bench): Add string benchmarks.
2593 * benchtests/bench-bcopy-ifunc.c: New file.
2594 * benchtests/bench-bcopy.c: New file.
2595 * benchtests/bench-bzero-ifunc.c: New file.
2596 * benchtests/bench-bzero.c: New file.
2597 * benchtests/bench-memccpy-ifunc.c: New file.
2598 * benchtests/bench-memccpy.c: New file.
2599 * benchtests/bench-memchr-ifunc.c: New file.
2600 * benchtests/bench-memchr.c: New file.
2601 * benchtests/bench-memcmp-ifunc.c: New file.
2602 * benchtests/bench-memcmp.c: New file.
2603 * benchtests/bench-memmem-ifunc.c: New file.
2604 * benchtests/bench-memmem.c: New file.
2605 * benchtests/bench-memmove-ifunc.c: New file.
2606 * benchtests/bench-memmove.c: New file.
2607 * benchtests/bench-mempcpy-ifunc.c: New file.
2608 * benchtests/bench-mempcpy.c: New file.
2609 * benchtests/bench-memset-ifunc.c: New file.
2610 * benchtests/bench-memset.c: New file.
2611 * benchtests/bench-rawmemchr-ifunc.c: New file.
2612 * benchtests/bench-rawmemchr.c: New file.
2613 * benchtests/bench-stpcpy-ifunc.c: New file.
2614 * benchtests/bench-stpcpy.c: New file.
2615 * benchtests/bench-stpncpy-ifunc.c: New file.
2616 * benchtests/bench-stpncpy.c: New file.
2617 * benchtests/bench-strcasecmp-ifunc.c: New file.
2618 * benchtests/bench-strcasecmp.c: New file.
2619 * benchtests/bench-strcasestr-ifunc.c: New file.
2620 * benchtests/bench-strcasestr.c: New file.
2621 * benchtests/bench-strcat-ifunc.c: New file.
2622 * benchtests/bench-strcat.c: New file.
2623 * benchtests/bench-strchr-ifunc.c: New file.
2624 * benchtests/bench-strchr.c: New file.
2625 * benchtests/bench-strchrnul-ifunc.c: New file.
2626 * benchtests/bench-strchrnul.c: New file.
2627 * benchtests/bench-strcmp-ifunc.c: New file.
2628 * benchtests/bench-strcmp.c: New file.
2629 * benchtests/bench-strcpy-ifunc.c: New file.
2630 * benchtests/bench-strcpy.c: New file.
2631 * benchtests/bench-strcspn-ifunc.c: New file.
2632 * benchtests/bench-strcspn.c: New file.
2633 * benchtests/bench-strlen-ifunc.c: New file.
2634 * benchtests/bench-strlen.c: New file.
2635 * benchtests/bench-strncasecmp-ifunc.c: New file.
2636 * benchtests/bench-strncasecmp.c: New file.
2637 * benchtests/bench-strncat-ifunc.c: New file.
2638 * benchtests/bench-strncat.c: New file.
2639 * benchtests/bench-strncmp-ifunc.c: New file.
2640 * benchtests/bench-strncmp.c: New file.
2641 * benchtests/bench-strncpy-ifunc.c: New file.
2642 * benchtests/bench-strncpy.c: New file.
2643 * benchtests/bench-strnlen-ifunc.c: New file.
2644 * benchtests/bench-strnlen.c: New file.
2645 * benchtests/bench-strpbrk-ifunc.c: New file.
2646 * benchtests/bench-strpbrk.c: New file.
2647 * benchtests/bench-strrchr-ifunc.c: New file.
2648 * benchtests/bench-strrchr.c: New file.
2649 * benchtests/bench-strspn-ifunc.c: New file.
2650 * benchtests/bench-strspn.c: New file.
2651 * benchtests/bench-strstr-ifunc.c: New file.
2652 * benchtests/bench-strstr.c: New file.
2654 * benchtests/Makefile: Disable parallel execution of targets.
2655 (string-bench): Add memcpy.
2656 (benchset): New variable to store a list of benchmark sets.
2657 (bench-func): Renamed from bench.
2658 (bench-set): New target.
2659 (bench): Depend on bench-func and bench-set.
2660 * benchtests/README: Add section on benchmark sets.
2661 * benchtests/bench-memcpy-ifunc.c: New file.
2662 * benchtests/bench-memcpy.c: New file.
2663 * benchtests/bench-string.h: New file.
2665 2013-06-11 Andreas Schwab <schwab@suse.de>
2668 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2669 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2670 values in the triple.
2671 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2672 terminator in the group key.
2674 2013-06-11 Andreas Jaeger <aj@suse.de>
2676 * po/zh_TW.po: Update Chinese (traditional) translation from
2677 translation project.
2679 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2681 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2682 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2683 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2684 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2685 (clock_getcpuclockid): Likewise.
2686 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2687 Add weak_alias and libc_hidden_def.
2688 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2689 * rt/clock_gettime.c (clock_gettime): Rename to
2690 __clock_gettime. Add weak_alias and libc_hidden_def.
2691 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2692 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2693 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2694 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2695 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2697 * rt/clock_settime.c (clock_settime): Rename to
2698 __clock_settime. Add weak_alias and libc_hidden_def.
2699 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2701 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2703 * mach/err_boot.sub: Remove trailing whitespace.
2704 * mach/err_ipc.sub: Likewise.
2705 * mach/err_mach.sub: Likewise.
2707 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2708 (ROUNDING_TESTS_double): Likewise.
2709 (ROUNDING_TESTS_long_double): Likewise.
2710 (ROUNDING_TESTS): Likewise.
2711 * math/libm-test.inc: Include <math-tests.h>.
2712 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2713 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2714 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2715 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2717 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2719 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2722 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2724 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2725 otherwise empty TRANS lines.
2726 * sysdeps/gnu/errlist.c: Regenerated.
2728 * catgets/gencat.c (error_print): Use (void) in function
2730 * crypt/crypt_util.c (__init_des): Likewise.
2731 * crypt/speeds.c (Stop): Likewise.
2733 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2734 * inet/ruserpass.c (token): Likewise.
2735 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2736 * intl/localealias.c (extend_alias_table): Likewise.
2737 * intl/plural-exp.c (init_germanic_plural): Likewise.
2738 * libio/fcloseall.c (__fcloseall): Likewise.
2739 * libio/genops.c (_IO_flush_all): Likewise.
2740 (_IO_flush_all_linebuffered): Likewise.
2741 (_IO_cleanup): Likewise.
2742 (_IO_iter_begin): Likewise.
2743 (_IO_iter_end): Likewise.
2744 (_IO_list_lock): Likewise.
2745 (_IO_list_unlock): Likewise.
2746 (_IO_list_resetlock): Likewise.
2747 * libio/getchar.c (getchar): Likewise.
2748 * libio/getchar_u.c (getchar_unlocked): Likewise.
2749 * libio/getwchar.c (getwchar): Likewise.
2750 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2751 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2752 * login/getpt.c (__getpt): Likewise.
2753 * login/tst-utmp.c (main): Likewise.
2754 * malloc/hooks.c (__malloc_check_init): Likewise.
2755 * malloc/malloc.c (__malloc_stats): Likewise.
2756 * malloc/mtrace.c (tr_break): Likewise.
2758 (muntrace): Likewise.
2759 * misc/fstab.c (endfsent): Likewise.
2760 * misc/getclktck.c (__getclktck): Likewise.
2761 * misc/getdtsz.c (__getdtablesize): Likewise.
2762 * misc/gethostid.c (gethostid): Likewise.
2763 * misc/getpagesize.c (__getpagesize): Likewise.
2764 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2765 (__get_nprocs): Likewise.
2766 (__get_phys_pages): Likewise.
2767 (__get_avphys_pages): Likewise.
2768 * misc/getttyent.c (getttyent): Likewise.
2769 (setttyent): Likewise.
2770 (endttyent): Likewise.
2771 * misc/getusershell.c (getusershell): Likewise.
2772 (endusershell): Likewise.
2773 (setusershell): Likewise.
2774 (initshells): Likewise.
2775 * misc/hsearch.c (__hdestroy): Likewise.
2776 * misc/sync.c (sync): Likewise.
2777 * misc/syslog.c (closelog_internal): Likewise.
2778 (closelog): Likewise.
2779 * misc/ttyslot.c (ttyslot): Likewise.
2780 * misc/vhangup.c (vhangup): Likewise.
2781 * posix/fork.c (__fork): Likewise.
2782 * posix/getegid.c (__getegid): Likewise.
2783 * posix/geteuid.c (__geteuid): Likewise.
2784 * posix/getgid.c (__getgid): Likewise.
2785 * posix/getpid.c (__getpid): Likewise.
2786 * posix/getppid.c (__getppid): Likewise.
2787 * posix/getuid.c (__getuid): Likewise.
2788 * posix/pause.c (pause): Likewise.
2789 * posix/setpgrp.c (setpgrp): Likewise.
2790 * posix/setsid.c (__setsid): Likewise.
2791 * posix/test-vfork.c (noop): Likewise.
2792 * resolv/gethnamaddr.c (_endhtent): Likewise.
2793 (_gethtent): Likewise.
2794 (ht_endhostent): Likewise.
2795 (gethostent): Likewise.
2796 (dns_service): Likewise.
2797 * stdlib/drand48.c (drand48): Likewise.
2798 * stdlib/lrand48.c (lrand48): Likewise.
2799 * stdlib/mrand48.c (mrand48): Likewise.
2800 * stdlib/rand.c (rand): Likewise.
2801 * stdlib/random.c (__random): Likewise.
2802 * stdlib/setenv.c (clearenv): Likewise.
2803 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2804 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2805 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2806 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2807 (__get_nprocs): Likewise.
2808 (__get_phys_pages): Likewise.
2809 (__get_avphys_pages): Likewise.
2810 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2811 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2812 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2813 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2814 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2815 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2816 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2817 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2818 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2819 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2820 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2821 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2822 * sysdeps/posix/clock.c (clock): Likewise.
2823 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2824 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2825 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2826 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2827 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2828 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2829 (__get_nprocs_conf): Likewise.
2830 (__get_phys_pages): Likewise.
2831 (__get_avphys_pages): Likewise.
2832 * time/clock.c (clock): Likewise.
2833 * time/tzset.c (__tzname_max): Likewise.
2835 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2837 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2838 (__bswap_32): Do not use "register".
2839 * crypt/crypt.c (_ufc_doit_r): Likewise.
2840 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2841 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2842 * gmon/gmon.c (__monstartup): Likewise.
2843 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2844 * hurd/hurdmalloc.c (more_memory): Likewise.
2847 (realloc): Likewise.
2848 (malloc_fork_prepare): Likewise.
2849 (malloc_fork_parent): Likewise.
2850 (malloc_fork_child): Likewise.
2851 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2852 (_svcauth_des): Likewise.
2853 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2854 * inet/inet_net.c (inet_network): Likewise.
2855 * inet/inet_netof.c (inet_netof): Likewise.
2856 * inet/rcmd.c (__validuser2_sa): Likewise.
2857 * io/fts.c (fts_open): Likewise.
2858 (fts_load): Likewise.
2859 (fts_close): Likewise.
2860 (fts_read): Likewise.
2861 (fts_children): Likewise.
2862 (fts_build): Likewise.
2863 (fts_stat): Likewise.
2864 (fts_sort): Likewise.
2865 (fts_alloc): Likewise.
2866 (fts_lfree): Likewise.
2867 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2868 (_IO_file_xsgetn): Likewise.
2869 (_IO_file_xsgetn_mmap): Likewise.
2870 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2871 (_IO_cookie_write): Likewise.
2872 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2873 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2874 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2875 * malloc/obstack.c (_obstack_begin): Likewise.
2876 (_obstack_begin_1): Likewise.
2877 (_obstack_newchunk): Likewise.
2878 (_obstack_allocated_p): Likewise.
2879 (obstack_free): Likewise.
2880 (_obstack_memory_used): Likewise.
2881 * misc/getttyent.c (getttynam): Likewise.
2882 (getttyent): Likewise.
2885 * misc/getusershell.c (initshells): Likewise.
2886 * misc/syslog.c (__vsyslog_chk): Likewise.
2887 * misc/ttyslot.c (ttyslot): Likewise.
2888 * nis/nis_hash.c (__nis_hash): Likewise.
2889 * posix/fnmatch_loop.c (FCT): Likewise.
2890 * posix/getconf.c (print_all): Likewise.
2892 * posix/getopt.c (exchange): Likewise.
2893 * posix/glob.c (globfree): Likewise.
2894 (prefix_array): Likewise.
2895 (__glob_pattern_type): Likewise.
2896 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2897 (NS_GET32): Likewise.
2898 (NS_PUT16): Likewise.
2899 (NS_PUT32): Likewise.
2900 * resolv/gethnamaddr.c (getanswer): Likewise.
2901 (gethostbyname2): Likewise.
2902 (gethostbyaddr): Likewise.
2903 (_gethtent): Likewise.
2904 (_gethtbyname2): Likewise.
2905 (_gethtbyaddr): Likewise.
2906 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2907 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2908 * resolv/res_init.c (__res_vinit): Likewise.
2909 (net_mask): Likewise.
2910 * resolv/res_mkquery.c (outchar): Likewise.
2912 * stdio-common/printf_fp.c (outchar): Likewise.
2914 * stdio-common/printf_fphex.c (outchar): Likewise.
2916 * stdio-common/printf_size.c (outchar): Likewise.
2918 * stdio-common/test_rdwr.c (main): Likewise.
2919 * stdio-common/tfformat.c (matches): Likewise.
2920 * stdio-common/vfprintf.c (outchar): Likewise.
2921 (printf_unknown): Likewise.
2922 (buffered_vfprintf): Likewise.
2923 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2924 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2925 (ReadFile): Likewise.
2926 * stdlib/qsort.c (SWAP): Likewise.
2927 (_quicksort): Likewise.
2928 * stdlib/setenv.c (__add_to_environ): Likewise.
2929 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2930 * stdlib/strtol_l.c (__strtol_l): Likewise.
2931 * stdlib/tst-strtod.c (main): Likewise.
2932 * stdlib/tst-strtol.c (main): Likewise.
2933 * stdlib/tst-strtoll.c (main): Likewise.
2934 * string/bits/string2.h (__strcmp_cc): Likewise.
2935 (__strcmp_cg): Likewise.
2936 (__strcspn_c1): Likewise.
2937 (__strcspn_c2): Likewise.
2938 (__strcspn_c3): Likewise.
2939 (__strspn_c1): Likewise.
2940 (__strspn_c2): Likewise.
2941 (__strspn_c3): Likewise.
2942 (__strsep_1c): Likewise.
2943 (__strsep_2c): Likewise.
2944 (__strsep_3c): Likewise.
2945 * string/memccpy.c (__memccpy): Likewise.
2946 * string/stpcpy.c (__stpcpy): Likewise.
2947 * string/strcmp.c (strcmp): Likewise.
2948 * string/strrchr.c (strrchr): Likewise.
2949 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2951 * sysdeps/mach/hurd/getcwd.c
2952 (_hurd_canonicalize_directory_name_internal): Likewise.
2953 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2954 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2955 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2956 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2957 Likewise, in both definitions.
2958 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2960 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2961 64] (__bswap_64): Likewise.
2962 * time/test_time.c (main): Likewise.
2963 * time/tzfile.c (__tzfile_read): Likewise.
2964 (__tzfile_compute): Likewise.
2965 * time/tzset.c (__tzset_parse_tz): Likewise.
2966 (tzset_internal): Likewise.
2967 (compute_change): Likewise.
2968 * wcsmbs/wcscat.c (__wcscat): Likewise.
2969 * wcsmbs/wcschr.c (wcschr): Likewise.
2970 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2971 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2972 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2973 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2974 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2975 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2976 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2977 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2978 * wcsmbs/wmemset.c (wmemset): Likewise.
2980 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2982 * scripts/config.guess: Update to version 2013-05-16.
2983 * scripts/config.sub: Update to version 2013-04-24.
2984 * scripts/install-sh: Update to version 2011-11-20.07.
2985 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2986 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2988 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2990 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2991 * elf/sln.c: Likewise.
2992 * hurd/hurd/ioctl.h: Likewise.
2993 * hurd/hurdmalloc.c: Likewise.
2994 * hurd/xattr.c: Likewise.
2995 * include/shlib-compat.h: Likewise.
2996 * inet/ruserpass.c: Likewise.
2997 * libio/iofgets_u.c: Likewise.
2998 * libio/iofgetws_u.c: Likewise.
2999 * locale/programs/ld-identification.c: Likewise.
3000 * locale/programs/ld-time.c: Likewise.
3001 * mach/msg-destroy.c: Likewise.
3002 * nss/nss_files/files-netgrp.c: Likewise.
3003 * resolv/res_data.c: Likewise.
3004 * soft-fp/op-1.h: Likewise.
3005 * soft-fp/op-2.h: Likewise.
3006 * soft-fp/op-4.h: Likewise.
3007 * soft-fp/op-common.h: Likewise.
3008 * stdio-common/printf_fphex.c: Likewise.
3009 * stdlib/strtod_l.c: Likewise.
3010 * sunrpc/rpc/clnt.h: Likewise.
3011 * sysdeps/generic/framestate.c: Likewise.
3012 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3013 * sysdeps/i386/bsd-setjmp.S: Likewise.
3014 * sysdeps/i386/__longjmp.S: Likewise.
3015 * sysdeps/i386/setjmp.S: Likewise.
3016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3017 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3021 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3023 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3024 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3025 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3026 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3027 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3028 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3029 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3030 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3031 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3032 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3033 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3034 * sysdeps/ieee754/support.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3036 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3037 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3038 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3039 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3040 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3041 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3042 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3043 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3044 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3045 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3046 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3047 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3048 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3049 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3050 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3051 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3054 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
3056 * posix/transbug.c: Remove executable mode.
3058 2013-06-05 Joseph Myers <joseph@codesourcery.com>
3060 * crypt/speeds.c: Remove trailing whitespace.
3061 * dlfcn/default.c: Likewise.
3062 * elf/ifuncdep2.c: Likewise.
3063 * elf/ifuncmain1.c: Likewise.
3064 * elf/ifuncmain1vis.c: Likewise.
3065 * elf/testobj.h: Likewise.
3066 * elf/tst-stackguard1.c: Likewise.
3067 * gmon/sys/gmon.h: Likewise.
3068 * hurd/hurdmsg.c: Likewise.
3069 * hurd/new-fd.c: Likewise.
3070 * hurd/ports-get.c: Likewise.
3071 * iconvdata/ibm1008_420.c: Likewise.
3072 * inet/tst-getni1.c: Likewise.
3073 * inet/tst-getni2.c: Likewise.
3074 * libio/ioungetc.c: Likewise.
3075 * libio/wfiledoalloc.c: Likewise.
3076 * manual/libm-err-tab.pl: Likewise.
3077 * math/w_dremf.c: Likewise.
3078 * misc/ftruncate.c: Likewise.
3079 * posix/bug-glob2.c: Likewise.
3080 * posix/tst-pcre.c: Likewise.
3081 * posix/wait4.c: Likewise.
3082 * resolv/README: Likewise.
3083 * resolv/res_debug.h: Likewise.
3084 * resolv/tst-inet_ntop.c: Likewise.
3085 * setjmp/bug269-setjmp.c: Likewise.
3086 * soft-fp/extended.h: Likewise.
3087 * soft-fp/op-1.h: Likewise.
3088 * soft-fp/op-2.h: Likewise.
3089 * soft-fp/op-4.h: Likewise.
3090 * soft-fp/op-8.h: Likewise.
3091 * soft-fp/testit.c: Likewise.
3092 * stdio-common/bug16.c: Likewise.
3093 * stdlib/random.c: Likewise.
3094 * sunrpc/rpcsvc/rquota.x: Likewise.
3095 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3096 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3097 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3098 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3099 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3102 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3103 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3104 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3105 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3122 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3124 * sysdeps/ieee754/s_lib_version.c: Likewise.
3125 * sysdeps/mach/hurd/check_fds.c: Likewise.
3126 * sysdeps/mach/hurd/getsockname.c: Likewise.
3127 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3128 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3129 * sysdeps/powerpc/bits/link.h: Likewise.
3130 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3131 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3132 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3133 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3134 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3135 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3136 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3137 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3138 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3139 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3140 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3141 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3142 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3143 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3144 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3145 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3147 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3148 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3150 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3151 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3153 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3154 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3156 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3157 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3158 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3161 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3162 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3163 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3164 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3165 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3166 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3167 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3168 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3169 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3170 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3171 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3172 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3174 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3175 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3176 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3177 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3178 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3179 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3182 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3185 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3186 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3187 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3189 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3190 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3191 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3192 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3193 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3194 * sysdeps/powerpc/sysdep.h: Likewise.
3195 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3196 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3197 * sysdeps/sh/dl-trampoline.S: Likewise.
3198 * sysdeps/sh/memset.S: Likewise.
3199 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3200 * sysdeps/sh/strlen.S: Likewise.
3201 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3202 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3203 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3204 * sysdeps/sparc/sparc32/rem.S: Likewise.
3205 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3206 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3207 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3208 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3209 * sysdeps/sparc/sparc32/urem.S: Likewise.
3210 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3211 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3212 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3213 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3215 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3216 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3217 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3218 * sysdeps/unix/bsd/times.c: Likewise.
3219 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3220 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3224 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3225 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3226 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3227 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3228 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3229 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3230 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3231 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3232 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3233 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3234 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3235 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3236 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3237 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3238 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3239 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3240 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3241 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3242 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3243 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3244 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3245 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3246 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3247 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3248 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3249 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3250 * sysdeps/x86_64/strcspn.S: Likewise.
3252 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3254 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3255 generated file. Regenerate properly from gen-translit.pl.
3256 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3257 locale/C-translit.h.
3259 2013-06-05 Andreas Schwab <schwab@suse.de>
3262 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3263 week as 6 instead of -1.
3264 * time/tst-strptime.c (day_tests): Add test case.
3266 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3268 * sysdeps/generic/math_private.h
3269 (libc_feholdexcept_setround_53bit): Replace with
3270 libc_feholdsetround_53bit.
3271 (libc_feupdateenv_53bit): Replace with
3272 libc_feresetround_53bit.
3273 (SET_RESTORE_ROUND_53BIT): Adjust.
3275 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3277 * string/test-strchrnul.c: Add copyright header.
3279 * posix/tst-getaddrinfo4.c: Increase test timeout.
3281 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3284 * math/libm-test.inc (MAX_EXP): Remove
3286 (ulp): Use MIN_EXP - MANT_DIG.
3287 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3289 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3291 * po/be.po: Revert last change.
3292 * po/zh_CN.po: Likewise.
3293 * po/header.pot: Likewise.
3295 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3297 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3298 link-libc-deps to empty as target-specific variable.
3299 * Makerules (link-libc-args): New variable.
3300 (libc-for-link): Likewise.
3301 (link-libc-deps): Likewise.
3302 (lib%.so): Depend on $(link-libc-deps). Link with
3304 (build-module): Link with $(link-libc-args).
3305 (build-module-asneeded): Likewise.
3306 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3308 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3309 target-specific variable.
3310 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3311 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3312 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3314 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3316 ($(objpfx)libpcprofile.so): Likewise.
3317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3319 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3320 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3321 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3323 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3324 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3325 * login/Makefile ($(objpfx)libutil.so): Likewise.
3326 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3327 * math/Makefile ($(objpfx)libm.so): Likewise.
3328 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3329 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3330 variable instead of depending directly on libc.
3331 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3332 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3334 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3336 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3337 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3338 ($(objpfx)libanl.so): Likewise.
3339 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3341 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3343 * sysdeps/i386/fpu/Makefile: Remove file.
3344 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3345 ($(objpfx)libm.so): Remove dependency on ld.so.
3347 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3350 * nis/yp_xdr.c (XDRMAXNAME): Define.
3351 (XDRMAXRECORD): Define.
3352 (xdr_domainname): Use XDRMAXNAME.
3353 (xdr_mapname): Likewise.
3354 (xdr_peername): Likewise.
3355 (xdr_keydat): Use XDRMAXRECORD.
3356 (xdr_valdat): Likewise.
3358 2013-05-30 Jeff Law <law@redhat.com>
3361 * manual/errno.texi (ESTALE): Update to account for more than
3362 just NFS file systems.
3363 * sysdeps/gnu/errlist.c: Regenerated.
3365 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3368 * elf/Makefile (tests): Add tst-null-argv.
3369 (modules-names): Add tst-null-argv-lib.
3370 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3371 (tst-null-argv-ENV): Set environment for tst-null-argv.
3372 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3373 (RTLD_PROGNAME): New macro.
3374 * elf/tst-null-argv.c: New test case.
3375 * elf/tst-null-argv-lib.c: Library for test case.
3376 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3377 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3378 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3379 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3380 * elf/dl-init.c (call_init): Likewise.
3381 (_dl_init): Likewise.
3382 * elf/dl-load.c (print_search_path): Likewise.
3383 (_dl_map_object): Likewise.
3384 * elf/dl-lookup.c (do_lookup_x): Likewise.
3385 (add_dependency): Likewise.
3386 (_dl_lookup_symbol_x): Likewise.
3387 (_dl_debug_bindings): Likewise.
3388 * elf/dl-open.c (_dl_show_scope): Likewise.
3389 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3390 * elf/dl-version.c (match_symbol): Likewise.
3391 (_dl_check_map_versions): Likewise.
3392 * elf/rtld.c (dl_main): Likewise.
3393 (print_unresolved): Use RTLD_PROGNAME.
3394 (print_missing_version): Likewise.
3395 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3396 (elf_machine_rela): Likewise.
3397 * sysdeps/powerpc/powerpc32/dl-machine.c
3398 (__process_machine_rela): Likewise.
3399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3405 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3412 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3414 * po/be.po: Add descriptive title.
3415 * po/zh_CN.po: Likewise.
3416 * po/header.pot: Likewise.
3418 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3420 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3422 (enlarge_archive): Likewise.
3424 2013-05-28 Ben North <ben@redfrontdoor.org>
3426 * manual/arith.texi (frexp): It is the magnitude of the return
3427 value which lies in [0.5, 1), not the return value itself.
3429 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3433 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3435 * stdio-common/bug26.c (main): Correct fscanf template.
3437 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3438 declare _dl_skip_args.
3440 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3443 * manual/platform.texi: Add missing @end deftypefun.
3445 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3448 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3449 bit of mantissa of 2^16382.
3450 * math/libm-test.inc (hypot_test_data): Add more tests.
3452 * math/libm-test.inc: Add drem and pow10 to list of tested
3454 (pow10_test): New function.
3455 (drem_test): Likewise.
3456 (drem_test_tonearest): Likewise.
3457 (drem_test_towardzero): Likewise.
3458 (drem_test_downward): Likewise.
3459 (drem_test_upward): Likewise.
3460 (main): Call the new functions.
3462 * math/libm-test.inc (finite_test_data): Remove.
3463 (finite_test): Run tests from isfinite_test_data.
3464 (gamma_test_data): Remove.
3465 (gamma_test): Run tests from lgamma_test_data.
3466 * sysdeps/i386/fpu/libm-test-ulps: Update.
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3469 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3471 * manual/platform.texi: Add PowerPC PPR function set documentation.
3472 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3475 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3477 * math/libm-test.inc (MAX_EXP): Define.
3479 (ulp): New function.
3480 (check_float_internal): Use ULPDIFF.
3481 (cpow_test): Disable failing test.
3482 (check_ulp): Test ulp() implemetnation.
3483 (main): Call check_ulp before starting tests.
3485 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3487 * math/gen-libm-test.pl (generate_testfile): Do not handle
3488 START_DATA and END_DATA.
3489 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3491 (acos_tonearest_test_data): Likewise.
3492 (acos_towardzero_test_data): Likewise.
3493 (acos_downward_test_data): Likewise.
3494 (acos_upward_test_data): Likewise.
3495 (acosh_test_data): Likewise.
3496 (asin_test_data): Likewise.
3497 (asin_tonearest_test_data): Likewise.
3498 (asin_towardzero_test_data): Likewise.
3499 (asin_downward_test_data): Likewise.
3500 (asin_upward_test_data): Likewise.
3501 (asinh_test_data): Likewise.
3502 (atan_test_data): Likewise.
3503 (atanh_test_data): Likewise.
3504 (atan2_test_data): Likewise.
3505 (cabs_test_data): Likewise.
3506 (cacos_test_data): Likewise.
3507 (cacosh_test_data): Likewise.
3508 (carg_test_data): Likewise.
3509 (casin_test_data): Likewise.
3510 (casinh_test_data): Likewise.
3511 (catan_test_data): Likewise.
3512 (catanh_test_data): Likewise.
3513 (cbrt_test_data): Likewise.
3514 (ccos_test_data): Likewise.
3515 (ccosh_test_data): Likewise.
3516 (ceil_test_data): Likewise.
3517 (cexp_test_data): Likewise.
3518 (cimag_test_data): Likewise.
3519 (clog_test_data): Likewise.
3520 (clog10_test_data): Likewise.
3521 (conj_test_data): Likewise.
3522 (copysign_test_data): Likewise.
3523 (cos_test_data): Likewise.
3524 (cos_tonearest_test_data): Likewise.
3525 (cos_towardzero_test_data): Likewise.
3526 (cos_downward_test_data): Likewise.
3527 (cos_upward_test_data): Likewise.
3528 (cosh_test_data): Likewise.
3529 (cosh_tonearest_test_data): Likewise.
3530 (cosh_towardzero_test_data): Likewise.
3531 (cosh_downward_test_data): Likewise.
3532 (cosh_upward_test_data): Likewise.
3533 (cpow_test_data): Likewise.
3534 (cproj_test_data): Likewise.
3535 (creal_test_data): Likewise.
3536 (csin_test_data): Likewise.
3537 (csinh_test_data): Likewise.
3538 (csqrt_test_data): Likewise.
3539 (ctan_test_data): Likewise.
3540 (ctan_tonearest_test_data): Likewise.
3541 (ctan_towardzero_test_data): Likewise.
3542 (ctan_downward_test_data): Likewise.
3543 (ctan_upward_test_data): Likewise.
3544 (ctanh_test_data): Likewise.
3545 (ctanh_tonearest_test_data): Likewise.
3546 (ctanh_towardzero_test_data): Likewise.
3547 (ctanh_downward_test_data): Likewise.
3548 (ctanh_upward_test_data): Likewise.
3549 (erf_test_data): Likewise.
3550 (erfc_test_data): Likewise.
3551 (exp_test_data): Likewise.
3552 (exp_tonearest_test_data): Likewise.
3553 (exp_towardzero_test_data): Likewise.
3554 (exp_downward_test_data): Likewise.
3555 (exp_upward_test_data): Likewise.
3556 (exp10_test_data): Likewise.
3557 (exp2_test_data): Likewise.
3558 (expm1_test_data): Likewise.
3559 (fabs_test_data): Likewise.
3560 (fdim_test_data): Likewise.
3561 (finite_test_data): Likewise.
3562 (floor_test_data): Likewise.
3563 (fma_test_data): Likewise.
3564 (fma_towardzero_test_data): Likewise.
3565 (fma_downward_test_data): Likewise.
3566 (fma_upward_test_data): Likewise.
3567 (fmax_test_data): Likewise.
3568 (fmin_test_data): Likewise.
3569 (fmod_test_data): Likewise.
3570 (fpclassify_test_data): Likewise.
3571 (frexp_test_data): Likewise.
3572 (gamma_test_data): Likewise.
3573 (hypot_test_data): Likewise.
3574 (ilogb_test_data): Likewise.
3575 (isfinite_test_data): Likewise.
3576 (isgreater_test_data): Likewise.
3577 (isgreaterequal_test_data): Likewise.
3578 (isinf_test_data): Likewise.
3579 (isless_test_data): Likewise.
3580 (islessequal_test_data): Likewise.
3581 (islessgreater_test_data): Likewise.
3582 (isnan_test_data): Likewise.
3583 (isnormal_test_data): Likewise.
3584 (issignaling_test_data): Likewise.
3585 (isunordered_test_data): Likewise.
3586 (j0_test_data): Likewise.
3587 (j1_test_data): Likewise.
3588 (jn_test_data): Likewise.
3589 (ldexp_test_data): Likewise.
3590 (lgamma_test_data): Likewise.
3591 (lrint_test_data): Likewise.
3592 (lrint_tonearest_test_data): Likewise.
3593 (lrint_towardzero_test_data): Likewise.
3594 (lrint_downward_test_data): Likewise.
3595 (lrint_upward_test_data): Likewise.
3596 (llrint_test_data): Likewise.
3597 (llrint_tonearest_test_data): Likewise.
3598 (llrint_towardzero_test_data): Likewise.
3599 (llrint_downward_test_data): Likewise.
3600 (llrint_upward_test_data): Likewise.
3601 (log_test_data): Likewise.
3602 (log10_test_data): Likewise.
3603 (log1p_test_data): Likewise.
3604 (log2_test_data): Likewise.
3605 (logb_test_data): Likewise.
3606 (logb_downward_test_data): Likewise.
3607 (lround_test_data): Likewise.
3608 (llround_test_data): Likewise.
3609 (modf_test_data): Likewise.
3610 (nearbyint_test_data): Likewise.
3611 (nextafter_test_data): Likewise.
3612 (nexttoward_test_data): Likewise.
3613 (pow_test_data): Likewise.
3614 (pow_tonearest_test_data): Likewise.
3615 (pow_towardzero_test_data): Likewise.
3616 (pow_downward_test_data): Likewise.
3617 (pow_upward_test_data): Likewise.
3618 (remainder_test_data): Likewise.
3619 (remainder_tonearest_test_data): Likewise.
3620 (remainder_towardzero_test_data): Likewise.
3621 (remainder_downward_test_data): Likewise.
3622 (remainder_upward_test_data): Likewise.
3623 (remquo_test_data): Likewise.
3624 (rint_test_data): Likewise.
3625 (rint_tonearest_test_data): Likewise.
3626 (rint_towardzero_test_data): Likewise.
3627 (rint_downward_test_data): Likewise.
3628 (rint_upward_test_data): Likewise.
3629 (round_test_data): Likewise.
3630 (scalb_test_data): Likewise.
3631 (scalbn_test_data): Likewise.
3632 (scalbln_test_data): Likewise.
3633 (signbit_test_data): Likewise.
3634 (sin_test_data): Likewise.
3635 (sin_tonearest_test_data): Likewise.
3636 (sin_towardzero_test_data): Likewise.
3637 (sin_downward_test_data): Likewise.
3638 (sin_upward_test_data): Likewise.
3639 (sincos_test_data): Likewise.
3640 (sinh_test_data): Likewise.
3641 (sinh_tonearest_test_data): Likewise.
3642 (sinh_towardzero_test_data): Likewise.
3643 (sinh_downward_test_data): Likewise.
3644 (sinh_upward_test_data): Likewise.
3645 (sqrt_test_data): Likewise.
3646 (tan_test_data): Likewise.
3647 (tan_tonearest_test_data): Likewise.
3648 (tan_towardzero_test_data): Likewise.
3649 (tan_downward_test_data): Likewise.
3650 (tan_upward_test_data): Likewise.
3651 (tanh_test_data): Likewise.
3652 (tgamma_test_data): Likewise.
3653 (trunc_test_data): Likewise.
3654 (y0_test_data): Likewise.
3655 (y1_test_data): Likewise.
3656 (yn_test_data): Likewise.
3657 (significand_test_data): Likewise.
3659 * math/gen-libm-test.pl (@functions): Remove variable.
3660 (generate_testfile): Don't handle START and END lines.
3661 * math/libm-test.inc (START): New macro.
3663 (END_COMPLEX): Likewise.
3664 (acos_test): Use END macro without arguments.
3665 (acos_test_tonearest): Likewise.
3666 (acos_test_towardzero): Likewise.
3667 (acos_test_downward): Likewise.
3668 (acos_test_upward): Likewise.
3669 (acosh_test): Likewise.
3670 (asin_test): Likewise.
3671 (asin_test_tonearest): Likewise.
3672 (asin_test_towardzero): Likewise.
3673 (asin_test_downward): Likewise.
3674 (asin_test_upward): Likewise.
3675 (asinh_test): Likewise.
3676 (atan_test): Likewise.
3677 (atanh_test): Likewise.
3678 (atan2_test): Likewise.
3679 (cabs_test): Likewise.
3680 (cacos_test): Use END_COMPLEX macro without arguments.
3681 (cacosh_test): Likewise.
3682 (carg_test): Use END macro without arguments.
3683 (casin_test): Use END_COMPLEX macro without arguments.
3684 (casinh_test): Likewise.
3685 (catan_test): Likewise.
3686 (catanh_test): Likewise.
3687 (cbrt_test): Use END macro without arguments.
3688 (ccos_test): Use END_COMPLEX macro without arguments.
3689 (ccosh_test): Likewise.
3690 (ceil_test): Use END macro without arguments.
3691 (cexp_test): Use END_COMPLEX macro without arguments.
3692 (cimag_test): Use END macro without arguments.
3693 (clog_test): Use END_COMPLEX macro without arguments.
3694 (clog10_test): Likewise.
3695 (conj_test): Likewise.
3696 (copysign_test): Use END macro without arguments.
3697 (cos_test): Likewise.
3698 (cos_test_tonearest): Likewise.
3699 (cos_test_towardzero): Likewise.
3700 (cos_test_downward): Likewise.
3701 (cos_test_upward): Likewise.
3702 (cosh_test): Likewise.
3703 (cosh_test_tonearest): Likewise.
3704 (cosh_test_towardzero): Likewise.
3705 (cosh_test_downward): Likewise.
3706 (cosh_test_upward): Likewise.
3707 (cpow_test): Use END_COMPLEX macro without arguments.
3708 (cproj_test): Likewise.
3709 (creal_test): Use END macro without arguments.
3710 (csin_test): Use END_COMPLEX macro without arguments.
3711 (csinh_test): Likewise.
3712 (csqrt_test): Likewise.
3713 (ctan_test): Likewise.
3714 (ctan_test_tonearest): Likewise.
3715 (ctan_test_towardzero): Likewise.
3716 (ctan_test_downward): Likewise.
3717 (ctan_test_upward): Likewise.
3718 (ctanh_test): Likewise.
3719 (ctanh_test_tonearest): Likewise.
3720 (ctanh_test_towardzero): Likewise.
3721 (ctanh_test_downward): Likewise.
3722 (ctanh_test_upward): Likewise.
3723 (erf_test): Use END macro without arguments.
3724 (erfc_test): Likewise.
3725 (exp_test): Likewise.
3726 (exp_test_tonearest): Likewise.
3727 (exp_test_towardzero): Likewise.
3728 (exp_test_downward): Likewise.
3729 (exp_test_upward): Likewise.
3730 (exp10_test): Likewise.
3731 (exp2_test): Likewise.
3732 (expm1_test): Likewise.
3733 (fabs_test): Likewise.
3734 (fdim_test): Likewise.
3735 (finite_test): Likewise.
3736 (floor_test): Likewise.
3737 (fma_test): Likewise.
3738 (fma_test_towardzero): Likewise.
3739 (fma_test_downward): Likewise.
3740 (fma_test_upward): Likewise.
3741 (fmax_test): Likewise.
3742 (fmin_test): Likewise.
3743 (fmod_test): Likewise.
3744 (fpclassify_test): Likewise.
3745 (frexp_test): Likewise.
3746 (gamma_test): Likewise.
3747 (hypot_test): Likewise.
3748 (ilogb_test): Likewise.
3749 (isfinite_test): Likewise.
3750 (isgreater_test): Likewise.
3751 (isgreaterequal_test): Likewise.
3752 (isinf_test): Likewise.
3753 (isless_test): Likewise.
3754 (islessequal_test): Likewise.
3755 (islessgreater_test): Likewise.
3756 (isnan_test): Likewise.
3757 (isnormal_test): Likewise.
3758 (issignaling_test): Likewise.
3759 (isunordered_test): Likewise.
3760 (j0_test): Likewise.
3761 (j1_test): Likewise.
3762 (jn_test): Likewise.
3763 (ldexp_test): Likewise.
3764 (lgamma_test): Likewise.
3765 (lrint_test): Likewise.
3766 (lrint_test_tonearest): Likewise.
3767 (lrint_test_towardzero): Likewise.
3768 (lrint_test_downward): Likewise.
3769 (lrint_test_upward): Likewise.
3770 (llrint_test): Likewise.
3771 (llrint_test_tonearest): Likewise.
3772 (llrint_test_towardzero): Likewise.
3773 (llrint_test_downward): Likewise.
3774 (llrint_test_upward): Likewise.
3775 (log_test): Likewise.
3776 (log10_test): Likewise.
3777 (log1p_test): Likewise.
3778 (log2_test): Likewise.
3779 (logb_test): Likewise.
3780 (logb_test_downward): Likewise.
3781 (lround_test): Likewise.
3782 (llround_test): Likewise.
3783 (modf_test): Likewise.
3784 (nearbyint_test): Likewise.
3785 (nextafter_test): Likewise.
3786 (nexttoward_test): Likewise.
3787 (pow_test): Likewise.
3788 (pow_test_tonearest): Likewise.
3789 (pow_test_towardzero): Likewise.
3790 (pow_test_downward): Likewise.
3791 (pow_test_upward): Likewise.
3792 (remainder_test): Likewise.
3793 (remainder_test_tonearest): Likewise.
3794 (remainder_test_towardzero): Likewise.
3795 (remainder_test_downward): Likewise.
3796 (remainder_test_upward): Likewise.
3797 (remquo_test): Likewise.
3798 (rint_test): Likewise.
3799 (rint_test_tonearest): Likewise.
3800 (rint_test_towardzero): Likewise.
3801 (rint_test_downward): Likewise.
3802 (rint_test_upward): Likewise.
3803 (round_test): Likewise.
3804 (scalb_test): Likewise.
3805 (scalbn_test): Likewise.
3806 (scalbln_test): Likewise.
3807 (signbit_test): Likewise.
3808 (sin_test): Likewise.
3809 (sin_test_tonearest): Likewise.
3810 (sin_test_towardzero): Likewise.
3811 (sin_test_downward): Likewise.
3812 (sin_test_upward): Likewise.
3813 (sincos_test): Likewise.
3814 (sinh_test): Likewise.
3815 (sinh_test_tonearest): Likewise.
3816 (sinh_test_towardzero): Likewise.
3817 (sinh_test_downward): Likewise.
3818 (sinh_test_upward): Likewise.
3819 (sqrt_test): Likewise.
3820 (tan_test): Likewise.
3821 (tan_test_tonearest): Likewise.
3822 (tan_test_towardzero): Likewise.
3823 (tan_test_downward): Likewise.
3824 (tan_test_upward): Likewise.
3825 (tanh_test): Likewise.
3826 (tgamma_test): Likewise.
3827 (trunc_test): Likewise.
3828 (y0_test): Likewise.
3829 (y1_test): Likewise.
3830 (yn_test): Likewise.
3831 (significand_test): Likewise.
3833 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3836 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3838 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3841 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3842 __ppc_mdoio and __ppc_mdoom.
3843 * manual/platform.texi: Document new functions __ppc_yield,
3844 __ppc_mdoio and __ppc_mdoom.
3846 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3848 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3849 (main): Mention "tls" pseudo-hwcap is legacy.
3850 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3852 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3854 * math/gen-libm-test.pl (parse_args): Output only string of
3855 arguments as text for test name, not full call or descriptions of
3856 tests for extra outputs.
3857 (generate_testfile): Do not pass function name to parse_args.
3858 Generate this_func variable from START.
3859 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3861 (struct test_ff_f_data): Likewise.
3862 (test_ff_f_data_nexttoward): Likewise.
3863 (struct test_fi_f_data): Likewise.
3864 (struct test_fl_f_data): Likewise.
3865 (struct test_if_f_data): Likewise.
3866 (struct test_fff_f_data): Likewise.
3867 (struct test_c_f_data): Likewise.
3868 (struct test_f_f1_data): Likewise. Remove field extra_name.
3869 (struct test_fF_f1_data): Likewise.
3870 (struct test_ffI_f1_data): Likewise.
3871 (struct test_c_c_data): Rename test_name field to arg_str.
3872 (struct test_cc_c_data): Likewise.
3873 (struct test_f_i_data): Likewise.
3874 (struct test_ff_i_data): Likewise.
3875 (struct test_f_l_data): Likewise.
3876 (struct test_f_L_data): Likewise.
3877 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3879 (COMMON_TEST_SETUP): New macro.
3880 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3881 (COMMON_TEST_CLEANUP): Likewise.
3882 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3883 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3885 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3886 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3888 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3889 (RUN_TEST_fff_f): Take argument string. Call new setup and
3891 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3892 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3894 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3895 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3897 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3898 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3900 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3901 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3903 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3904 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3906 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3907 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3909 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3910 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3912 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3913 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3915 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3916 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3918 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3919 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3921 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3922 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3924 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3925 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3927 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3928 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3930 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3931 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3933 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3934 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3936 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3938 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3940 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3941 to _sifields.sigfault.
3942 (si_addr_lsb): Define new macro.
3943 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3944 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3945 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3947 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3950 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3952 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3954 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3957 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3959 * math/gen-libm-test.pl (parse_args): Do not include expected
3960 result in test name.
3961 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3963 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3965 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3968 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3970 * benchtests/Makefile: Sort function entries.
3972 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3973 tanh, asinh, acosh, atanh.
3974 * benchtests/acos-inputs: New file.
3975 * benchtests/acosh-inputs: New file.
3976 * benchtests/asin-inputs: New file.
3977 * benchtests/asinh-inputs: New file.
3978 * benchtests/atanh-inputs: New file.
3979 * benchtests/cosh-inputs: New file.
3980 * benchtests/log-inputs: New file.
3981 * benchtests/sinh-inputs: New file.
3982 * benchtests/tanh-inputs: New file.
3984 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3987 * posix/tst-getaddrinfo4.c: New test.
3988 * posix/Makefile (tests): Add it.
3990 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3993 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3994 when no services were used.
3995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3996 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3998 2013-05-21 Andreas Schwab <schwab@suse.de>
4001 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4002 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4004 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4005 redundant variable declarations and reallocation of buffer when
4006 parsing as IPv6 address. Always set NSS status when called from
4007 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4008 buffer too small. Correct computation of needed size.
4009 * nss/Makefile (tests): Add test-digits-dots.
4010 * nss/test-digits-dots.c: New test.
4012 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4014 * benchtests/Makefile: Remove instructions for adding
4016 * benchtests/README: New file to explain how to execute and
4017 enhance the benchmark tests.
4019 2013-05-21 Andreas Schwab <schwab@suse.de>
4022 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4023 * setjmp/tst-sigsetjmp.c: New test.
4025 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4027 * sysdeps/x86_64/memset.S (memset): New implementation.
4028 (__bzero): Likewise.
4029 (__memset_tail): New function.
4031 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4033 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4034 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4035 __memcpy_sse2_unaligned ifunc selection.
4036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4037 Add memcpy-sse2-unaligned.S.
4038 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4039 Add: __memcpy_sse2_unaligned.
4041 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4044 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4045 math_force_eval before restoring floating-point envrionment.
4046 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4049 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4051 (__nearbyintl): Use math_force_eval before restoring
4052 floating-point environment.
4053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4055 * math/gen-libm-test.pl (special_functions): Remove.
4056 (parse_args): Don't handle TEST_extra. Handle functions with no
4058 * math/libm-test.inc (struct test_sincos_data): Replace with
4059 struct test_fFF_11_data.
4060 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4061 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4062 (sincos_test_data): Change element type to struct
4063 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4064 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4065 RUN_TEST_LOOP_sincos.
4066 * math/README.libm-test: Don't mention special handling of
4067 individual functions.
4068 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4070 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4071 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4072 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4075 * math/gen-libm-test.pl (get_variable): Remove function.
4076 (parse_args): Don't show pointer parameters to call in test
4077 names. Use "extra output N" in test names for extra outputs
4078 rather than naming variables.
4080 2013-05-18 Joseph Myers <joseph@codesourcery.com>
4083 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4084 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4085 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4087 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4089 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4092 * math/gen-libm-test.pl (@tests): Remove variable.
4094 (new_test): Remove function.
4095 (show_exceptions): New function.
4096 (special_functions): Use show_exceptions instead of new_test.
4097 (parse_args): Likewise.
4098 (generate_testfile): Pass only function name in generated call to
4099 print_max_error or print_complex_max_error.
4100 (get_ulps): Do not handle complex tests specially.
4101 (output_test): Rename to ...
4102 (get_all_ulps_for_test): ... this. Return a string rather than
4103 printing to a file. Require ulps to be present.
4104 (output_ulps): Generate arrays rather than #defines.
4105 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4106 (struct ulp_data): New type.
4107 (BUILD_COMPLEX_ULP): Remove macro.
4108 (compare_ulp_data): New function.
4109 (find_ulps): Likewise.
4110 (find_test_ulps): Likewise.
4111 (find_function_ulps): Likewise.
4112 (find_complex_function_ulps): Likewise.
4113 (print_max_error): Determine allowed ulps using
4115 (print_complex_max_error): Determine allowed ulps using
4116 find_complex_function_ulps.
4117 (check_float_internal): Determine max ulps using find_test_ulps.
4118 (check_float): Do not take max_ulp parameter. Update call to
4119 check_float_internal.
4120 (check_complex): Likewise.
4121 (check_int): Do not take max_ulp parameter.
4122 (check_long): Likewise.
4123 (check_bool): Likewise.
4124 (check_longlong): Likewise.
4125 (struct test_f_f_data): Remove max_ulp field.
4126 (struct test_ff_f_data): Likewise.
4127 (struct test_ff_f_data_nexttoward): Likewise.
4128 (struct test_fi_f_data): Likewise.
4129 (struct test_fl_f_data): Likewise.
4130 (struct test_if_f_data): Likewise.
4131 (struct test_fff_f_data): Likewise.
4132 (struct test_c_f_data): Likewise.
4133 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4134 (struct test_fF_f1_data): Likewise.
4135 (struct test_ffI_f1_data): Likewise.
4136 (struct test_c_c_data): Remove max_ulp field.
4137 (struct test_cc_c_data): Likewise.
4138 (struct test_f_i_data): Likewise.
4139 (struct test_ff_i_data): Likewise.
4140 (struct test_f_l_data): Likewise.
4141 (struct test_f_L_data): Likewise.
4142 (struct test_sincos_data): Likewise.
4143 (RUN_TEST_f_f): Do not handle ulps.
4144 (RUN_TEST_LOOP_f_f): Likewise.
4145 (RUN_TEST_2_f): Likewise.
4146 (RUN_TEST_LOOP_2_f): Likewise.
4147 (RUN_TEST_fff_f): Likewise.
4148 (RUN_TEST_LOOP_fff_f): Likewise.
4149 (RUN_TEST_c_f): Likewise.
4150 (RUN_TEST_LOOP_c_f): Likewise.
4151 (RUN_TEST_f_f1): Likewise.
4152 (RUN_TEST_LOOP_f_f1): Likewise.
4153 (RUN_TEST_fF_f1): Likewise.
4154 (RUN_TEST_LOOP_fF_f1): Likewise.
4155 (RUN_TEST_fI_f1): Likewise.
4156 (RUN_TEST_LOOP_fI_f1): Likewise.
4157 (RUN_TEST_ffI_f1): Likewise.
4158 (RUN_TEST_LOOP_ffI_f1): Likewise.
4159 (RUN_TEST_c_c): Likewise.
4160 (RUN_TEST_LOOP_c_c): Likewise.
4161 (RUN_TEST_cc_c): Likewise.
4162 (RUN_TEST_LOOP_cc_c): Likewise.
4163 (RUN_TEST_f_i): Likewise.
4164 (RUN_TEST_LOOP_f_i): Likewise.
4165 (RUN_TEST_f_i_tg): Likewise.
4166 (RUN_TEST_LOOP_f_i_tg): Likewise.
4167 (RUN_TEST_ff_i_tg): Likewise.
4168 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4169 (RUN_TEST_f_b): Likewise.
4170 (RUN_TEST_LOOP_f_b): Likewise.
4171 (RUN_TEST_f_b_tg): Likewise.
4172 (RUN_TEST_LOOP_f_b_tg): Likewise.
4173 (RUN_TEST_f_l): Likewise.
4174 (RUN_TEST_LOOP_f_l): Likewise.
4175 (RUN_TEST_f_L): Likewise.
4176 (RUN_TEST_LOOP_f_L): Likewise.
4177 (RUN_TEST_sincos): Likewise.
4178 (RUN_TEST_LOOP_sincos): Likewise.
4180 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4184 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4185 main case of finite arguments, set rounding mode to FE_TONEAREST
4186 and discard exceptions.
4187 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4189 (remainder_tonearest_test_data): New variable.
4190 (remainder_test_tonearest): New function.
4191 (remainder_towardzero_test_data): New variable.
4192 (remainder_test_towardzero): New function.
4193 (remainder_downward_test_data): New variable.
4194 (remainder_test_downward): New function.
4195 (remainder_upward_test_data): New variable.
4196 (remainder_test_upward): New function.
4197 (main): Call the new test functions.
4199 * math/libm-test.inc (struct test_f_f1_data): Remove field
4201 (struct test_fF_f1_data): Likewise.
4202 (struct test_ffI_f1_data): Likewise.
4203 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4204 based on value of EXTRA_EXPECTED.
4205 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4206 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4207 EXTRA_VAR based on value of EXTRA_EXPECTED.
4208 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4209 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4210 EXTRA_VAR based on value of EXTRA_EXPECTED.
4211 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4212 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4213 EXTRA_VAR based on value of EXTRA_EXPECTED.
4214 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4215 * math/gen-libm-test.pl (parse_args): Don't output initializers
4216 for extra output values.
4218 * math/libm-test.inc (check_int): Expect result to be exactly
4219 equal to expected value and do not handle ulps.
4220 (check_long): Likewise.
4221 (check_longlong): Likewise.
4223 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4225 (cimag_test_data): Likewise.
4226 (conj_test_data): Likewise.
4227 (copysign_test_data): Likewise.
4228 (cproj_test_data): Likewise.
4229 (creal_test_data): Likewise.
4230 (fabs_test_data): Likewise.
4231 (fdim_test_data): Likewise.
4232 (finite_test_data): Likewise.
4233 (floor_test_data): Likewise.
4234 (fmax_test_data): Likewise.
4235 (fmin_test_data): Likewise.
4236 (fmod_test_data): Likewise.
4237 (fpclassify_test_data): Likewise.
4238 (frexp_test_data): Likewise.
4239 (ilogb_test_data): Likewise.
4240 (isfinite_test_data): Likewise.
4241 (isgreater_test_data): Likewise.
4242 (isgreaterequal_test_data): Likewise.
4243 (isinf_test_data): Likewise.
4244 (isless_test_data): Likewise.
4245 (islessequal_test_data): Likewise.
4246 (islessgreater_test_data): Likewise.
4247 (isnan_test_data): Likewise.
4248 (isnormal_test_data): Likewise.
4249 (issignaling_test_data): Likewise.
4250 (isunordered_test_data): Likewise.
4251 (ldexp_test_data): Likewise.
4252 (lrint_test_data): Likewise.
4253 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4254 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4255 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4256 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4257 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4258 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4260 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4261 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4262 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4263 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4265 (lrint_downward_test_data): Test for "inexact" exceptions.
4266 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4267 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4268 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4270 (lrint_upward_test_data): Test for "inexact" exceptions.
4271 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4273 (llrint_test_data): Test for "inexact" exceptions.
4274 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4275 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4276 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4277 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4278 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4279 (llrint_downward_test_data): Test for "inexact" exceptions.
4280 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4281 (llrint_upward_test_data): Test for "inexact" exceptions.
4282 (logb_test_data): Likewise.
4283 (logb_downward_test_data): Likewise.
4284 (nextafter_test_data): Likewise.
4285 (nexttoward_test_data): Likewise.
4286 (remainder_test_data): Likewise.
4287 (remquo_test_data): Likewise.
4288 (scalbn_test_data): Likewise.
4289 (scalbln_test_data): Likewise.
4290 (signbit_test_data): Likewise.
4291 (sqrt_test_data): Likewise.
4292 (significand_test_data): Likewise.
4294 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4297 * benchtests/bench-modf.c (struct args): Mark arg0 as
4299 * scripts/bench.pl: Mark members of struct args as volatile.
4301 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4305 negative infinity on POWER6 or lower.
4306 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4308 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4311 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4312 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4313 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4314 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4315 (_FP_SETQNAN): New macro.
4316 (_FP_SETQNAN_SEMIRAW): Likewise.
4317 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4318 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4319 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4320 (FP_EXTEND): Use _FP_FRAC_SNANP.
4321 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4322 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4326 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4329 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4331 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4332 with DIVIDE_BY_ZERO_EXCEPTION.
4333 (gamma_test_data): Likewise.
4334 (lgamma_test_data): Likewise.
4335 (log_test_data): Likewise.
4336 (log10_test_data): Likewise.
4337 (log2_test_data): Likewise.
4338 (tgamma_test_data): Likewise.
4340 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4341 (acos_test_tonearest): Likewise.
4342 (acos_test_towardzero): Likewise.
4343 (acos_test_downward): Likewise.
4344 (acos_test_upward): Likewise.
4345 (acosh_test): Likewise.
4346 (asin_test): Likewise.
4347 (asin_test_tonearest): Likewise.
4348 (asin_test_towardzero): Likewise.
4349 (asin_test_downward): Likewise.
4350 (asin_test_upward): Likewise.
4351 (asinh_test): Likewise.
4352 (atan_test): Likewise.
4353 (atanh_test): Likewise.
4354 (atan2_test): Likewise.
4355 (cabs_test): Likewise.
4356 (cacos_test): Likewise.
4357 (cacosh_test): Likewise.
4358 (casin_test): Likewise.
4359 (casinh_test): Likewise.
4360 (catan_test): Likewise.
4361 (catanh_test): Likewise.
4362 (cbrt_test): Likewise.
4363 (ccos_test): Likewise.
4364 (ccosh_test): Likewise.
4365 (cexp_test): Likewise.
4366 (clog_test): Likewise.
4367 (clog10_test): Likewise.
4368 (cos_test): Likewise.
4369 (cos_test_tonearest): Likewise.
4370 (cos_test_towardzero): Likewise.
4371 (cos_test_downward): Likewise.
4372 (cos_test_upward): Likewise.
4373 (cosh_test): Likewise.
4374 (cosh_test_tonearest): Likewise.
4375 (cosh_test_towardzero): Likewise.
4376 (cosh_test_downward): Likewise.
4377 (cosh_test_upward): Likewise.
4378 (cpow_test): Likewise.
4379 (csin_test): Likewise.
4380 (csinh_test): Likewise.
4381 (csqrt_test): Likewise.
4382 (ctan_test): Likewise.
4383 (ctan_test_tonearest): Likewise.
4384 (ctan_test_towardzero): Likewise.
4385 (ctan_test_downward): Likewise.
4386 (ctan_test_upward): Likewise.
4387 (ctanh_test): Likewise.
4388 (ctanh_test_tonearest): Likewise.
4389 (ctanh_test_towardzero): Likewise.
4390 (ctanh_test_downward): Likewise.
4391 (ctanh_test_upward): Likewise.
4392 (erf_test): Likewise.
4393 (erfc_test): Likewise.
4394 (exp_test): Likewise.
4395 (exp_test_tonearest): Likewise.
4396 (exp_test_towardzero): Likewise.
4397 (exp_test_downward): Likewise.
4398 (exp_test_upward): Likewise.
4399 (exp10_test): Likewise.
4400 (exp2_test): Likewise.
4401 (expm1_test): Likewise.
4402 (fmod_test): Likewise.
4403 (gamma_test): Likewise.
4404 (hypot_test): Likewise.
4405 (j0_test): Likewise.
4406 (j1_test): Likewise.
4407 (jn_test): Likewise.
4408 (lgamma_test): Likewise.
4409 (log_test): Likewise.
4410 (log10_test): Likewise.
4411 (log1p_test): Likewise.
4412 (log2_test): Likewise.
4413 (logb_test_downward): Likewise.
4414 (pow_test): Likewise.
4415 (pow_test_tonearest): Likewise.
4416 (pow_test_towardzero): Likewise.
4417 (pow_test_downward): Likewise.
4418 (pow_test_upward): Likewise.
4419 (remainder_test): Likewise.
4420 (remquo_test): Likewise.
4421 (sin_test): Likewise.
4422 (sin_test_tonearest): Likewise.
4423 (sin_test_towardzero): Likewise.
4424 (sin_test_downward): Likewise.
4425 (sin_test_upward): Likewise.
4426 (sincos_test): Likewise.
4427 (sinh_test): Likewise.
4428 (sinh_test_tonearest): Likewise.
4429 (sinh_test_towardzero): Likewise.
4430 (sinh_test_downward): Likewise.
4431 (sinh_test_upward): Likewise.
4432 (sqrt_test): Likewise.
4433 (tan_test): Likewise.
4434 (tan_test_tonearest): Likewise.
4435 (tan_test_towardzero): Likewise.
4436 (tan_test_downward): Likewise.
4437 (tan_test_upward): Likewise.
4438 (tanh_test): Likewise.
4439 (tgamma_test): Likewise.
4440 (y0_test): Likewise.
4441 (y1_test): Likewise.
4442 (yn_test): Likewise.
4444 * math/gen-libm-test.pl (adjust_arg): Remove function.
4445 (special_function): Remove argument $in_func. Only handle
4446 generating output for tables of tests, not inside functions.
4447 (parse_args): Likewise.
4448 (generate_testfile): Remove variable $in_func. Update call to
4450 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4451 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4452 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4453 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4454 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4455 (MAX_VALUE_INIT): Rename macro to max_value.
4456 (MIN_VALUE_INIT): Rename macro to min_value.
4457 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4458 (plus_zero): Remove variable.
4459 (minus_zero): Likewise.
4460 (plus_infty): Likewise.
4461 (minus_infty): Likewise.
4462 (qnan_value): Likewise.
4463 (max_value): Likewise.
4464 (min_value): Likewise.
4465 (min_subnorm_value): Likewise.
4467 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4469 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4470 uint64_t or uint32_t usage.
4471 * crypt/sha256-block.c: Likewise.
4472 * crypt/sha256-crypt.c: Likewise.
4473 * crypt/sha256.c: Likewise.
4474 * crypt/sha512-block.c: Likewise.
4475 * crypt/sha512-crypt.c: Likewise.
4476 * crypt/sha512.c: Likewise.
4477 * debug/backtrace-tst.c: Likewise.
4478 * debug/pcprofiledump.c: Likewise.
4479 * elf/cache.c: Likewise.
4480 * elf/dl-cache.c: Likewise.
4481 * elf/dl-misc.c: Likewise.
4482 * elf/dl-profile.c: Likewise.
4483 * elf/dl-support.c: Likewise.
4484 * elf/ldconfig.c: Likewise.
4485 * elf/sprof.c: Likewise.
4486 * iconv/dummy-repertoire.c: Likewise.
4487 * iconv/iconv_charmap.c: Likewise.
4488 * iconv/skeleton.c: Likewise.
4489 * iconvdata/8bit-generic.c: Likewise.
4490 * iconvdata/cp737.h: Likewise.
4491 * iconvdata/cp775.h: Likewise.
4492 * iconvdata/ibm1008.h: Likewise.
4493 * iconvdata/ibm1025.h: Likewise.
4494 * iconvdata/ibm1046.h: Likewise.
4495 * iconvdata/ibm1097.h: Likewise.
4496 * iconvdata/ibm1112.h: Likewise.
4497 * iconvdata/ibm1122.h: Likewise.
4498 * iconvdata/ibm1123.h: Likewise.
4499 * iconvdata/ibm1124.h: Likewise.
4500 * iconvdata/ibm1129.h: Likewise.
4501 * iconvdata/ibm1130.h: Likewise.
4502 * iconvdata/ibm1132.h: Likewise.
4503 * iconvdata/ibm1133.h: Likewise.
4504 * iconvdata/ibm1137.h: Likewise.
4505 * iconvdata/ibm1140.h: Likewise.
4506 * iconvdata/ibm1141.h: Likewise.
4507 * iconvdata/ibm1142.h: Likewise.
4508 * iconvdata/ibm1143.h: Likewise.
4509 * iconvdata/ibm1144.h: Likewise.
4510 * iconvdata/ibm1145.h: Likewise.
4511 * iconvdata/ibm1146.h: Likewise.
4512 * iconvdata/ibm1147.h: Likewise.
4513 * iconvdata/ibm1148.h: Likewise.
4514 * iconvdata/ibm1149.h: Likewise.
4515 * iconvdata/ibm1153.h: Likewise.
4516 * iconvdata/ibm1154.h: Likewise.
4517 * iconvdata/ibm1155.h: Likewise.
4518 * iconvdata/ibm1156.h: Likewise.
4519 * iconvdata/ibm1157.h: Likewise.
4520 * iconvdata/ibm1158.h: Likewise.
4521 * iconvdata/ibm1160.h: Likewise.
4522 * iconvdata/ibm1161.h: Likewise.
4523 * iconvdata/ibm1162.h: Likewise.
4524 * iconvdata/ibm1163.h: Likewise.
4525 * iconvdata/ibm1164.h: Likewise.
4526 * iconvdata/ibm1166.h: Likewise.
4527 * iconvdata/ibm1167.h: Likewise.
4528 * iconvdata/ibm12712.h: Likewise.
4529 * iconvdata/ibm1390.h: Likewise.
4530 * iconvdata/ibm1399.h: Likewise.
4531 * iconvdata/ibm16804.h: Likewise.
4532 * iconvdata/ibm4517.h: Likewise.
4533 * iconvdata/ibm4899.h: Likewise.
4534 * iconvdata/ibm4909.h: Likewise.
4535 * iconvdata/ibm4971.h: Likewise.
4536 * iconvdata/ibm5347.h: Likewise.
4537 * iconvdata/ibm803.h: Likewise.
4538 * iconvdata/ibm856.h: Likewise.
4539 * iconvdata/ibm901.h: Likewise.
4540 * iconvdata/ibm902.h: Likewise.
4541 * iconvdata/ibm9030.h: Likewise.
4542 * iconvdata/ibm9066.h: Likewise.
4543 * iconvdata/ibm921.h: Likewise.
4544 * iconvdata/ibm922.h: Likewise.
4545 * iconvdata/ibm9448.h: Likewise.
4546 * iconvdata/isiri-3342.h: Likewise.
4547 * iconvdata/jis0201.h: Likewise.
4548 * include/link.h: Likewise.
4549 * include/netdb.h: Likewise.
4550 * inet/check_native.c: Likewise.
4551 * inet/check_pf.c: Likewise.
4552 * inet/getipv4sourcefilter.c: Likewise.
4553 * inet/getnameinfo.c: Likewise.
4554 * inet/getsourcefilter.c: Likewise.
4555 * inet/htonl.c: Likewise.
4556 * inet/setipv4sourcefilter.c: Likewise.
4557 * inet/setsourcefilter.c: Likewise.
4558 * inet/test-inet6_opt.c: Likewise.
4559 * inet/tst-network.c: Likewise.
4560 * locale/C-collate.c: Likewise.
4561 * locale/C-ctype.c: Likewise.
4562 * locale/C-time.c: Likewise.
4563 * locale/C-translit.h: Likewise.
4564 * locale/loadarchive.c: Likewise.
4565 * locale/programs/3level.h: Likewise.
4566 * locale/programs/charmap.c: Likewise.
4567 * locale/programs/charmap.h: Likewise.
4568 * locale/programs/ld-address.c: Likewise.
4569 * locale/programs/ld-collate.c: Likewise.
4570 * locale/programs/ld-ctype.c: Likewise.
4571 * locale/programs/ld-identification.c: Likewise.
4572 * locale/programs/ld-measurement.c: Likewise.
4573 * locale/programs/ld-messages.c: Likewise.
4574 * locale/programs/ld-monetary.c: Likewise.
4575 * locale/programs/ld-name.c: Likewise.
4576 * locale/programs/ld-numeric.c: Likewise.
4577 * locale/programs/ld-paper.c: Likewise.
4578 * locale/programs/ld-telephone.c: Likewise.
4579 * locale/programs/ld-time.c: Likewise.
4580 * locale/programs/linereader.c: Likewise.
4581 * locale/programs/locale.c: Likewise.
4582 * locale/programs/locarchive.c: Likewise.
4583 * locale/programs/locfile.h: Likewise.
4584 * locale/programs/repertoire.c: Likewise.
4585 * locale/programs/simple-hash.c: Likewise.
4586 * locale/programs/simple-hash.h: Likewise.
4587 * malloc/memusage.c: Likewise.
4588 * malloc/memusagestat.c: Likewise.
4589 * nis/nis_defaults.c: Likewise.
4590 * nis/nis_hash.c: Likewise.
4591 * nis/nis_print.c: Likewise.
4592 * nis/nis_xdr.c: Likewise.
4593 * nscd/connections.c: Likewise.
4594 * nscd/hstcache.c: Likewise.
4595 * nscd/nscd_gethst_r.c: Likewise.
4596 * nscd/nscd_getserv_r.c: Likewise.
4597 * nscd/nscd_helper.c: Likewise.
4598 * nscd/servicescache.c: Likewise.
4599 * nss/makedb.c: Likewise.
4600 * nss/nss_db/db-XXX.c: Likewise.
4601 * nss/nss_db/db-initgroups.c: Likewise.
4602 * nss/nss_db/db-netgrp.c: Likewise.
4603 * nss/nss_files/files-network.c: Likewise.
4604 * nss/nss_files/files-parse.c: Likewise.
4605 * posix/bug-regex5.c: Likewise.
4606 * posix/fnmatch_loop.c: Likewise.
4607 * posix/regcomp.c: Likewise.
4608 * posix/regexec.c: Likewise.
4609 * posix/tst-rfc3484-2.c: Likewise.
4610 * posix/tst-rfc3484-3.c: Likewise.
4611 * posix/tst-rfc3484.c: Likewise.
4612 * resolv/nss_dns/dns-canon.c: Likewise.
4613 * resolv/nss_dns/dns-network.c: Likewise.
4614 * resolv/res_init.c: Likewise.
4615 * resolv/res_mkquery.c: Likewise.
4616 * resolv/tst-aton.c: Likewise.
4617 * stdlib/cxa_atexit.c: Likewise.
4618 * stdlib/cxa_finalize.c: Likewise.
4619 * stdlib/gen-fpioconst.c: Likewise.
4620 * stdlib/strtol_l.c: Likewise.
4621 * string/tst-endian.c: Likewise.
4622 * sunrpc/auth_des.c: Likewise.
4623 * sunrpc/clnt_udp.c: Likewise.
4624 * sunrpc/rtime.c: Likewise.
4625 * sunrpc/svcauth_des.c: Likewise.
4626 * sunrpc/xdr.c: Likewise.
4627 * sunrpc/xdr_intXX_t.c: Likewise.
4628 * sunrpc/xdr_rec.c: Likewise.
4629 * sysdeps/generic/ldconfig.h: Likewise.
4630 * sysdeps/generic/ldsodefs.h: Likewise.
4631 * sysdeps/generic/memusage.h: Likewise.
4632 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4642 * sysdeps/posix/getaddrinfo.c: Likewise.
4643 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4644 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4645 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4646 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4647 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4648 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4649 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4650 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4651 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4653 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4654 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4655 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4656 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4658 * sysdeps/x86_64/dl-tls.h: Likewise.
4659 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4660 * time/alt_digit.c: Likewise.
4661 * time/era.c: Likewise.
4662 * wcsmbs/tst-c16c32-1.c: Likewise.
4664 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4666 * math/libm-test.inc (struct test_sincos_data): New type.
4667 (RUN_TEST_LOOP_sincos): New macro.
4668 (sincos_test_data): New variable.
4669 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4671 2013-05-16 Richard Henderson <rth@redhat.com>
4673 * math/atest-exp2.c (LIMB64): New macro.
4674 (CONSTSZ): New macro.
4675 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4677 (print_mpn_fp): ... to function scope.
4678 (read_mpn_hex): Remove.
4680 (exp2_mpn): Use mp_log2.
4681 (main): Use mp_exp1.
4683 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4685 * math/libm-test.inc: Remove comment about not testing "inexact"
4687 (INEXACT_EXCEPTION): New macro.
4688 (NO_INEXACT_EXCEPTION): Likewise.
4689 (INVALID_EXCEPTION_OK): Update value.
4690 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4691 (OVERFLOW_EXCEPTION_OK): Likewise.
4692 (UNDERFLOW_EXCEPTION_OK): Likewise.
4693 (IGNORE_ZERO_INF_SIGN): Likewise.
4694 (ERRNO_UNCHANGED): Likewise.
4695 (ERRNO_EDOM): Likewise.
4696 (ERRNO_ERANGE): Likewise.
4697 (test_exceptions): Handle testing "inexact" exceptions.
4698 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4699 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4700 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4701 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4703 (rint_towardzero_test_data): Likewise.
4704 (rint_downward_test_data): Likewise.
4705 (rint_upward_test_data): Likewise.
4707 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4708 with OVERFLOW_EXCEPTION.
4709 (exp10_test_data): Likewise.
4710 (exp2_test_data): Likewise.
4711 (expm1_test_data): Likewise.
4712 (lgamma_test_data): Likewise.
4713 (pow_test_data): Likewise.
4714 (tgamma_test_data): Likewise.
4715 (yn_test_data): Remove duplicate test of overflow.
4717 * math/libm-test.inc (struct test_cc_c_data): New type.
4718 (RUN_TEST_LOOP_cc_c): New macro.
4719 (cpow_test_data): New variable.
4720 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4722 * math/libm-test.inc (struct test_f_L_data): New type.
4723 (RUN_TEST_LOOP_f_L): New macro.
4724 (llrint_test_data): New variable.
4725 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4726 (llrint_tonearest_test_data): New variable.
4727 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4728 (llrint_towardzero_test_data): New variable.
4729 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4730 (llrint_downward_test_data): New variable.
4731 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4732 (llrint_upward_test_data): New variable.
4733 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4734 (llround_test_data): New variable.
4735 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4737 2013-05-13 Peter Collingbourne <pcc@google.com>
4739 * math/atest-exp2.c (get_log2): Remove const attribute.
4741 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4743 * math/libm-test.inc (struct test_f_l_data): New type.
4744 (RUN_TEST_LOOP_f_l): New macro.
4745 (lrint_test_data): New variable.
4746 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4747 (lrint_tonearest_test_data): New variable.
4748 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4749 (lrint_towardzero_test_data): New variable.
4750 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4751 (lrint_downward_test_data): New variable.
4752 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4753 (lrint_upward_test_data): New variable.
4754 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4755 (lround_test_data): New variable.
4756 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4758 2013-05-15 Peter Collingbourne <pcc@google.com>
4760 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4761 (EXTRACT_WORDS64) Use where appropriate.
4762 (INSERT_WORDS64) Likewise.
4764 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4765 constraints with x constraints.
4766 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4768 * malloc/obstack.c (_obstack_compat): Add initializer.
4770 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4773 si_trapno and add si_addr_lsb to _sifields.sigfault.
4774 (si_trapno): Remove macro.
4775 (si_addr_lsb): Define new macro.
4776 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4778 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4780 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4781 instead of TEST_f_l.
4782 (llrint_test_tonearest): Likewise.
4783 (llrint_test_towardzero): Likewise.
4784 (llrint_test_downward): Likewise.
4785 (llrint_test_upward): Likewise.
4786 (llround_test): Likewise.
4788 * math/libm-test.inc (struct test_f_i_data): Add comment.
4789 (RUN_TEST_LOOP_f_b): New macro.
4790 (RUN_TEST_LOOP_f_b_tg): Likewise.
4791 (finite_test_data): New variable.
4792 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4793 (isfinite_test_data): New variable.
4794 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4795 (isinf_test_data): New variable.
4796 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4797 (isnan_test_data): New variable.
4798 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4799 (isnormal_test_data): New variable.
4800 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4801 (issignaling_test_data): New variable.
4802 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4803 (signbit_test_data): New variable.
4804 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4806 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4807 with INVALID_EXCEPTION.
4808 (acosh_test_data): Likewise.
4809 (asin_test_data): Likewise.
4810 (atanh_test_data): Likewise.
4811 (fmod_test_data): Likewise.
4812 (log_test_data): Likewise.
4813 (log10_test_data): Likewise.
4814 (log2_test_data): Likewise.
4815 (pow_test_data): Likewise.
4816 (sqrt_test_data): Likewise.
4817 (y0_test_data): Likewise.
4818 (y1_test_data): Likewise.
4819 (yn_test_data): Likewise.
4821 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4824 * math/libm-test.inc (struct test_ff_i_data): New type.
4825 (RUN_TEST_LOOP_ff_i_tg): New macro.
4826 (isgreater_test_data): New variable.
4827 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4828 (isgreaterequal_test_data): New variable.
4829 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4830 (isless_test_data): New variable.
4831 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4832 (islessequal_test_data): New variable.
4833 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4834 (islessgreater_test_data): New variable.
4835 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4836 (isunordered_test_data): New variable.
4837 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4839 2013-05-14 David S. Miller <davem@davemloft.net>
4841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4843 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4845 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4847 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4849 (struct test_f_i_data): Change type of max_ulp to int.
4851 * math/libm-test.inc (test_ffI_f1_data): New type.
4852 (RUN_TEST_LOOP_ffI_f1): New macro.
4853 (remquo_test_data): New variable.
4854 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4856 * setjmp/tst-setjmp-fp.c: New file.
4857 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4858 (link-libm): New variable.
4859 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4861 * math/libm-test.inc (struct test_f_i_data): New type.
4862 (RUN_TEST_LOOP_f_i): New macro.
4863 (RUN_TEST_LOOP_f_i_tg): Likewise.
4864 (fpclassify_test_data): New variable.
4865 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4866 (ilogb_test_data): New variable.
4867 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4869 * math/libm-test.inc (scalbln_test): Correct function name in END
4872 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4873 (RUN_TEST_LOOP_fI_f1): New macro.
4874 (frexp_test_data): New variable.
4875 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4877 * math/libm-test.inc (struct test_fF_f1_data): New type.
4878 (RUN_TEST_LOOP_fF_f1): New macro.
4879 (modf_test_data): New variable.
4880 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4882 * math/libm-test.inc (struct test_f_f1_data): New type.
4883 (RUN_TEST_LOOP_f_f1): New macro.
4884 (gamma_test_data): New variable.
4885 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4886 (lgamma_test_data): New variable.
4887 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4889 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4891 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4892 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4893 (main): Comment "tls" pseudo-hwcap.
4895 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4897 * math/libm-test.inc (struct test_fl_f_data): New type.
4898 (RUN_TEST_LOOP_fl_f): New variable.
4899 (scalbln_test_data): New variable.
4900 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4902 * math/libm-test.inc (struct test_fi_f_data): New type.
4903 (RUN_TEST_LOOP_fi_f): New macro.
4904 (ldexp_test_data): New variable.
4905 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4906 (scalbn_test_data): New variable.
4907 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4909 * math/libm-test.inc (struct test_c_f_data): New type.
4910 (RUN_TEST_LOOP_c_f): New macro.
4911 (cabs_test_data): New variable.
4912 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4913 (carg_test_data): New variable.
4914 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4915 (cimag_test_data): New variable.
4916 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4917 (creal_test_data): New variable.
4918 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4920 * math/libm-test.inc (struct test_if_f_data): New type.
4921 (RUN_TEST_LOOP_if_f): New macro.
4922 (jn_test_data): New variable.
4923 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4924 (yn_test_data): New variable.
4925 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4927 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4929 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4931 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4932 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4934 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4936 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4937 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4938 (bench-deps): Add bench-timing.h.
4939 * benchtests-bench-skeleton.c: Include bench-timing.h.
4940 (main): Use TIMING_* macros instead of clock_gettime.
4941 * benchtests/bench-timing.h: New file.
4944 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4945 Renamed from _LIB_VERSION.
4946 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4948 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4950 * math/libm-test.inc (struct test_fff_f_data): New type.
4951 (RUN_TEST_LOOP_fff_f): New macro.
4952 (fma_test_data): New variable.
4953 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4954 (fma_towardzero_test_data): New variable.
4955 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4956 (fma_downward_test_data): New variable.
4957 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4958 (fma_upward_test_data): New variable.
4959 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4961 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4962 (struct test_c_c_data): New type.
4963 (RUN_TEST_LOOP_c_c): New macro.
4964 (cacos_test_data): New variable.
4965 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4966 (cacosh_test_data): New variable.
4967 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4968 (casin_test_data): New variable.
4969 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4970 (casinh_test_data): New variable.
4971 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4972 (catan_test_data): New variable.
4973 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4974 (catanh_test_data): New variable.
4975 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4976 (ccos_test_data): New variable.
4977 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4978 (ccosh_test_data): New variable.
4979 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4980 (cexp_test_data): New variable.
4981 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4982 (clog_test_data): New variable.
4983 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4984 (clog10_test_data): New variable.
4985 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4986 (conj_test_data): New variable.
4987 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4988 (cproj_test_data): New variable.
4989 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4990 (csin_test_data): New variable.
4991 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4992 (csinh_test_data): New variable.
4993 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4994 (csqrt_test_data): New variable.
4995 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4996 (ctan_test_data): New variable.
4997 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4998 (ctan_tonearest_test_data): New variable.
4999 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5000 (ctan_towardzero_test_data): New variable.
5001 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5002 (ctan_downward_test_data): New variable.
5003 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5004 (ctan_upward_test_data): New variable.
5005 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5006 (ctanh_test_data): New variable.
5007 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5008 (ctanh_tonearest_test_data): New variable.
5009 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5010 (ctanh_towardzero_test_data): New variable.
5011 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5012 (ctanh_downward_test_data): New variable.
5013 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5014 (ctanh_upward_test_data): New variable.
5015 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5016 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5019 * math/libm-test.inc (struct test_ff_f_data): New type.
5020 (struct test_ff_f_data_nexttoward): Likewise.
5021 (RUN_TEST_LOOP_2_f): New macro.
5022 (RUN_TEST_LOOP_ff_f): Likewise.
5023 (atan2_test_data): New variable.
5024 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5025 (copysign_test_data): New variable.
5026 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5027 (fdim_test_data): New variable.
5028 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5029 (fmax_test_data): New variable.
5030 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5031 (fmin_test_data): New variable.
5032 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5033 (fmod_test_data): New variable.
5034 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5035 (hypot_test_data): New variable.
5036 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5037 (nextafter_test_data): New variable.
5038 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5039 (nexttoward_test_data): New variable.
5040 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5041 (pow_test_data): New variable.
5042 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5043 (pow_tonearest_test_data): New variable.
5044 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5045 (pow_towardzero_test_data): New variable.
5046 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5047 (pow_downward_test_data): New variable.
5048 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5049 (pow_upward_test_data): New variable.
5050 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5051 (remainder_test_data): New variable.
5052 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5053 (scalb_test_data): New variable.
5054 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5055 * sysdeps/i386/fpu/libm-test-ulps: Update.
5057 2013-05-11 Joseph Myers <joseph@codesourcery.com>
5059 * math/libm-test.inc (fma_test): Use max_value instead of local
5061 (nextafter_test): Likewise.
5063 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5064 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5065 (acos_downward_test_data): New variable.
5066 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5067 (acos_upward_test_data): New variable.
5068 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5069 (acosh_test_data): New variable.
5070 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5071 (asin_test_data): New variable.
5072 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5073 (asin_tonearest_test_data): New variable.
5074 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5075 (asin_towardzero_test_data): New variable.
5076 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5077 (asin_downward_test_data): New variable.
5078 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5079 (asin_upward_test_data): New variable.
5080 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5081 (asinh_test_data): New variable.
5082 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5083 (atan_test_data): New variable.
5084 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5085 (atanh_test_data): New variable.
5086 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5087 (cbrt_test_data): New variable.
5088 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5089 (ceil_test_data): New variable.
5090 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5091 (cos_test_data): New variable.
5092 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5093 (cos_tonearest_test_data): New variable.
5094 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5095 (cos_towardzero_test_data): New variable.
5096 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5097 (cos_downward_test_data): New variable.
5098 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5099 (cos_upward_test_data): New variable.
5100 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5101 (cosh_test_data): New variable.
5102 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5103 (cosh_tonearest_test_data): New variable.
5104 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5105 (cosh_towardzero_test_data): New variable.
5106 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5107 (cosh_downward_test_data): New variable.
5108 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5109 (cosh_upward_test_data): New variable.
5110 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5111 (erf_test_data): New variable.
5112 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5113 (erfc_test_data): New variable.
5114 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5115 (exp_test_data): New variable.
5116 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5117 (exp_tonearest_test_data): New variable.
5118 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5119 (exp_towardzero_test_data): New variable.
5120 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5121 (exp_downward_test_data): New variable.
5122 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5123 (exp_upward_test_data): New variable.
5124 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5125 (exp10_test_data): New variable.
5126 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5127 (exp2_test_data): New variable.
5128 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5129 (expm1_test_data): New variable.
5130 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5131 (fabs_test_data): New variable.
5132 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5133 (floor_test_data): New variable.
5134 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5135 (j0_test_data): New variable.
5136 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5137 (j1_test_data): New variable.
5138 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5139 (log_test_data): New variable.
5140 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5141 (log10_test_data): New variable.
5142 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5143 (log1p_test_data): New variable.
5144 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5145 (log2_test_data): New variable.
5146 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5147 (logb_test_data): New variable.
5148 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5149 (logb_downward_test_data): New variable.
5150 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5151 (nearbyint_test_data): New variable.
5152 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5153 (rint_test_data): New variable.
5154 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5155 (rint_tonearest_test_data): New variable.
5156 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5157 (rint_towardzero_test_data): New variable.
5158 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5159 (rint_downward_test_data): New variable.
5160 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5161 (rint_upward_test_data): New variable.
5162 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5163 (round_test_data): New variable.
5164 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5165 (sin_test_data): New variable.
5166 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5167 (sin_tonearest_test_data): New variable.
5168 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5169 (sin_towardzero_test_data): New variable.
5170 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5171 (sin_downward_test_data): New variable.
5172 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5173 (sin_upward_test_data): New variable.
5174 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5175 (sinh_test_data): New variable.
5176 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5177 (sinh_tonearest_test_data): New variable.
5178 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5179 (sinh_towardzero_test_data): New variable.
5180 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5181 (sinh_downward_test_data): New variable.
5182 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5183 (sinh_upward_test_data): New variable.
5184 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5185 (sqrt_test_data): New variable.
5186 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5187 (tan_test_data): New variable.
5188 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5189 (tan_tonearest_test_data): New variable.
5190 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5191 (tan_towardzero_test_data): New variable.
5192 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5193 (tan_downward_test_data): New variable.
5194 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5195 (tan_upward_test_data): New variable.
5196 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5197 (tanh_test_data): New variable.
5198 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5199 (tgamma_test_data): New variable.
5200 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5201 (trunc_test_data): New variable.
5202 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5203 (y0_test_data): New variable.
5204 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5205 (y1_test_data): New variable.
5206 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5207 (significand_test_data): New variable.
5208 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5210 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5213 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5215 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5217 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5219 2013-05-10 Andreas Jaeger <aj@suse.de>
5222 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5223 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5225 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5227 * math/gen-libm-test.pl (adjust_arg): New function.
5228 (special_functions): Handle generating output in both functions
5230 (parse_args): Likewise.
5231 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5232 $in_func argument to parse_args.
5233 * math/libm-test.inc (struct test_f_f_data): New type.
5234 (IF_ROUND_INIT_): New macro.
5235 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5236 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5237 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5238 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5239 (ROUND_RESTORE_): Likewise.
5240 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5241 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5242 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5243 (ROUND_RESTORE_FE_UPWARD): Likewise.
5244 (RUN_TEST_LOOP_f_f): New macro.
5245 (acos_test_data): New variable.
5246 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5247 (acos_tonearest_test_data): New variable.
5248 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5250 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5252 * benchtests/bench-skeleton.c (startup): Fix coding style.
5254 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5257 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5258 negative infinity argument.
5259 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5260 negative infinity argument.
5261 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5262 negative infinity argument.
5263 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5266 2013-05-10 Florian Weimer <fweimer@redhat.com>
5268 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5269 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5270 * iconv/iconv_prog.c (main): Likewise.
5271 * locale/programs/charmap-dir.c (charmap_readdir)
5272 (fopen_uncompressed): Likewise.
5273 * locale/programs/locfile.c (siblings_uncached)
5274 (write_locale_data): Use lstat64 instead of lstat.
5275 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5278 2013-05-10 Andreas Jaeger <aj@suse.de>
5281 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5285 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5287 * elf/dl-close.c (_dl_close_worker): Add comments.
5289 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5294 (__ieee754_rem_pio2l): Update comments.
5297 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5299 (__ieee754_rem_pio2l): Update comments.
5301 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5302 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5304 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5307 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5308 (M_PI_34_LOG10El): Likewise.
5309 (M_PI2_LOG10El): Likewise.
5310 (M_PI4_LOG10El): Likewise.
5311 (M_PI_LOG10El): Likewise.
5313 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5317 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5319 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5320 (MINUS_ZERO_INIT): Likewise.
5321 (PLUS_INFTY_INIT): Likewise.
5322 (MINUS_INFTY_INIT): Likewise.
5323 (QNAN_VALUE_INIT): Likewise.
5324 (MAX_VALUE_INIT): Likewise.
5325 (MIN_VALUE_INIT): Likewise.
5326 (MIN_SUBNORM_VALUE_INIT): Likewise.
5327 (plus_zero): Initialize with PLUS_ZERO_INIT.
5328 (minus_zero): Initialize with MINUS_ZERO_INIT.
5329 (plus_infty): Initialize with PLUS_INFTY_INIT.
5330 (minus_infty): Initialize with MINUS_INFTY_INIT.
5331 (qnan_value): Initialize with QNAN_VALUE_INIT.
5332 (max_value): Initialize with MAX_VALUE_INIT.
5333 (min_value): Initialize with MIN_VALUE_INIT.
5334 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5336 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5337 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5338 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5339 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5341 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5342 (RUN_TEST_2_f): Likewise.
5343 (RUN_TEST_ff_f): Likewise.
5344 (RUN_TEST_fi_f): Likewise.
5345 (RUN_TEST_fl_f): Likewise.
5346 (RUN_TEST_fff_f): Likewise.
5347 (RUN_TEST_c_f): Likewise.
5348 (RUN_TEST_f_f1): Likewise.
5349 (RUN_TEST_fF_f1): Likewise.
5350 (RUN_TEST_fI_f1): Likewise.
5351 (RUN_TEST_ffI_f1): Likewise.
5352 (RUN_TEST_c_c): Likewise.
5353 (RUN_TEST_cc_c): Likewise.
5354 (RUN_TEST_f_i): Likewise.
5355 (RUN_TEST_f_i_tg): Likewise.
5356 (RUN_TEST_ff_i_tg): Likewise.
5357 (RUN_TEST_f_b): Likewise.
5358 (RUN_TEST_f_b_tg): Likewise.
5359 (RUN_TEST_f_l): Likewise.
5360 (RUN_TEST_f_L): Likewise.
5361 (RUN_TEST_sincos): Likewise.
5362 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5363 whether to show exceptions. Do not include ");\n" in return
5365 (special_functions): Output call to RUN_TEST_sincos instead of
5366 check_float calls. Update calls to new_test.
5367 (parse_args): Output call to single RUN_TEST_* macro instead of
5368 check_* calls and other assignments. Update calls to new_test.
5374 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5375 input to result for tgamma overflow.
5376 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5377 (gamma_coeff): New variable.
5378 (NCOEFF): New macro.
5379 (gamma_positive): New function.
5380 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5381 underflow here. Use gamma_positive instead of exp (lgamma) for
5383 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5384 (gamma_coeff): New variable.
5385 (NCOEFF): New macro.
5386 (gammaf_positive): New function.
5387 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5388 underflow here. Use gamma_positive instead of exp (lgamma) for
5390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5391 (gamma_coeff): New variable.
5392 (NCOEFF): New macro.
5393 (gammal_positive): New function.
5394 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5395 underflow here. Use gamma_positive instead of exp (lgamma) for
5397 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5398 (gamma_coeff): New variable.
5399 (NCOEFF): New macro.
5400 (gammal_positive): New function.
5401 (__ieee754_gammal_r): Handle positive infinity, overflow and
5402 underflow here. Handle NaN the same as positive infinity. Remove
5403 check x < 0xffffffff for negative integers. Use gamma_positive
5404 instead of exp (lgamma) for other arguments.
5405 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5406 (gamma_coeff): New variable.
5407 (NCOEFF): New macro.
5408 (gammal_positive): New function.
5409 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5410 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5414 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5415 * sysdeps/generic/math_private.h (__gamma_productf): New
5417 (__gamma_product): Likewise.
5418 (__gamma_productl): Likewise.
5419 * math/Makefile (libm-calls): Add gamma_product.
5420 * math/libm-test.inc (tgamma_test): Add more tests.
5421 * sysdeps/i386/fpu/libm-test-ulps: Update.
5422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5424 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5426 * benchtests/bench-skeleton.c (main): Preheat CPU.
5428 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5430 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5432 2013-05-07 Roland McGrath <roland@hack.frob.com>
5434 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5435 and _dl_skip_args_internal.
5437 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5439 * manual/message.texi (Message Translation): Talk about users.
5440 Message to key mapping impacts design.
5442 2013-05-06 Roland McGrath <roland@hack.frob.com>
5444 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5446 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5448 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5449 * sysdeps/wordsize-64/glob64.c: ... here.
5451 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5452 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5455 * debug/getlogin_r_chk.c: Moved to ...
5456 * login/getlogin_r_chk.c: ... here.
5457 * debug/Makefile (routines): Move getlogin_r_chk to ...
5458 * login/Makefile (routines): ... here.
5459 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5460 * login/Versions (libc: GLIBC_2.4): ... here.
5462 * io/poll.c (__poll): Renamed from poll.
5463 Add libc_hidden_def.
5464 (poll): Define as weak alias.
5466 * debug/ptsname_r_chk.c: Moved to ...
5467 * login/ptsname_r_chk.c: ... here.
5468 * debug/Makefile (routines): Move ptsname_r_chk to ...
5469 * login/Makefile (routines): ... here.
5470 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5471 * login/Versions (libc: GLIBC_2.4): ... here.
5473 * posix/getlogin.c: Moved to ...
5474 * login/getlogin.c: ... here.
5475 * posix/getlogin_r.c: Moved to ...
5476 * login/getlogin_r.c: ... here.
5477 * posix/getlogin_r.c: Moved to ...
5478 * login/getlogin_r.c: ... here.
5479 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5480 * login/Makefile (routines): ... here.
5481 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5482 * login/Versions (libc: GLIBC_2.0): ... here.
5484 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5485 (setrlimit): Define as weak alias.
5487 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5488 Call __ names for open, ftruncate, and close.
5489 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5490 (truncate): Define as weak alias.
5492 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5494 * math/gen-libm-test.pl (parse_args): Initialize x before each
5495 test of frexp, modf and remquo.
5497 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5500 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5504 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5506 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5508 2013-05-06 Roland McGrath <roland@hack.frob.com>
5510 * elf/dl-writev.h: New file.
5511 * elf/dl-misc.c: Include it.
5512 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5513 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5515 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5517 * math/libm-test.inc (noXFails): Remove variable.
5518 (noXPasses): Likewise.
5519 (BUILD_COMPLEX_INT): Remove macro.
5520 (print_screen): Remove xfail argument.
5521 (print_screen_max_error): Likewise.
5522 (update_stats): Likewise.
5523 (print_max_error): Likewise. Update calls to other affected
5525 (print_complex_max_error): Likewise.
5526 (test_single_exception): Update calls to print_screen.
5527 (test_single_errno): Likewise.
5528 (check_float_internal): Remove xfail argument. Update calls to
5529 other affected functions.
5530 (check_float): Likewise.
5531 (check_complex): Likewise.
5532 (check_int): Likewise.
5533 (check_long): Likewise.
5534 (check_bool): Likewise.
5535 (check_longlong): Likewise.
5536 (main): Don't print noXFails and noXPasses.
5537 * math/gen-libm-test.pl (top level): Don't mention expected
5538 failure handling in comment.
5539 (new_test): Don't handle expected failures.
5540 (parse_args): Don't mention expected failure handling in comment.
5541 (generate_testfile): Don't handle expected failures.
5542 (parse_ulps): Likewise.
5543 (print_ulps_file): Likewise.
5544 (get_failure): Remove function.
5545 (output_test): Don't handle expected failures.
5546 * make/README.libm-test: Don't mention expected failure handling.
5548 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5549 (minus_zero): Likewise.
5550 (plus_infty): Likewise.
5551 (minus_infty): Likewise.
5552 (qnan_value): Likewise.
5553 (max_value): Likewise.
5554 (min_value): Likewise.
5555 (min_subnorm_value): Likewise.
5556 (initialize): Do not initialize those variables dynamically.
5558 2013-05-03 Roland McGrath <roland@hack.frob.com>
5560 * io/open.c (__open_2): Moved to ...
5561 * io/open_2.c: ... this new file.
5562 * io/open64.c (__open64_2): Moved to ...
5563 * io/open64_2.c: ... this new file.
5564 * io/openat.c (__openat_2): Moved to ...
5565 * io/openat_2.c: ... this new file.
5566 * io/openat64.c (__openat64_2): Moved to ...
5567 * io/openat64_2.c: ... this new file.
5568 * io/Makefile (routines): Add them.
5569 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5570 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5571 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5572 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5573 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5574 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5575 (__openat64): Add hidden_ver.
5576 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5577 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5579 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5580 Separately conditionalize setting of GLRO(dl_sysinfo) so
5581 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5582 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5584 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5589 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5590 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5591 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5592 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5593 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5595 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5597 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5600 * math/libm-test.inc (hypot_test): Do not use
5601 IGNORE_ZERO_INF_SIGN.
5603 2013-05-03 Andreas Jaeger <aj@suse.de>
5605 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5607 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5608 (PF_MAX): Adjust for VSOCK change.
5610 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5614 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5617 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5618 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5619 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5621 2013-05-02 David S. Miller <davem@davemloft.net>
5623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5625 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5627 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5629 2013-05-01 Roland McGrath <roland@hack.frob.com>
5631 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5633 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5636 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5637 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5638 Use __attribute__ ((__gnu_inline__)).
5639 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5640 Don't use __attribute__ ((__gnu_inline__)).
5642 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5645 * math/s_catan.c (__catan): Handle small real or imaginary part of
5646 input specially to avoid spurious underflow.
5647 * math/s_catanf.c (__catanf): Likewise.
5648 * math/s_catanh.c (__catanh): Likewise.
5649 * math/s_catanhf.c (__catanhf): Likewise.
5650 * math/s_catanhl.c (__catanhl): Likewise.
5651 * math/s_catanl.c (__catanl): Likewise.
5652 * math/libm-test.inc (catan_test): Add more tests.
5653 (catanh_test): Likewise.
5654 * sysdeps/i386/fpu/libm-test-ulps: Update.
5655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5657 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5661 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5664 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5665 accurately for denominator in atan2.
5666 * math/s_catanf.c (__catanf): Likewise.
5667 * math/s_catanh.c (__catanh): Likewise.
5668 * math/s_catanhf.c (__catanhf): Likewise.
5669 * math/s_catanhl.c (__catanhl): Likewise.
5670 * math/s_catanl.c (__catanl): Likewise.
5671 * math/libm-test.inc (catan_test): Add more tests.
5672 (catanh_test): Likewise.
5673 * sysdeps/i386/fpu/libm-test-ulps: Update.
5674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5676 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5678 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5680 * benchtests/Makefile (bench): Remove slow benchmarks.
5681 * benchtests/atan-inputs: Add slow benchmark inputs.
5682 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5683 (BENCH_FUNC): Accept variant offset.
5685 * benchtests/bench-skeleton.c (main): Run benchmark for each
5687 * benchtests/cos-inputs: Add slow benchmark inputs.
5688 * benchtests/exp-inputs: Likewise.
5689 * benchtests/pow-inputs: Likewise.
5690 * benchtests/sin-inputs: Likewise.
5691 * benchtests/slowatan-inputs: Remove.
5692 * benchtests/slowatan.c: Remove.
5693 * benchtests/slowcos-inputs: Remove.
5694 * benchtests/slowcos.c: Remove.
5695 * benchtests/slowexp-inputs: Remove.
5696 * benchtests/slowexp.c: Remove.
5697 * benchtests/slowpow-inputs: Remove.
5698 * benchtests/slowpow.c: Remove.
5699 * benchtests/slowsin-inputs: Remove.
5700 * benchtests/slowsin.c: Remove.
5701 * benchtests/slowtan-inputs: Remove.
5702 * benchtests/slowtan.c: Remove.
5703 * benchtests/tan-inputs: Add slow benchmark inputs.
5704 * scripts/bench.pl: Parse comments and directives.
5706 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5708 ($(objpfx)bench-%.c): Remove *-ITER.
5709 * benchtests/bench-modf.c: Remove definition of ITER.
5710 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5711 (main): Loop for DURATION seconds instead of fixed number of
5713 * scripts/bench.pl: Don't expect iterations in parameters.
5715 2013-04-29 Roland McGrath <roland@hack.frob.com>
5717 * io/fchdir.c (__fchdir): Renamed from fchdir.
5718 (fchdir): Define as weak alias.
5720 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5722 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5723 (ERRNO_EDOM): Likewise.
5724 (ERRNO_ERANGE): Likewise.
5725 (noErrnoTests): New variable.
5726 (init_max_error): Set errno to 0.
5727 (test_single_errno): New function.
5728 (test_errno): Likewise.
5729 (check_float_internal): Call test_errno. Set errno to 0.
5730 (check_complex): Refer to errno tests in comment.
5731 (check_int): Call test_errno. Set errno to 0.
5732 (check_long): Likewise.
5733 (check_bool): Likewise.
5734 (check_longlong): Likewise.
5735 (cos_test): Use ERRNO_* flags for errno tests instead of
5737 (expm1_test): Likewise.
5738 (fmod_test): Likewise.
5739 (ilogb_test): Likewise.
5740 (lgamma_test): Likewise.
5741 (pow_test): Likewise.
5742 (remainder_test): Likewise.
5743 (sin_test): Likewise.
5744 (tan_test): Likewise.
5745 (yn_test): Likewise.
5746 (initialize): Set errno to 0.
5747 (main): Print number of errno tests.
5748 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5750 2013-04-29 Andreas Jaeger <aj@suse.de>
5753 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5757 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5758 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5762 * stdlib/random.c (__initstate): Return NULL if
5766 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5767 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5770 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5774 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5776 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5777 of individual tests.
5778 (casin_test): Likewise.
5779 (casinh_test): Likewise.
5781 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5784 * math/s_catan.c (__catan): Handle arguments with large real or
5785 imaginary part separately without squaring.
5786 * math/s_catanf.c (__catanf): Likewise.
5787 * math/s_catanh.c (__catanh): Likewise.
5788 * math/s_catanhf.c (__catanhf): Likewise.
5789 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5791 (__catanhl): Handle arguments with large real or imaginary part
5792 separately without squaring.
5793 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5795 (__catanl): Handle arguments with large real or imaginary part
5796 separately without squaring.
5797 * math/libm-test.inc (catan_test): Add more tests.
5798 (catanh_test): Likewise.
5799 * sysdeps/i386/fpu/libm-test-ulps: Update.
5800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5802 2013-04-27 Andreas Jaeger <aj@suse.de>
5805 * stdlib/stdlib.h: Update guards for qecvt.
5806 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5809 2013-04-27 Allan McRae <allan@archlinux.org>
5811 * sysdeps/i386/fpu/libm-test-ulps: Update.
5813 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5816 * math/s_catan.c: Include <float.h>.
5817 (__catan): Ensure underflow exception occurs for underflowed
5819 * math/s_catanf.c: Include <float.h>.
5820 (__catanf): Ensure underflow exception occurs for underflowed
5822 * math/s_catanh.c: Include <float.h>.
5823 (__catanh): Ensure underflow exception occurs for underflowed
5825 * math/s_catanhf.c: Include <float.h>.
5826 (__catanhf): Ensure underflow exception occurs for underflowed
5828 * math/s_catanhl.c: Include <float.h>.
5829 (__catanhl): Ensure underflow exception occurs for underflowed
5831 * math/s_catanl.c: Include <float.h>.
5832 (__catanl): Ensure underflow exception occurs for underflowed
5834 * math/libm-test.inc (catan_test): Add more tests.
5835 (catanh_test): Likewise.
5838 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5840 * math/s_ccoshf.c (__ccoshf): Likewise.
5841 * math/s_ccoshl.c (__ccoshl): Likewise.
5842 * math/s_csin.c (__csin): Likewise.
5843 * math/s_csinf.c (__csinf): Likewise.
5844 * math/s_csinh.c (__csinh): Likewise.
5845 * math/s_csinhf.c (__csinhf): Likewise.
5846 * math/s_csinhl.c (__csinhl): Likewise.
5847 * math/s_csinl.c (__csinl): Likewise.
5848 * math/libm-test.inc (ccos_test): Add more tests.
5849 (ccosh_test): Likewise.
5850 (csin_test): Likewise.
5851 (csinh_test): Likewise.
5853 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5855 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5856 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5857 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5858 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5859 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5860 powerpc/power5+/fpu folders.
5861 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5864 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5868 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5870 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5871 additions to variable.
5872 [$(config-machine) = x86_64] (modules-names): Likewise.
5873 ($(objpfx)tst-audit3): Remove dependency.
5874 ($(objpfx)tst-audit3.out): Likewise.
5875 ($(objpfx)tst-audit4): Likewise.
5876 ($(objpfx)tst-audit4.out): Likewise.
5877 ($(objpfx)tst-audit5): Likewise.
5878 ($(objpfx)tst-audit5.out): Likewise.
5879 ($(objpfx)tst-audit6): Likewise.
5880 ($(objpfx)tst-audit6.out): Likewise.
5881 ($(objpfx)tst-audit7): Likewise.
5882 ($(objpfx)tst-audit7.out): Likewise.
5883 (tst-audit3-ENV): Remove variable.
5884 (tst-audit4-ENV): Likewise.
5885 (tst-audit5-ENV): Likewise.
5886 (tst-audit6-ENV): Likewise.
5887 (tst-audit7-ENV): Likewise.
5888 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5889 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5890 addition to variable.
5891 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5892 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5893 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5894 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5895 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5896 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5897 tst-audit3, tst-audit4 and tst-audit5.
5898 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5899 tst-audit6 and tst-audit7.
5900 [$(subdir) = elf] (modules-names): Add audit modules for those
5902 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5903 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5904 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5905 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5906 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5907 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5908 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5909 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5910 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5911 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5912 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5913 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5914 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5915 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5916 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5917 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5919 [$(subdir) = elf && $(config-cflags-avx) = yes]
5920 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5921 [$(subdir) = elf && $(config-cflags-avx) = yes]
5922 (CFLAGS-tst-auditmod4a.c): Likewise.
5923 [$(subdir) = elf && $(config-cflags-avx) = yes]
5924 (CFLAGS-tst-auditmod4b.c): Likewise.
5925 [$(subdir) = elf && $(config-cflags-avx) = yes]
5926 (CFLAGS-tst-auditmod6b.c): Likewise.
5927 [$(subdir) = elf && $(config-cflags-avx) = yes]
5928 (CFLAGS-tst-auditmod6c.c): Likewise.
5929 [$(subdir) = elf && $(config-cflags-avx) = yes]
5930 (CFLAGS-tst-auditmod7b.c): Likewise.
5931 * elf/tst-audit3.c: Move to ...
5932 * sysdeps/x86_64/tst-audit3.c: ... here.
5933 * elf/tst-audit4.c: Move to ...
5934 * sysdeps/x86_64/tst-audit4.c: ... here.
5935 * elf/tst-audit5.c: Move to ...
5936 * sysdeps/x86_64/tst-audit5.c: ... here.
5937 * elf/tst-audit6.c: Move to ...
5938 * sysdeps/x86_64/tst-audit6.c: ... here.
5939 * elf/tst-audit7.c: Move to ...
5940 * sysdeps/x86_64/tst-audit7.c: ... here.
5941 * elf/tst-auditmod3a.c: Move to ...
5942 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5943 * elf/tst-auditmod3b.c: Move to ...
5944 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5945 * elf/tst-auditmod4a.c: Move to ...
5946 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5947 * elf/tst-auditmod4b.c: Move to ...
5948 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5949 * elf/tst-auditmod5a.c: Move to ...
5950 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5951 * elf/tst-auditmod5b.c: Move to ...
5952 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5953 * elf/tst-auditmod6a.c: Move to ...
5954 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5955 * elf/tst-auditmod6b.c: Move to ...
5956 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5957 * elf/tst-auditmod6c.c: Move to ...
5958 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5959 * elf/tst-auditmod7a.c: Move to ...
5960 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5961 * elf/tst-auditmod7b.c: Move to ...
5962 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5964 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5967 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5968 define unconditionally.
5969 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5970 define unconditionally.
5971 (INT8_C, INT16_C, etc.): Likewise.
5973 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5975 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5976 __ehdr_start with hidden visibility.
5978 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5980 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5982 * math/libm-test.inc (cos_test): Use accurate hex constants.
5983 (sincost_test): Likewise.
5985 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5987 * math/libm-test.inc (catan_test): Add more tests.
5988 (catanh_test): Likewise.
5990 * math/s_catanf.c (__catanf): Use suffixed floating-point
5992 * math/s_catanhf.c (__catanhf): Likewise.
5993 * math/s_catanhl.c (__catanhl): Likewise.
5994 * math/s_catanl.c (__catanl): Likewise.
5997 * math/s_catan.c (__catan): Calculate imaginary part of result
5998 with log1p not log unless computing log of number close to 0.
5999 * math/s_catanf.c (__catanf): Likewise.
6000 * math/s_catanl.c (__catanl): Likewise.
6001 * math/s_catanh.c (__catanh): Calculate real part of result with
6002 log1p not log unless computing log of number close to 0.
6003 * math/s_catanhf.c (__catanhf): Likewise.
6004 * math/s_catanhl.c (__catanhl): Likewise.
6005 * math/libm-test.inc (catan_test): Add more tests.
6006 (catanh_test): Likewise.
6007 * sysdeps/i386/fpu/libm-test-ulps: Update.
6008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6010 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6012 * benchtests/Makefile: Mention files in which fast and slow
6013 paths of math functions are implemented.
6015 2013-04-23 Roland McGrath <roland@hack.frob.com>
6017 * sysdeps/posix/timespec_get.c: New file.
6019 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6021 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6023 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6025 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6026 powerpc/power5/fpu folders.
6027 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6028 * benchtests/Makefile: Add modf testcase.
6029 * benchtests/bench-modf.c: New file: Benchmark test for mo
6031 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6034 * time/Makefile (tests): Add tst-strptime-whitespace.
6035 * time/strptime_l.c (get_number): Use ISSPACE.
6036 (__strptime_internal): Likewise.
6037 * time/tst-strptime-whitespace.c: New test case.
6039 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6041 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6043 (_nss_files_init): Set it here.
6045 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6047 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6048 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6051 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6053 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6055 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6060 2013-04-21 David S. Miller <davem@davemloft.net>
6062 * po/ru.po: Update Russion translation from translation project.
6064 2013-04-17 Adam Conrad <adconrad@0c3.net>
6066 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6069 2013-04-17 Carlos O'Donell <carlos@redhat.com>
6071 * configure.in: Remove i386 configure warning. Remove i386 case.
6072 * configure: Regenerate.
6073 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6074 Add example to error message.
6075 * sysdeps/i386/configure: Regenerate.
6077 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6079 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6081 * benchtests/cos-inputs: New file.
6082 * benchtests/slowcos-inputs: New file.
6083 * benchtests/slowcos.c: New file.
6084 * benchtests/slowtan-inputs: New file.
6085 * benchtests/slowtan.c: New file.
6086 * benchtests/tan-inputs: New file.
6088 2013-04-16 Roland McGrath <roland@hack.frob.com>
6090 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6093 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6095 * benchtests/Makefile: Include cppflags-iterator.mk to add
6096 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6098 * Makefile.in (bench-clean): New target.
6099 * benchtests/Makefile (bench-clean): Likewise.
6101 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6103 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6105 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6107 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6109 2013-04-15 Andreas Schwab <schwab@suse.de>
6111 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6113 * nscd/pwdcache.c (cache_addpw): Likewise.
6114 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6117 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6119 * benchtests/Makefile (bench): Write all output to
6120 bench-out.tmp together.
6122 2013-04-15 Andreas Schwab <schwab@suse.de>
6124 * nscd/nscd.c (main): Don't fork again after closing files.
6126 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6128 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6130 * benchtests/Rules (bench-deps): Collect dependencies into a
6131 single variable. Add Makefile to dependencies.
6132 ($(objpfx)bench-%.c): Depend on bench-deps.
6134 2013-04-12 Roland McGrath <roland@hack.frob.com>
6135 Xavier Roche <roche+kml2@exalead.com>
6138 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6139 just that it's a file descriptor.
6140 * manual/llio.texi (Synchronizing AIO Operations): Update description
6141 for EBADF error from aio_fsync.
6143 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6145 * Rules (bench): Move target definition...
6146 * benchtests/Makefile: ... here.
6148 2013-04-11 Carlos O'Donell <carlos@redhat.com>
6150 * math/libm-test.inc (cos_test): Fix PI/2 test.
6151 (sincos_test): Likewise.
6152 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6153 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6155 2013-04-11 Andreas Schwab <schwab@suse.de>
6158 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6159 accept exponent character only when digits were seen.
6160 * stdio-common/Makefile (tests): Add bug26.
6161 * stdio-common/bug26.c: New file.
6164 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6167 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6169 * Makeconfig (rtld-prefix): Define built linker prefix.
6170 * Rules (run-bench): Use it.
6171 * math/Makefile (run-regen-ulps): Likewise.
6173 * Rules (bench): Remove eval.
6175 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6176 Roland McGrath <roland@hack.frob.com>
6177 Ondrej Bilka <neleai@seznam.cz>
6180 * time/getdate.c: Include ctype.h and alloca.h.
6181 (__getdate_r): Trim leading and trailing spaces of input.
6182 * time/tst-getdate.c (tests): Add tests with leading and
6185 2013-04-08 Roland McGrath <roland@hack.frob.com>
6188 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6189 when computing value.
6191 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6193 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6194 Use testrun.sh to run libm tests.
6197 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6199 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6202 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6204 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6206 * Makefile.in (regen-ulps): New target.
6207 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6208 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6209 [ifneq (no,$(PERL)] (regen-ulps): New target.
6210 [ifeq (no,$(PERL)] (regen-ulps): New target.
6211 * math/libm-test.inc (ulps_file_name): Define.
6212 (output_dir): New variable.
6213 (options): Add "output-dir" option.
6214 (parse_opt): Handle 'o' case.
6215 (main): If output_dir is non-NULL use it as a prefix
6217 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6219 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6222 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6223 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6224 fail configure if __sync_val_compare_and_swap is not inlined.
6225 * sysdeps/i386/configure: Regenerate.
6226 * configure.in: Build for i686 when configured for i386.
6227 * configure: Regenerate.
6228 * README: Remove i386 reference.
6230 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6232 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6233 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6235 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6237 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6238 (lmsnanval): New variables.
6239 (F): Add conversion tests.
6240 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6241 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6243 * stdio-common/tstdiomisc.c (F): Properly collect individual
6247 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6248 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6249 Instead, use input NaN values or generate a qNaN by arithmetic
6250 operation. Also fix bugs to comply with the standard.
6251 * math/libm-test.inc (remainder_test): Add more tests.
6254 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6256 input NaN values or generate a qNaN by arithmetic operation.
6258 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6261 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6264 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6267 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6269 * math/s_cexpf.c (__cexpf): Likewise.
6270 * math/s_cexpl.c (__cexpl): Likewise.
6271 * math/libm-test.inc (cexp_test): Add more tests.
6273 2013-04-03 Andreas Schwab <schwab@suse.de>
6276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6277 order arrays from heap if bigger than alloca cutoff.
6279 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6281 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6282 (SNAN_TESTS_double): Refer to GCC PR56831.
6283 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6286 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6288 * Rules (bench): Move bench.out after the run is complete.
6290 * Rules (bench): Echo currently running benchmark.
6292 * benchtests/Makefile (bench): Add atan and slowatan.
6293 * benchtests/atan-inputs: New file.
6294 * benchtests/slowatan-inputs: New file.
6295 * benchtests/slowatan.c: New file.
6297 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6302 * sysdeps/unix/sysv/linux/kernel-features.h
6303 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6304 __ASSUME_XFS_RESTRICTED_CHOWN.
6305 * sysdeps/unix/sysv/linux/pathconf.c
6306 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6307 Save and restore errno.
6309 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6312 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6313 arguments using __kernel_casinh.
6314 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6315 arguments using __kernel_casinhf.
6316 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6317 arguments using __kernel_casinhl.
6318 * math/libm-test.inc (cacosh_test): Add more tests.
6319 * sysdeps/i386/fpu/libm-test-ulps: Update.
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6322 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6324 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6327 * bench/Makefile (bench): Add sin and slowsin.
6328 * benchtests/sin-inputs: New file.
6329 * benchtests/slowsin-inputs: New file.
6330 * benchtests/slowsin.c: New file.
6332 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6333 (bench): Add slowexp and slowpow.
6334 (exp-ITER): Increase iterations.
6335 (pow-ITER): Likewise.
6336 * benchtests/exp-inputs: Change input.
6337 * benchtests/pow-inputs: Likewise.
6338 * benchtests/slowexp-inputs: New file.
6339 * benchtests/slowexp.c: New file.
6340 * benchtests/slowpow-inputs: New file.
6341 * benchtests/slowpow.c: New file.
6343 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6347 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6348 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6349 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6350 * benchtests/Makefile: Add rint benchtest.
6351 * benchtests/rint-inputs: Input for rint benchtest.
6353 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6355 * Versions.def (libm): Add GLIBC_2.18.
6356 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6357 hidden libm prototypes.
6358 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6359 * math/Makefile (libm-calls): Add s_issignaling.
6360 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6361 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6362 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6364 * math/math.h [__USE_GNU] (issignaling): New macro.
6365 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6366 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6371 * manual/arith.texi (issignaling): New section.
6372 * manual/libm-err-tab.pl (@all_functions): Update comment.
6373 * math/gen-libm-test.pl (parse_args): Apply special handling for
6375 * math/libm-test.inc (print_float, issignaling_test): New
6377 (check_float_internal): Add issignaling checks.
6378 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6380 * sysdeps/powerpc/math-tests.h: New file.
6381 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6383 * math/test-snan.c (TEST_FUNC): Likewise.
6385 2013-03-30 David S. Miller <davem@davemloft.net>
6387 * po/de.po: Update from translation team.
6389 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6392 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6393 imaginary part less than 1.0 and real part less than 0.5
6395 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6396 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6397 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6398 (cacos_test): Add more tests.
6399 (casin_test): Likewise.
6400 (casinh_test): Likewise.
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6404 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6406 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6409 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6410 (__pow_mp): Replace ONE and MONE with their values.
6411 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6412 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6413 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6414 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6415 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6418 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6420 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6421 (__pow_mp): Replace ZERO and MZERO with their values.
6422 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6424 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6426 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6427 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6430 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6432 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6434 2013-03-28 Roland McGrath <roland@hack.frob.com>
6436 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6437 Declare with __attribute__ ((weak)).
6438 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6439 Call __call_tls_dtors only if it's not NULL.
6441 2013-03-28 Roland McGrath <roland@hack.frob.com>
6443 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6444 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6445 magic __ehdr_start linker symbol if it's defined.
6446 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6447 them up here if it was already done.
6449 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6450 (_dl_aux_init): Use const in cast when setting it.
6451 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6452 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6453 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6455 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6457 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6458 * csu/libc-tls.c: Nor here.
6459 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6461 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6462 (__libc_message): Never call vsyslog.
6464 2013-03-28 Alan Modra <amodra@gmail.com>
6466 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6468 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6471 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6478 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6481 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6482 Don't add gid passed as argument.
6484 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6486 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6489 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6490 imaginary part between 1.0 and 1.5 and real part less than 0.5
6492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6494 * math/libm-test.inc (cacos_test): Add more tests.
6495 (casin_test): Likewise.
6496 (casinh_test): Likewise.
6497 * sysdeps/i386/fpu/libm-test-ulps: Update.
6498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6500 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6502 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6506 (__dbl_mp): Likewise.
6507 (add_magnitudes): Likewise.
6508 (sub_magnitudes): Likewise.
6516 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6518 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6519 (__dubcos): Likewise.
6520 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6521 (__ieee754_acos): Likewise.
6522 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6523 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6525 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6528 (my_log2): Likewise.
6529 (checkint): Likewise.
6530 * sysdeps/ieee754/dbl-64/e_remainder.c
6531 (__ieee754_remainder): Likewise.
6532 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6535 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6537 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6538 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6539 MANTISSA_STORE_T to store computations on mantissa. Use
6540 macros for rounding and division.
6542 (__dbl_mp): Likewise.
6543 (add_magnitudes): Likewise.
6544 (sub_magnitudes): Likewise.
6547 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6548 powers of two in terms of TWOPOW macro.
6549 (mp_no): Make type of mantissa as MANTISSA_T.
6550 [!RADIXI]: Define RADIXI.
6551 [!TWO52]: Define TWO52.
6552 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6554 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6556 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6557 llroundl symbol when building for PPC32.
6559 2013-03-24 Mark H Weaver <mhw@netris.org>
6561 * manual/arith.texi (Normalization Functions): Fix prototypes for
6562 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6564 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6567 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6568 high value to check if expl overflow.
6569 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6570 to check for underflow and overflow.
6571 * math/libm-test.inc: Add exp test.
6573 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6576 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6579 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6584 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6586 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6587 wrap blocks consisting of several statements.
6589 * sysdeps/generic/math-tests.h: New file.
6590 * sysdeps/i386/fpu/math-tests.h: Likewise.
6591 * math/test-snan.c: Include it.
6592 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6594 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6598 (__ieee754_j0l): Do not improve calculations using cos of twice
6599 input for inputs above LDBL_MAX / 2.0L.
6600 (__ieee754_y0l): Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6602 (__ieee754_j1l): Do not improve calculations using cos of twice
6603 input for inputs above LDBL_MAX / 2.0L.
6604 (__ieee754_y1l): Likewise.
6605 * math/libm-test.inc (j0_test): Add another test.
6606 (j1_test): Likewise.
6607 (y0_test): Likewise.
6608 (y1_test): Likewise.
6609 * sysdeps/i386/fpu/libm-test-ulps: Update.
6611 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6613 * Rules ($(objpfx)bench-%.c): Include code from a C source
6616 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6619 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6620 imaginary part 1.0 and real part less than 0.5 specially.
6621 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6622 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6623 * math/libm-test.inc (cacos_test): Add more tests.
6624 (casin_test): Likewise.
6625 (casinh_test): Likewise.
6626 * sysdeps/i386/fpu/libm-test-ulps: Update.
6627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6629 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6632 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6634 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6636 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6637 * config.make.in (config-cflags-sse4): Remove variable.
6638 (config-cflags-avx): Likewise.
6639 (config-cflags-sse2avx): Likewise.
6640 (config-cflags-novzeroupper): Likewise.
6641 (config-asflags-i686): Likewise.
6642 (have-mfma4): Likewise.
6643 (have-as-vis3): Likewise.
6645 * configure.in (MIG): Do not AC_SUBST.
6646 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6647 (libc_cv_cc_sse4): Do not AC_SUBST.
6648 (libc_cv_cc_avx): Likewise.
6649 (libc_cv_cc_sse2avx): Likewise.
6650 (libc_cv_cc_novzeroupper): Likewise.
6651 (libc_cv_cc_fma4): Likewise.
6652 (libc_cv_as_i686): Likewise.
6653 (libc_cv_sparc_as_vis3): Likewise.
6654 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6656 (config-asflags-i686): Likewise.
6657 (config-cflags-avx): Likewise.
6658 (config-cflags-sse2avx): Likewise.
6659 (have-mfma4): Likewise.
6660 (config-cflags-novzeroupper): Likewise.
6661 * sysdeps/mach/configure.in (MIG): Likewise.
6662 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6663 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6665 (config-cflags-avx): Likewise.
6666 (config-cflags-sse2avx): Likewise.
6667 (have-mfma4): Likewise.
6668 (config-cflags-novzeroupper): Likewise.
6669 * configure: Regenerated.
6670 * sysdeps/i386/configure: Likewise.
6671 * sysdeps/mach/configure: Likewise.
6672 * sysdeps/sparc/configure: Likewise.
6673 * sysdeps/x86_64/configure: Likewise.
6675 2013-03-20 Roland McGrath <roland@hack.frob.com>
6678 * locale/programs/localedef.c (options): Put N_ translation marker
6679 on argument names, not just descriptions.
6681 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6683 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6685 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6688 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6690 2013-03-19 Roland McGrath <roland@hack.frob.com>
6692 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6693 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6694 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6695 [!BEFORE_ABORT] (before_abort): New function.
6696 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6697 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6698 (writev_for_fatal): New function.
6699 (WRITEV_FOR_FATAL): New macro; call that.
6700 (backtrace_and_maps): New function.
6701 (BEFORE_ABORT): New macro; call that.
6702 (struct str_list): Type removed.
6703 (__libc_message, __libc_fatal): Functions removed.
6704 Include <sysdeps/posix/libc_fatal.c> instead.
6706 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6708 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6710 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6713 2013-03-19 Andreas Schwab <schwab@suse.de>
6715 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6716 * sysdeps/gnu/configure: Regenerate.
6718 * configure.in: Substitute libc_cv_rtlddir.
6719 * configure: Regenerate.
6720 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6721 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6722 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6723 * elf/Makefile (install-others, CFLAGS-interp.c)
6724 (ldso_install, common-ldd-rewrite): Likewise.
6725 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6726 $(inst_slibdir)/$(rtld-installed-name).
6727 * scripts/rellns-sh: Add -p option.
6728 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6731 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6733 * manual/nptl.texi: Renamed to ...
6734 * manual/threads.texi: ... this.
6735 * manual/Makefile (chapters): Update.
6737 2013-03-18 Roland McGrath <roland@hack.frob.com>
6740 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6741 on argument names, not just descriptions.
6742 * malloc/memusagestat.c (options): Likewise.
6743 * nss/getent.c (options): Likewise.
6745 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6748 * iconv/iconv_prog.c (options): Put N_ translation marker
6749 on argument names, not just descriptions.
6750 * iconv/iconvconfig.c (options): Likewise.
6752 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6754 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6755 implementation which is faster on all x86_64 architectures.
6756 Tested on AMD, Intel Nehalem, SNB, IVB.
6757 * sysdeps/x86_64/strnlen.S: Likewise.
6759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6760 Remove all multiarch strlen and strnlen versions.
6761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6762 Remove strlen and strnlen related parts.
6764 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6766 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6768 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6769 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6770 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6771 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6772 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6773 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6775 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6777 * manual/memory.texi (Malloc Tunable Parameters):
6778 Sort parameters alphabetically. Add comments for missing entries.
6780 2013-03-17 David S. Miller <davem@davemloft.net>
6782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6784 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6788 for arguments at most half maximum finite value.
6789 * math/libm-test.inc (j0_test): Add more tests.
6790 (j1_test): Likewise.
6791 (y0_test): Likewise.
6792 (y1_test): Likewise.
6793 * sysdeps/i386/fpu/libm-test-ulps: Update.
6794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6797 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6798 1 / x and functions P and Q for arguments above 0x1p256L.
6799 (__ieee754_y0l): Likewise.
6800 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6801 (__ieee754_y1l): Likewise.
6802 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6803 (j1_test): Likewise.
6804 (y0_test): Likewise.
6805 (y1_test): Likewise.
6807 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6809 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6812 2013-03-15 Roland McGrath <roland@hack.frob.com>
6814 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6815 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6816 zero since it's initialized to EXEC_PAGESIZE.
6818 * sysdeps/unix/sysv/linux/ldsodefs.h
6819 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6820 * sysdeps/generic/ldsodefs.h: ... here.
6822 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6824 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6826 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6828 * math/test-snan.c: Renamed from
6829 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6830 * math/Makefile (tests): Add test-snan.
6831 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6834 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6835 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6837 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6838 __builtin_nan family of functions.
6839 * math/libm-test.inc (initialize): Initialize qnan_value with
6840 __builtin_nan family of functions.
6841 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6843 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6845 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6846 storage class. Initialize qNaN_var and sNaN_var with
6847 __builtin_nan and __builtin_nans families of functions,
6850 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6851 (sqrt_test): Remove duplicate test with qNaN input.
6852 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6853 (round_test, signbit_test, significand_test): Note missing +/-Inf
6854 as well as qNaN tests.
6856 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6857 qNaN_var. Fix a few strings, too.
6858 * math/libm-test.inc (nan_value): Rename to qnan_value.
6859 * math/gen-libm-test.pl (%beautify): Adjust to that.
6860 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6861 * math/test-misc.c (main): Likewise.
6862 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6863 to __qnan_bytes, and __qnan_union, respectively.
6864 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6866 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6867 and lqnanval, respectively.
6868 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6869 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6870 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6871 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6873 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6874 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6877 * math/test-misc.c (main): Fix copy'n'pastos.
6878 * misc/tst-efgcvt.c (special): Likewise.
6880 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6881 Remove declarations.
6883 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6885 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6886 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6887 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6888 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6890 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6892 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6893 macro to return vdso values correctly in IFUNC implementations.
6894 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6895 Optimization by using IFUNC.
6897 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6898 Richard Henderson <rth@redhat.com>
6899 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6901 * Makefile.in (bench): New target.
6902 * NEWS: Mention the benchmark framework.
6903 * Rules (bench): Likewise.
6904 (binaries-bench): Generate binaries for functions to
6906 * benchtests/Makefile: New makefile for benchmark tests.
6907 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6909 * benchtests/exp-inputs: New input file for EXP function.
6910 * benchtests/pow-inputs: New input file for POW function.
6911 * scripts/bench.pl: New script to generate source files for
6914 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6916 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6917 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6918 computations on mantissa. Use macros for rounding and
6921 (__dbl_mp): Likewise.
6922 (add_magnitudes): Likewise.
6923 (sub_magnitudes): Likewise.
6926 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6927 powers of two in terms of TWOPOW macro.
6928 (mp_no): Make type of mantissa as MANTISSA_T.
6929 [!RADIXI]: Define RADIXI.
6930 [!TWO52]: Define TWO52.
6931 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6933 * manual/nptl.texi (cindex): Modify threads to pthreads.
6935 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6937 * sysdeps/x86_64/preconfigure: Regenerated.
6939 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6942 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6944 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6945 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6947 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6948 * math/libm-test.inc (j0_test): Do not allow one spurious
6949 underflow exception.
6950 (y1_test): Likewise.
6952 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6954 * manual/Makefile (chapters): Add nptl.
6955 * manual/debug.texi (Debugging Support): Add link to Threads
6957 * manual/nptl.texi: New file.
6959 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6961 2013-03-14 Petr Baudis <pasky@ucw.cz>
6963 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6964 for non-NULL pointer before the memory validity test. Pointed
6965 out by Holger Brunck <holger.brunck@keymile.com>.
6967 2013-03-13 Andreas Schwab <schwab@suse.de>
6969 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6972 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6974 * timezone/zic.c: Update from tzcode 2013b.
6976 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6978 * manual/install.texi (Configuring and compiling):
6979 Mention i686 and i586.
6980 * INSTALL: Regenerate.
6982 2013-03-12 Roland McGrath <roland@hack.frob.com>
6984 * sysdeps/init_array/elf-init.c: New file.
6986 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6987 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6989 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6990 __gmon_start__ as global, but as static with a .preinit_array pointer.
6991 * sysdeps/init_array/gmon-start.c: New file. Use that.
6992 * sysdeps/init_array/crti.S: New file, empty except for comments.
6993 * sysdeps/init_array/crtn.S: Likewise.
6995 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6997 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7000 Remove Prefer_SSE_for_memop.
7001 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7002 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7003 HAS_PREFER_SSE_FOR_MEMOP.
7004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7007 Remove bzero, memset ifunc support.
7008 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7009 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7010 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7011 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7013 2013-03-11 Andreas Schwab <schwab@suse.de>
7016 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7019 (GLIBC_2.16): Remove pthread_atfork.
7021 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7023 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7024 (ptestcases.h): Likewise.
7026 2013-03-08 Roland McGrath <roland@hack.frob.com>
7028 * Makeconfig ($(common-objpfx)config.status): Depend on
7029 sysdeps/*/preconfigure{,.in} too.
7031 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7033 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7034 (__free_hook): Use void * instead of __malloc_ptr_t.
7035 (__malloc_hook): Likewise.
7036 (__realloc_hook): Likewise.
7037 (__memalign_hook): Likewise.
7038 (__after_morecore_hook): Likewise.
7039 * malloc/arena.c (save_malloc_hook): Likewise.
7040 (save_free_hook): Likewise.
7041 * malloc/hooks.c (malloc_hook_ini): Likewise.
7042 (realloc_hook_ini): Likewise.
7043 (memalign_hook_ini): Likewise.
7044 * malloc/malloc.c (malloc_hook_ini): Likewise.
7045 (realloc_hook_ini): Likewise.
7046 (memalign_hook_ini): Likewise.
7047 (__free_hook): Likewise.
7048 (__malloc_hook): Likewise.
7049 (__realloc_hook): Likewise.
7050 (__memalign_hook): Likewise.
7051 (__libc_malloc): Likewise.
7052 (__libc_free): Likewise.
7053 (__libc_realloc): Likewise.
7054 (__libc_memalign): Likewise.
7055 (__libc_valloc): Likewise.
7056 (__libc_pvalloc): Likewise.
7057 (__libc_calloc): Likewise.
7058 (__posix_memalign): Likewise.
7059 * malloc/morecore.c (__sbrk): Likewise.
7060 (__default_morecore): Likewise.
7062 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7064 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7065 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7068 * malloc/malloc.h (__malloc_size_t): Remove macro.
7069 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7071 (old_memalign_hook): Likewise.
7072 (old_realloc_hook): Likewise.
7073 (struct hdr): Likewise.
7075 (mallochook): Likewise.
7076 (memalignhook): Likewise.
7077 (reallochook): Likewise.
7078 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7079 (tr_old_realloc_hook): Likewise.
7080 (tr_old_memalign_hook): Likewise.
7081 (tr_mallochook): Likewise.
7082 (tr_reallochook): Likewise.
7083 (tr_memalignhook): Likewise.
7085 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7088 default_ldbl_pack and using as default implementation.
7089 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7091 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7092 redundant definition.
7093 (ldbl_insert_mantissa): Likewise.
7094 (ldbl_canonicalize): Likewise.
7095 (ldbl_nearbyint): Likewise.
7096 (ldbl_pack): Rename to ldbl_pack_ppc.
7097 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7098 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7099 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7101 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7104 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7106 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7108 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7109 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7110 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7112 2013-03-07 Andreas Jaeger <aj@suse.de>
7114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7117 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7119 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7120 Include mpa.h and declare __MPEXP.
7121 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7122 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7123 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7124 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7125 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7126 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7127 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7129 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7130 (__slowpow): Use long double EXPL and LOGL functions to
7132 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7133 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7134 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7135 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7136 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7140 intermediate variable to calculate exponent.
7142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7146 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7147 [!NO__SQR]: Define __sqr.
7148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7149 and NO__SQR. Remove all code except __mul and __sqr. Include
7150 sysdeps/ieee754/dbl-64/mpa.c.
7151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7154 * posix/Makefile (tests): Add tst-pathconf.
7155 * posix/tst-pathconf.c: New test case.
7156 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7158 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7160 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7162 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7164 2013-03-06 Andreas Jaeger <aj@suse.de>
7166 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7167 definition via __MAP_ANONYMOUS.
7169 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7170 it's not part of Linux headers.
7172 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7173 (MAP_HUGE_MASK): Define.
7175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7177 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7180 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7181 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7183 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7184 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7186 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7188 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7189 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7190 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7191 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7192 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7195 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7199 Handle f2fs and efivarfs.
7201 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7204 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7205 (EFIVARFS_MAGIC): Add.
7206 (F2FS_LINK_MAX): Add.
7208 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7210 * stdio-common/vfprintf.c: Replace __builtin_expect with
7213 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7216 * sysdeps/generic/bp-sym.h: Remove file.
7217 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7218 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7219 <bp-sym.h> and <bp-asm.h>.
7220 (__longjmp): Don't use BP_SYM.
7221 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7223 (memcpy): Don't use BP_SYM.
7224 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7225 <bp-sym.h> and <bp-asm.h>.
7226 (memcpy): Don't use BP_SYM.
7227 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7229 (memcpy): Don't use BP_SYM.
7230 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7232 (memset): Don't use BP_SYM.
7233 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7234 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7235 (__bzero): Don't use BP_SYM.
7236 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7237 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7238 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7239 <bp-sym.h> and <bp-asm.h>.
7240 (memcmp): Don't use BP_SYM. Remove comment about bounded
7242 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7243 <bp-sym.h> and <bp-asm.h>.
7244 (memcpy): Don't use BP_SYM.
7245 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7246 <bp-sym.h> and <bp-asm.h>.
7247 (memset): Don't use BP_SYM.
7248 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7249 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7250 (__bzero): Don't use BP_SYM.
7251 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7252 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7253 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7254 <bp-sym.h> and <bp-asm.h>.
7255 (strncmp): Don't use BP_SYM. Remove comment about bounded
7257 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7258 <bp-sym.h> and <bp-asm.h>.
7259 (memcpy): Don't use BP_SYM.
7260 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7261 <bp-sym.h> and <bp-asm.h>.
7262 (memset): Don't use BP_SYM.
7263 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7264 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7265 (__bzero): Don't use BP_SYM.
7266 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7267 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7268 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7269 <bp-sym.h> and <bp-asm.h>.
7270 (__memchr): Don't use BP_SYM.
7271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7272 <bp-sym.h> and <bp-asm.h>.
7273 (memcmp): Don't use BP_SYM. Remove comment about bounded
7275 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7276 <bp-sym.h> and <bp-asm.h>.
7277 (memcpy): Don't use BP_SYM.
7278 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7279 <bp-sym.h> and <bp-asm.h>.
7280 (__mempcpy): Don't use BP_SYM.
7281 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7282 <bp-sym.h> and <bp-asm.h>.
7283 (__memrchr): Don't use BP_SYM.
7284 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7285 <bp-sym.h> and <bp-asm.h>.
7286 (memset): Don't use BP_SYM.
7287 (__bzero): Likewise.
7288 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7289 <bp-sym.h> and <bp-asm.h>.
7290 (__rawmemchr): Don't use BP_SYM.
7291 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7292 <bp-sym.h> and <bp-asm.h>.
7293 (__STRCMP): Don't use BP_SYM.
7294 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7295 <bp-sym.h> and <bp-asm.h>.
7296 (strchr): Don't use BP_SYM.
7297 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7298 <bp-sym.h> and <bp-asm.h>.
7299 (__strchrnul): Don't use BP_SYM.
7300 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7301 <bp-sym.h> and <bp-asm.h>.
7302 (strlen): Don't use BP_SYM.
7303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7304 <bp-sym.h> and <bp-asm.h>.
7305 (strncmp): Don't use BP_SYM. Remove comment about bounded
7307 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7308 <bp-sym.h> and <bp-asm.h>.
7309 (__strnlen): Don't use BP_SYM.
7310 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7311 <bp-sym.h> and <bp-asm.h>.
7312 (__GI__setjmp): Don't use BP_SYM.
7313 (_setjmp): Likewise.
7314 (__sigsetjmp): Likewise.
7315 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7316 (L(start_addresses)): Don't use BP_SYM.
7318 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7320 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7321 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7322 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7323 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7324 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7326 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7327 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7328 about bounded pointers.
7329 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7330 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7331 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7333 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7334 about bounded pointers. Remove GKM FIXME comments.
7335 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7336 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7338 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7339 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7340 Remove GKM FIXME comments.
7341 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7342 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7343 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7345 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7346 about bounded pointers. Remove GKM FIXME comment.
7347 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7349 (strncmp): Don't use BP_SYM. Remove comment about bounded
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7352 <bp-sym.h> and <bp-asm.h>.
7353 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7355 <bp-sym.h> and <bp-asm.h>.
7356 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7359 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7361 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7364 2013-03-05 David S. Miller <davem@davemloft.net>
7366 * po/es.po: Update from translation team.
7368 2013-03-05 Andreas Jaeger <aj@suse.de>
7370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7371 <bits/mman-linux.h>.
7372 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7374 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7375 <bits/mman-linux.h> to end of file.
7376 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7378 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7379 <bits/mman-linux.h> to end of file.
7380 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7382 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7383 <bits/mman-linux.h> to end of file.
7385 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7386 (MCL_CURRENT, MCL_FUTURE): Define here.
7388 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7393 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7395 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7397 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7398 fourth parameter needed for rt_sigprocmask syscall.
7399 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7400 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7401 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7403 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7406 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7409 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7410 comment about bounded pointers.
7411 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7412 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7414 2013-03-04 Andreas Jaeger <aj@suse.de>
7416 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7419 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7420 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7421 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7422 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7424 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7426 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7430 __ieee754_sqrl instead of __sqrl.
7432 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7435 * sysdeps/powerpc/fpu_control.h: ... here.
7436 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7437 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7438 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7439 * sysdeps/powerpc/bits/mathinline.h: ... here.
7441 2013-03-01 Roland McGrath <roland@hack.frob.com>
7443 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7444 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7445 to just [NEED_DL_SYSINFO_DSO].
7446 * elf/dl-support.c: Likewise.
7447 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7448 * elf/rtld.c (dl_main): Likewise.
7449 * elf/setup-vdso.h (setup_vdso): Likewise.
7450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7451 * sysdeps/unix/sysv/linux/dl-sysdep.c
7452 (_dl_discover_osversion): Likewise.
7454 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7456 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7457 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7459 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7461 * NEWS: Mention libm performance improvements and non-x86 PI
7464 * csu/libc-start.c (__pthread_initialize_minimal): Change
7466 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7468 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7471 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7472 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7473 <bp-sym.h> and <bp-asm.h>.
7474 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7477 (memcpy): Don't use BP_SYM.
7478 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7480 (__mpn_add_n): Don't use BP_SYM.
7481 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7482 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7484 (__mpn_addmul_1): Don't use BP_SYM.
7485 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7486 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7488 (_setjmp): Don't use BP_SYM.
7489 (__novmx_setjmp): Likewise.
7490 (__GI__setjmp): Likewise.
7491 (__vmx_setjmp): Likewise.
7492 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7494 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7495 (__bzero): Don't use BP_SYM.
7496 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7497 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7498 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7499 <bp-sym.h> and <bp-asm.h>.
7500 (memcpy): Don't use BP_SYM.
7501 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7502 <bp-sym.h> and <bp-asm.h>.
7503 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7504 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7505 <bp-sym.h> and <bp-asm.h>.
7506 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7507 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7509 (__mpn_lshift): Don't use BP_SYM.
7510 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7511 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7513 (memset): Don't use BP_SYM.
7514 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7515 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7516 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7518 (__mpn_mul_1): Don't use BP_SYM.
7519 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7521 <bp-sym.h> and <bp-asm.h>.
7522 (memcmp): Don't use BP_SYM.
7523 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7524 <bp-sym.h> and <bp-asm.h>.
7525 (memcpy): Don't use BP_SYM.
7526 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7527 <bp-sym.h> and <bp-asm.h>.
7528 (memset): Don't use BP_SYM.
7529 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7530 <bp-sym.h> and <bp-asm.h>.
7531 (strncmp): Don't use BP_SYM.
7532 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7533 <bp-sym.h> and <bp-asm.h>.
7534 (memcpy): Don't use BP_SYM.
7535 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7536 <bp-sym.h> and <bp-asm.h>.
7537 (memset): Don't use BP_SYM.
7538 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7539 <bp-sym.h> and <bp-asm.h>.
7540 (__memchr): Don't use BP_SYM.
7541 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7542 <bp-sym.h> and <bp-asm.h>.
7543 (memcmp): Don't use BP_SYM.
7544 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7545 <bp-sym.h> and <bp-asm.h>.
7546 (memcpy): Don't use BP_SYM.
7547 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7548 <bp-sym.h> and <bp-asm.h>.
7549 (__mempcpy): Don't use BP_SYM.
7550 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7551 <bp-sym.h> and <bp-asm.h>.
7552 (__memrchr): Don't use BP_SYM.
7553 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7554 <bp-sym.h> and <bp-asm.h>.
7555 (memset): Don't use BP_SYM.
7556 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7557 <bp-sym.h> and <bp-asm.h>.
7558 (__rawmemchr): Don't use BP_SYM.
7559 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7560 <bp-sym.h> and <bp-asm.h>.
7561 (__STRCMP): Don't use BP_SYM.
7562 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7563 <bp-sym.h> and <bp-asm.h>.
7564 (strchr): Don't use BP_SYM.
7565 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7566 <bp-sym.h> and <bp-asm.h>.
7567 (__strchrnul): Don't use BP_SYM.
7568 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7569 <bp-sym.h> and <bp-asm.h>.
7570 (strlen): Don't use BP_SYM.
7571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7572 <bp-sym.h> and <bp-asm.h>.
7573 (strncmp): Don't use BP_SYM.
7574 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7575 <bp-sym.h> and <bp-asm.h>.
7576 (__strnlen): Don't use BP_SYM.
7577 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7579 (__mpn_rshift): Don't use BP_SYM.
7580 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7581 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7582 <bp-sym.h> and <bp-asm.h>.
7583 (__sigsetjmp): Don't use BP_SYM.
7584 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7585 (L(start_addresses)): Don't use BP_SYM.
7587 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7589 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7590 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7591 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7592 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7594 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7595 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7596 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7597 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7599 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7601 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7602 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7604 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7606 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7607 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7608 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7610 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7612 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7614 (strncmp): Don't use BP_SYM,
7615 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7617 (__mpn_sub_n): Don't use BP_SYM.
7618 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7619 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7621 (__mpn_submul_1): Don't use BP_SYM.
7622 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7624 <bp-sym.h> and <bp-asm.h>.
7625 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7627 <bp-sym.h> and <bp-asm.h>.
7628 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7631 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7634 Use ZK to minimize writes to Z.
7635 (sub_magnitudes): Simplify code a bit.
7636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7637 Use ZK to minimize writes to Z.
7638 (sub_magnitudes): Simplify code a bit.
7640 2013-02-27 Roland McGrath <roland@hack.frob.com>
7642 * csu/gmon-start.c: Add special exception to license text.
7644 2013-02-27 Richard Henderson <rth@redhat.com>
7646 * scripts/config.guess: Update from config.git.
7647 * scripts/config.sub: Likewise.
7649 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7651 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7653 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7655 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7657 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7659 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7661 2013-02-26 Roland McGrath <roland@hack.frob.com>
7663 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7664 [$(build-shared = yes].
7666 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7668 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7669 (__mul): Reduce iterations for calculating mantissa.
7671 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7673 (__mpranred): Likewise.
7676 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7677 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7679 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7681 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7682 Define __attribute__.
7684 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7686 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7688 * posix/regex_internal.h (__attribute): Remove.
7689 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7690 (re_string_context_at): Likewise.
7691 (bitset_not): Use __attribute__ and mark function as possibly
7693 (bitset_merge): Likewise.
7694 (bitset_mask): Likewise.
7695 (re_string_char_size_at): Likewise.
7696 (re_string_wchar_at): Likewise.
7697 (re_string_elem_size_at): Likewise.
7699 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7701 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7705 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7710 (__dbl_mp): Likewise.
7711 (add_magnitudes): Likewise.
7712 (sub_magnitudes): Likewise.
7716 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7719 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7722 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7726 up changes with default code.
7727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7730 2013-02-24 Allan McRae <allan@archlinux.org>
7732 * manual/socket.texi (The Internet Namespace): Order menu items
7733 to match that in the file.
7735 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7736 node listing of the info page menu.
7738 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7741 * sysdeps/i386/bp-asm.h: Remove file.
7742 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7743 (PARMS): Do not use macros from bp-asm.h.
7747 (__mpn_add_n): Do not use BP_SYM
7748 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7750 (PARMS): Do not use macros from bp-asm.h.
7753 (__mpn_addmul_1): Do not use BP_SYM
7754 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7756 (PARMS): Do not use macros from bp-asm.h.
7758 (_setjmp): Likewise. Do not use BP_SYM.
7759 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7761 (PARMS): Do not use macros from bp-asm.h.
7763 (setjmp): Likewise. Do not use BP_SYM.
7764 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7766 (PARMS): Do not use macros from bp-asm.h.
7767 (__frexp): Do not use BP_SYM.
7769 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7771 (PARMS): Do not use macros from bp-asm.h.
7772 (__frexpf): Do not use BP_SYM.
7774 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7776 (PARMS): Do not use macros from bp-asm.h.
7777 (__frexpl): Do not use BP_SYM.
7779 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7781 (PARMS): Do not use macros from bp-asm.h.
7782 (__remquo): Do not use BP_SYM.
7784 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7786 (PARMS): Do not use macros from bp-asm.h.
7787 (__remquof): Do not use BP_SYM.
7788 (remquof): Likewise.
7789 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7791 (PARMS): Do not use macros from bp-asm.h.
7792 (__remquol): Do not use BP_SYM.
7793 (remquol): Likewise.
7794 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7796 (PARMS): Do not use macros from bp-asm.h.
7799 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7800 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7802 (PARMS): Do not use macros from bp-asm.h.
7803 (strlen): Do not use BP_SYM.
7804 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7806 (PARMS): Do not use macros from bp-asm.h.
7810 (__mpn_add_n): Do not use BP_SYM.
7811 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7813 (PARMS): Do not use macros from bp-asm.h.
7816 (__mpn_addmul_1): Do not use BP_SYM.
7817 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7820 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7822 (PARMS): Do not use macros from bp-asm.h.
7825 (__mpn_lshift): Do not use BP_SYM.
7826 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7828 (PARMS): Do not use macros from bp-asm.h.
7832 (memcpy): Likewise. Do not use BP_SYM.
7833 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7834 libc_hidden_def and weak_alias.
7835 (mempcpy): Do not use BP_SYM in weak_alias.
7836 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7838 (PARMS): Do not use macros from bp-asm.h.
7841 [!BZERO_P] (CHR): Likewise.
7842 (memset): Likewise. Do not use BP_SYM.
7843 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7845 (PARMS): Do not use macros from bp-asm.h.
7848 (__mpn_mul_1): Do not use BP_SYM.
7849 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7851 (PARMS): Do not use macros from bp-asm.h.
7854 (__mpn_rshift): Do not use BP_SYM.
7855 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7857 (PARMS): Do not use macros from bp-asm.h.
7860 (strchr): Likewise. Do not use BP_SYM.
7861 (index): Do not use BP_SYM in weak_alias.
7862 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7864 (PARMS): Do not use macros from bp-asm.h.
7867 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7868 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7870 (PARMS): Do not use macros from bp-asm.h.
7871 (strlen): Do not use BP_SYM.
7872 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7874 (PARMS): Do not use macros from bp-asm.h.
7878 (__mpn_sub_n): Do not use BP_SYM.
7879 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7881 (PARMS): Do not use macros from bp-asm.h.
7884 (__mpn_submul_1): Do not use BP_SYM.
7885 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7887 (PARMS): Do not use macros from bp-asm.h.
7891 (__mpn_add_n): Do not use BP_SYM.
7892 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7895 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7897 (PARMS): Do not use macros from bp-asm.h.
7900 (memcmp): Do not use BP_SYM.
7901 (bcmp): Do not use BP_SYM in weak_alias.
7902 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7904 (PARMS): Do not use macros from bp-asm.h.
7908 (memcpy): Likewise. Do not use BP_SYM.
7909 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7911 (PARMS): Do not use macros from bp-asm.h.
7915 (memmove): Likewise. Do not use BP_SYM.
7916 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7918 (PARMS): Do not use macros from bp-asm.h.
7922 (__mempcpy): Likewise. Do not use BP_SYM.
7923 (mempcpy): Do not use BP_SYM in weak_alias.
7924 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7926 (PARMS): Do not use macros from bp-asm.h.
7929 [!BZERO_P] (CHR): Likewise.
7930 (memset): Likewise. Do not use BP_SYM.
7931 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7933 (PARMS): Do not use macros from bp-asm.h.
7935 (strcmp): Do not use BP_SYM.
7936 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7938 (PARMS): Do not use macros from bp-asm.h.
7941 [USE_AS_STRTOK_R] (SAVE): Likewise.
7942 (FUNCTION): Likewise. Do not use BP_SYM.
7943 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7945 (strtok_r): Likewise.
7946 (__GI___strtok_r): Likewise.
7947 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7948 (PARMS): Do not use macros from bp-asm.h.
7951 (__mpn_lshift): Do not use BP_SYM.
7952 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7953 (PARMS): Do not use macros from bp-asm.h.
7956 (__memchr): Do not use BP_SYM.
7957 (memchr): Do not use BP_SYM in weak_alias.
7958 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7959 (PARMS): Do not use macros from bp-asm.h.
7962 (memcmp): Do not use BP_SYM.
7963 (bcmp): Do not use BP_SYM in weak_alias.
7964 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7965 (PARMS): Do not use macros from bp-asm.h.
7968 (__mpn_mul_1): Do not use BP_SYM.
7969 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7971 (PARMS): Do not use macros from bp-asm.h.
7974 (__rawmemchr): Do not use BP_SYM.
7975 (rawmemchr): Do not use BP_SYM in weak_alias.
7976 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7977 (PARMS): Do not use macros from bp-asm.h.
7980 (__mpn_rshift): Do not use BP_SYM.
7981 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7982 (PARMS): Do not use macros from bp-asm.h.
7984 (__sigsetjmp): Likewise. Do not use BP_SYM.
7985 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7986 (_start): Do not use BP_SYM.
7987 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7988 (PARMS): Do not use macros from bp-asm.h.
7991 (__stpcpy): Likewise. Do not use BP_SYM.
7992 (stpcpy): Do not use BP_SYM in weak_alias.
7993 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7995 (PARMS): Do not use macros from bp-asm.h.
7999 (__stpncpy): Likewise. Do not use BP_SYM.
8000 (stpncpy): Do not use BP_SYM in weak_alias.
8001 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8002 (PARMS): Do not use macros from bp-asm.h.
8005 (strchr): Likewise. Do not use BP_SYM.
8006 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8008 (PARMS): Do not use macros from bp-asm.h.
8011 (__strchrnul): Likewise. Do not use BP_SYM.
8012 (strchrnul): Do not use BP_SYM in weak_alias.
8013 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8015 (PARMS): Do not use macros from bp-asm.h.
8017 (strcspn): Do not use BP_SYM.
8018 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8020 (PARMS): Do not use macros from bp-asm.h.
8023 (strpbrk): Likewise. Do not use BP_SYM.
8024 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8026 (PARMS): Do not use macros from bp-asm.h.
8029 (strrchr): Likewise. Do not use BP_SYM.
8030 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8031 (PARMS): Do not use macros from bp-asm.h.
8033 (strspn): Do not use BP_SYM.
8034 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8035 (PARMS): Do not use macros from bp-asm.h.
8039 (FUNCTION): Likewise. Do not use BP_SYM.
8040 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8042 (strtok_r): Likewise.
8043 (__GI___strtok_r): Likewise.
8044 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8045 (PARMS): Do not use macros from bp-asm.h.
8049 (__mpn_sub_n): Do not use BP_SYM.
8050 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8052 (PARMS): Do not use macros from bp-asm.h.
8055 (__mpn_submul_1): Do not use BP_SYM.
8056 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8058 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8060 (PARMS): Do not use macros from bp-asm.h.
8065 (__clone): Do not use BP_SYM.
8066 (clone): Do not use BP_SYM in weak_alias.
8067 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8069 (PARMS): Do not use macros from bp-asm.h.
8071 (__mmap64): Do not use BP_SYM.
8072 (mmap64): Do not use BP_SYM in weak_alias.
8073 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8074 <bp-sym.h> and <bp-asm.h>.
8075 (PARMS): Do not use macros from bp-asm.h.
8076 (__posix_fadvise64_l64): Do not use BP_SYM.
8077 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8078 (PARMS): Do not use macros from bp-asm.h.
8080 (semtimedop): Do not use BP_SYM.
8081 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8084 2013-02-21 Allan McRae <allan@archlinux.org>
8086 * manual/message.texi (Charset conversion in gettext):
8087 Move @end statement to beginning of line.
8089 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8096 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8101 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8103 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8104 tail-call to the resolved function if pltexit isn't needed.
8106 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8109 or Y being zero as being unlikely.
8110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8113 2013-02-20 Carlos O'Donell <carlos@redhat.com>
8115 * manual/nss.texi (System Databases and Name Service Switch):
8116 Remove frobnicate @pxref.
8118 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8120 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8121 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8123 2013-02-20 Petr Machata <pmachata@redhat.com>
8125 * elf/elf.h (R_ARM_TARGET1): New macro.
8126 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8127 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8128 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8129 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8130 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8131 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8132 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8133 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8134 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8135 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8136 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8137 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8138 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8139 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8140 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8141 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8142 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8143 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8144 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8145 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8146 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8147 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8148 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8149 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8150 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8151 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8152 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8153 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8154 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8155 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8156 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8157 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8158 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8159 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8160 (R_ARM_THM_GOT_BREL12): Likewise.
8161 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8162 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8163 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8164 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8165 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8166 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8167 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8168 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8169 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8171 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8173 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8174 __attribute_used__ to __attribute__ ((unused)).
8176 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8178 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8184 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8187 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8189 (ENTER): Remove both macro definitions.
8191 (CHECK_BOUNDS_LOW): Likewise.
8192 (CHECK_BOUNDS_HIGH): Likewise.
8193 (CHECK_BOUNDS_BOTH): Likewise.
8194 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8195 (RETURN_BOUNDED_POINTER): Likewise.
8196 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8197 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8198 (POP_ERRNO_LOCATION_RETURN): Likewise.
8199 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8200 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8201 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8203 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8204 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8205 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8206 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8207 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8208 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8209 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8210 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8211 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8212 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8213 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8214 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8215 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8216 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8218 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8219 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8221 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8222 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8223 * sysdeps/i386/i586/memset.S (memset): Likewise.
8224 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8225 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8226 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8228 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8229 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8230 Change uses of L(2) to L(out).
8231 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8232 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8233 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8234 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8235 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8237 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8238 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8240 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8241 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8242 (RETURN): Do not use macro LEAVE.
8243 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8244 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8245 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8246 * sysdeps/i386/i686/memset.S (memset): Likewise.
8247 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8248 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8249 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8250 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8252 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8253 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8254 L(1_2) and L(1_3) into L(1).
8255 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8256 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8257 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8258 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8259 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8260 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8261 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8262 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8263 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8265 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8266 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8267 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8268 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8269 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8270 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8271 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8272 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8273 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8274 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8275 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8276 * sysdeps/i386/strspn.S (strspn): Likewise.
8277 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8279 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8280 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8281 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8282 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8284 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8285 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8286 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8288 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8290 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8292 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8295 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8297 * math/atest-exp.c (exp_mpn): Remove ROUND.
8298 * math/atest-exp2.c (exp_mpn): Likewise.
8299 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8301 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8302 * stdlib/tst-tls-atexit-lib.c: Likewise.
8303 * stdlib/tst-tls-atexit.c: Likewise.
8305 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8307 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8308 and __attribute_alloc_size__.
8310 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8312 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8313 __attribute_alloc_size__.
8314 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8315 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8317 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8319 * include/programs/xmalloc.h: New file.
8320 * catgets/gencat.c: Include it.
8321 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8322 * elf/pldd.c: Likewise.
8323 * iconv/iconv_charmap.c: Likewise.
8324 * iconv/iconvconfig.c: Likewise.
8325 * iconv/strtab.c: Likewise.
8326 * locale/programs/locale.c: Likewise.
8327 * locale/programs/localedef.h: Likewise.
8328 * locale/programs/simple-hash.c: Likewise.
8329 * nscd/nscd.h: Likewise.
8330 * nss/makedb.c: Likewise.
8331 * sysdeps/generic/ldconfig.h: Likewise.
8333 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8335 * Versions.def: Add GLIBC_2.18.
8336 * include/link.h (struct link_map): New member l_tls_dtor_count.
8337 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8338 (__call_tls_dtors): Likewise.
8339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8340 __cxa_thread_atexit_impl.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8349 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8357 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8358 (tests): Add test case tst-tls-atexit.
8359 (modules-names): Add shared library for tst-tls-atexit.
8360 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8361 (GLIBC_PRIVATE): Add __call_tls_dtors.
8362 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8364 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8365 * stdlib/tst-tls-atexit.c: New test case.
8366 * stdlib/tst-tls-atexit-lib.c: New test case.
8368 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8370 * elf/Versions (ld): Add _dl_find_dso_for_object.
8371 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8372 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8373 (dl_open_worker): Use _dl_find_dso_for_object.
8374 * elf/dl-sym.c (do_sym): Likewise.
8375 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8377 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8379 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8380 Syntactic changes only.
8381 (_dl_runtime_profile): Do a tail-call to the resolved function.
8383 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8386 * sysdeps/x86_64/bp-asm.h: Remove file.
8387 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8388 <bp-sym.h> and <bp-asm.h>.
8389 (__clone): Do not use BP_SYM.
8390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8391 <bp-sym.h> and <bp-asm.h>.
8392 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8393 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8395 (_setjmp): Do not use BP_SYM.
8396 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8398 (setjmp): Do not use BP_SYM.
8399 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8401 (mempcpy): Do not use BP_SYM in weak_alias.
8402 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8404 (strchr): Do not use BP_SYM.
8405 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8407 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8408 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8409 (_start): Do not use BP_SYM.
8410 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8412 (strcat): Do not use BP_SYM.
8413 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8415 (STRCMP): Do not use BP_SYM.
8416 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8418 (STRCPY): Do not use BP_SYM.
8419 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8421 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8423 (FUNCTION): Do not use BP_SYM.
8424 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8426 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8428 2013-02-17 Andreas Jaeger <aj@suse.de>
8430 * time/Versions: Sort entries.
8431 * string/Versions: Likewise.
8432 * resolv/Versions: Likewise.
8433 * posix/Versions: Likewise.
8434 * iconv/Versions: Likewise.
8435 * elf/Versions: Likewise.
8436 * wcsmbs/Versions: Likewise.
8438 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8440 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8441 loop termination condition.
8443 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8444 variable to calculate EZ.
8447 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8448 the lower precision input.
8450 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8453 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8454 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8455 (run-via-rtld-prefix): Do not handle %-bp tests.
8456 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8457 (all-object-suffixes): Remove .ob.
8458 (bppfx): Remove variable.
8459 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8460 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8461 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8462 [$(build-bounded) = yes] (libtype.ob): Likewise.
8463 * Makerules (elide-routines.ob): Remove variable.
8464 (do-tests-clean): Do not handle *-bp.out.
8465 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8466 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8467 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8468 (tests): Do not include $(tests-bp.out).
8469 (xtests): Do not include $(xtests-bp.out).
8470 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8471 [$(build-bounded) = yes] ($(addprefix
8472 $(objpfx),$(binaries-bounded))): Remove rule.
8473 ($(objpfx)%-bp.out): Remove rule.
8474 * config.make.in (build-bounded): Remove variable.
8475 * crypt/Makefile [$(build-bounded) = yes]
8476 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8477 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8479 [$(build-bounded) = yes] (install-lib): Likewise.
8480 [$(build-bounded) = yes] (generated): Likewise.
8481 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8483 * intl/Makefile [$(build-bounded) = yes]
8484 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8485 * math/Makefile [$(build-bounded) = yes]
8486 ($(tests:%=$(objpfx)%-bp): Likewise.
8487 * misc/Makefile [$(build-bounded) = yes]
8488 ($(objpfx)tst-tsearch-bp): Likewise.
8489 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8490 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8492 * string/Makefile (o-objects.ob): Remove variable.
8493 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8494 (CFLAGS-.ob): Remove variable.
8495 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8496 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8497 both definitions of variable.
8498 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8499 (ASFLAGS-.ob): Remove variable.
8501 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8504 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8505 Remove __BOUNDED_POINTERS__ from condition.
8506 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8507 * string/bits/string2.h [!__NO_STRING_INLINES &&
8508 !__BOUNDED_POINTERS__]: Likewise.
8509 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8511 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8512 Remove conditional code.
8513 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8514 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8515 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8519 * csu/libc-start.c: Do not include <bp-sym.h>.
8520 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8521 * elf/dl-open.c: Do not include <bp-sym.h>.
8522 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8523 * math/fegetenv.c: Do not include <bp-sym.h>.
8524 (fegetenv): Do not use BP_SYM in versioned symbols.
8525 * nptl/sysdeps/pthread/bits/libc-lockP.h
8526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8529 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8531 (__pthread_mutex_destroy): Likewise.
8532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8533 (__pthread_mutex_lock): Likewise.
8534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8535 (__pthread_mutex_trylock): Likewise.
8536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8537 (__pthread_mutex_unlock): Likewise.
8538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8539 (__pthread_mutexattr_init): Likewise.
8540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8541 (__pthread_mutexattr_destroy): Likewise.
8542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8543 (__pthread_mutexattr_settype): Likewise.
8544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8545 (__pthread_rwlock_init): Likewise.
8546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8547 (__pthread_rwlock_destroy): Likewise.
8548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8549 (__pthread_rwlock_rdlock): Likewise.
8550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8551 (__pthread_rwlock_tryrdlock): Likewise.
8552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8553 (__pthread_rwlock_wrlock): Likewise.
8554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8555 (__pthread_rwlock_trywrlock): Likewise.
8556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8557 (__pthread_rwlock_unlock): Likewise.
8558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8559 (__pthread_key_create): Likewise.
8560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8561 (__pthread_setspecific): Likewise.
8562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8563 (__pthread_getspecific): Likewise.
8564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8567 (_pthread_cleanup_push_defer): Likewise.
8568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8569 (_pthread_cleanup_pop_restore): Likewise.
8570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8571 (pthread_setcancelstate): Likewise.
8572 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8574 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8575 (memchr): Do not use BP_SYM in weak_alias.
8576 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8577 (fegetenv): Do not use BP_SYM in versioned symbols.
8578 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8579 (fesetenv): Do not use BP_SYM in versioned symbols.
8580 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8581 (feupdateenv): Do not use BP_SYM in versioned symbols.
8582 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8583 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8584 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8585 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8586 (open64): Do not use BP_SYM in weak_alias.
8587 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8588 (fegetenv): Do not use BP_SYM in versioned symbols.
8589 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8590 (fesetenv): Do not use BP_SYM in versioned symbols.
8591 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8592 (feupdateenv): Do not use BP_SYM in versioned symbols.
8593 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8594 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8595 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8596 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8597 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8598 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8599 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8601 (__libc_start_main): Do not use BP_SYM.
8603 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8606 redundant return line.
8610 (sub_magnitudes): Likewise.
8616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8620 (sub_magnitudes): Likewise.
8627 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8629 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8630 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8633 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8634 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8636 of __mul for squares.
8637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8641 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8644 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8647 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8649 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8650 prototype or function definition. Rename ubp_* variables and
8651 parameters. Remove argv definitions conditional on
8652 [__BOUNDED_POINTERS__].
8653 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8654 * elf/dl-runtime.c (_dl_fixup): Likewise.
8655 * include/set-hooks.h (RUN_HOOK): Likewise.
8656 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8658 * string/strcpy.c (strcpy): Do not use __unbounded.
8659 * sysdeps/generic/frame.h (struct layout): Likewise.
8660 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8661 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8662 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8663 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8664 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8665 (__backtrace): Likewise.
8666 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8668 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8669 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8670 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8672 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8673 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8674 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8675 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8676 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8677 Do not use __unbounded.
8678 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8679 Rename __unboundedrlimits parameter to rlimits in prototype.
8680 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8681 Do not use __unbounded.
8682 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8684 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8685 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8686 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8687 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8688 __ptrvalue or __unbounded.
8689 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8690 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8692 (__new_msgctl): Do not use __ptrvalue.
8693 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8695 (__libc_msgrcv): Do not use __ptrvalue.
8696 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8697 startup_info): Do not use __unbounded.
8698 (__libc_start_main): Likewise. Rename ubp_* variables and
8699 parameters. Remove argv definitions conditional on
8700 [__BOUNDED_POINTERS__].
8701 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8703 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8705 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8707 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8709 (__new_shmctl): Do not use __ptrvalue.
8710 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8711 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8713 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8714 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8715 (__libc_sigaction): Likewise.
8716 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8717 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8719 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8721 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8723 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8725 * string/mempcpy.c: Implement by calling memcpy.
8727 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8734 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8735 values in the mantissa.
8737 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8738 minimize writes to Z.
8739 (sub_magnitudes): Simplify code a bit.
8741 2013-02-12 Roland McGrath <roland@hack.frob.com>
8743 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8744 from the message. The linker prefixes all warnings with that already.
8746 2013-02-12 Andreas Schwab <schwab@suse.de>
8749 * posix/regexec.c (extend_buffers): Add parameter min_len.
8750 (check_matching): Pass minimum needed length.
8751 (clean_state_log_if_needed): Likewise.
8752 (get_subexp): Likewise.
8753 * posix/Makefile (tests): Add bug-regex34.
8754 (bug-regex34-ENV): Define.
8755 * posix/bug-regex34.c: New file.
8758 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8759 elements compare against the byte sequence of it, not its name.
8760 * posix/Makefile (tests): Add bug-regex35.
8761 (bug-regex35-ENV): Define.
8762 * posix/bug-regex35.c: New file.
8764 2013-02-11 Tom de Vries <tom@codesourcery.com>
8766 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8768 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8769 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8770 (CHECK_EOL): Add undef.
8772 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8774 * bits/stdlib-bsearch.h: New file.
8775 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8776 * stdlib/stdlib.h: Likewise.
8778 2013-02-11 Roland McGrath <roland@hack.frob.com>
8780 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8781 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8783 * manual/search.texi (Array Search Function): Add missing const in
8785 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8786 declaration to use rlim_t.
8787 (Basic Scheduling Functions): Remove erroneous const from
8788 sched_getparam prototype. Remove erroneous * from
8789 sched_get_priority_max and sched_get_priority_min prototypes.
8790 (Resource Usage): Fix summary @comment on vtimes to refer to
8791 sys/vtimes.h rather than vtimes.h.
8792 Add missing *s in vtimes prototype.
8793 (Limits on Resources): Fix ulimit prototype to return long int.
8794 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8795 prototypes to use long int rather than double.
8796 (BSD Random): Fix initstate and setstate to use char *, not void *.
8797 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8798 prototype to make second argument 'struct aiocb64 *const[]'.
8799 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8800 (Status of AIO Operations): Remove erroneous const in aio_return and
8801 aio_return64 prototypes.
8802 (Synchronizing I/O): Fix sync prototype to return void.
8803 * manual/startup.texi (Suboptions): Remove an erroneous const in
8804 getsubopt prototype.
8805 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8806 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8807 use size_t rather than int.
8808 (Scanning All Users): Likewise for getpwent_r.
8809 (Setting Groups): Add missing const to setgroups prototype.
8810 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8811 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8812 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8813 'const void *' rather than 'const char *'.
8814 (Host Address Functions): Likewise for inet_ntop.
8815 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8816 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8817 ssize_t for return value.
8818 (Sending Data): Likewise for send, sendto, sendmsg.
8819 (Socket Option Functions): Add a missing const in setsockopt prototype.
8820 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8821 use wchar_t for the argument.
8822 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8823 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8825 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8826 double/float/long double for second argument.
8827 Fix return types of significand, significandf, significandl.
8828 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8829 argument in fchmod prototype.
8830 (File Owner): Use uid_t and gid_t in fchown prototype.
8831 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8832 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8833 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8834 use 'const struct dirent **' as argument types to CMP function pointer
8836 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8837 (File Times): Fix summary magic @comment for struct utimbuf and utime
8838 to refer to utime.h, not time.h.
8839 * manual/string.texi (Argz Functions): Add missing const in
8840 argz_extract and argz_next prototypes.
8841 (Finding Tokens in a String): Likewise for basename.
8842 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8843 (Copying and Concatenation): Fix typo in wmemmove prototype.
8844 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8845 (Signal Stack): Remove erroneous const in sigstack prototype.
8846 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8848 (Simple Calendar Time): Likewise for stime.
8849 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8851 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8852 say sys/sysctl.h instead.
8853 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8854 and vsyslog prototypes.
8856 2013-02-11 Tom de Vries <tom@codesourcery.com>
8858 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8861 2013-02-11 Roland McGrath <roland@hack.frob.com>
8863 * misc/sys/mman.h: Fix typo in mremap comment.
8865 2013-02-08 Roland McGrath <roland@hack.frob.com>
8867 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8868 the '\0' terminator.
8870 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8873 * debug/segfault.c: Don't include <bp-checks.h>.
8874 * sysdeps/generic/bp-checks.h: Remove file.
8875 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8876 (__GETDENTS): Don't use CHECK_N.
8877 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8878 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8879 (__getgroups): Don't use CHECK_N.
8880 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8881 (setgroups): Don't use CHECK_N.
8882 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8883 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8884 (__libc_msgrcv): Don't use CHECK_N.
8885 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8886 (__libc_msgsnd): Don't use CHECK_N.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8889 (__libc_pread): Don't use CHECK_N.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8891 include <bp-checks.h>.
8892 (__libc_pread64): Don't use CHECK_N.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8894 include <bp-checks.h>.
8895 (__libc_pwrite): Don't use CHECK_N.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8897 include <bp-checks.h>.
8898 (__libc_pwrite64): Don't use CHECK_N.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8901 (__libc_pread): Don't use CHECK_N.
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8903 include <bp-checks.h>.
8904 (__libc_pread64): Don't use CHECK_N.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8906 include <bp-checks.h>.
8907 (__libc_pwrite): Don't use CHECK_N.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8909 include <bp-checks.h>.
8910 (__libc_pwrite64): Don't use CHECK_N.
8911 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8912 (do_pread): Don't use CHECK_N.
8913 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8914 (do_pread64): Don't use CHECK_N.
8915 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8916 (do_pwrite): Don't use CHECK_N.
8917 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8918 (do_pwrite64): Don't use CHECK_N.
8919 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8920 (__libc_readv): Don't use CHECK_N.
8921 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8922 (semop): Don't use CHECK_N.
8923 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8925 (semtimedop): Don't use CHECK_N.
8926 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8927 (__libc_pread): Don't use CHECK_N.
8928 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8930 (__libc_pread64): Don't use CHECK_N.
8931 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8933 (__libc_pwrite): Don't use CHECK_N.
8934 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8936 (__libc_pwrite64): Don't use CHECK_N.
8937 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8939 (__libc_msgrcv): Don't use CHECK_N.
8940 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8941 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8942 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8943 (__libc_writev): Don't use CHECK_N.
8945 2013-02-08 Roland McGrath <roland@hack.frob.com>
8947 * string/strcpy.c: Removed unused variable.
8949 * Makeconfig (+sysdep-includes): Define with := rather than =.
8950 Use an existing include/ subdir of each sysdeps dir before it.
8952 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8954 * nscd/connection.c (register_traced_file): Comment function.
8955 [HAVE_INOTIFY] (union __inev): Define.
8956 [HAVE_INOTIFY] (inotify_check_files): New function.
8957 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8958 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8960 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8962 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8964 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8965 loaded if not already and that a failure is permanent.
8967 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8970 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8971 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8973 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8976 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8977 (CHECK_1_NULL_OK): Likewise.
8978 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8979 (__fxstat): Do not use CHECK_1.
8980 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8982 (___fxstat64): Do not use CHECK_1.
8983 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8985 (__fxstatat): Do not use CHECK_1.
8986 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8988 (__fxstatat64): Do not use CHECK_1.
8989 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8991 (__fxstat): Do not use CHECK_1.
8992 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8994 (__fxstatat): Do not use CHECK_1.
8995 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8997 (__getresgid): Do not use CHECK_1.
8998 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9000 (__getresuid): Do not use CHECK_1.
9001 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9003 (__lxstat): Do not use CHECK_1.
9004 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9006 (__old_msgctl): Do not use CHECK_1.
9007 (__new_msgctl): Likewise.
9008 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9010 (__new_setrlimit): Do not use CHECK_1.
9011 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9013 (__old_shmctl): Do not use CHECK_1.
9014 (__new_shmctl): Likewise.
9015 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9017 (__xstat): Do not use CHECK_1.
9018 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9019 (__lxstat): Do not use CHECK_1.
9020 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9022 (___lxstat64): Do not use CHECK_1.
9023 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9024 (__old_msgctl): Do not use CHECK_1.
9025 (__new_msgctl): Likewise.
9026 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9028 (__gettimeofday): Do not use CHECK_1.
9029 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9030 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9031 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9033 (__gettimeofday): Do not use CHECK_1.
9034 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9035 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9036 (__new_shmctl): Do not use CHECK_1.
9037 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9039 (do_sigtimedwait): Do not use CHECK_1.
9040 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9042 (do_sigwaitinfo): Do not use CHECK_1.
9043 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9045 (msgctl): Do not use CHECK_1.
9046 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9048 (shmctl): Do not use CHECK_1.
9049 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9050 (ustat): Do not use CHECK_1.
9051 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9053 (__fxstat): Do not use CHECK_1.
9054 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9056 (__fxstatat): Do not use CHECK_1.
9057 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9059 (__lxstat): Do not use CHECK_1.
9060 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9062 (__xstat): Do not use CHECK_1.
9063 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9064 (__xstat): Do not use CHECK_1.
9065 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9066 (___xstat64): Do not use CHECK_1.
9069 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9071 (CHECK_BOUNDS_HIGH): Likewise.
9072 * string/strcpy.c: Do not include <bp-checks.h>.
9073 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9075 2013-02-07 Roland McGrath <roland@hack.frob.com>
9077 * nscd/nscd-client.h (__nscd_drop_map_ref):
9078 Add __attribute__ ((unused)).
9079 * nis/nss-nisplus.h (niserr2nss): Likewise.
9081 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9082 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9084 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9085 Remove inline keyword.
9086 * include/rounding-mode.h (round_away): Likewise.
9087 * libio/wfileops.c (adjust_wide_data): Likewise.
9088 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9089 (__m128i_strloadu_tolower): Likewise.
9090 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9091 (__m128i_strloadu_tolower): Likewise.
9092 * time/mktime.c (ydhms_diff): Likewise.
9093 * locale/elem-hash.h (elem_hash): Likewise.
9094 * locale/setlocale.c (setdata): Likewise.
9095 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9096 (re_string_wchar_at): Likewise.
9097 (bitset_not, bitset_merge, bitset_mask): Likewise.
9098 [!(__GNUC__ > 3)] (inline): Remove macro.
9099 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9100 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9101 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9102 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9103 * string/memcmp.c (memcmp_bytes): Likewise.
9104 * locale/programs/locarchive.c (compute_hashval): Likewise.
9105 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9106 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9107 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9108 * nss/getent.c (print_rpc, print_protocols): Likewise.
9109 (print_passwd, print_group, print_aliases): Likewise.
9110 * nis/nss-nisplus.h (niserr2nss): Likewise.
9111 * nscd/connections.c (restart_p): Likewise.
9112 Change return type to bool.
9114 2013-02-05 Roland McGrath <roland@hack.frob.com>
9116 * Makeconfig (all-Depend-files): Add existing
9117 $(sorted-subdirs:=/Depend) files.
9118 (all-subdirs): Remove nss.
9119 * sysdeps/unix/inet/Subdirs: Add it here instead.
9120 * hesiod/Depend: New file.
9122 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9123 instead of calling alloca.
9125 * io/lseek.c (__lseek): Rename to __libc_lseek.
9126 Define __lseek as an alias.
9128 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9130 2013-02-04 Carlos O'Donell <carlos@redhat.com>
9132 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9133 else clause and remove check for non-standard endianness.
9135 2013-02-04 David S. Miller <davem@davemloft.net>
9137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9139 2013-02-04 Joseph Myers <joseph@codesourcery.com>
9142 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9143 (__ubp_memchr): Remove prototype.
9144 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9145 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9146 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9147 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9148 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9150 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9151 (__ubp_memchr): Likewise.
9152 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9153 (__ubp_memchr): Likewise.
9154 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9155 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9156 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9157 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9159 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9160 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9161 (__getcwd): Do not use CHECK_STRING.
9162 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9164 (__real_chown): Do not use CHECK_STRING.
9165 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9167 (fchownat): Do not use CHECK_STRING.
9168 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9170 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9172 (__lchown): Do not use CHECK_STRING.
9173 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9174 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9175 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9176 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9178 include <bp-checks.h>.
9179 (truncate64): Do not use CHECK_STRING.
9180 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9182 (__real_chown): Do not use CHECK_STRING.
9183 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9185 (__lchown): Do not use CHECK_STRING.
9186 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9188 (__chown): Do not use CHECK_STRING.
9189 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9191 (truncate64): Do not use CHECK_STRING.
9192 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9194 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9195 (__xmknod): Do not use CHECK_STRING.
9196 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9198 (__xmknodat): Do not use CHECK_STRING.
9199 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9200 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9202 2013-02-04 Andreas Schwab <schwab@suse.de>
9205 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9206 * include/netdb.h: Likewise for h_errno.
9207 * elf/tst-stackguard1.c: Include <tls.h>.
9209 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9211 * elf/link.h (struct link_map): Extend the l_addr comment.
9212 * include/link.h (struct link_map): Likewise.
9214 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9217 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9218 (BOUNDED_1): Remove macro.
9219 * debug/backtrace.c: Don't include <bp-checks.h>.
9220 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9221 (__backtrace): Likewise.
9222 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9224 (__backtrace): Don't use BOUNDED_1.
9225 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9227 (__backtrace): Don't use BOUNDED_1.
9228 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9229 (__backtrace): Don't use BOUNDED_1.
9230 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9231 (shmat): Don't use BOUNDED_N.
9233 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9236 * sysdeps/generic/bp-start.h: Remove file.
9237 * csu/libc-start.c: Don't include <bp-start.h>.
9238 (LIBC_START_MAIN): Set up __environ directly instead of using
9239 INIT_ARGV_and_ENVIRON.
9240 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9244 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9246 (CHECK_FCNTL): Likewise.
9247 (CHECK_N_PAGES): Likewise.
9250 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9252 (CHECK_SIGSET_NULL_OK): Likewise.
9253 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9255 (sigpending): Don't use CHECK_SIGSET.
9256 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9258 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9259 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9261 (do_sigsuspend): Don't use CHECK_SIGSET.
9262 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9264 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9265 (do_sigwait): Don't use CHECK_SIGSET.
9266 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9269 include <bp-checks.h>.
9270 (sigpending): Don't use CHECK_SIGSET.
9271 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9272 include <bp-checks.h>.
9273 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9274 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9276 (sigpending): Don't use CHECK_SIGSET.
9277 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9279 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9282 * sysdeps/generic/bp-semctl.h: Remove file.
9283 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9284 <bp-checks.h> and <bp-semctl.h>.
9285 (__old_semctl): Don't use CHECK_SEMCTL.
9286 (__new_semctl): Likewise.
9287 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9289 (__old_semctl): Don't use CHECK_SEMCTL.
9290 (__new_semctl): Likewise.
9291 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9292 <bp-checks.h> and <bp-semctl.h>.
9293 (__old_semctl): Don't use CHECK_SEMCTL.
9294 (__new_semctl): Likewise.
9295 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9296 <bp-checks.h> and <bp-semctl.h>.
9297 (semctl): Don't use CHECK_SEMCTL.
9300 * Makerules (elide-bp-thunks): Remove variable.
9301 (elide-routines.oS): Don't use $(elide-bp-thunks).
9302 (elide-routines.os): Likewise.
9303 (elide-routines.o): Likewise.
9304 (elide-routines.op): Likewise.
9305 (elide-routines.og): Likewise.
9306 (objects): Don't use $(bp-thunks).
9307 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9309 (common-generated): Do not add s-proto-bp.d.
9310 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9313 Do not generate makefile rules for bounded-pointer thunks.
9314 * sysdeps/generic/bp-thunks.h: Remove file.
9315 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9316 * sysdeps/unix/s-proto-bp.S: Likewise.
9319 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9320 parts of result separately when argument is not close to line from
9321 -i to i and one part of argument is small.
9322 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9323 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9324 * math/libm-test.inc (cacos_test): Add more tests.
9325 (casin_test): Likewise.
9326 (casinh_test): Likewise.
9327 * sysdeps/i386/fpu/libm-test-ulps: Update.
9328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9330 2013-01-31 David S. Miller <davem@davemloft.net>
9332 * po/de.po: Update from translation team.
9334 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9336 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9338 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9340 * configure.in (_AC_PROG_CC_C89): New definition.
9341 * configure: Regenerate.
9343 * configure.in (AC_PROG_CPP): New definition.
9344 * configure: Regenerate.
9346 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9348 * debug/tst-backtrace.h: New file.
9349 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9350 (ret): Remove variable.
9352 (FAIL): Remove macro.
9353 (NO_INLINE): Likewise.
9354 (fn1): Use match function instead of strstr.
9355 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9356 (ret): Remove variable.
9358 (FAIL): Remove macro.
9359 (NO_INLINE): Likewise.
9360 (fn): Use match function instead of strstr.
9361 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9362 (ret): Remove variable.
9364 (FAIL): Remove macro.
9365 (NO_INLINE): Likewise.
9366 (handle_signal): Use match function instead of strstr.
9367 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9368 (ret): Remove variable.
9370 (FAIL): Remove macro.
9371 (NO_INLINE): Likewise.
9372 (handle_signal): Use match function instead of strstr.
9374 2013-01-23 Roland McGrath <roland@hack.frob.com>
9376 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9378 2013-01-23 David S. Miller <davem@davemloft.net>
9380 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9381 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9382 argument of CAS if possible.
9383 * sysdeps/sparc/sparc64/bits/atomic.h
9384 (__arch_compare_and_exchange_val_32_acq): Likewise.
9385 (__arch_compare_and_exchange_val_64_acq): Likewise.
9387 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9389 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9390 * sysdeps/posix/ulimit.c: ... this.
9392 * sysdeps/unix/bsd/ulimit.c: Remove file.
9394 2013-01-23 Adam Conrad <adconrad@0c3.net>
9396 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9397 (LDFLAGS-tst-array5): Likewise.
9399 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9402 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9403 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9404 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9405 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9407 2013-01-21 David S. Miller <davem@davemloft.net>
9409 * sysdeps/sparc/backtrace.c: New file.
9410 * sysdeps/sparc/sparc32/backtrace.h: New file.
9411 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9412 * sysdeps/sparc/sparc64/backtrace.h: New file.
9413 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9414 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9417 2013-01-21 Andreas Schwab <schwab@suse.de>
9420 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9423 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9429 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9430 Mark Mitchell <mark@codesourcery.com>
9431 Tom de Vries <tom@codesourcery.com>
9432 Paul Pluzhnikov <ppluzhnikov@google.com>
9434 * debug/tst-backtrace2.c: New file.
9435 * debug/tst-backtrace3.c: Likewise.
9436 * debug/tst-backtrace4.c: Likewise.
9437 * debug/tst-backtrace5.c: Likewise.
9438 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9439 (CFLAGS-tst-backtrace3.c): Likewise.
9440 (CFLAGS-tst-backtrace4.c): Likewise.
9441 (CFLAGS-tst-backtrace5.c): Likewise.
9442 (LDFLAGS-tst-backtrace2): Likewise.
9443 (LDFLAGS-tst-backtrace3): Likewise.
9444 (LDFLAGS-tst-backtrace4): Likewise.
9445 (LDFLAGS-tst-backtrace5): Likewise.
9446 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9447 tst-backtrace4 and tst-backtrace5.
9449 2013-01-18 Anton Blanchard <anton@samba.org>
9450 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9452 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9453 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9454 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9455 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9457 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9458 "+r" and remove output regs list as redundant. Add explicit inline
9459 asm to specify register of return val to work around compiler codegen
9460 bug. Remove (int) cast on return value. Add return type parameter to
9461 use in macro so that this macro does not truncate return value for
9463 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9464 pass to INTERNAL_VSYSCALL_NCS.
9465 (INLINE_VSYSCALL): Add 'long int' as return type to
9466 INTERNAL_VSYSCALL_NCS macro invocation.
9467 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9468 INTERNAL_VSYSCALL_NCS macro invocation.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9471 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9474 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9475 Fix application of SIMD FP exception mask.
9477 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9478 mp_no from a power of two.
9479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9480 __mpexp_twomm1. Use __pow_mp.
9482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9485 2013-01-17 David S. Miller <davem@davemloft.net>
9487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9489 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9492 * include/complex.h: Condition contents on [!_COMPLEX_H].
9493 (__kernel_casinhf): New prototype.
9494 (__kernel_casinh): Likewise.
9495 (__kernel_casinhl): Likewise.
9496 * math/Makefile (libm_calls): Add k_casinh.
9497 * math/k_casinh.c: New file.
9498 * math/k_casinhf.c: Likewise.
9499 * math/k_casinhl.c: Likewise.
9500 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9501 finite nonzero arguments.
9502 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9503 finite nonzero arguments.
9504 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9505 finite nonzero arguments.
9506 * math/s_casinh.c: Do not include <float.h>.
9507 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9508 * math/s_casinhf.c: Do not include <float.h>.
9509 (__casinhf): Move code for finite nonzero arguments to
9511 * math/s_casinhl.c: Do not include <float.h>.
9512 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9514 (__casinhl): Move code for finite nonzero arguments to
9516 * math/libm-test.inc (cacos_test): Add more tests.
9517 * sysdeps/i386/fpu/libm-test-ulps: Update.
9518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9520 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9522 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9523 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9524 [!HAVE_MREMAP]: Remove [defined linux] case.
9525 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9527 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9529 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9531 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9533 * elf/elf.h (R_386_SIZE32): New relocation.
9534 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9536 (elf_machine_rela): Likewise.
9537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9538 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9540 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9542 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9543 (FP_FAST_FMA): Do not define.
9544 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9545 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9546 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9547 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9548 !_SOFT_FLOAT]: Likewise.
9549 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9550 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9552 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9553 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9554 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9555 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9556 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9557 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9560 2013-01-16 Andreas Schwab <schwab@suse.de>
9563 * include/stdlib.h (__mktemp): Add declaration.
9564 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9565 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9567 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9569 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9571 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9572 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9573 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9575 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9576 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9578 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9580 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9581 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9582 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9584 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9585 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9587 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9589 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9591 2013-01-15 David S. Miller <davem@davemloft.net>
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9594 trunc{,f} to libm-sysdep_routes.
9595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9605 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9606 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9607 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9608 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9609 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9610 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9613 nearbyint{,f} to libm-sysdep_routes.
9614 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9625 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9627 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9628 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9630 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9631 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9632 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9634 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9635 libc_feholdexcept and libc_fesetenv.
9637 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9639 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9641 2013-01-14 David S. Miller <davem@davemloft.net>
9643 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9644 (SPARC_ASM_VIS2_IFUNC): Likewise.
9645 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9647 use of 'siam' instruction.
9648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9681 routines to libm-sysdep_routines.
9682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9685 fdim/fdimf to libm-sysdep_routines.
9686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9694 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9695 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9696 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9697 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9699 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9701 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9704 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9709 local variable MPTWO.
9710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9713 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9715 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9718 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9720 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9722 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9724 * manual/pattern.texi (glob_t): Document gl_flags.
9725 (glob64_t): Likewise.
9727 2013-01-11 David S. Miller <davem@davemloft.net>
9729 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9730 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9731 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9732 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9733 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9734 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9735 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9736 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9737 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9738 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9739 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9740 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9741 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9743 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9744 sparc V9 rather than using V8 code.
9745 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9746 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9753 2013-01-11 Roland McGrath <roland@hack.frob.com>
9755 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9756 not in the main loop.
9757 * configure: Regenerated.
9759 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9761 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9762 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9764 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9765 [!__GLIBC_HAVE_LONG_LONG] case.
9766 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9767 condition to just #else.
9768 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9769 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9770 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9771 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9773 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9774 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9775 #elif condition to just #else.
9776 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9777 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9778 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9779 #elif condition to just #else.
9781 2013-01-11 Steve Ellcey <sellcey@mips.com>
9783 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9784 (EF_MIPS_ARCH_64): Fix value.
9785 (EF_MIPS_ARCH_32R2): New.
9786 (EF_MIPS_ARCH_64R2): New.
9788 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9790 * Makeconfig (+link-pie-before-libc): New.
9791 (+link-pie-after-libc): Likewise.
9792 (+link-pie-tests): Likewise.
9793 (+link-pie): Rewritten.
9794 (link-before-libc): Remove $(config-LDFLAGS).
9795 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9796 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9797 (config-LDFLAGS): Renamed to ...
9798 (rtld-LDFLAGS): This.
9799 (rtld-tests-LDFLAGS): New macro.
9800 (link-libc-rpath-link): Likewise.
9801 (link-libc-tests-rpath-link): Likewise.
9802 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9803 (link-libc): Prepand $(link-libc-rpath-link).
9804 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9805 (test-program-prefix): New macro.
9806 (test-via-rtld-prefix): Likewise.
9807 (test-program-cmd): Likewise.
9808 (host-test-program-cmd): Likewise.
9809 * Makefile ($(common-objpfx)testrun.sh): Replace
9810 $(run-program-prefix) with $(test-program-prefix).
9811 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9813 ($(common-objpfx)shlib.lds): Likewise.
9814 (build-module-helper): Likewise.
9815 ($(common-objpfx)format.lds): Likewise.
9816 * Rules (binaries-pie-tests): New.
9817 (binaries-pie-notests): Likewise.
9818 (binaries-pie): Rewritten.
9819 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9820 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9821 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9822 (make-test-out): Replace $(host-built-program-cmd) with
9823 $(host-test-program-cmd).
9824 * config.make.in (build-hardcoded-path-in-tests): New variable.
9825 * configure.in (--enable-hardcoded-path-in-tests): New configure
9827 (hardcoded_path_in_tests): New AC_SUBST.
9828 * configure: Regenerated.
9829 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9830 $(built-program-cmd) with $(test-program-cmd).
9831 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9832 (test_program_cmd): This.
9833 * elf/Makefile ($(objpfx)order.out): Run test with
9834 $(test-program-prefix).
9835 ($(objpfx)order2.out): Likewise.
9836 ($(objpfx)tst-initorder.out): Likewise.
9837 ($(objpfx)tst-initorder2.out): Likewise.
9838 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9839 $(test-program-cmd).
9840 ($(objpfx)tst-array1-static.out): Likewise.
9841 ($(objpfx)tst-array2.out): Likewise.
9842 ($(objpfx)tst-array3.out): Likewise.
9843 ($(objpfx)tst-array4.out): Likewise.
9844 ($(objpfx)tst-array5.out): Likewise.
9845 ($(objpfx)tst-array5-static.out): Likewise.
9846 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9847 $(test-program-cmd).
9848 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9849 $(run-program-prefix) with $(test-program-prefix).
9850 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9851 (test_program_prefix): This.
9852 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9853 $(run-program-prefix) with $(test-program-prefix).
9854 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9855 (test_program_prefix): This.
9856 * iconvdata/tst-tables.sh: Likewise.
9857 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9858 $(run-program-prefix) with $(test-program-prefix).
9859 ($(objpfx)tst-translit.out): Likewise.
9860 ($(objpfx)tst-gettext2.out): Likewise.
9861 ($(objpfx)tst-gettext4.out): Likewise.
9862 ($(objpfx)tst-gettext6.out): Likewise.
9863 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9864 (test_program_prefix): This.
9865 * intl/tst-gettext2.sh: Likewise.
9866 * intl/tst-gettext4.sh Likewise.
9867 * intl/tst-gettext6.sh: Likewise.
9868 * intl/tst-translit.sh: Likewise.
9869 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9870 with $(test-program-cmd).
9871 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9872 $(run-program-prefix) with $(test-program-prefix).
9873 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9874 (test_program_prefix): This.
9875 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9876 $(run-program-prefix) with $(test-program-prefix).
9877 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9878 (test_program_prefix): This.
9879 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9880 * posix/Makefile ($(objpfx)globtest.out): Replace
9881 $(run-via-rtld-prefix) and $(test-wrapper) with
9882 $(test-program-prefix) and $(test-via-rtld-prefix).
9883 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9884 $(test-program-prefix).
9885 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9886 $(host-test-program-cmd).
9887 (tst-spawn-ARGS): Likewise.
9888 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9889 $(test-program-prefix).
9890 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9891 (test_via_rtld_prefix): This.
9892 (test_wrapper): Renamed to ...
9893 (test_program_prefix): This.
9894 (run_program_prefix): Replaced by test_program_prefix.
9895 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9896 (test_program_prefix): This.
9897 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9898 with $(host-test-program-cmd).
9899 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9900 $(run-program-prefix) with $(test-program-prefix).
9901 ($(objpfx)tst-printf.out): Likewise.
9902 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9903 $(test-program-cmd).
9904 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9905 (test_program_prefix): This.
9906 * stdio-common/tst-unbputc.sh: Likewise.
9907 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9908 $(run-program-prefix) with $(test-program-prefix).
9909 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9910 (test_program_prefix): This.
9911 * string/Makefile ($(objpfx)tst-svc.out): Replace
9912 $(built-program-cmd) with $(test-program-cmd).
9914 2013-01-11 Andreas Jaeger <aj@suse.de>
9917 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9918 value. Sync with Linux 3.7.
9920 2013-01-10 David S. Miller <davem@davemloft.net>
9922 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9923 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9924 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9926 2013-01-10 Roland McGrath <roland@hack.frob.com>
9928 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9930 * configure: Regenerated.
9932 2013-01-10 David S. Miller <davem@davemloft.net>
9934 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9935 sparc V9 rather than using V8 code.
9936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9939 2013-01-10 Roland McGrath <roland@hack.frob.com>
9941 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9942 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9943 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9944 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9945 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9946 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9947 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9948 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9949 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9950 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9951 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9952 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9953 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9954 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9955 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9956 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9957 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9958 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9959 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9960 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9961 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9962 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9963 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9964 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9965 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9966 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9967 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9969 2013-01-10 David S. Miller <davem@davemloft.net>
9971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9973 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9975 * posix/Makefile (tests-static): New variable.
9976 (tests): Add $(tests-static).
9977 (tst-exec-static-ARGS): New variable.
9978 (tst-spawn-static-ARGS): Likewise.
9979 * posix/tst-exec-static.c: New file.
9980 * posix/tst-spawn-static.c: Likewise.
9981 * posix/tst-exec.c: Support run directly.
9982 * posix/tst-spawn.c: Likewise.
9984 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9986 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9988 * math/bits/mathcalls.h (llrint): Likewise.
9989 (llround): Likewise.
9990 * stdlib/stdlib.h (struct drand48_data): Likewise.
9991 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9992 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9995 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9997 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9998 (elf_greg_t): Likewise.
9999 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10000 (__jmp_buf): Likewise.
10001 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10003 (llrint): Likewise, for all definitions.
10004 (llrintl): Likewise.
10006 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10007 Remove [__GNUC__] condition.
10008 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10009 condition to just [__USE_ISOC99].
10010 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10012 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10015 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10016 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10018 (_POSIX_V6_ILP32_OFF32): Likewise.
10019 (_XBS5_ILP32_OFF32): Likewise.
10020 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10021 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10023 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10025 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10028 doubles __mpexp_twomm1. Adjust usage.
10029 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10032 2013-01-10 Andreas Schwab <schwab@suse.de>
10035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10036 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10038 2013-01-09 David S. Miller <davem@davemloft.net>
10041 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10042 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10043 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10044 TCP_FASTOPEN): Define.
10045 (tcp_repair_opt): New structure.
10046 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10048 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10049 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10050 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10051 (tcp_cookie_transactions): New structure.
10053 2013-01-09 Anton Blanchard <anton@samba.org>
10055 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10056 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10057 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10058 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10060 2013-01-09 Joseph Myers <joseph@codesourcery.com>
10062 * include/features.h (__USE_ANSI): Remove.
10064 2013-01-09 Roland McGrath <roland@hack.frob.com>
10066 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10068 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10070 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10072 * sysdeps/s390/fpu/libm-test-ulps: Update.
10074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10076 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10080 (denorm): Likewise.
10081 (__mp_dbl): Likewise.
10082 (__dbl_mp): Likewise.
10083 (add_magnitudes): Likewise.
10084 (sub_magnitudes): Likewise.
10090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10094 (denorm): Likewise.
10095 (__mp_dbl): Likewise.
10096 (__dbl_mp): Likewise.
10097 (add_magnitudes): Likewise.
10098 (sub_magnitudes): Likewise.
10104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10108 (denorm): Likewise.
10109 (__mp_dbl): Likewise.
10110 (__dbl_mp): Likewise.
10111 (add_magnitudes): Likewise.
10112 (sub_magnitudes): Likewise.
10119 2013-01-08 Joseph Myers <joseph@codesourcery.com>
10121 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10122 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10123 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10124 2 && __USE_EXTERN_INLINES]: Likewise.
10126 2013-01-08 Andreas Jaeger <aj@suse.de>
10129 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10131 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10132 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10134 2013-01-07 Anton Blanchard <anton@samba.org>
10136 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10137 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10138 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10139 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10140 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10141 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10142 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10143 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10145 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10147 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10148 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10152 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10154 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10157 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10159 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10160 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10161 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10162 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10163 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10164 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10165 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10166 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10168 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10169 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10170 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10171 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10174 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10176 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10177 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10178 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10180 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10182 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10183 (__MALLOC_PMT): Likewise.
10184 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10185 [__GNUC__], only on [_LIBC].
10186 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10187 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10188 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10189 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10190 forward declaration.
10191 (realloc_hook_ini): Likewise.
10192 (memalign_hook_ini): Likewise.
10193 (__libc_memalign): Do not use __MALLOC_PMT in variable
10195 (__libc_valloc): Likewise.
10196 (__libc_pvalloc): Likewise.
10197 (__libc_calloc): Likewise.
10198 (__posix_memalign): Likewise.
10201 * math/s_casinh.c: Include <float.h>.
10202 (__casinh): Do not do computation with squaring and square root
10203 for large arguments.
10204 * math/s_casinhf.c: Include <float.h>.
10205 (__casinhf): Do not do computation with squaring and square root
10206 for large arguments.
10207 * math/s_casinhl.c: Include <float.h>.
10208 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10209 (__casinhl): Do not do computation with squaring and square root
10210 for large arguments.
10211 * math/libm-test.inc (casin_test): Add more tests.
10212 (casinh_test): Likewise.
10213 * sysdeps/i386/fpu/libm-test-ulps: Update.
10214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10216 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10218 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10219 (__x86_64_raw_data_cache_size): Likewise.
10220 (__x86_64_data_cache_size_half): Likewise.
10221 (__x86_64_raw_data_cache_size_half): Likewise.
10222 (__x86_64_shared_cache_size): Likewise.
10223 (__x86_64_raw_shared_cache_size): Likewise.
10224 (__x86_64_shared_cache_size_half): Likewise.
10225 (__x86_64_raw_shared_cache_size_half): Likewise.
10226 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10228 (__x86_data_cache_size): This.
10229 (__x86_64_raw_data_cache_size): Renamed to ...
10230 (__x86_raw_data_cache_size): This.
10231 (__x86_64_data_cache_size_half): Renamed to ...
10232 (__x86_data_cache_size_half): This.
10233 (__x86_64_raw_data_cache_size_half): Renamed to ...
10234 (__x86_raw_data_cache_size_half): This.
10235 (__x86_64_shared_cache_size): Renamed to ...
10236 (__x86_shared_cache_size): This.
10237 (__x86_64_raw_shared_cache_size): Renamed to ...
10238 (__x86_raw_shared_cache_size): This.
10239 (__x86_64_shared_cache_size_half): Renamed to ...
10240 (__x86_shared_cache_size_half): This.
10241 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10242 (__x86_raw_shared_cache_size_half): This.
10243 * sysdeps/x86_64/memcpy.S: Updated.
10244 * sysdeps/x86_64/memset.S: Likewise.
10245 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10249 2013-01-04 David S. Miller <davem@davemloft.net>
10251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10253 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10255 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10256 1 to avoid redefinition warning.
10257 (__USE_GNU): Don't define.
10258 (init_signaling_nan): Protoize.
10260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10262 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10264 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10266 (__cpymn): Likewise.
10267 (norm): Remove commented code.
10268 (denorm): Likewise.
10269 (__mp_dbl): Likewise.
10271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10272 (__cpymn): Likewise.
10273 (norm): Remove commented code.
10274 (denorm): Likewise.
10275 (__mp_dbl): Likewise.
10278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10279 mp_no value for 1.0 and 2.0.
10280 (norm): Use RADIXI instead of radixi.d.
10281 (denorm): Likewise.
10282 (__mul): Use 0.0 instead of zero.d.
10283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10284 mp_no value for 1.0 and 2.0.
10285 (norm): Use RADIXI instead of radixi.d.
10286 (denorm): Likewise.
10287 (__mul): Use 0.0 instead of zero.d.
10289 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10292 * math/s_casinh.c (__casinh): Reduce finite argument to first
10293 quadrant then set signs of results at the end.
10294 * math/s_casinhf.c (__casinhf): Likewise.
10295 * math/s_casinhl.c (__casinhl): Likewise.
10296 * math/libm-test.inc (casin_test): Add more tests.
10297 (casinh_test): Likewise.
10298 * sysdeps/i386/fpu/libm-test-ulps: Update.
10299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10301 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10303 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10305 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10307 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10309 (denorm): Likewise.
10310 (__mp_dbl): Likewise.
10313 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10314 and adjust the header comment.
10316 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10317 variable name from declaration.
10319 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10322 Initialize COMMON_CPUID_INDEX_7 element.
10323 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10324 (CPUID_RTM): Likewise.
10325 (HAS_RTM): Likewise.
10326 (COMMON_CPUID_INDEX_7): New enum.
10328 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10331 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10332 size is zero, record memory as freed.
10334 2013-01-03 Andreas Jaeger <aj@suse.de>
10336 * po/ia.po: Add new Interlingua translation.
10338 2012-01-03 Allan McRae <allan@archlinux.org>
10340 * locale/programs/localedef.c: Fix description of '--posix' flag.
10342 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10344 * NEWS: Update dates in second copyright notice.
10345 * README: Update copyright dates in example.
10346 * manual/libc.texinfo: Update copyright dates.
10347 * scripts/test-installation.pl: Update copyright date in --version
10350 * hurd/ctty-input.c: Fix copyright notice formatting.
10351 * hurd/ctty-output.c: Likewise.
10352 * hurd/dtable.c: Likewise.
10353 * hurd/hurd-raise.c: Likewise.
10354 * hurd/hurdprio.c: Likewise.
10355 * hurd/msgportdemux.c: Likewise.
10356 * misc/sys/file.h: Likewise.
10357 * misc/sys/ioctl.h: Likewise.
10358 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10359 * sysdeps/mach/hurd/chdir.c: Likewise.
10360 * sysdeps/mach/hurd/fchdir.c: Likewise.
10361 * sysdeps/mach/hurd/rename.c: Likewise.
10362 * sysdeps/mach/hurd/rmdir.c: Likewise.
10363 * sysdeps/mach/hurd/seekdir.c: Likewise.
10364 * sysdeps/mach/hurd/setsid.c: Likewise.
10365 * sysdeps/posix/wait3.c: Likewise.
10367 * All files with FSF copyright notices: Update copyright dates
10368 using scripts/update-copyrights.
10369 * intl/plural.c: Regenerated.
10370 * locale/programs/charmap-kw.h: Likewise.
10371 * locale/programs/locfile-kw.h: Likewise.
10373 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10375 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10378 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10379 calculation loop and add branch prediction.
10381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10382 check access beyond bounds of m1np.
10384 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10386 (__inv): Remove local variable MPTWO to use the global
10388 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10391 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10392 MP3HALFS static const.
10394 2013-01-01 David S. Miller <davem@davemloft.net>
10396 * po/ca.po: Update from translation team.
10398 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10400 * scripts/update-copyrights: New file.
10401 * Makeconfig: Reformat copyright notice.
10402 * ctype/ctype.h: Likewise.
10403 * debug/swprintf_chk.c: Likewise.
10404 * elf/dl-cache.c: Likewise.
10405 * elf/dl-debug.c: Likewise.
10406 * elf/dl-object.c: Likewise.
10407 * grp/initgroups.c: Likewise.
10408 * hurd/Makefile: Likewise.
10409 * hurd/hurd/signal.h: Likewise.
10410 * hurd/hurdfault.c: Likewise.
10411 * hurd/hurdioctl.c: Likewise.
10412 * hurd/hurdlookup.c: Likewise.
10413 * hurd/intr-msg.c: Likewise.
10414 * iconv/gconv_open.c: Likewise.
10415 * libio/swprintf.c: Likewise.
10416 * locale/lc-ctype.c: Likewise.
10417 * locale/nl_langinfo.c: Likewise.
10418 * mach/Machrules: Likewise.
10419 * mach/Makefile: Likewise.
10420 * malloc/obstack.h: Likewise.
10421 * manual/Makefile: Likewise.
10422 * manual/tsort.awk: Likewise.
10423 * misc/bits/stab.def: Likewise.
10424 * nis/nis_print_group_entry.c: Likewise.
10425 * nis/nis_table.c: Likewise.
10426 * nis/nss_compat/compat-pwd.c: Likewise.
10427 * nis/nss_compat/compat-spwd.c: Likewise.
10428 * po/Makefile: Likewise.
10429 * posix/fnmatch.c: Likewise.
10430 * posix/regex.h: Likewise.
10431 * resolv/Makefile: Likewise.
10432 * resolv/nss_dns/dns-network.c: Likewise.
10433 * resolv/res_hconf.c: Likewise.
10434 * scripts/gen-sorted.awk: Likewise.
10435 * soft-fp/soft-fp.h: Likewise.
10436 * stdio-common/printf.h: Likewise.
10437 * stdlib/monetary.h: Likewise.
10438 * stdlib/random.c: Likewise.
10439 * stdlib/random_r.c: Likewise.
10440 * sysdeps/generic/Makefile: Likewise.
10441 * sysdeps/gnu/Makefile: Likewise.
10442 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10470 * sysdeps/mach/hurd/errnos.awk: Likewise.
10471 * sysdeps/mach/hurd/fork.c: Likewise.
10472 * sysdeps/mach/hurd/getcwd.c: Likewise.
10473 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10474 * sysdeps/mach/hurd/mmap.c: Likewise.
10475 * sysdeps/mach/hurd/utimes.c: Likewise.
10476 * sysdeps/mach/hurd/xmknod.c: Likewise.
10477 * sysdeps/posix/profil.c: Likewise.
10478 * sysdeps/posix/readdir_r.c: Likewise.
10479 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10480 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10481 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10482 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10486 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10488 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10489 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10490 * sysdeps/pthread/lio_listio.c: Likewise.
10491 * sysdeps/sparc/dl-procinfo.h: Likewise.
10492 * sysdeps/unix/i386/sysdep.S: Likewise.
10493 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10494 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10495 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10496 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10498 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10499 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10500 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10501 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10502 * sysdeps/wordsize-32/divdi3.c: Likewise.
10503 * time/sys/time.h: Likewise.
10504 * wcsmbs/Makefile: Likewise.
10506 2013-01-01 David S. Miller <davem@davemloft.net>
10508 * po/fr.po: Update from translation team.
10510 * catgets/gencat.c: Update copyright year.
10511 * csu/version.c: Likewise.
10512 * debug/catchsegv.sh: Likewise.
10513 * debug/pcprofiledump.c: Likewise.
10514 * debug/xtrace.sh: Likewise.
10515 * elf/ldconfig.c: Likewise.
10516 * elf/ldd.bash.in: Likewise.
10517 * elf/pldd.c: Likewise.
10518 * elf/sotruss.ksh: Likewise.
10519 * elf/sprof.c: Likewise.
10520 * iconv/iconv_prog.c: Likewise.
10521 * iconv/iconvconfig.c: Likewise.
10522 * locale/programs/locale.c: Likewise.
10523 * locale/programs/localedef.c: Likewise.
10524 * login/programs/pt_chown.c: Likewise.
10525 * malloc/memusage.sh: Likewise.
10526 * malloc/memusagestat.c: Likewise.
10527 * malloc/mtrace.pl: Likewise.
10528 * nscd/nscd.c: Likewise.
10529 * nss/getent.c: Likewise.
10530 * nss/makedb.c: Likewise.
10531 * posix/getconf.c: Likewise.
10533 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10535 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10538 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10540 * math/bits/mathcalls.h (modf): Use __nonnull.
10542 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10544 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10545 (split): Use macro CN instead of the bare value.
10546 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10549 instead of the bare value.
10550 (power1): Likewise.
10552 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10554 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10556 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10558 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10560 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10561 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10562 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10563 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10565 2012-12-28 Andreas Jaeger <aj@suse.de>
10567 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10568 values are from Linux 3.7.
10570 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10571 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10573 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10575 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10578 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10580 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10581 variables with preprocessor constants.
10582 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10583 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10586 2012-12-27 Bruno Haible <bruno@clisp.org>
10589 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10592 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10594 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10595 and use variable directly.
10596 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10598 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10600 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10601 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10603 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10605 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10606 include directive. Remove local variable MPONE.
10607 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10608 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10609 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10611 2012-12-25 David S. Miller <davem@davemloft.net>
10613 * version.h (RELEASE): Set to "development".
10614 (VERSION): Set to "2.17.90".
10615 * NEWS: Add 2.18 section.
10617 2012-12-21 David S. Miller <davem@davemloft.net>
10619 * po/hr.po: Update from translation team.
10621 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10623 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10625 2012-12-19 Steve Ellcey <sellcey@mips.com>
10627 * NEWS: Mention new memcpy for MIPS.
10629 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10631 * manual/contrib.texi (Contributors): Spelling correction.
10633 2012-12-15 David S. Miller <davem@davemloft.net>
10635 * po/ru.po: Update from translation team.
10637 2012-12-13 David S. Miller <davem@davemloft.net>
10639 * NEWS: Mention IFUNC testsuite enhancements.
10641 * po/pl.po: Update from translation team.
10642 * po/bg.po: Likewise.
10644 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10645 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10647 2012-12-11 David S. Miller <davem@davemloft.net>
10649 * po/sv.po: Update from translation team.
10651 * po/vi.po: Update from translation team.
10653 * po/cs.po: Update from translation team.
10655 * po/de.po: Update from translation team.
10656 * po/eo.po: Likewise.
10657 * po/nl.po: Likewise.
10659 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10662 * manual/argp.texi (Argp Helper Functions): Move node to follow
10663 Argp Parsing State.
10666 * manual/conf.texi (Limits on File System Capacity): Mention if
10667 terminating null is included in the max size.
10669 2012-12-10 Andreas Jaeger <aj@suse.de>
10671 * po/cs.po: Update from translation team.
10673 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10675 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10676 void pointer and cast to uintptr_t.
10677 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10679 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10680 * sysdeps/s390/s390-64/memset.S: Likewise.
10682 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10685 * menual/message.texi (Message Translation): Fix typos.
10686 (Helper programs for gettext): Likewise.
10688 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10691 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10694 2012-12-07 David S. Miller <davem@davemloft.net>
10696 * po/libc.pot: Update.
10698 2012-12-07 Richard Henderson <rth@redhat.com>
10701 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10702 normal/normal case to before the switch.
10703 (_FP_DIV): Likewise.
10705 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10706 Mike Frysinger <vapier@gentoo.org>
10708 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10709 check for __NR_fadvise64_64.
10711 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10713 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10714 0, not just to plain "0" as a statement.
10715 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10718 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10720 * NEWS: Use sourceware.org in Bugzilla URL.
10722 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10725 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10727 * stdio-common/tst-put-error.c (do_test): Add newline to the
10728 padded test to ensure flush.
10730 2012-12-05 Jeff Law <law@redhat.com>
10732 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10734 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10736 * README: Don't refer to ports add-on as distributed separately.
10737 Mention AArch64 in list of systems supported in the ports add-on.
10739 * LICENSES: Add more non-FSF copyright and license notices.
10741 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10744 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10746 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10747 10000 as width of padded output.
10749 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10751 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10754 variable LX with __attribute__ ((unused)).
10755 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10757 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10760 with __attribute__ ((unused)).
10762 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10764 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10766 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10768 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10769 (CFLAGS-nldbl-acos.c): New variable.
10770 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10771 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10772 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10773 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10774 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10775 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10776 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10777 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10778 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10779 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10780 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10781 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10782 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10783 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10784 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10785 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10786 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10787 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10788 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10789 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10790 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10791 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10792 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10793 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10794 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10795 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10796 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10797 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10798 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10799 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10800 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10801 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10802 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10803 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10804 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10805 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10806 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10807 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10808 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10809 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10810 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10811 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10812 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10813 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10814 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10815 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10816 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10817 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10818 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10819 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10820 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10821 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10822 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10823 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10824 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10825 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10826 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10827 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10828 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10829 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10830 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10831 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10832 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10833 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10834 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10835 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10836 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10837 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10838 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10839 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10840 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10841 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10842 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10843 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10844 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10845 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10846 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10847 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10848 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10849 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10850 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10851 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10852 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10853 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10854 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10855 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10856 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10857 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10858 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10859 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10860 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10861 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10862 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10863 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10864 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10865 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10866 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10869 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10872 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10873 whole low double instead of just low 47 bits when splitting values
10876 2012-12-03 Allan McRae <allan@archlinux.org>
10878 * manual/stdio.texi (Predefined Printf Handlers): Remove
10879 @hsep and @vsep usage.
10881 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10883 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10884 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10886 2012-12-03 Jeff Law <law@redhat.com>
10888 * time/sys/time.h (settimeofday): Do not mark TV argument
10891 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10893 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10894 when currently writing and seek to current position when not.
10895 * libio/Makefile (tests): Remove bug-fclose1.
10896 * libio/bug-fclose1.c: Delete.
10898 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10900 * manual/arith.texi (feenableexcept): Fix typo.
10901 (fedisableexcept): Likewise.
10903 2012-11-30 Roland McGrath <roland@hack.frob.com>
10905 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10906 second, differently-typed declaration, rather than a cast.
10908 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10910 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10911 * include/rpc/svc.h: ... here.
10913 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10916 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10917 depending n and resplen2 to catch cases where answer
10920 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10922 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10923 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10925 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10929 2012-11-29 Roland McGrath <roland@hack.frob.com>
10931 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10933 2012-11-28 Jeff Law <law@redhat.com>
10936 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10937 dataset_temporary. Track alloca usage into alloca_used.
10938 If dataset is large allocate and release it via malloc/free.
10940 2012-06-04 Florian Weimer <fweimer@redhat.com>
10943 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10945 2012-11-28 David S. Miller <davem@davemloft.net>
10947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10949 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10952 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10953 of pi/2 rounded to nearest to 64 bits.
10954 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10955 nearest to 64 bits.
10956 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10959 2012-11-28 Jeff Law <law@redhat.com>
10960 Martin Osvald <mosvald@redhat.com>
10963 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10964 * sunrpc/svc.c: Include time.h.
10965 (__svc_accept_failed): New function.
10966 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10967 any reason other than EINTR, call __svc_accept_failed.
10968 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10969 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10971 2012-11-28 Andreas Schwab <schwab@suse.de>
10973 * scripts/abilist.awk: Also handle indirect functions in .opd
10976 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10979 * sysdeps/x86/fpu/powl_helper.c: New file.
10980 * sysdeps/x86/fpu/Makefile: Likewise.
10981 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10983 (__ieee754_powl): Use __powl_helper for finite arguments except
10984 integer exponents below 8.
10985 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10987 (__ieee754_powl): Use __powl_helper for finite arguments except
10988 integer exponents below 8.
10989 * math/libm-test.inc (pow_test): Add more tests and enable some
10990 previously disabled tests.
10991 * sysdeps/i386/fpu/libm-test-ulps: Update.
10992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10994 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 Carlos O'Donell <carlos_odonell@mentor.com>
10997 * nss/makedb.c (is_prime): Assert that input is odd and greater
10998 than 4. Note that fact in a comment too.
10999 (next_prime): Add 4 to input.
11001 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11004 * libio/Makefile (tests): Add test case tst-fwrite-error.
11005 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11006 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11007 * libio/tst-fwrite-error.c: New test case.
11009 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11011 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11012 before casting to void *.
11013 * include/libc-internal.h (__pointer_type): New macro.
11014 (__integer_if_pointer_type_sub): Likewise.
11015 (__integer_if_pointer_type): Likewise.
11016 (cast_to_integer): Likewise.
11017 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11018 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11019 before casting to atomic64_t.
11020 (atomic_exchange_acq): Likewise.
11021 (__arch_exchange_and_add_body): Likewise.
11022 (__arch_add_body): Likewise.
11023 (atomic_add_negative): Likewise.
11024 (atomic_add_zero): Likewise.
11026 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11028 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11029 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11030 (add_fdes): Likewise.
11031 (linear_search_fdes): Likewise.
11032 (binary_search_unencoded_fdes): Likewise.
11034 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11036 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11038 2012-11-24 Adam Conrad <adconrad@0c3.net>
11040 * configure.in: Autodetect C++ header directories.
11041 * configure: Regenerated.
11043 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11045 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11047 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11051 2012-11-22 Joseph Myers <joseph@codesourcery.com>
11053 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11054 LDBL_MANT_DIG == 106]: Disable some tests.
11055 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11057 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11062 input for small inputs. Return +/- pi/2 for large inputs.
11063 * math/libm-test.inc (atan_test): Add more tests.
11065 * sysdeps/generic/unwind-dw2-fde-glibc.c
11066 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11067 __attribute__ ((unused)).
11070 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11071 x * y if x and y are nonzero and z is zero.
11074 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11075 nonzero exponents with absolute value below 0x1p-117 to +/-
11079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11080 up arguments below 2**-450, not just those below 2**-500.
11081 * math/libm-test.inc (hypot_test): Add another test.
11084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11085 Return a+b for ratio over 2**120, not 2**60.
11086 * math/libm-test.inc (hypot_test): Add another test.
11088 * math/libm-test.inc (clog_test): Use
11089 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11090 (clog10_test): Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11095 2012-11-22 Andreas Schwab <schwab@suse.de>
11097 * sysdeps/i386/fpu/libm-test-ulps: Update.
11099 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11101 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11102 printf output with newline.
11104 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11107 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11108 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11109 -z nodlopen, -z initfirst and -z execstack support.
11110 * configure: Regenerated.
11112 * elf/elf.h (DF_1_NODIRECT): New macro.
11113 (DF_1_IGNMULDEF): Likewise.
11114 (DF_1_NOKSYMS): Likewise.
11115 (DF_1_NOHDR): Likewise.
11116 (DF_1_EDITED): Likewise.
11117 (DF_1_NORELOC): Likewise.
11118 (DF_1_SYMINTPOSE): Likewise.
11119 (DF_1_GLOBAUDIT): Likewise.
11120 (DF_1_SINGLETON): Likewise.
11121 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11122 DT_1_SUPPORTED_MASK bits.
11123 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11125 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11127 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11129 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11131 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11134 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11135 (sendmmsg): Move declarations...
11136 * socket/sys/socket.h: ... here.
11137 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11138 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11140 * socket/recvmmsg.c: ... this new file.
11141 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11142 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11143 definition of __sendmmsg hidden.
11144 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11145 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11146 Move ENOSYS stub into and include it from...
11147 * socket/sendmmsg.c: ... this new file.
11148 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11149 (sysdep_routines): Move recvmmsg and sendmmsg...
11150 * socket/Makefile (routines): ... here.
11151 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11152 (GLIBC_PRIVATE): Add __sendmmsg.
11153 * include/sys/socket.h (__sendmmsg): Add declarations.
11154 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11157 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11160 variable I1 with __attribute__ ((unused)).
11161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11163 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11165 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11166 DUMMY variables with __attribute__ ((unused)).
11168 * bits/byteswap.h: Include <bits/types.h>.
11169 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11171 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11173 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11174 string_t. Do not manually set errno.
11175 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11176 length with __strnlen. Make sure to both set errno and return it on
11179 2012-11-19 David S. Miller <davem@davemloft.net>
11181 With help from Joseph Myers.
11182 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11183 very large arguments properly.
11184 * math/libm-test.inc (atan_test): New tests.
11185 (atan2_test): New tests.
11186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11189 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11192 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11195 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11196 [POSIX] (EADDRNOTAVAIL): Likewise.
11197 [POSIX] (EAFNOSUPPORT): Likewise.
11198 [POSIX] (EALREADY): Likewise.
11199 [POSIX] (ECONNABORTED): Likewise.
11200 [POSIX] (ECONNREFUSED): Likewise.
11201 [POSIX] (ECONNRESET): Likewise.
11202 [POSIX] (EDESTADDRREQ): Likewise.
11203 [POSIX] (EDQUOT): Likewise.
11204 [POSIX] (EHOSTUNREACH): Likewise.
11205 [POSIX] (EIDRM): Likewise.
11206 [POSIX] (EISCONN): Likewise.
11207 [POSIX] (ELOOP): Likewise.
11208 [POSIX] (EMULTIHOP): Likewise.
11209 [POSIX] (ENETDOWN): Likewise.
11210 [POSIX] (ENETUNREACH): Likewise.
11211 [POSIX] (ENOBUFS): Likewise.
11212 [POSIX] (ENODATA): Likewise.
11213 [POSIX] (ENOLINK): Likewise.
11214 [POSIX] (ENOMSG): Likewise.
11215 [POSIX] (ENOPROTOOPT): Likewise.
11216 [POSIX] (ENOSR): Likewise.
11217 [POSIX] (ENOSTR): Likewise.
11218 [POSIX] (ENOTCONN): Likewise.
11219 [POSIX] (ENOTSOCK): Likewise.
11220 [POSIX] (EOPNOTSUPP): Likewise.
11221 [POSIX] (EOVERFLOW): Likewise.
11222 [POSIX] (EPROTO): Likewise.
11223 [POSIX] (EPROTONOSUPPORT): Likewise.
11224 [POSIX] (EPROTOTYPE): Likewise.
11225 [POSIX] (ESTALE): Likewise.
11226 [POSIX] (ETIME): Likewise.
11227 [POSIX] (ETXTBSY): Likewise.
11228 [POSIX] (EWOULDBLOCK): Likewise.
11229 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11230 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11231 [POSIX] (SEEK_CUR): Likewise.
11232 [POSIX] (SEEK_END): Likewise.
11233 [POSIX || UNIX98] (mode_t): Do not require.
11234 [POSIX] (off_t): Likewise.
11235 [POSIX] (pid_t): Likewise.
11236 [POSIX] (sys/stat.h): Do not allow header.
11237 [POSIX] (unistd.h): Likewise.
11238 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11239 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11240 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11241 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11243 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11244 sigevent): Specify elements.
11245 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11247 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11248 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11250 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11251 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11252 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11253 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11254 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11255 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11256 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11257 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11258 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11259 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11260 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11261 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11262 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11263 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11265 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11267 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11269 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11271 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11272 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11273 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11274 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11275 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11276 Specify lower bound on value.
11277 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11278 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11279 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11280 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11281 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11282 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11283 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11284 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11286 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11288 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11289 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11290 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11291 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11292 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11293 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11294 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11295 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11296 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11297 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11298 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11299 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11300 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11301 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11302 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11303 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11305 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11307 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11308 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11309 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11310 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11311 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11312 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11314 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11315 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11316 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11317 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11318 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11319 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11320 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11322 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11323 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11324 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11325 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11326 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11327 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11328 specify as optional.
11329 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11330 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11331 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11332 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11333 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11334 [XPG3] (NL_LANGMAX): Likewise.
11335 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11336 [POSIX || XPG3] (NL_NMAX): Likewise.
11337 [POSIX || XPG3] (NL_SETMAX): Likewise.
11338 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11339 [XPG3] (NZERO): Likewise.
11340 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11341 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11342 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11343 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11344 (REG_ERANGE): Expect.
11345 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11347 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11348 Use (void) in prototype.
11349 [POSIX] (*_t): Allow.
11350 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11351 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11352 (WRDE_BADVAL): Expect.
11354 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11356 [XPG3 || XPG4] (O_RSYNC): Likewise.
11357 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11359 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11360 [XPG3 || XPG4] (sigqueue): Likewise.
11361 [XPG3 || XPG4] (sigtimedwait): Likewise.
11362 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11363 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11364 [XPG3 || XPG4] (vsnprintf): Likewise.
11365 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11367 [XPG3 || XPG4] (blksize_t): Likewise.
11368 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11370 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11371 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11372 [XPG3 || XPG4] (struct itimerspec): Likewise.
11373 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11374 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11375 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11376 [XPG3 || XPG4] (clockid_t): Likewise.
11377 [XPG3 || XPG4] (timer_t): Likewise.
11378 [XPG3 || XPG4] (clock_getres): Likewise.
11379 [XPG3 || XPG4] (clock_gettime): Likewise.
11380 [XPG3 || XPG4] (clock_settime): Likewise.
11381 [XPG3 || XPG4] (nanosleep): Likewise.
11382 [XPG3 || XPG4] (timer_create): Likewise.
11383 [XPG3 || XPG4] (timer_delete): Likewise.
11384 [XPG3 || XPG4] (timer_gettime): Likewise.
11385 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11386 [XPG3 || XPG4] (timer_settime): Likewise.
11387 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11388 [XPG3 || XPG4] (getlogin_r): Likewise.
11389 [XPG3 || XPG4] (pread): Likewise.
11390 [XPG3 || XPG4] (pthread_atfork): Likewise.
11391 [XPG3 || XPG4] (pwrite): Likewise.
11394 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11397 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11399 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11400 finalizing MALLSTREAM.
11402 * sysdeps/mach/hurd/syncfs.c: New file.
11404 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11407 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11408 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11409 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11410 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11411 (_nss_dns_gethostbyname4_r): Likewise.
11412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11413 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11415 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11418 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11420 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11422 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11423 * elf/cache.c (print_entry): Print ",AArch64" for
11426 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11427 * elf/cache.c (print_entry): Print ",hard-float" for
11430 2012-11-18 David S. Miller <davem@davemloft.net>
11432 With help from Joseph Myers.
11433 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11435 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11437 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11438 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11440 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11441 * math/libm-test.inc (y0_test): New tests.
11442 (y1_test): New tests.
11443 * sysdeps/i386/fpu/libm-test-ulps: Update.
11444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11447 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11449 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11451 * configure: Regenerated.
11453 2012-11-17 David S. Miller <davem@davemloft.net>
11456 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11457 nonzero exponents with absolute value below 0x1p-128 to +/-
11460 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11462 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11464 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11466 * posix/getconf-speclist.c: New file.
11467 * posix/posix-envs.def: Likewise.
11468 * posix/confstr.c (START_ENV_GROUP): New macro.
11469 (END_ENV_GROUP): Likewise.
11470 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11471 (KNOWN_PRESENT_ENV_STRING): Likewise.
11472 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11473 (UNKNOWN_ENVIRONMENT): Likewise.
11474 (confstr): Include posix-envs.def instead of handling
11475 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11476 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11477 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11478 (END_ENV_GROUP): Likewise.
11479 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11480 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11481 (UNKNOWN_ENVIRONMENT): Likewise.
11482 (__sysconf): Include posix-envs.def instead of handling associated
11483 cases directly here.
11484 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11485 preprocessing getconf-speclist.c rather than running getconf or
11486 generating empty file.
11488 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11490 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11492 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11495 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11497 2012-11-16 David S. Miller <davem@davemloft.net>
11499 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11500 smaller than LDBL_EPSILON/2.0L, just return xm1.
11502 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11504 * elf/tst-array1.c (init): Set constructor priority to 1000.
11505 (fini): Set destructor priority to 1000.
11506 * elf/tst-array2dep.c: Likewise.
11508 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11511 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11512 (_IO_new_file_xsputn): Also return EOF if none of the input
11513 data was written when overflow failed.
11514 * libio/iopadn.c (_IO_padn): Likewise.
11515 * libio/iowpadn.c (_IO_wpadn): Likewise.
11516 * stdio-common/tst-put-error.c: Add copyright notice.
11517 (do_test): Add case for printing padded string.
11518 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11519 _IO_padn returned error.
11520 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11521 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11524 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11526 * libio/libioP.h: Add comment note that the references to C++
11527 bits are now obsolete.
11529 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11531 * math/libm-test.inc (check_complex): Use asprintf.
11533 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11535 * debug/pcprofiledump.c (print_version): Update copyright year.
11536 * malloc/memusagestat.c (print_version): Likewise.
11538 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11541 * elf/Makefile (tests): Add tst-audit8.
11542 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11543 ($(objpfx)tst-audit8.out): New target.
11544 (tst-audit8-ENV): New variable.
11545 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11546 audit if l_reloc_result is NULL.
11547 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11548 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11549 * elf/tst-audit8.c: New file.
11551 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11553 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11554 * misc/Makefile (CFLAGS-select.c): Define.
11555 * posix/Makefile (CFLAGS-pause.c): Define.
11557 2012-11-13 David S. Miller <davem@davemloft.net>
11559 * crypt/Makefile: Move test targets after toplevel Rules
11560 inclusion. Grab any necessary sysdep routines when linking.
11561 * crypt/md5.c (md5_process_block): Remove define, we will always
11562 name it __md5_process_block.
11563 (md5_finish_ctx): Update md5_process_block call.
11564 (md5_stream): Likewise.
11565 (md5_process_bytes): Likewise.
11566 (md5_process_block): Rename to __md5_process_block and move to ...
11567 * crypt/md5-block.c: ... here.
11568 * crypt/sha256.c (sha256_process_block): Move to ...
11569 * crypt/sha256-block.c: ... here.
11570 * crypt/sha512.c (sha512_process_block): Move to ...
11571 * crypt/sha512-block.c: ... here.
11572 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11574 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11575 * sysdeps/sparc/sparc64/multiarch/Makefile
11576 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11578 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11579 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11581 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11582 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11583 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11584 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11585 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11586 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11587 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11588 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11589 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11591 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11592 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11594 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11596 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11598 * timezone/tzselect.ksh: Update from tzcode git revision
11599 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11600 * timezone/zdump.c: Likewise.
11601 * timezone/zic.c: Likewise.
11602 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11603 in TZVERSION setting, not $(PKGVERSION).
11604 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11605 REPORT_BUGS_TO settings.
11608 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11611 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11613 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11614 detection to immediately after _FP_ROUND().
11615 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11618 2012-11-11 David S. Miller <davem@davemloft.net>
11620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11622 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11623 __close rather than their public counterparts.
11625 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11627 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11629 [UNIX98] (sem_timedwait): Do not expect.
11630 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11631 [XPG4 || UNIX98] (sockatmark): Do not expect.
11632 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11633 (clock_getcpuclockid): Do not expect.
11634 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11635 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11637 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11638 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11639 [UNIX98] (vwscanf): Likewise.
11640 [UNIX98] (vswscanf): Likewise.
11642 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11644 * timezone/version.h: Remove file.
11645 * timezone/README: Do not refer to version.h.
11646 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11647 $(objpfx)version.h.
11648 ($(objpfx)zdump.o): Likewise.
11649 ($(objpfx)version.h): New target.
11651 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11653 * timezone/README: Don't mention modification to tzselect.ksh.
11654 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11655 work on unmodified tzselect.ksh. Substitute version numbers in
11658 * Makefile (format-me): Remove.
11659 (INSTALL): Adjust indentation. Use commands directly instead of
11660 using $(format-me).
11662 * aclocal.m4 (ACX_PKGVERSION): New macro.
11663 (ACX_BUGURL): Likewise.
11664 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11665 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11666 (REPORT_BUGS_TO): Likewise.
11667 * configure: Regenerated.
11668 * config.h.in (PKGVERSION): New macro.
11669 (REPORT_BUGS_TO): Likewise.
11670 * config.make.in (PKGVERSION): New variable.
11671 (PKGVERSION_TEXI): Likewise.
11672 (REPORT_BUGS_TO): Likewise.
11673 (REPORT_BUGS_TEXI): Likewise.
11674 * Makefile (format-me): Use -I$(common-objpfx)manual.
11675 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11676 ($(common-objpfx)manual/%): New target.
11677 (manual/%): Remove target.
11678 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11679 (print_version): Use PKGVERSION.
11680 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11681 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11682 and REPORT_BUGS_TO.
11683 ($(objpfx)xtrace): Likewise.
11684 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11685 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11686 (print_version): Use PKGVERSION.
11687 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11688 (do_version): Use PKGVERSION.
11689 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11691 (common-ldd-rewrite): Likewise.
11692 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11693 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11694 (print_version): Use PKGVERSION.
11695 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11696 * elf/pldd.c (argp_program_bug_address): Remove variable.
11697 (more_help): New function.
11698 (argp): Use more_help.
11699 (print_version): Use PKGVERSION.
11700 * elf/sln.c (main): Use PKGVERSION.
11701 (usage): Use REPORT_BUGS_TO.
11702 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11703 (top level): Use PKGVERSION.
11704 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11705 (print_version): Use PKGVERSION.
11706 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11707 (print_version): Use PKGVERSION.
11708 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11709 (print_version): Use PKGVERSION.
11710 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11711 (print_version): Use PKGVERSION.
11712 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11713 (print_version): Use PKGVERSION.
11714 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11715 (print_version): Use PKGVERSION.
11716 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11718 ($(objpfx)memusage): Likewise.
11719 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11720 (do_version): Use PKGVERSION.
11721 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11722 (print_version): Use PKGVERSION.
11723 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11724 ($PKGVERSION): New variable.
11725 ($REPORT_BUGS_TO): Likewise.
11726 (usage): Use $REPORT_BUGS_TO.
11727 (top level): Use $PKGVERSION.
11728 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11729 ($(objpfx)pkgvers.texi): New rule.
11730 ($(objpfx)stamp-pkgvers): Likewise.
11731 * manual/install.texi: Include pkgvers.texi.
11732 (--with-pkgversion): Document new configure option.
11733 (--with-bugurl): Likewise.
11734 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11735 than necessarily for this particular distribution. Use
11736 REPORT_BUGS_TO for where to report bugs.
11737 * INSTALL: Regenerated.
11738 * manual/libc.texinfo: Include pkgvers.texi.
11739 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11740 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11741 (print_version): Use PKGVERSION.
11742 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11743 (print_version): Use PKGVERSION.
11744 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11745 (print_version): Use PKGVERSION.
11746 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11747 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11749 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11750 (print_version): Use PKGVERSION.
11751 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11752 (print_version): Use PKGVERSION.
11753 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11756 * timezone/checktab.awk: Update from tzcode 2012i.
11757 * timezone/ialloc.c: Likewise.
11758 * timezone/private.h: Likewise.
11759 * timezone/scheck.c: Likewise.
11760 * timezone/tzfile.h: Likewise.
11761 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11762 (TZVERSION): Hardcode tzcode version number.
11763 * timezone/zdump.c: Update from tzcode 2012i.
11764 * timezone/zic.c: Likewise.
11765 * timezone/version.h: New file.
11766 * timezone/README: Describe version.h. Update upstream location.
11769 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11770 (mktemp): Enable declaration.
11771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11772 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11782 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11788 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11789 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11790 for copies of such integer values.
11791 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11792 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11794 2012-11-09 Andreas Jaeger <aj@suse.de>
11796 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11797 definitions and declarations that are provided by
11798 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11800 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11802 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11803 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11804 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11807 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11809 * elf/elf.h: Update comment before AArch64 relocations.
11811 2012-11-07 David S. Miller <davem@davemloft.net>
11813 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11814 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11815 (__start_context): Declare.
11816 (__makecontext_ret): Delete.
11817 (__makecontext): Hook up __start_context instead of
11819 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11820 (sysdep_routines): Add __start_context when in stdlib.
11822 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11824 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11825 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11826 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11828 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11829 (READELF): New variable. Use it instead of hardcoded "readelf".
11831 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11833 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11834 * sysdeps/x86/Makefile: Here.
11835 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11836 * sysdeps/x86/tst-xmmymm.sh: This.
11838 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11840 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11842 [UNIX98] (pthread_barrier_t): Do not expect.
11843 [UNIX98] (pthread_barrierattr_t): Likewise.
11844 [UNIX98] (pthread_spinlock_t): Likewise.
11845 [UNIX98] (pthread_barrier_destroy): Likewise.
11846 [UNIX98] (pthread_barrier_init): Likewise.
11847 [UNIX98] (pthread_barrier_wait): Likewise.
11848 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11849 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11850 [UNIX98] (pthread_barrierattr_init): Likewise.
11851 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11852 [UNIX98] (pthread_getcpuclockid): Likewise.
11853 [UNIX98] (pthread_mutex_timedlock): Likewise.
11854 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11855 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11856 [UNIX98] (pthread_sigmask): Likewise.
11857 [UNIX98] (pthread_spin_destroy): Likewise.
11858 [UNIX98] (pthread_spin_init): Likewise.
11859 [UNIX98] (pthread_spin_lock): Likewise.
11860 [UNIX98] (pthread_spin_trylock): Likewise.
11861 [UNIX98] (pthread_spin_unlock): Likewise.
11862 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11864 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11865 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11866 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11867 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11868 [XPG3 || XPG4] (pthread_key_t): Likewise.
11869 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11870 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11871 [XPG3 || XPG4] (pthread_once_t): Likewise.
11872 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11873 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11875 [XPG3 || XPG4] (pthread_t): Likewise.
11877 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11879 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11881 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11882 Change function return type to int.
11884 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11885 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11886 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11887 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11888 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11889 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11890 [!POSIX] (posix_madvise): Likewise.
11891 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11893 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11894 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11895 (mode_t): Likewise.
11896 (posix_mem_offset): Likewise.
11897 (posix_typed_mem_get_info): Likewise.
11898 (posix_typed_mem_open): Likewise.
11900 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11901 Change condition to [XOPEN2K8].
11903 * conform/conformtest.pl: Preprocess allow-header data with -x c
11904 instead of from stdin.
11905 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11906 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11907 [C99-based standards] (cerfc): Likewise.
11908 [C99-based standards] (cexp2): Likewise.
11909 [C99-based standards] (cexpm1): Likewise.
11910 [C99-based standards] (clog10): Likewise.
11911 [C99-based standards] (clog1p): Likewise.
11912 [C99-based standards] (clog2): Likewise.
11913 [C99-based standards] (clgamma): Likewise.
11914 [C99-based standards] (ctgamma): Likewise.
11915 [C99-based standards] (cerff): Likewise.
11916 [C99-based standards] (cerfcf): Likewise.
11917 [C99-based standards] (cexp2f): Likewise.
11918 [C99-based standards] (cexpm1f): Likewise.
11919 [C99-based standards] (clog10f): Likewise.
11920 [C99-based standards] (clog1pf): Likewise.
11921 [C99-based standards] (clog2f): Likewise.
11922 [C99-based standards] (clgammaf): Likewise.
11923 [C99-based standards] (ctgammaf): Likewise.
11924 [C99-based standards] (cerfl): Likewise.
11925 [C99-based standards] (cerfcl): Likewise.
11926 [C99-based standards] (cexp2l): Likewise.
11927 [C99-based standards] (cexpm1l): Likewise.
11928 [C99-based standards] (clog10l): Likewise.
11929 [C99-based standards] (clog1pl): Likewise.
11930 [C99-based standards] (clog2l): Likewise.
11931 [C99-based standards] (clgammal): Likewise.
11932 [C99-based standards] (ctgammal): Likewise.
11933 * conform/data/inttypes.h-data [C99-based standards]: Include
11934 stdint.h-data. Remove all expectations for stdint.h contents.
11935 [C99-based standards] (PRI*): Do not allow.
11936 [C99-based standards] (SCN*): Likewise.
11937 [C99-based standards] (*_t): Likewise.
11938 [C99-based-standards] (PRId8): Expect macro.
11939 [C99-based-standards] (PRIi8): Likewise.
11940 [C99-based-standards] (PRIo8): Likewise.
11941 [C99-based-standards] (PRIu8): Likewise.
11942 [C99-based-standards] (PRIx8): Likewise.
11943 [C99-based-standards] (PRIX8): Likewise.
11944 [C99-based-standards] (SCNd8): Likewise.
11945 [C99-based-standards] (SCNi8): Likewise.
11946 [C99-based-standards] (SCNo8): Likewise.
11947 [C99-based-standards] (SCNu8): Likewise.
11948 [C99-based-standards] (SCNx8): Likewise.
11949 [C99-based-standards] (PRIdLEAST8): Likewise.
11950 [C99-based-standards] (PRIiLEAST8): Likewise.
11951 [C99-based-standards] (PRIoLEAST8): Likewise.
11952 [C99-based-standards] (PRIuLEAST8): Likewise.
11953 [C99-based-standards] (PRIxLEAST8): Likewise.
11954 [C99-based-standards] (PRIXLEAST8): Likewise.
11955 [C99-based-standards] (SCNdLEAST8): Likewise.
11956 [C99-based-standards] (SCNiLEAST8): Likewise.
11957 [C99-based-standards] (SCNoLEAST8): Likewise.
11958 [C99-based-standards] (SCNuLEAST8): Likewise.
11959 [C99-based-standards] (SCNxLEAST8): Likewise.
11960 [C99-based-standards] (PRIdFAST8): Likewise.
11961 [C99-based-standards] (PRIiFAST8): Likewise.
11962 [C99-based-standards] (PRIoFAST8): Likewise.
11963 [C99-based-standards] (PRIuFAST8): Likewise.
11964 [C99-based-standards] (PRIxFAST8): Likewise.
11965 [C99-based-standards] (PRIXFAST8): Likewise.
11966 [C99-based-standards] (SCNdFAST8): Likewise.
11967 [C99-based-standards] (SCNiFAST8): Likewise.
11968 [C99-based-standards] (SCNoFAST8): Likewise.
11969 [C99-based-standards] (SCNuFAST8): Likewise.
11970 [C99-based-standards] (SCNxFAST8): Likewise.
11971 [C99-based-standards] (PRId16): Likewise.
11972 [C99-based-standards] (PRIi16): Likewise.
11973 [C99-based-standards] (PRIo16): Likewise.
11974 [C99-based-standards] (PRIu16): Likewise.
11975 [C99-based-standards] (PRIx16): Likewise.
11976 [C99-based-standards] (PRIX16): Likewise.
11977 [C99-based-standards] (SCNd16): Likewise.
11978 [C99-based-standards] (SCNi16): Likewise.
11979 [C99-based-standards] (SCNo16): Likewise.
11980 [C99-based-standards] (SCNu16): Likewise.
11981 [C99-based-standards] (SCNx16): Likewise.
11982 [C99-based-standards] (PRIdLEAST16): Likewise.
11983 [C99-based-standards] (PRIiLEAST16): Likewise.
11984 [C99-based-standards] (PRIoLEAST16): Likewise.
11985 [C99-based-standards] (PRIuLEAST16): Likewise.
11986 [C99-based-standards] (PRIxLEAST16): Likewise.
11987 [C99-based-standards] (PRIXLEAST16): Likewise.
11988 [C99-based-standards] (SCNdLEAST16): Likewise.
11989 [C99-based-standards] (SCNiLEAST16): Likewise.
11990 [C99-based-standards] (SCNoLEAST16): Likewise.
11991 [C99-based-standards] (SCNuLEAST16): Likewise.
11992 [C99-based-standards] (SCNxLEAST16): Likewise.
11993 [C99-based-standards] (PRIdFAST16): Likewise.
11994 [C99-based-standards] (PRIiFAST16): Likewise.
11995 [C99-based-standards] (PRIoFAST16): Likewise.
11996 [C99-based-standards] (PRIuFAST16): Likewise.
11997 [C99-based-standards] (PRIxFAST16): Likewise.
11998 [C99-based-standards] (PRIXFAST16): Likewise.
11999 [C99-based-standards] (SCNdFAST16): Likewise.
12000 [C99-based-standards] (SCNiFAST16): Likewise.
12001 [C99-based-standards] (SCNoFAST16): Likewise.
12002 [C99-based-standards] (SCNuFAST16): Likewise.
12003 [C99-based-standards] (SCNxFAST16): Likewise.
12004 [C99-based-standards] (PRId32): Likewise.
12005 [C99-based-standards] (PRIi32): Likewise.
12006 [C99-based-standards] (PRIo32): Likewise.
12007 [C99-based-standards] (PRIu32): Likewise.
12008 [C99-based-standards] (PRIx32): Likewise.
12009 [C99-based-standards] (PRIX32): Likewise.
12010 [C99-based-standards] (SCNd32): Likewise.
12011 [C99-based-standards] (SCNi32): Likewise.
12012 [C99-based-standards] (SCNo32): Likewise.
12013 [C99-based-standards] (SCNu32): Likewise.
12014 [C99-based-standards] (SCNx32): Likewise.
12015 [C99-based-standards] (PRIdLEAST32): Likewise.
12016 [C99-based-standards] (PRIiLEAST32): Likewise.
12017 [C99-based-standards] (PRIoLEAST32): Likewise.
12018 [C99-based-standards] (PRIuLEAST32): Likewise.
12019 [C99-based-standards] (PRIxLEAST32): Likewise.
12020 [C99-based-standards] (PRIXLEAST32): Likewise.
12021 [C99-based-standards] (SCNdLEAST32): Likewise.
12022 [C99-based-standards] (SCNiLEAST32): Likewise.
12023 [C99-based-standards] (SCNoLEAST32): Likewise.
12024 [C99-based-standards] (SCNuLEAST32): Likewise.
12025 [C99-based-standards] (SCNxLEAST32): Likewise.
12026 [C99-based-standards] (PRIdFAST32): Likewise.
12027 [C99-based-standards] (PRIiFAST32): Likewise.
12028 [C99-based-standards] (PRIoFAST32): Likewise.
12029 [C99-based-standards] (PRIuFAST32): Likewise.
12030 [C99-based-standards] (PRIxFAST32): Likewise.
12031 [C99-based-standards] (PRIXFAST32): Likewise.
12032 [C99-based-standards] (SCNdFAST32): Likewise.
12033 [C99-based-standards] (SCNiFAST32): Likewise.
12034 [C99-based-standards] (SCNoFAST32): Likewise.
12035 [C99-based-standards] (SCNuFAST32): Likewise.
12036 [C99-based-standards] (SCNxFAST32): Likewise.
12037 [C99-based-standards] (PRId64): Likewise.
12038 [C99-based-standards] (PRIi64): Likewise.
12039 [C99-based-standards] (PRIo64): Likewise.
12040 [C99-based-standards] (PRIu64): Likewise.
12041 [C99-based-standards] (PRIx64): Likewise.
12042 [C99-based-standards] (PRIX64): Likewise.
12043 [C99-based-standards] (SCNd64): Likewise.
12044 [C99-based-standards] (SCNi64): Likewise.
12045 [C99-based-standards] (SCNo64): Likewise.
12046 [C99-based-standards] (SCNu64): Likewise.
12047 [C99-based-standards] (SCNx64): Likewise.
12048 [C99-based-standards] (PRIdLEAST64): Likewise.
12049 [C99-based-standards] (PRIiLEAST64): Likewise.
12050 [C99-based-standards] (PRIoLEAST64): Likewise.
12051 [C99-based-standards] (PRIuLEAST64): Likewise.
12052 [C99-based-standards] (PRIxLEAST64): Likewise.
12053 [C99-based-standards] (PRIXLEAST64): Likewise.
12054 [C99-based-standards] (SCNdLEAST64): Likewise.
12055 [C99-based-standards] (SCNiLEAST64): Likewise.
12056 [C99-based-standards] (SCNoLEAST64): Likewise.
12057 [C99-based-standards] (SCNuLEAST64): Likewise.
12058 [C99-based-standards] (SCNxLEAST64): Likewise.
12059 [C99-based-standards] (PRIdFAST64): Likewise.
12060 [C99-based-standards] (PRIiFAST64): Likewise.
12061 [C99-based-standards] (PRIoFAST64): Likewise.
12062 [C99-based-standards] (PRIuFAST64): Likewise.
12063 [C99-based-standards] (PRIxFAST64): Likewise.
12064 [C99-based-standards] (PRIXFAST64): Likewise.
12065 [C99-based-standards] (SCNdFAST64): Likewise.
12066 [C99-based-standards] (SCNiFAST64): Likewise.
12067 [C99-based-standards] (SCNoFAST64): Likewise.
12068 [C99-based-standards] (SCNuFAST64): Likewise.
12069 [C99-based-standards] (SCNxFAST64): Likewise.
12070 [C99-based-standards] (PRIdMAX): Likewise.
12071 [C99-based-standards] (PRIiMAX): Likewise.
12072 [C99-based-standards] (PRIoMAX): Likewise.
12073 [C99-based-standards] (PRIuMAX): Likewise.
12074 [C99-based-standards] (PRIxMAX): Likewise.
12075 [C99-based-standards] (PRIXMAX): Likewise.
12076 [C99-based-standards] (SCNdMAX): Likewise.
12077 [C99-based-standards] (SCNiMAX): Likewise.
12078 [C99-based-standards] (SCNoMAX): Likewise.
12079 [C99-based-standards] (SCNuMAX): Likewise.
12080 [C99-based-standards] (SCNxMAX): Likewise.
12081 [C99-based-standards] (PRIdPTR): Likewise.
12082 [C99-based-standards] (PRIiPTR): Likewise.
12083 [C99-based-standards] (PRIoPTR): Likewise.
12084 [C99-based-standards] (PRIuPTR): Likewise.
12085 [C99-based-standards] (PRIxPTR): Likewise.
12086 [C99-based-standards] (PRIXPTR): Likewise.
12087 [C99-based-standards] (SCNdPTR): Likewise.
12088 [C99-based-standards] (SCNiPTR): Likewise.
12089 [C99-based-standards] (SCNoPTR): Likewise.
12090 [C99-based-standards] (SCNuPTR): Likewise.
12091 [C99-based-standards] (SCNxPTR): Likewise.
12092 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12094 * conform/data/stdint.h-data: Update comments to clarify
12096 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12098 [C99-based standards] (INT8_MAX): Likewise.
12099 [C99-based standards] (INT16_MIN): Likewise.
12100 [C99-based standards] (INT16_MAX): Likewise.
12101 [C99-based standards] (INT32_MIN): Likewise.
12102 [C99-based standards] (INT32_MAX): Likewise.
12103 [C99-based standards] (INT64_MIN): Likewise.
12104 [C99-based standards] (INT64_MAX): Likewise.
12105 [C99-based standards] (UINT8_MAX): Likewise.
12106 [C99-based standards] (UINT16_MAX): Likewise.
12107 [C99-based standards] (UINT32_MAX): Likewise.
12108 [C99-based standards] (UINT64_MAX): Likewise.
12109 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12110 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12111 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12112 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12113 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12114 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12115 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12116 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12117 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12118 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12119 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12120 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12121 [C99-based standards] (INT_FAST8_MIN): Likewise.
12122 [C99-based standards] (INT_FAST8_MAX): Likewise.
12123 [C99-based standards] (INT_FAST16_MIN): Likewise.
12124 [C99-based standards] (INT_FAST16_MAX): Likewise.
12125 [C99-based standards] (INT_FAST32_MIN): Likewise.
12126 [C99-based standards] (INT_FAST32_MAX): Likewise.
12127 [C99-based standards] (INT_FAST64_MIN): Likewise.
12128 [C99-based standards] (INT_FAST64_MAX): Likewise.
12129 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12130 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12131 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12132 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12133 [C99-based standards] (INTPTR_MIN): Likewise.
12134 [C99-based standards] (INTPTR_MAX): Likewise.
12135 [C99-based standards] (UINTPTR_MAX): Likewise.
12136 [C99-based standards] (INTMAX_MIN): Likewise.
12137 [C99-based standards] (INTMAX_MAX): Likewise.
12138 [C99-based standards] (UINTMAX_MAX): Likewise.
12139 [C99-based standards] (PTRDIFF_MIN): Likewise.
12140 [C99-based standards] (PTRDIFF_MAX): Likewise.
12141 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12142 [C99-based standards] (SIZE_MAX): Likewise.
12143 [C99-based standards] (WCHAR_MAX): Likewise.
12144 [C99-based standards] (WINT_MAX): Likewise.
12145 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12146 constraint on value.
12147 [C99-based standards] (WCHAR_MIN): Likewise.
12148 [C99-based standards] (WINT_MIN): Likewise.
12149 [C99-based standards] (*_t): Allow.
12150 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12151 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12152 Include math.h-data and complex.h-data. Remove all expectations
12153 of math.h and complex.h contents.
12154 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12156 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12157 (struct tm): Expect tag.
12158 [C99-based-standards] (wcstof): Expect function.
12159 [C99-based-standards] (wcstold): Likewise.
12160 [C99-based-standards] (wcstoll): Likewise.
12161 [C99-based-standards] (wcstoull): Likewise.
12162 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12163 macro-int-constant. Specify type.
12164 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12165 constraint on value.
12166 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12168 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12170 [ISO C standards]: Do not allow headers.
12171 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12172 wcs[abcdefghijklmnopqrstuvwxyz]*.
12173 [ISO C standards] (*_t): Do not allow.
12174 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12176 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12177 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12179 [ISO C standards]: Do not allow headers.
12180 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12181 is[abcdefghijklmnopqrstuvwxyz]*.
12182 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12183 to[abcdefghijklmnopqrstuvwxyz]*.
12184 [ISO C standards] (*_t): Do not allow.
12185 * conform/data/stdalign.h-data: New file.
12186 * conform/data/stdbool.h-data: Likewise.
12187 * conform/data/stdnoreturn.h-data: Likewise.
12189 2012-11-07 Roland McGrath <roland@hack.frob.com>
12192 * manual/filesys.texi (Directory Entries): Typo fix.
12193 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12195 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12197 * elf/elf.h (EM_AARCH64): New macro.
12198 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12199 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12200 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12201 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12202 (R_AARCH64_TLSDESC): Likewise.
12203 (NT_ARM_TLS): Likewise.
12204 (NT_ARM_HW_BREAK): Likewise.
12205 (NT_ARM_HW_WATCH): Likewise.
12207 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12210 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12211 (__ieee754_powl): Saturate nonzero exponents with absolute value
12212 below 0x1p-79 to +/- 0x1p-79.
12213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12214 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12215 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12216 nonzero exponents with absolute value below 0x1p-32 to +/-
12218 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12219 (__ieee754_powl): Saturate nonzero exponents with absolute value
12220 below 0x1p-79 to +/- 0x1p-79.
12221 * math/libm-test.inc (pow_test): Add more tests.
12223 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12225 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12226 _dl_s390_cap_flags with kernel. Increase string length.
12227 (_dl_s390_platforms): Add z196 and zEC12.
12229 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12231 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12232 Change XOPEN21K to XOPEN2K.
12234 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12236 * string/memmove.c: Use memcpy when possible.
12238 2012-11-06 Andreas Jaeger <aj@suse.de>
12240 * po/eo.po: Update from translation team.
12242 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12246 exponent and small x and y exponents, scale x or y up. Increase
12247 by 2 the exponent used in scaling up.
12248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12250 * math/libm-test.inc (fma_test): Add more tests.
12251 (fma_test_towardzero): Likewise.
12252 (fma_test_downward): Likewise.
12253 (fma_test_upward): Likewise.
12255 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12258 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12262 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12263 namespace for names of struct fields.
12264 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12266 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12267 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12269 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12272 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12274 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12276 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12280 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12283 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12287 definitely overflow as x * y not x * y + z.
12288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12289 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12290 * math/libm-test.inc (fma_test): Add more tests.
12291 (fma_test_towardzero): Likewise.
12292 (fma_test_downward): Likewise.
12293 (fma_test_upward): Likewise.
12295 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12299 * include/stub-tag.h: Remove file.
12300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12302 * manual/maint.texi (Porting): Don't reference it.
12303 * Makerules ($(objpfx)stubs): Likewise.
12304 * dirent/closedir.c: Don't include <stub-tag.h>.
12305 * dirent/dirfd.c: Likewise.
12306 * dirent/fdopendir.c: Likewise.
12307 * dirent/getdents.c: Likewise.
12308 * dirent/getdents64.c: Likewise.
12309 * dirent/opendir.c: Likewise.
12310 * dirent/readdir.c: Likewise.
12311 * dirent/readdir64.c: Likewise.
12312 * dirent/readdir64_r.c: Likewise.
12313 * dirent/readdir_r.c: Likewise.
12314 * dirent/rewinddir.c: Likewise.
12315 * dirent/seekdir.c: Likewise.
12316 * dirent/telldir.c: Likewise.
12317 * gmon/profil.c: Likewise.
12318 * grp/setgroups.c: Likewise.
12319 * inet/if_index.c: Likewise.
12320 * io/access.c: Likewise.
12321 * io/chdir.c: Likewise.
12322 * io/chmod.c: Likewise.
12323 * io/chown.c: Likewise.
12324 * io/close.c: Likewise.
12325 * io/dup.c: Likewise.
12326 * io/dup2.c: Likewise.
12327 * io/dup3.c: Likewise.
12328 * io/euidaccess.c: Likewise.
12329 * io/faccessat.c: Likewise.
12330 * io/fchdir.c: Likewise.
12331 * io/fchmod.c: Likewise.
12332 * io/fchmodat.c: Likewise.
12333 * io/fchown.c: Likewise.
12334 * io/fchownat.c: Likewise.
12335 * io/fcntl.c: Likewise.
12336 * io/flock.c: Likewise.
12337 * io/fstatfs.c: Likewise.
12338 * io/fstatfs64.c: Likewise.
12339 * io/fstatvfs.c: Likewise.
12340 * io/fstatvfs64.c: Likewise.
12341 * io/futimens.c: Likewise.
12342 * io/fxstat.c: Likewise.
12343 * io/fxstat64.c: Likewise.
12344 * io/fxstatat.c: Likewise.
12345 * io/fxstatat64.c: Likewise.
12346 * io/getcwd.c: Likewise.
12347 * io/isatty.c: Likewise.
12348 * io/lchmod.c: Likewise.
12349 * io/lchown.c: Likewise.
12350 * io/link.c: Likewise.
12351 * io/linkat.c: Likewise.
12352 * io/lseek.c: Likewise.
12353 * io/lseek64.c: Likewise.
12354 * io/lxstat64.c: Likewise.
12355 * io/mkdir.c: Likewise.
12356 * io/mkdirat.c: Likewise.
12357 * io/mkfifo.c: Likewise.
12358 * io/mkfifoat.c: Likewise.
12359 * io/open.c: Likewise.
12360 * io/open64.c: Likewise.
12361 * io/openat.c: Likewise.
12362 * io/openat64.c: Likewise.
12363 * io/pipe.c: Likewise.
12364 * io/pipe2.c: Likewise.
12365 * io/poll.c: Likewise.
12366 * io/posix_fadvise.c: Likewise.
12367 * io/posix_fadvise64.c: Likewise.
12368 * io/posix_fallocate.c: Likewise.
12369 * io/posix_fallocate64.c: Likewise.
12370 * io/read.c: Likewise.
12371 * io/readlink.c: Likewise.
12372 * io/readlinkat.c: Likewise.
12373 * io/rmdir.c: Likewise.
12374 * io/sendfile.c: Likewise.
12375 * io/sendfile64.c: Likewise.
12376 * io/statfs.c: Likewise.
12377 * io/statfs64.c: Likewise.
12378 * io/statvfs.c: Likewise.
12379 * io/statvfs64.c: Likewise.
12380 * io/symlink.c: Likewise.
12381 * io/symlinkat.c: Likewise.
12382 * io/ttyname.c: Likewise.
12383 * io/ttyname_r.c: Likewise.
12384 * io/umask.c: Likewise.
12385 * io/unlink.c: Likewise.
12386 * io/unlinkat.c: Likewise.
12387 * io/utime.c: Likewise.
12388 * io/utimensat.c: Likewise.
12389 * io/write.c: Likewise.
12390 * io/xmknod.c: Likewise.
12391 * io/xmknodat.c: Likewise.
12392 * io/xstat.c: Likewise.
12393 * io/xstat64.c: Likewise.
12394 * login/getpt.c: Likewise.
12395 * login/grantpt.c: Likewise.
12396 * login/unlockpt.c: Likewise.
12397 * math/e_acoshl.c: Likewise.
12398 * math/e_acosl.c: Likewise.
12399 * math/e_asinl.c: Likewise.
12400 * math/e_atan2l.c: Likewise.
12401 * math/e_atanhl.c: Likewise.
12402 * math/e_coshl.c: Likewise.
12403 * math/e_expl.c: Likewise.
12404 * math/e_fmodl.c: Likewise.
12405 * math/e_gammal_r.c: Likewise.
12406 * math/e_hypotl.c: Likewise.
12407 * math/e_j0l.c: Likewise.
12408 * math/e_j1l.c: Likewise.
12409 * math/e_jnl.c: Likewise.
12410 * math/e_lgammal_r.c: Likewise.
12411 * math/e_log10l.c: Likewise.
12412 * math/e_log2l.c: Likewise.
12413 * math/e_logl.c: Likewise.
12414 * math/e_powl.c: Likewise.
12415 * math/e_rem_pio2l.c: Likewise.
12416 * math/e_sinhl.c: Likewise.
12417 * math/e_sqrtl.c: Likewise.
12418 * math/fclrexcpt.c: Likewise.
12419 * math/fedisblxcpt.c: Likewise.
12420 * math/feenablxcpt.c: Likewise.
12421 * math/fegetenv.c: Likewise.
12422 * math/fegetexcept.c: Likewise.
12423 * math/fegetround.c: Likewise.
12424 * math/feholdexcpt.c: Likewise.
12425 * math/fesetenv.c: Likewise.
12426 * math/fesetround.c: Likewise.
12427 * math/feupdateenv.c: Likewise.
12428 * math/fgetexcptflg.c: Likewise.
12429 * math/fraiseexcpt.c: Likewise.
12430 * math/fsetexcptflg.c: Likewise.
12431 * math/ftestexcept.c: Likewise.
12432 * math/k_cosl.c: Likewise.
12433 * math/k_rem_pio2l.c: Likewise.
12434 * math/k_sinl.c: Likewise.
12435 * math/k_tanl.c: Likewise.
12436 * math/s_asinhl.c: Likewise.
12437 * math/s_atanl.c: Likewise.
12438 * math/s_cbrtl.c: Likewise.
12439 * math/s_erfl.c: Likewise.
12440 * math/s_expm1l.c: Likewise.
12441 * math/s_log1pl.c: Likewise.
12442 * math/s_tanhl.c: Likewise.
12443 * misc/acct.c: Likewise.
12444 * misc/brk.c: Likewise.
12445 * misc/chflags.c: Likewise.
12446 * misc/chroot.c: Likewise.
12447 * misc/fchflags.c: Likewise.
12448 * misc/fgetxattr.c: Likewise.
12449 * misc/flistxattr.c: Likewise.
12450 * misc/fremovexattr.c: Likewise.
12451 * misc/fsetxattr.c: Likewise.
12452 * misc/fsync.c: Likewise.
12453 * misc/ftruncate.c: Likewise.
12454 * misc/futimes.c: Likewise.
12455 * misc/futimesat.c: Likewise.
12456 * misc/getdomain.c: Likewise.
12457 * misc/getdtsz.c: Likewise.
12458 * misc/gethostid.c: Likewise.
12459 * misc/gethostname.c: Likewise.
12460 * misc/getloadavg.c: Likewise.
12461 * misc/getpagesize.c: Likewise.
12462 * misc/getsysstats.c: Likewise.
12463 * misc/getxattr.c: Likewise.
12464 * misc/gtty.c: Likewise.
12465 * misc/ioctl.c: Likewise.
12466 * misc/lgetxattr.c: Likewise.
12467 * misc/listxattr.c: Likewise.
12468 * misc/llistxattr.c: Likewise.
12469 * misc/lremovexattr.c: Likewise.
12470 * misc/lsetxattr.c: Likewise.
12471 * misc/lutimes.c: Likewise.
12472 * misc/madvise.c: Likewise.
12473 * misc/mincore.c: Likewise.
12474 * misc/mlock.c: Likewise.
12475 * misc/mlockall.c: Likewise.
12476 * misc/mmap.c: Likewise.
12477 * misc/mprotect.c: Likewise.
12478 * misc/msync.c: Likewise.
12479 * misc/munlock.c: Likewise.
12480 * misc/munlockall.c: Likewise.
12481 * misc/munmap.c: Likewise.
12482 * misc/preadv.c: Likewise.
12483 * misc/preadv64.c: Likewise.
12484 * misc/ptrace.c: Likewise.
12485 * misc/pwritev.c: Likewise.
12486 * misc/pwritev64.c: Likewise.
12487 * misc/readv.c: Likewise.
12488 * misc/reboot.c: Likewise.
12489 * misc/remap_file_pages.c: Likewise.
12490 * misc/removexattr.c: Likewise.
12491 * misc/revoke.c: Likewise.
12492 * misc/select.c: Likewise.
12493 * misc/setdomain.c: Likewise.
12494 * misc/setegid.c: Likewise.
12495 * misc/seteuid.c: Likewise.
12496 * misc/sethostid.c: Likewise.
12497 * misc/sethostname.c: Likewise.
12498 * misc/setregid.c: Likewise.
12499 * misc/setreuid.c: Likewise.
12500 * misc/setxattr.c: Likewise.
12501 * misc/sstk.c: Likewise.
12502 * misc/stty.c: Likewise.
12503 * misc/swapoff.c: Likewise.
12504 * misc/swapon.c: Likewise.
12505 * misc/sync.c: Likewise.
12506 * misc/syncfs.c: Likewise.
12507 * misc/syscall.c: Likewise.
12508 * misc/truncate.c: Likewise.
12509 * misc/ualarm.c: Likewise.
12510 * misc/usleep.c: Likewise.
12511 * misc/ustat.c: Likewise.
12512 * misc/utimes.c: Likewise.
12513 * misc/vhangup.c: Likewise.
12514 * misc/writev.c: Likewise.
12515 * posix/_exit.c: Likewise.
12516 * posix/alarm.c: Likewise.
12517 * posix/execve.c: Likewise.
12518 * posix/fexecve.c: Likewise.
12519 * posix/fork.c: Likewise.
12520 * posix/fpathconf.c: Likewise.
12521 * posix/getaddrinfo.c: Likewise.
12522 * posix/getegid.c: Likewise.
12523 * posix/geteuid.c: Likewise.
12524 * posix/getgid.c: Likewise.
12525 * posix/getgroups.c: Likewise.
12526 * posix/getlogin.c: Likewise.
12527 * posix/getlogin_r.c: Likewise.
12528 * posix/getpgid.c: Likewise.
12529 * posix/getpid.c: Likewise.
12530 * posix/getppid.c: Likewise.
12531 * posix/getresgid.c: Likewise.
12532 * posix/getresuid.c: Likewise.
12533 * posix/getsid.c: Likewise.
12534 * posix/getuid.c: Likewise.
12535 * posix/glob64.c: Likewise.
12536 * posix/nanosleep.c: Likewise.
12537 * posix/pathconf.c: Likewise.
12538 * posix/pause.c: Likewise.
12539 * posix/posix_madvise.c: Likewise.
12540 * posix/pread.c: Likewise.
12541 * posix/pread64.c: Likewise.
12542 * posix/pwrite.c: Likewise.
12543 * posix/pwrite64.c: Likewise.
12544 * posix/sched_getaffinity.c: Likewise.
12545 * posix/sched_getp.c: Likewise.
12546 * posix/sched_gets.c: Likewise.
12547 * posix/sched_primax.c: Likewise.
12548 * posix/sched_primin.c: Likewise.
12549 * posix/sched_rr_gi.c: Likewise.
12550 * posix/sched_setaffinity.c: Likewise.
12551 * posix/sched_setp.c: Likewise.
12552 * posix/sched_sets.c: Likewise.
12553 * posix/sched_yield.c: Likewise.
12554 * posix/setgid.c: Likewise.
12555 * posix/setlogin.c: Likewise.
12556 * posix/setpgid.c: Likewise.
12557 * posix/setresgid.c: Likewise.
12558 * posix/setresuid.c: Likewise.
12559 * posix/setsid.c: Likewise.
12560 * posix/setuid.c: Likewise.
12561 * posix/sleep.c: Likewise.
12562 * posix/spawni.c: Likewise.
12563 * posix/sysconf.c: Likewise.
12564 * posix/times.c: Likewise.
12565 * posix/wait.c: Likewise.
12566 * posix/wait3.c: Likewise.
12567 * posix/wait4.c: Likewise.
12568 * posix/waitpid.c: Likewise.
12569 * resolv/gai_sigqueue.c: Likewise.
12570 * resource/getpriority.c: Likewise.
12571 * resource/getrlimit.c: Likewise.
12572 * resource/getrusage.c: Likewise.
12573 * resource/nice.c: Likewise.
12574 * resource/setpriority.c: Likewise.
12575 * resource/setrlimit.c: Likewise.
12576 * resource/ulimit.c: Likewise.
12577 * rt/aio_cancel.c: Likewise.
12578 * rt/aio_fsync.c: Likewise.
12579 * rt/aio_read.c: Likewise.
12580 * rt/aio_sigqueue.c: Likewise.
12581 * rt/aio_suspend.c: Likewise.
12582 * rt/aio_write.c: Likewise.
12583 * rt/clock_getres.c: Likewise.
12584 * rt/clock_gettime.c: Likewise.
12585 * rt/clock_nanosleep.c: Likewise.
12586 * rt/clock_settime.c: Likewise.
12587 * rt/lio_listio.c: Likewise.
12588 * rt/mq_close.c: Likewise.
12589 * rt/mq_getattr.c: Likewise.
12590 * rt/mq_notify.c: Likewise.
12591 * rt/mq_open.c: Likewise.
12592 * rt/mq_receive.c: Likewise.
12593 * rt/mq_send.c: Likewise.
12594 * rt/mq_setattr.c: Likewise.
12595 * rt/mq_timedreceive.c: Likewise.
12596 * rt/mq_timedsend.c: Likewise.
12597 * rt/mq_unlink.c: Likewise.
12598 * rt/shm_open.c: Likewise.
12599 * rt/shm_unlink.c: Likewise.
12600 * rt/timer_create.c: Likewise.
12601 * rt/timer_delete.c: Likewise.
12602 * rt/timer_getoverr.c: Likewise.
12603 * rt/timer_gettime.c: Likewise.
12604 * rt/timer_settime.c: Likewise.
12605 * setjmp/__longjmp.c: Likewise.
12606 * setjmp/setjmp.c: Likewise.
12607 * signal/kill.c: Likewise.
12608 * signal/killpg.c: Likewise.
12609 * signal/raise.c: Likewise.
12610 * signal/sigaction.c: Likewise.
12611 * signal/sigaltstack.c: Likewise.
12612 * signal/sigblock.c: Likewise.
12613 * signal/sigignore.c: Likewise.
12614 * signal/sigintr.c: Likewise.
12615 * signal/signal.c: Likewise.
12616 * signal/sigpause.c: Likewise.
12617 * signal/sigpending.c: Likewise.
12618 * signal/sigqueue.c: Likewise.
12619 * signal/sigreturn.c: Likewise.
12620 * signal/sigset.c: Likewise.
12621 * signal/sigsetmask.c: Likewise.
12622 * signal/sigstack.c: Likewise.
12623 * signal/sigsuspend.c: Likewise.
12624 * signal/sigtimedwait.c: Likewise.
12625 * signal/sigvec.c: Likewise.
12626 * signal/sigwait.c: Likewise.
12627 * signal/sigwaitinfo.c: Likewise.
12628 * signal/sysv_signal.c: Likewise.
12629 * socket/accept.c: Likewise.
12630 * socket/accept4.c: Likewise.
12631 * socket/bind.c: Likewise.
12632 * socket/connect.c: Likewise.
12633 * socket/getpeername.c: Likewise.
12634 * socket/getsockname.c: Likewise.
12635 * socket/getsockopt.c: Likewise.
12636 * socket/isfdtype.c: Likewise.
12637 * socket/listen.c: Likewise.
12638 * socket/recv.c: Likewise.
12639 * socket/recvfrom.c: Likewise.
12640 * socket/recvmsg.c: Likewise.
12641 * socket/send.c: Likewise.
12642 * socket/sendmsg.c: Likewise.
12643 * socket/sendto.c: Likewise.
12644 * socket/setsockopt.c: Likewise.
12645 * socket/shutdown.c: Likewise.
12646 * socket/sockatmark.c: Likewise.
12647 * socket/socket.c: Likewise.
12648 * socket/socketpair.c: Likewise.
12649 * stdio-common/ctermid.c: Likewise.
12650 * stdio-common/cuserid.c: Likewise.
12651 * stdio-common/remove.c: Likewise.
12652 * stdio-common/rename.c: Likewise.
12653 * stdio-common/renameat.c: Likewise.
12654 * stdio-common/tempname.c: Likewise.
12655 * stdlib/getcontext.c: Likewise.
12656 * stdlib/makecontext.c: Likewise.
12657 * stdlib/setcontext.c: Likewise.
12658 * stdlib/swapcontext.c: Likewise.
12659 * stdlib/system.c: Likewise.
12660 * streams/fattach.c: Likewise.
12661 * streams/fdetach.c: Likewise.
12662 * streams/getmsg.c: Likewise.
12663 * streams/getpmsg.c: Likewise.
12664 * streams/putmsg.c: Likewise.
12665 * streams/putpmsg.c: Likewise.
12666 * sysdeps/unix/bsd/getpt.c: Likewise.
12667 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12668 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12669 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12672 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12673 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12674 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12675 * sysvipc/msgctl.c: Likewise.
12676 * sysvipc/msgget.c: Likewise.
12677 * sysvipc/msgrcv.c: Likewise.
12678 * sysvipc/msgsnd.c: Likewise.
12679 * sysvipc/semctl.c: Likewise.
12680 * sysvipc/semget.c: Likewise.
12681 * sysvipc/semop.c: Likewise.
12682 * sysvipc/semtimedop.c: Likewise.
12683 * sysvipc/shmat.c: Likewise.
12684 * sysvipc/shmctl.c: Likewise.
12685 * sysvipc/shmdt.c: Likewise.
12686 * sysvipc/shmget.c: Likewise.
12687 * termios/tcdrain.c: Likewise.
12688 * termios/tcflow.c: Likewise.
12689 * termios/tcflush.c: Likewise.
12690 * termios/tcgetattr.c: Likewise.
12691 * termios/tcgetpgrp.c: Likewise.
12692 * termios/tcsendbrk.c: Likewise.
12693 * termios/tcsetattr.c: Likewise.
12694 * termios/tcsetpgrp.c: Likewise.
12695 * time/adjtime.c: Likewise.
12696 * time/clock.c: Likewise.
12697 * time/getitimer.c: Likewise.
12698 * time/gettimeofday.c: Likewise.
12699 * time/setitimer.c: Likewise.
12700 * time/settimeofday.c: Likewise.
12701 * time/stime.c: Likewise.
12702 * time/time.c: Likewise.
12704 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12706 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12709 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12711 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12713 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12717 FE_TONEAREST before applying Dekker multiplication and Knuth
12718 addition. Clear inexact exceptions and check for exact zero
12719 results afterwards.
12720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12721 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12723 * math/libm-test.inc (fma_test): Add more tests.
12724 (fma_test_towardzero): Likewise.
12725 (fma_test_downward): Likewise.
12726 (fma_test_upward): Likewise.
12727 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12729 (libc_fesetround): New macro.
12730 (libc_fesetroundf): Likewise.
12731 (libc_fesetroundl): Likewise.
12732 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12734 (libc_fesetround_387): Likewise.
12735 (libc_fesetroundf): New macro.
12736 (libc_fesetround): Likewise.
12737 (libc_fesetroundl): Likewise.
12738 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12740 (libc_fesetroundf): New macro.
12741 (libc_fesetround): Likewise.
12742 (libc_fesetroundl): Likewise.
12743 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12744 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12745 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12747 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12748 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12750 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12751 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12753 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12757 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12758 integer constant usable in #if and use that to give value to enum
12760 (FE_DIVBYZERO): Likewise.
12761 (FE_UNDERFLOW): Likewise.
12762 (FE_OVERFLOW): Likewise.
12763 (FE_INVALID): Likewise.
12764 (FE_INVALID_SNAN): Likewise.
12765 (FE_INVALID_ISI): Likewise.
12766 (FE_INVALID_IDI): Likewise.
12767 (FE_INVALID_ZDZ): Likewise.
12768 (FE_INVALID_IMZ): Likewise.
12769 (FE_INVALID_COMPARE): Likewise.
12770 (FE_INVALID_SOFTWARE): Likewise.
12771 (FE_INVALID_SQRT): Likewise.
12772 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12773 (FE_TONEAREST): Likewise.
12774 (FE_TOWARDZERO): Likewise.
12775 (FE_UPWARD): Likewise.
12776 (FE_DOWNWARD): Likewise.
12777 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12778 (FE_DIVBYZERO): Likewise.
12779 (FE_OVERFLOW): Likewise.
12780 (FE_UNDERFLOW): Likewise.
12781 (FE_INEXACT): Likewise.
12782 (FE_TONEAREST): Likewise.
12783 (FE_DOWNWARD): Likewise.
12784 (FE_UPWARD): Likewise.
12785 (FE_TOWARDZERO): Likewise.
12786 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12787 (FE_UNDERFLOW): Likewise.
12788 (FE_OVERFLOW): Likewise.
12789 (FE_DIVBYZERO): Likewise.
12790 (FE_INVALID): Likewise.
12791 (FE_TONEAREST): Likewise.
12792 (FE_TOWARDZERO): Likewise.
12793 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12794 (FE_OVERFLOW): Likewise.
12795 (FE_UNDERFLOW): Likewise.
12796 (FE_DIVBYZERO): Likewise.
12797 (FE_INEXACT): Likewise.
12798 (FE_TONEAREST): Likewise.
12799 (FE_TOWARDZERO): Likewise.
12800 (FE_UPWARD): Likewise.
12801 (FE_DOWNWARD): Likewise.
12802 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12803 (FE_DIVBYZERO): Likewise.
12804 (FE_OVERFLOW): Likewise.
12805 (FE_UNDERFLOW): Likewise.
12806 (FE_INEXACT): Likewise.
12807 (FE_TONEAREST): Likewise.
12808 (FE_DOWNWARD): Likewise.
12809 (FE_UPWARD): Likewise.
12810 (FE_TOWARDZERO): Likewise.
12812 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12814 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12816 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12818 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12819 commands. Quote $PWD.
12820 (blacklist_exports): Don't use remove_newlines. Replace "declare
12822 (remove_newlines): Remove.
12824 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12826 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12827 * stdlib/stdlib.h (atof): Moved to ...
12828 * include/bits/stdlib-float.h: Here. New file.
12829 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12830 * stdlib/bits/stdlib-float.h: New file.
12831 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12833 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12836 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12838 * conform/conformtest.pl (@headers): Add fenv.h.
12839 * conform/data/fenv.h-data: New file.
12840 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12841 include of <math/fenv.h>.
12843 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12844 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12845 && !UNIX98]. Enables tests for XOPEN2K8.
12846 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12847 POSIX2008]: Likewise.
12849 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12850 (struct rusage): Do not expect type or its members.
12853 * math/math.h (FP_NAN): Define macro to integer constant usable in
12854 #if and use that to give value to enum constant.
12855 (FP_INFINITE): Likewise.
12856 (FP_ZERO): Likewise.
12857 (FP_SUBNORMAL): Likewise.
12858 (FP_NORMAL): Likewise.
12860 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12862 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12863 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12866 2012-11-02 Roland McGrath <roland@hack.frob.com>
12868 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12869 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12870 autoconf-time if not.
12871 * configure.in: Remove AC_PREREQ.
12873 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12875 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12876 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12877 of the internal implementation.
12879 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12881 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12882 except include of <misc/sys/syslog.h>.
12884 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12887 function returns with a NULL context exit with zero.
12889 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12891 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12893 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12895 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12896 (run_program_cmd): This.
12897 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12898 (tst_langinfo): New variable. Use it.
12900 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12902 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12903 floating point opcodes.
12905 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12907 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12910 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12912 * sysdeps/mach/hurd/powerpc: Remove directory.
12913 * sysdeps/mach/powerpc: Likewise.
12915 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12917 * scripts/check-local-headers.sh: Ignore c++ headers.
12919 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12921 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12922 __libc_cleanup_region_start argument.
12924 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12929 x * y using scaling, not as x * y + z.
12930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12932 * math/libm-test.inc (fma_test): Add more tests.
12933 (fma_test_towardzero): Likewise.
12934 (fma_test_downward): Likewise.
12935 (fma_test_upward): Likewise.
12937 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12939 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12941 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12943 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12946 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12948 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12950 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12957 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12960 Fix the order of the list for glibc 2.17.
12961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12964 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12968 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12972 for low part of x being zero before using __atanl (y).
12973 * math/libm-test.inc (atan2_test): Add another test.
12975 * manual/install.texi (Configuring and compiling): Document
12976 general use of test-wrapper and test-wrapper-env.
12977 * INSTALL: Regenerated.
12979 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12980 (__fma): Do not extract and scale down low bits on after-rounding
12981 systems when result rounded to normal precision would have normal
12983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12984 (__fmal): Do not extract and scale down low bits on after-rounding
12985 systems when result rounded to normal precision would have normal
12987 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12988 (__fmal): Do not extract and scale down low bits on after-rounding
12989 systems when result rounded to normal precision would have normal
12991 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12993 (fma_test): Add more tests.
12994 (fma_test_towardzero): Likewise.
12995 (fma_test_downward): Likewise.
12996 (fma_test_upward): Likewise.
12998 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13000 * sysdeps/i386/tininess.h: Renamed to ...
13001 * sysdeps/x86/tininess.h: This.
13002 * sysdeps/x86_64/tininess.h: Removed.
13004 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13006 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13007 input. Use $(build-program-cmd).
13008 ($(objpfx)tst-array1-static.out): Likewise.
13009 ($(objpfx)tst-array2.out): Likewise.
13010 ($(objpfx)tst-array3.out): Likewise.
13011 ($(objpfx)tst-array4.out): Likewise.
13012 ($(objpfx)tst-array5.out): Likewise.
13013 ($(objpfx)tst-array5-static.out): Likewise.
13015 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13017 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13020 * nss/nsswitch.h (nss_interface_function): Provide new
13021 macro for use with NSS functions.
13022 * grp/initgroups.c: Use new macro.
13023 * nss/getXXbyYY.c: Likewise.
13024 * nss/getXXbyYY_r.c: Likewise.
13025 * nss/getXXent.c: Likewise.
13026 * nss/getXXent_r.c: Likewise.
13027 * sysdeps/posix/getaddrinfo.c: Likewise.
13029 2012-10-30 Andreas Jaeger <aj@suse.de>
13031 * po/ru.po: Update Russion translation from translation project.
13033 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13038 result and shift together with sticky bit instead of replicating
13039 round-to-nearest rounding.
13040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13042 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13043 missing underflow exceptions.
13044 (fma_test_towardzero): Add more tests.
13045 (fma_test_downward): Likewise.
13046 (fma_test_upward): Likewise.
13049 * sysdeps/generic/tininess.h: New file.
13050 * sysdeps/i386/tininess.h: Likewise.
13051 * sysdeps/sh/tininess.h: Likewise.
13052 * sysdeps/x86_64/tininess.h: Likewise.
13053 * stdlib/tst-strtod-underflow.c: Likewise.
13054 * stdlib/tst-tininess.c: Likewise.
13055 * stdlib/strtod_l.c: Include <tininess.h>.
13056 (round_and_return): Do not set errno for exact underflow cases.
13057 Force an underflow exception when setting errno for underflow.
13058 Determine underflow based on rounding to normal precision if
13059 TININESS_AFTER_ROUNDING.
13060 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13061 ERANGE for exact underflow cases.
13062 * stdlib/Makefile (tests): Add tst-tininess and
13063 tst-strtod-underflow.
13064 ($(objpfx)tst-tininess): Use $(link-libm).
13065 ($(objpfx)tst-strtod-underflow): Likewise.
13067 2012-10-30 Andreas Jaeger <aj@suse.de>
13070 * elf/Makefile (tests): Remove conditional for have-initfini-array
13071 since this is now always required and the variable does not exist
13073 (tests-static): Likewise.
13074 (modules-names): Likewise.
13076 * po/eo.po: Add Esperanto translation from translation project.
13078 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13079 merged with constructor/destructor.
13080 (init_array): Likewise.
13081 * elf/tst-array2dep.c (fini_array): Likewise.
13082 (init_array): Likewise.
13084 2012-10-29 Mike Frysinger <vapier@gentoo.org>
13086 * manual/message.texi: Delete @cartouche tags.
13088 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13090 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13092 * sysdeps/mach/hurd/fsync.c: Likewise.
13094 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13095 [_POSIX_REALTIME_SIGNALS]: Change condition to
13096 [_POSIX_REALTIME_SIGNALS > 0].
13098 2012-10-27 Andreas Jaeger <aj@suse.de>
13100 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13101 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13103 [__WORDSIZE != 64]: Likewise.
13105 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13107 * iconvdata/tst-table.sh: Remove ${SHELL}.
13108 * iconvdata/tst-tables.sh: Likewise.
13110 2012-10-25 David S. Miller <davem@davemloft.net>
13112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13113 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13119 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13120 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13123 2012-10-25 Roland McGrath <roland@hack.frob.com>
13125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13126 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13129 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13130 Jim Blandy <jimb@codesourcery.com>
13132 * scripts/cross-test-ssh.sh: New file.
13133 * manual/install.texi (Configuring and compiling): Document use of
13135 * INSTALL: Regenerated.
13137 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13139 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13142 2012-10-25 Joseph Myers <joseph@codesourcery.com>
13144 * Makeconfig (run-program-prefix): Fix comment.
13146 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13147 Jim Blandy <jimb@codesourcery.com>
13149 * Makeconfig (test-wrapper): New variable,
13150 (test-wrapper-env): Likewise.
13151 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13152 (run-built-tests): Define to yes.
13153 (run-program-prefix): Use $(test-wrapper).
13154 (built-program-cmd): Likewise.
13155 * Rules (make-test-out): Use $(test-wrapper-env) and
13156 $(host-built-program-cmd).
13157 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13158 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13160 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13161 $(test-wrapper-env) to tst-rtld-load-self.sh.
13162 ($(objpfx)order2.out): Use $(test-wrapper).
13163 ($(objpfx)tst-initorder.out): Likewise.
13164 ($(objpfx)tst-initorder2.out): Likewise.
13165 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13166 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13167 (test_wrapper_env): New variable. Use it to run ld.so.
13168 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13169 Use it to run ld.so.
13170 (test_wrapper_env): Likewise.
13171 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13172 $(test-wrapper) to run-iconv-test.sh.
13173 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13174 (ICONV): Use $test_wrapper.
13175 * posix/Makefile ($(objpfx)globtest.out): Pass
13176 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13177 globtest.sh, not $(run-program-prefix).
13178 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13179 (test_wrapper): Likewise.
13180 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13181 set together with run_via_rtld_prefix.
13182 (run_program_prefix): Define in terms of test_wrapper and
13183 run_via_rtld_prefix.
13185 2012-10-24 Roland McGrath <roland@hack.frob.com>
13187 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13188 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13192 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13193 Declare __clock_getres, __clock_gettime, __clock_settime,
13194 __clock_nanosleep, and __clock_getcpuclockid.
13195 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13196 Remove librt_hidden_def (clock_gettime).
13197 * sysdeps/unix/clock_gettime.c: Likewise.
13198 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13200 * rt/clock_getres.c: Define __clock_getres as an alias.
13201 * sysdeps/posix/clock_getres.c: Likewise.
13202 * rt/clock_settime.c: Define __clock_settime as an alias.
13203 * sysdeps/unix/clock_settime.c: Likewise.
13204 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13205 * sysdeps/unix/clock_nanosleep.c: Likewise.
13206 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13207 * rt/clock-compat.c: New file.
13208 * rt/Makefile (librt-routines): Add clock-compat and move
13209 $(clock-routines) to ...
13210 (routines): ... here, new variable.
13211 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13212 Don't add get_clockfreq here.
13213 * rt/Versions (libc: GLIBC_2.17): New version set.
13214 Add clock_* symbols here.
13215 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13216 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13217 (GLIBC_2.17): Add clock_* symbols.
13218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13229 * NEWS: Mention the move.
13231 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13232 Use __open, __read, __close rather than their public counterparts.
13233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13234 (__get_clockfreq_via_cpuinfo): Likewise.
13235 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13236 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13238 * config.h.in (HAVE_IFUNC): New #undef.
13239 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13241 * configure: Regenerated.
13243 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13245 * configure.in: Move READELF check to start of file.
13246 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13247 libc_cv_asm_gnu_indirect_function in the process.
13248 * configure: Regenerated.
13250 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13252 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13253 send the output to /dev/null.
13254 (libc_cv_cc_with_libunwind): Likewise.
13255 (libc_cv_as_noexecstack): Likewise.
13256 * configure: Regenerate.
13258 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13260 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13262 * posix/globtest.sh (TMPDIR): Do not set.
13263 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13264 (testout): Likewise.
13266 2012-10-24 Andreas Jaeger <aj@suse.de>
13268 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13269 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13270 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13271 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13272 posix_fadvise64, posix_fallocate64.
13274 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13275 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13276 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13278 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13280 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13283 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13284 <bits/fcntl-linux.h>.
13285 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13288 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13289 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13290 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13291 [__WORDSIZE != 64]: Likewise.
13293 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13295 * Makeconfig (run-built-tests): New variable.
13296 * Rules [$(cross-compiling) = yes]: Change condition to
13297 [$(run-built-tests) = no].
13298 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13299 to [$(run-built-tests) = yes].
13300 * elf/Makefile [$(cross-compiling) = no]: Likewise
13301 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13302 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13303 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13304 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13305 * io/Makefile [$(cross-compiling) = no]: Likewise.
13306 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13307 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13308 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13309 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13310 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13311 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13312 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13313 * string/Makefile [$(cross-compiling) = no]: Likewise.
13315 * posix/Makefile ($(objpfx)globtest.out): Pass
13316 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13317 $(rtld-installed-name).
13318 * posix/globtest.sh (elf_objpfx): Remove variable.
13319 (rtld_installed_name): Likewise.
13320 (library_path): Likewise.
13321 (run_program_prefix): New variable. Use for running globtest
13324 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13325 Joseph Myers <joseph@codesourcery.com>
13327 * Makeconfig (host-built-program-cmd): New variable.
13328 * elf/Makefile (tst-stackguard1-ARGS): Use
13329 $(host-built-program-cmd).
13330 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13331 (tst-spawn-ARGS): Likewise.
13332 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13334 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13335 Jim Blandy <jimb@codesourcery.com>
13337 * Makeconfig (run-via-rtld-prefix): New variable.
13338 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13339 (built-program-cmd): Likewise.
13341 2012-10-22 Andreas Jaeger <aj@suse.de>
13343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13344 __O_RSYNC if it exists, otherwise to O_SYNC.
13346 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13347 Joseph Myers <joseph@codesourcery.com>
13349 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13351 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13353 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13356 2012-10-22 Andreas Jaeger <aj@suse.de>
13358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13363 bits/fcntl-linux.h.
13365 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13366 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13373 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13374 Joseph Myers <joseph@codesourcery.com>
13376 * config.make.in (NM): New variable.
13378 2012-10-21 Andreas Jaeger <aj@suse.de>
13380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13381 definitions and declarations that are provided by
13382 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13384 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13387 * elf/Makefile (tests-static): Add tst-leaks1-static.
13388 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13389 ($(objpfx)tst-leaks1-static): New rule.
13390 ($(objpfx)tst-leaks1-static-mem): Likewise.
13391 (tst-leaks1-static-ENV): New macro.
13392 * elf/dl-open.c (dl_open_worker): Check the main application
13393 only if SHARED is defined.
13394 * elf/tst-leaks1-static.c: New file.
13396 2012-10-20 Andreas Jaeger <aj@suse.de>
13398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13399 generic values for Linux.
13400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13401 and declarations that are provided by <bits/fcntl-linux.h> and
13402 include <bits/fcntl-linux.h>.
13403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13406 2012-10-20 Roland McGrath <roland@hack.frob.com>
13408 * io/fcntl.h: Move include of <bits/types.h> to the top and
13409 include it unconditionally.
13411 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13413 * wcsmbs/Makefile (tests-ifunc): New variable.
13414 (tests): Add $(tests-ifunc).
13415 * wcsmbs/test-wcschr-ifunc.c: New file.
13416 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13417 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13418 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13419 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13420 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13422 * string/Makefile (tests-ifunc): New variable.
13423 (tests): Add $(tests-ifunc).
13424 * string/test-memccpy.c (TEST_NAME): New macro.
13425 * string/test-memchr.c (TEST_NAME): Likewise.
13426 * string/test-memcmp.c (TEST_NAME): Likewise.
13427 * string/test-memcpy.c (TEST_NAME): Likewise.
13428 * string/test-memmem.c (TEST_NAME): Likewise.
13429 * string/test-memmove.c (TEST_NAME): Likewise.
13430 * string/test-memset.c (TEST_NAME): Likewise.
13431 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13432 * string/test-stpcpy.c (TEST_NAME): Likewise.
13433 * string/test-stpncpy.c (TEST_NAME): Likewise.
13434 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13435 * string/test-strcasestr.c (TEST_NAME): Likewise.
13436 * string/test-strcat.c (TEST_NAME): Likewise.
13437 * string/test-strchr.c (TEST_NAME): Likewise.
13438 * string/test-strcmp.c(TEST_NAME): Likewise.
13439 * string/test-strcpy.c (TEST_NAME): Likewise.
13440 * string/test-strcspn.c (TEST_NAME): Likewise.
13441 * string/test-strlen.c (TEST_NAME): Likewise.
13442 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13443 * string/test-strncmp.c (TEST_NAME): Likewise.
13444 * string/test-strncpy.c (TEST_NAME): Likewise.
13445 * string/test-strnlen.c (TEST_NAME): Likewise.
13446 * string/test-strpbrk.c (TEST_NAME): Likewise.
13447 * string/test-strrchr.c (TEST_NAME): Likewise.
13448 * string/test-strspn.c (TEST_NAME): Likewise.
13449 * string/test-strstr.c (TEST_NAME): Likewise.
13450 * string/test-bcopy-ifunc.c: New file.
13451 * string/test-bzero-ifunc.c: Likewise.
13452 * string/test-memccpy-ifunc.c: Likewise.
13453 * string/test-memchr-ifunc.c: Likewise.
13454 * string/test-memcmp-ifunc.c: Likewise.
13455 * string/test-memcpy-ifunc.c: Likewise.
13456 * string/test-memmem-ifunc.c: Likewise.
13457 * string/test-memmove-ifunc.c: Likewise.
13458 * string/test-mempcpy-ifunc.c: Likewise.
13459 * string/test-memset-ifunc.c: Likewise.
13460 * string/test-rawmemchr-ifunc.c: Likewise.
13461 * string/test-stpcpy-ifunc.c: Likewise.
13462 * string/test-stpncpy-ifunc.c: Likewise.
13463 * string/test-strcasecmp-ifunc.c: Likewise.
13464 * string/test-strcasestr-ifunc.c: Likewise.
13465 * string/test-strcat-ifunc.c: Likewise.
13466 * string/test-strchr-ifunc.c: Likewise.
13467 * string/test-strchrnul-ifunc.c: Likewise.
13468 * string/test-strcmp-ifunc.c: Likewise.
13469 * string/test-strcpy-ifunc.c: Likewise.
13470 * string/test-strcspn-ifunc.c: Likewise.
13471 * string/test-strlen-ifunc.c: Likewise.
13472 * string/test-strncasecmp-ifunc.c: Likewise.
13473 * string/test-strncat-ifunc.c: Likewise.
13474 * string/test-strncmp-ifunc.c: Likewise.
13475 * string/test-strncpy-ifunc.c: Likewise.
13476 * string/test-strnlen-ifunc.c: Likewise.
13477 * string/test-strpbrk-ifunc.c: Likewise.
13478 * string/test-strrchr-ifunc.c: Likewise.
13479 * string/test-strspn-ifunc.c: Likewise.
13480 * string/test-strstr-ifunc.c: Likewise.
13482 * debug/Makefile (tests-ifunc): New variable.
13483 (tests): Add $(tests-ifunc).
13484 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13485 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13486 * debug/test-stpcpy_chk-ifunc.c: New file.
13487 * debug/test-strcpy_chk-ifunc.c: Likewise.
13489 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13492 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13493 header is not read in.
13495 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13497 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13498 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13499 directly. Pass built executable to script as
13500 $(built-program-cmd).
13501 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13502 $testprogram without using LD_LIBRARY_PATH and $ldso.
13504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13505 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13506 $(rtld-installed-name).
13507 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13508 (rtld_installed_name): Likewise.
13509 (library_path): Likewise.
13510 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13511 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13512 $(run-program-prefix) to tst-tables.sh.
13513 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13514 it to run tst-table-from and tst-table-to.
13515 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13516 Pass it to tst-table.sh.
13517 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13518 $(run-program-prefix) to tst-gettext.sh.
13519 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13521 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13523 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13524 to run tst-gettext.
13525 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13526 to run tst-gettext2.
13527 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13528 to run tst-translit.
13529 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13530 $(run-program-prefix) to tst-mtrace.sh.
13531 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13533 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13534 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13535 $(rtld-installed-name).
13536 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13537 (rtld_installed_name): Likewise.
13538 (run_program_prefix): New variable. Use it to run wordexp-test.
13540 * Makeconfig (ARCH): Remove all definitions.
13541 (machine): Likewise.
13542 [ARCH]: Remove conditional code.
13543 [!objdir]: Give error.
13544 [!objdir] (objpfx): Remove.
13545 [!objdir] (common-objpfx): Likewise.
13546 [!objdir] (common-objdir): Likewise.
13547 * configure.in (config_makefile): Remove. Hardcode Makefile in
13548 AC_CONFIG_FILES call.
13549 * configure: Regenerated.
13552 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13554 (testout): Likewise.
13556 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13557 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13558 $(rtld-installed-name).
13559 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13560 (rtld_installed_name): Likwise.
13561 (runit): Remove function.
13562 (run_getconf): New variable, Use it for running getconf binary.
13564 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13567 * string/test-memmem.c (check_result): New function.
13568 (do_one_test): Use it.
13569 (check1): New function.
13570 (test_main): Use it.
13572 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13574 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13576 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13578 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13579 (_G_LSEEK64): Likewise.
13580 (_G_MMAP64): Likewise.
13581 (_G_FSTAT64): Likewise.
13582 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13583 (_G_LSEEK64): Likewise.
13584 (_G_MMAP64): Likewise.
13585 (_G_FSTAT64): Likewise.
13586 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13587 unconditional. Call __mmap64 directly.
13588 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13589 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13590 __lseek64 directly.
13591 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13592 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13594 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13595 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13596 __lseek64 directly.
13597 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13598 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13599 __lseek64 directly.
13600 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13601 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13602 __lseek64 directly.
13603 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13604 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13605 __fxstat64 directly.
13606 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13607 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13609 (freopen64) [!_G_OPEN64]: Remove conditional code.
13610 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13612 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13613 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13615 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13616 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13618 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13619 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13621 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13622 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13624 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13625 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13627 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13628 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13630 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13632 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13635 * manual/memory.texi (Malloc Tunable Parameters): Add note
13636 about free list pointers overwriting some perturb bytes.
13637 Wording suggested by Roland McGrath.
13639 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13641 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13642 (lgamma_test): Likewise.
13643 (tgamma_test): Likewise.
13645 2012-10-16 Florian Weimer <fweimer@redhat.com>
13648 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13649 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13651 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13653 * NEWS: Mention BZ #14716.
13654 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13655 when removing AVAILABLE1_USES_J macro.
13657 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13659 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13660 (__bswap_64): __uint64_t for unsigned 64-bit int.
13662 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13664 * include/string.h (memmem): Declare libc hidden alias.
13665 * string/memmem.c (memmem): Define libc hidden alias.
13666 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13667 __read, __close instead of open, read, close.
13669 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13672 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13674 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13675 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13676 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13678 (__rawmemchr_sse2): Likewise.
13679 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13680 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13681 (__strchr_sse2): Likewise.
13682 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13683 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13684 (__strcasecmp_sse2): Likewise.
13685 (__strncasecmp_sse2): Likewise.
13686 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13687 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13688 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13689 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13690 (__strrchr_sse2): Likewise.
13691 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13693 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13694 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13695 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13696 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13697 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13698 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13699 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13700 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13701 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13702 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13703 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13704 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13705 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13706 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13707 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13708 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13709 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13710 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13711 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13712 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13713 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13714 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13715 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13716 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13717 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13718 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13719 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13720 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13721 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13722 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13724 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13726 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13727 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13728 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13729 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13731 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13733 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13734 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13735 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13736 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13738 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13740 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13741 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13742 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13743 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13744 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13745 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13746 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13747 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13748 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13749 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13750 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13751 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13752 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13753 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13754 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13755 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13756 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13757 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13758 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13759 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13760 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13761 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13762 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13763 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13764 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13765 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13766 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13767 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13768 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13769 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13770 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13771 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13772 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13773 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13774 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13775 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13776 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13777 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13778 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13780 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13781 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13782 * include/ifunc-impl-list.h: New file.
13783 * misc/ifunc-impl-list.c: Likewise.
13784 * misc/Makefile (routines): Add ifunc-impl-list.
13785 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13786 * string/test-string.h: Include <ifunc-impl-list.h>.
13787 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13788 impl_array): New variables.
13789 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13791 (test_init): Call __libc_ifunc_impl_list to initialize
13792 func_list if TEST_IFUNC and TEST_NAME are defined.
13794 * string/Makefile (strop-tests): Add bcopy and bzero.
13795 * string/test-bcopy.c: New file.
13796 * string/test-bzero.c: Likewise.
13797 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13799 * string/test-memset.c: Support bzero test if TEST_BZERO is
13801 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13803 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13805 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13808 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13810 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13811 * configure: Regenerated.
13813 * Makeconfig (+link-static-before-libc): Don't include
13814 $(link-static-libc).
13816 * libio/libio.h (_IO_pos_t): Remove.
13818 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13820 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13823 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13825 * crypt/crypt-entry.c: Include fips-private.h.
13826 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13827 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13828 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13829 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13831 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13833 * crypt/crypt-private.h: Include stdbool.h.
13834 (_ufc_setup_salt_r): Return bool.
13835 * crypt/crypt-entry.c: Include errno.h.
13836 (__crypt_r): Return NULL with EINVAL for bad salt.
13837 * crypt/crypt_util.c (bad_for_salt): New.
13838 (_ufc_setup_salt_r): Check that salt is long enough and within
13839 the specified alphabet.
13840 * crypt/badsalttest.c: New file.
13841 * crypt/Makefile (tests): Add it.
13842 ($(objpfx)badsalttest): New.
13844 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13846 * NEWS: Add entry for BZ #14602.
13848 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13850 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13852 * math/libm-test.inc: Update comment listing what functions and
13854 (isgreater_test): New function.
13855 (isgreaterequal_test): Likewise.
13856 (isless_test): Likewise.
13857 (islessequal_test): Likewise.
13858 (islessgreater_test): Likewise.
13859 (isunordered_test): Likewise.
13860 (main): Call the new functions.
13862 2012-10-09 Roland McGrath <roland@hack.frob.com>
13864 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13865 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13866 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13867 * sysdeps/i386/configure: Regenerated.
13868 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13869 * sysdeps/mach/configure: Regenerated.
13870 * sysdeps/mach/hurd/configure: Regenerated.
13871 * sysdeps/powerpc/configure: Regenerated.
13872 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13873 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13874 * sysdeps/s390/s390-32/configure: Regenerated.
13875 * sysdeps/s390/s390-64/configure: Regenerated.
13876 * sysdeps/sh/configure: Regenerated.
13877 * sysdeps/sparc/configure: Regenerated.
13878 * sysdeps/unix/sysv/linux/configure: Regenerated.
13879 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13880 * sysdeps/x86_64/configure: Regenerated.
13882 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13883 defined. Don't check if MAP is NULL.
13885 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13887 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13888 (_G_stat64): Likewise.
13889 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13890 (_G_stat64): Likewise.
13891 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13892 instead of struct _G_stat64.
13893 * libio/fileops.c (mmap_remap_check): Likewise.
13894 (decide_maybe_mmap): Likewise.
13895 (_IO_new_file_seekoff): Likewise.
13896 (_IO_file_stat): Likewise.
13897 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13899 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13900 instead of struct _G_stat64.
13901 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13903 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13906 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13908 (CHECK_EOL): New macro.
13909 (two_way_short_needle): Check beginning of haystack for EOL. Use
13911 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13912 Replace with CHECK_EOL.
13913 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13914 Replace with CHECK_EOL.
13916 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13918 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13920 * math/libm-test.inc: Update comment listing what functions and
13922 (finite_test): New function.
13923 (isinf_test): Likewise.
13924 (isnan_test): Likewise.
13925 (fpclassify_test): Test subnormal input.
13926 (isfinite_test): Likewise.
13927 (isnormal_test): Likewise.
13928 (main): Call the new functions.
13930 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13933 * Makerules (%.dynsym): Force C locale when running
13934 $(OBJDUMP) --dynamic-syms.
13936 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13938 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13941 2012-10-06 David S. Miller <davem@davemloft.net>
13943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13944 upper 32-bits of the length value in %o2 since we use branch-on-register
13945 tests which consider the entire 64-bit register.
13947 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13949 * string/test-strstr.c (check2): Add a test for page boundary.
13951 2012-10-05 David S. Miller <davem@davemloft.net>
13953 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13954 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13956 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13958 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13959 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13960 and bzero when HWCAP_SPARC_CRYPTO is present.
13962 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13965 * string/test-strstr.c (check2): New function.
13966 (test_main): Call check2.
13968 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13970 * string/bug-strcasestr1.c (do_test): Moved to ...
13971 * string/test-strcasestr.c (check1): Here. New function.
13972 (do_one_test): Break out result checking code into ...
13973 (check_result): This. New function.
13974 (do_one_test): Call check_result.
13975 (test_main): Call check1.
13976 * string/bug-strchr1.c (do_test): Moved to ...
13977 * string/test-strchr.c (check1): Here. New function.
13978 (do_one_test): Break out result checking code into ...
13979 (check_result): This. New function.
13980 (do_one_test): Call check_result.
13981 (test_main): Call check1.
13982 * string/bug-strstr1.c (main): Moved to ...
13983 * string/test-strstr.c (check1): Here. New function.
13984 (do_one_test): Break out result checking code into ...
13985 (check_result): This. New function.
13986 (do_one_test): Call check_result.
13987 (test_main): Call check1.
13988 * string/bug-strcasestr1.c: Removed.
13989 * string/bug-strchr1.c: Likewise.
13990 * string/bug-strstr1.c: Likewise.
13992 * elf/Makefile (dl-routines): Add hwcaps.
13993 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13994 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13995 (_dl_important_hwcaps): Moved to ...
13996 * elf/dl-hwcaps.c: Here. New file.
13997 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14000 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14001 if IS_IN_rtld isn't defined.
14003 * elf/dl-support.c (_dl_sysinfo_map): New.
14004 Include "get-dynamic-info.h" and "setup-vdso.h".
14005 (_dl_non_dynamic_init): Call setup_vdso.
14006 * elf/dynamic-link.h: Don't include <assert.h>.
14007 (elf_get_dynamic_info): Moved to ...
14008 * elf/get-dynamic-info.h: Here. New file.
14009 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14010 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14011 * elf/setup-vdso.h: Here. New file.
14012 * elf/rtld.c: Include "setup-vdso.h".
14013 (dl_main): Call setup_vdso.
14015 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14017 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14018 creal in comment listing functions tested. List finite, isinf,
14019 isnan, isless, islessequal, isgreater, isgreaterequal,
14020 islessgreater, isunordered, lgamma_r and pow10 as functions and
14021 macros not tested. Mention which functions not tested are aliases
14022 for other functions. Fix typo. Note that signs of NaNs are not
14025 * scripts/config.guess: Update from config.git.
14026 * scripts/config.sub: Likewise.
14028 2012-10-04 Roland McGrath <roland@hack.frob.com>
14030 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14031 * misc/madvise.c (madvise): Renamed to __madvise.
14032 Make madvise a weak alias.
14033 * include/sys/mman.h: Declare __madvise.
14034 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14035 * sysdeps/unix/syscalls.list
14036 (madvise): Make __madvise the strong name, and madvise a weak alias.
14037 * sysdeps/unix/sysv/linux/syscalls.list
14038 (madvise, mmap): Remove redundant entries.
14039 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14040 * malloc/malloc.c (mtrim): Likewise.
14041 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14043 2012-10-03 Roland McGrath <roland@hack.frob.com>
14045 * sysdeps/mach/hurd/dl-cache.c: File removed.
14046 * config.h.in (USE_LDCONFIG): New #undef.
14047 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14048 * configure: Regenerated.
14049 * elf/Makefile (dl-routines): Add dl-cache only under
14050 [$(use-ldconfig) = yes].
14051 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14052 cache on [USE_LDCONFIG].
14053 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14055 * elf/rtld.c (dl_main): Likewise.
14057 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14059 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14060 _SC_LEVEL4_CACHE_LINESIZE.
14062 2012-10-03 Roland McGrath <roland@hack.frob.com>
14064 * sysdeps/unix/bsd/confstr.h: File removed.
14066 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
14068 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14071 2012-10-02 Roland McGrath <roland@hack.frob.com>
14073 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14074 Make 'mapoff' field ElfW(Off) rather than off_t.
14076 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14078 * nscd/Makefile: Remove nscd-cflags and all its users.
14079 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14080 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14083 * malloc.c (malloc_printerr): Clarify error message.
14085 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14089 Set bit_FMA_Usable if FMA is supported.
14090 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14092 (bit_FMA4_Usable): Updated.
14093 (index_FMA_Usable): New macro.
14094 (CPUID_FMA): Likewise
14095 (HAS_FMA): Defined with bit_FMA_Usable.
14097 2012-10-01 Roland McGrath <roland@hack.frob.com>
14099 * bits/types.h (__swblk_t): Type removed.
14100 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14101 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14103 (__SWBLK_T_TYPE): Likewise.
14104 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14105 (__SWBLK_T_TYPE): Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14107 (__SWBLK_T_TYPE): Likewise.
14108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14109 (__SWBLK_T_TYPE): Likewise.
14111 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
14112 Honza Horak <hhorak@redhat.com>
14114 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14115 (xdr_mapname): Use YPMAXMAP as maxsize.
14116 (xdr_peername): Use YPMAXPEER as maxsize.
14117 (xdr_keydat): Use YPAXRECORD as maxsize.
14118 (xdr_valdat): Use YPMAXRECORD as maxsize.
14120 2012-10-01 Roland McGrath <roland@hack.frob.com>
14122 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14124 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14125 * csu/init-first.c: ... here.
14126 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14127 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14128 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14130 * sysdeps/i386/init-first.c: File removed.
14131 * sysdeps/sh/init-first.c: File removed.
14133 2012-10-01 Joseph Myers <joseph@codesourcery.com>
14136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14137 if x * y might underflow to zero and z is zero.
14138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14140 * math/libm-test.inc (min_subnorm_value): New variable.
14141 (fma_test): Add more tests.
14142 (fma_test_towardzero): Likewise.
14143 (fma_test_downward): Likewise
14144 (fma_test_upward): Likewise.
14145 (initialize): Set min_subnorm_value.
14147 2012-09-29 Joseph Myers <joseph@codesourcery.com>
14150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14153 mode for addition resulting in exact zero.
14154 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14159 * math/libm-test.inc (fma_test): Add more tests.
14160 (fma_test_towardzero): New function.
14161 (fma_test_downward): Likewise.
14162 (fma_test_upward): Likewise.
14163 (main): Call the new functions.
14165 2012-09-28 David S. Miller <davem@davemloft.net>
14167 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14169 2012-09-28 Roland McGrath <roland@hack.frob.com>
14171 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14172 instead of SIGALRM.
14174 * sysdeps/gnu/_G_config.h: Moved to ...
14175 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14176 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14177 * sysdeps/generic/_G_config.h: ... here.
14179 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14181 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14183 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14184 Conditionalize target on [libnss_test1.so-version].
14186 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14188 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14189 (elfobjdir): Move out of conditionals.
14191 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14192 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14193 (__nss_lookup_function): Conditionalize label remove_from_tree on
14194 [!DO_STATIC_NSS || SHARED], matching its only use.
14196 2012-09-28 David S. Miller <davem@davemloft.net>
14198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14201 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14203 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14205 when HWCAP_SPARC_CRYPTO is present.
14207 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14209 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14211 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14214 * stdio-common/vfprintf.c (process_string_arg): Revert
14217 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14219 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14221 * stdio-common/tst-sprintf.c: Include <locale.h>
14222 (main): Test sprintf's handling of incomplete multibyte
14225 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14227 * elf/dl-runtime.c (VERSYMIDX): Removed.
14228 * elf/dl-version.c (VERSYMIDX): Likewise.
14229 * elf/do-rel.h (VERSYMIDX): Likewise.
14230 (VALIDX): Likewise.
14231 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14232 * elf/rtld.c (VALIDX): Likewise.
14233 (ADDRIDX): Likewise.
14234 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14235 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14236 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14237 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14238 (VALIDX): Likewise.
14239 (ADDRIDX): Likewise.
14241 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14243 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14245 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14248 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14250 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14251 addresses are in the same scope as 192.0.2/24.
14252 * posix/gai.conf: Document new scope table defaults.
14254 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14257 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14258 for ftell. Compute offsets from write pointers instead.
14259 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14261 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14264 * libio/Makefile (tests): New test case tst-fseek.
14265 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14266 combination works in wide mode.
14267 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14268 state when the external buffer state changes.
14270 2012-09-27 David S. Miller <davem@davemloft.net>
14273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14274 pass reloc->r_addend in as the 'high' argument to
14275 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14279 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14281 * rt/tst-aio2.c: Include <pthread.h>.
14282 * rt/tst-aio3.c: Likewise.
14284 2012-09-27 Steve Ellcey <sellcey@mips.com>
14286 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14288 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14290 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14291 contents on [SHARED].
14293 2012-09-26 Marek Polacek <polacek@redhat.com>
14297 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14298 for C++ and GCC <4.3 as well as for non GCC compilers.
14300 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14304 2012-09-25 Roland McGrath <roland@hack.frob.com>
14306 * Makefile.in (all, install): Declare with .PHONY.
14307 Reported by Michael Hope <michael.hope@linaro.org>.
14309 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14311 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14312 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14314 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14316 (sydep_routines): Add the new and the internal functions.
14317 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14318 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14320 (GLIBC_2.17): Add the new function.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14322 (GLIBC_2.17): Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14324 (GLIBC_2.17): Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14326 (GLIBC_2.17): Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14329 2012-09-25 Alan Modra <amodra@gmail.com>
14331 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14332 Add release barrier before setting once_control to say
14333 initialisation is done. Add hints on lwarx. Use macro in
14335 (clear_once_control): Add release barrier.
14337 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14340 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14342 * math/s_clog10.c (__clog10): Likewise.
14343 * math/s_clog10f.c (__clog10f): Likewise.
14344 * math/s_clog10l.c (__clog10l): Likewise.
14345 * math/s_clogf.c (__clogf): Likewise.
14346 * math/s_clogl.c (__clogl): Likewise.
14347 * math/Makefile (libm-calls): Add x2y2m1.
14348 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14349 (__x2y2m1): Likewise.
14350 (__x2y2m1l): Likewise.
14351 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14352 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14357 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14358 * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14362 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14363 int as type of variable DEPTH.
14364 (glob): Use size_t instead of int as type of variables NEWCOUNT
14367 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14369 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14370 Add s_sincosf-sse2.
14371 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14372 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14373 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14374 macros for using routine as __sincosf_ia32.
14375 Use macro for function declaration and weak_alias.
14376 * sysdeps/i386/fpu/libm-test-ulps: Update.
14378 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14381 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14382 subnormal argument.
14383 * math/s_cexpf.c (__cexpf): Likewise.
14384 * math/s_csinf.c (__csinf): Likewise.
14385 * math/s_csinhf.c (__csinhf): Likewise.
14386 * math/s_ctanf.c (__ctanf): Likewise.
14387 * math/s_ctanhf.c (__ctanhf): Likewise.
14388 * math/s_ccosh.c (__ccoshf): Likewise.
14389 * math/s_cexp.c (__cexpl): Likewise.
14390 * math/s_csin.c (__csin): Likewise.
14391 * math/s_csinh.c (__csinh): Likewise.
14392 * math/s_ctan.c (__ctan): Likewise.
14393 * math/s_ctanh.c (ctanh): Likewise.
14394 * math/s_ccoshl.c (__ccoshl): Likewise.
14395 * math/s_cexpl.c (__cexpl): Likewise.
14396 * math/s_csinl.c (__csinl): Likewise.
14397 * math/s_csinhl.c (__csinhl): Likewise.
14398 * math/s_ctanl.c (__ctanl): Likewise.
14399 * math/s_ctanhl.c (__ctanhl): Likewise.
14401 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14403 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14404 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14405 (_IO_off_t): Define to __off_t, not _G_off_t.
14406 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14407 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14408 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14409 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14410 type of __dummy and __dummy2 fields.
14411 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14412 (_G_ssize_t): Likewise.
14413 (_G_off_t): Likewise.
14414 (_G_pid_t): Likewise.
14415 (_G_uid_t): Likewise.
14416 (_G_wchar_t): Likewise.
14417 (_G_wint_t): Likewise.
14418 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14419 (_G_ssize_t): Likewise.
14420 (_G_off_t): Likewise.
14421 (_G_pid_t): Likewise.
14422 (_G_uid_t): Likewise.
14423 (_G_wchar_t): Likewise.
14424 (_G_wint_t): Likewise.
14425 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14426 (_G_ssize_t): Likewise.
14427 (_G_off_t): Likewise.
14428 (_G_pid_t): Likewise.
14429 (_G_uid_t): Likewise.
14430 (_G_wchar_t): Likewise.
14431 (_G_wint_t): Likewise.
14433 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14435 * malloc/arena.c: Include malloc-sysdep.h.
14436 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14437 is sufficient to shrink the heap or an unmap is needed.
14438 * sysdeps/generic/malloc-sysdep.h: New file. Define
14439 new function check_may_shrink_heap.
14440 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14441 new function check_may_shrink_heap.
14443 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14445 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14448 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14450 * catgets/test-gencat.sh: Add "set -e".
14451 * elf/tst-pathopt.sh: Likewise.
14452 * grp/tst_fgetgrent.sh: Likewise.
14453 * iconvdata/run-iconv-test.sh: Likewise.
14454 * intl/tst-gettext.sh: Likewise.
14455 * intl/tst-gettext2.sh: Likewise.
14456 * intl/tst-gettext4.sh: Likewise.
14457 * intl/tst-gettext6.sh: Likewise.
14458 * intl/tst-translit.sh: Likewise.
14459 * io/ftwtest-sh: Likewise.
14460 * libio/test-freopen.sh: Likewise.
14461 * malloc/tst-mtrace.sh: Likewise.
14462 * posix/globtest.sh: Likewise.
14463 * posix/tst-getconf.sh: Likewise.
14464 * posix/wordexp-tst.sh: Likewise.
14465 * stdio-common/tst-printf.sh: Likewise.
14466 * stdio-common/tst-unbputc.sh: Likewise.
14467 * stdlib/tst-fmtmsg.sh: Likewise.
14468 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14469 * catgets/Makefile: Do not specify -e option when running
14470 testsuite shell scripts.
14471 * elf/Makefile: Likewise.
14472 * grp/Makefile: Likewise.
14473 * iconvdata/Makefile: Likewise.
14474 * intl/Makefile: Likewise.
14475 * io/Makefile: Likewise.
14476 * libio/Makefile: Likewise.
14477 * malloc/Makefile: Likewise.
14478 * posix/Makefile: Likewise.
14479 * stdio-common/Makefile: Likewise.
14480 * stdlib/Makefile: Likewise.
14481 * sysdeps/x86_64/Makefile: Likewise.
14483 * io/ftwtest-sh: Add copyright header.
14484 * posix/globtest.sh: Likewise.
14485 * posix/tst-getconf.sh: Likewise.
14486 * posix/wordexp-tst.sh: Likewise.
14487 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14489 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14492 * Makeconfig (+link): Defined as $(+link-static) if
14493 $(build-shared) isn't yes.
14494 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14496 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14498 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14501 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14502 new chunk size with MALLOC_ALIGN_MASK.
14504 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14507 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14509 (__printf_fphex): Determine rounding using get_rounding_mode and
14511 * stdio-common/tst-printf-round.c (struct hex_test): New
14513 (hex_tests): New variable.
14514 (test_hex_in_one_mode): New function.
14515 (do_test): Also run tests for hex float output.
14517 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14519 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14520 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14521 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14522 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14523 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14524 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14525 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14526 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14528 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14530 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14531 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14532 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14533 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14535 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14538 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14540 * elf/tst-rtld-load-self.sh: New test.
14541 * elf/Makefile: Run it.
14543 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14545 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14546 (tst-writev-ENV): Remove.
14547 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14549 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14551 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14553 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14555 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14557 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14559 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14560 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14561 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14564 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14567 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14568 * config.make.in (have-cpp-asm-debuginfo): Removed.
14569 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14570 * configure: Regenerated.
14572 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14575 * stdio-common/printf_fp.c: Include <stdbool.h> and
14577 (___printf_fp): Determine rounding using get_rounding_mode and
14579 * stdio-common/tst-printf-round.c: New file.
14580 * stdio-common/Makefile (tests): Add tst-printf-round.
14581 (link-libm): New variable.
14582 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14584 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14587 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14588 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14590 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14593 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14595 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14596 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14597 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14598 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14600 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14603 * include/rounding-mode.h: New file.
14604 * sysdeps/generic/get-rounding-mode.h: Likewise.
14605 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14606 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14607 (MAX_VALUE): New macro.
14608 (MIN_VALUE): Likewise.
14609 (overflow_value): New function.
14610 (underflow_value): Likewise.
14611 (round_and_return): Use overflow_value and underflow_value to
14612 determine return values in overflow and underflow cases. Use
14613 round_away to determine rounding depending on rounding mode.
14614 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14615 determine return values in overflow and underflow cases.
14616 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14617 (struct test_results): New structure.
14618 (struct test): Use struct test_results to store expected results
14619 for all rounding modes.
14620 (TEST): Include expected results for all rounding modes.
14621 (test_in_one_mode): New function.
14622 (do_test): Use test_in_one_mode to compute and check results.
14623 Check results for all rounding modes.
14624 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14627 2012-12-09 Allan McRae <allan@archlinux.org>
14629 * sysdeps/i386/fpu/libm-test-ulps: Update
14631 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14633 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14634 (_G_int32_t): Likewise.
14635 (_G_uint16_t): Likewise.
14636 (_G_uint32_t): Likewise.
14637 (_G_HAVE_BOOL): Likewise.
14638 (_G_HAVE_ATEXIT): Likewise.
14639 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14640 (_G_HAVE_IO_FILE_OPEN): Likewise.
14641 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14642 (_G_int32_t): Likewise.
14643 (_G_uint16_t): Likewise.
14644 (_G_uint32_t): Likewise.
14645 (_G_HAVE_BOOL): Likewise.
14646 (_G_HAVE_ATEXIT): Likewise.
14647 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14648 (_G_HAVE_IO_FILE_OPEN): Likewise.
14649 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14650 (_G_int32_t): Likewise.
14651 (_G_uint16_t): Likewise.
14652 (_G_uint32_t): Likewise.
14653 (_G_HAVE_BOOL): Likewise.
14654 (_G_HAVE_ATEXIT): Likewise.
14655 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14656 (_G_HAVE_IO_FILE_OPEN): Likewise.
14658 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14660 * csu/libc-tls.c: Update copyright years.
14662 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14664 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14665 [!_G_USING_THUNKS]: Remove conditional code.
14666 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14667 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14669 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14670 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14671 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14672 (_G_VTABLE_LABEL_PREFIX): Likewise.
14673 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14674 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14675 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14676 (_G_VTABLE_LABEL_PREFIX): Likewise.
14677 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14678 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14679 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14680 (_G_VTABLE_LABEL_PREFIX): Likewise.
14681 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14683 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14685 * libio/Makefile: Include ../Makeconfig before tests.
14686 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14687 only if $(build-shared) is yes.
14689 * iconv/gconv_db.c: Update copyright years.
14691 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14693 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14694 unwind info if defined PIC. Fix special cases description.
14695 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14697 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14699 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14701 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14703 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14705 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14708 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14709 (LDLIBS-tst-chk4): This.
14710 (LDFLAGS-tst-chk5): Renamed to ...
14711 (LDLIBS-tst-chk5): This.
14712 (LDFLAGS-tst-chk6): Renamed to ...
14713 (LDLIBS-tst-chk6): This.
14714 (LDFLAGS-tst-lfschk4): Renamed to ...
14715 (LDLIBS-tst-lfschk4): This.
14716 (LDFLAGS-tst-lfschk5): Renamed to ...
14717 (LDLIBS-tst-lfschk5): This.
14718 (LDFLAGS-tst-lfschk6): Renamed to ...
14719 (LDLIBS-tst-lfschk6): This.
14721 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14722 on $(common-objpfx)soversions.mk.
14724 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14727 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14730 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14732 * malloc/arena.c (arena_get_retry): New function that gets
14733 another arena for the caller to try its request on.
14734 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14735 current arena cannot fulfill the request.
14736 (__libc_memalign): Likewise.
14737 (__libc_memalign): Likewise.
14738 (__libc_pvalloc): Likewise.
14739 (__libc_calloc): Likewise.
14741 2012-09-05 John Tobey <john.tobey@gmail.com>
14744 * manual/arith.texi (Operations on Complex): Fix description
14745 of carg branch cut.
14747 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14750 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14754 * manual/memory.texi (Memory): Make order of menu items match
14757 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14759 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14760 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14761 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14763 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14765 * csu/libc-tls.c (static_dtv): Renamed to ...
14766 (_dl_static_dtv): This. Make it global.
14767 (_dl_initial_dtv): Removed.
14768 (__libc_setup_tls): Updated.
14769 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14770 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14773 2012-09-06 Petr Machata <pmachata@redhat.com>
14775 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14776 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14777 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14778 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14780 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14783 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14784 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14787 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14790 * Makeconfig (link-static-before-libc): Replace $(+prector)
14792 (link-static-after-libc): Replace $(+postctor) with
14794 (link-bounded): Replace $(+prector)/$(+postctor) with
14795 $(+prectorT)/$(+postctorT).
14796 (+prectorT): New macro.
14797 (+postctorT): Likewise.
14799 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14801 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14802 (round_str): Handle values above the maximum for IBM long double
14804 * stdlib/tst-strtod-round.c (tests): Regenerated.
14806 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14808 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14810 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14811 zarch_nohighgprs around the zarch optimized routines.
14812 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14813 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14814 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14817 2012-09-05 David S. Miller <davem@davemloft.net>
14819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14821 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14822 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14823 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14824 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14827 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14829 * malloc/arena.c: Fold copyright years.
14830 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14832 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14834 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14836 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14838 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14840 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14842 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14843 change internal state upon failure.
14845 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14847 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14848 * malloc/memusage.c (mmap): Likewise.
14849 (mmap64, mremap): Likewise. Adjust name in comment.
14851 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14853 * libio/fileops.c: Fix typos in comments.
14854 * libio/oldfileops.c: Likewise.
14855 * libio/wfileops.c: Likewise.
14857 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14860 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14861 (tst-malloc-usable-ENV): Set environment for test case.
14862 * malloc/hooks.c (malloc_check_get_size): New function to get
14864 * malloc/malloc.c (musable): Use malloc_check_get_size.
14865 * malloc/tst-malloc-usable.c: New test case.
14867 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14869 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14871 2012-09-05 Allan McRae <allan@archlinux.org>
14874 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14875 determine header location.
14876 * configure: Regenerated.
14878 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14880 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14882 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14883 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14885 (test): Regenerate.
14887 2012-09-04 David S. Miller <davem@davemloft.net>
14889 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14890 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14891 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14893 2012-09-04 Florian Weimer <fweimer@redhat.com>
14895 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14898 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14900 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14903 * libio/iogetdelim.c: Include <limits.h>.
14904 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14905 + len + 1 would overflow.
14907 2012-09-03 Andreas Jaeger <aj@suse.de>
14909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14910 * sysdeps/i386/fpu/libm-test-ulps: Update.
14912 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14914 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14915 Add s_sinf-sse2, s_conf-sse2.
14917 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14918 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14919 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14920 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14922 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14923 for using routine as __sinf_ia32.
14924 Use macro for function declaration and weak_alias.
14925 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14926 for using routine as __cosf_ia32.
14927 Use macro for function declaration and weak_alias.
14929 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14930 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14932 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14933 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14936 * math/libm-test.inc (cos_test): Add more test cases.
14937 (sin_test): Likewise.
14938 (sincos_test): Likewise.
14940 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14942 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14943 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14945 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14947 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14950 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14951 first element of the GOT.
14952 (elf_machine_load_address): Return the difference between
14953 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14955 2012-09-01 Allan McRae <allan@archlinux.org>
14958 * configure.in (AWK): Require gawk version 3.0 or later.
14959 * configure: Regenerated.
14961 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14963 * sysdeps/unix/sysv/linux/kernel-features.h
14964 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14966 [__NR_clock_getres]: Make code unconditional.
14967 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14968 (clock_getcpuclockid): Remove code left unreachable by removal of
14970 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14971 code unconditional.
14972 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14973 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14974 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14975 Make code unconditional.
14976 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14977 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14978 * sysdeps/unix/sysv/linux/clock_settime.c
14979 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14981 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14982 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14984 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14987 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14988 scripts/test-installation.pl.
14990 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14991 and $ld_so_version if it is set.
14993 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14996 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14997 failure if reading from procfs failed.
14998 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15000 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15002 * sysdeps/unix/sysv/linux/kernel-features.h
15003 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15004 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15005 Remove conditional code.
15006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15007 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15008 Remove conditional code.
15009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15010 * sysdeps/unix/sysv/linux/i386/fxstat.c
15011 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15012 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15013 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15014 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15015 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15016 * sysdeps/unix/sysv/linux/i386/lxstat.c
15017 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15018 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15019 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15020 Remove conditional code.
15021 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15022 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15023 Remove conditional code.
15024 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15025 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15026 <kernel-features.h>.
15027 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15029 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15030 Remove conditional code.
15031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15032 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15033 Remove conditional.
15035 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15038 * NEWS: Add fixed bug number.
15040 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15043 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15044 underflowing exponent in case of negative sign.
15045 * stdlib/tst-strtod-round-data: Add more tests.
15046 * stdlib/tst-strtod-round.c (tests): Regenerated.
15049 * stdlib/strtod_l.c (NDIG): Remove.
15050 (HEXNDIG): Likewise.
15051 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15052 smallest representable value.
15053 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15054 lie within an exact representation of 1/2 ulp of the result.
15055 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15057 (TENS_P9_IDX): Define unconditionally.
15058 (TENS_P9_SIZE): Likewise.
15059 (TENS_P10_IDX): Likewise.
15060 (TENS_P10_SIZE): Likewise.
15061 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15062 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15063 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15064 entries for 10^2^13 and 10^2^14.
15065 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15066 (TENS_P13_IDX): Define.
15067 (TENS_P13_SIZE): Likewise.
15068 (TENS_P14_IDX): Likewise.
15069 (TENS_P14_SIZE): Likewise.
15070 (_fpioconst_pow10): Change array size to
15071 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15073 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15074 1024]: Add entries for 10^2^13 and 10^2^14.
15075 [LAST_POW10 > _LAST_POW10]: Remove #error.
15076 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15077 (_fpioconst_pow10): Change array size to
15078 FPIOCONST_POW10_ARRAY_SIZE.
15079 * stdlib/gen-fpioconst.c: New file.
15080 * stdlib/gen-tst-strtod-round.c: Likewise.
15081 * stdlib/tst-strtod-round-data: Likewise.
15082 * stdlib/tst-strtod-round.c: Likewise.
15083 * stdlib/Makefile (tests): Add tst-strtod-round.
15086 * stdlib/strtod_l.c: Include <stdint.h>.
15087 (NDEBUG): Do not define.
15088 (round_and_return): Change EXPONENT parameter to type intmax_t.
15089 Rearrange calculations to avoid internal overflow possibilities.
15090 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15091 Rearrange calculations to avoid internal overflow possibilities.
15092 Assert that number fits inside MPNSIZE limbs.
15093 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15094 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15095 calculations and add assertions to avoid internal overflow
15096 possibilities. Add casts to avoid signed/unsigned operations.
15097 * stdlib/tst-strtod-overflow.c: New file.
15098 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15100 2012-08-25 Marek Polacek <polacek@redhat.com>
15102 * time/time.h: Fix some typos in comments.
15104 2012-08-23 Roland McGrath <roland@hack.frob.com>
15106 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15107 * posix/tst-rfc3484-2.c: Likewise.
15108 * posix/tst-rfc3484-3.c: Likewise.
15110 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15112 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15113 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15115 2012-08-23 Joseph Myers <joseph@codesourcery.com>
15117 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15118 #include of fxstatat64.c.
15120 2012-08-22 Roland McGrath <roland@hack.frob.com>
15122 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15123 * shadow/getspent_r.c: Likewise.
15124 * shadow/getspnam.c: Likewise.
15125 * shadow/getspnam_r.c: Likewise.
15126 * gshadow/getsgent.c: Likewise.
15127 * gshadow/getsgent_r.c: Likewise.
15128 * gshadow/getsgnam.c: Likewise.
15129 * gshadow/getsgnam_r.c: Likewise.
15130 * inet/getnetbyad.c: Likewise.
15131 * inet/getnetbyad_r.c: Likewise.
15132 * inet/getnetbynm.c: Likewise.
15133 * inet/getnetbynm_r.c: Likewise.
15134 * inet/getnetent.c: Likewise.
15135 * inet/getnetent_r.c: Likewise.
15136 * inet/getproto.c: Likewise.
15137 * inet/getproto_r.c: Likewise.
15138 * inet/getprtent.c: Likewise.
15139 * inet/getprtent_r.c: Likewise.
15140 * inet/getprtname.c: Likewise.
15141 * inet/getprtname_r.c: Likewise.
15142 * inet/getrpcbyname.c: Likewise.
15143 * inet/getrpcbyname_r.c: Likewise.
15144 * inet/getrpcbynumber.c: Likewise.
15145 * inet/getrpcbynumber_r.c: Likewise.
15146 * inet/getrpcent.c: Likewise.
15147 * inet/getrpcent_r.c: Likewise.
15148 * inet/getaliasent.c: Likewise.
15149 * inet/getaliasent_r.c: Likewise.
15150 * inet/getaliasname.c: Likewise.
15151 * inet/getaliasname_r.c: Likewise.
15152 * nscd/getgrgid_r.c: Likewise.
15153 * nscd/getgrnam_r.c: Likewise.
15154 * nscd/gethstbyad_r.c: Likewise.
15155 * nscd/gethstbynm3_r.c: Likewise.
15156 * nscd/getpwnam_r.c: Likewise.
15157 * nscd/getpwuid_r.c: Likewise.
15158 * nscd/getsrvbynm_r.c: Likewise.
15159 * nscd/getsrvbypt_r.c: Likewise.
15160 * nscd/gai.c: Likewise.
15162 * configure.in (build_nscd): New substituted variable, set
15163 by --disable-build-nscd and defaults to $use_nscd.
15164 * configure: Regenerated.
15165 * config.make.in (build-nscd): New substituted variable.
15166 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15167 Change conditional to require [$(build-nscd) = yes] as well.
15168 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15171 * configure.in (use_nscd): New substituted variable, set by
15172 --disable-nscd. If enabled, define USE_NSCD.
15173 * configure: Regenerated.
15174 * config.h.in: Add USE_NSCD.
15175 * config.make.in (use-nscd): New substituted variable.
15176 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15177 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15178 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15179 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15180 (CFLAGS-getgrnam_r.c): Likewise.
15181 (CFLAGS-initgroups.c): Likewise.
15182 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15183 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15185 * inet/getnetgrent_r.c
15186 (nscd_setnetgrent): New function, broken out of ...
15187 (setnetgrent): ... here. Call it.
15188 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15189 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15190 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15191 * nscd/Makefile (routines, aux): Move definitions after include of
15192 Makeconfig. Conditionalize on [$(use-nscd) != no].
15193 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15194 Conditionalize on [USE_NSCD].
15195 (is_nscd, nscd_init_cb): Likewise.
15196 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15197 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15198 * nss/nss_db/db-init.c: Likewise.
15199 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15201 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15202 (make_request): Use it.
15203 (cache_valid_p): New function.
15204 (__check_pf): Use it.
15205 * NEWS: Add item for --disable-nscd.
15207 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15209 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15210 to support sed >= 4.2.1-20-ga9bf076.
15211 * configure: Regenerated.
15213 2012-08-22 Roland McGrath <roland@hack.frob.com>
15215 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15216 Conditionalize whole body on [IREL].
15218 2012-08-22 Jeff Law <law@redhat.com>
15221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15222 if the family is PF_UNSPEC.
15224 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15226 * Makerules (lib-version): Rename from V.
15227 (install-lib-nosubdir): Change V to lib-version.
15229 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15232 * powerpc32/power6/wcschr.c: New file.
15233 * powerpc32/power6/wcscpy.c: New file.
15234 * powerpc32/power6/wcsrchr.c: New file.
15235 * powerpc64/power6/wcschr.c: New file.
15236 * powerpc64/power6/wcscpy.c: New file.
15237 * powerpc64/power6/wcsrchr.c: New file.
15239 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15241 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15242 (two_way_short_needle): Use it.
15243 * string/strstr.c (AVAILABLE1_USES_J): Define.
15244 * string/strcasestr.c: Likewise.
15246 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15248 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15251 * NEWS: Add an entry.
15252 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15253 define their defaults.
15254 (two_way_short_needle): Detect end-of-string on-the-fly.
15255 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15256 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15257 * string/bug-strcasestr1.c: New test.
15258 * string/Makefile: Run it.
15260 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15263 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15264 the first character.
15266 2012-08-21 Roland McGrath <roland@hack.frob.com>
15268 * csu/elf-init.c (__libc_csu_irel): Function removed.
15269 * csu/libc-start.c (apply_irel): New function.
15270 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15272 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15274 * sysdeps/unix/sysv/linux/kernel-features.h
15275 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15276 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15277 <kernel-features.h>.
15278 [__NR_fadvise64_64]: Make code unconditional.
15279 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15280 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15281 !__NR_fadvise64_64)]: Likewise.
15282 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15283 !__NR_fadvise64_64))]: Likewise.
15284 [__NR_fadvise64]: Make code unconditional.
15285 [!__NR_fadvise64]: Remove conditional code.
15286 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15287 <kernel-features.h>.
15288 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15290 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15293 not include <kernel-features.h>.
15294 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15296 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15298 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15299 include <kernel-features.h>.
15300 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15302 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15305 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15308 slight instruction rearrangements per scrollpipe analysis.
15309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15311 2012-08-20 Roland McGrath <roland@hack.frob.com>
15313 * manual/syslog.texi (syslog; vsyslog, closelog):
15314 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15315 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15317 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15318 DSOCAPS to match condition on defining it.
15320 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15322 * sysdeps/unix/sysv/linux/kernel-features.h
15323 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15325 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15326 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15328 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15329 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15331 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15332 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15334 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15335 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15337 * sysdeps/unix/sysv/linux/kernel-features.h
15338 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15339 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15341 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15342 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15343 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15344 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15345 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15346 Make code unconditional.
15347 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15348 (__mmap64) [!__NR_mmap2]: Likewise.
15349 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15350 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15351 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15352 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15353 [__NR_mmap2]: Make code unconditional.
15354 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15355 (__mmap64) [!__NR_mmap2]: Likewise.
15357 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15359 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15361 2012-08-18 Andreas Jaeger <aj@suse.de>
15363 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15365 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15367 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15368 * include/unistd.h (__have_sock_cloexec): Likewise.
15369 (__have_pipe2): Likewise.
15370 (__have_dup3): Likewise.
15372 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15375 * include/unistd.h (__have_pipe2): Change define into an extern int.
15376 (__have_dup3): Likewise.
15377 * socket/have_sock_cloexec.c: Include fcntl.h.
15378 (__have_pipe2): New variable.
15379 (__have_dup3): Likewise.
15381 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15383 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15385 2012-08-17 Marek Polacek <polacek@redhat.com>
15387 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15388 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15390 2012-08-17 Roland McGrath <roland@hack.frob.com>
15392 * configure.in: Add AC_SUBST for sysheaders.
15393 * configure: Regenerated.
15394 * config.make.in (sysheaders): New substituted variable.
15396 * sysdeps/unix/mkfifo.c: Moved ...
15397 * sysdeps/posix/mkfifo.c: ... here.
15398 * sysdeps/unix/mkfifoat.c: Moved ...
15399 * sysdeps/posix/mkfifoat.c: ... here.
15401 * sysdeps/unix/utime.c: Moved ...
15402 * sysdeps/posix/utime.c: ... here.
15404 * sysdeps/unix/time.c: Moved ...
15405 * sysdeps/posix/time.c: ... here.
15406 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15407 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15409 * sysdeps/unix/nice.c: Moved ...
15410 * sysdeps/posix/nice.c: ... here.
15412 * sysdeps/unix/alarm.c: Moved ...
15413 * sysdeps/posix/alarm.c: ... here.
15415 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15417 2012-08-17 Jeff Law <law@redhat.com>
15419 * intl/Makefile (codeset_mo): New variable.
15420 ($(codeset_mo)): New target.
15421 (tst-codeset.out): Depend on that. Remove explicit rule.
15422 (tst-gettext3.out, tst-gettext5.out): Likewise.
15423 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15424 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15425 * intl/tst-codeset.sh: Remove.
15426 * intl/tst-gettext3.sh: Likewise.
15427 * intl/tst-gettext5.sh: Likewise.
15429 2012-08-17 Roland McGrath <roland@hack.frob.com>
15431 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15432 * sysdeps/unix/syscalls.list: ... here.
15434 * sysdeps/posix/getaddrinfo.c
15435 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15436 (gaiconf_init, gaiconf_reload): Use them.
15437 [!_STATBUF_ST_NSEC]
15438 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15439 Define using time_t rather than struct timespec.
15441 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15442 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15444 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15446 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15447 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15450 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15451 __libc_cleanup_push argument.
15453 * bits/param.h: New file.
15454 * misc/sys/param.h: New file.
15455 * include/sys/param.h: New file.
15456 * misc/Makefile (headers): Add bits/param.h.
15457 * sysdeps/generic/sys/param.h: File removed.
15458 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15459 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15460 * sysdeps/mach/hurd/bits/param.h: New file.
15461 * sysdeps/mach/hurd/sys/param.h: File removed.
15463 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15466 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15468 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15469 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15472 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15473 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15474 rather than -D_IO_MTSAFE_IO conditionally.
15475 * stdio-common/Makefile (CPPFLAGS): Likewise.
15476 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15477 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15478 Use $(libio-mtsafe).
15479 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15480 of -D_IO_MTSAFE_IO.
15481 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15482 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15483 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15484 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15485 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15486 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15487 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15488 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15489 (CFLAGS-fread_u_chk.c): Likewise.
15490 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15491 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15492 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15493 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15494 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15495 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15496 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15497 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15498 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15500 * libio/Makefile: Test [$(libc-reentrant) = yes]
15501 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15504 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15505 * sysdeps/pthread/configure: File removed.
15506 * sysdeps/pthread/Makeconfig: New file.
15507 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15508 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15510 2012-08-16 Gary Benson <gbenson@redhat.com>
15512 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15513 unmapping the first object in a namespace.
15515 2012-08-16 Roland McGrath <roland@hack.frob.com>
15517 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15518 (__internal_setnetgrent): ... this. Add internal_function to
15519 definition. Add libc_hidden_def.
15520 (setnetgrent): Update caller.
15521 (internal_endnetgrent): Renamed to ...
15522 (__internal_endnetgrent): ... this. Add internal_function to
15523 definition. Add libc_hidden_def.
15524 (endnetgrent): Update caller.
15525 (internal_getnetgrent_r): Renamed to ...
15526 (__internal_getnetgrent_r): ... this. Add internal_function to
15527 definition. Add libc_hidden_def.
15528 (__getnetgrent_r): Update caller.
15529 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15531 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15533 * stdlib/longlong.h: Update from GCC.
15535 2012-08-16 Roland McGrath <roland@hack.frob.com>
15537 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15538 on _QL, which is set by umul_ppmm but never used.
15539 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15540 variables, which are set by GMP macros but never used.
15541 * stdio-common/_itowa.c (_itowa): Likewise.
15542 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15543 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15545 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15547 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15548 struct La_sh_regs is not constant.
15549 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15550 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15551 and struct La_sparc64_regs are not constant.
15553 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15555 * sysdeps/unix/sysv/linux/kernel-features.h
15556 (__ASSUME_POSIX_TIMERS): Remove.
15557 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15558 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15559 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15560 Make code unconditional.
15561 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15562 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15563 Make code unconditional.
15564 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15565 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15566 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15567 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15568 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15569 Make code unconditional.
15570 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15571 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15572 (__libc_missing_posix_timers): Remove.
15574 2012-08-15 Roland McGrath <roland@hack.frob.com>
15576 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15577 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15579 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15581 * elf/dl-sym.c: Include <stdlib.h>.
15583 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15584 constants, which avoids warnings in 32-bit builds.
15586 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15587 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15589 * misc/lseek.c: File moved to ...
15590 * io/lseek.c: ... here.
15592 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15594 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15595 shifting LEN more than 31 bits at once.
15597 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15600 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15601 segmentation fault for a case of two empty input strings.
15602 * string/test-strncasecmp.c (check1): Renamed to...
15603 (bz12205): ...this.
15604 (bz14195): Add new testcase for two empty input strings and N > 0.
15605 (test_main): Call new testcase, adapt for renamed function.
15607 2012-08-15 Andreas Jaeger <aj@suse.de>
15610 * crypt/md5test2.c: New test, based on test supplied by Serge
15611 Belyshev <belyshev@depni.sinp.msu.ru>.
15612 * crypt/Makefile (xtests): Add md5test-giant..
15613 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15615 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15618 * crypt/md5.c (md5_process_block): Don't assume the buffer
15619 length is less than 2**32.
15620 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15621 length is less than 2**64.
15623 2012-08-15 Roland McGrath <roland@hack.frob.com>
15625 * string/str-two-way.h: Include <sys/param.h>.
15626 (MAX): Macro removed.
15628 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15629 Move #define and #undef of memmove to just before and after
15630 including <string.h>.
15632 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15633 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15634 and after including <string.h>. Move declarations of
15635 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15636 to before #include "string/memmove.c".
15638 * include/dirent.h: Declare __getdirentries.
15640 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15641 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15643 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15645 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15646 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15647 * sysdeps/i386/configure: Regenerated.
15648 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15649 STABS_CURRENT_FILE, and STABS_FUN.
15650 (END): Remove call to STABS_FUN_END.
15651 (STABS_CURRENT_FILE1): Delete.
15652 (STABS_CURRENT_FILE): Likewise.
15653 (STABS_FUN): Likewise.
15654 (STABS_FUN_END): Likewise.
15655 (STABS_FUN2): Likewise.
15656 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15657 * sysdeps/x86_64/configure: Regenerated.
15659 2012-08-14 Roland McGrath <roland@hack.frob.com>
15661 * elf/dl-open.c: Include <atomic.h>.
15662 * elf/dl-lookup.c: Likewise.
15664 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15666 * sysdeps/unix/sysv/linux/kernel-features.h
15667 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15668 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15670 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15672 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15673 condition on __ASSUME_CLONE_THREAD_FLAGS.
15675 2012-08-14 Andreas Jaeger <aj@suse.de>
15677 * sysdeps/i386/fpu/libm-test-ulps: Update.
15679 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15681 * include/atomic.h (atomic_exchange_and_add): Split into ...
15682 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15685 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15689 2012-08-13 Jeff Law <law@redhat.com>
15691 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15692 null byte in the output string.
15694 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15696 * sysdeps/unix/sysv/linux/kernel-features.h
15697 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15698 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15699 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15700 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15701 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15702 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15703 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15705 2012-08-09 Jeff Law <law@redhat.com>
15708 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15709 When avoid_arena is set, don't retry in the that arena. Pick the
15710 next one, whatever it might be.
15711 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15712 (arena_lock): Pass in new parameter to arena_get2.
15713 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15715 (__libc_malloc): Unify retrying after main arena failure with
15716 __libc_memalign version.
15717 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15719 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15722 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15723 to __redirect_strstr.
15724 (__strstr_sse42): Use typeof __redirect_strstr.
15725 (__strstr_ia32): Likewise.
15726 (__libc_strstr): New prototype.
15727 (strstr): Renamed to ...
15728 (__libc_strstr): This.
15729 (strstr): New strong alias of __libc_strstr.
15730 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15731 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15734 (__libc_time): New prototype.
15735 (time_ifunc): Replace time with __libc_time.
15736 (time): New strong alias and hidden definition of __libc_time.
15737 (__GI_time): Remove strong alias.
15738 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15739 Include <stddef.h>.
15740 (memmove): Redefined to __redirect_memmove.
15741 (__memmove_sse2): Use typeof __redirect_memmove.
15742 (__memmove_ssse3): Likewise.
15743 (__memmove_ssse3_back): Likewise.
15744 (__libc_memmove): New prototype.
15745 (memmove): Renamed to ...
15746 (__libc_memmove): This.
15747 (memmove): New strong alias of __libc_memmove.
15749 2012-08-08 Mark Salter <msalter@redhat.com>
15752 (R_MN10300_TLS_GD): Define.
15753 (R_MN10300_TLS_LD): Likewise.
15754 (R_MN10300_TLS_LDO): Likewise.
15755 (R_MN10300_TLS_GOTIE): Likewise.
15756 (R_MN10300_TLS_IE): Likewise.
15757 (R_MN10300_TLS_LE): Likewise.
15758 (R_MN10300_TLS_DTPMOD): Likewise.
15759 (R_MN10300_TLS_DTPOFF): Likewise.
15760 (R_MN10300_TLS_TPOFF): Likewise.
15761 (R_MN10300_SYM_DIFF): Likewise.
15762 (R_MN10300_ALIGN): Likewise.
15763 (R_MN10300_NUM): Update.
15765 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15770 2012-08-08 Roland McGrath <roland@hack.frob.com>
15772 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15774 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15775 sysdeps/unix -> sysdeps/posix move.
15776 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15778 2012-08-07 Allan McRae <allan@archlinux.org>
15781 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15782 (SUNOS_CPP): Likewise.
15783 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15785 (open_input): Call CPP using execvp.
15787 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15789 * sysdeps/unix/sysv/linux/kernel-features.h
15790 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15791 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15792 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15793 (__ASSUME_WAITID_SYSCALL): Likewise.
15794 * sysdeps/unix/sysv/linux/dl-execstack.c
15795 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15796 code unconditional.
15797 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15800 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15801 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15803 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15805 [__ASSUME_WAITID_SYSCALL]: Likewise.
15806 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15808 2012-08-07 Roland McGrath <roland@hack.frob.com>
15810 * sysdeps/unix/closedir.c: Renamed to ...
15811 * sysdeps/posix/closedir.c: ... here.
15812 * sysdeps/unix/dirfd.c: Renamed to ...
15813 * sysdeps/posix/dirfd.c: ... here.
15814 * sysdeps/unix/dirstream.h: Renamed to ...
15815 * sysdeps/posix/dirstream.h: ... here.
15816 * sysdeps/unix/fdopendir.c: Renamed to ...
15817 * sysdeps/posix/fdopendir.c: ... here.
15818 * sysdeps/unix/opendir.c: Renamed to ...
15819 * sysdeps/posix/opendir.c: ... here.
15820 * sysdeps/unix/readdir.c: Renamed to ...
15821 * sysdeps/posix/readdir.c: ... here.
15822 * sysdeps/unix/readdir_r.c: Renamed to ...
15823 * sysdeps/posix/readdir_r.c: ... here.
15824 * sysdeps/unix/rewinddir.c: Renamed to ...
15825 * sysdeps/posix/rewinddir.c: ... here.
15826 * sysdeps/unix/seekdir.c: Renamed to ...
15827 * sysdeps/posix/seekdir.c: ... here.
15828 * sysdeps/unix/telldir.c: Renamed to ...
15829 * sysdeps/posix/telldir.c: ... here.
15830 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15831 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15832 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15833 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15835 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15836 * bits/fcntl.h: ... here.
15838 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15840 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15841 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15842 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15843 (struct flock): Move l_start, l_len to the beginning.
15844 Use __pid_t for l_pid.
15845 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15846 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15847 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15848 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15849 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15850 [__USE_LARGEFILE64] (struct flock64): New type.
15851 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15853 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15854 * bits/dirent.h: ... here.
15856 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15857 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15859 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15861 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15862 Change from 2.6.0 to 2.6.16.
15863 * sysdeps/unix/sysv/linux/configure: Regenerated.
15864 * sysdeps/unix/sysv/linux/kernel-features.h
15865 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15866 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15868 (__ASSUME_UTIMES): Likewise.
15869 (__ASSUME_CLONE_STOPPED): Remove.
15870 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15871 architectures, not kernel version.
15872 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15873 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15874 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15875 (__ASSUME_WAITID_SYSCALL): Likewise.
15876 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15877 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15878 * README: State 2.6.16 as minimum Linux kernel version. Do not
15879 refer to older versions.
15881 2012-08-06 Roland McGrath <roland@hack.frob.com>
15883 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15884 Define alphasort64 as an alias.
15885 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15886 Define versionsort64 as an alias.
15887 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15888 Define scandir64 as an alias.
15889 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15890 Define scandirat64 as an alias.
15891 * dirent/alphasort64.c (alphasort64):
15892 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15893 * dirent/versionsort64.c: Likewise.
15894 * dirent/scandir64.c: Likewise.
15895 * dirent/scandirat64.c: Likewise.
15896 * sysdeps/wordsize-64/alphasort.c: File removed.
15897 * sysdeps/wordsize-64/alphasort64.c: File removed.
15898 * sysdeps/wordsize-64/scandir.c: File removed.
15899 * sysdeps/wordsize-64/scandir64.c: File removed.
15900 * sysdeps/wordsize-64/scandirat.c: File removed.
15901 * sysdeps/wordsize-64/scandirat64.c: File removed.
15902 * sysdeps/wordsize-64/versionsort.c: File removed.
15903 * sysdeps/wordsize-64/versionsort64.c: File removed.
15904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15907 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15909 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15910 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15913 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15915 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15917 [defined __arch64__ || defined __sparcv9]
15918 (__INO_T_MATCHES_INO64_T): New macro.
15919 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15920 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15921 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15922 * sysdeps/unix/sysv/linux/bits/dirent.h
15923 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15924 (_DIRENT_MATCHES_DIRENT64): New macro.
15926 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15927 Define lockf64 as an alias.
15928 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15929 Define fseeko64 as an alias.
15930 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15931 Define ftello64 as an alias.
15932 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15933 Define _IO_fgetpos64 and fgetpos64 as aliases.
15934 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15935 Define _IO_fsetpos64 and fsetpos64 as aliases.
15936 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15937 Conditionalize body on this.
15938 * libio/fseeko64.c: Likewise.
15939 * libio/ftello64.c: Likewise.
15940 * libio/iofgetpos64.c: Likewise.
15941 * libio/iofsetpos64.c: Likewise.
15942 * sysdeps/wordsize-64/lockf.c: File removed.
15943 * sysdeps/wordsize-64/lockf64.c: File removed.
15944 * sysdeps/wordsize-64/fseeko.c: File removed.
15945 * sysdeps/wordsize-64/fseeko64.c: File removed.
15946 * sysdeps/wordsize-64/ftello.c: File removed.
15947 * sysdeps/wordsize-64/ftello64.c: File removed.
15948 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15949 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15950 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15951 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15952 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15954 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15955 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15956 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15957 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15958 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15959 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15960 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15961 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15963 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15965 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15967 [defined __arch64__ || defined __sparcv9]
15968 (__OFF_T_MATCHES_OFF64_T): New macro.
15969 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15970 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15972 (__OFF_T_MATCHES_OFF64_T): New macro.
15974 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15976 * stdlib/secure-getenv.c (__secure_getenv): Replace
15977 GLIBC_2_16 with GLIBC_2_17.
15979 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15981 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15982 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15984 2012-08-03 David S. Miller <davem@davemloft.net>
15986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15988 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15992 (__ASSUME_CORRECT_SI_PID): Likewise.
15993 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15994 (__ASSUME_TMPFS_NAME): Likewise.
15995 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15996 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15997 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15998 (HAVE_AUX_SECURE): Make definition unconditional.
15999 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16000 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16002 2012-08-03 Roland McGrath <roland@hack.frob.com>
16004 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16005 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16006 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16007 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16008 __eloop_threshold instead of SYMLOOP_MAX.
16010 * sysdeps/generic/eloop-threshold.h: New file.
16011 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16013 * elf/chroot_canon.c (chroot_canon): Likewise.
16015 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16019 Change to 2.6.0 everywhere.
16020 * sysdeps/unix/sysv/linux/configure: Regenerated.
16021 * sysdeps/unix/sysv/linux/kernel-features.h
16022 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16023 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16025 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16026 (__ASSUME_FUTEX_REQUEUE): Remove.
16027 (__ASSUME_STATFS64): Define unconditionally.
16028 (__ASSUME_AT_SECURE): Likewise.
16029 (__ASSUME_CORRECT_SI_PID): Likewise.
16030 (__ASSUME_TGKILL): Define without depending on kernel version for
16032 (__ASSUME_UTIMES): Likewise.
16033 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16035 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16036 (__ASSUME_TMPFS_NAME): Likewise.
16037 * README: Update reference to Linux kernel versions.
16039 2012-08-02 Marek Polacek <polacek@redhat.com>
16042 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16043 libc_cv_asm_type_prefix with %.
16044 * configure: Regenerated.
16045 * include/libc-symbols.h: Remove comment about
16046 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16047 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16048 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16049 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16050 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16051 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16052 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16053 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16054 * elf/tst-unique2mod1.c: Likewise.
16055 * elf/tst-unique1mod2.c: Likewise.
16056 * elf/tst-unique1mod1.c: Likewise.
16057 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16058 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16059 Replace ASM_TYPE_DIRECTIVE with .type.
16060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16061 * sysdeps/i386/sysdep.h: Likewise.
16062 * sysdeps/x86_64/sysdep.h: Likewise.
16063 * sysdeps/sh/sysdep.h: Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16065 Do not define ASM_TYPE_DIRECTIVE.
16066 * sysdeps/powerpc/sysdep.h: Likewise.
16067 * sysdeps/powerpc/powerpc32/sysdep.h:
16068 Replace ASM_TYPE_DIRECTIVE with .type.
16069 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16070 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16071 * sysdeps/i386/fpu/e_powf.S: Likewise.
16072 * sysdeps/i386/fpu/e_expl.S: Likewise.
16073 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16074 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16075 * sysdeps/i386/fpu/e_pow.S: Likewise.
16076 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16077 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16078 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16079 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16080 * sysdeps/i386/fpu/e_log2.S: Likewise.
16081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16082 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16083 * sysdeps/i386/fpu/e_powl.S: Likewise.
16084 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16085 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16086 * sysdeps/i386/fpu/e_logl.S: Likewise.
16087 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16088 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16089 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16090 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16091 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16092 * sysdeps/i386/fpu/e_log.S: Likewise.
16093 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16094 * sysdeps/i386/fpu/e_logf.S: Likewise.
16095 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16097 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16098 * sysdeps/i386/fpu/e_log10.S: Likewise.
16099 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16101 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16102 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16103 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16104 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16105 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16106 * sysdeps/i386/i686/strtok.S: Likewise.
16107 * sysdeps/i386/i386-mcount.S: Likewise.
16108 * sysdeps/i386/strtok.S: Likewise.
16109 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16110 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16112 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16113 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16114 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16115 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16116 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16118 * sysdeps/x86_64/_mcount.S: Likewise.
16119 * sysdeps/x86_64/strtok.S: Likewise.
16120 * sysdeps/sh/_mcount.S: Likewise.
16122 2012-08-01 Roland McGrath <roland@hack.frob.com>
16124 * libio/iofopen.c: Include <fcntl.h>.
16125 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16126 (_IO_fopen64, fopen64): Define as aliases.
16127 * libio/iofopen64.c: Include <fcntl.h>.
16128 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16129 Conditionalize body on this.
16130 * sysdeps/wordsize-64/iofopen.c: File removed.
16131 * sysdeps/wordsize-64/iofopen64.c: File removed.
16133 2012-08-01 Marek Polacek <polacek@redhat.com>
16135 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16136 Use dlfcn directly instead of a variable.
16137 (binfmt-subdir): Do not define.
16140 2012-08-01 Joseph Myers <joseph@codesourcery.com>
16142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16143 Remove all definitions.
16144 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16145 <kernel-features.h>.
16146 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16147 (miss_F_GETOWN_EX): Remove all definitions.
16148 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16150 [!__ASSUME_FCNTL64]: Remove conditional code.
16151 [__ASSUME_FCNTL64]: Make code unconditional.
16152 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16153 <kernel-features.h>.
16154 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16155 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16156 (lockf64) [__NR_fcntl64]: Make code unconditional.
16157 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16159 * sysdeps/unix/sysv/linux/kernel-features.h
16160 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16161 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16162 Make code unconditional.
16163 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16164 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16166 [__NR_vfork]: Make code unconditional.
16167 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16168 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16170 [__NR_vfork]: Make code unconditional.
16171 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16172 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16174 2012-08-01 Roland McGrath <roland@hack.frob.com>
16176 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16177 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16179 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16180 Define mkstemp64 as an alias.
16181 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16182 Define mkstemps64 as an alias.
16183 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16184 Define mkostemp64 as an alias.
16185 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16186 Define mkostemps64 as an alias.
16187 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16188 Conditionalize body on this.
16189 * misc/mkostemp64.c: Likewise.
16190 * misc/mkostemps64.c: Likewise.
16191 * misc/mkstemps64.c: Likewise.
16192 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16193 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16194 * sysdeps/wordsize-64/mkostemp.c: File removed.
16195 * sysdeps/wordsize-64/mkstemp.c: File removed.
16196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16202 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16203 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16204 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16205 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16207 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16208 compat_symbol macros from <shlib-compat.h> rather than the underlying
16209 default_symbol_version and symbol_version macros, so that DEFAULT
16210 lines in shlib-versions are respected.
16211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16213 2012-08-01 Florian Weimer <fweimer@redhat.com>
16215 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16216 Declare with warn_unused_result.
16217 (setgid, setregid, setegid, setresgid): Likewise.
16218 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16220 * WUR-REPORT: Remove set*id functions.
16222 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16224 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16226 2012-07-31 Roland McGrath <roland@hack.frob.com>
16229 * include/sys/socket.h (__libc_accept, __libc_accept4):
16230 Add attribute_hidden.
16231 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16233 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16235 * inet/getnetgrent_r.c (setup): Likewise.
16237 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16239 2012-07-31 David S. Miller <davem@davemloft.net>
16241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16243 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16246 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16247 value between 1.0 and 2.0 and smaller part has absolute value less
16249 * math/s_clog10.c (__clog10): Likewise.
16250 * math/s_clog10f.c (__clog10f): Likewise.
16251 * math/s_clog10l.c (__clog10l): Likewise.
16252 * math/s_clogf.c (__clogf): Likewise.
16253 * math/s_clogl.c (__clogl): Likewise.
16254 * math/libm-test.inc (clog_test): Add more tests.
16255 (clog10_test): Likewise.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16259 2012-07-31 Florian Weimer <fweimer@redhat.com>
16261 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16262 Exit with zero in case no suitable GID is found, and write a
16263 message to standard error.
16265 2012-07-30 Roland McGrath <roland@hack.frob.com>
16267 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16269 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16270 (MAXPATHLEN): Removed.
16271 (NOGROUP, NODEV): New macros.
16272 (setbit, clrbit, isset, isclr): New macros.
16273 (howmany, roundup, powerof2): New macros.
16274 (DEV_BSIZE): New macro.
16276 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16277 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16279 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16280 definition on [!__NO_LONG_DOUBLE_MATH].
16282 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16283 PTR_MANGLE and PTR_DEMANGLE.
16285 * socket/accept4.c (accept4): Rename to __libc_accept4.
16286 Define accept4 as a weak alias.
16288 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16289 on [_DIRENT_HAVE_D_TYPE].
16290 * io/ftw.c (ftw_dir): Likewise.
16292 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16294 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16296 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16297 Use the BSD numbers rather than the arbitrary ones we had.
16298 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16299 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16300 (SIGXCPU, SIGXFSZ): New macros.
16303 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16304 initializer on [_LIBC_REENTRANT].
16306 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16307 definitions inside [_POSIX_MAPPED_FILES].
16309 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16311 * dirent/opendir.c: Include <fcntl.h>.
16313 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16314 (__libc_getspecific): Likewise.
16315 (__libc_key_create): Likewise.
16317 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16318 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16319 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16320 (tmpfile64): Define as alias.
16321 * sysdeps/wordsize-64/tmpfile.c: File removed.
16322 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16324 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16326 * stdio-common/vfscanf.c: Include <stdbool.h>.
16327 * nss/makedb.c: Likewise.
16328 * stdio-common/_i18n_number.h: Likewise.
16329 * argp/argp-help.c: Likewise.
16330 * posix/wordexp.c: Likewise.
16331 * sysdeps/posix/spawni.c: Likewise.
16332 * nss/nss_files/files-initgroups.c: Likewise.
16333 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16334 * nss/nss_files/files-initgroups.c: Likewise.
16335 * nss/nss_db/db-netgrp.c: Likewise.
16336 * nss/nss_db/db-initgroups.c: Likewise.
16337 * io/fchmodat.c: Include <sys/stat.h>.
16339 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16340 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16342 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16345 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16346 Add multiple inclusion protection.
16348 2012-07-27 David S. Miller <davem@davemloft.net>
16350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16352 2012-07-27 Gary Benson <gbenson@redhat.com>
16355 * elf/rtld.c: Include <stap-probe.h>.
16356 (dl_main): Added static probes "init_start" and "init_complete".
16357 * elf/dl-load.c: Include <stap-probe.h>.
16358 (lose): Take new parameter "nsid".
16359 Added static probe "map_failed".
16360 (_dl_map_object_from_fd): Pass namespace id to lose.
16361 Added static probe "map_start".
16362 (open_verify): Pass namespace id to lose.
16363 * elf/dl-open.c: Include <stap-probe.h>.
16364 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16365 and "reloc_complete".
16366 * elf/dl-close.c: Include <stap-probe.h>.
16367 (_dl_close_worker): Added static probes "unmap_start" and
16369 * elf/rtld-debugger-interface.txt: New file documenting the above.
16371 2012-07-26 Roland McGrath <roland@hack.frob.com>
16373 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16374 rather than a string variable.
16375 * sunrpc/rpc_main.c (h_output): Likewise.
16376 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16378 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16380 * inet/check_native.c: New file.
16382 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16385 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16386 if larger part has absolute value 1.0.
16387 * math/s_clog10.c (__clog10): Likewise.
16388 * math/s_clog10f.c (__clog10f): Likewise.
16389 * math/s_clog10l.c (__clog10l): Likewise.
16390 * math/s_clogf.c (__clogf): Likewise.
16391 * math/s_clogl.c (__clogl): Likewise.
16392 * math/libm-test.inc (clog_test): Add more tests.
16393 (clog10_test): Likewise.
16394 * sysdeps/i386/fpu/libm-test-ulps: Update.
16395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16397 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16398 (pltexit): Likewise.
16399 (La_regs): Likewise.
16400 (La_retval): Likewise.
16401 (int_retval): Likewise.
16402 Update #error for removed macros to refer only to definitions in
16404 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16406 (pltexit): Likewise.
16407 (La_regs): Likewise.
16408 (La_retval): Likewise.
16409 (int_retval): Likewise.
16410 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16412 (pltexit): Likewise.
16413 (La_regs): Likewise.
16414 (La_retval): Likewise.
16415 (int_retval): Likewise.
16416 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16418 (pltexit): Likewise.
16419 (La_regs): Likewise.
16420 (La_retval): Likewise.
16421 (int_retval): Likewise.
16422 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16424 (pltexit): Likewise.
16425 (La_regs): Likewise.
16426 (La_retval): Likewise.
16427 (int_retval): Likewise.
16428 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16430 (pltexit): Likewise.
16431 (La_regs): Likewise.
16432 (La_retval): Likewise.
16433 (int_retval): Likewise.
16434 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16436 (pltexit): Likewise.
16437 (La_regs): Likewise.
16438 (La_retval): Likewise.
16439 (int_retval): Likewise.
16440 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16441 macro definitions in tst-audit.h.
16442 * sysdeps/i386/tst-audit.h: New file.
16443 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16444 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16445 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16446 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16447 * sysdeps/sh/tst-audit.h: Likewise.
16448 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16449 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16450 * sysdeps/x86_64/tst-audit.h: Likewise.
16452 2012-07-26 Andreas Jaeger <aj@suse.de>
16454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16457 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16458 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16459 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16461 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16463 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16465 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16468 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16470 (si_call_addr, si_syscall, si_arch): Define new macro.
16471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16473 (si_call_addr, si_syscall, si_arch): Define new marcro.
16474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16476 (si_call_addr, si_syscall, si_arch): Define new macro.
16477 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16479 (si_call_addr, si_syscall, si_arch): Define new macro.
16481 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16485 Change to 2.4.21 where previously 2.4.1.
16486 * sysdeps/unix/sysv/linux/configure: Regenerated.
16487 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16488 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16489 Linux kernel version.
16490 (__ASSUME_STD_AUXV): Remove.
16491 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16493 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16494 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16495 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16496 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16497 (__ASSUME_NETLINK_SUPPORT): Likewise.
16498 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16499 (__no_netlink_support): Remove conditional definition.
16500 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16502 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16503 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16505 (if_nameindex_ioctl): Remove.
16506 (if_nameindex_netlink): Do not handle __no_netlink_support.
16507 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16509 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16510 Remove conditional code.
16511 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16513 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16515 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16516 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16517 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16519 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16520 [!__ASSUME_STD_AUXV]: Remove conditional code.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16522 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16523 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16525 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16526 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16528 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16530 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16531 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16533 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16535 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16538 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16541 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16542 code unconditional.
16543 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16545 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16547 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16550 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16552 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16555 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16556 code unconditional.
16557 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16559 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16561 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16564 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16565 code unconditional.
16566 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16568 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16570 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16573 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16575 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16576 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16577 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16578 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16579 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16580 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16581 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16582 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16583 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16584 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16585 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16586 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16587 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16588 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16590 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16591 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16593 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16596 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16599 2012-07-25 Florian Weimer <fweimer@redhat.com>
16601 * Versions.def: Add GLIBC_2.17.
16602 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16603 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16604 Introduce __libc_secure_getenv.
16605 * stdlib/Versions (2.17): Add secure_getenv
16606 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16607 * stdlib/secure-getenv.c: Rename __secure_getenv to
16608 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16609 symbol __secure_getenv for GLIBC_2.0.
16610 * stdlib/tst-secure-getenv.c: New.
16611 * stdlib/Makefile (tests): Add testcase.
16612 * manual/startup.texi (Environment Access): Document
16614 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16615 __libc_secure_getenv.
16616 * inet/ruserpass.c (ruserpass): Likewise.
16617 * malloc/mtrace.c (mtrace): Likewise.
16618 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16619 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16620 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16621 * sysdeps/posix/tempname.c: Likewise. Evaluate
16622 HAVE_SECURE_GETENV.
16623 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16624 __secure_getenv to __libc_secure_getenv.
16625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16638 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16640 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16641 (struct La_i86_retval): Likewise.
16642 (struct La_x86_64_regs): Likewise.
16643 (struct La_x86_64_retval): Likewise.
16644 (struct La_x32_regs): Likewise.
16645 (struct La_x32_retval): Likewise.
16646 (struct La_ppc32_regs): Likewise.
16647 (struct La_ppc32_retval): Likewise.
16648 (struct La_ppc64_regs): Likewise.
16649 (struct La_ppc64_retval): Likewise.
16650 (struct La_sh_regs): Likewise.
16651 (struct La_sh_retval): Likewise.
16652 (struct La_s390_32_regs): Likewise.
16653 (struct La_s390_32_retval): Likewise.
16654 (struct La_s390_64_regs): Likewise.
16655 (struct La_s390_64_retval): Likewise.
16656 (struct La_sparc32_regs): Likewise.
16657 (struct La_sparc32_retval): Likewise.
16658 (struct La_sparc64_regs): Likewise.
16659 (struct La_sparc64_retval): Likewise.
16660 (struct audit_ifaces): Remove architecture-specific pltenter and
16662 * sysdeps/i386/ldsodefs.h: New file.
16663 * sysdeps/powerpc/ldsodefs.h: Likewise.
16664 * sysdeps/s390/ldsodefs.h: Likewise.
16665 * sysdeps/sh/ldsodefs.h: Likewise.
16666 * sysdeps/sparc/ldsodefs.h: Likewise.
16667 * sysdeps/x86_64/ldsodefs.h: Likewise.
16669 2012-07-25 Marek Polacek <polacek@redhat.com>
16672 * math/libm-test.inc (yn_test): Add another test.
16673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16674 to ERANGE when the result is +-Inf.
16675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16677 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16680 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16682 * conform/data/time.h-data (NULL): Use macro-constant. Require
16684 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16686 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16688 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16690 * configure.in <sysdeps resolving>: Correct printing
16692 * configure: Regenerate.
16694 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16696 * math/w_ilogb.c: Include <limits.h>.
16697 * math/w_ilogbl.c: Likewise.
16699 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16701 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16702 va_copy. Document allowing for unavailable va_copy only as
16703 pre-C99 compatibility.
16704 * manual/string.texi (Copying and Concatenation): Use va_copy
16705 instead of __va_copy in concat example.
16707 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16709 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16710 (__sendto): Use create_address_port. Initialize APORT and deallocate
16713 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16714 with O_NOLINK passed to __file_name_lookup.
16716 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16717 with O_NOLINK passed to __file_name_lookup.
16719 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16720 negative N or less than NGIDS.
16722 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16723 type to string_t. Set ERANGE as errno and return it if NAME is not big
16724 enough. Use memcpy instead of strncpy.
16726 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16728 * elf/Makefile (check-data): Remove.
16729 (localplt.data): New vpath directive.
16730 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16731 instead of $(check-data).
16732 * scripts/data/localplt-generic.data: Move to ...
16733 * sysdeps/generic/localplt.data: ... here.
16734 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16735 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16736 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16739 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16742 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16745 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16748 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16751 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16755 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16757 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16758 PPC32 and PPC64 files.
16759 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16760 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16762 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16764 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16765 __makecontext_ret to ...
16766 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16767 ... here and call exit if uc_link is NULL. New file.
16768 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16769 __makecontext_ret.S.
16770 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16771 __makecontext_ret to ...
16772 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16773 ... here and call exit if uc_link is NULL. New file.
16774 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16775 __makecontext_ret.S.
16777 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16779 * elf/elf.h (R_390_IRELATIVE): New definition.
16780 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16781 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16782 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16784 (elf_machine_lazy_rel): Likewise.
16785 * sysdeps/s390/dl-irel.h: New file.
16786 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16787 * sysdeps/s390/s390-64/memset.S: New asm code.
16788 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16789 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16790 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16791 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16792 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16793 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16795 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16796 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16797 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16798 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16799 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16800 * sysdeps/s390/s390-32/memset.S: New asm code.
16801 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16803 2012-07-17 Marek Polacek <polacek@redhat.com>
16806 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16807 * sysdeps/s390/s390-64/configure.in: Likewise.
16808 * sysdeps/sparc/configure.in: Likewise.
16809 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16810 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16811 * sysdeps/i386/configure.in: Likewise.
16812 * sysdeps/x86_64/configure.in: Likewise.
16813 * sysdeps/sh/configure.in: Likewise.
16814 * sysdeps/s390/s390-32/configure: Regenerated.
16815 * sysdeps/s390/s390-64/configure: Likewise.
16816 * sysdeps/x86_64/configure: Likewise.
16817 * sysdeps/sh/configure: Likewise.
16818 * sysdeps/powerpc/powerpc64/configure: Likewise.
16819 * sysdeps/powerpc/powerpc32/configure: Likewise.
16820 * sysdeps/sparc/configure: Likwise.
16821 * sysdeps/i386/configure: Likewise.
16823 * elf/dl-open.c: Comment fixes.
16825 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16827 * Makefile [CXX] (check-data): Remove.
16828 [CXX] (c++-types.data): New vpath directive.
16829 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16830 vpath. Do not allow for C++ type data being missing.
16831 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16832 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16833 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16834 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16835 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16836 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16837 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16840 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16843 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16846 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16849 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16852 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16855 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16858 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16861 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16862 definitions to architecture-specific files.
16863 (TLS_IE): Likewise.
16864 (TLS_LD): Likewise.
16865 (TLS_GD): Likewise.
16866 * sysdeps/i386/tls-macros.h: New file.
16867 * sysdeps/powerpc/tls-macros.h: Likewise.
16868 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16869 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16870 * sysdeps/sh/tls-macros.h: Likewise.
16871 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16872 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16873 * sysdeps/x86_64/tls-macros.h: Likewise.
16875 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16878 zero value for regular exit case.
16880 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16881 (__start_context): Preserve zero value for regular exit case.
16883 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16884 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16886 * manual/setjmp.texi (setcontext): Clarify normal process
16887 termination when uc_link is the null pointer.
16888 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16891 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16893 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16894 preprocessor. Test for each exception mask separately.
16896 2012-07-16 Andreas Jaeger <aj@suse.de>
16898 * po/ru.po: Update from translation team.
16900 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16902 * conform/data/string.h-data (NULL): Use macro-constant. Require
16904 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16906 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16907 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16910 2012-07-13 Andreas Jaeger <aj@suse.de>
16912 * po/fr.po: Update from translation team.
16914 2012-07-12 Marek Polacek <polacek@redhat.com>
16917 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16918 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16921 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16925 Change to 2.4.1 where previously 2.4.0.
16926 * sysdeps/unix/sysv/linux/configure: Regenerated.
16927 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16928 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16930 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16931 (__ASSUME_AT_CLKTCK): Remove.
16932 (__ASSUME_AT_PAGESIZE): Likewise.
16933 (__ASSUME_AT_XID): Likewise.
16934 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16935 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16936 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16938 (HAVE_AUX_PAGESIZE): Likewise.
16939 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16940 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16941 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16943 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16947 the temporary buffer used to invoke __gethostbyname2_r,
16948 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16949 host_data / struct gaih_addrtuple.
16950 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16951 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16952 header file nss/nsswitch.h.
16953 * nss/nsswitch.h (global scope): Add definition of implementation
16954 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16955 resolv/nss_dns/dns-host.c).
16957 2012-07-11 Andreas Jaeger <aj@suse.de>
16959 * po/fr.po: Update from translation team.
16961 * po/sv.po: Update from translation team
16962 * po/fr.po: Another update from translation team.
16964 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16966 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16967 for subnormals or multiply small sinh result by itself.
16968 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16971 2012-07-11 David S. Miller <davem@davemloft.net>
16973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16975 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16978 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16979 (INTERNAL_MARK): Shift it here.
16981 2012-07-10 Marek Polacek <polacek@redhat.com>
16984 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16985 libc_cv_asm_global_directive with .globl.
16986 * configure: Regenerated.
16987 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16989 * sysdeps/i386/configure: Regenerated.
16990 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16992 * sysdeps/x86_64/configure: Regenerated.
16993 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16994 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16995 * elf/tst-unique2mod2.c: Likewise.
16996 * elf/tst-unique2mod1.c: Likewise.
16997 * elf/tst-unique1mod2.c: Likewise.
16998 * elf/tst-unique1mod1.c: Likewise.
16999 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17000 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17002 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17003 * sysdeps/mach/sysdep.h: Likewise.
17004 * sysdeps/i386/sysdep.h: Likewise.
17005 * sysdeps/i386/i386-mcount.S: Likewise.
17006 * sysdeps/x86_64/_mcount.S: Likewise.
17007 * sysdeps/x86_64/sysdep.h: Likewise.
17008 * sysdeps/sh/_mcount.S: Likewise.
17009 * sysdeps/sh/sysdep.h: Likewise.
17010 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17011 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17012 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17013 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17014 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17015 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17016 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17017 * locale/localeinfo.h: Likewise.
17018 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17019 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17021 2012-07-09 Roland McGrath <roland@hack.frob.com>
17024 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17026 * manual/message.texi (The Uniforum approach): Likewise.
17027 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17028 (glibc iconv Implementation): Likewise.
17030 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17033 * math/s_clog.c (__clog): Avoid scaling a value down where that
17034 could result in underflow.
17035 * math/s_clog10.c (__clog10): Likewise.
17036 * math/s_clog10f.c (__clog10f): Likewise.
17037 * math/s_clog10l.c (__clog10l): Likewise.
17038 * math/s_clogf.c (__clogf): Likewise.
17039 * math/s_clogl.c (__clogl): Likewise.
17040 * math/libm-test.inc (clog_test): Add more tests.
17041 (clog10_test): Likewise.
17042 * sysdeps/i386/fpu/libm-test-ulps: Update.
17043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17045 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17048 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17049 by 7 not 8 to examine high bit of fractional part.
17052 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17053 for call to __mcount_internal.
17054 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17055 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17056 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17058 2012-07-06 Joseph Myers <joseph@codesourcery.com>
17061 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17062 approximation for values within 0x1p-13f of an odd multiple of
17064 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17065 exception. Add more tests.
17066 * sysdeps/i386/fpu/libm-test-ulps: Update.
17069 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17070 inputs and return -1 for them. Do not check for +Inf in case not
17071 reachable for +Inf.
17072 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17073 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17075 and return -1 for them. Do not check for +Inf in case not
17076 reachable for +Inf.
17077 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17080 and return -1 for them. Do not check for +Inf in case not
17081 reachable for +Inf.
17082 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17083 spurious underflow.
17084 * sysdeps/i386/fpu/libm-test-ulps: Update.
17085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17087 2012-07-06 Mike Frysinger <vapier@gentoo.org>
17089 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17091 2012-07-05 Joseph Myers <joseph@codesourcery.com>
17095 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17096 could result in spurious underflow. Scale down values above
17097 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17098 * math/s_csqrtf.c (__csqrtf): Likewise.
17099 * math/s_csqrtl.c (__csqrtl): Likewise.
17100 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17101 spurious underflow.
17102 * sysdeps/i386/fpu/libm-test-ulps: Update.
17103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17105 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17107 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17109 * catgets/xopen-msg.awk: New file.
17110 * catgets/xopen-msg.sed: Removed.
17112 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17114 * intl/po2test.awk: New file.
17115 * intl/po2test.sed: Removed.
17117 2012-07-04 Joseph Myers <joseph@codesourcery.com>
17120 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17121 or multiply small sinh result by itself.
17122 * math/s_ctanf.c (__ctanf): Likewise.
17123 * math/s_ctanh.c (__ctanh): Likewise.
17124 * math/s_ctanhf.c (__ctanhf): Likewise.
17125 * math/s_ctanhl.c (__ctanhl): Likewise.
17126 * math/s_ctanl.c (__ctanl): Likewise.
17127 * math/libm-test.inc (ctan_test_tonearest): New function.
17128 (ctan_test_towardzero): Likewise.
17129 (ctan_test_downward): Likewise.
17130 (ctan_test_upward): Likewise.
17131 (ctanh_test_tonearest): Likewise.
17132 (ctanh_test_towardzero): Likewise.
17133 (ctanh_test_downward): Likewise.
17134 (ctanh_test_upward): Likewise.
17135 (main): Call these new functions.
17136 * sysdeps/i386/fpu/libm-test-ulps: Update.
17137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17139 2012-07-03 Mike Frysinger <vapier@gentoo.org>
17141 * .gitignore: Delete /ports entry.
17143 2012-07-03 Andreas Jaeger <aj@suse.de>
17145 * po/bg.po: Update from translation team.
17146 * po/cs.po: Likewise.
17147 * po/de.po: Likewise.
17148 * po/hr.po: Likewise.
17149 * po/nl.pl: Likewise.
17150 * po/pl.po: Likewise.
17151 * po/vi.po: Likewise.
17153 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17155 * Makeconfig [!+link] (+link-before-libc): New variable.
17156 [!+link] (+link-after-libc): Likewise.
17157 [!+link] (+link-tests): Likewise.
17158 [!+link] (+link): Define in terms of $(+link-before-libc) and
17159 $(+link-after-libc).
17160 [!+link-static] (+link-static-before-libc): New variable.
17161 [!+link-static] (+link-static-after-libc): Likewise.
17162 [!+link-static] (+link-static-tests): Likewise.
17163 [!+link-static] (+link-static): Define in terms of
17164 $(+link-static-before-libc) and $(+link-static-after-libc).
17165 [build-shared] (link-libc-before-gnulib): New variable.
17166 [build-shared] (link-libc-tests): Likewise.
17167 [build-shared] (link-libc): Define in terms of
17168 $(link-libc-before-gnulib).
17169 [!build-shared] (link-libc-tests): New variable.
17170 (link-libc-static-tests): New variable.
17171 [!gnulib] (gnulib-arch): New variable.
17172 [!gnulib] (gnulib-tests): Likewise.
17173 [!gnulib] (static-gnulib-arch): Likewise.
17174 [!gnulib] (static-gnulib-tests): Likewise.
17175 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17176 Define with "=" instead of ":=".
17177 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17178 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17179 * Rules (binaries-all-notests): New variable.
17180 (binaries-all-tests): Likewise.
17181 (binaries-static-notests): Likewise.
17182 (binaries-static-tests): Likewise.
17183 (binaries-all): Define using $(binaries-all-notests) and
17184 $(binaries-all-tests).
17185 (binaries-static): Define using $(binaries-static-notests) and
17186 $(binaries-static-tests).
17187 (binaries-shared-tests): New variable.
17188 (binaries-shared-notests): Likewise.
17189 (binaries-shared): Remove variable.
17190 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17191 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17192 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17193 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17194 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17195 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17196 * elf/Makefile (sln-modules): New variable.
17197 (extra-objs): Add $(sln-modules:=.o).
17198 (ldconfig-modules): Add static-stubs.
17199 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17200 * elf/static-stubs.c: New file.
17203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17204 by 7 not 8 to examine high bit of fractional part. Use volatile
17205 variables when splitting into final array of floats if
17206 __FLT_EVAL_METHOD__ != 0.
17207 * math/libm-test.inc (cos_test): Add another test.
17208 (sin_test): Likewise.
17209 * sysdeps/i386/fpu/libm-test-ulps: Update.
17212 * math/libm-test.inc (cosh_test): Add more tests.
17214 * version.h (RELEASE): Set to "development".
17215 (VERSION): Set to "2.16.90".
17217 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17219 * NEWS: Update copyright. Remove last-updated date.
17220 Mention math library bug fixes and timezone data changes.
17221 * README: Mention GNU/Hurd, x32, and HPPA support status.
17223 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17225 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17227 2012-06-27 Andreas Jaeger <aj@suse.de>
17229 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17231 2012-06-25 Andreas Jaeger <aj@suse.de>
17233 * sysdeps/s390/fpu/libm-test-ulps: Update.
17235 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17236 Thomas Schwinge <thomas@codesourcery.com>
17238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17239 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17243 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17245 * sysdeps/mach/start.c: Remove file.
17246 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17247 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17248 * sysdeps/sh/init-first.c: Likewise.
17250 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17251 registers for frame unwinding purposes, add CFI directives.
17252 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17253 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17254 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17257 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17258 __fortify_fail returning.
17259 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17261 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17262 sysdeps/sh/____longjmp_chk.S.
17263 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17264 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17265 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17266 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17268 * sysdeps/sh/abort-instr.h: New file.
17269 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17270 process in case exit returns.
17272 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17273 initialize the GOT register before use.
17275 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17276 calculation of ARGC > 4.
17278 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17279 meaningful names to some local labels.
17281 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17282 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17284 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17285 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17286 (__arch_compare_and_exchange_val_16_acq): Likewise.
17287 (__arch_compare_and_exchange_val_32_acq): Likewise.
17288 (atomic_exchange_and_add): Fix gUSA sequence.
17289 (atomic_add): Likewise.
17290 (atomic_add_negative): Likewise.
17291 (atomic_add_zero): Likewise.
17292 (atomic_bit_test_set): Likewise.
17294 2012-06-22 Andreas Schwab <schwab@redhat.com>
17297 * include/link.h (struct link_map): Add l_free_initfini.
17298 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17300 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17301 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17302 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17305 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17307 * configure.in: Use AC_LANG_SOURCE.
17308 * configure: Regenerate.
17310 2012-06-22 Roland McGrath <roland@hack.frob.com>
17312 * configure.in (libc_cv_localstatedir): New substituted variable.
17313 * configure: Regenerated.
17314 * config.make.in (localstatedir): New variable, substituted from
17315 libc_cv_localstatedir.
17316 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17317 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17318 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17319 * sysdeps/gnu/configure: Regenerated.
17321 2012-06-21 Jeff Law <law@redhat.com>
17324 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17325 free. Simplify list management for _LIBC case.
17327 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17330 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17331 Clear sign bit of 64-bit integer value before comparing against
17334 * sysdeps/mach/configure: Regenerated.
17336 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17339 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17341 2012-06-21 Jeff Law <law@redhat.com>
17344 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17345 uint16_t for elements in the "seen" array to avoid char overflows.
17346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17347 * elf/dl-open.c (dl_open_worker): Likewise.
17349 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17351 * scripts/list-sources.sh: Scan PORTS for translations.
17352 * po/libc.pot: Regenerated.
17354 2012-06-21 Andreas Jaeger <aj@suse.de>
17357 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17359 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17360 * bits/byteswap-16.h (__bswap_16): Likewise.
17361 * bits/byteswap.h (__bswap_constant_16): Likewise.
17363 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17366 * sysdeps/i386/fpu_control.h: Removed.
17367 * sysdeps/x86_64/fpu_control.h: Moved to ...
17368 * sysdeps/x86/fpu_control.h: Here.
17370 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17371 (_FPU_SETCW): Likewise.
17373 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17376 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17377 * sysdeps/x86/fpu/bits/mathinline.h: This.
17378 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17382 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17383 functions if __x86_64__ is defined.
17385 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17387 * string/endian.h: Add !__ASSEMBLER__ condition for including
17388 conversion interfaces.
17390 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17394 of ABS(x) in calculating zero to negative powers other than odd
17396 * math/libm-test.inc (pow_test): Add more tests.
17398 2012-06-15 Andreas Jaeger <aj@suse.de>
17400 * manual/contrib.texi (Contributors): Update entry of Liubov
17401 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17404 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17406 * string/string.h: Add __wur to GNU version of strerror_r.
17408 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17411 * string/Makefile (tests): Add tst-strtok_r.
17412 * string/tst-strtok_r.c: New file.
17413 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17414 RAX_LP/RDX_LP on SAVE_PTR.
17416 2012-06-14 Roland McGrath <roland@hack.frob.com>
17418 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17420 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17422 * libm_test.inc (csqrt_test): Allow more spurious underflow
17424 (j0_test): Likewise.
17425 (j1_test): Likewise.
17426 (y0_test): Likewise.
17427 (y1_test): Likewise.
17429 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17431 * po/Makefile (libc.pot): Use UTF-8 charset.
17433 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17436 Suppress sign-conversion warning from FD_SET.
17437 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17438 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17439 not unsigned long int.
17440 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17442 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17446 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17447 __extern_always_inline instead of __extern_inline.
17448 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17449 (__signbit): Likewise.
17450 (__signbitl): Support C++ namespace.
17451 (lrintf): New inline function.
17453 (llrintf): Likewise.
17454 (llrint): Likewise.
17464 (floorf): Likewise.
17465 (nearbyint): Likewise.
17466 (nearbyintf): Likewise.
17468 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17471 non-default versions.
17473 2012-06-11 Roland McGrath <roland@hack.frob.com>
17476 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17478 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17480 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17481 (FE_UPWARD, FE_DOWNWARD): Don't define.
17482 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17483 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17487 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17488 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17490 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17492 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17494 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17497 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17500 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17501 * sysdeps/i386/fpu/Implies: New file.
17502 * sysdeps/x86_64/fpu/Implies: Likewise.
17503 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17504 * sysdeps/x86/fpu/bits/fenv.h: This.
17506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17509 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17512 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17513 character 0xffff that matches the last element of the
17516 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17521 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17524 values higher than 25.6283.
17526 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17528 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17529 subnormal exponent extraction and add some __builtin_expect.
17530 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17531 Fix for subnormal mantissa calculation.
17533 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17535 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17536 cpu2 is -1 and errno is not ENOSYS.
17538 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17541 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17542 * sysdeps/x86/bits/string.h: This.
17543 * sysdeps/x86_64/bits/string.h: Removed.
17545 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17546 if not compiling for x86-64, but compiling for >= i486.
17548 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17549 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17551 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17552 New macro from Linux kernel 3.4.0.
17553 (FP_XSTATE_MAGIC2): Likewise.
17554 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17555 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17556 (struct _fpx_sw_bytes): New struct.
17557 (struct _xsave_hdr): Likewise.
17558 (struct _ymmh_state): Likewise.
17559 (struct _xstate): Likewise.
17561 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17562 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17564 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17565 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17566 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17568 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17569 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17570 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17571 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17572 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17573 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17575 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17578 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17579 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17580 (sysdep_headers): Include sys/platform/ppc.h.
17581 * sysdeps/powerpc/test-gettimebase.c: Test for
17582 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17583 * manual/Makefile (appendices): Include platform.texi.
17584 * manual/contrib.texi (Contributors): Update @node pointers.
17585 * manual/maint.texi (Maintenance): Likewise.
17586 (Platform): New node.
17587 * manual/platform.texi: New file. Document the new features.
17589 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17590 Jakub Jelinek <jakub@redhat.com>
17593 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17594 where __builtin_expect is unavailable.
17596 2012-06-03 David S. Miller <davem@davemloft.net>
17598 * stdlib/longlong.h: Updated from GCC.
17600 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17603 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17604 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17607 (GLIBC_2.16): Likewise.
17609 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17611 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17613 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17616 (default-abi): New variable.
17617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17618 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17620 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17622 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17624 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17627 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17628 definition. Document in comment.
17630 2012-06-01 David S. Miller <davem@davemloft.net>
17632 * stdlib/longlong.h: Updated from GCC.
17634 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17637 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17638 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17639 sys/debugreg.h sys/io.h here.
17640 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17641 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17643 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17644 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17645 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17646 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17647 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17648 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17651 Define only if __x86_64__ is defined.
17653 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17657 Use int64_t for variable i.
17658 * math/libm-test.inc (fmod_test): Add more tests.
17660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17661 z computation is not scheduled after fetestexcept.
17662 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17663 Use math_force_eval instead of asm to ensure calculation scheduled
17664 before exception test.
17665 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17666 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17668 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17671 computation is not scheduled after fetestexcept.
17673 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17676 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17677 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17679 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17681 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17682 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17684 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17687 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17689 (__WCHAR_MIN): Support __WORDSIZE == 64.
17690 (__WCHAR_MAX): Likewise.
17692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17693 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17696 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17697 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17701 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17703 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17704 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17707 Defined to 1 if __x86_64__ isn't defined.
17708 (_STAT_VER_LINUX_OLD): New.
17709 (st_atime): Remove duplicate.
17710 (st_mtime): Likewise.
17711 (st_ctime): Likewise.
17713 2012-05-31 David S. Miller <davem@davemloft.net>
17715 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17718 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17720 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17724 * elf/dl-reloc.c: Include <_itoa.h>.
17725 (_dl_reloc_bad_type): Remove use of INTUSE.
17726 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17727 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17728 * stdio-common/psiginfo.c (psiginfo): Likewise.
17729 * stdio-common/psignal.c (psignal): Likewise.
17730 * string/strsignal.c (strsignal): Likewise.
17731 * include/signal.h (_sys_siglist): Declare hidden proto.
17732 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17733 INTVARDEF with libc_hidden_data_def.
17734 * stdio-common/itoa-udigits.c: Likewise.
17735 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17736 (_itoa_lower_digits_internal): Remove declaration.
17737 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17738 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17739 (_sys_sigabbrev_internal): Remove aliases.
17740 (_sys_siglist): Define hidden alias.
17742 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17747 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17750 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17751 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17753 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17754 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17755 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17756 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17758 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17760 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17761 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17762 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17764 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17772 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17776 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17777 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17779 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17780 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17781 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17783 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17784 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17786 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17787 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17791 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17793 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17794 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17796 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17798 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17799 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17800 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17802 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17804 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17806 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17808 * math/math.h (M_El): Use two more decimal places.
17809 (M_LOG2El): Likewise.
17810 (M_LOG10El): Likewise.
17811 (M_LN2l): Likewise.
17812 (M_LN10l): Likewise.
17814 (M_PI_2l): Likewise.
17815 (M_PI_4l): Likewise.
17816 (M_1_PIl): Likewise.
17817 (M_2_PIl): Likewise.
17818 (M_2_SQRTPIl): Likewise.
17819 (M_SQRT2l): Likewise.
17820 (M_SQRT1_2l): Likewise.
17822 2012-05-31 David S. Miller <davem@davemloft.net>
17824 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17825 values between float registers.
17826 * sysdeps/sparc/sparc64/memset.S: Likewise.
17827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17829 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17831 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17832 -D_FORTIFY_SOURCE=1.
17833 (CPPFLAGS-tst-longjmp_chk.c): Define.
17834 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17835 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17836 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17837 CFLAGS-tst-wchar-h.c.
17839 2012-05-31 Marek Polacek <polacek@redhat.com>
17842 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17843 __endmntent_internal): Remove declaration.
17844 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17845 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17846 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17848 2012-05-30 David S. Miller <davem@davemloft.net>
17850 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17851 (___Q_simulate_exceptions): Use real FP ops rather than writing
17853 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17856 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17859 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17860 * sysdeps/x86/bits/xtitypes.h: This.
17862 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17863 * sysdeps/x86/bits/wordsize.h: This.
17865 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17866 * sysdeps/x86/bits/huge_vall.h: This.
17868 * sysdeps/i386/bits/select.h: Removed.
17869 * sysdeps/x86_64/bits/select.h: Renamed to ...
17870 * sysdeps/x86/bits/select.h: This.
17872 * sysdeps/i386/bits/setjmp.h: Removed.
17873 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17874 * sysdeps/x86/bits/setjmp.h: This.
17876 * sysdeps/i386/bits/mathdef.h: Removed.
17877 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17878 * sysdeps/x86/bits/mathdef.h: This.
17880 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17883 * include/sys/socket.h (__connect_internal)
17884 (__libc_sa_len_internal): Remove declaration.
17885 (__connect, __libc_sa_len): Declare hidden_proto.
17886 (SA_LEN): Remove use of INTUSE.
17887 * socket/connect.c: Add libc_hidden_def.
17888 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17889 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17890 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17892 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17894 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17895 of adding _internal alias.
17897 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17900 * sysdeps/i386/bits/link.h: Removed.
17901 * sysdeps/i386/bits/linkmap.h: Likewise.
17902 * sysdeps/x86_64/bits/link.h: Renamed to ...
17903 * sysdeps/x86/bits/link.h: This.
17904 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17905 * sysdeps/x86/bits/linkmap.h: This.
17907 * sysdeps/i386/bits/endian.h: Removed.
17908 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17909 * sysdeps/x86/bits/endian.h: This.
17911 * sysdeps/i386/bits/byteswap.h: Removed.
17912 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17913 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17914 * sysdeps/x86/bits/byteswap.h: This.
17915 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17916 * sysdeps/x86/bits/byteswap-16.h: This.
17917 * sysdeps/i386/Implies: Add x86.
17918 * sysdeps/x86_64/Implies: Likewise.
17920 2012-05-30 David S. Miller <davem@davemloft.net>
17922 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17923 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17924 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17925 (FP_TRAPPING_EXCEPTIONS): Define.
17926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17927 (FP_TRAPPING_EXCEPTIONS): Define.
17928 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17929 subnormals only when inexact has been signalled or underflow
17930 exceptions are enabled.
17931 (_FP_PACK_CANONICAL): Likewise.
17933 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17936 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17937 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17939 2012-05-30 Richard Henderson <rth@twiddle.net>
17941 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17942 with #ifndef NOT_IN_libc.
17944 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17945 marked to avoid plt entry.
17947 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17950 * Makeconfig (default-abi): New macro.
17951 (abi-includes): Likewise.
17952 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17953 $(abi-$(default-abi)-lib-soname) for soname if defined.
17954 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17956 * Makefile (installed-stubs): Likewise.
17957 * include/stubs-biarch.h: Removed.
17958 * scripts/lib-names.awk: Only handle one library at a time.
17959 * scripts/soversions.awk: Remove WORDSIZE support.
17960 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17962 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17964 (syscall-list-default-condition): Likewise.
17965 (syscall-list-default-condition): Likewise.
17966 (syscall-list-includes): Likewise.
17967 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17968 syscall-list-* with abi-*. Handle undefined abi-variants.
17969 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17970 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17971 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17972 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17973 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17974 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17976 (syscall-list-32-options): Likewise.
17977 (syscall-list-32-condition): Likewise.
17978 (syscall-list-64-options): Likewise.
17979 (syscall-list-64-condition): Likewise.
17980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17982 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17985 (abi-64-ld-soname): New macro.
17986 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17987 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17990 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17991 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17993 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17995 * sysdeps/unix/sysv/linux/kernel-features.h
17996 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17997 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17998 include <kernel-features.h>.
17999 [!__NR_ftruncate64]: Remove conditional code.
18000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18001 [__NR_ftruncate64]: Make code unconditional.
18002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18003 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18004 include <kernel-features.h>.
18005 [!__NR_ftruncate64]: Remove conditional code.
18006 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18007 [__NR_ftruncate64]: Make code unconditional.
18008 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18010 include <kernel-features.h>.
18011 [!__NR_ftruncate64]: Remove conditional code.
18012 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18013 [__NR_ftruncate64]: Make code unconditional.
18014 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18016 include <kernel-features.h>.
18017 [!__NR_ftruncate64]: Remove conditional code.
18018 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18019 [__NR_ftruncate64]: Make code unconditional.
18020 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18022 * configure.in (libc_cv_fpie): Weaken to a compile test using
18023 LIBC_TRY_CC_OPTION.
18024 * configure: Regenerated.
18026 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18041 2012-05-27 David S. Miller <davem@davemloft.net>
18043 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18045 (__Q_simulate_exceptions): Return void. Change to simulate
18046 exceptions by writing into the %fsr.
18047 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18048 (__Qp_handle_exceptions): Likewise.
18050 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18051 __Qp_handle_exceptions.
18052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18053 __Qp_handle_exceptions.
18054 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18055 as unused and give dummy FP_RND_NEAREST initializer.
18056 (FP_INHIBIT_RESULTS): Define.
18057 (___Q_simulate_exceptions): Update declaration.
18058 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18061 as unused and give dummy FP_RND_NEAREST initializer.
18062 (__Qp_handle_exceptions): Update declaration.
18063 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18066 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18068 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18069 the temporary FPU control word.
18070 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18071 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18073 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18074 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18076 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18077 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18078 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18079 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18082 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18084 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18087 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18089 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18090 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18091 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18092 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18094 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18095 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18098 2012-05-27 Ulrich Drepper <drepper@gmail.com>
18100 * po/h.po: Update from translation team.
18102 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18104 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18106 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18107 handling of denormals.
18108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18109 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18110 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18111 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18117 2012-05-26 Marek Polacek <polacek@redhat.com>
18120 * math/libm-test.inc (fma_test): Don't always expect underflow
18123 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18126 * elf/tst-execstack.c: Include stackinfo.h.
18127 (do_test): Adjust test case to ensure that pthread_getattr_np
18128 behaviour remains the same after marking stack executable.
18130 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18132 * sysdeps/unix/sysv/linux/kernel-features.h
18133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18134 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18136 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18137 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18138 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18140 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18141 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18143 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18145 * configure.in: Define the default includes to being none.
18146 * configure: Regenerated.
18148 2012-05-25 Roland McGrath <roland@hack.frob.com>
18150 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18151 * sysdeps/x86_64/setjmp.S: Likewise.
18152 * sysdeps/i386/bsd-setjmp.S: Likewise.
18153 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18154 * sysdeps/i386/setjmp.S: Likewise.
18155 * sysdeps/i386/__longjmp.S: Likewise.
18156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18157 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18159 * include/stap-probe.h: New file.
18160 * configure.in: Handle --enable-systemtap.
18161 * configure: Regenerated.
18162 * config.h.in (USE_STAP_PROBE): New #undef.
18163 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18164 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18165 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18167 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18171 to 2.4.0 where earlier.
18172 * sysdeps/unix/sysv/linux/configure: Regenerated.
18173 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18174 <kernel-features.h>.
18175 [__ASSUME_32BITUIDS]: Make code unconditional.
18176 [!__ASSUME_32BITUIDS]: Remove conditional code.
18177 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18178 <kernel-features.h>.
18179 [__ASSUME_32BITUIDS]: Make code unconditional.
18180 [!__ASSUME_32BITUIDS]: Remove conditional code.
18181 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18182 [__ASSUME_32BITUIDS]: Make code unconditional.
18183 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18184 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18185 <kernel-features.h>.
18186 [__ASSUME_32BITUIDS]: Make code unconditional.
18187 [!__ASSUME_32BITUIDS]: Remove conditional code.
18188 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18189 <kernel-features.h>.
18190 [__ASSUME_32BITUIDS]: Make code unconditional.
18191 [!__ASSUME_32BITUIDS]: Remove conditional code.
18192 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18193 <kernel-features.h>.
18194 [__ASSUME_32BITUIDS]: Make code unconditional.
18195 [!__ASSUME_32BITUIDS]: Remove conditional code.
18196 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18197 <kernel-features.h>.
18198 [__ASSUME_32BITUIDS]: Make code unconditional.
18199 [!__ASSUME_32BITUIDS]: Remove conditional code.
18200 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18201 <kernel-features.h>.
18202 [__ASSUME_32BITUIDS]: Make code unconditional.
18203 [!__ASSUME_32BITUIDS]: Remove conditional code.
18204 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18205 <kernel-features.h>.
18206 [__ASSUME_32BITUIDS]: Make code unconditional.
18207 [!__ASSUME_32BITUIDS]: Remove conditional code.
18208 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18209 <kernel-features.h>.
18210 [__ASSUME_32BITUIDS]: Make code unconditional.
18211 [!__ASSUME_32BITUIDS]: Remove conditional code.
18212 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18213 <kernel-features.h>.
18214 [__ASSUME_32BITUIDS]: Make code unconditional.
18215 [!__ASSUME_32BITUIDS]: Remove conditional code.
18216 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18217 <kernel-features.h>.
18218 [__ASSUME_32BITUIDS]: Make code unconditional.
18219 [!__ASSUME_32BITUIDS]: Remove conditional code.
18220 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18221 <kernel-features.h>.
18222 [__ASSUME_32BITUIDS]: Make code unconditional.
18223 [!__ASSUME_32BITUIDS]: Remove conditional code.
18224 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18225 <kernel-features.h>.
18226 [__NR_setresgid] (__setresgid): Do not declare.
18227 [__ASSUME_32BITUIDS]: Make code unconditional.
18228 [!__ASSUME_32BITUIDS]: Remove conditional code.
18229 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18230 <kernel-features.h>.
18231 [__NR_setresuid] (__setresuid): Do not declare.
18232 [__ASSUME_32BITUIDS]: Make code unconditional.
18233 [!__ASSUME_32BITUIDS]: Remove conditional code.
18234 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18235 <kernel-features.h>.
18236 [__ASSUME_32BITUIDS]: Make code unconditional.
18237 [!__ASSUME_32BITUIDS]: Remove conditional code.
18238 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18239 <kernel-features.h>.
18240 [__ASSUME_32BITUIDS]: Make code unconditional.
18241 [!__ASSUME_32BITUIDS]: Remove conditional code.
18242 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18243 <kernel-features.h>.
18244 [__ASSUME_32BITUIDS]: Make code unconditional.
18245 [!__ASSUME_32BITUIDS]: Remove conditional code.
18246 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18247 <kernel-features.h>.
18248 [__ASSUME_32BITUIDS]: Make code unconditional.
18249 [!__ASSUME_32BITUIDS]: Remove conditional code.
18250 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18251 <kernel-features.h>.
18252 [__ASSUME_32BITUIDS]: Make code unconditional.
18253 [!__ASSUME_32BITUIDS]: Remove conditional code.
18254 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18255 <kernel-features.h>.
18256 [__ASSUME_32BITUIDS]: Make code unconditional.
18257 [!__ASSUME_32BITUIDS]: Remove conditional code.
18258 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18259 <kernel-features.h>.
18260 [__ASSUME_32BITUIDS]: Make code unconditional.
18261 [!__ASSUME_32BITUIDS]: Remove conditional code.
18262 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18263 <kernel-features.h>.
18264 [__ASSUME_32BITUIDS]: Make code unconditional.
18265 [!__ASSUME_32BITUIDS]: Remove conditional code.
18266 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18267 <kernel-features.h>.
18268 [__ASSUME_32BITUIDS]: Make code unconditional.
18269 [!__ASSUME_32BITUIDS]: Remove conditional code.
18270 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18271 <kernel-features.h>.
18272 [__ASSUME_32BITUIDS]: Make code unconditional.
18273 [!__ASSUME_32BITUIDS]: Remove conditional code.
18274 * sysdeps/unix/sysv/linux/kernel-features.h
18275 (__ASSUME_SETRESUID_SYSCALL): Remove.
18276 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18277 (__ASSUME_32BITUIDS): Likewise.
18278 (__ASSUME_LDT_WORKS): Likewise.
18279 (__ASSUME_O_DIRECTORY): Likewise.
18280 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18281 architecture but not kernel version.
18282 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18283 (__ASSUME_MMAP2_SYSCALL): Likewise.
18284 (__ASSUME_STAT64_SYSCALL): Likewise.
18285 (__ASSUME_IPC64): Likewise.
18286 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18287 <kernel-features.h>.
18288 [__ASSUME_32BITUIDS]: Make code unconditional.
18289 [!__ASSUME_32BITUIDS]: Remove conditional code.
18290 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18291 <kernel-features.h>.
18292 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18293 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18294 132096]: Remove conditional code.
18295 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18296 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18297 <kernel-features.h>.
18298 [__ASSUME_32BITUIDS]: Make code unconditional.
18299 [!__ASSUME_32BITUIDS]: Remove conditional code.
18300 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18301 <kernel-features.h>.
18302 [__ASSUME_32BITUIDS]: Make code unconditional.
18303 [!__ASSUME_32BITUIDS]: Remove conditional code.
18304 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18305 <kernel-features.h>.
18306 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18308 (__setresgid): Do not declare.
18309 [__ASSUME_32BITUIDS]: Make code unconditional.
18310 [!__ASSUME_32BITUIDS]: Remove conditional code.
18311 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18312 <kernel-features.h>.
18313 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18315 (__setresuid): Do not declare.
18316 [__ASSUME_32BITUIDS]: Make code unconditional.
18317 [!__ASSUME_32BITUIDS]: Remove conditional code.
18318 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18319 <kernel-features.h>.
18320 [__ASSUME_32BITUIDS]: Make code unconditional.
18321 [!__ASSUME_32BITUIDS]: Remove conditional code.
18322 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18323 <kernel-features.h>.
18324 [__ASSUME_32BITUIDS]: Make code unconditional.
18325 [!__ASSUME_32BITUIDS]: Remove conditional code.
18327 2012-05-25 Richard Henderson <rth@twiddle.net>
18329 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18330 dl_hwcap to ifunc resolver.
18331 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18333 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18334 dl_hwcap to ifunc resolver.
18335 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18337 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18340 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18341 for |x| <= 2**-26, not 2**-57.
18342 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18345 2012-05-24 Jeff Law <law@redhat.com>
18347 * stdio-common/Makefile (tests): Add bug25.
18348 * stdio-common/bug25.c: New test.
18350 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18353 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18354 multiple of MALLOC_ALIGNMENT in size.
18355 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18357 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18359 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18361 (FILENAME_MAX): Use macro-int-constant.
18362 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18363 (_IOFBF): Use macro-int-constant.
18364 (_IOLBF): Likewise.
18365 (_IONBF): Likewise.
18366 (SEEK_CUR): Likewise.
18367 (SEEK_END): Likewise.
18368 (SEEK_SET): Likewise.
18369 (TMP_MAX): Likewise.
18370 (EOF): Use macro-int-constant. Require < 0.
18371 (NULL): Use macro-constant. Require == 0.
18372 (stdin): Require type to be FILE *.
18373 (stdout): Likewise.
18374 (stderr): Likewise.
18375 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18376 macro-int-constant.
18377 (EXIT_SUCCESS): Likewise.
18378 (NULL): Use macro-constant. Require == 0.
18379 (RAND_MAX): Use macro-int-constant.
18380 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18381 [C99-based standards] (strtof): Require function.
18382 [C99-based standards] (strtold): Likewise.
18383 [C99-based standards] (strtoll): Likewise.
18384 [C99-based standards] (strtoull): Likewise.
18385 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18386 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18387 [ISO || ISO99 || ISO11] (math.h): Likewise.
18388 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18389 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18392 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18395 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18396 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18397 * intl/dgettext.c (DCGETTEXT): Likewise.
18398 * intl/gettext.c (DCGETTEXT): Likewise.
18399 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18400 * posix/regex_internal.h (gettext): Likewise.
18401 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18402 Remove declaration.
18403 * include/argz.h (__argz_count_internal)
18404 (__argz_stringify_internal): Remove declaration.
18405 (__argz_count, __argz_stringify): Declare hidden proto.
18406 * intl/dcgettext.c: Remove use of INTDEF.
18407 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18408 * string/argz-stringify.c: Likewise.
18409 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18410 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18411 Declare hidden proto.
18412 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18413 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18414 Declare hidden proto.
18415 * include/stdio.h (__asprintf_internal): Don't declare.
18416 (__asprintf): Don't define as macro. Declare hidden proto.
18417 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18418 (__fsetlocking): Declare hidden proto.
18419 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18420 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18422 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18423 (_IO_setlinebuf): Remove use of INTUSE.
18424 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18425 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18426 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18427 Remove declaration.
18428 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18429 (_IO_do_flush): Remove use of INTUSE.
18430 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18431 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18432 (_IO_adjust_column, _IO_least_wmarker)
18433 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18434 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18435 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18436 (_IO_default_doallocate, _IO_wdefault_doallocate)
18437 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18438 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18439 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18440 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18441 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18442 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18443 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18444 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18445 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18446 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18447 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18448 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18449 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18451 (_IO_flush_all_internal, _IO_adjust_column_internal)
18452 (_IO_default_uflow_internal, _IO_default_finish_internal)
18453 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18454 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18455 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18456 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18457 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18458 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18459 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18460 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18461 (_IO_file_close_internal, _IO_file_close_it_internal)
18462 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18463 (_IO_file_init_internal, _IO_file_attach_internal)
18464 (_IO_file_fopen_internal, _IO_file_read_internal)
18465 (_IO_file_sync_internal, _IO_file_seek_internal)
18466 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18467 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18468 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18469 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18470 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18471 (_IO_list_all_internal, _IO_link_in_internal)
18472 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18473 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18474 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18475 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18476 (_IO_do_write_internal, _IO_padn_internal)
18477 (_IO_getline_info_internal, _IO_getline_internal)
18478 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18479 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18480 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18481 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18482 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18483 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18484 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18485 with libc_hidden_ver, remove use of INTUSE.
18486 * libio/genops.c: Likewise.
18487 * libio/freopen.c: Likewise.
18488 * libio/freopen64.c: Likewise.
18489 * libio/iofclose.c: Likewise.
18490 * libio/iofdopen.c: Likewise.
18491 * libio/iofflush.c: Likewise.
18492 * libio/iofflush_u.c: Likewise.
18493 * libio/iofgets.c: Likewise.
18494 * libio/iofgets_u.c: Likewise.
18495 * libio/iofopen.c: Likewise.
18496 * libio/iofopncook.c: Likewise.
18497 * libio/iofread.c: Likewise.
18498 * libio/iofread_u.c: Likewise.
18499 * libio/ioftell.c: Likewise.
18500 * libio/iofwrite.c: Likewise.
18501 * libio/iogetline.c: Likewise.
18502 * libio/iogets.c: Likewise.
18503 * libio/iogetwline.c: Likewise.
18504 * libio/iopadn.c: Likewise.
18505 * libio/iopopen.c: Likewise.
18506 * libio/ioseekoff.c: Likewise.
18507 * libio/ioseekpos.c: Likewise.
18508 * libio/iosetbuffer.c: Likewise.
18509 * libio/iosetvbuf.c: Likewise.
18510 * libio/ioungetc.c: Likewise.
18511 * libio/ioungetwc.c: Likewise.
18512 * libio/iovdprintf.c: Likewise.
18513 * libio/iovsprintf.c: Likewise.
18514 * libio/iovsscanf.c: Likewise.
18515 * libio/memstream.c: Likewise.
18516 * libio/obprintf.c: Likewise.
18517 * libio/oldfileops.c: Likewise.
18518 * libio/oldiofclose.c: Likewise.
18519 * libio/oldiofdopen.c: Likewise.
18520 * libio/oldiofopen.c: Likewise.
18521 * libio/oldiopopen.c: Likewise.
18522 * libio/oldstdfiles.c: Likewise.
18523 * libio/putc.c: Likewise.
18524 * libio/setbuf.c: Likewise.
18525 * libio/setlinebuf.c: Likewise.
18526 * libio/stdfiles.c: Likewise.
18527 * libio/strops.c: Likewise.
18528 * libio/vasprintf.c: Likewise.
18529 * libio/vscanf.c: Likewise.
18530 * libio/vsnprintf.c: Likewise.
18531 * libio/vswprintf.c: Likewise.
18532 * libio/wfiledoalloc.c: Likewise.
18533 * libio/wfileops.c: Likewise.
18534 * libio/wgenops.c: Likewise.
18535 * libio/wmemstream.c: Likewise.
18536 * libio/wstrops.c: Likewise.
18537 * libio/__fpurge.c: Likewise.
18538 * libio/__fsetlocking.c: Likewise.
18539 * assert/assert.c: Likewise.
18540 * debug/fgets_chk.c: Likewise.
18541 * debug/fgets_u_chk.c: Likewise.
18542 * debug/fread_chk.c: Likewise.
18543 * debug/fread_u_chk.c: Likewise.
18544 * debug/gets_chk.c: Likewise.
18545 * debug/obprintf_chk.c: Likewise.
18546 * debug/vasprintf_chk.c: Likewise.
18547 * debug/vdprintf_chk.c: Likewise.
18548 * debug/vsnprintf_chk.c: Likewise.
18549 * debug/vsprintf_chk.c: Likewise.
18550 * malloc/mtrace.c: Likewise.
18551 * misc/error.c: Likewise.
18552 * misc/syslog.c: Likewise.
18553 * stdio-common/asprintf.c: Likewise.
18554 * stdio-common/fxprintf.c: Likewise.
18555 * stdio-common/getw.c: Likewise.
18556 * stdio-common/isoc99_fscanf.c: Likewise.
18557 * stdio-common/isoc99_scanf.c: Likewise.
18558 * stdio-common/isoc99_vfscanf.c: Likewise.
18559 * stdio-common/isoc99_vscanf.c: Likewise.
18560 * stdio-common/isoc99_vsscanf.c: Likewise.
18561 * stdio-common/printf-prs.c: Likewise.
18562 * stdio-common/printf_fp.c: Likewise.
18563 * stdio-common/printf_fphex.c: Likewise.
18564 * stdio-common/printf_size.c: Likewise.
18565 * stdio-common/putw.c: Likewise.
18566 * stdio-common/scanf.c: Likewise.
18567 * stdio-common/sprintf.c: Likewise.
18568 * stdio-common/tmpfile.c: Likewise.
18569 * stdio-common/vfprintf.c: Likewise.
18570 * stdio-common/vfscanf.c: Likewise.
18571 * stdlib/strfmon_l.c: Likewise.
18572 * sunrpc/openchild.c: Likewise.
18573 * sunrpc/xdr_stdio.c: Likewise.
18574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18575 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18577 2012-05-24 Roland McGrath <roland@hack.frob.com>
18579 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18581 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18582 in the third column, to generate for the shared library an IFUNC
18583 that uses _dl_vdso_vsym.
18584 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18585 * Makeconfig (object-suffixes-noshared): New variable.
18587 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18588 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18589 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18590 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18593 * include/sys/time.h (__gettimeofday): Remove macro.
18594 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18595 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18597 (__gettimeofday): Add libc_hidden_def.
18598 (gettimeofday): Add libc_hidden_weak.
18599 * sysdeps/mach/gettimeofday.c: Likewise.
18600 * sysdeps/posix/gettimeofday.c: Likewise.
18601 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18602 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18604 (__gettimeofday_internal): Remove strong_alias.
18605 (__gettimeofday): Add libc_hidden_def.
18606 (gettimeofday): Add libc_hidden_weak.
18607 * sysdeps/unix/syscalls.list (gettimeofday):
18608 Remove __gettimeofday_internal alias.
18610 2012-05-24 Daniel Jacobowitz <drow@false.org>
18611 H.J. Lu <hongjiu.lu@intel.com>
18614 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18615 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18616 (largebin_index_32_big): New.
18617 (largebin_index): Use it for 16-byte alignment.
18618 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18619 correction with front_misalign.
18621 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18649 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18650 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18652 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18656 * math/libm-test.inc (exp_test): Add test from bug 14036.
18657 (pow_test): Add test from bug 10846.
18659 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18661 (special_function): Do not include flags in test name.
18662 (parse_args): Likewise.
18663 * sysdeps/i386/fpu/libm-test-ulps: Update.
18664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18665 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18666 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18669 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18671 * math/libm-test.inc ("Philosophy"): Update comment about
18673 (UNDERFLOW_EXCEPTION): New macro.
18674 (UNDERFLOW_EXCEPTION_OK): Likewise.
18675 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18676 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18677 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18678 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18679 (INVALID_EXCEPTION_OK): Update value.
18680 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18681 (OVERFLOW_EXCEPTION_OK): Likewise.
18682 (IGNORE_ZERO_INF_SIGN): Likewise.
18683 (test_exceptions): Handle underflow exceptions.
18684 (acos_test): Update for underflow exception expectations.
18685 (cexp_test): Likewise.
18686 (clog_test): Likewise.
18687 (clog10_test): Likewise.
18688 (csqrt_test): Likewise.
18689 (ctan_test): Likewise.
18690 (ctanh_test): Likewise.
18691 (exp_test): Likewise.
18692 (exp10_test): Likewise.
18693 (exp2_test): Likewise.
18694 (expm1_test): Likewise.
18695 (fma_test): Likewise.
18696 (j0_test): Likewise.
18697 (jn_test): Likewise.
18698 (nexttoward_test): Likewise.
18699 (pow_test): Likewise.
18700 (scalbn_test): Likewise.
18701 (scalbln_test): Likewise.
18702 (tan_test): Likewise.
18703 (y1_test): Likewise.
18704 * sysdeps/i386/fpu/libm-test-ulps: Update.
18705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18707 2012-05-23 David S. Miller <davem@davemloft.net>
18709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18710 (__libc_sigaction): Remove unused local variables.
18712 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18714 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18716 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18718 mktime: avoid signed integer overflow
18719 * time/mktime.c (__mktime_internal): Do not mishandle the case
18720 where diff == INT_MIN.
18722 mktime: simplify computation of average
18723 * time/mktime.c (ranged_convert): Use new time_t_avg function
18724 instead of rolling our own (probably-slower) code.
18726 mktime: do not assume signed right shift propagates sign bit
18727 * time/mktime.c (isdst_differ): New static function.
18728 (__mktime_internal): No need to normalize tm_isdst now.
18729 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18732 mktime: merge another wrapv change from gnulib
18733 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18734 from some compilers.
18736 mktime: remove incorrect attempt at unusual arithmetics
18737 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18738 The code didn't really work on such machines anyway.
18739 (TYPE_MINIMUM): Assume two's complement.
18740 (twos_complement_arithmetic): Verify that long_int and time_t
18741 are two's complement (or unsigned, in the latter case).
18743 mktime: check signed shifts on long_int and time_t, too
18744 * time/mktime.c (SHR): Check that shifts work as desired
18745 on the types long_int and time_t too, as SHR is used on
18748 mktime: do not assume 'long' is wide enough
18749 * time/mktime.c (verify): Move decl up.
18750 (long_int): New type.
18751 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18752 to remove assumption in the code that 'long' is wide enough to
18753 store year values. This assumption is not true on x32 and on
18754 some non-glibc platforms.
18756 mktime: merge wrapv change from gnulib
18757 * time/mktime.c (WRAPV): New macro.
18758 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18759 (guess_time_tm, __mktime_internal): Do not assume that signed
18760 integer overflow wraps around; modern compilers generate code
18761 where this assumption is no longer valid.
18763 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18765 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18766 Replace "jmp L(pseudo_end)" with "ret".
18767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18770 2012-05-23 Andreas Jaeger <aj@suse.de>
18772 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18773 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18775 2012-05-23 Andreas Jaeger <aj@suse.de>
18776 Maximilian Attems <max@stro.at>
18778 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18781 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18784 code so that pseudo_end is just ret and the stack pointer is
18785 correct also for static library in error case.
18787 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18789 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18790 move to syscalls.list.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18796 * manual/install.texi (Running make install): Do not mention Linux
18797 kernel version for which pt_chown is not needed.
18798 (Linux): Do not mention problems with nscd with 2.0 kernels.
18799 * INSTALL: Regenerated.
18801 2012-05-23 Andreas Jaeger <aj@suse.de>
18803 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18804 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18806 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18807 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18808 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18810 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18815 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18816 * sysdeps/unix/sysv/linux/bits/in.h
18817 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18819 2012-05-22 Roland McGrath <roland@hack.frob.com>
18821 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18822 (PREPARE_VERSION): Just use assert instead, it will be elided
18823 under [NDEBUG] anyway.
18825 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18827 * sysdeps/unix/sysv/linux/Makefile: Include
18828 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18829 (sysdep_routines): Remove sysctl.
18830 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18831 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18832 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18833 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18834 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18836 2012-05-22 Andreas Jaeger <aj@suse.de>
18838 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18839 that pseudo_end is just ret and the stack pointer is correct also
18840 for static library in error case.
18842 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18845 * nss/nsswitch.c (defconfig_entries): New variable.
18846 (__nss_database_lookup): Don't leak defconfig entries.
18847 (nss_parse_service_list): Don't leak on error paths.
18848 (free_database_entries): New function.
18849 (free_defconfig): New function.
18850 (free_mem): Move common code to free_database_entries.
18852 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18854 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18856 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18858 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18859 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18862 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18863 (INTERNAL_SYSCALL_TYPES): Likewise.
18864 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18865 (LOAD_REGS_TYPES_[1-6]): Likewise.
18866 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18867 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18869 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18871 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18872 copysignl for GLIBC_2_0.
18873 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18874 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18876 logbl for GLIBC_2_0.
18877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18878 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18880 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18883 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18885 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18888 * time/mktime.c: Update copyright years.
18890 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18892 mktime: merge comment-quoting-style change from gnulib
18893 * time/mktime.c: Quote 'like this' in comments.
18894 The GNU coding standards suggest that we no longer quote `like this',
18895 as "`" and "'" are typically rendered asymmetrically nowadays.
18896 The typical gnulib style is to quote 'like this' when quoting
18897 code, and "like this" when quoting English.
18899 * time/mktime.c (compile-command): Add "-I.".
18901 mktime: merge mktime-internal.h change from gnulib
18902 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18904 mktime: merge time_r change from gnulib
18905 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18907 mktime: merge DEBUG change from gnulib
18908 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18909 case system <time.h> has a #define.
18911 mktime: merge <sys/types.h> change from gnulib
18912 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18913 since <time.t> is now guaranteed to define time_t.
18915 mktime: merge HAVE_CONFIG_H change from gnulib
18916 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18918 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18923 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18925 (struct rusage): Use anonymous union to pad each field to
18928 2012-05-21 David S. Miller <davem@davemloft.net>
18930 * Makefules (o-iterator): Remove .s cases.
18931 (compile-command.s): Delete.
18932 (COMPILE.s): Delete.
18933 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18935 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18937 * configure.in (libc_cv_predef_stack_protector): Only consider
18938 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18939 * configure: Regenerated.
18941 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18944 New macro. Use R*LP on int and pointer.
18945 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18946 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18947 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18948 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18950 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18951 [__WORDSIZE_TIME64_COMPAT32] instead of
18952 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18953 (struct utmp): Likewise.
18954 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18955 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18957 (__WORDSIZE_TIME64_COMPAT32): This.
18958 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18959 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18960 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18961 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18962 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18963 (__WORDSIZE_TIME64_COMPAT32): New macro.
18965 2012-05-21 Andreas Jaeger <aj@suse.de>
18967 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18968 only if [SHARED]. Add prototype for __wcschr_ia32.
18970 2012-05-21 Roland McGrath <roland@hack.frob.com>
18972 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18973 of %rbp unmolested in the jmp_buf while mangling the low bits.
18974 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18975 unmolested high bits of %rbp while demangling the low bits.
18976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18978 2012-05-21 Andreas Jaeger <aj@suse.de>
18980 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18981 * sunrpc/svc_simple.c: Use it for registerrpc.
18982 * sunrpc/xcrypt.c: Use it for passwd2des.
18984 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18986 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18988 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18989 Don't define if [__SYSCALL_WORDSIZE != 32].
18990 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18993 2012-05-21 Bruno Haible <bruno@clisp.org>
18994 Andreas Jaeger <aj@suse.de>
18996 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18997 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18998 inptr and inend for must_buffer_ch.
18999 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19000 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19001 * stdio-common/Makefile (tests): Remove bug15.
19002 (bug15-ENV): Remove macro.
19003 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19006 2012-05-19 Andreas Jaeger <aj@suse.de>
19007 Roland McGrath <roland@hack.frob.com>
19009 * manual/contrib.texi: Completely rewritten. It contains now an
19010 alphabetical list of contributors and their contributions.
19012 2012-05-21 Richard Henderson <rth@twiddle.net>
19014 * misc/getauxval.c (__getauxval): Use unsigned long int.
19015 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19016 (getauxval): Use unsigned long int.
19018 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19020 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19022 2012-05-21 Roland McGrath <roland@hack.frob.com>
19024 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19025 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19026 __alignof__ (long double).
19028 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19032 2012-05-20 Richard Henderson <rth@twiddle.net>
19034 * misc/getauxval.c: New file.
19035 * misc/sys/auxv.h: New file.
19036 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19037 (routines): Add getauxval.
19038 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19039 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19040 * elf/dl-sysdep.c (_dl_auxv): Remove.
19041 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19042 * elf/dl-support.c (_dl_auxv): New variable.
19043 (_dl_aux_init): Initialize it.
19044 * manual/startup.texi (Auxiliary Vector): New node.
19045 * sysdeps/generic/bits/hwcap.h: New file.
19046 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19047 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19048 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19049 * sysdeps/sparc/sysdep.h: ... here. Include it.
19050 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19063 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19067 2012-05-19 David S. Miller <davem@davemloft.net>
19069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19071 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19074 * math/s_ccosh.c: Include <float.h>
19075 (__ccosh): Avoid internal overflow calculating sinh and cosh
19076 values before multiplying by sin and cos values.
19077 * math/s_ccoshf.c: Likewise.
19078 * math/s_ccoshl.c: Likewise.
19079 * math/s_csin.c: Likewise.
19080 * math/s_csinf.c: Likewise.
19081 * math/s_csinl.c: Likewise.
19082 * math/s_csinh.c: Likewise.
19083 * math/s_csinhf.c: Likewise.
19084 * math/s_csinhl.c: Likewise.
19085 * math/libm-test.inc (ccos_test): Add more tests.
19086 (ccosh_test): Likewise.
19087 (csin_test): Likewise.
19088 (csinh_test): Likewise.
19089 * sysdeps/i386/fpu/libm-test-ulps: Update.
19090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19092 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19094 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19095 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19097 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19099 2012-05-19 Joseph Myers <joseph@codesourcery.com>
19101 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19102 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19103 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19104 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19105 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19106 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19107 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19108 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19109 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19110 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19111 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19112 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19113 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19114 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19115 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19116 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19117 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19118 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19119 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19120 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19121 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19122 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19123 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19124 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19125 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19126 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19127 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19128 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19129 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19130 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19131 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19133 2012-05-18 Andreas Jaeger <aj@suse.de>
19135 * csu/.gitignore: Delete.
19137 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19139 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19140 (timex): Use __syscall_slong_t.
19142 2012-05-18 Andreas Jaeger <aj@suse.de>
19143 Carlos O'Donell <carlos_odonell@mentor.com>
19145 * manual/install.texi (Configuring and compiling): Update
19146 description about files modified in the source directory.
19147 * INSTALL: Regenerated.
19149 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19151 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19152 value. Use "or" to set return value to -1.
19153 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19154 negate return value.
19156 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19158 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19159 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19160 failure if the compiler has Graphite support disabled.
19161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19163 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19164 CFLAGS-memmove.c): Likewise.
19165 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19168 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19170 * sysdeps/x86_64/x32/_itoa.h: New file.
19172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19173 getdents system call only if kernel and user dirents have the
19174 same d_ino and d_off.
19176 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19177 LLONG_MAX != LONG_MAX.
19178 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19179 (_fitoa_word): Likewise.
19181 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19183 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19184 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19187 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19188 include <bits/wordsize.h>. Check __x86_64__ instead of
19190 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19191 if __x86_64__ is defined. Use anonymous union on fpstate.
19193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19196 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19198 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19199 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19201 Refer to _rtld_local_ro instead of _rtld_global_ro.
19202 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19204 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19206 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19208 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19209 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19210 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19212 * sysdeps/powerpc/powerpc32/dl-machine.c
19213 (__elf_machine_runtime_setup) [PROF]: Don't reference
19216 2012-05-18 Andreas Jaeger <aj@suse.de>
19218 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19219 function only available for GCCs before 3.4 since GCC 3.4
19220 introduced a builtin.
19222 (llrintf): Likewise.
19223 (llrint): Likewise.
19230 (nearbyint): Likewise.
19231 (nearbyintf): Likewise.
19235 (floorf): Likewise.
19237 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19239 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19240 on both fields and cast pointer to __syscall_ulong_t.
19242 * bits/types.h (__fsword_t): New type.
19243 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19244 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19246 (__FSWORD_T_TYPE): Likewise.
19247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19248 (__FSWORD_T_TYPE): Likewise.
19249 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19250 (__FSWORD_T_TYPE): Likewise.
19251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19252 (__FSWORD_T_TYPE): Likewise.
19253 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19254 __SWORD_TYPE with __fsword_t.
19255 (statfs64): Likewise.
19257 2012-05-17 David S. Miller <davem@davemloft.net>
19259 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19261 2012-05-17 Andreas Jaeger <aj@suse.de>
19263 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19266 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19268 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19270 2012-05-17 Andreas Jaeger <aj@suse.de>
19272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19275 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19277 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19279 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19281 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19282 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19284 2012-05-17 Andreas Jaeger <aj@suse.de>
19285 Carlos O'Donell <carlos_odonell@mentor.com>
19288 * sysdeps/x86_64/multiarch/init-arch.h
19289 (bit_YMM_Usable): Rename to...
19290 (bit_AVX_Usable): ... this.
19291 (bit_FMA4_Usable): New macro.
19292 (bit_XMM_state): New macro.
19293 (bit_YMM_state): New macro.
19294 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19295 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19296 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19297 (CPUID_OSXSAVE): New macro.
19298 (CPUID_AVX): New macro.
19299 (CPUID_FMA4): New macro.
19300 (index_YMM_Usable): Rename to...
19301 (index_AVX_Usable): ... this.
19302 (HAS_AVX): Use HAS_ARCH_FEATURE.
19303 (HAS_FMA4): Likewise.
19304 (HAS_YMM_USABLE): Remove.
19305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19306 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19308 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19309 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19310 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19311 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19312 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19314 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19316 * math/libm-test.c: Support platforms without multiple rounding modes.
19317 * math/bug-nextafter.c: Support platforms without FP exceptions.
19318 * math/bug-nexttoward.c: Likewise.
19319 * math/test-fenv.c: Likewise.
19320 * math/test-misc.c: Likewise.
19321 * stdlib/bug-getcontext.c: Likewise.
19323 2012-05-17 Andreas Jaeger <aj@suse.de>
19325 * manual/examples/search.c (critter_cmp): Change signature to
19327 * manual/string.texi (Collation Functions): Likewise.
19329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19331 * bits/types.h: Fold copyright years.
19332 * bits/typesizes.h: Likewise.
19333 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19337 * time/time.h: Likewise.
19339 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19342 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19343 in instead of returning them. Return void.
19344 (__libc_mallinfo): Accumulate over all arenas.
19345 (__malloc_stats): Adjust for change in int_mallinfo interface.
19347 2012-05-16 Roland McGrath <roland@hack.frob.com>
19350 * configure.in (NM): Add AC_CHECK_TOOL for it.
19351 (libc_extra_cflags): New substituted variable.
19352 Check for -fstack-protector being used implicitly.
19353 * configure: Regenerated.
19354 * config.make.in (config-extra-cflags): New variable,
19355 gets @libc_extra_cflags@.
19356 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19359 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19360 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19361 * configure: Regenerated.
19362 * config.make.in (CPPUNDEFS): New substituted variable.
19363 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19364 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19365 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19369 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19370 (mq_attr): Use __syscall_slong_t.
19372 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19374 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19375 Check __x86_64__ instead of __WORDSIZE.
19376 (_STAT_VER_LINUX): Likewise.
19377 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19378 __syscall_ulong_t and __syscall_slong_t.
19379 (stat64): Likewise.
19381 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19385 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19387 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19389 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19391 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19395 include <bits/wordsize.h>. Check __x86_64__ instead of
19397 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19399 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19401 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19402 include <bits/wordsize.h>. Check __x86_64__ instead of
19404 (user_regs_struct): Use "__extension__ unsigned long long"
19405 instead of "unsigned long" if __x86_64__ is defined.
19406 (user): Likewise. Pad after pointer field if __ILP32__ is
19409 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19411 * configure.in (makeinfo): Require version 4.5 or later. Allow
19413 * configure: Regenerated.
19414 * manual/install.texi (texinfo): Increase version requirement to
19416 * INSTALL: Regenerated.
19418 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19420 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19422 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19424 * sysdeps/x86_64/x32/ffs.c: New file.
19426 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19428 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19429 defined. Use __syscall_ulong_t.
19430 (shminfo): Use __syscall_ulong_t.
19431 (shm_info): Likewise.
19433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19436 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19438 (msgqnum_t): Use __syscall_ulong_t.
19439 (msglen_t): Likewise.
19440 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19443 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19446 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19448 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19449 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19451 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19454 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19455 include <bits/wordsize.h>. Check __x86_64__ instead of
19458 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19459 "unsigned long long int" if __x86_64__ is defined.
19460 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19463 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19464 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19466 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19468 (GET_PC): Cast to uintptr_t first.
19469 (GET_FRAME): Likewise.
19470 (GET_STACK): Likewise.
19472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19478 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19479 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19480 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19481 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19482 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19484 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19486 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19487 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19488 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19490 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19498 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19500 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19502 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19504 * Makerules (+depfiles): Also collect depfiles from .oS in
19506 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19507 .oS, $(libnldbl-routines)).
19509 * Makerules (native-compile-mkdep-flags): Define.
19510 * sunrpc/Makefile (extra-objs): Add $(addprefix
19511 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19512 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19513 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19514 calling $(make-target-directory).
19516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19518 * bits/types.h (__snseconds_t): Removed.
19519 * time/time.h (struct timespec): Replace __snseconds_t with
19521 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19522 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19525 (__SNSECONDS_T_TYPE): Likewise.
19526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19527 (__SNSECONDS_T_TYPE): Likewise.
19528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19529 (__SNSECONDS_T_TYPE): Likewise.
19531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19533 * sysdeps/mach/hurd/bits/typesizes.h
19534 (__SYSCALL_SLONG_TYPE): New macro.
19535 (__SYSCALL_ULONG_TYPE): Likewise.
19537 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19539 * bits/types.h (__syscall_slong_t): New type.
19540 (__syscall_ulong_t): Likewise.
19542 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19543 (__SYSCALL_ULONG_TYPE): Likewise.
19544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19545 (__SYSCALL_SLONG_TYPE): Likewise.
19546 (__SYSCALL_ULONG_TYPE): Likewise.
19547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19548 (__SYSCALL_SLONG_TYPE): Likewise.
19549 (__SYSCALL_ULONG_TYPE): Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19551 (__SYSCALL_SLONG_TYPE): Likewise.
19552 (__SYSCALL_ULONG_TYPE): Likewise.
19554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19556 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19557 Add sigaltstack-offsets.sym.
19558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19559 <sigaltstack-offsets.h>.
19560 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19561 longjmp_msg pointer.
19562 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19563 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19565 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19567 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19569 * elf/stackguard-macros.h: Remove file.
19570 * sysdeps/generic/stackguard-macros.h: New file.
19571 * sysdeps/i386/stackguard-macros.h: Likewise.
19572 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19573 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19574 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19575 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19576 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19577 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19578 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19579 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19580 <elf/stackguard-macros.h>.
19583 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19584 __aligned__ in attribute.
19585 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19586 (gregset_t): Likewise.
19588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19590 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19591 * sysdeps/x86_64/64/Implies-after: Here. New file.
19592 * sysdeps/x86_64/x32/Implies-after: New file.
19594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19596 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19597 and access return value for _dl_profile_fixup. Use R10_LP to
19600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19602 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19606 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19607 * sysdeps/x86_64/x32/sysdep.h: New file.
19609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19611 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19612 * sysdeps/x86_64/setjmp.S: Likewise.
19614 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19618 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19619 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19620 remove unused global constant.
19622 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19624 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19625 include of <not-cancel.h>.
19627 2012-05-15 Roland McGrath <roland@hack.frob.com>
19629 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19631 2012-05-15 Jeff Law <law@redhat.com>
19632 Andreas Jaeger <aj@suse.de>
19635 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19637 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19638 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19640 code changing __hst_map_handle.map.
19642 2012-05-15 Roland McGrath <roland@hack.frob.com>
19644 * configure.in (sysnames): Look for Implies-before and Implies-after
19646 * configure: Regenerated.
19648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19650 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19651 8-byte data alignment with LP_SIZE alignment.
19653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19660 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19664 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19665 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19672 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19673 (stackinfo_sub_sp): Likewise.
19675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19687 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19692 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19696 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19697 into R11_LP and load __x86_64_shared_cache_size_half into
19700 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19705 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19714 powerpc32/power7/fpu/s_logb.c via #include.
19715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19716 powerpc32/power7/fpu/s_logbf.c via #include.
19717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19718 powerpc32/power7/fpu/s_logbl.c via #include.
19720 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19722 * README.libm: Remove file.
19724 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19726 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19727 count for x32. Use R*_LP and omit operand-size suffix.
19729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19731 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19732 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19733 * sysdeps/x86_64/x32/shlib-versions: New file.
19735 2012-05-14 Roland McGrath <roland@hack.frob.com>
19737 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19738 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19739 Use _dl_fatal_printf instead.
19741 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19743 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19744 set if not set by the user. Do not allow for being unset.
19745 * sysdeps/unix/sysv/linux/configure: Regenerated.
19747 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19749 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19750 the `q' suffix from lea and replace .quad with ASM_ADDR.
19752 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19755 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19757 (PTR_DEMANGLE): Likewise.
19759 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19761 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19763 (ASM_ADDR): Likewise.
19764 (RAX_LP): Likewise.
19765 (RBP_LP): Likewise.
19766 (RBX_LP): Likewise.
19767 (RCX_LP): Likewise.
19768 (RDI_LP): Likewise.
19769 (RSI_LP): Likewise.
19770 (RSP_LP): Likewise.
19773 (R10_LP): Likewise.
19774 (R10_LP): Likewise.
19775 (R11_LP): Likewise.
19776 (R12_LP): Likewise.
19777 (R13_LP): Likewise.
19778 (R14_LP): Likewise.
19779 (R15_LP): Likewise.
19781 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19783 * sysdeps/x86_64/x32/dl-machine.h: New file.
19785 2012-05-14 Andreas Jaeger <aj@suse.de>
19787 * manual/Makefile (subdir): Remove export of subdir.
19788 (all): Remove target.
19789 (.PHONY): Remove all from list.
19790 (mkinstalldirs): Remove.
19791 (.PHONY): Remove installdirs from list.
19792 ($(inst_infodir)/libc.info): Use make-target-directory.
19793 (installdirs): Remove.
19794 (subdir_%): Remove.
19795 (glibc-targets): Remove.
19798 ($(objpfx)stubs ../po/manual.pot): Remove.
19799 ($(objpfx)stamp%): Remove.
19800 (make-target-directory): Remove.
19801 (subdir_install): Remove.
19802 (routines): Remove.
19809 * manual/.gitignore: Remove, it's not needed anymore.
19810 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19812 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19814 (texis): Renamed to $(objpfx)texis.
19815 (texis-path): New, contains path to generated files.
19816 (chapters.%): Use texis-path for complete path, add extra argument
19818 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19819 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19820 (summary,texi, stamp-summary): Use complete path of
19821 files. Generate files in build dir.
19822 (dir-add.texi): Build in build dir.
19823 (libm-err.texi,stamp-libm-err): Likewise.
19824 (version.texi, stamp-version): Likewise.
19825 (.%c.texi): Likewise.
19826 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19827 (mostlyclean): Remove target.
19828 (realclean): Remove target.
19829 (generated): Add new variable with contents from mostlyclean and
19830 realclean, remove entries duplicated in common-mostlyclean, add
19831 stamp-libm-err and stamp-version.
19832 (generated-dirs): Add libc directory.
19833 ($(inst_infodir)/libc.info): Install files from build dir.
19835 * manual/install.texi (Configuring and compiling): Adjust since
19836 the info files are not part of the tar ball anymore.
19838 2012-05-14 Andreas Jaeger <aj@suse.de>
19840 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19843 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19847 to 2.2.0 where earlier.
19848 * sysdeps/unix/sysv/linux/configure: Regenerated.
19849 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19850 Remove conditional code.
19851 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19852 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19853 Remove conditional code.
19854 [!__NR_lchown]: Likewise.
19855 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19856 [__NR_lchown]: Likewise.
19857 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19858 comment referencing __ASSUME_LCHOWN_SYSCALL.
19859 * sysdeps/unix/sysv/linux/i386/sigaction.c
19860 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19861 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19862 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19863 Remove conditional code.
19864 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19865 (__protocol_available): Remove #if 0 code.
19866 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19868 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19869 * sysdeps/unix/sysv/linux/kernel-features.h
19870 (__ASSUME_GETCWD_SYSCALL): Don't define.
19871 (__ASSUME_REALTIME_SIGNALS): Likewise.
19872 (__ASSUME_PREAD_SYSCALL): Likewise.
19873 (__ASSUME_PWRITE_SYSCALL): Likewise.
19874 (__ASSUME_POLL_SYSCALL): Likewise.
19875 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19876 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19878 (__ASSUME_SIOCGIFNAME): Don't define.
19879 (__ASSUME_MSG_NOSIGNAL): Likewise.
19880 (__ASSUME_SENDFILE): Define unconditionally.
19881 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19882 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19884 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19885 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19886 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19887 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19888 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19889 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19890 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19895 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19901 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19904 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19907 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19910 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19915 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19916 Remove conditional code.
19917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19918 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19919 Remove conditional code.
19920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19921 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19922 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19923 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19924 Remove conditional code.
19925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19926 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19927 Remove conditional code.
19928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19929 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19930 Remove conditional code.
19931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19932 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19933 Remove conditional code.
19934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19935 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19936 Remove conditional code.
19937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19938 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19941 * sysdeps/unix/sysv/linux/sigaction.c
19942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19944 * sysdeps/unix/sysv/linux/sigpending.c
19945 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19946 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19947 * sysdeps/unix/sysv/linux/sigprocmask.c
19948 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19949 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19950 * sysdeps/unix/sysv/linux/sigsuspend.c
19951 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19952 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19953 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19954 (__libc_missing_rt_sigs): Remove.
19955 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19956 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19957 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19958 Remove conditional code.
19959 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19960 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19962 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19963 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19964 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19965 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19967 2012-05-14 Andreas Jaeger <aj@suse.de>
19969 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19970 it's not used in glibc.
19971 (__coshm1): Likewise.
19972 (__acosh1p): Likewise.
19975 * manual/string.texi (Copying and Concatenation): Add missing
19976 variable in concat example.
19977 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19979 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19983 __builtin_clzl with __builtin_clzll.
19985 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19988 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19991 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19993 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19994 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19995 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19996 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19998 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20000 * NEWS: Update ia64 info.
20002 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20004 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20007 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20009 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20010 * sysdeps/unix/syscalls.list (dup3): Likewise.
20011 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20012 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20014 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20016 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20017 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20019 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20021 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20023 (TLS_IE): Use mov/add instead of movq/addq to load thread
20025 (TLS_GD_PREFIX): New.
20028 2012-05-11 David S. Miller <davem@davemloft.net>
20030 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20031 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20032 (_FPU_SETCW): Likewise.
20034 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20036 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20037 is 32-byte aligned.
20039 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20042 * iconvdata/gb18030.c: Update tables.
20043 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20044 characters specially.
20045 (BODY for TO_LOOP): Add encoding of missing ranges.
20047 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20050 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20051 * sysdeps/mach/hurd/dup3.c: Likewise.
20052 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20053 * sysdeps/powerpc/memmove.c:: Likewise.
20055 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20058 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20060 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20062 * elf/elf.h (R_X86_64_RELATIVE64): New.
20063 (R_X86_64_NUM): Updated.
20064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20065 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20066 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20067 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20068 tst-quad1pie tst-quad2pie
20069 (modules-names): Add tst-quadmod1 tst-quadmod2.
20070 ($(objpfx)tst-quad1): New dependency.
20071 ($(objpfx)tst-quad2): Likewise.
20072 ($(objpfx)tst-quad1pie): Likewise.
20073 ($(objpfx)tst-quad2pie): Likewise.
20074 * sysdeps/x86_64/tst-quad1.c: New file.
20075 * sysdeps/x86_64/tst-quad1pie.c: New file.
20076 * sysdeps/x86_64/tst-quad2.c: Likewise.
20077 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20078 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20079 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20080 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20081 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20085 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20086 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20087 * streams/stropts.h (t_scalar_t): Define type.
20089 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20090 (_PATH_PRESERVE): Set to "/var/lib".
20091 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20093 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20096 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20097 if __dir_mkfile succeeded.
20099 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20100 checking for _hurd_dtablesize. Unlock it right after having
20101 finished _hurd_dtable allocation.
20103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20105 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20106 * sysdeps/mach/hurd/configure: Regenerated.
20107 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20108 special-casing to...
20109 * sysdeps/gnu/configure.in: ... this new file.
20110 * sysdeps/unix/sysv/linux/configure: Regenerated.
20111 * sysdeps/gnu/configure: New generated file.
20113 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20114 for Linux: use nsec instead of usec, as well as:
20115 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20116 members of type struct timespec.
20117 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20119 (struct stat64): Likewise.
20120 (_STATBUF_ST_NSEC): New macro.
20121 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20123 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20124 __strtoul_internal rather than strtoul.
20126 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20128 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20133 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20134 which preserves existing values.
20135 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20137 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20139 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20140 TIMEOUT values. Return EINVAL for NFDS values either negative or
20141 greater than FD_SETSIZE.
20143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20145 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20146 allocated, call __vm_protect to finish enabling the existing space, and
20147 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20148 allocate the remainder.
20150 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20152 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20153 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20157 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20158 sysdeps/mach/hurd/readlink.c.
20160 * posix/tst-sysconf.c (posix_options): Only use
20161 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20162 _POSIX_SYNCHRONIZED_IO when they are defined
20163 * sysdeps/mach/hurd/bits/posix_opt.h:
20164 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20165 (_XOPEN_REALTIME): Undefine macro.
20166 (_XOPEN_REALTIME_THREADS): Undefine macro.
20167 (_XOPEN_SHM): Undefine macro.
20168 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20170 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20172 (_POSIX_ASYNC_IO): Undefine macro.
20173 (_POSIX_PRIORITIZED_IO): Undefine macro.
20174 (_POSIX_SPIN_LOCKS): Define macro to -1.
20176 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20177 SA_NODEFER, SA_RESETHAND.
20178 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20179 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20184 * elf/Makefile (pldd-modules): Define unconditionally.
20186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20188 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20190 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20192 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20193 Return ENOENT when name is empty.
20194 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20196 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20198 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20200 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20204 Fix mlock in all cases except non-readable pages.
20205 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20206 instead of VM_PROT_ALL as parameter to __vm_wire function.
20208 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20209 (__mkdir): When path is `/', just fail with EEXIST.
20210 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20212 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20214 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20215 <sys/uio.h> (for writev).
20216 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20217 and <sys/param.h> (for MIN).
20219 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20221 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20222 REQUESTED_TIME. Properly set the remaining time and return EINTR
20225 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20227 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20228 Depend on against $(link-rpcuserlibs).
20230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20232 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20233 (__libc_stack_end): Do not use attribute_relro.
20234 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20235 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20236 to libthread-provided value.
20237 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20243 * bits/libc-lock.h (__libc_once_get): New macro.
20244 * sysdeps/mach/bits/libc-lock.h: Likewise.
20245 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20247 instead of using implementation details.
20249 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20250 * libio/freopen.c: Likewise.
20251 * libio/freopen64.c: Likewise.
20252 * misc/syslog.c: Likewise.
20253 * nscd/connections.c: Likewise.
20254 * nscd/netgroupcache.c: Likewise.
20255 * sysdeps/posix/getcwd.c: Likewise.
20257 2012-05-10 Roland McGrath <roland@hack.frob.com>
20259 * math/w_ilogbf.c: Add #include <limits.h>.
20261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20263 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20264 path instead of returning without unlocking.
20266 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20267 immediate-write ioctls.
20268 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20270 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20272 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20273 __builtin_frame_address instead of making assumptions about the
20274 location of the return address relative to DATA. Force early load of
20275 the return address.
20276 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20277 __builtin_frame_address.
20280 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20281 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20282 implement dup3 and do some further code clean-ups.
20283 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20284 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20286 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20288 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20290 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20291 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20292 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20293 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20294 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20297 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20298 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20299 when handler == SIG_ERR, not when handler != SIG_ERR.
20301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20303 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20304 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20307 accept4 for GNU Hurd.
20308 * include/sys/socket.h (__libc_accept4): New prototype.
20309 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20310 to implement __libc_accept4.
20311 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20313 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20315 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20316 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20317 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20318 signal-defines.sym.
20320 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20322 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20324 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20326 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20327 assertion on O_CLOEXEC flag.
20328 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20329 * hurd/intern-fd.c: Likewise.
20330 * hurd/port2fd.c: Likewise.
20332 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20335 * bits/in.h (IPV6_PKTINFO): Define new macro.
20336 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20338 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20343 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20344 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20345 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20346 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20348 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20349 * math/libm-test.inc (logb_test) : Additional logb tests.
20351 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20352 Andreas Jaeger <aj@suse.de>
20354 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20355 * configure: Regenerated.
20356 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20357 * config.make.in (link-obsolete-rpc): New substituted variable.
20358 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20359 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20360 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20361 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20362 so that libc.a contains the symbols.
20363 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20364 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20365 * sunrpc/auth_none.c: Likewise.
20366 * sunrpc/auth_unix.c: Likewise.
20367 * sunrpc/authdes_prot.c: Likewise.
20368 * sunrpc/authuxprot.c: Likewise.
20369 * sunrpc/clnt_gen.c: Likewise.
20370 * sunrpc/clnt_perr.c: Likewise.
20371 * sunrpc/clnt_raw.c: Likewise.
20372 * sunrpc/clnt_simp.c: Likewise.
20373 * sunrpc/clnt_tcp.c: Likewise.
20374 * sunrpc/clnt_udp.c: Likewise.
20375 * sunrpc/clnt_unix.c: Likewise.
20376 * sunrpc/des_crypt.c: Likewise.
20377 * sunrpc/des_soft.c: Likewise.
20378 * sunrpc/get_myaddr.c: Likewise.
20379 * sunrpc/key_call.c: Likewise.
20380 * sunrpc/key_prot.c: Likewise.
20381 * sunrpc/netname.c: Likewise.
20382 * sunrpc/pm_getmaps.c: Likewise.
20383 * sunrpc/pm_getport.c: Likewise.
20384 * sunrpc/pmap_clnt.c: Likewise.
20385 * sunrpc/pmap_prot.c: Likewise.
20386 * sunrpc/pmap_prot2.c: Likewise.
20387 * sunrpc/pmap_rmt.c: Likewise.
20388 * sunrpc/publickey.c: Likewise.
20389 * sunrpc/rpc_cmsg.c: Likewise.
20390 * sunrpc/rpc_common.c: Likewise.
20391 * sunrpc/rpc_dtable.c: Likewise.
20392 * sunrpc/rpc_prot.c: Likewise.
20393 * sunrpc/rpc_thread.c: Likewise.
20394 * sunrpc/rtime.c: Likewise.
20395 * sunrpc/svc.c: Likewise.
20396 * sunrpc/svc_auth.c: Likewise.
20397 * sunrpc/svc_raw.c: Likewise.
20398 * sunrpc/svc_run.c: Likewise.
20399 * sunrpc/svc_tcp.c: Likewise.
20400 * sunrpc/svc_udp.c: Likewise.
20401 * sunrpc/svc_unix.c: Likewise.
20402 * sunrpc/svcauth_des.c: Likewise.
20403 * sunrpc/xcrypt.c: Likewise.
20404 * sunrpc/xdr.c: Likewise.
20405 * sunrpc/xdr_array.c: Likewise.
20406 * sunrpc/xdr_float.c: Likewise.
20407 * sunrpc/xdr_intXX_t.c: Likewise.
20408 * sunrpc/xdr_mem.c: Likewise.
20409 * sunrpc/xdr_rec.c: Likewise.
20410 * sunrpc/xdr_ref.c: Likewise.
20411 * sunrpc/xdr_sizeof.c: Likewise.
20412 * sunrpc/xdr_stdio.c: Likewise.
20414 2012-05-10 Roland McGrath <roland@hack.frob.com>
20416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20417 change. Update copyright years.
20419 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20421 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20423 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20424 Joseph Myers <joseph@codesourcery.com>
20425 Paul Pluzhnikov <ppluzhnikov@google.com>
20428 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20430 [cross-compiling] (extra-libs): Likewise.
20431 [cross-compiling] (extra-libs-others): Likewise.
20432 [cross-compiling] (librpcsvc-routines): Likewise.
20433 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20434 [cross-compiling] (omit-deps): Likewise.
20435 (sunrpc-CPPFLAGS): New variable.
20436 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20437 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20438 (cross-rpcgen-objs): New variable.
20439 (extra-objs): Append $(cross-rpcgen-objs).
20440 ($(cross-rpcgen-objs)): New rule.
20441 ($(objpfx)cross-rpcgen): Likewise.
20442 (rpcgen-cmd): Define to use $(built-program-file). Expand
20444 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20445 ($(objpfx)x%.stmp): Likewise.
20446 * sunrpc/proto.h [IS_IN_build] (_): Define.
20447 [IS_IN_build] (_libc_intl_domainname): Likewise.
20449 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20452 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20453 and R_X86_64_TPOFF64.
20455 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20457 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20458 sysdeps/unix/sysv/syscalls.list.
20461 * sysdeps/unix/sysv/syscalls.list: Remove file.
20463 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20466 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20467 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20468 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20469 (__LC_IDENTIFICATION): Make these macros useful in #if
20470 expressions, as required by C99.
20472 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20474 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20475 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20478 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20480 * stdlib/longlong.h: Updated from GCC.
20482 2012-05-09 Andreas Jaeger <aj@suse.de>
20484 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20485 default is first entry.
20486 (run_mode): Set type.
20487 (main): Remove informal message about syslog.
20488 (options): Fix typo.
20491 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20494 (llrintf): Likewise.
20495 (llrint): Likewise.
20498 (nearbyint): Likewise.
20499 (nearbyintf): Likewise.
20501 2012-05-09 Andreas Jaeger <aj@suse.de>
20502 Pedro Alves <palves@redhat.com>
20504 * nscd/nscd.c (run_mode): Use enum.
20505 (main): Cleanup coding style issue.
20507 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20508 Andreas Jaeger <aj@suse.de>
20510 * nscd/nscd.c (go_background): Replaced with...
20511 (run_mode): ... this.
20512 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20513 (options): Add -F --foreground.
20514 (main): Implement it.
20515 (parse_opt): Parse it.
20517 2012-05-09 Andreas Jaeger <aj@suse.de>
20520 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20521 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20522 -Wconversion warning.
20523 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20526 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20528 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20530 (LC_ALL): Use macro-int-constant.
20531 (LC_COLLATE): Likewise.
20532 (LC_CTYPE): Likewise.
20533 (LC_MESSAGES): Likewise.
20534 (LC_MONETARY): Likewise.
20535 (LC_NUMERIC): Likewise.
20536 (LC_TIME): Likewise.
20537 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20538 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20540 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20542 [C99-based standards] (float_t): Expect type.
20543 [C99-based standards] (double_t): Expect type.
20544 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20546 [C99-based standards] (HUGE_VALL): Likewise.
20547 [C99-based standards] (INFINITY): Likewise.
20548 [C99-based standards] (NAN): Likewise.
20549 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20550 [C99-based standards] (FP_NAN): Likewise.
20551 [C99-based standards] (FP_NORMAL): Likewise.
20552 [C99-based standards] (FP_SUBNORMAL): Likewise.
20553 [C99-based standards] (FP_ZERO): Likewise.
20554 [C99-based standards] (FP_FAST_FMA): Use
20555 optional-macro-int-constant. Specify type. Require == 1.
20556 [C99-based standards] (FP_FAST_FMAF): Likewise.
20557 [C99-based standards] (FP_FAST_FMAL): Likewise.
20558 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20559 [C99-based standards] (FP_ILOGBNAN): Likewise.
20560 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20562 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20563 [C99-based standards] (math_errhandling): Specify type.
20564 [ISO99 || ISO11] (signgam): Do not allow.
20565 [non-C99-based standards] (copysignf): Do not allow.
20566 [non-C99-based standards] (exp2f): Likewise.
20567 [non-C99-based standards] (log2f): Likewise.
20568 [non-C99-based standards] (modff): Allow.
20569 [non-C99-based standards] (erff): Do not allow.
20570 [non-C99-based standards] (erfcf): Likewise.
20571 [non-C99-based standards] (gammaf): Likewise.
20572 [non-C99-based standards] (hypotf): Likewise.
20573 [non-C99-based standards] (j0f): Likewise.
20574 [non-C99-based standards] (j1f): Likewise.
20575 [non-C99-based standards] (jnf): Likewise.
20576 [non-C99-based standards] (lgammaf): Likewise.
20577 [non-C99-based standards] (tgammaf): Likewise.
20578 [non-C99-based standards] (y0f): Likewise.
20579 [non-C99-based standards] (y1f): Likewise.
20580 [non-C99-based standards] (ynf): Likewise.
20581 [non-C99-based standards] (isnanf): Likewise.
20582 [non-C99-based standards] (acoshf): Likewise.
20583 [non-C99-based standards] (asinhf): Likewise.
20584 [non-C99-based standards] (atanhf): Likewise.
20585 [non-C99-based standards] (cbrtf): Likewise.
20586 [non-C99-based standards] (expm1f): Likewise.
20587 [non-C99-based standards] (ilogbf): Likewise.
20588 [non-C99-based standards] (log1pf): Likewise.
20589 [non-C99-based standards] (logbf): Likewise.
20590 [non-C99-based standards] (nextafterf): Likewise.
20591 [non-C99-based standards] (remainderf): Likewise.
20592 [non-C99-based standards] (rintf): Likewise.
20593 [non-C99-based standards] (scalbf): Likewise.
20594 [non-C99-based standards] (copysignl): Likewise.
20595 [non-C99-based standards] (exp2l): Likewise.
20596 [non-C99-based standards] (log2l): Likewise.
20597 [non-C99-based standards] (modfl): Allow.
20598 [non-C99-based standards] (erfl): Do not allow.
20599 [non-C99-based standards] (erfcl): Likewise.
20600 [non-C99-based standards] (gammal): Likewise.
20601 [non-C99-based standards] (hypotl): Likewise.
20602 [non-C99-based standards] (j0l): Likewise.
20603 [non-C99-based standards] (j1l): Likewise.
20604 [non-C99-based standards] (jnl): Likewise.
20605 [non-C99-based standards] (lgammal): Likewise.
20606 [non-C99-based standards] (tgammal): Likewise.
20607 [non-C99-based standards] (y0l): Likewise.
20608 [non-C99-based standards] (y1l): Likewise.
20609 [non-C99-based standards] (ynl): Likewise.
20610 [non-C99-based standards] (isnanl): Likewise.
20611 [non-C99-based standards] (acoshl): Likewise.
20612 [non-C99-based standards] (asinhl): Likewise.
20613 [non-C99-based standards] (atanhl): Likewise.
20614 [non-C99-based standards] (cbrtl): Likewise.
20615 [non-C99-based standards] (expm1l): Likewise.
20616 [non-C99-based standards] (ilogbl): Likewise.
20617 [non-C99-based standards] (log1pl): Likewise.
20618 [non-C99-based standards] (logbl): Likewise.
20619 [non-C99-based standards] (nextafterl): Likewise.
20620 [non-C99-based standards] (remainderl): Likewise.
20621 [non-C99-based standards] (rintl): Likewise.
20622 [non-C99-based standards] (scalbl): Likewise.
20623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20624 [non-C99-based standards] (FP_*): Do not allow.
20625 [C99-based standards] (FP_*): Change to
20626 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20627 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20629 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20630 (SIG_ERR): Likewise.
20631 [X/Open-based standards] (SIG_HOLD): Likewise.
20632 (SIG_IGN): Likewise.
20633 (SIGABRT): Use macro-int-constant. Specify type. Require
20635 (SIGFPE): Likewise.
20636 (SIGILL): Likewise.
20637 (SIGINT): Likewise.
20638 (SIGSEGV): Likewise.
20639 (SIGTER): Likewise.
20640 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20641 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20642 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20643 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20644 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20645 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20646 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20647 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20648 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20649 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20650 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20651 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20652 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20653 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20654 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20655 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20656 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20657 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20658 [X/Open-based standards] (SIGTRAP): Likewise.
20659 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20660 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20661 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20662 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20663 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20666 2012-05-08 Ian Wienand <ianw@vmware.com>
20669 * time/tzset.c (__tzset_parse_tz): Update default rules for
20670 daylight time changes in the Energy Policy Act of 2005.
20672 2012-05-09 Andreas Jaeger <aj@suse.de>
20675 * elf/ldconfig.c (parse_conf): Change string to make clear that
20676 ldconfig only issued a warning if ld.so.conf does not exist.
20678 2012-05-08 David S. Miller <davem@davemloft.net>
20680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20681 movxtod instead of popping the value on the stack.
20683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20685 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20687 * config.h.in: Add HAVE_ARM_PCS_VFP.
20689 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20692 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20693 checking but the checks are disabled for any reason.
20695 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20697 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20698 and ELF64_R_TYPE with ELFW(R_TYPE).
20700 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20702 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20703 (ulimit): Likewise.
20705 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20706 (settimeofday): Likewise.
20708 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20710 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20711 a struct th_u2 inside the union, and move tu_block/tu_code into
20712 a new th_u3 union of tu_block/tu_code inside of that. Move
20713 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20714 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20715 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20716 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20717 (th_stuff): Change to th_u1.tu_stuff.
20719 (th_msg): Change to th_u1.th_u2.tu_data.
20721 2012-05-07 David S. Miller <davem@davemloft.net>
20723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20726 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20727 (SETUP_PIC_REG): Use it.
20728 (SETUP_PIC_REG_LEAF): Use it.
20730 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20736 (EXPL_FINITE): Likewise.
20737 (FLDLOG): Likewise.
20738 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20739 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20741 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20743 (EXPL_FINITE): Likewise.
20744 (FLDLOG): Likewise.
20745 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20746 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20748 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20749 test of -max_value argument for long double.
20750 * sysdeps/i386/fpu/libm-test-ulps: Update.
20751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20753 2012-05-06 David S. Miller <davem@davemloft.net>
20755 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20756 quad soft-float symbols whose references which are compiler
20758 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20760 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20764 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20766 (EXPL_FINITE): Likewise.
20767 (FLDLOG): Likewise.
20770 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20771 Adjust comments for base varying.
20772 (__expl_finite): Change alias to EXPL_FINITE.
20773 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20775 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20776 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20777 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20778 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20781 (EXPL_FINITE): Likewise.
20782 (FLDLOG): Likewise.
20785 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20786 Adjust comments for base varying.
20787 (__expl_finite): Change alias to EXPL_FINITE.
20788 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20793 * math/libm-test.inc (check_float_internal): Correct ulp
20794 calculation for subnormal expected results.
20796 2012-05-06 Andreas Jaeger <aj@suse.de>
20798 * Makeconfig (+math-flags): New, set to -frounding-math.
20799 (+cflags): Add +math-flags so that all of glibc gets compiled with
20802 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20804 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20806 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20812 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20813 (__ieee754_expl): Allow for and saturate large arguments.
20814 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20815 (u_threshold): Likewise.
20816 (__exp): Call __ieee754_exp before checking for overflow and
20818 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20819 (u_threshold): Likewise.
20820 (__expf): Call __ieee754_expf before checking for overflow and
20822 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20823 (u_threshold): Likewise.
20824 (__expl): Call __ieee754_expl before checking for overflow and
20826 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20827 (__ieee754_expl): Allow for and saturate large arguments.
20828 * math/libm-test.inc (exp_test): Add another test. Do not allow
20829 missing overflow exception on overflow.
20830 (expm1_test): Do not allow missing overflow exception on overflow.
20832 * sysdeps/i386/fpu/e_expl.c: Move to ...
20833 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20834 rather than using inline asm.
20835 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20836 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20837 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20839 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20842 (signal): Likewise.
20846 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20848 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20849 sysdeps/unix/common/syscalls.list.
20850 (fchmod): Likewise.
20851 (fchown): Likewise.
20852 (ftruncate): Likewise.
20853 (getrusage): Likewise.
20854 (gettimeofday): Likewise.
20855 (setpgid): Likewise.
20856 (setregid): Likewise.
20857 (setreuid): Likewise.
20858 (sigaction): Likewise.
20859 (truncate): Likewise.
20860 (vhangup): Likewise.
20861 * sysdeps/unix/common/syscalls.list: Remove file.
20862 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20863 * sysdeps/unix/sysv/linux/Implies: Likewise.
20865 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20867 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20869 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20873 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20876 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20879 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20882 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20885 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20888 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20891 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20895 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20899 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20902 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20906 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20910 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20912 * sysdeps/unix/common/bits/dirent.h: Remove file.
20913 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20915 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20916 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20917 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20918 * sysdeps/unix/bsd/isatty.c: Likewise.
20919 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20920 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20921 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20923 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20926 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20927 long double comparison inaccuracies.
20928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20931 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20933 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20936 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20940 nonzero digits before rounding a hex value.
20941 * stdlib/tst-strtod.c (tests): Add another test.
20943 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20945 * sysdeps/s390/fpu/libm-test-ulps: Update.
20947 2012-05-03 Andreas Jaeger <aj@suse.de>
20949 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20950 does not get optimized out.
20951 (malloc_opt_barrier): New.
20953 2012-05-03 Andreas Jaeger <aj@suse.de>
20954 Roland McGrath <roland@hack.frob.com>
20956 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20957 intermediate file deletion.
20958 (generated): Add .symlist files.
20960 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20963 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20964 Redirect under this condition.
20965 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20966 [__USE_GNU] (__dprintf_chk): Not under this condition.
20967 [__USE_GNU] (__vdprintf_chk): Likewise.
20968 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20969 under this condition.
20970 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20971 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20972 [__USE_XOPEN2K8] (vdprintf): Likewise.
20973 [__USE_GNU] (__dprintf_chk): Not under this condition.
20974 [__USE_GNU] (__vdprintf_chk): Likewise.
20975 [__USE_GNU] (dprintf): Likewise.
20976 [__USE_GNU] (vdprintf): Likewise.
20978 2012-05-03 Roland McGrath <roland@hack.frob.com>
20980 * elf/Makefile (common-generated): Set this instead of generated for
20981 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20982 $(all-built-dso)-derived lists.
20984 2012-05-03 Andreas Jaeger <aj@suse.de>
20986 * sysdeps/i386/fpu/libm-test-ulps: Update.
20989 * FAQ.in: Likewise.
20990 * scripts/gen-FAQ.pl: Likewise.
20991 * manual/install.texi (Installation): Point to online location of
20993 * Makefile (files-for-dist): Remove FAQ.
20996 2012-05-02 Allan McRae <allan@archlinux.org>
20998 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20999 (LDFLAGS-reldepmod5.so): Likewise.
21000 (LDFLAGS-reldep6mod1.so): Likewise.
21001 (LDFLAGS-reldep6mod4.so): Likewise.
21002 (LDFLAGS-reldep8mod3.so): Likewise.
21003 (LDFLAGS-unload4mod1.so): Likewise.
21004 (LDFLAGS-unload4mod2.so): Likewise.
21005 (LDFLAGS-tst-initorder): Likewise.
21006 (LDFLAGS-tst-initordera2.so): Likewise.
21007 (LDFLAGS-tst-initordera3.so): Likewise.
21008 (LDFLAGS-tst-initordera4.so): Likewise.
21009 (LDFLAGS-tst-initorderb2.so): Likewise.
21010 (LDFLAGS-noload): Likewise.
21011 (LDFLAGS-next): Likewise.
21012 (LDFLAGS-order2mod1.so): Likewise.
21013 (LDFLAGS-order2mod2.so): Likewise.
21014 (LDFLAGS-tst-initorder2): Likewise.
21015 (LDFLAGS-tst-initorder2a.so): Likewise.
21016 (LDFLAGS-tst-initorder2b.so): Likewise.
21017 (LDFLAGS-tst-initorder2c.so): Likewise.
21018 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21020 2012-05-02 David S. Miller <davem@davemloft.net>
21022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21024 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21027 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21029 2012-05-02 Andreas Jaeger <aj@suse.de>
21031 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21032 since we manipulate rounding mode.
21033 (CPPFLAGS-test-idouble.c): Likewise.
21034 (CPPFLAGS-test-ifloat.c): Likewise.
21035 (CFLAGS-test-ldouble.c): Likewise.
21036 (CFLAGS-test-double.c): Likewise.
21037 (CFLAGS-test-float.c): Likewise.
21038 (CFLAGS-test-misc.c): Likewise.
21039 (CFLAGS-test-test-fenv.c): Likewise.
21041 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21046 comparisons to determine direction to adjust input.
21048 2012-05-01 Roland McGrath <roland@hack.frob.com>
21050 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21051 output to the target.
21053 * scripts/localplt.awk: New file.
21054 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21055 (check-localplt-CFLAGS): Variable removed.
21056 ($(all-built-dso:=.jmprel)): New static pattern rule.
21057 (generated): Add those targets.
21058 (localplt-built-dso): New variable.
21059 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21061 * elf/check-localplt.c: File removed.
21063 * scripts/check-execstack.awk: New file.
21064 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21065 (check-execstack-CFLAGS): Variable removed.
21066 ($(objpfx)check-execstack.h): Target removed.
21067 ($(objpfx)execstack-default): New target.
21068 (generated): Add that instead of check-execstack.h.
21069 ($(all-built-dso:=.phdr)): New static pattern rule.
21070 (generated): Add those targets.
21071 * elf/check-execstack.c: File removed.
21073 * scripts/check-textrel.awk: New file.
21074 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21075 (check-textrel-CFLAGS): Variable removed.
21076 (all-built-dso): Use := to define.o
21077 ($(all-built-dso:=.dyn)): New static pattern rule.
21078 (generated): Add those targets.
21079 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21080 * config.make.in (READELF): New substituted variable.
21081 * elf/check-textrel.c: File removed.
21083 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21085 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21087 * conform/data/ctype.h-data [C99-based standards] (isblank):
21089 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21090 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21092 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21093 Specify type. Require positive value.
21094 (EILSEQ): Likewise.
21095 (ERANGE): Likewise.
21096 [ISO || POSIX] (EILSEQ): Do not expect.
21097 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21098 Specify type. Require positive value.
21099 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21100 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21101 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21102 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21103 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21104 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21105 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21106 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21107 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21108 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21109 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21110 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21111 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21112 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21113 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21114 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21115 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21116 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21117 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21118 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21119 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21120 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21121 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21122 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21123 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21124 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21125 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21126 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21127 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21128 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21129 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21130 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21131 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21132 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21133 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21134 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21135 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21136 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21137 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21138 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21139 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21140 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21141 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21142 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21143 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21144 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21145 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21146 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21147 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21148 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21149 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21150 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21151 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21152 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21153 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21154 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21155 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21156 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21157 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21158 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21159 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21160 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21161 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21162 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21163 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21164 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21165 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21166 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21167 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21168 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21169 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21170 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21171 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21172 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21173 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21174 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21175 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21177 (FLT_ROUNDS): Expect as macro, not constant.
21178 (FLT_MANT_DIG): Use macro-int-constant.
21179 (DBL_MANT_DIG): Likewise.
21180 (LDBL_MANT_DIG): Likewise.
21181 (FLT_DIG): Likewise.
21182 (DBL_DIG): Likewise.
21183 (LDBL_DIG): Likewise.
21184 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21185 (DBL_MIN_EXP): Likewise.
21186 (LDBL_MIN_EXP): Likewise.
21187 (FLT_MAX_EXP): Use macro-int-constant.
21188 (DBL_MAX_EXP): Likewise.
21189 (LDBL_MAX_EXP): Likewise.
21190 (FLT_MAX_10_EXP): Likewise.
21191 (DBL_MAX_10_EXP): Likewise.
21192 (LDBL_MAX_10_EXP): Likewise.
21193 (FLT_MAX): Use macro-constant.
21194 (DBL_MAX): Likewise.
21195 (LDBL_MAX): Likewise.
21196 (FLT_EPSILON): Use macro-constant. Give upper bound.
21197 (DBL_EPSILON): Likewise.
21198 (LDBL_EPSILON): Likewise.
21199 (FLT_MIN): Likewise.
21200 (DBL_MIN): Likewise.
21201 (LDBL_MIN): Likewise.
21202 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21203 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21204 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21205 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21206 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21207 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21208 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21209 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21210 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21211 [ISO11] (FLT_TRUE_MIN): Likewise.
21212 [ISO11] (LDBL_TRUE_MIN): Likewise.
21213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21214 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21215 (SCHAR_MIN): Use macro-int-constant. Specify type.
21216 (SCHAR_MAX): Likewise.
21217 (UCHAR_MAX): Likewise.
21218 (CHAR_MIN): Likewise.
21219 (CHAR_MAX): Likewise.
21220 (MB_LEN_MAX): Use macro-int-constant.
21221 (SHRT_MIN): Use macro-int-constant. Specify type.
21222 (SHRT_MAX): Likewise.
21223 (USHRT_MAX): Likewise.
21224 (INT_MAX): Likewise.
21225 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21227 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21229 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21231 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21232 bound negative. Suffix upper bound with "L".
21233 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21235 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21237 [C99-based standards] (LLONG_MAX): Likewise.
21238 [C99-based standards] (ULLONG_MAX): Likewise.
21239 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21241 [ISO11] (max_align_t): Require type.
21242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21244 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21245 from $CFLAGS, without defining away __attribute__ calls.
21246 (checknamespace): Use $CFLAGS_namespace.
21248 * conform/conformtest.pl (@keywords): Only include C99 keywords
21249 for standards based on C99 or C11.
21251 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21253 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21256 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21257 usability of symbols in #if.
21259 * conform/conformtest.pl: If macro or constant types start
21260 "promoted:", expect the symbol to be of the following type
21261 promoted by the integer promotions.
21263 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21264 in one place. Also handle "macro-constant".
21266 * conform/conformtest.pl: Only accept expected macro values with
21267 "==". Parse all "macro" lines in one place.
21268 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21270 * conform/conformtest.pl: Handle braced types on "constant" lines
21271 instead of handling "typed-constant".
21272 * conform/data/signal.h-data: Use "constant" instead of
21275 * conform/conformtest.pl: Handle "optional-" at start of lines in
21276 one place rather than duplicating several cases. Handle each
21277 format of "macro" line with initial "optional-".
21279 * conform/conformtest.pl: Only accept expected constant or
21280 optional-constant values with "==". Parse all "constant" lines in
21281 one place. Parse all "optional-constant" lines in one place.
21282 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21283 * conform/data/fmtmsg.h-data: Likewise.
21284 * conform/data/netinet/in.h-data: Likewise.
21285 * conform/data/tar.h-data: Likewise.
21286 * conform/data/limits.h-data: Use "==" form on "constant" and
21287 "optional-constant" lines.
21289 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21290 Use -std=c99 for XOPEN2K.
21291 (@knownproblems): Remove.
21292 (newtoken): Don't check %isknown.
21294 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21295 Do not expect macro.
21296 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21307 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21308 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21309 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21310 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21311 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21312 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21313 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21315 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21316 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21318 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21320 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21321 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21322 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21323 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21324 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21325 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21326 [XPG3] (acosh): Likewise.
21327 [XPG3] (asinh): Likewise.
21328 [XPG3] (atanh): Likewise.
21329 [XPG3] (cbrt): Likewise.
21330 [XPG3] (expm1): Likewise.
21331 [XPG3] (ilogb): Likewise.
21332 [XPG3] (log1p): Likewise.
21333 [XPG3] (logb): Likewise.
21334 [XPG3] (nextafter): Likewise.
21335 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21336 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21337 [XPG3] (remainder): Likewise.
21338 [XPG3] (rint): Likewise.
21339 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21340 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21341 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21342 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21343 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21344 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21345 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21346 [UNIX98 || XOPEN2K] (scalb): Expect.
21347 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21348 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21349 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21350 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21351 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21352 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21353 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21354 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21355 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21356 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21357 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21358 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21359 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21360 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21361 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21362 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21363 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21364 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21365 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21366 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21367 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21368 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21369 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21370 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21371 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21372 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21373 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21374 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21375 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21376 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21377 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21378 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21379 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21380 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21381 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21382 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21383 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21384 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21385 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21386 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21387 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21388 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21389 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21390 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21391 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21392 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21393 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21394 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21395 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21396 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21397 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21398 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21399 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21400 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21401 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21402 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21403 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21404 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21405 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21406 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21407 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21408 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21409 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21410 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21411 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21412 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21413 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21414 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21415 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21416 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21417 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21418 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21419 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21420 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21421 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21422 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21423 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21424 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21425 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21426 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21427 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21428 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21429 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21430 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21431 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21432 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21433 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21434 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21435 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21436 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21437 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21438 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21439 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21440 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21441 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21442 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21443 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21445 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21446 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21454 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21455 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21458 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21459 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21472 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21473 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21474 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21475 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21476 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21477 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21478 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21479 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21480 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21481 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21482 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21483 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21485 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21486 _XOPEN_SOURCE_EXTENDED for XPG4.
21488 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21490 * Makeconfig (localtime): Remove variable.
21491 (inst_localtime-file): Likewise.
21493 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21514 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21518 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21519 comparisons to determine direction to adjust input.
21520 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21521 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21524 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21526 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21531 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21533 * math/libm-test.inc (nexttoward_test): Add more tests.
21535 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21539 in version GLIBC_2.1, not GLIBC_2.0.
21540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21543 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21546 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21548 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21549 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21550 * math/libm-test.inc (acos_test): Add more tests.
21551 (asin_test): Likewise.
21552 * sysdeps/i386/fpu/libm-test-ulps: Update.
21553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21556 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21558 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21559 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21560 * math/libm-test.inc (acos_test_tonearest): New function.
21561 (acos_test_towardzero): Likewise.
21562 (acos_test_downward): Likewise.
21563 (acos_test_upward): Likewise.
21564 (asin_test_tonearest): Likewise.
21565 (asin_test_towardzero): Likewise.
21566 (asin_test_downward): Likewise.
21567 (asin_test_upward): Likewise.
21568 (main): Call the new functions.
21569 * sysdeps/i386/fpu/libm-test-ulps: Update.
21570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21574 * math/e_exp10.c: Include <float.h>.
21575 (__ieee754_exp10): Handle underflow here rather than multiplying
21576 large negative argument by M_LN10.
21577 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21579 * math/e_exp10l.c: Include <float.h>.
21580 (__ieee754_exp10l): Handle underflow here rather than multiplying
21581 large negative argument by M_LN10l.
21582 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21583 spurious overflow exception on underflow.
21585 2012-04-29 Marek Polacek <polacek@redhat.com>
21587 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21588 (__fortify_function): New macro.
21589 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21590 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21591 __extern_always_inline.
21592 * libio/bits/stdio2.h: Likewise.
21593 * libio/bits/stdio.h: Likewise.
21594 * string/string.h: Likewise.
21595 * string/bits/string3.h: Likewise.
21596 * include/stdio.h: Likewise.
21597 * stdlib/bits/stdlib.h: Likewise.
21598 * stdlib/stdlib.h: Likewise.
21599 * rt/bits/mqueue2.h: Likewise.
21600 * rt/mqueue.h: Likewise.
21601 * posix/bits/unistd.h: Likewise.
21602 * posix/unistd.h: Likewise.
21603 * io/bits/poll2.h: Likewise.
21604 * io/bits/fcntl2.h: Likewise.
21605 * io/fcntl.h: Likewise.
21606 * io/sys/poll.h: Likewise.
21607 * misc/bits/syslog.h: Likewise.
21608 * misc/bits/syslog-ldbl.h: Likewise.
21609 * misc/sys/syslog.h: Likewise.
21610 * socket/bits/socket2.h: Likewise.
21611 * socket/sys/socket.h: Likewise.
21612 * debug/tst-chk1.c: Likewise.
21613 * wcsmbs/bits/wchar2.h: Likewise.
21614 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21615 * wcsmbs/wchar.h: Likewise.
21617 2012-04-29 Andreas Jaeger <aj@suse.de>
21619 * Makerules (tests): Remove enable-check-abi protection.
21620 (check-abi-warn): Remove.
21621 (check-abi-%): Remove check-abi-warn usage.
21623 * configure.in: Remove check-abi configure option.
21624 * configure: Regenerated.
21625 * config.make.in (enable-check-abi): Remove.
21627 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21630 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21631 double functions to double *_finite functions.
21634 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21635 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21637 * stdio-common/Makefile (tests): Add tst-sprintf3.
21638 * stdio-common/tst-sprintf3.c: New file.
21640 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21641 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21643 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21645 * conform/conformtest.pl: Remove duplicate typed-constant
21648 2012-04-28 David S. Miller <davem@davemloft.net>
21650 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21651 (check-abi-%): Remove AWK script prerequisite and explicit
21653 (check-abi): Rewrite to just diff the symlist with the abilist.
21654 (config-tls, config-abi-config): Delete, no longer used.
21655 (update-abi-%): Remove AWK script and explicit abilist directory.
21656 (update-abi): Rewrite to simply compare and conditionally copy the
21657 symlist and the sysdep abilist file. Remove update-abi-config
21659 * abilist/ld.abilist: Remove.
21660 * abilist/libBrokenLocale.abilist: Remove.
21661 * abilist/libanl.abilist: Remove.
21662 * abilist/libcrypt.abilist: Remove.
21663 * abilist/libdl.abilist: Remove.
21664 * abilist/librt.abilist: Remove.
21665 * abilist/libthread_db.abilist: Remove.
21666 * abilist/libutil.abilist: Remove.
21667 * scripts/extract-abilist.awk: Remove.
21668 * scripts/merge-abilist.awk: Remove.
21669 * sysdeps/generic/libcidn.abilist: New file.
21670 * sysdeps/generic/libnss_compat.abilist: New file.
21671 * sysdeps/generic/libnss_db.abilist: New file.
21672 * sysdeps/generic/libnss_dns.abilist: New file.
21673 * sysdeps/generic/libnss_files.abilist: New file.
21674 * sysdeps/generic/libnss_hesiod.abilist: New file.
21675 * sysdeps/generic/libnss_nis.abilist: New file.
21676 * sysdeps/generic/libnss_nisplus.abilist: New file.
21677 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21678 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21679 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21681 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21682 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21683 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21684 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21685 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21686 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21687 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21688 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21689 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21691 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21692 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21693 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21694 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21696 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21697 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21698 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21699 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21700 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21701 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21703 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21704 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21705 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21810 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21811 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21812 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21815 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21816 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21817 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21818 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21820 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21821 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21822 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21823 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21875 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21877 * conform/conformtest.pl: Fix typo in handling typed-constant from
21880 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21882 * README: Cut down references to pre-2.6 Linux kernels and
21883 Linuxthreads. Update lists of configurations in libc and ports
21884 and sort alphabetically. Say "or newer" with Linux kernel version
21887 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21889 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21892 * math/libm-test.inc (logb_test_downward): New test to expose
21893 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21896 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21899 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21901 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21902 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21904 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21906 * sysdeps/unix/i386/brk.S: Remove file.
21907 * sysdeps/unix/i386/dl-brk.S: Likewise.
21908 * sysdeps/unix/i386/pipe.S: Likewise.
21909 * sysdeps/unix/i386/sigreturn.S: Likewise.
21910 * sysdeps/unix/i386/syscall.S: Likewise.
21911 * sysdeps/unix/i386/vfork.S: Likewise.
21912 * sysdeps/unix/i386/wait.S: Likewise.
21914 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21915 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21917 * configure.in (arm*-none*): Do not allow without
21918 --enable-hacker-mode.
21919 (netbsd*): Remove case setting base_os.
21920 (386bsd*): Likewise.
21921 (freebsd*): Likewise.
21924 (sunos*): Likewise.
21925 (ultrix*): Likewise.
21926 (newsos*): Likewise.
21927 (dynix*): Likewise.
21933 (minix*): Likewise.
21934 (irix4*): Likewise.
21935 (irix6*): Likewise.
21936 (solaris[2-9]*): Likewise.
21938 * configure: Regenerated.
21940 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21944 overflow or cancellation in calculating denominator.
21945 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21947 down expression to avoid unexpected rounding in newer GCCs.
21948 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21950 2012-04-26 David S. Miller <davem@davemloft.net>
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21953 long-double compat symbols.
21954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21968 2012-04-25 David S. Miller <davem@davemloft.net>
21970 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21971 HWCAP_* values only after the memory barriers have been defined.
21972 (atomic_full_barrier): Define.
21973 (atomic_read_barrier): Define.
21974 (atomic_write_barrier): Define.
21976 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21978 * shlib-versions: Add libgcc_s version information.
21979 * sysdeps/generic/libgcc_s.h: Remove.
21980 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21982 * sysdeps/gnu/unwind-resume.c: Likewise.
21983 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21985 2012-04-25 David S. Miller <davem@davemloft.net>
21987 * sysdeps/unix/sparc/brk.S: Delete.
21988 * sysdeps/unix/sparc/dl-brk.S: Delete.
21989 * sysdeps/unix/sparc/pipe.S: Delete.
21990 * sysdeps/unix/sparc/sysdep.S: Delete.
21991 * sysdeps/unix/sparc/sysdep.h: Delete.
21992 * sysdeps/unix/sparc/vfork.S: Delete.
21993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21994 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21996 ret_ERRVAL, r0, r1, MOVE): Define.
21997 (JUMPTARGET): Remove.
21998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21999 sysdeps/unix/sparc/sysdep.h
22000 (ENTRY, END): Remove.
22001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22003 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22005 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22006 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22009 * timezone/README: Update upstream location and email address for
22011 * timezone/zdump.c: Update from tzcode 2012b.
22012 * timezone/zic.c: Likewise.
22014 * configure.in (libc_cv_as_needed): Remove test.
22015 * configure: Regenerated.
22016 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22017 conditional definition.
22018 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22019 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22020 * config.make.in (have-as-needed): Remove variable.
22022 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22023 Paul Pluzhnikov <ppluzhnikov@google.com>
22025 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22028 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22030 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22031 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22032 * sysdeps/sh/strlen.S: Likewise.
22034 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22036 * sysdeps/unix/fork.S: Remove file.
22037 * sysdeps/unix/i386/fork.S: Likewise.
22038 * sysdeps/unix/sparc/fork.S: Likewise.
22040 * sysdeps/unix/system.c: Remove file.
22041 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22043 * sysdeps/unix/getegid.S: Remove file.
22044 * sysdeps/unix/geteuid.S: Likewise.
22046 2012-04-24 Roland McGrath <roland@hack.frob.com>
22048 * scripts/check-localplt.awk: New file.
22049 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22051 * scripts/data/localplt-generic.data: Add a comment.
22053 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22054 NODE when __dir_mkfile failed.
22055 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22056 Reported by Ludovic Courtès <ludo@gnu.org>.
22058 2012-04-24 Andreas Jaeger <aj@suse.de>
22060 * Makerules (common-clean): Also remove gen-as-const-headers
22063 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22065 * Makerules (native-compile): Do not change working directory for
22066 build. Use $(OUTPUT_OPTION) in command.
22067 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22069 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22072 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22073 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22074 * math/libm-test.inc (floor_test): Add more tests.
22075 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22077 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22079 * sysdeps/unix/getdents.c: Remove file.
22080 * sysdeps/unix/sysv/getdents.c: Likewise.
22081 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22083 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22084 sysdeps/unix/mman/syscalls.list.
22086 (mprotect): Likewise.
22088 (munmap): Likewise.
22089 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22090 * sysdeps/unix/mman/syscalls.list: Remove.
22091 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22093 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22094 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22095 * configure: Regenerated.
22096 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22097 $(libgcc_s_suffix).
22098 * config.make.in (libgcc_s_suffix): Remove variable.
22100 2012-04-23 Joseph Myers <joseph@codesourcery.com>
22102 * sysdeps/unix/sysv/gethostname.c: Move to ...
22103 * sysdeps/posix/gethostname.c: ... here.
22105 * sysdeps/unix/execve.S: Remove file.
22107 * sysdeps/unix/_exit.S: Remove file.
22109 2012-04-23 Andreas Jaeger <aj@suse.de>
22112 * manual/Makefile: Remove make dist support, there's no
22113 need for a stand-alone documentation tar ball.
22114 (TEXI2DVI): Define always, it's not in Makeconfig.
22117 (edition): Removed.
22118 (glibc-doc-$(edition).tar): Removed
22122 (ETAGS): Remove, it's in Makeconfig.
22123 (move-if-change): Remove, it's in Makeconfig.
22125 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
22128 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22129 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22130 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22131 (strtod_l, strtof_l, strtold_l): Remove __wur.
22132 It is not necessarily an error to ignore strtol's return value.
22133 One can reliably look at the stored endptr to decide whether
22134 the number had valid syntax.
22136 2012-04-21 Andreas Jaeger <aj@suse.de>
22139 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22141 2012-04-21 Joseph Myers <joseph@codesourcery.com>
22143 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22144 * sysdeps/unix/sysv/Versions: Remove file.
22146 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22151 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22155 version from __vm86.
22157 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22159 * sysdeps/unix/common/lxstat.c: Remove file.
22160 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22162 * sysdeps/unix/sysv/Makefile: Remove file.
22164 * sysdeps/unix/sysv/direct.h: Remove file.
22166 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22167 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22168 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22169 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22170 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22171 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22172 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22174 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22176 * sysdeps/unix/xmknod.c: Remove file.
22177 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22179 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22181 * sysdeps/unix/sysv/i386/time.S: Remove file.
22183 * sysdeps/unix/fxstat.c: Remove file.
22184 * sysdeps/unix/xstat.c: Likewise.
22185 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22187 * sysdeps/unix/sysv/sigaction.c: Remove file.
22189 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22190 (sysdep_headers): Remove variable.
22191 [termio.h not in sysdep_headers] (generated): Likewise.
22192 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22193 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22194 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22195 * sysdeps/unix/sysv/tcflow.c: Likewise.
22196 * sysdeps/unix/sysv/tcflush.c: Likewise.
22197 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22198 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22199 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22200 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22201 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22203 * sysdeps/unix/siglist.c: Remove file.
22205 * sysdeps/unix/getppid.S: Remove file.
22207 * sysdeps/unix/mkdir.c: Remove file.
22208 * sysdeps/unix/rmdir.c: Likewise.
22210 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22212 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22214 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22215 errlist-compat value.
22217 2012-04-18 David S. Miller <davem@davemloft.net>
22219 * sysdeps/generic/memcopy.h (reg_char): Delete.
22220 * debug/strcat_chk.c: Use char, not reg_char.
22221 * debug/strcpy_chk.c: Likewise.
22222 * debug/strncat_chk.c: Likewise.
22223 * debug/strncpy_chk.c: Likewise.
22224 * string/memchr.c: Likewise.
22225 * string/memrchr.c: Likewise.
22226 * string/rawmemchr.c: Likewise.
22227 * string/strcat.c: Likewise.
22228 * string/strchr.c: Likewise.
22229 * string/strchrnul.c: Likewise.
22230 * string/strcmp.c: Likewise.
22231 * string/strcpy.c: Likewise.
22232 * string/strncat.c: Likewise.
22233 * string/strncmp.c: Likewise.
22234 * string/strncpy.c: Likewise.
22236 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22238 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22239 __builtin_memcopy is called when src and dest ranges are known to not
22242 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22244 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22245 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22246 fwd_align_merge macro call.
22247 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22248 bwd_align_merge macro call.
22249 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22251 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22253 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22254 bwd_align_merge macros.
22255 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22256 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22257 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22259 2012-04-18 David S. Miller <davem@davemloft.net>
22261 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22263 2012-04-18 Andreas Jaeger <aj@suse.de>
22266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22267 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22268 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22270 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22271 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22272 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22274 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22275 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22276 Adjust for changed ldbl-128 files.
22278 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22279 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22280 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22282 2012-04-17 David S. Miller <davem@davemloft.net>
22284 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22286 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22288 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22289 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22290 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22291 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22292 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22293 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22295 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22298 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22299 * math/libm-test.inc: Add ilogb errno and exception tests.
22300 * math/w_ilogb.c: New file: ilogb wrapper.
22301 * math/w_ilogbf.c: New file: ilogbf wrapper.
22302 * math/w_ilogbl.c: New file: ilogbl wrapper.
22303 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22304 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22305 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22306 exception being thrown with 0.0 as argument.
22307 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22308 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22309 exception being thrown with 0.0 as argument.
22310 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22311 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22312 exception being thrown with 0.0 as argument.
22313 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22314 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22315 exception being thrown with 0.0 as argument.
22316 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22317 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22318 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22319 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22320 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22321 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22322 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22323 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22324 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22326 2012-04-17 Petr Baudis <pasky@ucw.cz>
22328 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22331 2012-04-16 Marek Polacek <polacek@redhat.com>
22333 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22335 2012-04-16 Marek Polacek <polacek@redhat.com>
22337 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22338 operands of fdivp instruction.
22340 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22342 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22343 * elf/tst-auditmod3b.c: Likewise.
22344 * elf/tst-auditmod4b.c: Likewise.
22345 * elf/tst-auditmod5b.c: Likewise.
22346 * elf/tst-auditmod6b.c: Likewise.
22347 * elf/tst-auditmod6c.c: Likewise.
22348 * elf/tst-auditmod7b.c: Likewise.
22349 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22350 * sysdeps/x86_64/preconfigure.in: Likewise.
22351 * sysdeps/x86_64/preconfigure: Regenerated.
22353 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22355 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22358 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22361 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22363 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22366 * locale/iso-639.def: Fix gl language name. Spotted by
22369 2012-04-12 Roland McGrath <roland@hack.frob.com>
22372 * libio/libio.h (__io_write_fn): Update comment.
22374 2012-04-12 Petr Baudis <pasky@ucw.cz>
22377 * stdio.texi (Hook Functions): The user provided writer function
22378 is not allowed to return -1.
22380 2012-04-11 David S. Miller <davem@davemloft.net>
22382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22384 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22386 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22387 Add a leading slash to rtkaio.
22389 2012-04-11 Jim Meyering <meyering@redhat.com>
22392 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22393 It is not necessarily an error to ignore fwrite's return
22394 value. One can reliably use ferror to test for errors after
22397 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22399 * bits/types.h (__snseconds_t): New type.
22400 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22402 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22404 (__SNSECONDS_T_TYPE): Likewise.
22405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22406 (__SNSECONDS_T_TYPE): Likewise.
22407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22408 (__SNSECONDS_T_TYPE): Likewise.
22410 2012-04-10 Andreas Jaeger <aj@suse.de>
22413 * manual/time.texi (Processor Time): Return type of times is
22414 elapsed real time since an arbitrary point in the past.
22415 (CPU Time): Move CLK_TCK from here...
22416 (Processor Time): ...to here. Correct description.
22417 * manual/conf.texi (Constants for Sysconf): Correct description of
22420 2012-04-10 David S. Miller <davem@davemloft.net>
22423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22424 where the is a gap between DT_REL(A) and DT_JMPREL.
22426 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22428 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22429 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22430 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22432 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22434 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22435 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22436 (dl_main): Handle --inhibit-cache.
22437 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22439 * elf/dl-load.c (_dl_map_object): Use it.
22440 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22442 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22445 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22446 (__ieee754_powl): Saturate large exponents rather than testing for
22447 overflow of y*log2(x).
22448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22449 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22453 * math/s_ctan.c: Include <float.h>.
22454 (__ctan): Avoid internal overflow or cancellation in calculating
22456 * math/s_ctanf.c: Likewise.
22457 * math/s_ctanl.c: Likewise.
22458 * math/s_ctanh.c: Likewise.
22459 * math/s_ctanhf.c: Likewise.
22460 * math/s_ctanhl.c: Likewise.
22461 * math/libm-test.inc (ctan_test): Add more tests.
22462 (ctanh_test): Likewise.
22463 * sysdeps/i386/fpu/libm-test-ulps: Update.
22464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22466 2012-04-09 Andreas Jaeger <aj@suse.de>
22469 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22470 is an optional BSD extension.
22473 * manual/stdio.texi (Opening Streams): Document additional fopen
22476 2012-04-09 Roland McGrath <roland@hack.frob.com>
22478 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22479 %eax without telling the compiler.
22481 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22484 * manual/install.texi: Use sourceware.org.
22486 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22489 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22490 (__ieee754_pow): Generate overflow and underflow using huge*huge
22491 and tiny*tiny rather than just returning constant infinity or zero
22492 for large exponents.
22493 * math/libm-test.inc (pow_test): Require overflow exceptions for
22494 applicable cases of large exponents.
22497 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22498 (__ieee754_pow): Use iterative multiplication algorithm only for
22499 integer exponents with absolute value below 1024. Check for odd
22500 integer exponents when using algorithm for real exponents.
22501 * math/libm-test.inc (pow_test): Add more tests.
22502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22504 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22507 * math/libm-test.inc (exp_test): Do not allow overflow exception
22510 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22513 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22514 instead of __kernel_standard_f.
22516 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22518 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22519 * sysdeps/x86_64/memset_chk.S: Likewise.
22521 2012-04-08 Andreas Jaeger <aj@suse.de>
22524 * manual/startup.texi (Environment Access): Describe return value
22525 for putenv and setenv.
22528 * manual/filesys.texi (Directory Entries): Add description for
22532 * manual/filesys.texi (Directory Entries): Clarify that it's file
22533 system not operating system in the description of DT_UNKNOWN.
22536 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22538 2012-04-08 Stephen Compall <s11@member.fsf.org>
22541 * manual/llio.texi (Opening and Closing Files): Add cross
22542 reference to explain mode argument.
22544 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22546 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22547 * sysdeps/x86_64/memset_chk.S: Likewise.
22549 2012-04-07 David S. Miller <davem@davemloft.net>
22551 * elf/elf.h (R_SPARC_WDISP10): Define.
22552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22555 R_SPARC_SIZE64 and R_SPARC_H34.
22557 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22560 conditions and remove no longer applicable assertion.
22562 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22564 * bits/byteswap.h: Include <features.h>.
22565 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22566 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22568 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22570 * bits/byteswap.h (__bswap_16): Removed.
22571 Include <bits/byteswap-16.h> to get __bswap_16.
22572 * sysdeps/i386/bits/byteswap.h: Likewise.
22573 * sysdeps/s390/bits/byteswap.h: Likewise.
22574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22575 * bits/byteswap-16.h: New file.
22576 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22577 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22578 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22579 * string/Makefile (headers): Add bits/byteswap-16.h.
22581 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22584 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22586 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22587 * nss/tst-nss-static.c: New.
22589 2012-04-06 Robert Millan <rmh@gnu.org>
22592 * manual/llio.texi (File Position Primitive): lseek
22593 refers to WHENCE when it really means OFFSET.
22595 2012-04-06 Andreas Jaeger <aj@suse.de>
22597 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22598 strncmp declarations.
22600 * abilist/libc.abilist: Add __poll and __ppoll.
22602 2012-04-05 David S. Miller <davem@davemloft.net>
22604 * scripts/check-local-headers.sh: Accept a host triplet in the
22605 path matched by the exclude regexp.
22607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22609 * sysdeps/powerpc/powerpc32/dl-machine.h
22610 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22611 * sysdeps/s390/s390-32/dl-machine.h
22612 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22613 * sysdeps/sparc/sparc32/dl-machine.h
22614 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22615 * sysdeps/sparc/sparc64/dl-machine.h
22616 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22618 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22620 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22621 undefined symbol errors.
22623 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22626 2012-04-05 Michael Matz <matz@suse.de>
22629 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22631 2012-04-05 Andreas Jaeger <aj@suse.de>
22634 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22637 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22639 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22640 which ROUND is no valid rounding mode.
22642 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22646 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22648 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22650 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22651 an exception using FPU order intentionally.
22653 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22655 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22656 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22657 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22658 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22660 2012-04-05 Simon Josefsson <simon@josefsson.org>
22663 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22664 EINVAL when BUFLEN is too smal.
22666 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22669 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22670 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22672 2012-04-03 Andreas Jaeger <aj@suse.de>
22675 * manual/setjmp.texi (System V contexts): Fix sentence.
22678 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22679 New macro for this case.
22680 [!__GNUC__] (__bswap_64): New inline function for this case.
22681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22682 * bits/byteswap.h: Likewise.
22683 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22684 ull, guard with __GLIBC_HAVE_LONG_LONG.
22686 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22687 __GLIBC_HAVE_LONG_LONG.
22689 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22690 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22692 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22695 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22696 inptr and inend, rather than using last_ch.
22698 2012-04-02 David S. Miller <davem@davemloft.net>
22700 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22701 * stdio-common/printf-parse.h (read_int): Change return type to
22702 'int', return -1 on INT_MAX overflow.
22703 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22704 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22705 overflows INT_MAX. Check for overflow of in-format-string precision
22706 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22707 SIZE_MAX not INT_MAX for integer overflow test.
22708 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22709 skip the construct in the format string but do not record anything.
22710 * stdio-common/bug22.c: Adjust to test both width/prevision
22711 INT_MAX overflow as well as total length INT_MAX overflow. Check
22712 explicitly for proper errno values.
22714 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22716 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22718 * string/test-strcmp.c [! WIDE]: Likewise.
22719 * time/tst-mktime2.c: Likewise for INT_MAX.
22720 * string/test-string.h: #include <sys/param.h> for MIN.
22722 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22723 * sysdeps/i386/init-first.c (init): Likewise.
22724 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22725 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22726 * sysdeps/sh/init-first.c (init): Likewise.
22728 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22730 * po/ru.po: Update from translation team.
22731 * po/vi.po: Likewise.
22733 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22735 * resolv/nss_dns/dns-host.c: Merge copyright years.
22737 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22740 Optimize memcpy with prefetch if
22741 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22742 src, dst pointers have unequal 16 byte alignments.
22744 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22747 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22748 from a CNAME entry and return the minimum ttl for the query.
22749 (gaih_getanswer_slice): Likewise.
22751 2012-03-30 Jeff Law <law@redhat.com>
22753 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22755 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22756 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22758 * resolv/nss_dns/dns-host.c: Update copyright year.
22760 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22762 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22763 requests to save a system call. Fix check that all bytes are sent.
22765 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22766 comments for sendmmsg.
22768 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22771 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22772 with only 1 character between 0x0041 and 0x01b0.
22773 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22774 * wcsmbs/tst-mbsnrtowcs.c: New file.
22776 2012-03-29 David S. Miller <davem@davemloft.net>
22778 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22779 small copies by hand.
22781 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22784 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22785 _nss_compat_initgroups_dyn): Fall back to malloc/free
22786 for large group memberships.
22788 2012-03-28 David S. Miller <davem@davemloft.net>
22790 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22791 that branches into memcpy.
22792 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22795 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22798 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22799 implementation too.
22800 * sysdeps/sparc/mempcpy.S: New file.
22802 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22803 the IFUNC routine in the libc case.
22804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22806 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22807 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22808 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22809 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22810 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22811 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22812 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22813 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22815 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22816 loop to 256 bytes instead of 64 bytes and fix test signedness.
22818 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22819 * sysdeps/sparc/sparc32/Makefile: rather than here...
22820 * sysdeps/sparc/sparc64/Makefile: and here.
22822 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22824 * malloc/mallocbug.c: Avoid warnings about unused variables.
22826 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22829 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22830 in the right place. Discard and retry query if response is
22831 larger than input buffer size.
22833 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22838 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22839 x for large integer exponent.
22840 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22841 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22842 sign of result as needed afterwards.
22843 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22844 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22845 result for underflowing pow the same as for overflow.
22846 (__kernel_standard_l): Handle powl overflow and underflow here
22847 rather than calling __kernel_standard.
22848 * math/libm-test.inc (pow_test): Add more tests.
22863 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22864 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22865 (__kernel_standard_l): New function.
22866 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22868 * math/w_acosl.c (__acosl): Likewise.
22869 * math/w_asinl.c (__asinl): Likewise.
22870 * math/w_atan2l.c (__atan2l): Likewise.
22871 * math/w_atanhl.c (__atanhl): Likewise.
22872 * math/w_coshl.c (__coshl): Likewise.
22873 * math/w_exp10l.c (__exp10l): Likewise.
22874 * math/w_exp2l.c (__exp2l): Likewise.
22875 * math/w_fmodl.c (__fmodl): Likewise.
22876 * math/w_hypotl.c (__hypotl): Likewise.
22877 * math/w_j0l.c (__j0l, __y0l): Likewise.
22878 * math/w_j1l.c (__j1l, __y1l): Likewise.
22879 * math/w_jnl.c (__jnl, __ynl): Likewise.
22880 * math/w_lgammal.c (__lgammal): Likewise.
22881 * math/w_log10l.c (__log10l): Likewise.
22882 * math/w_log2l.c (__log2l): Likewise.
22883 * math/w_logl.c (__logl): Likewise.
22884 * math/w_powl.c (__powl): Likewise.
22885 * math/w_remainderl.c (__remainderl): Likewise.
22886 * math/w_scalbl.c (sysv_scalbl): Likewise.
22887 * math/w_sinhl.c (__sinhl): Likewise.
22888 * math/w_sqrtl.c (__sqrtl): Likewise.
22889 * math/w_tgammal.c (__tgammal): Likewise.
22890 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22891 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22892 * math/libm-test.inc (acos_test): Add more tests.
22893 (acosh_test): Likewise.
22894 (asin_test): Likewise.
22895 (atanh_test): Likewise.
22896 (exp_test): Likewise.
22897 (exp10_test): Likewise.
22898 (exp2_test): Likewise.
22899 (expm1_test): Likewise.
22900 (lgamma_test): Likewise.
22901 (log_test): Likewise.
22902 (log10_test): Likewise.
22903 (log1p_test): Likewise.
22904 (log2_test): Likewise.
22905 (pow_test): Do not allow some spurious overflow exceptions.
22906 (sqrt_test): Add more tests.
22907 (tgamma_test): Likewise.
22908 (y0_test): Likewise.
22909 (y1_test): Likewise.
22910 (yn_test): Likewise.
22912 2012-03-27 Anton Blanchard <anton@samba.org>
22914 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22920 2012-03-27 David S. Miller <davem@davemloft.net>
22922 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22924 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22925 have-as-vis3 check.
22927 2012-03-27 Andreas Jaeger <aj@suse.de>
22929 * sysdeps/x86_64/elf/configure.in: Moved to ...
22930 * sysdeps/x86_64/configure.in: ... here.
22931 * sysdeps/x86_64/elf/start.S: Moved to ...
22932 * sysdeps/x86_64/start.S: ... here.
22933 * sysdeps/x86_64/elf/configure: Delete.
22935 * sysdeps/x86_64/configure.in: Merge contents from
22936 sysdeps/i386/configure.in (without i686 check).
22938 * sysdeps/i386/elf/Versions: Merge into ...
22939 * sysdeps/i386/Versions: ... this.
22940 * sysdeps/i386/elf/Versions: Delete file.
22941 * sysdeps/i386/elf/start.S: Moved to ...
22942 * sysdeps/i386/start.S: ...here.
22943 * sysdeps/i386/elf/configure.in: Merge into...
22944 * sysdeps/i386/configure.in: ...here.
22945 * sysdeps/i386/elf/configure.in: Delete file.
22946 * sysdeps/i386/elf/configure: Delete file.
22948 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22949 * debug/backtracesyms.c: ... here.
22950 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22951 * debug/backtracesymsfd.c: ... here.
22952 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22953 * sysdeps/generic/ifunc-sel.h: ... here.
22955 * sysdeps/unix/i386/start.c: Delete file.
22956 * sysdeps/unix/sparc/start.c: Delete file.
22957 * sysdeps/unix/start.c: Delete file.
22959 * sysdeps/sh/elf/configure.in: Moved to ...
22960 * sysdeps/sh/configure.in: ... here.
22961 * sysdeps/sh/elf/start.S: Moved to ...
22962 * sysdeps/sh/start.S: ... here.
22963 * sysdeps/sh/elf/configure: Delete file.
22965 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22966 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22967 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22968 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22969 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22970 * sysdeps/powerpc/powerpc64/start.S: here.
22971 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22972 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22973 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22974 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22975 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22977 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22978 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22979 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22980 * sysdeps/powerpc/powerpc32/start.S: ... here.
22981 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22982 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22983 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22985 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22986 * sysdeps/powerpc/ifunc-sel.h: ... here.
22987 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22988 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22990 * sysdeps/sparc/elf/configure.in: Moved to ...
22991 * sysdeps/sparc/configure.in: ... here.
22992 * sysdeps/sparc/elf/configure: Delete file.
22993 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22994 * sysdeps/sparc/sparc32/start.S: ... here.
22995 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22996 * sysdeps/sparc/sparc64/start.S: ... here.
22997 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22998 * sysdeps/sparc/sparc32/Makefile: ... this.
22999 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23000 * sysdeps/sparc/sparc64/Makefile: ... this.
23002 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23003 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23004 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23005 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23006 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23007 * sysdeps/s390/s390-32/setjmp.S: ... here.
23008 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23009 * sysdeps/s390/s390-32/configure.in: ... here.
23010 * sysdeps/s390/s390-32/elf/configure: Delete file.
23011 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23012 * sysdeps/s390/s390-32/start.S: ... here.
23014 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23015 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23016 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23017 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23018 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23019 * sysdeps/s390/s390-64/setjmp.S: ... here.
23020 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23021 * sysdeps/s390/s390-64/configure.in: ... here
23022 * sysdeps/s390/s390-64/elf/configure: Delete file.
23023 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23024 * sysdeps/s390/s390-64/start.S: ... here.
23025 * sysdeps/s390/s390-64/elf/configure: Delete.
23027 * configure.in: Remove support for elf directories in sysdeps.
23029 * configure: Regenerated.
23030 * sysdeps/i386/configure: Regenerated.
23031 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23032 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23033 * sysdeps/s390/s390-32/configure: Regenerated.
23034 * sysdeps/s390/s390-64/configure: Regenerated.
23035 * sysdeps/sh/configure: Regenerated.
23036 * sysdeps/sparc/configure: Regenerated.
23037 * sysdeps/x86_64/configure: Regenerated.
23039 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23044 denormal result into account.
23046 2012-03-25 Roland McGrath <roland@hack.frob.com>
23048 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23049 Reported by Allan McRae <allan@archlinux.org>.
23051 2012-03-23 Jeff Law <law@redhat.com>
23053 * nss/getnssent.c (__nss_getent): Fix typo.
23055 2012-03-23 David S. Miller <davem@davemloft.net>
23057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23059 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23061 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23062 to pad to uint64_t for each field.
23063 (dl_tls_index): Replace unsigned long with uint64_t.
23065 2012-03-23 Daniel Jacobowitz <dmj@google.com>
23066 Paul Pluzhnikov <ppluzhnikov@google.com>
23069 * grp/Makefile (otherlibs): Don't set it.
23070 * inet/Makefile (otherlibs): Likewise.
23071 * login/Makefile (otherlibs): Likewise.
23072 * nscd/Makefile (otherlibs): Likewise.
23073 * posix/Makefile (otherlibs): Likewise.
23074 * pwd/Makefile (otherlibs): Likewise.
23075 * rt/Makefile (otherlibs): Likewise.
23076 * sunrpc/Makefile (otherlibs): Likewise.
23077 * nss/Makefile (otherlibs): Likewise.
23078 Add libnss_files to routines and static-only-routines.
23079 ($(objpfx)getent): Remove rule.
23080 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23081 static-only-routines.
23083 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23086 * math/s_cexp.c: Include <float.h>.
23087 (__cexp): Handle exp result overflowing not necessarily
23088 overflowing both real and imaginary parts of result.
23089 * math/s_cexpf.c: Likewise.
23090 * math/s_cexpl.c: Likewise.
23091 * math/libm-test.inc (cexp_test): Add more tests.
23092 * sysdeps/i386/fpu/libm-test-ulps: Update.
23093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23095 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23097 * include/link.h (ELFW): New macro.
23098 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23099 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23101 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23103 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23106 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23108 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23110 (struct La_x32_retval): Likewise.
23112 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23114 * sysdeps/x86_64/preconfigure.in: New file.
23115 * sysdeps/x86_64/preconfigure: New generated file.
23117 2012-03-22 Joseph Myers <joseph@codesourcery.com>
23120 * math/e_exp2l.c: Include <float.h>.
23121 (__ieee754_exp2l): Handle overflow and underflow cases
23122 separately. Only pass fractional part of argument to
23124 * math/libm-test.inc (exp2_test): Add more tests.
23126 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23127 negating x to take absolute value.
23128 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23130 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23131 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23133 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23134 computing low part if x was negated.
23135 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23137 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23139 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23140 la_x32_gnu_pltexit.
23141 (pltexit): Cast int_retval to ptrdiff_t.
23142 * elf/tst-auditmod3b.c: Likewise.
23143 * elf/tst-auditmod4b.c: Likewise.
23144 * elf/tst-auditmod5b.c: Likewise.
23145 * elf/tst-auditmod6b.c: Likewise.
23146 * elf/tst-auditmod6c.c: Likewise.
23147 * elf/tst-auditmod7b.c: Likewise.
23149 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23150 and x32_gnu_pltexit.
23152 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23153 __ELF_NATIVE_CLASS.
23154 (La_x32_regs): New macro.
23155 (La_x32_retval): Likewise.
23156 (la_x32_gnu_pltenter): New function prototype.
23157 (la_x32_gnu_pltexit): Likewise.
23159 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23166 * configure.in (libc_cv_cc_nofma): Check for option to disable
23167 generation of FMA instructions.
23168 * configure: Regenerate.
23169 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23170 * sysdeps/ieee754/dbl-64/Makefile: New file.
23171 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23172 Remove brandred-fma4.
23173 (CFLAGS-brandred-fma4.c): Remove.
23174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23180 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23182 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23183 LLONG_MAX != LONG_MAX.
23184 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23185 (_fitoa_word): Likewise.
23186 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23187 LLONG_MAX != LONG_MAX.
23188 * stdio-common/_itowa.h: Include <_itoa.h>.
23189 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23190 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23191 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23192 only if not defined.
23193 (_ITOA_WORD_TYPE): Likewise.
23194 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23195 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23197 2012-03-21 David S. Miller <davem@davemloft.net>
23199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23201 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23203 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23204 of x86_64 when setting libc_cv_slibdir, libdir and
23206 * sysdeps/unix/sysv/linux/configure: Regenerated.
23208 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23210 * manual/lang.texi (Old Varargs): Remove section.
23211 (How Variadic): Update menu.
23212 (va_start): Do not mention varargs.h.
23214 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23215 Joseph Myers <joseph@codesourcery.com>
23217 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23219 * configure: Regenerated.
23221 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23223 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23224 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23227 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23230 * Makefile (files-for-dist): Remove NOTES.
23231 (NOTES): Remove rule.
23232 * README: Don't refer to NOTES.
23233 * manual/creature.texi: Don't include macros.texi.
23234 * manual/intro.texi (creature.texi): Remove comment referring to
23237 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23238 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23239 * configure: Regenerated.
23240 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23241 LIBC_TRY_CC_OPTION.
23242 (libc_cv_as_i686): Likewise.
23243 (libc_cv_cc_avx): Likewise.
23244 (libc_cv_cc_sse2avx): Likewise.
23245 (libc_cv_cc_fma4): Likewise.
23246 (libc_cv_cc_novzeroupper): Likewise.
23247 * sysdeps/i386/configure: Regenerated.
23250 * sysdeps/i386/fpu/s_cexp.S: Remove.
23251 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23252 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23253 * math/libm-test.inc (cexp_test): Add more tests.
23254 * sysdeps/i386/fpu/libm-test-ulps: Update.
23255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23257 2012-03-21 Allan McRae <allan@archlinux.org>
23259 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23261 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23264 * math/w_exp2.c: Do not include <float.h>.
23265 (o_threshold, u_threshold): Remove.
23266 (__exp2): Calculate result before checking finiteness and calling
23268 * math/w_exp2f.c: Likewise.
23269 * math/w_exp2l.c: Likewise.
23270 * math/libm-test.inc (exp2_test): Require overflow exception for
23274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23275 range of signed 64-bit integers before using fistpll. Remove
23276 checks for whether integers fit in mantissa bits.
23277 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23278 the range of signed 32-bit integers before using fistpl. Remove
23279 checks for whether integers fit in mantissa bits.
23280 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23281 (__ieee754_powl): Test for y outside the range of signed 64-bit
23282 integers before using fistpll. Reduce 64-bit values to 63-bit
23284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23285 divide-by-zero is raised for zero to large negative powers.
23286 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23287 (__ieee754_powl): Test for y outside the range of signed 64-bit
23288 integers before using fistpll. Reduce 64-bit values to 63-bit
23290 * math/libm-test.inc (pow_test): Add more tests.
23292 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23294 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23295 <stdio-common/_itoa.h>.
23296 * debug/segfault.c: Likewise.
23297 * elf/dl-cache.c: Likewise.
23298 * elf/dl-minimal.c: Likewise.
23299 * elf/dl-misc.c: Likewise.
23300 * elf/dl-sysdep.c: Likewise.
23301 * elf/dl-version.c: Likewise.
23302 * elf/rtld.c: Likewise.
23303 * hurd/hurdsock.c: Likewise.
23304 * hurd/lookup-retry.c: Likewise.
23305 * malloc/malloc.c: Likewise.
23306 * malloc/mtrace.c: Likewise.
23307 * nscd/nscd_getgr_r.c: Likewise.
23308 * nscd/nscd_getpw_r.c: Likewise.
23309 * nscd/nscd_getserv_r.c: Likewise.
23310 * posix/getopt_init.c: Likewise.
23311 * posix/wordexp.c: Likewise.
23312 * stdio-common/_itoa.c: Likewise.
23313 * stdio-common/printf_fphex.c: Likewise.
23314 * stdio-common/vfprintf.c: Likewise.
23315 * string/_strerror.c: Likewise.
23316 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23317 * sysdeps/i386/i686/hp-timing.h: Likewise.
23318 * sysdeps/mach/_strerror.c: Likewise.
23319 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23320 * sysdeps/mach/hurd/sethostid.c: Likewise.
23321 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23322 * sysdeps/mach/xpg-strerror.c: Likewise.
23323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23325 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23326 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23327 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23328 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23329 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23330 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23331 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23332 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23333 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23334 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23335 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23336 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23337 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23338 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23339 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23340 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23341 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23342 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23343 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23345 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23347 * stdio-common/_itoa.h: Moved to ...
23348 * sysdeps/generic/_itoa.h: Here.
23350 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23352 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23353 instead of "_itoa.h" and "_itowa.h".
23354 * stdio-common/vfprintf.: Likewise.
23356 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23358 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23360 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23361 (__signbit): Likwise.
23362 (llrintf): Likwise.
23365 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23367 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23370 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23372 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23373 OVERFLOW_EXCEPTION_OK.
23374 * math/libm-test.inc ("Philosophy"): Update comment about
23376 (OVERFLOW_EXCEPTION): Define.
23377 (OVERFLOW_EXCEPTION_OK): Likewise.
23378 (INVALID_EXCEPTION_OK): Renumber.
23379 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23380 (IGNORE_ZERO_INF_SIGN): Likewise.
23381 (test_exceptions): Handle FE_OVERFLOW.
23382 (exp10_test): Expect overflow exceptions.
23383 (exp2_test): Likewise.
23384 (expm1_test): Likewise.
23385 (nextafter_test): Likewise.
23386 (pow_test): Likewise.
23387 (scalbn_test): Likewise.
23388 (scalbln_test): Likewise.
23390 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23392 * sysdeps/x86_64/bits/atomic.h
23393 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23395 (atomic_exchange_acq): Likewise.
23396 (__arch_exchange_and_add_body): Likewise.
23397 (__arch_add_body): Likewise.
23398 (atomic_add_negative): Likewise.
23399 (atomic_add_zero): Likewise.
23401 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23403 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23404 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23406 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23408 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23409 Check __x86_64__ instead of __WORDSIZE.
23411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23413 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23415 2012-03-19 David S. Miller <davem@davemloft.net>
23417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23419 * sysdeps/sparc/fpu/fenv_private.h: New file.
23420 * sysdeps/sparc/fpu/math_private.h: Use it.
23421 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23423 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23424 (libc_feholdexcept_setroundl): Remove.
23425 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23427 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23428 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23430 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23432 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23433 int64_t instead of long int.
23434 (INSERT_WORDS64): Likwise.
23436 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23438 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23439 _Unwind_GetCFA return to _Unwind_Ptr first.
23441 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23444 * math/s_clog.c: Include <float.h>.
23445 (__clog): Scale large or subnormal inputs.
23446 * math/s_clogf.c: Likewise.
23447 * math/s_clogl.c: Likewise.
23448 * math/s_clog10.c: Include <float.h>.
23449 (M_LOG10_2): Define.
23450 (__clog10): Scale large or subnormal inputs.
23451 * math/s_clog10f.c: Likewise.
23452 * math/s_clog10l.c: Likewise.
23453 * math/libm-test.inc (clog_test): Add more tests.
23454 (clog10_test): Likewise.
23455 * sysdeps/i386/fpu/libm-test-ulps: Update.
23456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23459 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23461 * math/libm-test.inc (atan2_test): Add another test.
23463 * Makerules (common-objdir-compile): Remove.
23464 * sysdeps/unix/Makefile (config-generated): Do not add
23465 $(unix-generated) to variable.
23466 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23467 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23469 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23471 [generic bits/local_lim.h] (before-compile): Do not append to
23473 [generic bits/local_lim.h] (common-generated): Likewise.
23474 [generic sys/param.h] (before-compile): Do not append to variable.
23475 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23476 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23477 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23478 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23480 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23481 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23482 [generic sys/param.h] ($(addprefix
23483 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23484 [generic sys/param.h] (common-generated): Do not append to
23486 [generic sys/param.h] (sysdep_headers): Likewise.
23487 [generic bits/errno.h] (before-compile): Do not append to
23489 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23491 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23492 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23493 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23494 [generic bits/errno.h] (common-generated): Do not append to
23496 [generic bits/ioctls.h] (before-compile): Do not append to
23498 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23500 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23501 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23502 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23504 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23505 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23506 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23507 [generic bits/ioctls.h] (common-generated): Do not append to
23509 [generic sys/syscall.h] (syscall.h): Remove variable.
23510 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23512 [generic sys/syscall.h] (before-compile): Do not append to
23514 [generic sys/syscall.h] (common-generated): Likewise.
23515 * sysdeps/unix/errnos-tmpl.c: Remove file.
23516 * sysdeps/unix/errnos.awk: Likewise.
23517 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23518 * sysdeps/unix/ioctls.awk: Likewise.
23519 * sysdeps/unix/mk-local_lim.c: Likewise.
23520 * sysdeps/unix/snarf-ioctls: Likewise.
23522 2012-03-19 Richard Henderson <rth@twiddle.net>
23524 * sysdeps/i386/fpu/fenv_private.h: New file.
23525 * sysdeps/i386/fpu/math_private.h: Use it.
23526 (math_opt_barrier, math_force_eval): Remove.
23527 (libc_feholdexcept_setround_53bit): Remove.
23528 (libc_feupdateenv_53bit): Remove.
23529 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23530 (math_opt_barrier, math_force_eval): Remove.
23531 (libc_feholdexcept): Remove.
23532 (libc_feholdexcept_setround): Remove.
23533 (libc_fetestexcept, libc_fesetenv): Remove.
23534 (libc_feupdateenv_test): Remove.
23535 (libc_feupdateenv, libc_feholdsetround): Remove.
23536 (libc_feresetround): Remove.
23538 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23539 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23541 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23542 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23543 (libc_feupdateenv_testl): New.
23544 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23545 (libc_feupdateenv_testf): New.
23546 (libc_feupdateenv): Use libc_feupdateenv_test.
23547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23550 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23551 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23552 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23553 (libc_feresetround_noex): New.
23554 (libc_feresetround_noexf): New.
23555 (libc_feresetround_noexl): New.
23556 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23557 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23558 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23559 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23564 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23565 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23566 SET_RESTORE_ROUND_NOEX.
23567 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23568 SET_RESTORE_ROUND_NOEXF.
23569 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23570 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23571 (libc_feholdsetroundf): New.
23572 (libc_feresetround, libc_feresetroundf): New.
23574 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23575 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23576 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23578 * sysdeps/generic/math_private.h: Include <fenv.h>.
23579 (default_libc_feholdexcept): New.
23580 (default_libc_feholdexcept_setround): New.
23581 (default_libc_fesetenv, default_libc_feupdateenv): New.
23582 (libc_feholdexcept): Only define if undefined.
23583 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23584 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23585 (libc_feholdexcept_setroundl): Likewise.
23586 (libc_feholdexcept_setround_53bit): Likewise.
23587 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23588 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23589 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23590 (libc_feupdateenv_53bit): Likewise.
23591 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23592 (libc_feholdexcept): Convert from macro to inline function.
23593 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23594 (libc_fesetenv, libc_feupdateenv): Likewise.
23596 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23597 not previously defined.
23598 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23599 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23600 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23601 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23602 * sysdeps/ieee754/flt-32/math_private.h: New file.
23603 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23604 math_private.h below SET_FLOAT_WORD.
23605 (__isnan, __isinf_ns, __finite): Remove.
23606 (__isnanf, __isinf_nsf, __finitef): Remove.
23608 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23612 2012-03-17 David S. Miller <davem@davemloft.net>
23615 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23618 2012-03-16 David S. Miller <davem@davemloft.net>
23620 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23624 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23626 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23627 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23628 sysdep_routines when subdir is sysvipc.
23629 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23630 __getshmlba helper.
23632 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23634 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23636 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23639 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23642 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23643 (__lround): Renamed to ...
23644 (__llround): This. Replace long int with long long int.
23645 Define lround functions as aliases of llround functions.
23646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23648 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23650 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23651 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23652 adresses to uintptr_t. Replace "long int" and "unsigned long
23653 int" with "greg_t" on va_arg.
23655 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23657 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23658 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23660 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23661 Move e_machine check before EI_CLASS check. Handle x32
23662 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23663 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23664 SKIP_EM_IA_64 and include
23665 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23667 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23668 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23669 (add_system_dir): New macro.
23671 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23672 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23674 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23685 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23687 * math/w_j0f.c (j0f): Likewise.
23689 * math/w_j0l.c (__j0l): Likewise.
23691 * math/w_j1.c (j1): Likewise.
23693 * math/w_j1f.c (j1f): Likewise.
23695 * math/w_j1l.c (__j1l): Likewise.
23697 * math/w_jn.c (jn): Likewise.
23699 * math/w_jnf.c (jnf): Likewise.
23701 * math/w_jnl.c (__jnl): Likewise.
23703 * math/libm-test.inc (j0_test): Add more tests.
23704 (j1_test): Likewise.
23705 (jn_test): Likewise. Add trailing semicolon to existing test.
23706 (y0_test): Likewise.
23707 (y1_test): Likewise.
23708 * sysdeps/i386/fpu/libm-test-ulps: Update.
23709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23713 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23714 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23715 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23717 (__tanl): Set errno for infinite argument.
23718 * sysdeps/i386/fpu/mptan.c: Remove.
23719 * sysdeps/i386/fpu/s_tan.S: Likewise.
23720 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23721 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23722 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23723 * math/libm-test.inc (tan_test): Add more tests and enable more
23724 tests for double and long double.
23725 * sysdeps/i386/fpu/libm-test-ulps: Update.
23726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23728 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23730 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23731 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23733 2012-03-16 Roland McGrath <roland@hack.frob.com>
23735 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23736 * configure.in: Use it for both main tree and add-ons.
23737 * configure: Regenerated.
23739 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23741 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23743 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23745 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23749 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23750 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23755 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23757 != 0 for prec == 2.
23758 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23759 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23760 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23761 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23762 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23763 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23764 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23765 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23766 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23767 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23768 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23769 * math/libm-test.inc (cos_test): Add more tests and enable more
23770 tests for long double.
23771 (sin_test): Likewise.
23772 (sincos_test): Likewise.
23773 * sysdeps/i386/fpu/libm-test-ulps: Update.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23776 2012-03-16 David S. Miller <davem@davemloft.net>
23778 * sysdeps/sparc/fpu/math_private.h: New file.
23780 2012-03-15 David S. Miller <davem@davemloft.net>
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23796 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23797 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23799 * sysdeps/sparc/sparc-ifunc.h: New file.
23800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23845 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23847 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23851 2012-03-15 Andreas Jaeger <aj@suse.de>
23854 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23855 ieee754/flt-32 implementation for sin, cos and sincos.
23856 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23857 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23858 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23859 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23860 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23861 ieee754/flt-32 implementation for tan.
23863 * math/libm-test.inc (cos_test): Enable some large input tests for
23865 (sin_test): Likewise.
23866 (sincos_test): Likewise.
23867 (tan_test): Add tests for large input.
23869 * sysdeps/i386/fpu/libm-test-ulps: Update.
23871 2012-03-15 Andreas Jaeger <aj@suse.de>
23874 * math/libm-test.inc (cos_test): Add more test cases.
23875 (sin_test): Likewise.
23876 (sincos_test): Likewise.
23878 2012-03-15 Andreas Jaeger <aj@suse.de>
23881 * math/libm-test.inc (cos_test): Add a test case for large input
23883 (sin_test): Likewise.
23884 (sincos_test): Likewise.
23886 2012-03-15 Andreas Jaeger <aj@suse.de>,
23887 Joseph Myers <joseph@codesourcery.com>
23890 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23891 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23892 * sysdeps/i386/fpu/branred.c: Likewise.
23893 * sysdeps/i386/fpu/dosincos.c: Likewise.
23894 * sysdeps/i386/fpu/mpa.c: Likewise.
23895 * sysdeps/i386/fpu/s_cos.S: Likewise.
23896 * sysdeps/i386/fpu/s_sin.S: Likewise.
23897 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23898 * sysdeps/i386/fpu/sincos32.c: Likewise.
23900 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23902 (libc_feupdateenv_53bit): Define.
23903 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23905 (libc_feupdateenv_53bit): Define.
23907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23908 53 bit (without extend i386 double precision).
23910 * math/libm-test.inc (sincos_test): Add tests for large input.
23914 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23916 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23920 2012-03-15 David S. Miller <davem@davemloft.net>
23922 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23923 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23924 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23925 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23950 fmin/fmax sysdep routines.
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23953 2012-03-14 David S. Miller <davem@davemloft.net>
23955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24032 * sysdeps/sparc/configure.in: New file.
24033 * sysdeps/sparc/configure: Generate.
24034 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24035 * configure: Regenerate.
24036 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24037 * config.make.in (have-as-vis3): New.
24038 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24039 available use -Av9d instead of -Av9a.
24040 * sysdeps/sparc/sparc64/Makefile: Likewise.
24041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24056 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24057 fzeros/fnegs to load 0x80000000 into a float register instead of
24059 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24061 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24065 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24066 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24067 ($(inst_includedir)/bits/syscall.h): Remove rule.
24068 ($(objpfx)bits/syscall.d): Include instead of
24069 $(objpfx)syscall-list.d.
24070 (generated): Change syscall-list.h and syscall-list.d to
24071 bits/syscall.h and bits/syscall.d.
24073 2012-03-14 Roland McGrath <roland@hack.frob.com>
24076 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24078 2012-03-14 Joseph Myers <joseph@codesourcery.com>
24081 * math/s_csqrt.c: Include <float.h>.
24082 (__csqrt): Scale large or subnormal inputs.
24083 * math/s_csqrtf.c: Likewise.
24084 * math/s_csqrtl.c: Likewise.
24085 * math/libm-test.inc (csqrt_test): Add more tests.
24086 * sysdeps/i386/fpu/libm-test-ulps: Update.
24087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24090 * math/libm-test.inc (hypot_test): Add more tests.
24092 2012-03-13 David S. Miller <davem@davemloft.net>
24095 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24096 double-precision for the calculation instead of scaling.
24098 2012-03-13 Joseph Myers <joseph@codesourcery.com>
24100 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24101 manipulate bits before adding and subtracting TWO52[sx].
24102 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24105 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24107 2012-03-13 David S. Miller <davem@davemloft.net>
24109 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24110 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24112 rtld-global-offsets.h
24113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24118 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24120 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24121 'err' in the ifdef scope in which it is actually used.
24123 * nss/nss_db/db-init.c: Include string.h
24125 2012-03-12 David S. Miller <davem@davemloft.net>
24127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24128 masking out of the most significant byte of random value used.
24129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24130 Fix coding style in previous change.
24132 * sysdeps/unix/sysv/linux/kernel-features.h
24133 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24134 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24136 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24139 2012-03-11 David S. Miller <davem@davemloft.net>
24141 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24142 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24143 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24144 for 'resultvar' otherwise things get truncated on 64-bit.
24146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24147 Fix masking out of the most significant byte of random value used.
24149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24151 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24155 2012-03-09 David S. Miller <davem@davemloft.net>
24157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24158 variables with appropriate CPP guards.
24159 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24160 frame pointer, not the stack pointer. Correct layout comments. Fix test
24161 on resulting framesize and the management of the outregs buffer for pltexit.
24162 Preserve floating point return values across _dl_call_pltexit call.
24163 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24164 framesize and the management of the outregs buffer for pltexit.
24165 Preserve floating point return values across _dl_call_pltexit
24167 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24168 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24169 (print_exit): Fix format string for return register value.
24171 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24173 * sunrpc/Makefile (others): Add rpcgen.
24174 ($(objpfx)rpcgen): Remove special build rule and dependency on
24176 * sunrpc/rpcgen.c: New file.
24178 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24181 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24182 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24183 * sysdeps/i386/crti.S: Likewise.
24184 * sysdeps/i386/crtn.S: Likewise.
24185 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24186 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24187 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24188 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24189 * sysdeps/sh/crti.S: Likewise.
24190 * sysdeps/sh/crtn.S: Likewise.
24191 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24194 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24196 * locale/programs/locfile-kw.gperf: Likewise.
24197 * locale/programs/charmap-kw.h: Regenerated.
24198 * locale/programs/locfile-kw.h: Likewise.
24201 * intl/plural.y: Replace FSF snail mail address with URL.
24202 * intl/plural.c: Regenerated.
24204 2012-03-09 Richard Henderson <rth@twiddle.net>
24206 * include/math_private.h: Remove file.
24207 * math/math_private.h: Move file ...
24208 * sysdeps/generic/math_private.h: ... here.
24210 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24211 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24214 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24215 and <math_private.h>.
24216 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24217 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24218 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24219 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24220 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24221 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24222 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24228 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24230 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24231 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24246 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24248 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24253 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24254 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24257 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24258 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24262 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24263 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24265 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24266 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24267 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24268 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24269 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24270 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24273 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24274 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24275 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24277 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24280 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24284 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24285 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24287 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24290 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24297 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24299 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24303 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24304 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24307 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24309 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24310 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24311 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24313 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24314 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24316 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24317 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24318 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24319 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24320 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24321 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24322 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24323 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24324 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24325 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24326 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24327 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24328 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24329 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24330 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24331 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24335 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24336 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24337 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24339 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24340 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24341 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24343 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24344 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24345 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24346 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24347 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24348 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24349 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24350 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24351 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24354 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24357 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24358 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24359 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24360 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24361 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24362 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24363 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24364 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24365 * sysdeps/ieee754/k_standard.c: Likewise.
24366 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24370 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24378 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24379 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24380 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24381 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24383 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24388 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24389 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24390 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24391 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24392 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24393 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24394 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24396 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24397 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24399 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24400 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24401 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24403 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24404 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24405 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24406 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24407 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24408 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24409 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24410 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24411 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24418 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24422 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24423 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24427 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24443 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24458 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24459 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24462 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24464 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24465 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24469 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24473 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24474 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24483 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24485 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24486 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24488 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24489 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24490 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24492 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24493 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24494 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24495 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24498 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24499 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24502 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24503 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24504 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24505 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24509 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24511 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24512 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24515 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24516 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24526 * sysdeps/ieee754/s_lib_version.c: Likewise.
24527 * sysdeps/ieee754/s_matherr.c: Likewise.
24528 * sysdeps/ieee754/s_signgam.c: Likewise.
24529 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24532 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24533 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24534 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24535 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24536 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24537 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24538 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24539 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24540 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24541 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24542 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24543 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24547 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24551 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24553 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24554 * sunrpc/rpc_main.c: Likewise.
24555 * sunrpc/rpc_svcout.c: Likewise.
24557 2012-03-09 David S. Miller <davem@davemloft.net>
24559 * include/math_private.h: New file.
24561 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24563 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24564 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24565 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24566 from <bits/socket_type.h>.
24567 (enum __socket_type): Don't define here.
24568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24570 bits/socket_type.h.
24573 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24574 checking __USE_GNU.
24576 * Makerules ($(inst_includedir)/%.h): New rule.
24577 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24578 (install-others): Remove variable setting.
24579 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24581 2012-03-08 Richard Henderson <rth@twiddle.net>
24583 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24584 from macro to inline function; merge with the
24585 !__LIBC_INTERNAL_MATH_INLINES version.
24586 (__ieee754_sqrtf): Likewise.
24588 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24589 to inline function.
24590 (__rintf, __floor, __floorf): Likewise.
24592 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24593 macro to inline function.
24594 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24596 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24597 not <math/math_private.h>.
24599 2012-03-08 David S. Miller <davem@davemloft.net>
24601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24603 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24605 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24607 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24609 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24610 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24612 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24614 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24615 be defined individually, they must be defined as a block. Define
24616 S for printing a string instead of hidint the different by using a
24617 macro for adding the 'l'.
24618 * stdio-common/tst-fphex-wide.c: Adjust.
24620 2012-03-07 Marek Polacek <polacek@redhat.com>
24622 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24624 2012-03-08 Marek Polacek <polacek@redhat.com>
24627 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24628 * stdio-common/tst-fphex.c: Define a few macros to make the
24629 test reusable. Use them.
24630 * stdio-common/tst-fphex-wide.c: New file.
24632 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24635 * manual/macros.texi (gnusystems): New macro.
24636 (nongnusystems): Likewise.
24637 (gnulinuxhurdsystems): Likewise.
24638 (gnuhurdsystems): Likewise..
24639 (gnulinuxsystems): Likewise.
24640 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24641 variants of the GNU system, not "GNU system".
24642 * manual/conf.texi: Likewise.
24643 * manual/errno.texi: Likewise. Update example of errno macro
24645 * manual/filesys.texi: Likewise.
24646 (getumask): Document as specific to GNU/Hurd.
24647 * manual/install.texi: Likewise. Reword some references to
24649 * manual/intro.texi: Likewise.
24650 * manual/io.texi: Likewise.
24651 (File Name Portability): Detail which constraints are inapplicable
24652 to all GNU systems and which are only inapplicable to GNU/Hurd.
24653 * manual/job.texi: Likewise.
24654 * manual/llio.texi: Likewise.
24655 (O_NOCTTY): Document as present on GNU/Linux.
24656 * manual/maint.texi: Likewise.
24657 * manual/memory.texi: Likewise.
24658 * manual/pattern.texi: Likewise.
24659 * manual/pipe.texi: Likewise.
24660 * manual/process.texi: Likewise.
24661 * manual/resource.texi: Likewise.
24662 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24664 * manual/setjmp.texi: Likewise.
24665 * manual/signal.texi: Likewise.
24666 * manual/startup.texi: Likewise.
24667 * manual/stdio.texi: Likewise.
24668 * manual/terminal.texi: Likewise.
24669 (ONLCR): Document as POSIX.
24670 (OXTABS): Document availability on GNU/Linux as XTABS.
24671 (ONOEOT): Document availability separately from other bits.
24672 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24673 * manual/time.texi: Likewise.
24674 * manual/users.texi: Likewise.
24675 * INSTALL: Regenerated.
24676 * sysdeps/gnu/errlist.c: Regenerated.
24678 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24679 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24680 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24682 * configure: Regenerated.
24684 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24686 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24687 default includes instead of AC_HEADER_CHECK.
24688 * sysdeps/i386/configure: Regenerated.
24691 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24692 * math/s_cacoshf.c (__cacoshf): Likewise.
24693 * math/s_cacoshl.c (__cacoshl): Likewise.
24694 * math/s_casinh.c (__casinh): Set signs of result from argument.
24695 * math/s_casinhf.c (__casinhf): Likewise.
24696 * math/s_casinhl.c (__casinhl): Likewise.
24697 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24698 (casinh_test): Add more tests.
24699 * sysdeps/i386/fpu/libm-test-ulps: Update.
24700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24702 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24704 * po/zh_TW.po: Update from translation team.
24706 * login/Makefile (distribute): Remove variable.
24707 * catgets/Makefile: Likewise.
24708 * mach/Makefile: Likewise.
24709 * malloc/Makefile: Likewise.
24710 * misc/Makefile: Likewise.
24711 * iconv/Makefile: Likewise.
24712 * nscd/Makefile: Likewise.
24713 * hurd/Makefile: Likewise.
24714 * manual/Makefile: Likewise.
24715 * locale/Makefile: Likewise.
24716 * intl/Makefile: Likewise.
24717 * conform/Makefile: Likewise.
24718 * nss/Makefile: Likewise.
24719 * time/Makefile: Likewise.
24720 * soft-fp/Makefile: Likewise.
24721 * dirent/Makefile: Likewise.
24722 * gmon/Makefile: Likewise.
24723 * po/Makefile: Likewise.
24724 * rt/Makefile: Likewise.
24725 * socket/Makefile: Likewise.
24726 * math/Makefile: Likewise.
24727 * signal/Makefile: Likewise.
24728 * debug/Makefile: Likewise.
24729 * elf/Makefile: Likewise.
24730 * timezone/Makefile: Likewise.
24731 * stdlib/Makefile: Likewise.
24732 * iconvdata/Makefile: Likewise.
24733 * sunrpc/Makefile: Likewise.
24734 * io/Makefile: Likewise.
24735 * argp/Makefile: Likewise.
24736 * inet/Makefile: Likewise.
24737 * hesiod/Makefile: Likewise.
24738 * grp/Makefile: Likewise.
24739 * csu/Makefile: Likewise.
24740 * wctype/Makefile: Likewise.
24741 * crypt/Makefile: Likewise.
24742 * libio/Makefile: Likewise.
24743 * string/Makefile: Likewise.
24744 * nis/Makefile: Likewise.
24745 * resolv/Makefile: Likewise.
24746 * stdio-common/Makefile: Likewise.
24747 * wcsmbs/Makefile: Likewise.
24748 * dlfcn/Makefile: Likewise.
24749 * posix/Makefile: Likewise.
24752 * timezone/Makefile: Don't install timezone files, just the programs
24755 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24757 * nss/databases.def: Add missing gshadow entry.
24759 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24761 2012-03-06 Marek Polacek <polacek@redhat.com>
24764 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24765 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24766 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24767 * stdio-common/tst-long-dbl-fphex.c: New file.
24769 2012-03-06 David S. Miller <davem@davemloft.net>
24771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24772 (set_obp_int): New function.
24773 (get_obp_int): New function.
24774 (__get_clockfreq_via_dev_openprom): Likewise.
24775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24776 Avoid unused variable warnings on 'val' and use builtin_expect.
24777 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24779 (INLINE_CLONE_SYSCALL): Likewise.
24781 2012-03-05 David S. Miller <davem@davemloft.net>
24783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24785 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24790 only for |x| >= 40.
24791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24793 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24796 Replace gettimeofday with __vdso_gettimeofday.
24798 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24799 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24800 __vdso_clock_gettime and __vdso_getcpu.
24802 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24803 time with __vdso_time.
24805 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24807 * manual/lang.texi (size_t): Note types to which size_t may be
24808 equivalent with the GNU C Library, but do not describe when
24809 differences between them are significant.
24811 2012-03-05 Andreas Jaeger <aj@suse.de>
24813 * sysdeps/i386/fpu/libm-test-ulps: Update.
24815 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24818 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24819 (__ieee754_pow): Save and restore rounding mode and use
24820 round-to-nearest for main computations.
24821 * math/libm-test.inc (pow_test_tonearest): New function.
24822 (pow_test_towardzero): Likewise.
24823 (pow_test_downward): Likewise.
24824 (pow_test_upward): Likewise.
24825 (main): Call the new functions.
24826 * sysdeps/i386/fpu/libm-test-ulps: Update.
24827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24830 * math/libm-test.inc (cosh_test_tonearest): New function.
24831 (cosh_test_towardzero): Likewise.
24832 (cosh_test_downward): Likewise.
24833 (cosh_test_upward): Likewise.
24834 (sinh_test_tonearest): Likewise.
24835 (sinh_test_towardzero): Likewise.
24836 (sinh_test_downward): Likewise.
24837 (sinh_test_upward): Likewise.
24838 (main): Call the new functions.
24839 * sysdeps/i386/fpu/libm-test-ulps: Update.
24840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24842 2012-03-05 Tom de Vries <tom@codesourcery.com>
24844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24845 default stack guard is set in last bytes.
24846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24848 2012-03-05 Kees Cook <keescook@chromium.org>
24850 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24853 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24854 possibly allocate from heap instead of stack.
24855 * stdio-common/bug-vfprintf-nargs.c: New file.
24856 * stdio-common/Makefile (tests): Add nargs overflow test.
24858 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24862 2012-03-03 Marek Polacek <polacek@redhat.com>
24864 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24865 * math/math_private.h: Likewise.
24866 * stdlib/tst-strtod.c: Likewise.
24867 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24868 * sysdeps/x86_64/bits/atomic.h: Likewise.
24870 2012-03-02 David S. Miller <davem@davemloft.net>
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24878 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24879 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24881 2012-03-02 Roland McGrath <roland@hack.frob.com>
24884 * manual/examples/README: New file, says the example source files
24885 can be used under GPL>=2.
24886 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24887 line containing just "*/".
24888 * manual/examples/add.c: Add copyright header (GPL>=2).
24889 * manual/examples/argp-ex1.c: Likewise.
24890 * manual/examples/argp-ex2.c: Likewise.
24891 * manual/examples/argp-ex3.c: Likewise.
24892 * manual/examples/argp-ex4.c: Likewise.
24893 * manual/examples/atexit.c: Likewise.
24894 * manual/examples/db.c: Likewise.
24895 * manual/examples/dir.c: Likewise.
24896 * manual/examples/dir2.c: Likewise.
24897 * manual/examples/execinfo.c: Likewise.
24898 * manual/examples/filecli.c: Likewise.
24899 * manual/examples/filesrv.c: Likewise.
24900 * manual/examples/fmtmsgexpl.c: Likewise.
24901 * manual/examples/genpass.c: Likewise.
24902 * manual/examples/inetcli.c: Likewise.
24903 * manual/examples/inetsrv.c: Likewise.
24904 * manual/examples/isockad.c: Likewise.
24905 * manual/examples/longopt.c: Likewise.
24906 * manual/examples/memopen.c: Likewise.
24907 * manual/examples/memstrm.c: Likewise.
24908 * manual/examples/mkfsock.c: Likewise.
24909 * manual/examples/mkisock.c: Likewise.
24910 * manual/examples/mygetpass.c: Likewise.
24911 * manual/examples/pipe.c: Likewise.
24912 * manual/examples/popen.c: Likewise.
24913 * manual/examples/rprintf.c: Likewise.
24914 * manual/examples/search.c: Likewise.
24915 * manual/examples/select.c: Likewise.
24916 * manual/examples/setjmp.c: Likewise.
24917 * manual/examples/sigh1.c: Likewise.
24918 * manual/examples/sigusr.c: Likewise.
24919 * manual/examples/stpcpy.c: Likewise.
24920 * manual/examples/strdupa.c: Likewise.
24921 * manual/examples/strftim.c: Likewise.
24922 * manual/examples/strncat.c: Likewise.
24923 * manual/examples/subopt.c: Likewise.
24924 * manual/examples/swapcontext.c: Likewise.
24925 * manual/examples/termios.c: Likewise.
24926 * manual/examples/testopt.c: Likewise.
24927 * manual/examples/testpass.c: Likewise.
24928 * manual/examples/timeval_subtract.c: Likewise.
24931 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24933 * manual/timeval_subtract.c.texi: ... here, new file.
24935 2012-03-02 David S. Miller <davem@davemloft.net>
24937 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24939 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24942 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24943 (__sin): Save and restore rounding mode and use round-to-nearest
24944 for all computations.
24945 (__cos): Save and restore rounding mode and use round-to-nearest
24946 for all computations.
24947 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24949 (tan): Save and restore rounding mode and use round-to-nearest for
24951 * math/libm-test.inc (cos_test_tonearest): New function.
24952 (cos_test_towardzero): Likewise.
24953 (cos_test_downward): Likewise.
24954 (cos_test_upward): Likewise.
24955 (sin_test_tonearest): Likewise.
24956 (sin_test_towardzero): Likewise.
24957 (sin_test_downward): Likewise.
24958 (sin_test_upward): Likewise.
24959 (tan_test_tonearest): Likewise.
24960 (tan_test_towardzero): Likewise.
24961 (tan_test_downward): Likewise.
24962 (tan_test_upward): Likewise.
24963 (main): Call the new functions.
24964 * sysdeps/i386/fpu/libm-test-ulps: Update.
24965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24968 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24969 small n, then large n, before computing and testing k+n.
24970 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24975 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24976 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24983 * math/libm-test.inc (scalbn_test): Add more tests.
24984 (scalbln_test): Likewise.
24986 * manual/filesys.texi (mode_t): Describe constraints on size and
24987 signedness, not exact equivalence to a particular type.
24989 (ino64_t): Likewise.
24991 (nlink_t): Likewise.
24992 (blkcnt_t): Likewise.
24993 (blkcnt64_t): Likewise.
24994 * manual/llio.texi (off_t): Likewise.
24997 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24998 (__ieee754_exp): Save and restore rounding mode and use
24999 round-to-nearest for all computations.
25000 * math/libm-test.inc (exp_test_tonearest): New function.
25001 (exp_test_towardzero): Likewise.
25002 (exp_test_downward): Likewise.
25003 (exp_test_upward): Likewise.
25004 (main): Call the new functions.
25005 * sysdeps/i386/fpu/libm-test-ulps: Update.
25006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25008 2012-03-01 Chris Demetriou <cgd@google.com>
25010 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25011 have predictable order.
25013 2012-03-01 David S. Miller <davem@davemloft.net>
25015 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25017 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25018 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25019 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25020 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25022 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25023 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25024 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25026 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25027 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25028 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25029 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25035 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25038 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25039 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25041 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25042 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25045 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25047 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25048 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25051 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25054 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25055 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25056 * sysdeps/sparc/elf/configure: Regenerated.
25058 2012-03-01 Joseph Myers <joseph@codesourcery.com>
25060 * configure.in (AS, LD): Require binutils 2.20 or later.
25061 * configure: Regenerated.
25062 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25063 as required minimum version.
25064 * INSTALL: Regenerated.
25068 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25069 before squaring exponent.
25070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25071 bottom long double and 27 bits of top long double before squaring
25073 * math/libm-test.inc (erfc_test): Add more tests.
25074 * sysdeps/i386/fpu/libm-test-ulps: Update.
25075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25078 2012-03-01 Kai Tietz <ktietz@redhat.com>
25080 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25081 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25082 containing bit-fields.
25083 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25084 * soft-fp/single.h (_FP_UNION_S): Likewise.
25085 * soft-fp/double.h (_FP_UNION_D): Likewise.
25087 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25090 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25091 not include ../strcmp.S.
25092 [USE_AS_STRNCASECMP_L]: Likewise.
25093 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25094 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25095 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25096 (__strncasecmp_l_ia32): Define as alias to
25097 __strncasecmp_l_nonascii.
25100 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25101 * sysdeps/i386/fpu/libm-test-ulps: Update.
25102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25104 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25107 2012-02-29 Jeff Law <law@redhat.com>
25109 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25110 out of bounds read.
25112 2012-02-29 Marek Polacek <polacek@redhat.com>
25115 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25116 * elf/Makefile: Add rules to run tst-unused-dep.out.
25118 2012-02-28 David S. Miller <davem@davemloft.net>
25120 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25121 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25124 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25125 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25127 2012-02-29 Joseph Myers <joseph@codesourcery.com>
25129 * math/libm-test.inc (llround_test): Move one test from
25130 lround_test. Use TEST_f_L in moved test.
25131 (lround_test): Move misplaced test to llround_test. Add testcase
25134 2012-02-28 Ulrich Drepper <drepper@gmail.com>
25136 * sysdeps/x86_64/fpu/e_expf.S: New file.
25137 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25139 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25142 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25143 of remain_len that may cause incomplete multi-byte character and
25145 * posix/bug-regex33.c: New file.
25146 * posix/Makefile (tests): Add bug-regex33.
25148 2012-02-28 Joseph Myers <joseph@codesourcery.com>
25150 * manual/macros.texi: New file.
25151 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25152 * manual/libc.texinfo: Include macros.texi.
25153 * manual/creatute.texi: Likewise.
25154 * manual/install.texi: Likewise.
25155 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25156 @glibcadj{} in references to the GNU C Library.
25157 * manual/charset.texi: Likewise.
25158 * manual/conf.texi: Likewise.
25159 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25160 when not using those macros.
25161 * manual/creature.texi: Likewise.
25162 * manual/crypt.texi: Likewise.
25163 * manual/errno.texi: Likewise.
25164 * manual/filesys.texi: Likewise.
25165 * manual/header.texi: Likewise.
25166 * manual/install.texi: Likewise.
25167 * manual/intro.texi: Likewise.
25168 * manual/io.texi: Likewise.
25169 * manual/job.texi: Likewise.
25170 * manual/lang.texi: Likewise.
25171 * manual/libc.texiinfo: Likewise.
25172 * manual/llio.texi: Likewise.
25173 * manual/locale.texi: Likewise.
25174 * manual/maint.texi: Likewise.
25175 * manual/math.texi: Likewise.
25176 * manual/memory.texi: Likewise.
25177 * manual/message.texi: Likewise.
25178 * manual/nss.texi: Likewise.
25179 * manual/pattern.texi: Likewise.
25180 * manual/process.texi: Likewise.
25181 * manual/resource.texi: Likewise.
25182 * manual/search.texi: Likewise.
25183 * manual/setjmp.texi: Likewise.
25184 * manual/signal.texi: Likewise.
25185 * manual/socket.texi: Likewise.
25186 * manual/startup.texi: Likewise.
25187 * manual/stdio.texi: Likewise.
25188 * manual/string.texi: Likewise.
25189 * manual/sysinfo.texi: Likewise.
25190 * manual/syslog.texi: Likewise.
25191 * manual/terminal.texi: Likewise.
25192 * manual/time.texi: Likewise.
25193 * manual/users.texi: Likewise.
25194 * INSTALL: Regenerated.
25195 * NOTES: Regenerated.
25196 * sysdeps/gnu/errlist.c: Regenerated.
25198 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25200 * include/dirent.h: Include <dirstream.h> before
25203 2012-02-28 David S. Miller <davem@davemloft.net>
25205 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25206 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25207 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25210 2012-02-27 David S. Miller <davem@davemloft.net>
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25215 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25218 frame pointer instead of stack pointer relative arg slot.
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25223 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25226 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25228 2012-02-27 David S. Miller <davem@davemloft.net>
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25236 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25237 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25239 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25241 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25242 later. Allow versions 5-9.
25243 * configure: Regenerated.
25244 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25245 required minimum version and 4.6 as recommended version. Do not
25246 mention bugs in GCC 2.7 and 2.8.
25247 * INSTALL: Regenerated.
25249 2012-02-27 David S. Miller <davem@davemloft.net>
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25255 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25256 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25257 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25258 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25261 manipulate bits before adding and subtracting TWO112[sx].
25262 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25264 2012-02-27 Roland McGrath <roland@hack.frob.com>
25267 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25268 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25269 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25270 being in POSIX, because they are in 1003.1-2008.
25272 * rt/tst-aio.c: Include <fcntl.h>.
25273 * rt/tst-aio7.c: Likewise.
25274 * rt/tst-aio64.c: Likewise.
25276 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25278 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25280 * manual/install.texi (--with-headers): Describe headers as
25281 interface headers, not private headers.
25282 (Specific advice for GNU/Linux systems): Describe use of headers
25283 from "make headers_install", not private headers from older
25285 * INSTALL: Regenerated.
25286 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25288 * sysdeps/unix/sysv/linux/configure: Regenerated.
25290 * manual/llio.texi (fclean): Remove documentation.
25292 * manual/Makefile (libc-texi-generated): New variable. Include
25294 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25295 $(libc-texi-generated), not duplicated list of files.
25296 (version.texi, stamp-version): New rules.
25297 (realclean): Remove $(libc-texi-generated), not individual files
25298 from that list. Do not remove dir-add.texinfo.
25299 * manual/libc.texinfo: Comment out uses of edition numbers and
25300 references to printed manual. Remove last-updated dates.
25301 (EDITION): Comment out.
25303 (VERSION, UPDATED): Remove.
25304 (version.texi): Include.
25306 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25308 * sysdeps/posix/spawni.c: Include <signal.h>.
25309 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25310 * sysdeps/pthread/aio_fsync.c: Likewise.
25312 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25314 * conform/Makefile (tests): Run only when not cross-compiling and
25315 when fast-check is not defined.
25317 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25318 * conform/data/limits.h-data: Fixes for POSIX2008.
25319 * conform/run-conformtest.sh: Run all tests.
25320 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25322 * include/bits/dlfcn.h: Likewise.
25323 * include/langinfo.h: Likewise.
25324 * include/monetary.h: Likewise.
25325 * include/sys/poll.h: Likewise.
25327 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25329 * posix/spawn.h: Define __need_sigset_t.
25330 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25331 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25332 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25333 to get sigevent_t only.
25334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25335 only for __USE_GNU.
25336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25337 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25338 process_vm_writev only for __USE_GNU.
25339 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25341 * conform/Makefile: For now ignore errors from run-conformtest.
25342 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25343 POSIX to avoid namespace pollution. Don't prepend headers.
25344 * conform/data/aio.h-data: Fixes for POSIX testing.
25345 * conform/data/fcntl.h-data: Likewise.
25346 * conform/data/glob.h-data: Likewise.
25347 * conform/data/grp.h-data: Likewise.
25348 * conform/data/pthread.h-data: Likewise.
25349 * conform/data/pwd.h-data: Likewise.
25350 * conform/data/signal.h-data: Likewise.
25351 * conform/data/spawn.h-data: Likewise.
25352 * conform/data/stdio.h-data: Likewise.
25353 * conform/data/stdlib.h-data: Likewise.
25354 * conform/data/stropts.h-data: Likewise.
25355 * conform/data/sys/mman.h-data: Likewise.
25356 * conform/data/sys/stat.h-data: Likewise.
25357 * conform/data/sys/types.h-data: Likewise.
25358 * conform/data/sys/wait.h-data: Likewise.
25359 * conform/data/time.h-data: Likewise.
25360 * conform/data/unistd.h-data: Likewise.
25361 * conform/data/utime.h-data: Likewise.
25363 * io/sys/stat.h: fchmod was always in POSIX.
25364 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25365 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25366 * rt/aio.h: Define __need_timespec before including <time.h>.
25367 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25368 struct. Add forward declaration of pthread_attr_t and use it in
25370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25372 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25373 always remove CLK_TCK definition.
25375 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25377 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25379 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25381 * conform/run-conformtest.sh: New file.
25382 * conform/Makefile: Run run-conformtest for tests.
25383 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25386 * conform/data/uchar.h-data: New file.
25387 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25388 * conform/data/arpa/inet.h-data: Likewise.
25389 * conform/data/assert.h-data: Likewise.
25390 * conform/data/complex.h-data: Likewise.
25391 * conform/data/cpio.h-data: Likewise.
25392 * conform/data/ctype.h-data: Likewise.
25393 * conform/data/dirent.h-data: Likewise.
25394 * conform/data/dlfcn.h-data: Likewise.
25395 * conform/data/errno.h-data: Likewise.
25396 * conform/data/fcntl.h-data: Likewise.
25397 * conform/data/float.h-data: Likewise.
25398 * conform/data/fmtmsg.h-data: Likewise.
25399 * conform/data/fnmatch.h-data: Likewise.
25400 * conform/data/ftw.h-data: Likewise.
25401 * conform/data/glob.h-data: Likewise.
25402 * conform/data/grp.h-data: Likewise.
25403 * conform/data/iconv.h-data: Likewise.
25404 * conform/data/inttypes.h-data: Likewise.
25405 * conform/data/langinfo.h-data: Likewise.
25406 * conform/data/libgen.h-data: Likewise.
25407 * conform/data/limits.h-data: Likewise.
25408 * conform/data/locale.h-data: Likewise.
25409 * conform/data/math.h-data: Likewise.
25410 * conform/data/monetary.h-data: Likewise.
25411 * conform/data/mqueue.h-data: Likewise.
25412 * conform/data/ndbm.h-data: Likewise.
25413 * conform/data/net/if.h-data: Likewise.
25414 * conform/data/netdb.h-data: Likewise.
25415 * conform/data/netinet/in.h-data: Likewise.
25416 * conform/data/nl_types.h-data: Likewise.
25417 * conform/data/poll.h-data: Likewise.
25418 * conform/data/pthread.h-data: Likewise.
25419 * conform/data/pwd.h-data: Likewise.
25420 * conform/data/regex.h-data: Likewise.
25421 * conform/data/sched.h-data: Likewise.
25422 * conform/data/search.h-data: Likewise.
25423 * conform/data/semaphore.h-data: Likewise.
25424 * conform/data/setjmp.h-data: Likewise.
25425 * conform/data/signal.h-data: Likewise.
25426 * conform/data/spawn.h-data: Likewise.
25427 * conform/data/stdarg.h-data: Likewise.
25428 * conform/data/stdio.h-data: Likewise.
25429 * conform/data/stdlib.h-data: Likewise.
25430 * conform/data/string.h-data: Likewise.
25431 * conform/data/strings.h-data: Likewise.
25432 * conform/data/stropts.h-data: Likewise.
25433 * conform/data/sys/ipc.h-data: Likewise.
25434 * conform/data/sys/mman.h-data: Likewise.
25435 * conform/data/sys/msg.h-data: Likewise.
25436 * conform/data/sys/resource.h-data: Likewise.
25437 * conform/data/sys/select.h-data: Likewise.
25438 * conform/data/sys/sem.h-data: Likewise.
25439 * conform/data/sys/shm.h-data: Likewise.
25440 * conform/data/sys/socket.h-data: Likewise.
25441 * conform/data/sys/stat.h-data: Likewise.
25442 * conform/data/sys/statvfs.h-data: Likewise.
25443 * conform/data/sys/time.h-data: Likewise.
25444 * conform/data/sys/timeb.h-data: Likewise.
25445 * conform/data/sys/times.h-data: Likewise.
25446 * conform/data/sys/types.h-data: Likewise.
25447 * conform/data/sys/uio.h-data: Likewise.
25448 * conform/data/sys/un.h-data: Likewise.
25449 * conform/data/sys/utsname.h-data: Likewise.
25450 * conform/data/sys/wait.h-data: Likewise.
25451 * conform/data/syslog.h-data: Likewise.
25452 * conform/data/tar.h-data: Likewise.
25453 * conform/data/termios.h-data: Likewise.
25454 * conform/data/utime.h-data: Likewise.
25455 * conform/data/utmpx.h-data: Likewise.
25456 * conform/data/varargs.h-data: Likewise.
25457 * conform/data/wchar.h-data: Likewise.
25458 * conform/data/wctype.h-data: Likewise.
25459 * conform/data/wordexp.h-data: Likewise.
25461 * include/stropts.h: New file.
25462 * include/uchar.h: New file.
25463 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25464 * include/assert.h: Likewise.
25465 * include/ctype.h: Likewise.
25466 * include/dirent.h: Likewise.
25467 * include/dlfcn.h: Likewise.
25468 * include/fcntl.h: Likewise.
25469 * include/fnmatch.h: Likewise.
25470 * include/glob.h: Likewise.
25471 * include/grp.h: Likewise.
25472 * include/libio.h: Likewise.
25473 * include/locale.h: Likewise.
25474 * include/math.h: Likewise.
25475 * include/net/if.h: Likewise.
25476 * include/netdb.h: Likewise.
25477 * include/netinet/in.h: Likewise.
25478 * include/pthread.h: Likewise.
25479 * include/pwd.h: Likewise.
25480 * include/regex.h: Likewise.
25481 * include/sched.h: Likewise.
25482 * include/search.h: Likewise.
25483 * include/setjmp.h: Likewise.
25484 * include/signal.h: Likewise.
25485 * include/stdio.h: Likewise.
25486 * include/stdlib.h: Likewise.
25487 * include/string.h: Likewise.
25488 * include/sys/cdefs.h: Likewise.
25489 * include/sys/mman.h: Likewise.
25490 * include/sys/msg.h: Likewise.
25491 * include/sys/resource.h: Likewise.
25492 * include/sys/select.h: Likewise.
25493 * include/sys/socket.h: Likewise.
25494 * include/sys/stat.h: Likewise.
25495 * include/sys/statvfs.h: Likewise.
25496 * include/sys/time.h: Likewise.
25497 * include/sys/times.h: Likewise.
25498 * include/sys/uio.h: Likewise.
25499 * include/sys/utsname.h: Likewise.
25500 * include/sys/wait.h: Likewise.
25501 * include/termios.h: Likewise.
25502 * include/time.h: Likewise.
25503 * include/ulimit.h: Likewise.
25504 * include/unistd.h: Likewise.
25505 * include/utime.h: Likewise.
25506 * include/wchar.h: Likewise.
25507 * include/wctype.h: Likewise.
25508 * include/wordexp.h: Likewise.
25510 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25512 * time/time.h: TIME_UTC must be a macro.
25513 Make timespec_get available for ISO C11 only as well.
25515 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25517 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25518 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25520 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25522 * configure.in: Use -o not -a in test for unsupported multi-arch.
25524 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25526 * manual/texinfo.tex: Update to version 2012-01-19.16.
25528 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25530 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25532 2012-02-24 Roland McGrath <roland@hack.frob.com>
25535 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25536 * manual/fdl-1.3.texi: New file.
25537 * manual/fdl-1.1.texi: File removed.
25540 * manual/libc.texinfo (FDL_VERSION): New @set.
25541 Use it for mention of FDL in cover text.
25542 (Documentation License): Use it in @include file name.
25544 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25545 Roland McGrath <roland@hack.frob.com>
25548 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25549 not LONG_LONG_MAX and LONG_LONG_MIN.
25550 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25551 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25553 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25555 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25559 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25560 manipulate bits before adding and subtracting TWO23[sx].
25561 * math/libm-test.inc (nearbyint_test): Add more tests.
25563 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25566 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25567 bits before adding and subtracting TWO23[sx].
25568 * math/libm-test.inc (rint_test): Add more tests.
25569 (rint_test_tonearest): Likewise.
25570 (rint_test_towardzero): Likewise.
25571 (rint_test_downward): Likewise.
25572 (rint_test_upward: Likewise.
25574 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25577 * include/stdc-predef.h: New file. Extracted from features.h.
25578 * include/features.h: Include stdc-predef.h.
25579 * Makefile (headers): Add stdc-predef.h.
25580 * CONFORMANCE (Compiler limitations): Update.
25582 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25584 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25586 2012-02-21 David S. Miller <davem@davemloft.net>
25588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25589 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25591 2012-02-20 David S. Miller <davem@davemloft.net>
25593 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25594 using a normal save/restore sequence, rather than allocating a
25595 dummy stack frame just to store a frame pointer and restore.
25596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25598 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25600 * manual/install.texi: Fix stray word in line-wrapped comment.
25602 2012-02-20 David S. Miller <davem@davemloft.net>
25604 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25605 both binutils and gcc support GOTDATA.
25607 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25608 "rd %pc" in the PIC register setup sequences.
25610 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25611 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25613 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25616 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25619 (SYSCALL_ERROR_HANDLER): Likewise.
25620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25623 (SYSCALL_ERROR_HANDLER): Likewise.
25625 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25626 (HAVE_GCC_GOTDATA): New.
25627 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25628 relocation support in both binutils and gcc.
25629 * sysdeps/sparc/elf/configure: Regenerate.
25631 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25632 * sysdeps/sparc/sparc32/elf/configure: Delete.
25633 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25634 * sysdeps/sparc/sparc64/elf/configure: Delete.
25635 * sysdeps/sparc/elf/configure.in: New file.
25636 * sysdeps/sparc/elf/configure: Generate.
25638 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25639 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25641 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25642 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25644 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25646 * manual/install.texi: Do not mention specific glibc version
25648 * manual/libc.texinfo (VERSION, UPDATED): Update.
25649 (@copying): Use @copyright{} and range of years.
25651 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25654 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25655 [crti.S not in sysdirs] (generated): Do not append.
25656 [crti.S not in sysdirs] (omit-deps): Likewise.
25657 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25658 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25659 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25660 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25661 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25663 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25664 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25665 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25666 * csu/defs.awk: Remove file.
25667 * sysdeps/generic/initfini.c: Likewise.
25668 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25670 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25673 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25675 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25676 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25677 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25680 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25682 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25683 (__EPOLL_PACKED): Define to empty if not defined by
25685 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25689 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25691 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25692 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25696 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25700 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25702 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25709 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25711 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25712 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25714 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25716 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25717 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25719 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25721 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25724 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25726 * math/w_acos.c: Use non-signaling floating-point comparisons.
25727 * math/w_acosf.c: Likewise.
25728 * math/w_acosh.c: Likewise.
25729 * math/w_acoshf.c: Likewise.
25730 * math/w_acoshl.c: Likewise.
25731 * math/w_acosl.c: Likewise.
25732 * math/w_asin.c: Likewise.
25733 * math/w_asinf.c: Likewise.
25734 * math/w_asinl.c: Likewise.
25735 * math/w_atanh.c: Likewise.
25736 * math/w_atanhf.c: Likewise.
25737 * math/w_atanhl.c: Likewise.
25738 * math/w_exp2.c: Likewise.
25739 * math/w_exp2f.c: Likewise.
25740 * math/w_exp2l.c: Likewise.
25741 * math/w_j0.c: Likewise.
25742 * math/w_j0f.c: Likewise.
25743 * math/w_j0l.c: Likewise.
25744 * math/w_j1.c: Likewise.
25745 * math/w_j1f.c: Likewise.
25746 * math/w_j1l.c: Likewise.
25747 * math/w_jn.c: Likewise.
25748 * math/w_jnf.c: Likewise.
25749 * math/w_log.c: Likewise.
25750 * math/w_log10.c: Likewise.
25751 * math/w_log10f.c: Likewise.
25752 * math/w_log10l.c: Likewise.
25753 * math/w_log2.c: Likewise.
25754 * math/w_log2f.c: Likewise.
25755 * math/w_log2l.c: Likewise.
25756 * math/w_logf.c: Likewise.
25757 * math/w_logl.c: Likewise.
25758 * math/w_sqrt.c: Likewise.
25759 * math/w_sqrtf.c: Likewise.
25760 * math/w_sqrtl.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25764 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25765 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25767 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25770 * manual/string.texi (strnlen): Use correct parameter name in
25771 equivalent expression.
25773 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25776 * manual/users.texi (seteuid): Consistently use neweuid for
25779 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25782 * manual/nss.texi (Services in the NSS configuration): Correct
25783 list of services in example configuration file.
25785 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25788 * manual/arith.texi: Remove statements about negative zero
25789 behaving identically to zero.
25791 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25794 * manual/install.texi: Do not document upgrading from libc5.
25796 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25799 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25801 2012-02-18 David S. Miller <davem@davemloft.net>
25803 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25804 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25805 %o7 across the call.
25806 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25809 SETUP_PIC_REG_LEAF.
25810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25811 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25812 * sysdeps/sparc/crtn.S: Likewise.
25814 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25816 * aout/Makefile: Remove.
25818 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25821 * manual/examples/argp-ex1.c (main): Format definition in GNU
25823 * manual/examples/argp-ex2.c (main): Likewise.
25824 * manual/examples/argp-ex3.c (main): Likewise.
25825 * manual/examples/argp-ex4.c (main): Likewise.
25826 * manual/examples/longopt.c (main): Use new-style prototype
25828 * manual/examples/strncat.c (main): Specify return type and use
25829 (void) for arguments.
25830 * manual/examples/subopt.c (main): Use char **argv argument.
25832 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25835 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25838 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25841 * manual/string.texi (strchr): Change when strchrnul is
25844 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25847 * manual/locale.texi (setlocale): Document LOCPATH.
25849 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25852 * manual/process.texi (execle): Move @dots{} before last argument.
25854 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25857 * manual/charset.texi (Generic Charset Conversion): Fix typo
25858 (LC_TYPE -> LC_CTYPE).
25860 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25863 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25864 (scalbnf): Likewise.
25865 (scalbnl): Likewise.
25866 (scalbln): Likewise.
25867 (scalblnf): Likewise.
25868 (scalblnl): Likewise.
25869 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25870 (vwarnx): Likewise.
25873 * manual/filesys.texi (telldir): Use braces around return type.
25874 * manual/llio.texi (mmap): Add space after comma.
25875 (mmap64): Likewise.
25876 * manual/math.texi (jn): Use @var{} on parameter names.
25882 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25884 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25886 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25887 (sched_get_priority_max): Likewise.
25888 * manual/signal.texi (sigvec): Add space after comma.
25889 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25891 (if_indextoname): Likewise.
25892 (if_freenameindex): Likewise.
25893 (sendto): Use ',' instead of '.' in prototype.
25894 * manual/startup.texi (syscall): Use @dots{} instead of literal
25896 * manual/stdio.texi (__fpending): Separate initial words of
25897 paragraph from @deftypefun line.
25898 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25900 (vsyslog): Use @var{} on parameter names.
25901 * manual/terminal.texi (stty): Use @var{} on parameter names.
25902 * manual/users.texi (getutmp): Use @var{} on parameter names.
25903 (getutmpx): Likewise.
25905 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25908 * manual/stdio.texi (fopen): Fix typos in description of
25911 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25914 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25915 get clock_id definition.
25917 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25920 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25921 (madvise): Cast every argument to void on its own.
25923 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25926 * manual/startup.texi (Exit Status): Fix typo.
25928 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25931 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25932 * manual/examples/argp-ex2.c: Likewise.
25933 * manual/examples/argp-ex3.c: Likewise.
25935 2012-02-16 Richard Henderson <rth@redhat.com>
25937 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25938 * sysdeps/s390/s390-32/initfini.c: Remove.
25939 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25940 * sysdeps/s390/s390-64/initfini.c: Remove.
25942 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25944 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25945 compiler output for sysdeps/generic/initfini.c.
25946 * sysdeps/sh/elf/initfini.c: Remove file.
25948 2012-02-16 David S. Miller <davem@davemloft.net>
25951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25953 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25954 * sysdeps/sparc/crti.S: New file.
25955 * sysdeps/sparc/crtn.S: New file.
25956 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25957 * sysdeps/sparc/sparc64/Makefile: Likewise.
25959 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25962 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25964 2012-02-15 Roland McGrath <roland@hack.frob.com>
25967 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25969 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25970 (write, read, close): Likewise.
25971 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25973 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25975 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25976 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25977 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25978 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25980 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25984 2012-02-14 Marek Polacek <polacek@redhat.com>
25986 * sysdeps/x86_64/crti.S: New file.
25987 * sysdeps/x86_64/crtn.S: New file.
25988 * sysdeps/x86_64/elf/initfini.c: Remove file.
25990 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25992 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25993 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25994 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25995 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25997 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26001 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26003 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26004 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26005 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26006 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26008 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26012 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26014 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26015 __feraiseexcept instead of feraiseexcept.
26017 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26018 nanosleep invocations.
26019 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26020 strings, and add error checking for a nanosleep invocations.
26022 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26024 Replace FSF snail mail address with URLs, as per GNU coding standards.
26025 Most of the snail mail addresses were wrong anyway, and omitting
26026 them makes the source code easier to maintain. Almost all of the
26027 changes are to license notices and to locale LC_IDENTIFICATION
26028 addresses, except for this one:
26029 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26030 not its snail mail address.
26032 2012-02-09 Richard Henderson <rth@twiddle.net>
26034 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26035 of kernel-features.h.
26037 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26039 2012-02-08 Marek Polacek <polacek@redhat.com>
26041 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26042 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26043 * sysdeps/gnu/_G_config.h: Likewise.
26044 * sysdeps/generic/_G_config.h: Likewise.
26046 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26048 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26052 * sysdeps/powerpc/powerpc32/crti.S: New file.
26053 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26054 * sysdeps/powerpc/powerpc64/crti.S: New file.
26055 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26057 * Makeconfig (have-initfini): Don't set.
26058 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26059 * configure.in (nopic_initfini): Don't substitute.
26060 * config.h.in (HAVE_INITFINI): Don't #undef.
26061 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26062 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26064 2012-02-08 Joseph Myers <joseph@codesourcery.com>
26066 Support crti.S and crtn.S provided directly by architectures.
26067 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26068 [crti.S in sysdirs] (omit-deps): Likewise.
26069 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26070 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26071 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26072 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26073 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26074 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26075 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26076 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26077 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26078 compiler output for sysdeps/generic/initfini.c.
26079 * sysdeps/i386/elf/Makefile: Remove file.
26080 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26082 2012-02-07 Marek Polacek <polacek@redhat.com>
26084 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26085 * sysdeps/gnu/_G_config.h: Likewise.
26086 * sysdeps/mach/hurd/_G_config.h: Likewise.
26088 2012-02-07 Marek Polacek <polacek@redhat.com>
26090 * math/Makefile (tests): Add tst-CMPLX2.
26091 * math/tst-CMPLX2.c: New file.
26093 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26095 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26097 * math/libm-test.inc (jn_test): Add missing L suffix.
26099 2012-02-06 Marek Polacek <polacek@redhat.com>
26101 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26102 * sysdeps/i386/fpu/e_powf.S: Likewise.
26103 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26104 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26105 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26106 * sysdeps/i386/fpu/e_pow.S: Likewise.
26107 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26108 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26109 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26110 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26111 * sysdeps/i386/fpu/e_log2.S: Likewise.
26112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26114 * sysdeps/i386/fpu/e_powl.S: Likewise.
26115 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26117 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26118 * sysdeps/i386/fpu/e_logl.S: Likewise.
26119 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26120 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26121 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26122 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26125 * sysdeps/i386/fpu/e_log.S: Likewise.
26126 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26127 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26128 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26129 * sysdeps/i386/fpu/e_logf.S: Likewise.
26130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26131 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26132 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26133 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26135 * sysdeps/i386/fpu/e_log10.S: Likewise.
26136 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26137 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26138 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26139 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26140 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26141 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26142 * sysdeps/i386/asm-syntax.h: Likewise.
26143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26146 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26147 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26149 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26150 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26152 * sysdeps/powerpc/sysdep.h: Likewise.
26153 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26154 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26156 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26159 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26161 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26163 * sysdeps/i386/sysdep.h: Include <features.h>.
26164 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26167 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26169 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26171 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26174 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26176 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26177 (SETUP_PIC_REG): Use GET_PC_THUNK.
26178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26181 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26183 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26184 for non-PIC compilation.
26185 (SETUP_PIC_REG): Add .p2align directive.
26186 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26187 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26188 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26189 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26190 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26191 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26192 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26208 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26209 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26214 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26215 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26216 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26218 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26219 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26220 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26221 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26222 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26223 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26224 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26226 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26228 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26230 * math/tst-CMPLX.c: Include <stdio.h>.
26232 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26234 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26237 * sysdeps/sparc/bits/mathdef.h: Likewise.
26239 2012-01-31 Marek Polacek <polacek@redhat.com>
26241 * libio/libio.h: Don't define _PARAMS.
26242 * locale/programs/config.h: Don't define PARAMS.
26243 * stdlib/strtol_l.c: Likewise.
26244 (__strtol_l): Remove PARAMS from the prototype.
26246 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26248 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26249 names. Just use the correct names. Remove unnecessary wrapper
26251 * malloc/arena.c: Likewise.
26252 * malloc/hooks.c: Likewise.
26254 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26255 ARENA_TEST says not to. Simplify test for creation of a new arena.
26256 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26258 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26260 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26262 (update_get_addr): New function.
26263 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26264 GET_ADDR_MODULE parameter.
26266 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26268 * crypt/cert.c: Remove __STDC__ conditionals.
26269 * crypt/crypt-entry.c: Likewise.
26270 * crypt/crypt_util.c: Likewise.
26271 * libio/filedoalloc.c: Likewise.
26272 * libio/fileops.c: Likewise.
26273 * libio/genops.c: Likewise.
26274 * libio/iofclose.c: Likewise.
26275 * libio/iofdopen.c: Likewise.
26276 * libio/iofopen.c: Likewise.
26277 * libio/iofopen64.c: Likewise.
26278 * libio/iogetdelim.c: Likewise.
26279 * libio/iopopen.c: Likewise.
26280 * libio/obprintf.c: Likewise.
26281 * libio/oldfileops.c: Likewise.
26282 * libio/oldiofclose.c: Likewise.
26283 * libio/oldiofdopen.c: Likewise.
26284 * libio/oldiofopen.c: Likewise.
26285 * libio/oldiopopen.c: Likewise.
26286 * libio/wfiledoalloc.c: Likewise.
26287 * libio/wgenops.c: Likewise.
26288 * locale/programs/xmalloc.c: Likewise.
26289 * misc/syslog.c: Likewise.
26290 * stdio-common/xbug.c: Likewise.
26291 * string/memchr.c: Likewise.
26292 * string/memcmp.c: Likewise.
26293 * string/memrchr.c: Likewise.
26294 * string/rawmemchr.c: Likewise.
26295 * sysdeps/posix/getcwd.c: Likewise.
26296 * time/strftime_l.c: Likewise.
26298 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26300 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26301 * config.make.in (config-cflags-sse2avx): Define.
26302 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26305 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26307 * scripts/config.guess: Update from upstream config git repository.
26308 * scripts/config.sub: Likewise.
26310 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26312 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26314 (R_TILEPRO_*, R_TILEGX_*): New macros.
26316 * scripts/firstversions.awk: Fix bug in version range handling.
26318 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26320 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26322 * include/sys/epoll.h: New file.
26323 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26326 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26328 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26329 Avoid unnecessary __WORDSIZE == 64 test.
26330 (fmaxf): Use VEX format if possible.
26335 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26336 * math/math_private.h: Remove libc_fegetround* and
26338 * sysdeps/i386/configure.in: Check for -msse2avx.
26339 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26340 also if SSE2AVX is defined.
26341 Remove libc_fegetround* and libc_fesetround*.
26342 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26343 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26352 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26354 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26358 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26360 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26363 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26365 * Makeconfig (libm): Define.
26366 * elf/Makefile: Add rules to build and run tst-relsort1.
26367 * elf/tst-relsort1.c: New file.
26368 * elf/tst-relsort1mod1.c: New file.
26369 * elf/tst-relsort1mod2.c: New file.
26371 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26373 * math/s_ldexp.c: Remove __STDC__ conditionals.
26374 * math/s_ldexpf.c: Likewise.
26375 * math/s_ldexpl.c: Likewise.
26376 * math/s_nextafter.c: Likewise.
26377 * math/s_nexttowardf.c: Likewise.
26378 * math/s_significand.c: Likewise.
26379 * math/s_significandf.c: Likewise.
26380 * math/s_significandl.c: Likewise.
26381 * math/w_jnl.c: Likewise.
26382 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26383 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26384 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26385 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26386 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26388 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26403 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26409 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26410 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26411 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26416 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26417 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26418 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26419 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26420 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26421 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26422 * sysdeps/ieee754/k_standard.c: Likewise.
26423 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26427 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26428 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26429 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26433 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26435 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26441 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26442 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26454 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26458 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26463 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26468 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26471 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26472 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26473 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26474 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26480 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26484 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26485 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26486 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26489 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26490 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26493 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26502 * sysdeps/ieee754/s_matherr.c: Likewise.
26503 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26504 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26508 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26510 * crypt/md5.h: Remove __STDC__ conditionals.
26511 * libio/libioP.h: Likewise.
26512 * locale/programs/config.h: Likewise.
26513 * sysdeps/generic/sysdep.h: Likewise.
26514 * sysdeps/i386/asm-syntax.h: Likewise.
26515 * sysdeps/s390/asm-syntax.h: Likewise.
26516 * sysdeps/unix/sysdep.h: Likewise.
26517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26520 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26522 * libio/libio.h: Remove __STDC__ conditionals.
26523 * malloc/obstack.h: Likewise.
26524 * math/complex.h: Likewise.
26525 * math/math.h: Likewise.
26526 * sysdeps/generic/_G_config.h: Likewise.
26527 * sysdeps/gnu/_G_config.h: Likewise.
26528 * sysdeps/mach/hurd/_G_config.h: Likewise.
26529 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26530 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26531 * sysdeps/sparc/bits/mathdef.h: Likewise.
26533 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26536 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26537 Clean up HAS_* macros.
26538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26539 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26544 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26549 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26551 * elf/tst-unique3.cc (gets): Remove declaration.
26552 * elf/tst-unique3lib.cc (gets): Likewise.
26553 * elf/tst-unique3lib2.cc (gets): Likewise.
26554 * elf/tst-unique4.cc (gets): Likewise.
26556 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26558 * include/stdio.h: Add C++ protection. Add gets declarations and
26560 * debug/tst-chk1.c: Don't declare gets here.
26561 * stdio-common/tst-gets.c: Likewise.
26563 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26565 * posix/glob: Remove directory.
26567 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26569 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26571 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26573 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26574 of the non-standard EPFNOSUPPORT.
26576 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26578 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26579 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26580 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26582 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26584 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26586 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26588 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26590 * nscd/grpcache.c (cache_addgr): Likewise.
26591 * nscd/hstcache.c (cache_addhst): Likewise.
26592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26593 * nscd/pwdcache.c (cache_addpw): Likewise.
26594 * nscd/servicescache.c (cache_addserv): Likewise.
26596 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26598 * malloc/malloc.c: Various cleanups.
26599 * malloc/hooks.c: Likewise.
26601 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26602 * stdlib/bug-fmtmsg1.c: New file.
26604 * stdlib/fmtmsg.c (init): Add missing unlock.
26605 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26607 2012-01-12 Marek Polacek <polacek@redhat.com>
26609 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26612 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26614 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26615 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26616 macro to ensure uniqueness of label name.
26617 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26618 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26620 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26625 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26629 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26631 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26633 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26635 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26637 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26639 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26640 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26644 * math/bits/math-finite.h: Add ldexp support.
26646 2012-01-10 Marek Polacek <polacek@redhat.com>
26648 * locale/programs/localedef.h (show_archive_content): Add noreturn
26651 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26653 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26655 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26657 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26659 * io/Makefile (headers): Add bits/poll2.h.
26661 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26664 typo #include statement.
26666 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26668 * include/sys/cdefs.h: Define __attribute_alloc_size.
26669 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26670 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26671 * elf/pldd.c: Likewise.
26672 * iconv/iconv_charmap.c: Likewise.
26673 * iconv/iconvconfig.c: Likewise.
26674 * iconv/strtab.c: Likewise.
26675 * locale/programs/locale.c: Likewise.
26676 * locale/programs/localedef.h: Likewise.
26677 * locale/programs/simple-hash.c: Likewise.
26678 * nscd/nscd.h: Likewise.
26679 * nss/makedb.c: Likewise.
26680 * sysdeps/generic/ldconfig.h: Likewise.
26681 * locale/programs/localedef.c: Remove xmalloc prototype.
26682 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26684 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26686 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26689 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26691 * math/Makefile (tests): Add tst-CMPLX.
26692 * math/tst-CMPLX.c: New file.
26694 * math/complex.h (CMPLXL): Fix typo.
26696 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26697 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26699 * debug/tst-chk1.c: Add poll and ppoll tests.
26700 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26701 * include/sys/poll.h: Add hidden proto for ppoll.
26702 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26703 * sysdeps/mach/hurd/ppoll.c: Likewise.
26704 * io/ppoll.c: Likewise.
26705 * debug/poll_chk.c: New file.
26706 * debug/ppoll_chk.c: New file.
26707 * include/bits/poll2.h: New file.
26708 * io/bits/poll2.h: New file.
26711 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26713 * configure.in: static is always set to yes. Remove.
26714 * config.make.in: Don't set build-static.
26715 * Makeconfig: Remove use of build-static.
26716 * dlfcn/Makefile: Likewise.
26717 * elf/Makefile: Likewise.
26718 * math/Makefile: Likewise.
26719 * misc/Makefile: Likewise.
26720 * nptl/Makefile: Likewise.
26721 * sysdeps/mach/hurd/Makefile: Likewise.
26723 * configure.in: PWD_P is not used anymore.
26724 * config.make.in: Remove PWD_P entry.
26726 * configure.in: Remove last remnants of RANLIB.
26727 No need to check for signed size_t anymore.
26728 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26730 Remove __builtin_expect test because we require at least gcc 3.4.
26731 * aclocal.m4: Likewise.
26733 * wcsmbs/mbrtoc16.c: Implement using towc function.
26734 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26735 * wcsmbs/wcsmbsload.c: Likewise.
26736 * iconv/gconv_simple.c: Likewise.
26737 * iconv/gconv_int.h: Likewise.
26738 * iconv/gconv_builtin.h: Likewise.
26739 * iconv/iconv_prog.c: Remove CHAR16 handling.
26741 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26743 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26745 * configure.in: Remove --with-elf and --enable-bounded options.
26746 Dont set base_machine for ia64. More non-ELF conditions removed.
26747 Remove testing and setting of leading underscore information.
26748 * config.make.in (build-bounded): Set to no.
26749 * config.h.in: Remove NO_UNDERSCORES entry.
26750 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26752 * csu/start.c: Remove !NO_UNDERSCORE code.
26753 * locale/localeinfo.h: Likewise.
26754 * sysdeps/generic/machine-gmon.h: Likewise.
26755 * sysdeps/generic/sysdep.h: Likewise.
26756 * sysdeps/i386/sysdep.h: Likewise.
26757 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26758 * sysdeps/mach/sysdep.h: Likewise.
26759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26761 * sysdeps/sh/sysdep.h: Likewise.
26762 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26763 * sysdeps/unix/i386/sysdep.S: Likewise.
26764 * sysdeps/unix/sparc/start.c: Likewise.
26765 * sysdeps/unix/sparc/sysdep.S: Likewise.
26766 * sysdeps/unix/sparc/sysdep.h: Likewise.
26767 * sysdeps/unix/start.c: Likewise.
26768 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26769 * sysdeps/x86_64/sysdep.h: Likewise.
26771 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26774 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26776 * argp/argp-fmtstream.h: Use const instead __const.
26777 * argp/argp.h: Likewise.
26778 * assert/assert.h: Likewise.
26779 * bits/fenv.h: Likewise.
26780 * bits/sched.h: Likewise.
26781 * bits/sigset.h: Likewise.
26782 * bits/sigthread.h: Likewise.
26783 * catgets/nl_types.h: Likewise.
26784 * conform/data/pthread.h-data: Likewise.
26785 * crypt/crypt-private.h: Likewise.
26786 * crypt/crypt.h: Likewise.
26787 * crypt/crypt_util.c: Likewise.
26788 * ctype/ctype.h: Likewise.
26789 * debug/execinfo.h: Likewise.
26790 * debug/mbsnrtowcs_chk.c: Likewise.
26791 * debug/mbsrtowcs_chk.c: Likewise.
26792 * debug/wcsnrtombs_chk.c: Likewise.
26793 * debug/wcsrtombs_chk.c: Likewise.
26794 * debug/wcstombs_chk.c: Likewise.
26795 * dirent/dirent.h: Likewise.
26796 * dlfcn/dlfcn.h: Likewise.
26797 * elf/neededtest4.c: Likewise.
26798 * grp/grp.h: Likewise.
26799 * gshadow/gshadow.h: Likewise.
26800 * iconv/gconv.h: Likewise.
26801 * iconv/gconv_int.h: Likewise.
26802 * iconv/gconv_simple.c: Likewise.
26803 * iconv/iconv.h: Likewise.
26804 * iconv/loop.c: Likewise.
26805 * iconv/skeleton.c: Likewise.
26806 * include/aio.h: Likewise.
26807 * include/aliases.h: Likewise.
26808 * include/argz.h: Likewise.
26809 * include/arpa/inet.h: Likewise.
26810 * include/assert.h: Likewise.
26811 * include/dirent.h: Likewise.
26812 * include/dlfcn.h: Likewise.
26813 * include/execinfo.h: Likewise.
26814 * include/fcntl.h: Likewise.
26815 * include/fenv.h: Likewise.
26816 * include/glob.h: Likewise.
26817 * include/grp.h: Likewise.
26818 * include/libintl.h: Likewise.
26819 * include/mntent.h: Likewise.
26820 * include/netdb.h: Likewise.
26821 * include/pwd.h: Likewise.
26822 * include/rpc/netdb.h: Likewise.
26823 * include/sched.h: Likewise.
26824 * include/search.h: Likewise.
26825 * include/shadow.h: Likewise.
26826 * include/signal.h: Likewise.
26827 * include/stdio.h: Likewise.
26828 * include/stdlib.h: Likewise.
26829 * include/string.h: Likewise.
26830 * include/sys/socket.h: Likewise.
26831 * include/sys/stat.h: Likewise.
26832 * include/sys/statfs.h: Likewise.
26833 * include/sys/statvfs.h: Likewise.
26834 * include/sys/syslog.h: Likewise.
26835 * include/sys/time.h: Likewise.
26836 * include/sys/uio.h: Likewise.
26837 * include/time.h: Likewise.
26838 * include/unistd.h: Likewise.
26839 * include/utmp.h: Likewise.
26840 * include/wchar.h: Likewise.
26841 * include/wctype.h: Likewise.
26842 * inet/aliases.h: Likewise.
26843 * inet/arpa/inet.h: Likewise.
26844 * inet/netinet/ether.h: Likewise.
26845 * inet/netinet/in.h: Likewise.
26846 * intl/libintl.h: Likewise.
26847 * io/bits/fcntl2.h: Likewise.
26848 * io/fcntl.h: Likewise.
26849 * io/ftw.h: Likewise.
26850 * io/sys/poll.h: Likewise.
26851 * io/sys/stat.h: Likewise.
26852 * io/sys/statfs.h: Likewise.
26853 * io/sys/statvfs.h: Likewise.
26854 * io/utime.h: Likewise.
26855 * libio/bits/stdio.h: Likewise.
26856 * libio/bits/stdio2.h: Likewise.
26857 * libio/libio.h: Likewise.
26858 * libio/libioP.h: Likewise.
26859 * libio/stdio.h: Likewise.
26860 * locale/lc-ctype.c: Likewise.
26861 * locale/locale.h: Likewise.
26862 * login/utmp.h: Likewise.
26863 * malloc/arena.c: Likewise.
26864 * malloc/malloc.c: Likewise.
26865 * malloc/malloc.h: Likewise.
26866 * malloc/mcheck.c: Likewise.
26867 * malloc/mtrace.c: Likewise.
26868 * math/bits/mathcalls.h: Likewise.
26869 * math/fenv.h: Likewise.
26870 * math/math_private.h: Likewise.
26871 * misc/bits/error.h: Likewise.
26872 * misc/bits/syslog.h: Likewise.
26873 * misc/err.h: Likewise.
26874 * misc/error.h: Likewise.
26875 * misc/fstab.h: Likewise.
26876 * misc/mntent.h: Likewise.
26877 * misc/regexp.h: Likewise.
26878 * misc/search.h: Likewise.
26879 * misc/sgtty.h: Likewise.
26880 * misc/sys/mman.h: Likewise.
26881 * misc/sys/syslog.h: Likewise.
26882 * misc/sys/uio.h: Likewise.
26883 * misc/sys/xattr.h: Likewise.
26884 * misc/ttyent.h: Likewise.
26885 * nis/rpcsvc/ypclnt.h: Likewise.
26886 * nss/nss.h: Likewise.
26887 * posix/bits/unistd.h: Likewise.
26888 * posix/fnmatch.h: Likewise.
26889 * posix/glob.h: Likewise.
26890 * posix/sched.h: Likewise.
26891 * posix/spawn.h: Likewise.
26892 * posix/sys/wait.h: Likewise.
26893 * posix/unistd.h: Likewise.
26894 * posix/wordexp.h: Likewise.
26895 * pwd/pwd.h: Likewise.
26896 * resolv/netdb.h: Likewise.
26897 * resource/sys/resource.h: Likewise.
26898 * rt/aio.h: Likewise.
26899 * rt/bits/mqueue2.h: Likewise.
26900 * rt/mqueue.h: Likewise.
26901 * shadow/shadow.h: Likewise.
26902 * signal/signal.h: Likewise.
26903 * socket/send.c: Likewise.
26904 * socket/sendto.c: Likewise.
26905 * socket/sys/socket.h: Likewise.
26906 * stdio-common/printf.h: Likewise.
26907 * stdlib/bits/stdlib.h: Likewise.
26908 * stdlib/fmtmsg.h: Likewise.
26909 * stdlib/monetary.h: Likewise.
26910 * stdlib/stdlib.h: Likewise.
26911 * stdlib/ucontext.h: Likewise.
26912 * streams/stropts.h: Likewise.
26913 * string/argz.h: Likewise.
26914 * string/bits/string2.h: Likewise.
26915 * string/string.h: Likewise.
26916 * string/strings.h: Likewise.
26917 * sunrpc/rpc/auth.h: Likewise.
26918 * sunrpc/rpc/auth_des.h: Likewise.
26919 * sunrpc/rpc/clnt.h: Likewise.
26920 * sunrpc/rpc/netdb.h: Likewise.
26921 * sunrpc/rpc/pmap_clnt.h: Likewise.
26922 * sunrpc/rpc/xdr.h: Likewise.
26923 * sysdeps/generic/inttypes.h: Likewise.
26924 * sysdeps/generic/net/if.h: Likewise.
26925 * sysdeps/generic/sys/swap.h: Likewise.
26926 * sysdeps/gnu/net/if.h: Likewise.
26927 * sysdeps/gnu/utmpx.h: Likewise.
26928 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26929 * sysdeps/i386/i486/bits/string.h: Likewise.
26930 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26931 * sysdeps/s390/bits/string.h: Likewise.
26932 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26933 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26934 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26935 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26936 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26937 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26938 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26939 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26940 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26941 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26942 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26943 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26944 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26945 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26946 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26953 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26954 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26955 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26956 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26957 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26958 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26960 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26961 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26962 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26963 * sysvipc/sys/ipc.h: Likewise.
26964 * sysvipc/sys/msg.h: Likewise.
26965 * sysvipc/sys/sem.h: Likewise.
26966 * sysvipc/sys/shm.h: Likewise.
26967 * termios/termios.h: Likewise.
26968 * time/sys/time.h: Likewise.
26969 * time/time.h: Likewise.
26970 * wcsmbs/bits/wchar2.h: Likewise.
26971 * wcsmbs/uchar.h: Likewise.
26972 * wcsmbs/wchar.h: Likewise.
26973 * wctype/wctype.h: Likewise.
26976 * Makeconfig: Remove all but ELF support including AIX support.
26977 * Makerules: Likewise.
26978 * config.h.in: Likewise.
26979 * config.make.in: Likewise.
26980 * configure: Likewise.
26981 * configure.in: Likewise.
26982 * csu/Makefile: Likewise.
26983 * csu/version.c: Likewise.
26984 * debug/Makefile: Likewise.
26985 * dlfcn/Makefile: Likewise.
26986 * elf/Makefile: Likewise.
26987 * extra-lib.mk: Likewise.
26988 * iconv/Makefile: Likewise.
26989 * include/libc-symbols.h: Likewise.
26990 * include/shlib-compat.h: Likewise.
26991 * resolv/Makefile: Likewise.
26992 * resolv/res_libc.c: Likewise.
26993 * rt/Makefile: Likewise.
26994 * sysdeps/i386/asm-syntax.h: Likewise.
26995 * sysdeps/i386/sysdep.h: Likewise.
26996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26997 * sysdeps/mach/sysdep.h: Likewise.
26998 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26999 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27000 * sysdeps/s390/asm-syntax.h: Likewise.
27001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27003 * sysdeps/sh/sysdep.h: Likewise.
27004 * sysdeps/unix/sparc/sysdep.h: Likewise.
27005 * sysdeps/wordsize-32/divdi3.c: Likewise.
27006 * sysdeps/x86_64/sysdep.h: Likewise.
27008 * argp/Versions: Remove _argp_unlock_xxx.
27011 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27012 * abilist/libBrokenLocale.abilist: Likewise.
27013 * abilist/libanl.abilist: Likewise.
27014 * abilist/libc.abilist: Likewise.
27015 * abilist/libcrypt.abilist: Likewise.
27016 * abilist/libdl.abilist: Likewise.
27017 * abilist/libm.abilist: Likewise.
27018 * abilist/libnsl.abilist: Likewise.
27019 * abilist/libpthread.abilist: Likewise.
27020 * abilist/libresolv.abilist: Likewise.
27021 * abilist/librt.abilist: Likewise.
27022 * abilist/libthread_db.abilist: Likewise.
27023 * abilist/libutil.abilist: Likewise.
27024 * abilist/libnss_db.abilist: New file.
27026 * scripts/abilist.awk: Add support for indirect functions.
27028 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27030 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27032 * shlib-versions: Remove entries for ports architectures.
27034 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27036 * elf/stackguard-macros.h: Remove support for IA-64.
27037 * elf/tst-auditmod1.c: Likewise.
27038 * sysdeps/generic/ldsodefs.h: Likewise.
27040 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27041 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27045 * configure.in: Remove --enable-omitfp support.
27047 * config.make.in: Likewise.
27048 * Makeconfig: Likewise.
27049 * manual/install.texi: Likewise.
27051 In case anyone cares, the IA-64 architecture could move to ports.
27052 * sysdeps/ia64/*: Removed.
27053 * sysdeps/unix/sysv/linux/ia64/*: Removed.
27054 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27057 * configure.in: Remove entries for unsupported architectures.
27060 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27061 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27063 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27064 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27065 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27066 fall back to using wcrtomb.
27067 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27068 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27070 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27071 * wcsmbs/tst-c16c32-1.c: New file.
27073 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27076 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27078 * elf/tst-unique3.cc: Add explicit declaration of gets.
27079 * elf/tst-unique3lib.cc: Likewise.
27080 * elf/tst-unique3lib2.cc: Likewise.
27081 * elf/tst-unique4.cc: Likewise.
27083 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27085 2012-01-06 Joseph Myers <joseph@codesourcery.com>
27088 * assert/assert.h (static_assert): Don't define for C++.
27089 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27090 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27092 2012-01-03 Ulrich Drepper <drepper@gmail.com>
27094 * iconv/loop.c (single loop): Fix assertion in storing of
27097 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27099 2012-01-01 Ulrich Drepper <drepper@gmail.com>
27101 * posix/getconf.c: Update copyright year.
27102 * nss/getent.c: Likewise.
27103 * nss/makedb.c: Likewise.
27104 * iconv/iconvconfig.c: Likewise.
27105 * iconv/iconv_prog.c: Likewise.
27106 * elf/ldconfig.c: Likewise.
27107 * elf/pldd.c: Likewise.
27108 * elf/sotruss.ksh: Likewise.
27109 * catgets/gencat.c: Likewise.
27110 * csu/version.c: Likewise.
27111 * elf/ldd.bash.in: Likewise.
27112 * elf/sprof.c (print_version): Likewise.
27113 * locale/programs/locale.c: Likewise.
27114 * locale/programs/localedef.c: Likewise.
27115 * login/programs/pt_chown.c: Likewise.
27116 * nscd/nscd.c (print_version): Likewise.
27117 * debug/xtrace.sh: Likewise.
27118 * malloc/memusage.sh: Likewise.
27119 * malloc/mtrace.pl: Likewise.
27120 * debug/catchsegv.sh: Likewise.
27122 2011-12-30 Jakub Jelinek <jakub@redhat.com>
27124 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27127 2011-12-24 Ulrich Drepper <drepper@gmail.com>
27130 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27131 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27133 * iconv/gconv_int.h: Likewise.
27134 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27135 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27136 from libc for GLIBC_2.16.
27137 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27138 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27139 * wcsmbs/uchar.h: Really define mbstate_t.
27140 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27141 * wcsmbs/c16rtomb.c: New file.
27142 * wcsmbs/mbrtoc16.c: New file.
27143 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27144 for C/POSIX locale.
27145 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27146 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27148 * wcsmbs/wchar.h: Add missing __restrict.
27150 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27153 * time/Makefile (routines): Add timespec_get.
27154 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27155 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27156 timespec for ISO C11.
27157 * time/timespec_get.c: New file.
27158 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27159 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27162 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27163 * stdlib/stdlib.h: Declare aligned_alloc.
27164 * Versions.def: Add GLIBC_2.16 for libc.
27165 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27168 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27171 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27175 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27178 * assert/assert.h (static_assert): Define.
27180 * version.h: Update for 2.16 development version.
27183 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27186 * version.h (RELEASE): Bump for 2.15 release.
27187 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27189 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27190 Patch by Marek Polacek <mpolacek@redhat.com>.
27192 * bits/byteswap.h: Protect long long constants with __extension__.
27193 * sysdeps/i386/bits/byteswap.h: Likewise.
27194 * sysdeps/ia64/bits/byteswap.h: Likewise.
27195 * sysdeps/s390/bits/byteswap.h: Likewise.
27196 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27198 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27202 destination buffer.
27203 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27205 2011-12-23 Marek Polacek <polacek@redhat.com>
27207 * elf/dl-addr.c (determine_info): Add inline keyword.
27208 * elf/tst-auditmod4b.c (check_avx): Likewise.
27209 * elf/tst-auditmod6b.c (check_avx): Likewise.
27210 * elf/tst-auditmod6c.c (check_avx): Likewise.
27211 * elf/tst-auditmod7b.c (check_avx): Likewise.
27213 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27218 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27221 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27222 processing for last bytes.
27224 2011-08-06 Bruno Haible <bruno@clisp.org>
27227 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27228 U+0385, not to U+1FEE.
27231 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27232 entry for U+00A5 U+0301.
27234 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27237 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27238 buffer for the output is too small.
27240 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27244 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27245 SSE flags if possible.
27247 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27251 processing for last bytes.
27253 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27255 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27256 (syscall-list-default-options, syscall-list-default-condition)
27257 (syscall-list-includes): Define.
27258 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27259 list of ABIs and options and #if conditions for each ABI. Do not
27260 handle common syscalls between ABIs specially.
27261 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27263 (syscall-list-variants, syscall-list-32bit-options)
27264 (syscall-list-32bit-condition, syscall-list-64bit-options)
27265 (syscall-list-64bit-condition): Define.
27266 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27267 (syscall-list-variants, syscall-list-32bit-options)
27268 (syscall-list-32bit-condition, syscall-list-64bit-options)
27269 (syscall-list-64bit-condition): Define.
27270 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27272 (syscall-list-variants, syscall-list-32bit-options)
27273 (syscall-list-32bit-condition, syscall-list-64bit-options)
27274 (syscall-list-64bit-condition): Define.
27275 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27277 (syscall-list-variants, syscall-list-32bit-options)
27278 (syscall-list-32bit-condition, syscall-list-64bit-options)
27279 (syscall-list-64bit-condition): Define.
27281 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27283 * locale/iso-639.def: Add brx entry.
27286 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27287 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27289 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27290 __feraiseexcept_renamed.
27292 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27295 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27296 EPOLLET with unsigned values.
27297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27300 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27301 to large cancellation.
27302 * math/s_cacoshf.c: Likewise.
27303 * math/s_cacoshl.c: Likewise.
27305 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27309 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27310 * math/s_cacoshf.c: Likewise.
27311 * math/s_cacoshl.c: Likewise.
27313 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27316 * iconv/gconv.h: Define __GCONV_SWAP.
27317 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27318 * iconvdata/utf-16.c: Likewise.
27319 * iconvdata/utf-32.c: Likewise.
27321 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27325 numerator after shifting it by one limb.
27327 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27330 under [__USE_EXTERN_INLINES].
27332 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27335 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27337 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27339 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27340 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27342 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27343 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27344 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27345 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27346 for strncasecmp/strncasecmp_l compilation.
27347 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27348 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27350 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27353 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27356 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27359 * time/tzfile.c (__tzfile_read): Check values from file header.
27361 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27363 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27364 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27365 * powerpc/powerpc32/dl-start.S: Likewise.
27366 * powerpc/powerpc32/elf/start.S: Likewise.
27367 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27368 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27369 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27370 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27371 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27372 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27373 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27374 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27375 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27376 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27377 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27378 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27379 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27380 * powerpc/powerpc32/memset.S: Likewise.
27381 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27382 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27383 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27384 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27385 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27386 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27387 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27388 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27389 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27390 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27391 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27395 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27397 * math/libm-test.inc: Added more nearbyint tests.
27398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27403 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27405 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27408 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27410 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27411 Add wcscpy-ssse3 wcscpy-c.
27412 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27413 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27414 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27415 * sysdeps/x86_64/wcschr.S: New file.
27416 * sysdeps/x86_64/wcsrchr.S: New file.
27417 * string/test-strcmp.c: Remove checking of wcscmp function for
27419 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27420 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27421 wcsrchr-sse2 wcsrchr-c.
27422 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27423 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27424 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27425 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27426 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27427 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27428 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27429 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27430 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27431 * wcsmbc/wcschr.c (WCSCHR): New macro.
27433 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27435 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27436 * wcsmbs/test-wcsrchr.c: New file.
27437 * string/test-strrchr.c: Add wcsrchr support.
27439 * wcsmbs/test-wcscpy.c: New file.
27440 * string/test-strcpy.c: Add wcscpy support.
27443 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27445 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27448 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27451 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27453 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27455 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27456 Minor optimizations.
27458 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27459 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27460 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27462 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27464 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27465 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27466 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27467 for gcc to avoid warnings.
27468 * inet/Makefile (tests): Add tst-checks.
27469 * inet/tst-checks.c: New file.
27471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27474 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27477 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27478 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27480 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27482 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27484 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27487 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27489 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27491 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27492 conditional on GCC version.
27493 (__arch_compare_and_exchange_val_8_acq)
27494 (__arch_compare_and_exchange_val_16_acq)
27495 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27496 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27497 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27499 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27501 * sysdeps/sh/backtrace.c: New file.
27503 2011-12-02 Andreas Schwab <schwab@redhat.com>
27505 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27508 2011-12-01 Andreas Schwab <schwab@redhat.com>
27510 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27511 falling back to utime.
27513 2011-11-30 Andreas Schwab <schwab@redhat.com>
27515 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27516 expectations for float.
27518 2011-11-29 Andreas Schwab <schwab@redhat.com>
27520 * locale/weight.h (findidx): Add parameter len.
27521 * locale/weightwc.h (findidx): Likewise.
27522 * posix/fnmatch_loop.c (FCT): Adjust caller.
27523 * posix/regcomp.c (build_equiv_class): Likewise.
27524 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27525 * posix/regexec.c (check_node_accept_bytes): Likewise.
27526 * string/strcoll_l.c (STRCOLL): Likewise.
27527 * string/strxfrm_l.c (STRXFRM): Likewise.
27529 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27531 * Makefile.in: Remove CVSOPT handling.
27532 * configure.in: Remove use of AC_REVISION.
27533 * iconvdata/Makefile (distribute): No need to filter out CVS.
27534 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27537 2011-11-16 Andreas Schwab <schwab@redhat.com>
27539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27540 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27541 [USE_AS_STRNCASECMP_L]: Likewise.
27542 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27543 NO_TLS_DIRECT_SEG_REFS.
27544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27545 Fix argument offsets for non-PIC.
27546 [USE_AS_STRNCASECMP_L]: Likewise.
27547 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27548 NO_TLS_DIRECT_SEG_REFS.
27550 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27552 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27554 * locale/loadlocale.c (_nl_load_locale): Likewise.
27556 2011-11-15 Andreas Schwab <schwab@redhat.com>
27558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27559 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27561 (SYSCALL_GETTIME): Set errno on error.
27563 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27564 count references to noai6ai_cached.
27566 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27568 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27570 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27571 FD_CLOEXEC for /proc/self/maps.
27573 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27574 FD_CLOEXEC for /proc/meminfo.
27576 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27579 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27580 FD_CLOEXEC for given file.
27582 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27584 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27585 FD_CLOEXEC for /etc/hosts.
27586 (_gethtent): Likewise.
27588 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27590 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27591 cancellation and set FD_CLOEXEC for /etc/netgroup.
27593 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27594 reading /etc/publickey.
27596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27597 allow cancellation when reading /etc/group.
27599 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27601 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27603 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27604 when using data file.
27606 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27608 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27609 (write_nis_obj): Use "c" and "e" in fopen.
27611 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27613 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27615 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27617 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27619 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27622 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27624 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27626 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27628 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27629 file parsing and set FD_CLOEXEC.
27631 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27633 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27635 2011-11-14 Andreas Schwab <schwab@redhat.com>
27637 * malloc/arena.c (arena_get2): Don't call reused_arena when
27638 _int_new_arena failed.
27640 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27642 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27643 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27648 to compile strcasecmp and strncasecmp.
27649 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27650 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27654 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27656 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27657 locale-defines.sym to gen-as-const-headers.
27658 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27659 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27661 to compile strcasecmp and strncasecmp.
27662 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27663 strcasecmp_l and strncasecmp_l.
27664 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27665 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27666 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27667 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27668 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27669 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27670 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27671 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27672 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27673 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27674 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27676 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27678 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27679 result of SYSDEP_GETTIME_CPU to retval.
27680 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27681 parameter list to macro. Remove trailing semicolon. Adjust users.
27683 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27686 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27688 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27691 from unused variable.
27693 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27695 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27698 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27701 * sunrpc/rpc_prot.c (rejected): Fix case value.
27703 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27704 unsigned long long int to avoid warnings in shift.
27706 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27708 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27711 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27712 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27715 * nis/nis_table.c (nis_list): Use variable of correct type for
27716 result of __follow_path call.
27718 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27720 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27721 of math functions ceil, trunc, floor, round, and sqrt, when
27722 avaliable on the platform.
27723 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27726 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27727 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27729 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27731 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27734 2011-11-11 Roland McGrath <roland@hack.frob.com>
27736 * include/unistd.h: Fix __readlink return type.
27737 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27739 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27741 * stdlib/ucontext.h: Undo last change for makecontext.
27743 2011-11-11 Andreas Schwab <schwab@redhat.com>
27745 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27747 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27748 * setjmp/setjmp.h: Mark functions as non-leaf.
27749 * setjmp/bits/setjmp2.h: Likewise.
27750 * stdlib/ucontext.h: Likewise.
27752 2011-11-10 Andreas Schwab <schwab@redhat.com>
27754 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27755 (reused_arena): Don't check arena limit.
27756 (arena_get2): Atomically check arena limit.
27758 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27760 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27761 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27766 2011-11-07 Andreas Schwab <schwab@redhat.com>
27768 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27769 handler when locking.
27771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27772 Fix size of allocated buffer.
27774 2011-11-04 Andreas Schwab <schwab@redhat.com>
27777 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27778 declarations for long double functions.
27779 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27781 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27783 2011-11-03 Andreas Schwab <schwab@redhat.com>
27785 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27788 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27791 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27793 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27795 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27797 * include/alloca.h (stackinfo_alloca_round): Define.
27798 (extend_alloca): Use it.
27799 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27800 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27803 * scripts/check-local-headers.sh: Ignore libaudit.h.
27805 * nscd/Makefile (extra-objs): Make recursively expanded.
27807 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27809 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27812 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27813 * posix/tst-rfc3484-2.c: Likewise.
27814 * posix/tst-rfc3484-3.c: Likewise.
27816 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27818 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27820 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27821 process_vm_writev from libc using GLIBC_2.15 version.
27823 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27825 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27827 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27830 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27833 * nss/getent.c (initgroups_keys): Show error message in case no group
27836 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27837 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27838 __bump_nl_timestamp.
27839 * nscd/connections (nscd_init): When host database is served open
27840 netlink socket and request notification about configuration changes.
27841 (main_loop_poll): Track netlink file descriptor and bump timestamp
27842 in case data becomes available.
27843 (main_loop_epoll): Likewise.
27844 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27845 (database_pers_head): Add extra_data fileds.
27846 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27848 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27851 in6ai data, call __free_in6ai.
27852 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27853 Add -DHAVE_NETLINK.
27854 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27855 interface information. Reuse previous data if netlink timestamp
27857 (__bump_nl_timestamp): New function.
27858 (__free_in6ai): New function.
27860 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27862 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27863 close_not_cancel_no_status here.
27864 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27866 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27869 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27872 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27873 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27874 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27876 2011-07-03 Andreas Jaeger <aj@suse.de>
27879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27880 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27881 * math/libm-test.inc (sin_test): Add test case.
27883 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27886 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27887 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27889 * elf/chroot_canon.c (chroot_canon): Cleanups.
27891 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27894 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27895 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27897 * string/test-strchr.c: Make usable for strchrnul testing.
27898 * string/test-strchrnul.c: New file.
27899 * string/Makefile (strop-tests): Add strchrnul.
27901 * po/it.po: Update from translation team.
27902 * po/es.po: Likewise.
27904 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27907 the three constants needed as parameters. Drop the others.
27908 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27909 __m128i_strloadu_tolower.
27910 Create and initialize variable zero and use it in all the places
27911 where _mm_setzero_si128 was used.
27913 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27914 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27915 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27918 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27919 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27920 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27921 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27923 __mpranred, __mptan.
27924 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27925 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27926 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27927 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27928 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27929 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27931 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27934 2011-10-28 Andreas Schwab <schwab@redhat.com>
27936 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27937 redefine if SHARED.
27938 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27941 wide char related routines to wcsmbs subdir.
27943 2011-10-27 Andreas Schwab <schwab@redhat.com>
27946 * misc/sys/cdefs.h (__THROWNL): Define.
27947 * posix/unistd.h: Use __THREADNL instead of __THREAD
27948 for memory synchronization functions.
27950 2011-10-26 Roland McGrath <roland@hack.frob.com>
27953 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27955 * manual/stdio.texi (Obstack Streams): Node removed.
27957 2011-10-26 Andreas Schwab <schwab@redhat.com>
27959 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27960 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27961 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27963 * math/math_private.h (math_force_eval): Allow non-addressable
27965 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27967 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27969 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27970 file is not needed.
27972 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27979 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27981 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27982 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27983 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27984 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27985 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27986 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27987 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27989 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27990 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27991 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27992 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27994 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27997 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27998 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27999 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28001 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28002 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28005 place. Use VEX encoding when compiling for AVX.
28007 2011-10-25 Andreas Schwab <schwab@redhat.com>
28009 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28010 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28012 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28014 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28016 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28017 useless if() expression.
28018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28026 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28028 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28029 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28030 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28031 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28032 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28033 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28035 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28038 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28040 2011-10-25 Andreas Schwab <schwab@redhat.com>
28042 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28046 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28048 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28049 .text section. Avoid duplicate constants.
28050 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28059 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28061 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28062 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28063 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28064 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28066 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28077 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28078 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28081 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28082 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28083 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28084 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28085 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28086 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28088 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28089 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28092 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28094 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28096 2011-10-24 Ulrich Drepper <drepper@gmail.com>
28098 * sysdeps/x86_64/dla.h: Move to ...
28099 * sysdeps/x86_64/fpu/dla.h: ...here.
28100 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28101 situations. Use __builtin_fma only for gcc 4.6 and up.
28103 * config.make.in: Add have-mfma4 entry.
28104 * configure.in: Substitute libc_cv_cc_fma4.
28105 * math/Makefile (dbl-only-routines): Add sincostab.
28106 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28107 Use __sincostab not sincos.
28108 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28115 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28116 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28117 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28118 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28120 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28121 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28123 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28124 define aliases when function name is a macro.
28125 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28126 sysdeps/ieee754/dbl-64/sincos.tbl.
28127 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28128 fma4-enabled routines.
28129 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28130 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28131 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28132 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28133 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28134 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28141 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28142 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28143 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28144 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28145 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28146 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28147 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28149 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28150 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28154 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28156 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28157 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28158 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28160 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28171 2011-10-24 Andreas Schwab <schwab@redhat.com>
28173 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28175 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28177 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28179 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28183 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28184 Remove unused variable magic_bits.
28185 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28187 * string/strnlen.c: Define and use STRNLEN macro.
28188 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28189 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28191 * wcsmbs/wcslen.c: Define and use WCSLEN.
28192 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28193 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28194 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28195 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28196 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28197 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28198 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28200 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28203 strnlen-sse2-no-bsf.
28204 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28206 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28207 Add strnlen support.
28208 (USE_AS_STRNLEN): New macro.
28209 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28211 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28212 * sysdeps/x86_64/wcslen.S: New file.
28214 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28217 XMM-moves are used for copying on small sizes.
28219 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28221 * wcsmbs/Makefile (strop-tests): Add wcschr.
28222 * wcsmbs/test-wcschr.c: New file.
28223 * string/test-strchr.c: Update.
28224 Add wcschr support.
28227 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28229 * wcsmbs/Makefile (strop-tests): Add wcslen.
28230 * wcsmbs/test-wcslen.c: New file.
28231 * string/test-strlen.c: Update.
28232 Add wcslen support.
28235 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28237 * po/it.po: Update from translation team.
28239 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28241 * sysdeps/x86_64/wcscmp.S: Update.
28242 Fix wrong comparison semantics.
28243 wcscmp shall use signed comparison not unsigned.
28244 Don't use substraction to avoid overflow bug.
28245 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28246 * wcsmbc/wcscmp.c: Likewise.
28247 * string/test-strcmp.c: Likewise.
28248 Add new tests to check cases with negative values.
28250 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28252 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28253 * sysdeps/x86_64/dla.h: ...here. New file.
28254 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28264 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28267 __ynl_finite aliases.
28269 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28273 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28275 [DLA_FMA] (EMULV): Use DLA_FMA.
28276 [DLA_FMA] (MUL12): Use EMULV.
28277 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28278 that are not needed.
28279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28287 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28289 * math/s_nan.c: Undef __nan.
28290 * math/s_nanf.c: Undef __nanf.
28291 * math/s_nanl.c: Undef __nanl.
28292 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28295 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28297 * math/s_catan.c: Add branch predictions.
28298 * math/s_catanf.c: Likewise.
28299 * math/s_catanh.c: Likewise.
28300 * math/s_catanhf.c: Likewise.
28301 * math/s_catanhl.c: Likewise.
28302 * math/s_catanl.c: Likewise.
28303 * math/s_cexp.c: Likewise.
28304 * math/s_cexpf.c: Likewise.
28305 * math/s_cexpl.c: Likewise.
28306 * math/s_clog.c: Likewise.
28307 * math/s_clog10.c: Likewise.
28308 * math/s_clog10f.c: Likewise.
28309 * math/s_clog10l.c: Likewise.
28310 * math/s_clogf.c: Likewise.
28311 * math/s_clogl.c: Likewise.
28312 * math/s_csqrt.c: Likewise.
28313 * math/s_csqrtf.c: Likewise.
28314 * math/s_csqrtl.c: Likewise.
28315 * math/s_ctanf.c: Likewise.
28316 * math/s_ctanh.c: Likewise.
28317 * math/s_ctanhf.c: Likewise.
28318 * math/s_ctanhl.c: Likewise.
28319 * math/s_ctanl.c: Likewise.
28321 * math/math_private.h: Define __nan, __nanf, __nanl.
28322 * math/s_cacosh.c: Include <math_private.h>.
28323 * math/s_cacoshl.c: Likewise.
28324 * math/s_casinh.c: Likewise.
28325 * math/s_casinhf.c: Likewise.
28326 * math/s_casinhl.c: Likewise.
28327 * math/s_ccos.c: Rely entire on ccosh.
28328 * math/s_ccosf.c: Rely entire on ccoshf.
28329 * math/s_ccosl.c: Rely entirely on ccoshl.
28330 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28331 Remove tests for FE_INVALID.
28332 * math/s_ccoshf.c: Likewise.
28333 * math/s_ccoshl.c: Likewise.
28334 * math/s_csin.c: Likewise.
28335 * math/s_csinf.c: Likewise.
28336 * math/s_csinh.c Likewise.
28337 * math/s_csinhf.c: Likewise.
28338 * math/s_csinhl.c: Likewise.
28339 * math/s_csinl.c: Likewise.
28340 * math/s_ctan.c: Likewise.
28341 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28342 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28345 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28348 compilation problems.
28350 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28353 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28355 * sysdeps/i386/configure.in: Test for -mfma4 option.
28356 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28357 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28358 COMMON_CPUID_INDEX_80000001.
28359 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28360 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28361 use it if FMA3 is not supported.
28362 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28364 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28365 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28367 2011-10-20 Andreas Schwab <schwab@redhat.com>
28370 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28371 it would create a cycle with a link time dependency.
28373 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28375 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28377 * string/Makefile (strop-tests): Add rawmemchr.
28378 * string/test-rawmemchr.c: New file.
28380 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28382 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28383 when compiling str{,n}casecmp and when AVX is available. Hook up
28384 new optimized code in initializers.
28386 2011-10-19 Andreas Schwab <schwab@redhat.com>
28388 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28389 __feraiseexcept instead of feraiseexcept.
28391 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28393 * math/math_private.h: Define defaults for libc_fetestexcept and
28395 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28396 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28397 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28399 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28400 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28401 libc_fetestexcept and libc_feupdateenv.
28403 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28404 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28405 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28406 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28407 libc_feholdexcept_setround.
28409 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28410 Add s_nearbyint-c and s_nearbyintf-c.
28411 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28412 nearbyintf inlines.
28413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28414 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28416 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28418 * math/math_private.h: Define defaults for libc_fegetround,
28419 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28420 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28421 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28423 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28424 standard functions.
28425 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28426 Remove comments and hacks for old compiler versions.
28427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28428 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28429 libc_feholdexceptl.
28431 2011-10-18 Andreas Schwab <schwab@redhat.com>
28433 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28434 (__feraiseexcept_renamed): Add __NTH.
28435 (feraiseexcept): Add __NTH. Rename local variables to fix
28436 namespace violations.
28438 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28440 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28444 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28445 recently added interfaces.
28446 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28448 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28449 about macro parameter expansion.
28451 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28452 __NO_MATH_INLINES is defined. Cleanups.
28454 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28455 and __floorf is target has SSE4.1.
28456 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28457 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28458 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28459 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28461 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28463 (floorf): Likewise.
28465 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28467 2011-10-17 Andreas Schwab <schwab@redhat.com>
28469 * misc/sys/cdefs.h: Fix last change.
28471 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28474 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28476 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28478 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28486 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28487 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28488 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28489 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28490 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28491 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28492 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28493 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28494 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28495 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28496 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28497 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28498 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28499 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28501 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28502 ceil, ceilf, floor, floorf.
28504 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28505 Perform IRELATIVE relocations last.
28507 * elf/do-rel.h: Add another parameter nrelative, replacing the
28508 local variable with the same name. Change name of the function
28509 to end in Rel or Rela (uppercase).
28510 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28511 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28512 elf_dynamic_do_##reloc function.
28514 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28516 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28517 is sufficient, at least on modern CPUs.
28519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28521 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28524 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28526 * math/bits/math-finite.h: Add entries for exp.
28527 * math/e_expl.c: Add __*_finite alias.
28528 * sysdeps/i386/fpu/e_exp.S: Likewise.
28529 * sysdeps/i386/fpu/e_expf.S: Likewise.
28530 * sysdeps/i386/fpu/e_expl.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28533 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28536 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28537 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28539 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28540 is sufficient, at least on modern CPUs.
28542 * ctype/ctype-info.c (__ctype_init): Define.
28543 * include/ctype.h (__ctype_init): Declare.
28544 (__ctype_b_loc): The variable is always initialized.
28545 (__ctype_toupper_loc): Likewise.
28546 (__ctype_tolower_loc): Likewise.
28547 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28548 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28550 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28552 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28554 * configure.in: Also look in $cxxmachine/include for C++ system
28557 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28559 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28560 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28561 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28562 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28564 (USE_AS_WMEMCMP): New macro.
28566 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28567 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28568 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28569 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28571 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28572 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28574 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28575 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28577 (USE_AS_WMEMCMP): New macro.
28578 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28579 * sysdeps/string/test-memcmp.c: Update.
28580 Fix simple_wmemcmp.
28582 * wcsmbs/wmemcmp.c: Update.
28583 (WMEMCMP): New macro.
28586 2011-10-12 Andreas Jaeger <aj@suse.de>
28589 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28591 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28593 * libio/iofwide.c (do_length): Avoid warning.
28595 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28597 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28599 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28601 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28602 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28603 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28604 * sysdeps/i386/i686/fpu/e_log.S: New file.
28605 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28606 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28608 * ctype/ctype.h: Add support for inlined isXXX functions when
28609 compiling C++ code.
28611 2011-10-14 Andreas Schwab <schwab@redhat.com>
28613 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28615 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28617 2011-10-13 Roland McGrath <roland@hack.frob.com>
28620 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28622 2011-10-13 Andreas Schwab <schwab@redhat.com>
28624 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28625 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28628 * sysdeps/x86_64/memrchr.S: Check for zero size.
28630 * string/stratcliff.c: Add memrchr tests.
28632 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28635 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28636 rawmemchr-sse2 rawmemchr-sse2-bsf.
28637 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28638 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28639 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28640 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28641 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28642 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28643 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28644 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28646 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28647 * string/memrchr.c (MEMRCHR): New macro.
28649 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28651 Add integration with gcc's -ffinite-math-only and optimize wrapper
28653 * Versions.def: Define GLIBC_2.15 version for libm.
28654 * math/Makefile (headers): Add bits/math-finite.h.
28655 * math/bits/math-finite.h: New file.
28656 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28657 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28658 * math/e_acoshl.c: Add __*_finite alias.
28659 * math/e_acosl.c: Likewise.
28660 * math/e_asinl.c: Likewise.
28661 * math/e_atan2l.c: Likewise.
28662 * math/e_atanhl.c: Likewise.
28663 * math/e_coshl.c: Likewise.
28664 * math/e_exp10.c: Likewise.
28665 * math/e_exp10f.c: Likewise.
28666 * math/e_exp10l.c: Likewise.
28667 * math/e_exp2l.c: Likewise.
28668 * math/e_fmodl.c: Likewise.
28669 * math/e_gammal_r.c: Likewise.
28670 * math/e_hypotl.c: Likewise.
28671 * math/e_j0l.c: Likewise.
28672 * math/e_j1l.c: Likewise.
28673 * math/e_jnl.c: Likewise.
28674 * math/e_lgammal_r.c: Likewise.
28675 * math/e_log10l.c: Likewise.
28676 * math/e_log2l.c: Likewise.
28677 * math/e_logl.c: Likewise.
28678 * math/e_powl.c: Likewise.
28679 * math/e_sinhl.c: Likewise.
28680 * math/e_sqrtl.c: Likewise.
28681 * math/e_scalb.c: Completely rewritten and optimized.
28682 * math/e_scalbf.c: Likewise.
28683 * math/e_scalbl.c: Likewise.
28684 * math/w_acos.c: Likewise.
28685 * math/w_acosf.c: Likewise.
28686 * math/w_acosl.c: Likewise.
28687 * math/w_acosh.c: Likewise.
28688 * math/w_acoshf.c: Likewise.
28689 * math/w_acoshl.c: Likewise.
28690 * math/w_asin.c: Likewise.
28691 * math/w_asinf.c: Likewise.
28692 * math/w_asinl.c: Likewise.
28693 * math/w_atan2.c: Likewise.
28694 * math/w_atan2f.c: Likewise.
28695 * math/w_atan2l.c: Likewise.
28696 * math/w_atanh.c: Likewise.
28697 * math/w_atanhf.c: Likewise.
28698 * math/w_atanhl.c: Likewise.
28699 * math/w_exp10.c: Likewise.
28700 * math/w_exp10f.c: Likewise.
28701 * math/w_exp10l.c: Likewise.
28702 * math/w_fmod.c: Likewise.
28703 * math/w_fmodf.c: Likewise.
28704 * math/w_fmodl.c: Likewise.
28705 * math/w_j0.c: Likewise.
28706 * math/w_j0f.c: Likewise.
28707 * math/w_j0l.c: Likewise.
28708 * math/w_j1.c: Likewise.
28709 * math/w_j1f.c: Likewise.
28710 * math/w_j1l.c: Likewise.
28711 * math/w_jn.c: Likewise.
28712 * math/w_jnf.c: Likewise.
28713 * math/w_log.c: Likewise.
28714 * math/w_logf.c: Likewise.
28715 * math/w_logl.c: Likewise.
28716 * math/w_log10.c: Likewise.
28717 * math/w_log10f.c: Likewise.
28718 * math/w_log10l.c: Likewise.
28719 * math/w_log2.c: Likewise.
28720 * math/w_log2f.c: Likewise.
28721 * math/w_log2l.c: Likewise.
28722 * math/w_pow.c: Likewise.
28723 * math/w_powf.c: Likewise.
28724 * math/w_powl.c: Likewise.
28725 * math/w_remainder.c: Likewise.
28726 * math/w_remainderf.c: Likewise.
28727 * math/w_remainderl.c: Likewise.
28728 * math/w_scalb.c: Likewise.
28729 * math/w_scalbf.c: Likewise.
28730 * math/w_scalbl.c: Likewise.
28731 * math/w_sqrt.c: Likewise.
28732 * math/w_sqrtf.c: Likewise.
28733 * math/w_sqrtl.c: Likewise.
28734 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28735 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28737 * math/math_private.h: Declare __kernel_standard_f.
28738 * math/w_cosh.c: Remove cruft and optimize a bit.
28739 * math/w_coshf.c: Likewise.
28740 * math/w_coshl.c: Likewise.
28741 * math/w_exp2.c: Likewise.
28742 * math/w_exp2f.c: Likewise.
28743 * math/w_exp2l.c: Likewise.
28744 * math/w_hypot.c: Likewise.
28745 * math/w_hypotf.c: Likewise.
28746 * math/w_hypotl.c: Likewise.
28747 * math/w_lgamma.c: Likewise.
28748 * math/w_lgamma_r.c: Likewise.
28749 * math/w_lgammaf.c: Likewise.
28750 * math/w_lgammaf_r.c: Likewise.
28751 * math/w_lgammal.c: Likewise.
28752 * math/w_lgammal_r.c: Likewise.
28753 * math/w_sinh.c: Likewise.
28754 * math/w_sinhf.c: Likewise.
28755 * math/w_sinhl.c: Likewise.
28756 * math/w_tgamma.c: Likewise.
28757 * math/w_tgammaf.c: Likewise.
28758 * math/w_tgammal.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28761 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28762 Minor optimizations. Pretty printing. Remove cruft.
28763 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28767 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28768 * sysdeps/i386/fpu/e_asin.S: Likewise.
28769 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28770 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28771 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28772 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28774 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28775 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28776 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28777 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28778 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28779 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28780 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28781 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28782 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28783 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28784 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28785 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28786 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28787 * sysdeps/i386/fpu/e_log.S: Likewise.
28788 * sysdeps/i386/fpu/e_log10.S: Likewise.
28789 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28791 * sysdeps/i386/fpu/e_log2.S: Likewise.
28792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28794 * sysdeps/i386/fpu/e_logf.S: Likewise.
28795 * sysdeps/i386/fpu/e_logl.S: Likewise.
28796 * sysdeps/i386/fpu/e_pow.S: Likewise.
28797 * sysdeps/i386/fpu/e_powf.S: Likewise.
28798 * sysdeps/i386/fpu/e_powl.S: Likewise.
28799 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28800 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28801 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28803 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28804 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28805 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28806 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28807 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28829 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28832 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28833 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28835 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28836 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28837 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28838 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28839 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28840 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28841 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28842 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28843 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28844 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28845 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28846 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28847 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28848 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28849 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28850 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28854 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28858 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28876 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28879 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28880 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28882 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28890 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28891 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28897 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28899 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28901 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28902 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28903 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28904 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28905 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28906 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28907 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28908 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28909 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28910 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28911 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28912 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28914 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28916 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28917 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28918 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28919 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28920 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28921 (__isnanf): Likewise.
28922 (__isinf_ns): Likewise.
28923 (__isinf_nsf): Likewise.
28924 (__finite): Likewise.
28925 (__finitef): Likewise.
28926 (__ieee754_sqrt): Define as macro.
28927 (__ieee754_sqrtf): Define as macro.
28928 (__ieee754_sqrtl): Define as macro.
28929 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28931 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28932 __FINITE_MATH_ONLY__ consistent.
28933 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28935 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28937 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28940 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28942 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28944 * po/ja.po: Update from translation team.
28946 2011-10-08 Roland McGrath <roland@hack.frob.com>
28948 * locale/programs/locarchive.c (prepare_address_space): New function.
28949 (create_archive, enlarge_archive, open_archive): Use it.
28951 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28952 inside [SHARED], where it is used.
28954 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28956 * nss/getent.c (netgroup_keys): Remove unused variable.
28957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28959 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28961 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28962 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28965 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28967 * math/Makefile (libm-calls): Add s_isinf_ns.
28968 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28969 * math/multc3.c: Likewise.
28970 * math/s_casin.c: Likewise.
28971 * math/s_casinf.c: Likewise.
28972 * math/s_casinl.c: Likewise.
28973 * math/s_ccos.c: Likewise.
28974 * math/s_ccosf.c: Likewise.
28975 * math/s_ccosl.c: Likewise.
28976 * math/s_ctan.c: Likewise.
28977 * math/s_ctanf.c: Likewise.
28978 * math/s_ctanh.c: Likewise.
28979 * math/s_ctanhf.c: Likewise.
28980 * math/s_ctanhl.c: Likewise.
28981 * math/s_ctanl.c: Likewise.
28982 * math/w_fmod.c: Likewise.
28983 * math/w_fmodf.c: Likewise.
28984 * math/w_fmodl.c: Likewise.
28985 * math/w_remainder.c: Likewise.
28986 * math/w_remainderf.c: Likewise.
28987 * math/w_remainderl.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28989 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28990 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28992 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28993 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28994 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28995 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28997 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28999 * stdio-common/printf_fphex.c: Likewise.
29000 * stdio-common/printf_size.c: Likewise.
29002 * math/e_exp10.c: Include math_private.h using <...> not "...".
29003 * math/e_exp10f.c: Likewise.
29004 * math/e_exp10l.c: Likewise.
29005 * math/e_exp2l.c: Likewise.
29006 * math/e_j0l.c: Likewise.
29007 * math/e_j1l.c: Likewise.
29008 * math/e_jnl.c: Likewise.
29009 * math/e_lgammal_r.c: Likewise.
29010 * math/e_rem_pio2l.c: Likewise.
29011 * math/e_scalb.c: Likewise.
29012 * math/e_scalbf.c: Likewise.
29013 * math/e_scalbl.c: Likewise.
29014 * math/k_cosl.c: Likewise.
29015 * math/k_sinl.c: Likewise.
29016 * math/k_tanl.c: Likewise.
29017 * math/s_cacoshf.c: Likewise.
29018 * math/s_catan.c: Likewise.
29019 * math/s_catanf.c: Likewise.
29020 * math/s_catanh.c: Likewise.
29021 * math/s_catanhf.c: Likewise.
29022 * math/s_catanhl.c: Likewise.
29023 * math/s_catanl.c: Likewise.
29024 * math/s_ccosh.c: Likewise.
29025 * math/s_ccoshf.c: Likewise.
29026 * math/s_ccoshl.c: Likewise.
29027 * math/s_cexp.c: Likewise.
29028 * math/s_cexpf.c: Likewise.
29029 * math/s_cexpl.c: Likewise.
29030 * math/s_clog.c: Likewise.
29031 * math/s_clog10.c: Likewise.
29032 * math/s_clog10f.c: Likewise.
29033 * math/s_clog10l.c: Likewise.
29034 * math/s_clogf.c: Likewise.
29035 * math/s_clogl.c: Likewise.
29036 * math/s_csin.c: Likewise.
29037 * math/s_csinf.c: Likewise.
29038 * math/s_csinh.c: Likewise.
29039 * math/s_csinhf.c: Likewise.
29040 * math/s_csinhl.c: Likewise.
29041 * math/s_csinl.c: Likewise.
29042 * math/s_csqrt.c: Likewise.
29043 * math/s_csqrtf.c: Likewise.
29044 * math/s_csqrtl.c: Likewise.
29045 * math/s_ctan.c: Likewise.
29046 * math/s_ctanf.c: Likewise.
29047 * math/s_ctanh.c: Likewise.
29048 * math/s_ctanhf.c: Likewise.
29049 * math/s_ctanhl.c: Likewise.
29050 * math/s_ctanl.c: Likewise.
29051 * math/s_ldexp.c: Likewise.
29052 * math/s_ldexpf.c: Likewise.
29053 * math/s_ldexpl.c: Likewise.
29054 * math/s_significand.c: Likewise.
29055 * math/s_significandf.c: Likewise.
29056 * math/s_significandl.c: Likewise.
29057 * math/w_acos.c: Likewise.
29058 * math/w_acosf.c: Likewise.
29059 * math/w_acosh.c: Likewise.
29060 * math/w_acoshf.c: Likewise.
29061 * math/w_acoshl.c: Likewise.
29062 * math/w_acosl.c: Likewise.
29063 * math/w_asin.c: Likewise.
29064 * math/w_asinf.c: Likewise.
29065 * math/w_asinl.c: Likewise.
29066 * math/w_atan2.c: Likewise.
29067 * math/w_atan2f.c: Likewise.
29068 * math/w_atan2l.c: Likewise.
29069 * math/w_atanh.c: Likewise.
29070 * math/w_atanhf.c: Likewise.
29071 * math/w_atanhl.c: Likewise.
29072 * math/w_cosh.c: Likewise.
29073 * math/w_coshf.c: Likewise.
29074 * math/w_coshl.c: Likewise.
29075 * math/w_dremf.c: Likewise.
29076 * math/w_exp10.c: Likewise.
29077 * math/w_exp10f.c: Likewise.
29078 * math/w_exp10l.c: Likewise.
29079 * math/w_exp2.c: Likewise.
29080 * math/w_exp2f.c: Likewise.
29081 * math/w_fmod.c: Likewise.
29082 * math/w_fmodf.c: Likewise.
29083 * math/w_fmodl.c: Likewise.
29084 * math/w_hypot.c: Likewise.
29085 * math/w_hypotf.c: Likewise.
29086 * math/w_hypotl.c: Likewise.
29087 * math/w_j0.c: Likewise.
29088 * math/w_j0f.c: Likewise.
29089 * math/w_j0l.c: Likewise.
29090 * math/w_j1.c: Likewise.
29091 * math/w_j1f.c: Likewise.
29092 * math/w_j1l.c: Likewise.
29093 * math/w_jn.c: Likewise.
29094 * math/w_jnf.c: Likewise.
29095 * math/w_jnl.c: Likewise.
29096 * math/w_lgamma.c: Likewise.
29097 * math/w_lgamma_r.c: Likewise.
29098 * math/w_lgammaf.c: Likewise.
29099 * math/w_lgammaf_r.c: Likewise.
29100 * math/w_lgammal.c: Likewise.
29101 * math/w_lgammal_r.c: Likewise.
29102 * math/w_log.c: Likewise.
29103 * math/w_log10.c: Likewise.
29104 * math/w_log10f.c: Likewise.
29105 * math/w_log10l.c: Likewise.
29106 * math/w_log2.c: Likewise.
29107 * math/w_log2f.c: Likewise.
29108 * math/w_log2l.c: Likewise.
29109 * math/w_logf.c: Likewise.
29110 * math/w_logl.c: Likewise.
29111 * math/w_pow.c: Likewise.
29112 * math/w_powf.c: Likewise.
29113 * math/w_powl.c: Likewise.
29114 * math/w_remainder.c: Likewise.
29115 * math/w_remainderf.c: Likewise.
29116 * math/w_remainderl.c: Likewise.
29117 * math/w_scalb.c: Likewise.
29118 * math/w_scalbf.c: Likewise.
29119 * math/w_scalbl.c: Likewise.
29120 * math/w_sinh.c: Likewise.
29121 * math/w_sinhf.c: Likewise.
29122 * math/w_sinhl.c: Likewise.
29123 * math/w_sqrt.c: Likewise.
29124 * math/w_sqrtf.c: Likewise.
29125 * math/w_sqrtl.c: Likewise.
29126 * math/w_tgamma.c: Likewise.
29127 * math/w_tgammaf.c: Likewise.
29128 * math/w_tgammal.c: Likewise.
29130 * po/ja.po: Update from translation team.
29132 2011-09-29 Andreas Jaeger <aj@suse.de>
29135 * sunrpc/netname.c (netname2host): Fix logic.
29139 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29141 * math/w_remainder.c (__remainder): Likewise.
29142 * math/w_remainderf.c (__remainderf): Likewise.
29143 * math/libm-test.inc (remainder_test): Add test cases.
29145 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29147 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29150 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29152 * string/test-memcmp.c: Avoid unncessary #defines.
29153 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29155 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29157 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29158 Use new sse2 version for core i3 - i7 as it's faster
29159 than sse42 version.
29160 (bit_Prefer_PMINUB_for_stringop): New.
29161 * sysdeps/x86_64/rawmemchr.S: Update.
29162 Replace with faster SSE2 version.
29163 * sysdeps/x86_64/memrchr.S: New file.
29164 * sysdeps/x86_64/memchr.S: Update.
29165 Replace with faster SSE2 version.
29167 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29169 * elf/dl-load.c (lose): Add cast to avoid warning.
29171 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29173 * po/ca.po: Update from translation team.
29175 * inet/getnetgrent_r.c: Hook up nscd.
29176 * nscd/Makefile (routines): Add nscd_netgroup.
29177 (nscd-modules): Add netgroupcache.
29178 (CFLAGS-netgroupcache.c): Define.
29179 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29180 (cache_search): Add const to second parameter.
29181 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29183 (dbs): Add netgrdb entry.
29184 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29185 (verify_persistent_db): Handle netgrdb.
29186 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29187 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29189 (netgroup_response_header): Define.
29190 (innetgroup_response_header): Define.
29191 (datahead): Add netgroup_response_header and innetgroup_response_header
29193 * nscd/nscd.conf: Add entries for netgroup cache.
29194 * nscd/nscd.h (dbtype): Add netgrdb.
29195 (_PATH_NSCD_NETGROUP_DB): Define.
29196 (netgroup_iov_disabled): Declare.
29197 (xmalloc, xcalloc, xrealloc): Move declarations here.
29198 (cache_search): Adjust prototype.
29199 Add netgroup-related prototypes.
29200 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29201 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29202 (__nscd_innetgr): Declare.
29203 * nscd/selinux.c (perms): Use access_vector_t as element type and
29204 add netgroup-related initializers.
29205 * nscd/netgroupcache.c: New file.
29206 * nscd/nscd_netgroup.c: New file.
29207 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29208 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29209 For four parameters use innetgr.
29210 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29211 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29212 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29213 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29215 * nscd/connections.c (register_traced_file): Don't register file
29216 for disabled databases.
29218 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29220 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29222 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29223 from tree and freeing node.
29225 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29227 * nss/nsswitch.c (__nss_database_lookup): Handle
29228 nss_parse_service_list out of memory case.
29230 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29232 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29233 out of memory case.
29235 2011-10-04 Andreas Schwab <schwab@redhat.com>
29237 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29238 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29240 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29241 elf_machine_rela, elf_machine_lazy_rel.
29242 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29243 (ELF_DYNAMIC_DO_REL): Likewise.
29244 (ELF_DYNAMIC_DO_RELA): Likewise.
29245 (ELF_DYNAMIC_RELOCATE): Likewise.
29246 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29247 to ELF_DYNAMIC_DO_REL.
29248 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29249 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29250 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29252 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29253 skip_ifunc, don't call ifunc function if non-zero.
29254 (elf_machine_rela): Likewise.
29255 (elf_machine_lazy_rel): Likewise.
29256 (elf_machine_lazy_rela): Likewise.
29257 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29258 (elf_machine_lazy_rel): Likewise.
29259 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29261 (elf_machine_lazy_rel): Likewise.
29262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29264 (elf_machine_lazy_rel): Likewise.
29265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29266 (elf_machine_lazy_rel): Likewise.
29267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29268 (elf_machine_lazy_rel): Likewise.
29269 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29270 (elf_machine_lazy_rel): Likewise.
29271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29272 (elf_machine_lazy_rel): Likewise.
29273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29274 (elf_machine_lazy_rel): Likewise.
29275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29276 (elf_machine_lazy_rel): Likewise.
29278 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29280 * nss/nss_files/files-init.c (_nss_files_init): Use static
29281 initialization for all the *_traced_file variables.
29283 2011-09-28 Andreas Schwab <schwab@redhat.com>
29285 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29287 2011-09-27 Roland McGrath <roland@hack.frob.com>
29290 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29292 2011-09-27 Andreas Schwab <schwab@redhat.com>
29294 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29295 Reread the line before reparsing it.
29297 2011-09-26 Andreas Schwab <schwab@redhat.com>
29299 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29301 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29302 Maxim Kuvyrkov <maxim@codesourcery.com>
29303 Joseph Myers <joseph@codesourcery.com>
29305 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29306 if needed for __stack_chk_guard.
29308 2011-09-19 Roland McGrath <roland@hack.frob.com>
29310 * sysdeps/posix/spawni.c (script_execute): Always define it.
29311 It will be optimized away if unused.
29312 (maybe_script_execute): New function.
29313 (__spawni): Call it.
29315 * Makerules: Don't include tls.make.
29316 (config-tls): Always set to thread.
29317 * tls.make.c: File removed.
29319 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29321 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29322 * config.make.in (CPPFLAGS-config): New substituted variable.
29324 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29329 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29330 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29332 2011-09-15 Roland McGrath <roland@hack.frob.com>
29334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29335 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29337 (CALL_FAIL): Likewise.
29338 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29339 (CALL_FAIL): Macro removed.
29340 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29342 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29344 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29345 for __FINITE_MATH_ONLY__ == 1.
29347 2011-09-15 Andreas Schwab <schwab@redhat.com>
29349 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29350 __ieee754_sqrt instead of sqrt.
29351 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29352 __ieee754_sqrtf instead of sqrtf.
29353 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29354 __floorf instead of floorf.
29355 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29356 __floorf, __truncf instead of floorf, truncf.
29358 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29360 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29362 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29363 __extern_always_inline.
29364 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29367 2011-09-14 Andreas Schwab <schwab@redhat.com>
29369 * elf/rtld.c (dl_main): Also relocate in dependency order when
29370 doing symbol dependency testing.
29372 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29375 Always define `refsym'.
29377 2011-09-13 Andreas Schwab <schwab@redhat.com>
29379 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29380 (__FD_ELT): Renamed from __FDELT.
29381 * misc/bits/select2.h (__FD_ELT): Likewise.
29382 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29383 __FD_MASK instead of __FDELT, __FDMASK.
29384 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29386 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29389 * elf/Makefile (gen-ldd): Fix pattern.
29391 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29392 (init_tls): Likewise.
29394 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29398 2011-09-12 Andreas Schwab <schwab@redhat.com>
29400 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29401 `struct cmsghdr *' instead of `void *'.
29402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29405 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29407 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29409 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29410 ldd_rewrite_script.
29412 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29414 * configure.in: Remove --with-tls option.
29415 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29416 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29417 out in case it is missing.
29418 * sysdeps/ia64/elf/configure.in: Likewise.
29419 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29420 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29421 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29422 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29423 * sysdeps/sh/elf/configure.in: Likewise.
29424 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29425 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29426 * sysdeps/x86_64/elf/configure.in: Likewise.
29427 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29428 * sysdeps/mach/hurd/tls.h: Likewise.
29431 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29434 * configure.in: Fix use of AC_INIT.
29436 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29438 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29440 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29442 * malloc/hooks.c: Likewise.
29445 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29446 variables statically.
29447 (narenas): Initialize.
29448 (list_lock): Initialize.
29449 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29450 initializtion of main_arena and list_lock. Small cleanups.
29451 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29452 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29453 Add initializers to main_arena and mp_.
29454 (malloc_state): Remove pagesize member. Change all users to use
29457 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29458 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29459 is always initialized.
29461 * malloc/malloc.c: Removed unused configurations and dead code.
29462 * malloc/arena.c: Likewise.
29463 * malloc/hooks.c: Likewise.
29464 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29466 * include/tls.h: Removed. USE___THREAD must always be defined.
29467 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29468 * elf/dl-libc.c: Likewise.
29469 * elf/dl-tsd.c: Likewise.
29470 * include/errno.h: Likewise.
29471 * include/netdb.h: Likewise.
29472 * include/resolv.h: Likewise.
29473 * inet/herrno-loc.c: Likewise.
29474 * inet/herrno.c: Likewise.
29475 * malloc/arena.c: Likewise.
29476 * malloc/hooks.c: Likewise.
29477 * malloc/malloc.c: Likewise.
29478 * resolv/res-state.c: Likewise.
29479 * resolv/res_libc.c: Likewise.
29480 * sysdeps/i386/dl-machine.h: Likewise.
29481 * sysdeps/ia64/dl-machine.h: Likewise.
29482 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29484 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29485 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29486 * sysdeps/sh/dl-machine.h: Likewise.
29487 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29488 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29489 * sysdeps/unix/i386/sysdep.S: Likewise.
29490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29491 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29496 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29500 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29501 * sysdeps/x86_64/dl-machine.h: Likewise.
29502 * tls.make.c: Likewise.
29504 * configure.in: Remove --with-__thread option. Make tests for
29505 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29506 tls_model attribute fail if no support is available. Remove
29508 * Makeconfig: Adjust for dropped configure option. All features are
29510 * Makerules: Likewise.
29511 * Versions.def: Likewise.
29512 * argp/argp-fmtstream.c: Likewise.
29513 * argp/argp-fmtstream.h: Likewise.
29514 * argp/argp-help.c: Likewise.
29515 * assert/assert.c: Likewise.
29516 * config.h.in: Likewise.
29517 * config.make.in: Likewise.
29518 * configure: Likewise.
29519 * configure.in: Likewise.
29520 * csu/Versions: Likewise.
29521 * csu/init.c: Likewise.
29522 * elf/tst-audit2.c: Likewise.
29523 * elf/tst-tls10.c: Likewise.
29524 * elf/tst-tls10.h: Likewise.
29525 * elf/tst-tls11.c: Likewise.
29526 * elf/tst-tls12.c: Likewise.
29527 * elf/tst-tls14.c: Likewise.
29528 * elf/tst-tlsmod11.c: Likewise.
29529 * elf/tst-tlsmod12.c: Likewise.
29530 * elf/tst-tlsmod13.c: Likewise.
29531 * elf/tst-tlsmod13a.c: Likewise.
29532 * elf/tst-tlsmod14a.c: Likewise.
29533 * elf/tst-tlsmod15b.c: Likewise.
29534 * elf/tst-tlsmod16a.c: Likewise.
29535 * elf/tst-tlsmod16b.c: Likewise.
29536 * elf/tst-tlsmod7.c: Likewise.
29537 * elf/tst-tlsmod8.c: Likewise.
29538 * elf/tst-tlsmod9.c: Likewise.
29539 * gmon/gmon.c: Likewise.
29540 * grp/fgetgrent_r.c: Likewise.
29541 * grp/putgrent.c: Likewise.
29542 * hurd/fopenport.c: Likewise.
29543 * include/libc-symbols.h: Likewise.
29544 * include/tls.h: Likewise.
29545 * intl/gettextP.h: Likewise.
29546 * intl/loadinfo.h: Likewise.
29547 * locale/global-locale.c: Likewise.
29548 * locale/localeinfo.h: Likewise.
29549 * mach/devstream.c: Likewise.
29550 * malloc/arena.c: Likewise.
29551 * malloc/set-freeres.c: Likewise.
29552 * misc/err.c: Likewise.
29553 * misc/getttyent.c: Likewise.
29554 * misc/mntent_r.c: Likewise.
29555 * posix/getopt.c: Likewise.
29556 * posix/wordexp.c: Likewise.
29557 * pwd/fgetpwent_r.c: Likewise.
29558 * resolv/Versions: Likewise.
29559 * resolv/res_hconf.c: Likewise.
29560 * shadow/fgetspent_r.c: Likewise.
29561 * shadow/putspent.c: Likewise.
29562 * stdio-common/printf_fphex.c: Likewise.
29563 * stdio-common/tmpfile.c: Likewise.
29564 * stdlib/abort.c: Likewise.
29565 * stdlib/fmtmsg.c: Likewise.
29566 * sunrpc/auth_unix.c: Likewise.
29567 * sunrpc/clnt_perr.c: Likewise.
29568 * sunrpc/clnt_tcp.c: Likewise.
29569 * sunrpc/clnt_udp.c: Likewise.
29570 * sunrpc/clnt_unix.c: Likewise.
29571 * sunrpc/openchild.c: Likewise.
29572 * sunrpc/svc_simple.c: Likewise.
29573 * sunrpc/svc_tcp.c: Likewise.
29574 * sunrpc/svc_udp.c: Likewise.
29575 * sunrpc/svc_unix.c: Likewise.
29576 * sunrpc/xdr.c: Likewise.
29577 * sunrpc/xdr_array.c: Likewise.
29578 * sunrpc/xdr_rec.c: Likewise.
29579 * sunrpc/xdr_ref.c: Likewise.
29580 * sunrpc/xdr_stdio.c: Likewise.
29582 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29584 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29586 2011-07-03 Andreas Jaeger <aj@suse.de>
29588 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29589 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29590 regenerate with gen-libm-tests.pl.
29592 2010-05-12 Petr Baudis <pasky@suse.cz>
29595 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29596 around j0() zero points by switching to j1().
29597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29602 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29604 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29606 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29609 Patch in part by Pavel Roskin <proski@gnu.org>.
29612 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29614 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29615 Free memory block if necessary.
29618 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29619 be NULL. Don't lock in this case.
29621 2011-09-09 Roland McGrath <roland@hack.frob.com>
29623 * elf/elf.h (ELFOSABI_GNU): New macro.
29624 (ELFOSABI_LINUX): Define to that.
29626 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29628 * string/strncat.c (strncat): Undef the symbol in case it has been
29629 defined in bits/string.h.
29631 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29633 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29635 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29638 2011-08-17 Andreas Jaeger <aj@suse.de>
29640 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29642 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29643 Ian Lance Taylor <iant@google.com>
29645 * math/libm-test.inc (lround_test): New testcase.
29646 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29648 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29650 * Makefile: Remove support for automatic cvs check-ins.
29651 * Makerules: Likewise.
29652 * config.make.in: Likewise.
29653 * configure.in: Likewise.
29654 * intl/Makefile: Likewise.
29655 * locale/Makefile: Likewise.
29656 * po/Makefile: Likewise.
29657 * posix/Makefile: Likewise.
29658 * sysdeps/gnu/Makefile: Likewise.
29659 * sysdeps/mach/hurd/Makefile: Likewise.
29660 * sysdeps/sparc/sparc32/Makefile: Likewise.
29663 * posix/Makefile (bug-regex32-ENV): Define.
29664 Patch by John Stanley <jpsinthemix@verizon.net>.
29666 * misc/Makefile (headers): Add bits/select2.h.
29667 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29668 * misc/bits/select2.h: New file.
29669 * include/bits/select2.h: New file.
29670 * debug/Makefile (routines): Add fdelt_chk.
29671 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29672 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29674 * debug/fdelt_chk.c: New file.
29676 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29677 * wcsmbs/test-wmemcmp.c: Likewise.
29678 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29679 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29681 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29683 * string/Makefile (strop-tests): Add memcmp.
29684 * string/test-wmemcmp.c: New file.
29685 * string/test-memcmp.c: Add wmemcmp support.
29687 2011-09-08 Roland McGrath <roland@hack.frob.com>
29690 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29693 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29694 garbage value in a __mach_port_mod_refs call in the cases of the
29695 task-self and thread-self ports.
29697 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29699 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29701 2011-09-08 Andreas Schwab <schwab@redhat.com>
29703 * elf/dl-load.c (lose): Check for non-null L.
29705 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29707 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29709 * elf/dl-libc.c (dlerror_run): Pass back error code from
29713 * elf/dl-load.c (lose): Free l_origin if it is valid.
29715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29717 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29718 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29721 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29722 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29724 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29726 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29727 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29728 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29729 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29730 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29731 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29732 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29733 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29734 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29735 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29737 2011-08-15 Alan Modra <amodra@gmail.com>
29740 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29741 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29742 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29743 ppc_mcount to static-only-routines.
29744 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29746 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29747 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29749 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29752 for finite and infinity parameters.
29754 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29757 and add nop instructions for throughput optimization.
29758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29760 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29763 aligned copy for power7 with vector-scalar instructions.
29764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29766 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29771 2011-09-07 Andreas Schwab <schwab@redhat.com>
29774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29777 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29779 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29780 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29781 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29782 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29785 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29787 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29788 Forgot to demangle the pointer.
29790 * sysdeps/i386/sysdep.h: Define atom_text_section.
29791 * sysdeps/x86_64/sysdep.h: Likewise.
29792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29793 section with atom_text_section.
29794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29795 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29798 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29800 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29802 already be defined. Change to take two parameters and don't assign
29803 result to variable. Adjust all users.
29804 Define INTERNAL_GETTIME if not already defined.
29805 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29808 HAVE_CLOCK_GETTIME_VSYSCALL.
29809 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29812 gettimeofday vsyscall, just use time.
29814 2011-09-06 Andreas Schwab <schwab@redhat.com>
29816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29819 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29821 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29825 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29827 syscall if possible.
29829 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29831 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29832 e_ident. Don't pass to find_mapsXX.
29833 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29835 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29838 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29839 * sysdeps/x86_64/multiarch/strchr.S: Update.
29840 Check bit_slow_BSF bit.
29841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29842 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29843 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29845 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29848 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29850 (tryshell): Define.
29851 (__spawni): Change last parameter to be flag. Test
29852 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29853 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29854 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29855 * posix/spawni.c: Likewise.
29856 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29857 * posix/spawnp.c: Likewise. Change normal version to use
29858 SPAWN_XFLAGS_USE_PATH.
29859 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29860 SPAWN_XFLAGS_TRY_SHELL.
29863 * posix/glob.h: Remove gcc 1.x support.
29866 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29868 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29871 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29873 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29874 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29876 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29880 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29882 * sysdeps/x86_64/wcscmp.S: New file.
29884 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29885 wcscmp-c wcscmp-sse2
29886 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29887 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29889 * wcsmbs/wcscmp.c: Allow renaming.
29891 2011-09-05 David S. Miller <davem@davemloft.net>
29893 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29894 stack slot, rather than the struct return pointer slot.
29895 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29896 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29898 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29900 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29902 * po/ja.po: Update from translation team.
29905 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29906 kernel in 64-bit binaries.
29908 2011-09-01 David S. Miller <davem@davemloft.net>
29910 * elf/elf.h (HWCAP_SPARC_*): Move to..
29911 * sysdeps/sparc/sysdep.h: this new file and add new values.
29912 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29913 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29914 _DL_HWCAP_COUNT to 24.
29915 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29917 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29918 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29919 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29921 instead of magic constants.
29922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29924 2011-08-31 David S. Miller <davem@davemloft.net>
29926 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29928 Reimplement to do errno handling inline.
29929 (SYSCALL_ERROR_HANDLER): New macro.
29930 (__SYSCALL_STRING): Do not do errno handling in asm.
29931 (__CLONE_SYSCALL_STRING): Delete.
29932 (__INTERNAL_SYSCALL_STRING): Delete.
29933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29934 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29935 (PSEUDO): Reimplement to do errno handling inline.
29936 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29937 (SYSCALL_ERROR_HANDLER): New macro.
29938 (__SYSCALL_STRING): Do not do errno handling in asm.
29939 (__CLONE_SYSCALL_STRING): Delete.
29940 (__INTERNAL_SYSCALL_STRING): Delete.
29941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29942 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29944 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29945 (inline_syscall*): Add 'err' argument.
29946 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29947 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29948 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29949 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29951 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29952 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29954 2011-08-30 Andreas Schwab <schwab@redhat.com>
29956 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29958 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29960 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29963 2011-08-24 David S. Miller <davem@davemloft.net>
29965 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29967 2011-08-24 Andreas Schwab <schwab@redhat.com>
29969 * elf/Makefile: Add rules to build and run unload8 test.
29970 * elf/unload8.c: New file.
29971 * elf/unload8mod1.c: New file.
29972 * elf/unload8mod1x.c: New file.
29973 * elf/unload8mod2.c: New file.
29974 * elf/unload8mod3.c: New file.
29976 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29979 2011-08-23 David S. Miller <davem@davemloft.net>
29981 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29982 subtract stack bias.
29983 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29984 %sp not %fp in calculations.
29985 (_JMPBUF_UNWINDS_ADJ): Likewise.
29987 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29988 (aio_suspend): Call it to force an exception region around the
29989 AIO_MISC_WAIT() invocation.
29991 2011-08-23 Andreas Schwab <schwab@redhat.com>
29993 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29996 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29998 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30000 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30001 and <dl-machine.h>.
30002 (Elf64_FuncDesc): Remove.
30004 2011-08-22 David S. Miller <davem@davemloft.net>
30006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30007 sigaltstack check, add missing cfi directives.
30008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30009 missing cfi directives, and sigaltstack handling.
30011 2011-08-16 Andreas Schwab <schwab@redhat.com>
30014 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30015 object is seen twice.
30016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30018 * elf/Makefile (distribute): Add tst-initorder2.c.
30019 (tests): Add tst-initorder2.
30020 (modules-names): Add tst-initorder2a tst-initorder2b
30021 tst-initorder2c tst-initorder2d. Add rules to build them.
30022 ($(objpfx)tst-initorder2.out): New rule.
30023 * elf/tst-initorder2.c: New file.
30024 * elf/tst-initorder2.exp: New file.
30026 2011-08-22 Andreas Schwab <schwab@redhat.com>
30028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30030 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30031 dependencies back to end of function.
30033 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30034 $(elfobjdir)/ld.so.
30036 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30039 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30041 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30042 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30043 of __vdso_gettimeofday.
30044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30045 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30047 (_libc_vdso_platform_setup): Remove initialization of
30048 __vdso_gettimeofday and __vdso_time.
30050 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30052 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30053 and fgetc_unlocked.
30054 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30057 * elf/dl-open.c (add_to_global): Report additions to the global scope
30058 for LD_DEBUG=scopes.
30059 (dl_open_worker): Also print scope of newly loaded dependencies.
30060 (_dl_show_scope): Indicate if there is no scope.
30063 * stdio-common/Makefile (tests): Add bug24.
30064 * stdio-common/bug24.c: New file.
30066 2011-08-19 Andreas Jaeger <aj@suse.de>
30069 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30070 non-existant file when using close-on-exec mode.
30072 2011-08-20 Ulrich Drepper <drepper@gmail.com>
30074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30075 the very first instruction.
30077 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30078 the CFI state in the end.
30079 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30080 inclusion of dl-trampoline.h.
30081 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30083 2011-08-19 Andreas Schwab <schwab@redhat.com>
30085 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30086 expectations for long double.
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30089 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30091 2011-08-14 David S. Miller <davem@davemloft.net>
30093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30094 artificual limit depends upon the system page size.
30096 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30098 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30099 * resolv/Makefile: Define CFLAGS-libresolv.
30101 2011-08-17 Andreas Schwab <schwab@redhat.com>
30103 * nss/makedb.c (compute_tables): Make variables used in nested
30106 2011-08-17 Ulrich Drepper <drepper@gmail.com>
30108 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30109 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30110 if buffer was too small.
30112 * elf/pldd.c (main): Attach to all threads in the process.
30113 Rewrite /proc handling to use *at functions.
30115 2011-08-16 Ulrich Drepper <drepper@gmail.com>
30117 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30118 specifies first scope to show.
30119 (dl_open_worker): Update callers. Move printing scope of new
30120 object to before the relocation.
30121 * elf/rtld.c (dl_main): Update _dl_show_scope call.
30122 * sysdeps/generic/ldsodefs.h: Update declaration.
30124 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30125 string for the scope number.
30127 2011-08-14 Ulrich Drepper <drepper@gmail.com>
30129 * nscd/servicescache.c (cache_addserv): Make sure written is always
30132 2011-08-14 Roland McGrath <roland@hack.frob.com>
30134 * sysdeps/i386/i486/bits/atomic.h
30135 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30136 statement expression, so as to suppress "set but not used" warning.
30137 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30139 * string/strncat.c (STRNCAT): Use prototype definition.
30141 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30142 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30144 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30145 (localedef-modules): Add localedef.
30146 (locale-modules): Add locale.
30148 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30149 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30150 to avoid a warning.
30152 2011-08-14 David S. Miller <davem@davemloft.net>
30154 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30155 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30157 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30159 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30160 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30161 * elf/rtld.c (dl_main): Set l_name of vDSO.
30162 Call _dl_show_scope when DL_DEBUG_SCOPES.
30163 (process_dl_debug): Recognize scopes flag and also set it for all.
30164 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30165 Declare _dl_show_scope.
30167 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30168 (do_dlopen): Pass caller_dlopen to dl_open.
30169 (__libc_dlopen_mode): Initialize caller_dlopen.
30171 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30172 of libc. Make tolower call locale-independent. Optimize a bit by
30173 using isdigit instead of isalnum.
30174 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30176 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30178 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30179 was a dependency or dynamically loaded.
30181 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30183 * intl/l10nflist.c: Allow architecture-specific pop function.
30184 * sysdeps/x86_64/l10nflist.c: New file.
30186 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30189 2011-08-10 Andreas Schwab <schwab@redhat.com>
30191 * include/dirent.h: Add libc_hidden_proto for scandirat and
30192 scandirat64. Don't declare __scandirat64.
30193 * dirent/scandirat.c: Add libc_hidden_def.
30194 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30195 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30197 2011-08-10 David S. Miller <davem@davemloft.net>
30199 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30205 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30207 * Versions.def [libc]: Add GLIBC_2.15.
30208 * dirent/Makefile (routines): Add scandirat and scandirat64.
30209 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30211 * dirent/dirent.h: Declare scandirat and scandirat64.
30212 * dirent/scandirat.c: New file.
30213 * dirent/scandirat64.c: New file.
30214 * sysdeps/wordsize-64/scandirat.c: New file.
30215 * sysdeps/wordsize-64/scandirat64.c: New file.
30216 * dirent/opendir.c: Define opendirat.
30217 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30219 * dirent/scandir64.c: Adjust for scandir.c change.
30220 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30221 __scandirat64, and __scandir_cancel_handler.
30222 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30223 additional parameter and use openat instead of open (outside of ld.so).
30224 Add new __opendir as wrapper around __opendirat.
30225 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30226 here without requiring old scandirat implementation.
30228 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30230 * dirent/scandir.c (cancel_handler): Renamed to
30231 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30232 defined. Adjust users.
30233 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30234 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30236 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30238 * string/test-string.h (IMPL): Use __STRING to expand name and then
30241 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30244 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30246 * string/Makefile: Update.
30247 (strop-tests): Append strncat.
30248 * string/test-wcscmp.c: New file.
30249 New comprehensive test for wcscmp.
30250 * string/test-strcmp.c: Update.
30251 (WIDE): New define.
30253 2011-07-22 Andreas Schwab <schwab@redhat.com>
30255 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30258 2011-07-26 Andreas Schwab <schwab@redhat.com>
30260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30261 encoding to ACE if AI_IDN.
30263 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30266 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30268 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30270 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30271 Fix overflow bug in strncat.
30272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30274 * string/test-strncat.c: Update.
30275 Add new tests for checking overflow bugs.
30277 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30280 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30281 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30282 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30284 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30285 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30286 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30287 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30290 (USE_AS_STRCAT): Define.
30291 Add strcat and strncat support.
30292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30294 2011-07-25 Andreas Schwab <schwab@redhat.com>
30296 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30297 __n bigger than INT_MAX+1.
30298 (__strncmp_g): Likewise.
30300 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30302 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30303 * libio/stido.h: Likewise.
30305 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30310 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30313 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30317 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30322 (_dl_x86_64_save_sse): Likewise.
30324 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30328 (_dl_x86_64_save_sse): Likewise.
30330 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30332 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30334 2011-07-21 Andreas Schwab <schwab@redhat.com>
30336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30338 (_dl_x86_64_save_sse): Use correct AVX check.
30340 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30343 bug in strncpy/strncat.
30344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30346 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30348 * string/tester.c (test_strcat): Add tests for different alignments
30349 of source and destination.
30350 (test_strncat): Likewise.
30352 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30355 * posix/glob.c (glob): Check passed in values before using them in
30356 expressions to avoid some overflows.
30357 (glob_in_dir): Likewise.
30360 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30361 check for AVX enablement so that we don't crash with old kernels and
30363 * elf/tst-audit4.c: Add same checks here.
30364 * elf/tst-audit6.c: Likewise.
30366 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30368 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30370 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30372 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30374 * po/cs.po: Update from translation team.
30375 * po/bg.po: Likewise.
30377 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30379 * misc/sys/cdefs.h: Add support for const attribute.
30380 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30381 to gnu_dev_{major,minor,makedev} functions.
30383 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30385 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30387 2011-07-20 Andreas Schwab <schwab@redhat.com>
30389 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30392 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30395 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30396 register in order to avoid conflicts with the soft frame pointer
30397 being held in r11 when necessary.
30398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30399 (INTERNAL_VSYSCALL_NCS): Likewise.
30401 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30403 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30404 * elf/dl-fini.c (_dl_fini): Adjust caller.
30405 * elf/dl-close.c (_dl_close_worker): Likewise.
30406 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30408 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30410 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30411 "aux_cache->nlibs < 0".
30413 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30414 in the reload-count case.
30416 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30419 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30420 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30421 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30422 * sysdeps/x86_64/multiarch/strcat.S: New file.
30423 * sysdeps/x86_64/multiarch/strncat.S: New file.
30424 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30426 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30427 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30429 (USE_AS_STRCAT): Define.
30430 Add strcat and strncat support.
30431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30432 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30433 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30434 * string/strncat.c: Update.
30435 (USE_AS_STRNCAT): Define.
30436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30437 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30439 * sysdeps/x86_64/multiarch/init-arch.h
30440 (bit_Prefer_PMINUB_for_stringop): New.
30441 (index_Prefer_PMINUB_for_stringop): Likewise.
30442 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30443 bit_Prefer_PMINUB_for_stringop.
30445 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30447 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30449 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30450 of casting of buffer.
30451 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30452 buffer32 and buffer64.
30453 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30454 writes instead of casting of buffer.
30455 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30457 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30460 2011-07-19 Andreas Schwab <schwab@redhat.com>
30462 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30464 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30466 * nscd/nscd.c (termination_handler): Don't do anything for a database
30467 if it has not yet been initialized.
30469 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30471 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30473 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30475 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30477 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30479 * po/nl.po: Update from translation team.
30480 * po/sv.po: Likewise.
30482 2011-07-16 Roland McGrath <roland@hack.frob.com>
30484 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30485 now disallowed by GCC.
30487 * configure.in (use-default-link): Default to yes if a test -shared
30488 link meets our qualifications.
30489 * configure: Regenerated.
30491 * config.make.in (output-format): New variable.
30492 * configure.in: Check for ld --print-output-format support.
30493 * configure: Regenerated.
30494 * Makerules ($(common-objpfx)format.lds)
30495 [$(output-format) != unknown]: Just use $(output-format),
30496 instead of the linker-script munging.
30498 2011-07-14 Roland McGrath <roland@hack.frob.com>
30500 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30501 of $(common-objpfx)shlib.lds.
30502 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30504 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30505 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30507 * configure.in (-z relro check): Adjust test code to add a large
30508 writable data section after it.
30509 * configure: Regenerated.
30511 2011-07-11 Roland McGrath <roland@hack.frob.com>
30513 * configure.in (-z relro check): Fix test code to make the variable
30515 * configure: Regenerated.
30517 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30519 * nscd/nscd.h (struct traced_file): Define.
30520 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30521 elements. Add traced_files.
30522 (inotify_fd): Declare.
30523 (register_traced_file): Declare.
30524 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30525 (inotify_fd): Export.
30526 (resolv_conf_descr): Remove.
30527 (nscd_init): Move inotify descriptor creation to main.
30528 Don't register files for notification here.
30529 (register_traced_file): New function.
30530 (invalidate_cache): Don't use reset_res to determine whether to call
30531 res_init, go through the list of registered files.
30532 (main_loop_poll): The inotify descriptors are now stored in the
30533 structures for the traced files.
30534 (main_loop_epoll): Likewise
30535 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30536 to __nss_disable_nscd.
30537 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30538 for a database anymore. Check the records for all the registered
30540 * nss/Makefile (libnss_files-routines): Add files-init.
30541 (libnss_db-routines): Add db-init.
30542 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30543 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30544 * nss/nss_db/db-init.c: New file.
30545 * nss/nss_files/files-init.c: New file.
30546 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30547 __nss_lookup_function.
30548 (__nss_lookup_function): Call nss_load_library.
30549 (nss_load_all_libraries): New function.
30550 (__nss_disable_nscd): Take parameter with callback function for files
30551 to register. Set is_nscd. Load all the DSOs for the NSS modules
30552 used for the cached services.
30553 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30554 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30555 options for features to all the files in nscd.
30557 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30559 2011-07-10 Roland McGrath <roland@hack.frob.com>
30561 * csu/elf-init.c (__libc_csu_init): Comment typo.
30563 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30565 * po/pl.po: Update from translation team.
30566 * po/ja.po: Likewise.
30567 * po/ru.po: Likewise.
30568 * po/ko.po: Likewise.
30569 * po/fr.po: Likewise.
30571 2011-07-09 Roland McGrath <roland@hack.frob.com>
30573 * configure.in (.ctors/.dtors header and trailer check):
30574 Use an empirical test on a built program.
30575 * configure: Regenerated.
30577 * configure.in (-z relro check): Use an empirical test on a built DSO.
30578 Detect, but do not require, on ia64.
30579 * configure: Regenerated.
30581 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30582 Update tests that use readelf to use $READELF instead.
30583 * configure: Regenerated.
30585 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30587 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30588 if the result is not used.
30590 2011-07-05 Andreas Jaeger <aj@suse.de>
30593 * stdlib/tst-strtod.c: Add testcase.
30595 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30597 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30598 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30599 The latter has a higher limit. Take additional parameter to pass to
30601 (__pathconf): Pass file to __statfs_link_max.
30602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30604 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30608 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30611 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30612 (__statfs_filesize_max): Likewise.
30613 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30615 2011-07-05 Andreas Jaeger <aj@suse.de>
30617 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30619 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30621 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30623 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30626 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30628 * Makefile (strop-tests): Add strncat.
30629 * string/test-strncat.c: New file.
30631 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30633 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30635 2011-06-21 Andreas Jaeger <aj@suse.de>
30637 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30638 Copy rule from iconvdata/Makefile.
30640 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30643 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30644 but no long options are defined, just return 'W'.
30646 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30649 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30651 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30653 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30655 (innetgr): Likewise.
30657 2011-07-05 Roland McGrath <roland@hack.frob.com>
30659 * config.make.in (install_root): Default to $(DESTDIR).
30661 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30665 2011-07-02 Roland McGrath <roland@hack.frob.com>
30667 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30669 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30670 containing directory rather than embedding absolute directory names.
30672 * scripts/check-local-headers.sh: Rewritten using awk.
30673 Match by word, not by line. Print error messages for matches.
30674 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30676 * Makerules [shlib-lds-flags empty]:
30677 ($(common-objpfx)libc_pic.opts): New target.
30678 ($(common-objpfx)libc_pic.os.clean): New target.
30679 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30681 * config.make.in (OBJCOPY): New variable.
30682 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30683 * configure: Regenerated.
30685 * config.make.in (use-default-link): New variable.
30686 * configure.in (use_default_link): Grok --with-default-link to set it.
30687 * configure: Regenerated.
30688 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30689 (shlib-lds, shlib-lds-flags): Define to empty.
30691 * Makerules (shlib-lds): New variable.
30692 (shlib-lds-flags): New variable.
30693 (build-shlib, build-moduile, build-module-asneeded): Use it.
30694 ($(common-objpfx)libc.so): Use $(shlib-lds).
30695 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30698 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30699 DT_FLAGS/DT_FLAGS_1 with zero flags.
30701 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30702 linker script munging.
30704 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30706 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30708 * crypt/sha512.c (sha512_process_block): Perform total addition using
30709 128-bit if possible.
30710 (__sha512_finish_ctx): Likewise.
30711 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30713 * crypt/sha256.c (SWAP64): Define.
30714 (sha256_process_block): Perform total addition using 64-bit if
30716 (__sha256_finish_ctx): Likewise.
30718 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30720 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30722 * nscd/hstcache.c (cache_addhst): Likewise.
30723 * nscd/grpcache.c (cache_addgr): Likewise.
30724 * nscd/aicache.c (addhstaiX): Likewise
30725 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30727 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30729 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30731 * nscd/hstcache.c (cache_addhst): Likewise.
30732 * nscd/grpcache.c (cache_addgr): Likewise.
30733 * nscd/aicache.c (addhstaiX): Likewise
30735 2011-07-01 Andreas Schwab <schwab@redhat.com>
30737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30738 domain only when needed.
30740 2011-06-30 Andreas Schwab <schwab@redhat.com>
30742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30743 is always restored.
30745 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30747 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30748 are re-adding the entry.
30749 * nscd/servicescache.c (cache_addserv): Likewise.
30751 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30753 * sysdeps/generic/dl-irel.h: fix protection against multiple
30755 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30757 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30760 * malloc/memusage.sh: Fix quoting in message.
30761 * debug/xtrace.sh: Likewise.
30763 * configure.in: Remove support for --experimental-malloc option, make
30765 * config.make.in: Likewise.
30766 * malloc/Makefile: Likewise.
30768 2011-06-27 Andreas Schwab <schwab@redhat.com>
30770 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30771 two-byte characters.
30773 2011-06-27 Roland McGrath <roland@hack.frob.com>
30775 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30776 AC_CACHE_CHECK invocation.
30777 * configure: Regenerated.
30779 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30781 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30784 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30785 bit from old_res_options.
30787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30789 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30790 value type for setfct.
30792 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30795 __gettimeofday instead of gettimeofday.
30797 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30799 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30801 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30808 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30811 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30812 strcpy-sse2-unaligned strncpy-sse2-unaligned
30813 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30814 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30815 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30816 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30817 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30820 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30821 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30822 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30823 (STRCPY): Support SSE2 and SSSE3 versions.
30825 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30828 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30829 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30830 kernels which artificially limit size of requests.
30832 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30835 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30836 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30837 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30838 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30839 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30840 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30841 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30844 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30845 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30846 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30847 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30848 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30850 Enable unaligned load optimization for Intel Core i3, i5 and i7
30852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30854 (index_Fast_Unaligned_Load): Define.
30855 (HAS_FAST_UNALIGNED_LOAD): Define.
30857 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30859 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30861 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30865 until it is clear that the information is realy needed.
30866 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30868 2011-06-22 Andreas Schwab <schwab@redhat.com>
30870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30872 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30875 /sys/devices/system/cpu/online if it is usable.
30877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30878 reading the information from the /proc filesystem to once a second.
30880 2011-06-21 Andreas Jaeger <aj@suse.de>
30882 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30883 NULL after inclusion of kernel headers.
30885 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30887 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30888 calls to internal_setent.
30891 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30892 addresses using gethostbyname4_r ignore IPv4 addresses.
30894 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30895 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30897 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30899 2011-06-20 David S. Miller <davem@davemloft.net>
30901 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30903 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30905 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30906 (elf_irel): Use it.
30907 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30908 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30909 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30910 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30911 * sysdeps/x86_64/dl-irel.h: Likewise.
30913 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30914 * elf/dl-sym.c: Likewise.
30916 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30918 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30919 need to dereference resplen2.
30921 2011-06-14 Andreas Schwab <schwab@redhat.com>
30923 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30925 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30927 * Makeconfig: Define vardbdir and inst_vardbdir.
30928 * nss/Makefile: Add rules to install db-Makefile.
30930 * nss/nss_db/db-XXX.c: Cleanup.
30932 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30933 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30935 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30936 * nss/makedb.c: Implement -g option to specify that value strings
30937 are generated and should not be added to table iterated over for
30939 * nss/nss_db/db-initgroups.c: New file.
30941 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30944 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30945 (internal_getgrouplist): Adjust to name change.
30946 Update use_initgroups_entry if this is not the first call.
30947 * nss/databases.def: Add initgroups entry.
30949 * nss/makedb.c (compute_tables): Check result of multiple hash table
30950 sizes to minimize maximum chain length.
30952 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30954 * Versions.def: Add entry for libnss_db.
30955 * shlib-versions: Likewise.
30956 * nss/Makefile: Add rules to build libnss_db.
30957 * nss/Versions: Add libnss_db information. Organize libnss_files
30959 * nss/db-Makefile: Add gshadow support. Change rules for the new
30960 makedb progra. Some minor improvements to generate smaller files.
30961 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30963 * nss/makedb.c: ...here.
30964 Improve database format to be smaller and require less memory at
30966 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30968 * nss/nss_db/db-netgrp.c: Likewise.
30969 * nss/nss_db/db-open.c: Likewise.
30970 * nss/nss_files/flies-XXX.x: Adjust comments.
30971 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30972 * nss/nss_files/files-grp.c: Likewise.
30973 * nss/nss_files/files-hosts.c: Likewise.
30974 * nss/nss_files/files-network.c: Likewise.
30975 * nss/nss_files/files-proto.c: Likewise.
30976 * nss/nss_files/files-pwd.c: Likewise.
30977 * nss/nss_files/files-rpc.c: Likewise.
30978 * nss/nss_files/files-service.c: Likewise.
30979 * nss/nss_files/files-sgrp.c: Likewise.
30980 * nss/nss_files/files-spwd.c: Likewise.
30981 * nss/nss_db/db-alias.c: Removed.
30982 * nss/nss_db/dummy-db.h: Removed.
30984 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30986 * nss/makedb.c: Rewritten to not use database library.
30987 * nss/Makefile: Update to build new makedb program.
30989 2011-06-14 Andreas Jaeger <aj@suse.de>
30991 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30992 memset declaration.
30994 2011-06-10 Andreas Schwab <schwab@redhat.com>
30996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30999 2011-06-10 Roland McGrath <roland@hack.frob.com>
31001 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31002 * elf/Makefile ($(objpfx)ld.so): Likewise.
31004 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31005 Don't list ld.so twice in dependencies.
31007 * posix/bug-regex31.c: Include <stdlib.h>.
31009 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31011 * nis/nss_compat/compat-spwd.c
31012 (getspent_next_nss_netgr): Remove unused variable.
31013 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31015 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31016 nonmembers" output to use the right array.
31018 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31020 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31022 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31023 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31024 * catgets/gencat.c (read_input_file): Likewise.
31025 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31027 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31028 variable definition inside #if's controlling its use.
31030 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31032 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31034 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31036 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31039 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31041 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31042 * configure: Regenerated.
31044 * Makerules: Revert last change.
31045 * elf/Makefile: Likewise.
31047 2011-06-09 Roland McGrath <roland@hack.frob.com>
31049 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31050 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31051 (reloc-link): Likewise.
31053 2011-06-09 Ulrich Drepper <drepper@gmail.com>
31055 * elf/Makefile: Add rules to build pldd.
31056 * elf/pldd.c: New file.
31057 * elf/pldd-xx.c: New file.
31059 2011-06-07 Ulrich Drepper <drepper@gmail.com>
31061 * version.h: Update for 2.15 development version.
31063 2011-06-07 David S. Miller <davem@davemloft.net>
31065 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31068 elf_machine_lazy_rel): Likewise.
31069 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31071 elf_machine_lazy_rel): Likewise.
31072 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31073 dl_hwcap via passed in argument.
31074 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31077 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31079 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31081 2011-06-06 Roland McGrath <roland@hack.frob.com>
31084 * manual/fdl-1.1.texi: New file, verbatim from:
31085 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31086 * manual/lgpl-2.1.texi: New file, verbatim from:
31087 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31088 * manual/Makefile (licenses): New variable, list those new file names.
31090 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31092 * manual/fdl.texi: File removed.
31093 * manual/lesser.texi: File removed.
31094 * manual/libc.texinfo (Copying, Documentation License):
31095 Use new @include file names, put @appendix directive before @include.
31097 2011-06-04 Jakub Jelinek <jakub@redhat.com>
31100 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31101 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31102 (mq_open): Add __NTH.
31104 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31107 Assume Intel Core i3/i5/i7 processor if AVX is available.
31109 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31114 2011-05-31 Andreas Schwab <schwab@redhat.com>
31116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31117 memory. Use alloca_account. Fix memory leak when retrying.
31119 2011-05-31 Ulrich Drepper <drepper@gmail.com>
31121 * version.h (RELEASE): Bump for 2.14 release.
31122 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31124 * config.make.in (RANLIB): Remove entry.
31126 2011-05-30 Ulrich Drepper <drepper@gmail.com>
31128 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31129 (libc.pot): Work around missing support for .ksh extension in xgettext.
31132 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31133 if both request failed.
31134 (send_dg): In case of server errors clear resplen or *resplen2.
31137 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31138 when there are multiple maps.
31139 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31140 (_dl_fini): Remove test here.
31142 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31144 2011-05-29 Ulrich Drepper <drepper@gmail.com>
31147 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31148 bit from old_res_options.
31149 (gaih_inet): Likewise.
31152 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31155 * resolv/res_init.c (res_setoptions): Make the code more compact.
31158 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31162 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31164 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31167 * malloc/malloc.h: Declare malloc hook variables as volatile.
31169 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31173 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31174 raise in the comment.
31175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31177 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31179 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31182 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31183 grow the buffers more if it already has to be sufficient.
31184 (build_wcs_upper_buffer): Likewise.
31185 * posix/regexec.c (check_matching): Likewise.
31186 (clean_state_log_if_needed): Likewise.
31187 (extend_buffers): Don't enlarge buffers beyond size of the input
31189 Patches mostly by Emil Wojak <emil@wojak.eu>.
31190 * posix/bug-regex32.c: New file.
31191 * posix/Makefile (tests): Add bug-regex32.
31193 * locale/findlocale.c (_nl_find_locale): Return right away if
31194 _nl_explode_name failed.
31195 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31197 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31199 * debug/xtrace.sh: Unify messages.
31200 * malloc/memusage.sh: Likewise.
31203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31204 time symbol from vDSO. Substitute with vsyscall if not available.
31205 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31208 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31209 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31210 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31211 Add sendmmsg and internal_sendmmsg.
31212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31213 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31216 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31217 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31220 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31223 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31224 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31230 * iconvdata/Makefile (tests): Add bug-iconv9.
31231 * iconvdata/bug-iconv9.c: New file.
31233 2011-05-27 Andreas Schwab <schwab@redhat.com>
31236 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31238 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31241 (struct user_regs_struct): Change intcs field back to cs.
31243 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31245 * po/ja.po: Update from translation team.
31247 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31251 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31253 2011-05-20 Andreas Schwab <schwab@redhat.com>
31255 * stdlib/longlong.h: Update from GCC.
31257 2011-05-23 Andreas Schwab <schwab@redhat.com>
31259 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31261 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31262 Add parameter name.
31263 (__sysconf): Pass it down.
31265 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31268 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31271 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31272 add in in __libc_use_alloca calls. Adjust callers.
31273 (glob): Use malloc in some situations.
31275 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31276 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31279 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31281 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31282 and CLOCK_BOOTTIME_ALARM.
31285 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31288 * string/_strerror.c (__strerror_r): Print negative errors as signed
31292 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31293 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31294 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31296 * configure.in: Fix typo in redirection and correct removal of test
31297 files in two cases.
31300 * locale/setlocale.c (new_composite_name): Fix test to check for
31301 identical name of all categories.
31304 * libio/filedoalloc.c (local_isatty): New function.
31305 (_IO_file_doallocate): Use local_isatty.
31306 * stdio-common/perror.c (perror): In case a new stream is used
31307 forward the stream error.
31308 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31311 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31316 * include/alloca.h (extend_alloca_account): Define.
31319 * posix/regex.h: Fix comments with documentation of user-accessible
31320 fields after compilation and describe correct free'ing of pattern
31321 after re_compile_pattern.
31322 Patch by Reuben Thomas <rrt@sc3d.org>.
31324 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31326 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31327 and -mno-altivec to prevent the compiler from using Altivec and/or
31328 VSX instructions when the corresponding registers are not available.
31330 2011-05-19 Andreas Schwab <schwab@redhat.com>
31332 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31334 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31336 * libio/freopen.c (freopen): Use __dup2, not dup2.
31337 * libio/freopen64.c (freopen64): Likewise.
31339 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31342 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31343 * math/Makefile (tests): Add test-powl.
31344 (CFLAGS-test-powl.c): Define.
31345 * math/test-powl.c: New file.
31347 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31349 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31351 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31354 * iconvdata/gb18030.c: Update to GB18020-2005.
31356 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31358 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31359 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31360 Patch by Aharon Robbins <arnold@skeeve.com>.
31363 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31367 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31368 through underflows.
31371 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31372 point to strings before performing equality test for error_one_per_line
31376 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31380 (struct user_fpregs_struct): Avoid __uint*_t types.
31383 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31384 symbol info. Use it instead of calling _dl_addr locally.
31385 (lock_and_info): New function.
31386 (tr_freehook): Call lock_and_info and pass symbol info as additional
31387 parameter to tr_where.
31388 (tr_mallochook): Likewise.
31389 (tr_reallochook): Likewise.
31390 (tr_memalignhook): Likewise.
31392 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31393 used and couldn't be at all thread-safe.
31395 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31397 * libio/freopen.c (freopen): Don't close old file descriptor
31398 before the new one is opened. Instead dup the new file descriptor
31399 to the old one after the new stream is created.
31400 * libio/freopen64.c (freopen64): Likewise.
31401 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31402 * libio/fileops.c (_IO_new_file_close_it): Handle new
31403 _IO_FLAGS2_NOCLOSE flag.
31404 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31405 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31406 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31407 _IO_FLAGS2_NOCLOSE flag.
31408 * include/unistd.h: Add hidden_proto for dup3.
31409 Define __have_dup3.
31410 * io/dup3.c: Define hidden symbol.
31411 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31414 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31415 when an incomplete long option is used.
31416 * posix/tst-getopt_long1.c: New file.
31417 * posix/Makefile (tests): Add tst-getopt_long1.
31420 * scripts/config.guess: Update from autoconf-2.68.
31421 * scripts/config.sub: Likewise.
31424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31426 (has_cpuclock): ...this. New function.
31427 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31428 macro here based on has_cpuclock code.
31431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31432 First byte (not low byte) is now always NUL.
31433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31436 Use non-cancelable interfaces.
31439 * locale/iso-639.def: Add entry for Sorani.
31442 * include/stdlib.h: Move include protection to the right place.
31443 Define abort_msg_s. Declare __abort_msg with it.
31444 * stdlib/abort.c (__abort_msg): Adjust type.
31445 * assert/assert.c (__assert_fail_base): New function. Majority
31446 of code from __assert_fail. Allocate memory for __abort_msg with
31448 (__assert_fail): Now call __assert_fail_base.
31449 * assert/assert-perr.c: Remove bulk of implementation. Use
31450 __assert_fail_base.
31451 * include/assert.hL Declare __assert_fail_base.
31452 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31454 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31456 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31460 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31461 until all modules are registered in the DTV.
31462 * elf/Makefile: Add rules to build and run tst-tls19.
31463 * elf/tst-tls19.c: New file.
31464 * elf/tst-tls19mod1.c: New file.
31465 * elf/tst-tls19mod2.c: New file.
31466 * elf/tst-tls19mod3.c: New file.
31467 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31470 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31474 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31475 two-byte sequence errors.
31476 * iconvdata/Makefile (tests): Add bug-iconv8.
31477 * iconvdata/bug-iconv8.c: New file.
31480 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31483 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31486 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31487 (dummy_getcfa): New function.
31488 (init): Get _Unwind_GetCFA address, use dummy if not found.
31489 (backtrace_helper): In recursion check, also check whether CFA changes.
31490 (__backtrace): Completely initialize arg.
31492 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31493 storing incomplete byte sequence in state object. Avoid testing for
31494 guaranteed too small input if we know there is enough data available.
31496 2011-05-11 Andreas Schwab <schwab@redhat.com>
31498 * Makeconfig (+link-pie): Indent.
31499 * Rules (binaries-pie): Define if $(have-fpie) and
31501 (binaries-shared): Also filter out $(binaries-pie).
31502 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31503 * nscd/Makefile (others-pie): Add nscd.
31504 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31505 ($(objpfx)nscd): Remove command override.
31506 * login/Makefile (others-pie): Add pt_chown.
31507 ($(objpfx)pt_chown): Remove command override.
31508 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31509 remove command overrides.
31511 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31513 * libio/tst_putwc.c: Fix error messages.
31516 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31517 currently writing and seek to current position when not.
31518 * libio/Makefile (tests): Add bug-fclose1.
31519 * libio/bug-fclose1.c: New file.
31521 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31524 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31525 don't set DF_1_NODELETE here.
31526 (do_lookup_x): When entering new entry test for copy relocation
31527 and if necessary set DF_1_NODELETE flag.
31528 * elf/tst-unique4.cc: New file.
31529 * elf/tst-unique4.h: New file.
31530 * elf/tst-unique4lib.cc: New file.
31531 * elf/Makefile: Add rules to build and run tst-unique4.
31532 Patch by Piotr Bury <pbury@goahead.com>.
31534 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31537 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31540 * misc/mntent_r.c (addmntent): Flush the stream after the output
31543 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31544 (is_trusted_path_normalize): Skip initial colon. Append slash
31545 to empty buffer. Duplicate is_trusted_path code but allow
31546 constructed patch to be prefix.
31547 (is_dst): Allow $ORIGIN followed by /.
31548 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31549 Correct testing of result of is_trusted_path_normalize
31550 (decompose_rpath): Fix warning.
31552 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31555 * grp/initgroups.c (internal_getgrouplist): When we found the service
31556 list through the initgroups entry in nsswitch.conf do not always
31557 continue on a successful lookup. Don't always use the
31558 __nss_group_database value if it is set.
31559 * nss/nsswitch.conf (initgroups): Change action for successful db
31560 lookup to continue for compatibility.
31562 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31565 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31567 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31569 * iconvdata/tst-tables.sh: Likewise.
31570 * iconvdata/cp770.c: New file.
31571 * iconvdata/cp771.c: New file.
31572 * iconvdata/cp772.c: New file.
31573 * iconvdata/cp773.c: New file.
31574 * iconvdata/cp774.c: New file.
31575 * iconvdata/testdata/CP770: New file.
31576 * iconvdata/testdata/CP770..UTF8: New file.
31577 * iconvdata/testdata/CP771: New file.
31578 * iconvdata/testdata/CP771..UTF8: New file.
31579 * iconvdata/testdata/CP772: New file.
31580 * iconvdata/testdata/CP772..UTF8: New file.
31581 * iconvdata/testdata/CP773: New file.
31582 * iconvdata/testdata/CP773..UTF8: New file.
31583 * iconvdata/testdata/CP774: New file.
31584 * iconvdata/testdata/CP774..UTF8: New file.
31586 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31588 * iconvdata/gen-8bit-gap.sh: Likewise.
31589 * iconvdata/gen-8bit.sh: Likewise.
31591 * locale/iso-639.def: Add ary entry.
31594 * locale/C-translit.h.in: Add U20A1 transliteration.
31597 * locale/iso-639.def: Add wae entry.
31598 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31601 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31605 * locale/C-translit.h.in: Add entry for U20B9.
31606 Patch by pravin.d.s@gmail.com.
31608 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31611 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31612 ENAMETOOLONG use generic getcwd.
31613 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31614 in rtld. Use *stat64.
31615 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31616 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31617 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31618 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31619 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31620 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31621 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31622 __fstatat64 macros.
31623 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31624 * dirent/rewinddir.c: Add libc_hidden_def.
31625 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31626 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31628 * include/dirent.h (__alloc_dir): Add flags parameter.
31629 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31630 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31632 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31633 from fdopendir if O_CLOEXEC is already set.
31635 2011-03-15 Alan Modra <amodra@gmail.com>
31637 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31638 l_tls_firstbyte_offset non-zero. Save padding offset in
31639 l_tls_firstbyte_offset for later use.
31640 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31641 freeing static tls block.
31643 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31645 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31646 where #ifdef was intended. The intent is to prevent ARG_MAX from
31647 being defined by the kernel headers.
31649 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31652 * resolv/resolv.h: Define RES_NOTLDQUERY.
31653 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31654 no-tld-query and set RES_NOTLDQUERY.
31655 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31656 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31657 modern BIND to search name as TLD unless forbidden.
31659 2011-05-07 Petr Baudis <pasky@suse.cz>
31660 Ulrich Drepper <drepper@gmail.com>
31663 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31664 (is_trusted_path): ...to here.
31665 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31666 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31667 using is_trusted_path_normalize() in setuid scripts.
31669 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31671 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31672 __BEGIN/__END_DECLS.
31674 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31677 NSS_STATUS_NOTFOUND if no record was found.
31679 2011-05-05 Andreas Schwab <schwab@redhat.com>
31681 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31682 (headers-not-in-tirpc): Remove rpc/netdb.h
31683 * resolv/netdb.h: Revert last change.
31685 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31687 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31688 circular dependency between libgcc.a and libc.a.
31690 2011-05-05 Andreas Schwab <schwab@redhat.com>
31692 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31693 * nis/Makefile: Don't install rpcsvc/*.
31694 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31695 instead of <rpc/types.h>.
31696 (MAXHOSTNAMELEN): Define.
31698 2011-05-03 Andreas Schwab <schwab@redhat.com>
31700 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31702 2011-04-28 Maciej Babinski <mbabinski@google.com>
31705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31706 gethostbyname4_r when IPv6 results are possible.
31708 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31711 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31712 _PC_PIPE_BUF handling.
31714 2011-04-30 Bruno Haible <bruno@clisp.org>
31717 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31718 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31720 * inet/getnameinfo.c (getnameinfo): Likewise.
31722 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31724 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31725 to groups setting in database lookup.
31726 * nss/nsswitch.conf: Add initgroups entry.
31728 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31731 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31733 Patch by Eric Blake <eblake@redhat.com>.
31735 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31737 * sunrpc/Makefile (need-export-routines): Add svc_run.
31738 (routines): Remove svc_run.
31739 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31740 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31741 * sunrpc/svc_run.c (svc_run): Likewise.
31742 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31744 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31747 problem in reallocation in last patch.
31749 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31751 * sunrpc/Makefile: Move inclusion of Rules.
31753 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31755 * nss/nss_files/files-initgroups.c: New file.
31756 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31757 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31758 _nss_files_initgroups_dyn.
31760 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31762 * elf/elf.h (R_ARM_IRELATIVE): Define.
31764 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31766 * po/ru.po: Update from translation team.
31768 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31770 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31773 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31776 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31777 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31780 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31782 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31790 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31793 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31795 * stdlib/bug-getcontext.c: New file.
31796 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31798 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31800 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31801 instructions into .machine "z9-109".
31802 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31803 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31805 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31807 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31808 between environment variables and auxiliary vector.
31810 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31812 * Makefile: Add rules to build linkobj/libc.so.
31813 * include/libc-symbols.h: Define libc_hidden_nolink.
31814 * include/rpc/auth.h: Mark functions which are to be hidden.
31815 * include/rpc/auth_des.h: Likewise.
31816 * include/rpc/auth_unix.h: Likewise.
31817 * include/rpc/clnt.h: Likewise.
31818 * include/rpc/des_crypt.h: Likewise.
31819 * include/rpc/key_prot.h: Likewise.
31820 * include/rpc/pmap_clnt.h: Likewise.
31821 * include/rpc/pmap_prot.h: Likewise.
31822 * include/rpc/pmap_rmt.h: Likewise.
31823 * include/rpc/rpc_msg.h: Likewise.
31824 * include/rpc/svc.h: Likewise.
31825 * include/rpc/svc_auth.h: Likewise.
31826 * include/rpc/xdr.h: Likewise.
31827 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31828 * nss/Makefile: Likewise.
31829 * sunrpc/Makefile: Don't install headers. Build library with normal
31830 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31831 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31832 for the compat linking library. Remove use of INTDEF/INTUSE.
31833 * sunrpc/auth_none.c: Likewise.
31834 * sunrpc/auth_unix.c: Likewise.
31835 * sunrpc/authdes_prot.c: Likewise.
31836 * sunrpc/authuxprot.c: Likewise.
31837 * sunrpc/clnt_gen.c: Likewise.
31838 * sunrpc/clnt_perr.c: Likewise.
31839 * sunrpc/clnt_raw.c: Likewise.
31840 * sunrpc/clnt_simp.c: Likewise.
31841 * sunrpc/clnt_tcp.c: Likewise.
31842 * sunrpc/clnt_udp.c: Likewise.
31843 * sunrpc/clnt_unix.c: Likewise.
31844 * sunrpc/des_crypt.c: Likewise.
31845 * sunrpc/des_soft.c: Likewise.
31846 * sunrpc/get_myaddr.c: Likewise.
31847 * sunrpc/key_call.c: Likewise.
31848 * sunrpc/key_prot.c: Likewise.
31849 * sunrpc/netname.c: Likewise.
31850 * sunrpc/pm_getmaps.c: Likewise.
31851 * sunrpc/pm_getport.c: Likewise.
31852 * sunrpc/pmap_clnt.c: Likewise.
31853 * sunrpc/pmap_prot.c: Likewise.
31854 * sunrpc/pmap_prot2.c: Likewise.
31855 * sunrpc/pmap_rmt.c: Likewise.
31856 * sunrpc/publickey.c: Likewise.
31857 * sunrpc/rpc_cmsg.c: Likewise.
31858 * sunrpc/rpc_common.c: Likewise.
31859 * sunrpc/rpc_dtable.c: Likewise.
31860 * sunrpc/rpc_prot.c: Likewise.
31861 * sunrpc/rpc_thread.c: Likewise.
31862 * sunrpc/rtime.c: Likewise.
31863 * sunrpc/svc.c: Likewise.
31864 * sunrpc/svc_auth.c: Likewise.
31865 * sunrpc/svc_authux.c: Likewise.
31866 * sunrpc/svc_raw.c: Likewise.
31867 * sunrpc/svc_run.c: Likewise.
31868 * sunrpc/svc_simple.c: Likewise.
31869 * sunrpc/svc_tcp.c: Likewise.
31870 * sunrpc/svc_udp.c: Likewise.
31871 * sunrpc/svc_unix.c: Likewise.
31872 * sunrpc/svcauth_des.c: Likewise.
31873 * sunrpc/xcrypt.c: Likewise.
31874 * sunrpc/xdr.c: Likewise.
31875 * sunrpc/xdr_array.c: Likewise.
31876 * sunrpc/xdr_float.c: Likewise.
31877 * sunrpc/xdr_intXX_t.c: Likewise.
31878 * sunrpc/xdr_mem.c: Likewise.
31879 * sunrpc/xdr_rec.c: Likewise.
31880 * sunrpc/xdr_ref.c: Likewise.
31881 * sunrpc/xdr_sizeof.c: Likewise.
31882 * sunrpc/xdr_stdio.c: Likewise.
31884 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31887 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31888 * sysdeps/ia64/dl-tls.h: Likewise.
31889 * sysdeps/powerpc/dl-tls.h: Likewise.
31890 * sysdeps/s390/dl-tls.h: Likewise.
31891 * sysdeps/sh/dl-tls.h: Likewise.
31892 * sysdeps/sparc/dl-tls.h: Likewise.
31893 * sysdeps/x86_64/dl-tls.h: Likewise.
31894 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31896 2011-03-14 Andreas Schwab <schwab@redhat.com>
31898 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31899 rpath element also skip the following colon.
31900 (expand_dynamic_string_token): Add is_path parameter and pass
31901 down to DL_DST_REQUIRED and _dl_dst_substitute.
31902 (decompose_rpath): Call expand_dynamic_string_token with
31903 non-zero is_path. Ignore empty rpaths.
31904 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31907 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31912 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31915 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31916 Patch by Filipe David Manana <fdmanana@apache.org>.
31918 2011-04-07 Andreas Schwab <schwab@redhat.com>
31920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31921 Maintain aligned stack.
31922 (CHECK_RSP): Remove unused macro.
31924 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31926 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31929 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31931 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31933 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31935 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31938 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31939 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31940 * sysdeps/x86_64/memmove.c: New file.
31941 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31942 (memcpy): Renamed to ...
31943 (__new_memcpy): This.
31944 (memcpy): Provide GLIBC_2_14 memcpy.
31945 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31946 (memcpy): Provide GLIBC_2_2_5 memcpy.
31948 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31951 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31953 2011-03-30 Andreas Schwab <schwab@redhat.com>
31955 * misc/syncfs.c: New file.
31956 * misc/Makefile (routines): Add syncfs.
31957 * posix/unistd.h: Declare syncfs.
31958 * sysdeps/unix/syscalls.list: Add syncfs.
31960 2011-04-01 Andreas Schwab <schwab@redhat.com>
31962 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31969 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31972 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31976 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31980 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31982 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31983 sync_file_range.c with -fexceptions.
31984 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31985 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31986 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31987 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31988 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31989 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31991 sync_file_range as cancellation point
31992 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31993 now a wrapper around __call_sync_file_range with cancellation handling.
31994 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31995 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31996 function name to __call_sync_file_range.
31997 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31998 Add call_sync_file_range.
32000 2011-04-01 Andreas Schwab <schwab@redhat.com>
32002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32005 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32007 * iconv/iconv.h: Fix typo in comment.
32008 * io/fcntl.h: Likewise.
32009 * libio/stdio.h: Likewise.
32010 * posix/spawn.h: Likewise.
32011 * posix/unistd.h: Likewise.
32012 * stdlib/stdlib.h: Likewise.
32013 * time/time.h: Likewise.
32014 * wcsmbs/wchar.h: Likewise.
32016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32017 open_by_handle): Add.
32018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32019 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32020 Augment a few comments.
32021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32026 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32029 * io/fcntl.h (AT_EMPTY_PATH): Define.
32031 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32033 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32034 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32035 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32037 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32038 * Versions.def: Add GLIBC_2.14.
32039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32042 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32048 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32051 * string/test-strncmp.c (do_page_test): New function.
32052 (check2): Likewise.
32053 (test_main): Call check2.
32054 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32056 2011-03-20 Ulrich Drepper <drepper@gmail.com>
32059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32060 Handle cache information in CPU leaf 4.
32061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32063 2011-03-18 Ulrich Drepper <drepper@gmail.com>
32066 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32067 character representation.
32068 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32070 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32072 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32073 END(__isnan) to END(__isnanf) to match function entry point/label
32074 EALIGN(__isnanf,...).
32076 2011-03-10 Jakub Jelinek <jakub@redhat.com>
32078 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32080 2011-03-10 Ulrich Drepper <drepper@gmail.com>
32083 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32084 copy from the symbol referenced in the relocation to initialize the
32086 Patch by Piotr Bury <pbury@goahead.com>.
32087 * elf/Makefile: Add rules to build and tst-unique3.
32088 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32089 * elf/tst-unique3.cc: New file.
32090 * elf/tst-unique3.h: New file.
32091 * elf/tst-unique3lib.cc: New file.
32092 * elf/tst-unique3lib2.cc: New file.
32094 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32096 2011-03-10 Mike Frysinger <vapier@gentoo.org>
32098 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32099 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32102 2011-03-06 Ulrich Drepper <drepper@gmail.com>
32104 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32105 to-be-loaded object along a path to loader is ld.so.
32107 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32108 Ulrich Drepper <drepper@gmail.com>
32110 * sysdeps/x86_64/memset.S: After aligning destination, code
32111 branches to different locations depending on the value of
32112 misalignment, when multiarch is enabled. Fix this.
32114 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32116 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32117 Set _x86_64_preferred_memory_instruction for AMD processsors.
32118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32119 Set bit_Prefer_SSE_for_memop for AMD processors.
32121 2011-03-04 Ulrich Drepper <drepper@gmail.com>
32123 * libio/fmemopen.c (fmemopen): Optimize a bit.
32125 2011-03-03 Andreas Schwab <schwab@redhat.com>
32127 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32129 2011-03-03 Roland McGrath <roland@redhat.com>
32131 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32133 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32135 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32136 __bzero_ultra1 instead of __memset_ultra1.
32138 2011-02-23 Andreas Schwab <schwab@redhat.com>
32139 Ulrich Drepper <drepper@gmail.com>
32142 * include/link.h (struct link_map): Add l_orig_initfini.
32143 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32144 returning unsuccessfully.
32145 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32146 close of a file loaded at startup, restore the original l_initfini
32148 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32149 list, store the pointer.
32150 * elf/Makefile ($(objpfx)noload-mem): New rule.
32151 (noload-ENV): Define.
32152 (tests): Add $(objpfx)noload-mem.
32153 * elf/noload.c: Include <memcheck.h>.
32154 (main): Call mtrace. Close all opened handles.
32156 2011-02-17 Andreas Schwab <schwab@redhat.com>
32159 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32160 dependencies are missing.
32162 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32164 Fix __if_freereq crash: Unlike the generic version which uses free,
32166 * sysdeps/mach/hurd/ifreq.h: New file.
32168 2011-01-27 Petr Baudis <pasky@suse.cz>
32169 Ulrich Drepper <drepper@gmail.com>
32172 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32173 to extend_alloca().
32174 * stdio-common/bug23.c: New file.
32175 * stdio-common/Makefile (tests): Add bug23.
32177 2010-09-28 Andreas Schwab <schwab@redhat.com>
32178 Ulrich Drepper <drepper@gmail.com>
32181 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32182 before performing relro protection. At old place add assertion
32183 to make sure nothing changed.
32185 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32186 Glauber de Oliveira Costa <glommer@gmail.com>
32188 * elf/elf.h: Add new ARM TLS relocs.
32190 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32193 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32195 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32197 * sysdeps/wordsize-64/tst-writev.c: New file.
32199 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32201 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32202 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32203 insns in _dl_start to prevent a TOC reference before relocs are
32206 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32209 * Makeconfig: Remove RANLIB definition.
32210 * Makerules: Don't use RANLIB.
32211 * aclocal.m4: Remove ranlib test.
32212 * configure.in: No need to check for ranlib.
32213 * elf/rtld-Rules: Don't use RANLIB.
32215 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32217 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32219 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32220 inclusion protection macro.
32222 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32223 SIGRTMIN and SIGRTMAX and print information in that case only when
32224 SIGRTMIN is defined.
32226 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32228 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32229 arginfo fn returning -1.
32231 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32232 and thousands string is zero terminated.
32234 2011-02-03 Andreas Schwab <schwab@redhat.com>
32236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32237 sysdeps/unix/sysv/linux/bits/socket.h.
32239 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32241 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32242 (__CPU_COUNT): Remove old macros.
32243 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32244 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32245 (__CPU_ALLOC, __CPU_FREE): Add macros.
32246 (__sched_cpualloc, __sched_cpufree): Add declarations.
32248 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32250 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32251 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32252 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32253 (readdhstai): Return value of addhstaiX call.
32254 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32255 (addgrbyX): Return value returned by cache_addgr.
32256 (readdgrbyname): Return value returned by addgrbyX.
32257 (readdgrbygid): Likewise.
32258 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32259 (addpwbyX): Return value returned by cache_addpw.
32260 (readdpwbyname): Return value returned by addhstbyX.
32261 (readdpwbyuid): Likewise.
32262 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32263 (addservbyX): Return value returned by cache_addserv.
32264 (readdservbyname): Return value returned by addservbyX:
32265 (readdservbyport): Likewise.
32266 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32267 (addhstbyX): Return value returned by cache_addhst.
32268 (readdhstbyname): Return value returned by addhstbyX.
32269 (readdhstbyaddr): Likewise.
32270 (readdhstbynamev6): Likewise.
32271 (readdhstbyaddrv6): Likewise.
32272 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32273 (readdinitgroups): Return value returned by addinitgroupsX.
32274 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32275 (prune_cache): Keep track of timeout value of re-added entries.
32276 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32277 * nscd/nscd.h: Adjust prototypes of readd* functions.
32279 2011-02-04 Roland McGrath <roland@redhat.com>
32281 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32282 (nis_stats): Likewise.
32283 * nis/nis_modify.c (nis_modify): Likewise.
32284 * nis/nis_remove.c (nis_remove): Likewise.
32285 * nis/nis_add.c (nis_add): Likewise.
32287 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32289 * posix/fnmatch_loop.c: Add some consts.
32291 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32293 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32296 * config.make.in (config-cflags-novzeroupper): Define.
32297 * configure.in: Substitute libc_cv_cc_novzeroupper.
32298 * elf/Makefile (AVX-CFLAGS): Define.
32299 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32300 (CFLAGS-tst-auditmod4a.c): Likewise.
32301 (CFLAGS-tst-auditmod4b.c): Likewise.
32302 (CFLAGS-tst-auditmod6b.c): Likewise.
32303 (CFLAGS-tst-auditmod6c.c): Likewise.
32304 (CFLAGS-tst-auditmod7b.c): Likewise.
32305 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32307 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32309 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32310 function to the callback.
32311 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32313 2011-02-02 Andreas Schwab <schwab@redhat.com>
32315 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32318 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32321 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32323 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32325 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32328 * elf/Makefile: Add rules to build and run new test.
32329 * elf/tst-initorder.c: New file.
32330 * elf/tst-initorder.exp: New file.
32331 * elf/tst-initordera1.c: New file.
32332 * elf/tst-initordera2.c: New file.
32333 * elf/tst-initordera3.c: New file.
32334 * elf/tst-initordera4.c: New file.
32335 * elf/tst-initorderb1.c: New file.
32336 * elf/tst-initorderb2.c: New file.
32337 * elf/tst-order-a1.c: New file.
32338 * elf/tst-order-a2.c: New file.
32339 * elf/tst-order-a3.c: New file.
32340 * elf/tst-order-a4.c: New file.
32341 * elf/tst-order-b1.c: New file.
32342 * elf/tst-order-b2.c: New file.
32343 * elf/tst-order-main.c: New file.
32344 New test case by George Gensure <werkt0@gmail.com>.
32346 2010-10-01 Andreas Schwab <schwab@redhat.com>
32348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32349 decoding ACE if AI_CANONIDN.
32351 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32353 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32355 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32357 * version.h (RELEASE): Bump for 2.13 release.
32358 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32360 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32364 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32365 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32367 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32371 * posix/getconf.c: Update copyright year.
32372 * catgets/gencat.c: Likewise.
32373 * csu/version.c: Likewise.
32374 * debug/catchsegv.sh: Likewise.
32375 * debug/xtrace.sh: Likewise.
32376 * elf/ldconfig.c: Likewise.
32377 * elf/ldd.bash.in: Likewise.
32378 * elf/sprof.c (print_version): Likewise.
32379 * iconv/iconv_prog.c: Likewise.
32380 * iconv/iconvconfig.c: Likewise.
32381 * locale/programs/locale.c: Likewise.
32382 * locale/programs/localedef.c: Likewise.
32383 * malloc/memusage.sh: Likewise.
32384 * malloc/mtrace.pl: Likewise.
32385 * nscd/nscd.c (print_version): Likewise.
32386 * nss/getent.c: Likewise.
32388 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32389 PF_CAIF, and PF_ALG.
32390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32392 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32394 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32395 (modules-names): Use them.
32396 (ifunc-test-modules, ifunc-pie-tests): Define.
32397 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32398 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32399 (test-extras): Likewise.
32400 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32401 $(compile-command.c).
32402 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32403 (all-built-dso): Define.
32404 (check-textrel.out, check-execstack.out): Depend on it.
32406 * configure.in: Don't override --enable-multi-arch.
32408 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32411 * nscd/hstcache.c (tryagain): Define.
32412 (cache_addhst): Return tryagain not notfound for temporary errors.
32413 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32416 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32420 to make the syscall.
32421 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32424 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32425 and fall back to matching as normal character if the string ends before
32426 the matching ']' is found. This is what POSIX requires.
32427 * posix/testfnm.c: Adjust test result.
32428 * posix/globtest.sh: Adjust test result. Add new test.
32429 * posix/tst-fnmatch.input: Likewise.
32430 * posix/tst-fnmatch2.c: Add new test.
32432 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32434 * elf/Makefile (check-execstack): Revert last change. Depend on
32436 (check-execstack.h): New target.
32437 (generated): Add check-execstack.h.
32438 * elf/check-execstack.c: Include "check-execstack.h".
32439 (main): Revert last change.
32440 (handle_file): Return zero if GNU_STACK is absent and
32441 DEFAULT_STACK_PERMS doesn't include PF_X.
32443 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32445 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32446 in child fails because the descriptor is already closed.
32447 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32448 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32452 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32456 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32457 temporary buffer used to handle multi lookups locally.
32458 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32460 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32462 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32465 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32467 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32468 alignment for SSE2.
32470 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32473 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32474 characters. When rounding increased number of integer digits recompute
32476 * stdio-common/tst-grouping.c: New file.
32477 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32479 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32481 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32482 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32484 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32486 * bits/select.h: Likewise.
32488 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32490 * po/ja.po: Update from translation team.
32492 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32495 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32496 implementation just like for lxstat, fxstatat, et al.
32498 2010-12-27 Jim Meyering <meyering@redhat.com>
32501 * posix/regexec.c (build_trtable): Return failure indication upon
32502 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32504 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32507 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32508 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32513 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32516 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32517 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32519 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32521 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32522 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32523 script has SORT_BY_INIT_PRIORITY.
32524 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32525 NO_CTORS_DTORS_SECTIONS is defined.
32526 * elf/soinit.c: Likewise.
32527 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32528 NO_CTORS_DTORS_SECTIONS is defined.
32529 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32530 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32531 * sysdeps/sh/init-first.c: Likewise.
32532 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32534 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32536 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32537 always use the slow path.
32539 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32541 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32542 similar rule which adds the sysdep directories to the header search in
32543 order to pick up the correct platform stackinfo.h.
32544 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32545 perform test if it is, otherwise return successfully without testing.
32546 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32547 DEFAULT_STACK_PERMS define in stackinfo.h.
32548 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32549 defined in stackinfo.h.
32550 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32551 DEFAULT_STACK_PERMS defined in stackinfo.h.
32552 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32553 * sysdeps/ia64/stackinfo.h: Likewise.
32554 * sysdeps/s390/stackinfo.h: Likewise.
32555 * sysdeps/sh/stackinfo.h: Likewise.
32556 * sysdeps/sparc/stackinfo.h: Likewise.
32557 * sysdeps/x86_64/stackinfo.h: Likewise.
32558 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32559 PF_X for powerpc64. Retain PF_X for powerpc32.
32561 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32563 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32565 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32566 GETDENTS_64BIT_ALIGNED.
32568 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32570 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32572 2010-12-10 Andreas Schwab <schwab@redhat.com>
32574 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32577 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32578 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32580 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32581 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32583 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32586 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32589 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32591 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32593 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32595 * po/it.po: Update from translation team.
32597 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32602 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32604 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32606 2010-11-24 Andreas Schwab <schwab@redhat.com>
32608 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32610 (gaih_getanswer_slice): Likewise.
32612 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32616 2010-05-31 Petr Baudis <pasky@suse.cz>
32619 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32620 silently even in the chroot mode.
32622 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32624 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32625 last patch a bit. Pretty printing
32627 2010-05-31 Petr Baudis <pasky@suse.cz>
32630 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32631 initialization of skip_initgroups_dyn.
32633 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32638 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32640 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32642 2010-11-11 Andreas Schwab <schwab@redhat.com>
32644 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32645 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32646 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32647 ($(objpfx)tst-fnmatch-mem): New rule.
32648 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32649 * posix/tst-fnmatch.c (main): Call mtrace.
32651 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32654 Support Intel processor model 6 and model 0x2c.
32656 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32661 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32664 * string/test-strncasecmp.c (check_result): New function.
32665 (do_one_test): Use it.
32666 (check1): New function.
32667 (test_main): Use it.
32668 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32669 Support strcasecmp and strncasecmp.
32671 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32674 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32677 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32679 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32683 * sysdeps/x86_64/multiarch/bzero.S: New file.
32684 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32685 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32686 * sysdeps/x86_64/multiarch/memset.S: New file.
32687 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32689 Set bit_Prefer_SSE_for_memop for Intel processors.
32690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32692 (index_Prefer_SSE_for_memop): Define.
32693 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32695 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32697 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32700 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32703 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32704 (__x86_64_raw_data_cache_size_half): Likewise.
32705 (__x86_64_raw_shared_cache_size): Likewise.
32706 (__x86_64_raw_shared_cache_size_half): Likewise.
32708 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32709 (__x86_64_raw_data_cache_size_half): Likewise.
32710 (__x86_64_raw_shared_cache_size): Likewise.
32711 (__x86_64_raw_shared_cache_size_half): Likewise.
32712 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32713 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32714 and __x86_64_raw_shared_cache_size_half. Round
32715 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32716 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32717 to multiple of 256 bytes.
32719 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32723 of inacessible symlinks. Verify result of symlink before returning it.
32724 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32725 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32727 2010-10-28 Erich Ritz <erichritz@gmail.com>
32729 * math/math.h (isinf): Fix typo in comment.
32731 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32733 * po/da.po: Update from translation team.
32735 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32737 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32738 is added to the list.
32740 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32741 Ulrich Drepper <drepper@gmail.com>
32743 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32744 the global list here. Move code to...
32745 (_dl_add_to_namespace_list): ...here. New function.
32746 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32747 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32748 * elf/dl-load.c (lose): Don't remove the element from the list.
32749 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32750 (_dl_map_object): Likewise.
32752 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32755 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32756 into all bytes of SSE register.
32757 Patch by Richard Li <richardpku@gmail.com>.
32759 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32762 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32765 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32767 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32768 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32770 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32775 2010-10-22 Andreas Schwab <schwab@redhat.com>
32777 * include/dlfcn.h (__RTLD_SECURE): Define.
32778 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32779 mode & __RTLD_SECURE instead.
32780 (open_path): Rename preloaded parameter to secure.
32781 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32782 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32783 * elf/dl-deps.c (openaux): Likewise.
32784 * elf/rtld.c (struct map_args): Remove is_preloaded.
32785 (map_doit): Don't use it.
32786 (dl_main): Likewise.
32787 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32788 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32790 2010-09-09 Andreas Schwab <schwab@redhat.com>
32792 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32793 (sysd-rules-targets): Remove duplicates.
32794 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32795 rtld-%.$o dependency.
32797 2010-10-18 Andreas Schwab <schwab@redhat.com>
32799 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32800 _dl_map_object do it.
32802 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32804 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32805 fast fma builtins, define the macros in the C99 standard.
32806 (FP_FAST_FMAF): Likewise.
32807 (FP_FAST_FMAL): Likewise.
32808 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32810 * bits/mathdef.h: Update copyright year.
32811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32813 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32815 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32816 builtins, define the macros in the C99 standard.
32817 (FP_FAST_FMAF): Likewise.
32818 (FP_FAST_FMAL): Likewise.
32819 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32821 (FP_FAST_FMAF): Likewise.
32823 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32826 * math/libm-test.inc (fma_test): Some new testcases.
32827 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32829 y and infinite z. Do multiplication by C already in long double.
32830 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32832 y and infinite z. Do bitwise or of inexact bit into u.d.
32833 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32834 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32835 * sysdeps/i386/fpu/s_fma.S: Removed.
32836 * sysdeps/i386/fpu/s_fmal.S: Removed.
32838 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32841 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32843 computation is not scheduled after fetestexcept. Fix value
32844 of minimum denormal long double.
32846 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32849 * math/libm-test.inc (fma_test): Add some more tests.
32850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32853 2010-10-15 Andreas Schwab <schwab@redhat.com>
32855 * scripts/data/localplt-s390-linux-gnu.data: New file.
32856 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32858 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32861 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32862 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32864 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32866 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32868 if one of x and y is very large and the other is subnormal.
32869 * sysdeps/s390/fpu/s_fmaf.c: New file.
32870 * sysdeps/s390/fpu/s_fma.c: New file.
32871 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32872 * sysdeps/powerpc/fpu/s_fma.S: New file.
32873 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32874 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32875 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32877 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32880 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32883 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32884 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32885 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32886 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32887 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32888 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32890 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32893 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32894 * posix/bug-regex31.input: Add test case.
32896 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32898 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32899 * posix/bug-regex31.input: New file.
32902 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32903 (parse_sub_exp): Fix last change, use postorder.
32905 * posix/bug-regex31.c: New file.
32906 * posix/Makefile: Add rules to build and run bug-regex31.
32908 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32911 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32914 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32915 to have entries in sys_siglist.
32918 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32921 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32924 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32925 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32926 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32927 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32928 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32929 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32930 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32931 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32932 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32933 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32934 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32935 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32937 * math/ftestexcept.c (fetestexcept): Likewise.
32938 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32939 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32940 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32941 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32942 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32943 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32944 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32946 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32949 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32952 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32954 * string/bug-strstr1.c: New file.
32955 * string/Makefile: Add rules to build and run bug-strstr1.
32957 2010-10-05 Eric Blake <eblake@redhat.com>
32960 * string/str-two-way.h (two_way_long_needle): Always clear memory
32961 when skipping input due to the shift table.
32963 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32966 * malloc/mcheck.c: Handle large requests.
32969 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32970 for strncmp and strncasecmp.
32971 * string/stratcliff.c: Add tests for strcmp and strncmp.
32972 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32974 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32976 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32979 2010-09-30 Andreas Jaeger <aj@suse.de>
32981 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32982 (CGROUP_SUPER_MAGIC): Define.
32983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32984 Handle btrfs and cgroup file systems.
32985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32988 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32990 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32991 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32993 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32996 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32997 trying to locate the ELF header.
32999 2010-09-27 Andreas Schwab <schwab@redhat.com>
33002 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33003 Mask out sign-bit copies when constructing f_fsid.
33005 2010-09-24 Petr Baudis <pasky@suse.cz>
33007 * debug/stack_chk_fail_local.c: Add missing licence exception.
33008 * debug/warning-nop.c: Likewise.
33010 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33013 implementing getdents64 using getdents syscall, set d_type if
33014 __ASSUME_GETDENTS32_D_TYPE.
33016 2010-09-16 Andreas Schwab <schwab@redhat.com>
33018 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33019 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33021 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33024 * posix/unistd.h: Undo change of feature selection for ftruncate from
33027 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33029 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33032 2010-09-20 Andreas Schwab <schwab@redhat.com>
33034 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33038 2010-09-14 Andreas Schwab <schwab@redhat.com>
33040 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33041 variables after CHECK_SP call.
33042 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33044 2010-09-13 Andreas Schwab <schwab@redhat.com>
33045 Ulrich Drepper <drepper@redhat.com>
33047 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33048 re-relocationg ld.so.
33049 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33050 _dl_init_paths call.
33051 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33054 2010-09-14 Ulrich Drepper <drepper@redhat.com>
33056 * resolv/res_init.c (__res_vinit): Count the default server we added.
33058 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33059 Ulrich Drepper <drepper@redhat.com>
33062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33063 (____longjmp_chk): Use %ebx for saving value across system call.
33066 2010-09-06 Andreas Schwab <schwab@redhat.com>
33068 * manual/Makefile: Don't mix pattern rules with normal rules.
33070 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33072 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33074 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33075 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33076 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33077 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33081 2010-09-04 Ulrich Drepper <drepper@redhat.com>
33084 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33085 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33087 2010-09-02 Ulrich Drepper <drepper@redhat.com>
33089 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33090 * sysdeps/x86_64/addmul_1.S: Likewise.
33091 * sysdeps/x86_64/lshift.S: Likewise.
33092 * sysdeps/x86_64/mul_1.S: Likewise.
33093 * sysdeps/x86_64/rshift.S: Likewise.
33094 * sysdeps/x86_64/sub_n.S: Likewise.
33095 * sysdeps/x86_64/submul_1.S: Likewise.
33097 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33099 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33100 Define __sched_param instead of SCHED_* and sched_param when
33101 <bits/sched.h> is included with __need_schedparam defined.
33102 * bits/sched.h [__need_schedparam]
33103 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33104 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33105 (__defined_schedparam): Define to 1.
33106 (__sched_param): New structure, identical to sched_param.
33107 (__need_schedparam): Undefine.
33109 2010-08-31 Mike Frysinger <vapier@gentoo.org>
33111 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33112 (epoll_create1): Declare.
33114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33116 2010-08-31 Andreas Schwab <schwab@redhat.com>
33119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33120 shifting retval into place.
33122 2010-09-01 Ulrich Drepper <drepper@redhat.com>
33124 * nis/rpcsvc/nis.h: Update copyright notice.
33125 * nis/rpcsvc/nis.x: Likewise.
33126 * nis/rpcsvc/nis_callback.h: Likewise.
33127 * nis/rpcsvc/nis_callback.x: Likewise.
33128 * nis/rpcsvc/nis_object.x: Likewise.
33129 * nis/rpcsvc/nis_tags.h: Likewise.
33130 * nis/rpcsvc/yp.h: Likewise.
33131 * nis/rpcsvc/yp.x: Likewise.
33132 * nis/rpcsvc/ypupd.h: Likewise.
33133 * nis/yp_xdr.c: Likewise.
33134 * nis/ypupdate_xdr.c: Likewise.
33136 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33137 mainly the body of pmap_getport. Add parameters to specify timeouts.
33138 (pmap_getport): Use __libc_rpc_getport.
33139 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33140 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33141 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33143 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33148 2010-08-27 Roland McGrath <roland@redhat.com>
33150 * sysdeps/i386/i686/multiarch/Makefile
33151 (CFLAGS-varshift.c): New variable.
33153 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33155 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33156 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33160 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33162 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33164 * sysdeps/x86_64/strlen.S: Unroll the loop.
33165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33166 strlen-sse2 strlen-sse2-bsf.
33167 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33168 __strlen_no_bsf if bit_Slow_BSF is set.
33169 (__strlen_sse42): Removed.
33170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33171 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33173 2010-08-25 Roland McGrath <roland@redhat.com>
33175 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33176 * sysdeps/x86_64/multiarch/varshift.c: New file.
33177 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33178 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33179 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33182 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33185 strlen-sse2 strlen-sse2-bsf.
33186 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33187 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33188 (__strlen_sse2): Removed.
33189 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33192 bit_Slow_BSF for Atom.
33193 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33194 (index_Slow_BSF): Define.
33195 (HAS_SLOW_BSF): Define.
33197 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33200 * resolv/res_init.c (__res_vinit): When no server address at all
33201 is given default to loopback.
33203 2010-08-24 Roland McGrath <roland@redhat.com>
33205 * configure.in: Remove config-name.h generation.
33206 * configure: Regenerated.
33207 * config-name.in: File removed.
33208 * scripts/config-uname.sh: New file.
33209 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33210 ($(objdir)config-name.h): New target.
33212 * sunrpc/rpc_parse.h: Avoid nested comment.
33214 2010-08-24 Richard Henderson <rth@redhat.com>
33215 Ulrich Drepper <drepper@redhat.com>
33216 H.J. Lu <hongjiu.lu@intel.com>
33218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33220 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33221 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33222 _mm_alignr_epi8 with _mm_loadu_si128.
33223 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33224 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33225 (__m128i_shift_right): Removed.
33226 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33227 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33228 * sysdeps/x86_64/multiarch/varshift.h: New file.
33229 * sysdeps/x86_64/multiarch/varshift.S: New file.
33231 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33233 * configure.in: Move assembler checks to before sysdep dir checking.
33235 2010-08-20 Petr Baudis <pasky@suse.cz>
33237 * LICENSES: Sync the sunrpc license.
33239 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33241 * sunrpc/auth_des.c: Update copyright notice once again.
33242 * sunrpc/auth_none.c: Likewise.
33243 * sunrpc/auth_unix.c: Likewise.
33244 * sunrpc/authdes_prot.c: Likewise.
33245 * sunrpc/authuxprot.c: Likewise.
33246 * sunrpc/bindrsvprt.c: Likewise.
33247 * sunrpc/clnt_gen.c: Likewise.
33248 * sunrpc/clnt_perr.c: Likewise.
33249 * sunrpc/clnt_raw.c: Likewise.
33250 * sunrpc/clnt_simp.c: Likewise.
33251 * sunrpc/clnt_tcp.c: Likewise.
33252 * sunrpc/clnt_udp.c: Likewise.
33253 * sunrpc/clnt_unix.c: Likewise.
33254 * sunrpc/des_crypt.c: Likewise.
33255 * sunrpc/des_soft.c: Likewise.
33256 * sunrpc/get_myaddr.c: Likewise.
33257 * sunrpc/getrpcport.c: Likewise.
33258 * sunrpc/key_call.c: Likewise.
33259 * sunrpc/key_prot.c: Likewise.
33260 * sunrpc/openchild.c: Likewise.
33261 * sunrpc/pm_getmaps.c: Likewise.
33262 * sunrpc/pm_getport.c: Likewise.
33263 * sunrpc/pmap_clnt.c: Likewise.
33264 * sunrpc/pmap_prot.c: Likewise.
33265 * sunrpc/pmap_prot2.c: Likewise.
33266 * sunrpc/pmap_rmt.c: Likewise.
33267 * sunrpc/rpc/auth.h: Likewise.
33268 * sunrpc/rpc/auth_unix.h: Likewise.
33269 * sunrpc/rpc/clnt.h: Likewise.
33270 * sunrpc/rpc/des_crypt.h: Likewise.
33271 * sunrpc/rpc/key_prot.h: Likewise.
33272 * sunrpc/rpc/netdb.h: Likewise.
33273 * sunrpc/rpc/pmap_clnt.h: Likewise.
33274 * sunrpc/rpc/pmap_prot.h: Likewise.
33275 * sunrpc/rpc/pmap_rmt.h: Likewise.
33276 * sunrpc/rpc/rpc.h: Likewise.
33277 * sunrpc/rpc/rpc_des.h: Likewise.
33278 * sunrpc/rpc/rpc_msg.h: Likewise.
33279 * sunrpc/rpc/svc.h: Likewise.
33280 * sunrpc/rpc/svc_auth.h: Likewise.
33281 * sunrpc/rpc/types.h: Likewise.
33282 * sunrpc/rpc/xdr.h: Likewise.
33283 * sunrpc/rpc_clntout.c: Likewise.
33284 * sunrpc/rpc_cmsg.c: Likewise.
33285 * sunrpc/rpc_common.c: Likewise.
33286 * sunrpc/rpc_cout.c: Likewise.
33287 * sunrpc/rpc_dtable.c: Likewise.
33288 * sunrpc/rpc_hout.c: Likewise.
33289 * sunrpc/rpc_main.c: Likewise.
33290 * sunrpc/rpc_parse.c: Likewise.
33291 * sunrpc/rpc_parse.h: Likewise.
33292 * sunrpc/rpc_prot.c: Likewise.
33293 * sunrpc/rpc_sample.c: Likewise.
33294 * sunrpc/rpc_scan.c: Likewise.
33295 * sunrpc/rpc_scan.h: Likewise.
33296 * sunrpc/rpc_svcout.c: Likewise.
33297 * sunrpc/rpc_tblout.c: Likewise.
33298 * sunrpc/rpc_util.c: Likewise.
33299 * sunrpc/rpc_util.h: Likewise.
33300 * sunrpc/rpcinfo.c: Likewise.
33301 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33302 * sunrpc/rpcsvc/key_prot.x: Likewise.
33303 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33304 * sunrpc/rpcsvc/mount.x: Likewise.
33305 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33306 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33307 * sunrpc/rpcsvc/rex.x: Likewise.
33308 * sunrpc/rpcsvc/rstat.x: Likewise.
33309 * sunrpc/rpcsvc/rusers.x: Likewise.
33310 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33311 * sunrpc/rpcsvc/spray.x: Likewise.
33312 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33313 * sunrpc/rtime.c: Likewise.
33314 * sunrpc/svc.c: Likewise.
33315 * sunrpc/svc_auth.c: Likewise.
33316 * sunrpc/svc_authux.c: Likewise.
33317 * sunrpc/svc_raw.c: Likewise.
33318 * sunrpc/svc_run.c: Likewise.
33319 * sunrpc/svc_simple.c: Likewise.
33320 * sunrpc/svc_tcp.c: Likewise.
33321 * sunrpc/svc_udp.c: Likewise.
33322 * sunrpc/svc_unix.c: Likewise.
33323 * sunrpc/svcauth_des.c: Likewise.
33324 * sunrpc/xcrypt.c: Likewise.
33325 * sunrpc/xdr.c: Likewise.
33326 * sunrpc/xdr_array.c: Likewise.
33327 * sunrpc/xdr_float.c: Likewise.
33328 * sunrpc/xdr_mem.c: Likewise.
33329 * sunrpc/xdr_rec.c: Likewise.
33330 * sunrpc/xdr_ref.c: Likewise.
33331 * sunrpc/xdr_sizeof.c: Likewise.
33332 * sunrpc/xdr_stdio.c: Likewise.
33334 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33337 2010-08-19 Andreas Schwab <schwab@redhat.com>
33339 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33341 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33343 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33345 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33346 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33347 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33348 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33349 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33350 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33352 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33353 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33354 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33355 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33356 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33358 2010-07-26 Anton Blanchard <anton@samba.org>
33360 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33361 * malloc/arena.c (heap_trim): Likewise.
33363 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33365 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33368 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33370 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33372 * sysdeps/i386/elf/Makefile: New file.
33374 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33376 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33377 from fanotify_init.
33378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33381 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33383 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33385 * sysdeps/multiarch/strcmp.S: Likewise.
33387 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33389 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33390 strncase_l-nonascii.
33391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33392 Add strncase_l-ssse3.
33393 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33394 * sysdeps/x86_64/strcmp.S: Likewise.
33395 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33396 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33397 * sysdeps/x86_64/strncase.S: New file.
33398 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33399 * sysdeps/x86_64/strncase_l.S: New file.
33400 * string/Makefile (strop-tests): Add strncasecmp.
33401 * string/test-strncasecmp.c: New file.
33403 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33406 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33407 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33409 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33411 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33413 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33415 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33419 2010-05-01 Alan Modra <amodra@gmail.com>
33421 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33422 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33423 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33424 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33425 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33426 tidying. Don't tail-call __sigjmp_save for static lib.
33427 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33429 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33430 (CALL_MCOUNT): Add eh info, and nop after bl.
33431 (TAIL_CALL_SYSCALL_ERROR): New macro.
33432 (PSEUDO_RET): Use it.
33433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33434 Correct save location of integer regs and cr.
33435 (_dl_profile_resolve): Correct cr save location. Delete nops
33436 after bl when SHARED. Reduce cfi size a little by better
33437 placement of cfi directives.
33438 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33439 make a stack frame. Instead use parm save area as a temp.
33440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33441 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33443 Don't make a stack frame for parent, use parm save area.
33444 Increase child stack frame to 112 bytes. Don't save unused reg,
33445 and adjust reg usage. Set up cfi on error recovery and
33446 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33448 (__makecontext): Add dummy nop after jump to exit.
33449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33450 Use correct parm save area and cr save, reduce stack frame.
33451 Correct cfi for possible PSEUDO_RET frame setup.
33452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33453 Branch to local label emitted by PSEUDO_RET rather than
33456 2010-08-12 Andreas Schwab <schwab@redhat.com>
33459 * locale/programs/locale.c (print_assignment): New function.
33460 (show_locale_vars): Use it.
33462 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33464 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33466 (struct statfs64): Likewise.
33467 (_STATFS_F_FLAGS): Define.
33468 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33470 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33471 (ST_VALID): Define locally.
33472 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33473 __statvfs_getflags, use the provided value.
33474 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33475 __ASSUME_STATFS_F_FLAGS.
33477 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33479 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33480 Add sys/fanotify.h.
33481 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33482 fanotify_mask for GLIBC_2.13.
33483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33484 fanotify_init and fanotify_mark.
33485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33486 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33488 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33490 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33491 prlimit64 for GLIBC_2.13.
33492 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33497 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33498 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33502 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33505 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33506 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33508 * nss/Makefile: Add rules to build and run tst-nss-test1.
33509 * shlib-versions: Add entry for libnss_test1.
33510 * nss/nss_test1.c: New file.
33511 * nss/tst-nss-test1.c: New file.
33513 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33514 (__nss_configure_lookup): Set appropriate entry in
33515 __nss_configure_lookup to true.
33516 * nss/nsswitch.h: Define enum with indeces of databases in
33517 databases and __nss_database_custom arrays. Declare
33518 __nss_database_custom.
33519 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33520 to avoid using nscd when custom rules are installed.
33521 * nss/getXXbyYY_r.c: Likewise.
33522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33524 * nss/nss_files/files-parse.c: Whitespace fixes.
33526 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33529 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33530 * posix/fnmatch_loop.c: Likewise.
33532 2010-07-17 Andi Kleen <ak@linux.intel.com>
33534 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33535 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33536 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33537 * Versions.def [GLIBC_2.13]: Add.
33539 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33542 Also fail if tpwd after pwuid call is NULL.
33544 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33546 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33547 when converting to ms.
33549 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33551 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33552 EOPNOTSUPP errors with ENOTTY.
33553 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33554 EOPNOTSUPP errors with ENOTTY.
33556 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33558 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33559 Add strcasecmp_l-ssse3.
33560 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33562 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33563 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33564 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33566 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33568 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33570 * string/Makefile (strop-tests): Add strcasecmp.
33571 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33572 strcasecmp_l-nonascii.
33573 (gen-as-const-headers): Add locale-defines.sym.
33574 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33575 * sysdeps/x86_64/strcasecmp.S: New file.
33576 * sysdeps/x86_64/strcasecmp_l.S: New file.
33577 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33578 * sysdeps/x86_64/locale-defines.sym: New file.
33579 * string/test-strcasecmp.c: New file.
33581 * string/test-strcasestr.c: Test both ends of the range of characters.
33582 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33584 2010-07-29 Roland McGrath <roland@redhat.com>
33587 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33589 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33591 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33594 2010-07-27 Andreas Schwab <schwab@redhat.com>
33596 * manual/memory.texi (Malloc Tunable Parameters): Document
33599 2010-07-26 Roland McGrath <roland@redhat.com>
33602 * configure.in (-fgnu89-inline check): Set and substitute
33603 gnu89_inline, not libc_cv_gnu89_inline.
33604 * configure: Regenerated.
33605 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33607 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33609 * string/test-strnlen.c: New file.
33610 * string/Makefile (strop-tests): Add strnlen.
33611 * string/tester.c (test_strnlen): Add a few more test cases.
33612 * string/tst-strlen.c: Better error reporting.
33614 * sysdeps/x86_64/strnlen.S: New file.
33616 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33619 lower-latency instructions.
33621 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33623 * string/test-strcasestr.c: New file.
33624 * string/test-strstr.c: New file.
33625 * string/Makefile (strop-tests): Add strstr and strcasestr.
33626 * string/str-two-way.h: Don't undefine MAX.
33627 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33629 2010-07-21 Andreas Schwab <schwab@redhat.com>
33631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33632 strcasestr-nonascii.
33633 (CFLAGS-strcasestr-nonascii.c): Define.
33634 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33636 Remove unused attribute.
33638 2010-07-20 Roland McGrath <roland@redhat.com>
33640 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33641 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33642 ld.so.cache was broken. With it, there is no way to disable dsocaps
33643 like LD_HWCAP_MASK can disable hwcaps.
33645 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33647 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33649 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33651 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33652 call in strcasestr.
33653 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33654 __strcasestr_sse42_nonascii.
33655 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33656 strcasestr-nonascii.c.
33657 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33659 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33666 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33671 2010-07-06 Andreas Schwab <schwab@redhat.com>
33674 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33677 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33679 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33680 _PC_PIPE_BUF using F_GETPIPE_SZ.
33682 2010-07-05 Roland McGrath <roland@redhat.com>
33684 * manual/arith.texi (Rounding Functions): Fix rint description
33685 implicit in round description.
33687 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33689 * elf/Makefile: Fix linking for a few tests to make recent linker
33692 2010-06-30 Andreas Schwab <schwab@redhat.com>
33694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33695 $(common-objpfx)libc_nonshared.a.
33697 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33699 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33700 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33701 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33702 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33703 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33705 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33706 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33721 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33722 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33723 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33724 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33725 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33726 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33727 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33728 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33729 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33730 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33731 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33732 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33748 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33750 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33751 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33752 * string/memmove.c (memmove): Renamed to ...
33753 (MEMMOVE): ...this. Default to memmove.
33754 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33755 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33758 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33759 mempcpy-ssse3-back memmove-ssse3-back.
33760 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33763 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33764 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33765 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33766 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33767 * sysdeps/x86_64/multiarch/memmove.c: New file.
33768 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33769 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33770 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33771 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33772 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33775 (index_Fast_Copy_Backward): Define.
33776 (HAS_ARCH_FEATURE): Define.
33777 (HAS_FAST_REP_STRING): Define.
33778 (HAS_FAST_COPY_BACKWARD): Define.
33780 2010-06-21 Andreas Schwab <schwab@redhat.com>
33782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33783 Restore proper fallback handling.
33785 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33788 * posix/group_member.c (__group_member): Correct checking loop.
33790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33791 OOM in getpwuid_r correctly. Return error number when the caller
33792 should return, otherwise -1.
33793 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33794 call returning > 0 value.
33795 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33797 2010-06-07 Andreas Schwab <schwab@redhat.com>
33799 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33800 libc_nonshared.a from targets in modules-names.
33802 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33804 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33807 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33814 2010-06-02 Andreas Schwab <schwab@redhat.com>
33816 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33818 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33827 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33829 2010-06-14 Roland McGrath <roland@redhat.com>
33831 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33833 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33835 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33836 __REDIRECT followed by __THROW.
33837 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33838 * posix/getopt.h (getopt): Likewise.
33840 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33842 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33843 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33844 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33846 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33847 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33849 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33851 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33853 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33857 Properly check family and model.
33859 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33861 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33863 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33865 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33867 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33869 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33872 2010-05-19 Andreas Schwab <schwab@redhat.com>
33874 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33877 2010-05-21 Andreas Schwab <schwab@redhat.com>
33879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33880 and internal_recvmmsg.
33881 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33882 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33883 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33884 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33886 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33887 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33888 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33890 2010-05-20 Andreas Schwab <schwab@redhat.com>
33892 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33894 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33896 POWER7 optimizations.
33897 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33898 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33900 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33902 * version.h: Update for 2.13 development version.
33904 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33906 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33907 exceptions. Return 0.
33909 2010-05-07 Roland McGrath <roland@redhat.com>
33911 * elf/ldconfig.c (main): Add a const.
33913 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33915 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33916 (args_options): Add no-idn option.
33917 (ahosts_keys_int): Add idn_flags to ai_flags.
33918 (parse_option): Handle 'i' option to clear idn_flags.
33920 * malloc/malloc.c (_int_free): Possible race in the most recently
33921 added check. Only act on the data if no current modification
33924 See ChangeLog.17 for earlier changes.