1 2012-03-21 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8 of x86_64 when setting libc_cv_slibdir, libdir and
10 * sysdeps/unix/sysv/linux/configure: Regenerated.
12 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14 * manual/lang.texi (Old Varargs): Remove section.
15 (How Variadic): Update menu.
16 (va_start): Do not mention varargs.h.
18 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19 Joseph Myers <joseph@codesourcery.com>
21 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23 * configure: Regenerated.
25 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34 * Makefile (files-for-dist): Remove NOTES.
36 * README: Don't refer to NOTES.
37 * manual/creature.texi: Don't include macros.texi.
38 * manual/intro.texi (creature.texi): Remove comment referring to
41 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43 * configure: Regenerated.
44 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46 (libc_cv_as_i686): Likewise.
47 (libc_cv_cc_avx): Likewise.
48 (libc_cv_cc_sse2avx): Likewise.
49 (libc_cv_cc_fma4): Likewise.
50 (libc_cv_cc_novzeroupper): Likewise.
51 * sysdeps/i386/configure: Regenerated.
54 * sysdeps/i386/fpu/s_cexp.S: Remove.
55 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57 * math/libm-test.inc (cexp_test): Add more tests.
58 * sysdeps/i386/fpu/libm-test-ulps: Update.
59 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61 2012-03-21 Allan McRae <allan@archlinux.org>
63 * timezone/Makefile: Do not install iso3166.tab and zone.tab
65 2012-03-21 Joseph Myers <joseph@codesourcery.com>
68 * math/w_exp2.c: Do not include <float.h>.
69 (o_threshold, u_threshold): Remove.
70 (__exp2): Calculate result before checking finiteness and calling
72 * math/w_exp2f.c: Likewise.
73 * math/w_exp2l.c: Likewise.
74 * math/libm-test.inc (exp2_test): Require overflow exception for
78 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79 range of signed 64-bit integers before using fistpll. Remove
80 checks for whether integers fit in mantissa bits.
81 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82 the range of signed 32-bit integers before using fistpl. Remove
83 checks for whether integers fit in mantissa bits.
84 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85 (__ieee754_powl): Test for y outside the range of signed 64-bit
86 integers before using fistpll. Reduce 64-bit values to 63-bit
88 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
89 divide-by-zero is raised for zero to large negative powers.
90 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
91 (__ieee754_powl): Test for y outside the range of signed 64-bit
92 integers before using fistpll. Reduce 64-bit values to 63-bit
94 * math/libm-test.inc (pow_test): Add more tests.
96 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
98 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
99 <stdio-common/_itoa.h>.
100 * debug/segfault.c: Likewise.
101 * elf/dl-cache.c: Likewise.
102 * elf/dl-minimal.c: Likewise.
103 * elf/dl-misc.c: Likewise.
104 * elf/dl-sysdep.c: Likewise.
105 * elf/dl-version.c: Likewise.
106 * elf/rtld.c: Likewise.
107 * hurd/hurdsock.c: Likewise.
108 * hurd/lookup-retry.c: Likewise.
109 * malloc/malloc.c: Likewise.
110 * malloc/mtrace.c: Likewise.
111 * nscd/nscd_getgr_r.c: Likewise.
112 * nscd/nscd_getpw_r.c: Likewise.
113 * nscd/nscd_getserv_r.c: Likewise.
114 * posix/getopt_init.c: Likewise.
115 * posix/wordexp.c: Likewise.
116 * stdio-common/_itoa.c: Likewise.
117 * stdio-common/printf_fphex.c: Likewise.
118 * stdio-common/vfprintf.c: Likewise.
119 * string/_strerror.c: Likewise.
120 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
121 * sysdeps/i386/i686/hp-timing.h: Likewise.
122 * sysdeps/mach/_strerror.c: Likewise.
123 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
124 * sysdeps/mach/hurd/sethostid.c: Likewise.
125 * sysdeps/mach/hurd/xmknodat.c: Likewise.
126 * sysdeps/mach/xpg-strerror.c: Likewise.
127 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
129 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
130 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
131 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
132 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
133 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
134 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
135 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
136 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
137 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
138 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
139 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
140 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
141 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
142 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
143 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
144 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
145 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
146 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
147 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
149 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
151 * stdio-common/_itoa.h: Moved to ...
152 * sysdeps/generic/_itoa.h: Here.
154 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
156 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
157 instead of "_itoa.h" and "_itowa.h".
158 * stdio-common/vfprintf.: Likewise.
160 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
162 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
164 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
165 (__signbit): Likwise.
169 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
171 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
174 2012-03-20 Joseph Myers <joseph@codesourcery.com>
176 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
177 OVERFLOW_EXCEPTION_OK.
178 * math/libm-test.inc ("Philosophy"): Update comment about
180 (OVERFLOW_EXCEPTION): Define.
181 (OVERFLOW_EXCEPTION_OK): Likewise.
182 (INVALID_EXCEPTION_OK): Renumber.
183 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
184 (IGNORE_ZERO_INF_SIGN): Likewise.
185 (test_exceptions): Handle FE_OVERFLOW.
186 (exp10_test): Expect overflow exceptions.
187 (exp2_test): Likewise.
188 (expm1_test): Likewise.
189 (nextafter_test): Likewise.
190 (pow_test): Likewise.
191 (scalbn_test): Likewise.
192 (scalbln_test): Likewise.
194 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
196 * sysdeps/x86_64/bits/atomic.h
197 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
199 (atomic_exchange_acq): Likewise.
200 (__arch_exchange_and_add_body): Likewise.
201 (__arch_add_body): Likewise.
202 (atomic_add_negative): Likewise.
203 (atomic_add_zero): Likewise.
205 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
207 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
208 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
210 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
212 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
213 Check __x86_64__ instead of __WORDSIZE.
215 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
217 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
219 2012-03-19 David S. Miller <davem@davemloft.net>
221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
223 * sysdeps/sparc/fpu/fenv_private.h: New file.
224 * sysdeps/sparc/fpu/math_private.h: Use it.
225 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
227 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
228 (libc_feholdexcept_setroundl): Remove.
229 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
231 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
232 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
234 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
236 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
237 int64_t instead of long int.
238 (INSERT_WORDS64): Likwise.
240 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
242 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
243 _Unwind_GetCFA return to _Unwind_Ptr first.
245 2012-03-19 Joseph Myers <joseph@codesourcery.com>
248 * math/s_clog.c: Include <float.h>.
249 (__clog): Scale large or subnormal inputs.
250 * math/s_clogf.c: Likewise.
251 * math/s_clogl.c: Likewise.
252 * math/s_clog10.c: Include <float.h>.
254 (__clog10): Scale large or subnormal inputs.
255 * math/s_clog10f.c: Likewise.
256 * math/s_clog10l.c: Likewise.
257 * math/libm-test.inc (clog_test): Add more tests.
258 (clog10_test): Likewise.
259 * sysdeps/i386/fpu/libm-test-ulps: Update.
260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
263 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
265 * math/libm-test.inc (atan2_test): Add another test.
267 * Makerules (common-objdir-compile): Remove.
268 * sysdeps/unix/Makefile (config-generated): Do not add
269 $(unix-generated) to variable.
270 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
271 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
273 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
275 [generic bits/local_lim.h] (before-compile): Do not append to
277 [generic bits/local_lim.h] (common-generated): Likewise.
278 [generic sys/param.h] (before-compile): Do not append to variable.
279 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
280 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
281 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
282 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
284 [generic sys/param.h] (sys/param.h-includes): Remove variable.
285 [generic sys/param.h] (sys/param.h-includes): Remove rule.
286 [generic sys/param.h] ($(addprefix
287 $(common-objpfx),$(sys/param.h-includes))): Likewise.
288 [generic sys/param.h] (common-generated): Do not append to
290 [generic sys/param.h] (sysdep_headers): Likewise.
291 [generic bits/errno.h] (before-compile): Do not append to
293 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
295 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
296 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
297 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
298 [generic bits/errno.h] (common-generated): Do not append to
300 [generic bits/ioctls.h] (before-compile): Do not append to
302 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
304 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
305 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
306 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
308 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
309 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
310 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
311 [generic bits/ioctls.h] (common-generated): Do not append to
313 [generic sys/syscall.h] (syscall.h): Remove variable.
314 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
316 [generic sys/syscall.h] (before-compile): Do not append to
318 [generic sys/syscall.h] (common-generated): Likewise.
319 * sysdeps/unix/errnos-tmpl.c: Remove file.
320 * sysdeps/unix/errnos.awk: Likewise.
321 * sysdeps/unix/ioctls-tmpl.c: Likewise.
322 * sysdeps/unix/ioctls.awk: Likewise.
323 * sysdeps/unix/mk-local_lim.c: Likewise.
324 * sysdeps/unix/snarf-ioctls: Likewise.
326 2012-03-19 Richard Henderson <rth@twiddle.net>
328 * sysdeps/i386/fpu/fenv_private.h: New file.
329 * sysdeps/i386/fpu/math_private.h: Use it.
330 (math_opt_barrier, math_force_eval): Remove.
331 (libc_feholdexcept_setround_53bit): Remove.
332 (libc_feupdateenv_53bit): Remove.
333 * sysdeps/x86_64/fpu/math_private.h: Likewise.
334 (math_opt_barrier, math_force_eval): Remove.
335 (libc_feholdexcept): Remove.
336 (libc_feholdexcept_setround): Remove.
337 (libc_fetestexcept, libc_fesetenv): Remove.
338 (libc_feupdateenv_test): Remove.
339 (libc_feupdateenv, libc_feholdsetround): Remove.
340 (libc_feresetround): Remove.
342 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
343 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
345 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
346 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
347 (libc_feupdateenv_testl): New.
348 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
349 (libc_feupdateenv_testf): New.
350 (libc_feupdateenv): Use libc_feupdateenv_test.
351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
352 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
354 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
355 (libc_feholdsetroundf, libc_feholdsetroundl): New.
356 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
357 (libc_feresetround_noex): New.
358 (libc_feresetround_noexf): New.
359 (libc_feresetround_noexl): New.
360 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
361 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
362 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
363 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
368 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
369 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
370 SET_RESTORE_ROUND_NOEX.
371 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
372 SET_RESTORE_ROUND_NOEXF.
373 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
374 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
375 (libc_feholdsetroundf): New.
376 (libc_feresetround, libc_feresetroundf): New.
378 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
379 (libc_feholdexcept_setround_53bit): Convert from macro to function.
380 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
382 * sysdeps/generic/math_private.h: Include <fenv.h>.
383 (default_libc_feholdexcept): New.
384 (default_libc_feholdexcept_setround): New.
385 (default_libc_fesetenv, default_libc_feupdateenv): New.
386 (libc_feholdexcept): Only define if undefined.
387 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
388 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
389 (libc_feholdexcept_setroundl): Likewise.
390 (libc_feholdexcept_setround_53bit): Likewise.
391 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
392 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
393 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
394 (libc_feupdateenv_53bit): Likewise.
395 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
396 (libc_feholdexcept): Convert from macro to inline function.
397 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
398 (libc_fesetenv, libc_feupdateenv): Likewise.
400 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
401 not previously defined.
402 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
403 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
404 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
405 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
406 * sysdeps/ieee754/flt-32/math_private.h: New file.
407 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
408 math_private.h below SET_FLOAT_WORD.
409 (__isnan, __isinf_ns, __finite): Remove.
410 (__isnanf, __isinf_nsf, __finitef): Remove.
412 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
416 2012-03-17 David S. Miller <davem@davemloft.net>
419 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
422 2012-03-16 David S. Miller <davem@davemloft.net>
424 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
428 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
430 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
431 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
432 sysdep_routines when subdir is sysvipc.
433 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
436 * sysdeps/sparc/fpu/libm-test/ulps: Update.
438 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
440 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
443 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
445 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
446 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
447 (__lround): Renamed to ...
448 (__llround): This. Replace long int with long long int.
449 Define lround functions as aliases of llround functions.
450 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
452 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
454 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
455 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
456 adresses to uintptr_t. Replace "long int" and "unsigned long
457 int" with "greg_t" on va_arg.
459 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
461 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
462 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
464 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
465 Move e_machine check before EI_CLASS check. Handle x32
466 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
467 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
468 SKIP_EM_IA_64 and include
469 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
471 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
472 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
473 (add_system_dir): New macro.
475 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
476 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
478 2012-03-16 Joseph Myers <joseph@codesourcery.com>
489 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
491 * math/w_j0f.c (j0f): Likewise.
493 * math/w_j0l.c (__j0l): Likewise.
495 * math/w_j1.c (j1): Likewise.
497 * math/w_j1f.c (j1f): Likewise.
499 * math/w_j1l.c (__j1l): Likewise.
501 * math/w_jn.c (jn): Likewise.
503 * math/w_jnf.c (jnf): Likewise.
505 * math/w_jnl.c (__jnl): Likewise.
507 * math/libm-test.inc (j0_test): Add more tests.
509 (jn_test): Likewise. Add trailing semicolon to existing test.
512 * sysdeps/i386/fpu/libm-test-ulps: Update.
513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
518 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
519 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
520 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
521 (__tanl): Set errno for infinite argument.
522 * sysdeps/i386/fpu/mptan.c: Remove.
523 * sysdeps/i386/fpu/s_tan.S: Likewise.
524 * sysdeps/i386/fpu/s_tanl.S: Likewise.
525 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
526 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
527 * math/libm-test.inc (tan_test): Add more tests and enable more
528 tests for double and long double.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
532 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
534 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
535 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
537 2012-03-16 Roland McGrath <roland@hack.frob.com>
539 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
540 * configure.in: Use it for both main tree and add-ons.
541 * configure: Regenerated.
543 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
545 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
547 2012-03-16 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
553 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
554 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
555 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
556 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
557 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
559 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
562 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
563 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
564 * sysdeps/i386/fpu/s_cosl.S: Likewise.
565 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
566 * sysdeps/i386/fpu/s_sinl.S: Likewise.
567 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
568 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
569 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
570 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
571 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
572 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
573 * math/libm-test.inc (cos_test): Add more tests and enable more
574 tests for long double.
575 (sin_test): Likewise.
576 (sincos_test): Likewise.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
580 2012-03-16 David S. Miller <davem@davemloft.net>
582 * sysdeps/sparc/fpu/math_private.h: New file.
584 2012-03-15 David S. Miller <davem@davemloft.net>
586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
600 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
601 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
603 * sysdeps/sparc/sparc-ifunc.h: New file.
604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
649 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
651 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
655 2012-03-15 Andreas Jaeger <aj@suse.de>
658 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
659 ieee754/flt-32 implementation for sin, cos and sincos.
660 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
661 * sysdeps/i386/fpu/s_cosf.S: Likewise.
662 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
663 * sysdeps/i386/fpu/s_sinf.S: Likewise.
664 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
665 ieee754/flt-32 implementation for tan.
667 * math/libm-test.inc (cos_test): Enable some large input tests for
669 (sin_test): Likewise.
670 (sincos_test): Likewise.
671 (tan_test): Add tests for large input.
673 * sysdeps/i386/fpu/libm-test-ulps: Update.
675 2012-03-15 Andreas Jaeger <aj@suse.de>
678 * math/libm-test.inc (cos_test): Add more test cases.
679 (sin_test): Likewise.
680 (sincos_test): Likewise.
682 2012-03-15 Andreas Jaeger <aj@suse.de>
685 * math/libm-test.inc (cos_test): Add a test case for large input
687 (sin_test): Likewise.
688 (sincos_test): Likewise.
690 2012-03-15 Andreas Jaeger <aj@suse.de>,
691 Joseph Myers <joseph@codesourcery.com>
694 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
695 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
696 * sysdeps/i386/fpu/branred.c: Likewise.
697 * sysdeps/i386/fpu/dosincos.c: Likewise.
698 * sysdeps/i386/fpu/mpa.c: Likewise.
699 * sysdeps/i386/fpu/s_cos.S: Likewise.
700 * sysdeps/i386/fpu/s_sin.S: Likewise.
701 * sysdeps/i386/fpu/s_sincos.S: Likewise.
702 * sysdeps/i386/fpu/sincos32.c: Likewise.
704 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
706 (libc_feupdateenv_53bit): Define.
707 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
709 (libc_feupdateenv_53bit): Define.
711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
712 53 bit (without extend i386 double precision).
714 * math/libm-test.inc (sincos_test): Add tests for large input.
718 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
720 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
724 2012-03-15 David S. Miller <davem@davemloft.net>
726 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
727 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
728 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
729 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
754 fmin/fmax sysdep routines.
755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
757 2012-03-14 David S. Miller <davem@davemloft.net>
759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
781 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
831 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
836 * sysdeps/sparc/configure.in: New file.
837 * sysdeps/sparc/configure: Generate.
838 * configure.in (libc_cv_sparc_as_vis3): Substitute.
839 * configure: Regenerate.
840 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
841 * config.make.in (have-as-vis3): New.
842 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
843 available use -Av9d instead of -Av9a.
844 * sysdeps/sparc/sparc64/Makefile: Likewise.
845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
860 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
861 fzeros/fnegs to load 0x80000000 into a float register instead of
863 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
865 2012-03-14 Joseph Myers <joseph@codesourcery.com>
867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
869 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
870 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
871 ($(inst_includedir)/bits/syscall.h): Remove rule.
872 ($(objpfx)bits/syscall.d): Include instead of
873 $(objpfx)syscall-list.d.
874 (generated): Change syscall-list.h and syscall-list.d to
875 bits/syscall.h and bits/syscall.d.
877 2012-03-14 Roland McGrath <roland@hack.frob.com>
880 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
882 2012-03-14 Joseph Myers <joseph@codesourcery.com>
885 * math/s_csqrt.c: Include <float.h>.
886 (__csqrt): Scale large or subnormal inputs.
887 * math/s_csqrtf.c: Likewise.
888 * math/s_csqrtl.c: Likewise.
889 * math/libm-test.inc (csqrt_test): Add more tests.
890 * sysdeps/i386/fpu/libm-test-ulps: Update.
891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
894 * math/libm-test.inc (hypot_test): Add more tests.
896 2012-03-13 David S. Miller <davem@davemloft.net>
899 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
900 double-precision for the calculation instead of scaling.
902 2012-03-13 Joseph Myers <joseph@codesourcery.com>
904 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
905 manipulate bits before adding and subtracting TWO52[sx].
906 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
907 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
909 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
911 2012-03-13 David S. Miller <davem@davemloft.net>
913 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
914 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
916 rtld-global-offsets.h
917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
919 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
922 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
924 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
925 'err' in the ifdef scope in which it is actually used.
927 * nss/nss_db/db-init.c: Include string.h
929 2012-03-12 David S. Miller <davem@davemloft.net>
931 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
932 masking out of the most significant byte of random value used.
933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
934 Fix coding style in previous change.
936 * sysdeps/unix/sysv/linux/kernel-features.h
937 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
938 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
940 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
943 2012-03-11 David S. Miller <davem@davemloft.net>
945 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
946 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
947 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
948 for 'resultvar' otherwise things get truncated on 64-bit.
950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
951 Fix masking out of the most significant byte of random value used.
953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
955 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
959 2012-03-09 David S. Miller <davem@davemloft.net>
961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
962 variables with appropriate CPP guards.
963 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
964 frame pointer, not the stack pointer. Correct layout comments. Fix test
965 on resulting framesize and the management of the outregs buffer for pltexit.
966 Preserve floating point return values across _dl_call_pltexit call.
967 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
968 framesize and the management of the outregs buffer for pltexit.
969 Preserve floating point return values across _dl_call_pltexit
971 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
972 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
973 (print_exit): Fix format string for return register value.
975 2012-03-10 Joseph Myers <joseph@codesourcery.com>
977 * sunrpc/Makefile (others): Add rpcgen.
978 ($(objpfx)rpcgen): Remove special build rule and dependency on
980 * sunrpc/rpcgen.c: New file.
982 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
985 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
986 * stdio-common/bug-vfprintf-nargs.c: Likewise.
987 * sysdeps/i386/crti.S: Likewise.
988 * sysdeps/i386/crtn.S: Likewise.
989 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
990 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
991 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
992 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
993 * sysdeps/sh/crti.S: Likewise.
994 * sysdeps/sh/crtn.S: Likewise.
995 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
998 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1000 * locale/programs/locfile-kw.gperf: Likewise.
1001 * locale/programs/charmap-kw.h: Regenerated.
1002 * locale/programs/locfile-kw.h: Likewise.
1005 * intl/plural.y: Replace FSF snail mail address with URL.
1006 * intl/plural.c: Regenerated.
1008 2012-03-09 Richard Henderson <rth@twiddle.net>
1010 * include/math_private.h: Remove file.
1011 * math/math_private.h: Move file ...
1012 * sysdeps/generic/math_private.h: ... here.
1014 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1015 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1016 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1018 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1019 and <math_private.h>.
1020 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1021 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1022 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1023 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1024 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1025 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1026 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1028 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1032 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1034 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1035 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1036 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1037 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1038 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1044 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1045 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1046 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1052 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1053 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1057 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1060 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1061 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1062 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1063 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1064 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1065 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1066 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1067 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1069 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1070 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1073 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1074 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1075 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1076 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1077 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1078 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1079 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1080 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1081 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1083 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1084 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1088 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1090 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1091 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1092 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1094 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1101 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1102 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1103 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1104 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1107 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1108 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1109 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1110 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1111 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1113 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1114 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1124 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1125 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1126 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1127 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1133 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1134 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1135 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1136 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1137 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1138 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1139 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1143 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1144 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1145 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1146 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1147 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1148 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1149 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1150 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1151 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1152 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1153 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1154 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1155 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1156 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1157 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1158 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1159 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1160 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1161 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1162 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1163 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1164 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1165 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1166 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1167 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1168 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1169 * sysdeps/ieee754/k_standard.c: Likewise.
1170 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1171 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1173 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1174 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1175 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1176 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1177 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1178 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1182 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1183 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1184 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1185 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1186 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1187 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1188 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1189 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1190 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1191 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1192 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1193 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1194 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1195 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1196 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1197 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1198 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1202 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1203 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1205 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1207 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1208 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1212 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1216 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1218 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1219 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1220 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1221 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1222 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1223 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1224 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1225 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1226 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1227 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1231 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1232 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1242 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1247 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1272 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1273 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1274 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1279 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1282 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1286 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1289 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1290 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1292 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1297 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1302 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1319 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1320 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1330 * sysdeps/ieee754/s_lib_version.c: Likewise.
1331 * sysdeps/ieee754/s_matherr.c: Likewise.
1332 * sysdeps/ieee754/s_signgam.c: Likewise.
1333 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1334 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1335 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1336 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1337 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1338 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1339 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1340 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1341 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1342 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1343 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1344 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1345 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1346 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1347 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1348 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1349 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1350 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1351 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1352 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1355 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1357 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1358 * sunrpc/rpc_main.c: Likewise.
1359 * sunrpc/rpc_svcout.c: Likewise.
1361 2012-03-09 David S. Miller <davem@davemloft.net>
1363 * include/math_private.h: New file.
1365 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1368 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1369 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1370 from <bits/socket_type.h>.
1371 (enum __socket_type): Don't define here.
1372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1377 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1380 * Makerules ($(inst_includedir)/%.h): New rule.
1381 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1382 (install-others): Remove variable setting.
1383 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1385 2012-03-08 Richard Henderson <rth@twiddle.net>
1387 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1388 from macro to inline function; merge with the
1389 !__LIBC_INTERNAL_MATH_INLINES version.
1390 (__ieee754_sqrtf): Likewise.
1392 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1394 (__rintf, __floor, __floorf): Likewise.
1396 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1397 macro to inline function.
1398 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1401 not <math/math_private.h>.
1403 2012-03-08 David S. Miller <davem@davemloft.net>
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1407 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1409 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1411 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1413 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1414 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1416 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1418 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1419 be defined individually, they must be defined as a block. Define
1420 S for printing a string instead of hidint the different by using a
1421 macro for adding the 'l'.
1422 * stdio-common/tst-fphex-wide.c: Adjust.
1424 2012-03-07 Marek Polacek <polacek@redhat.com>
1426 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1428 2012-03-08 Marek Polacek <polacek@redhat.com>
1431 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1432 * stdio-common/tst-fphex.c: Define a few macros to make the
1433 test reusable. Use them.
1434 * stdio-common/tst-fphex-wide.c: New file.
1436 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1439 * manual/macros.texi (gnusystems): New macro.
1440 (nongnusystems): Likewise.
1441 (gnulinuxhurdsystems): Likewise.
1442 (gnuhurdsystems): Likewise..
1443 (gnulinuxsystems): Likewise.
1444 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1445 variants of the GNU system, not "GNU system".
1446 * manual/conf.texi: Likewise.
1447 * manual/errno.texi: Likewise. Update example of errno macro
1449 * manual/filesys.texi: Likewise.
1450 (getumask): Document as specific to GNU/Hurd.
1451 * manual/install.texi: Likewise. Reword some references to
1453 * manual/intro.texi: Likewise.
1454 * manual/io.texi: Likewise.
1455 (File Name Portability): Detail which constraints are inapplicable
1456 to all GNU systems and which are only inapplicable to GNU/Hurd.
1457 * manual/job.texi: Likewise.
1458 * manual/llio.texi: Likewise.
1459 (O_NOCTTY): Document as present on GNU/Linux.
1460 * manual/maint.texi: Likewise.
1461 * manual/memory.texi: Likewise.
1462 * manual/pattern.texi: Likewise.
1463 * manual/pipe.texi: Likewise.
1464 * manual/process.texi: Likewise.
1465 * manual/resource.texi: Likewise.
1466 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1468 * manual/setjmp.texi: Likewise.
1469 * manual/signal.texi: Likewise.
1470 * manual/startup.texi: Likewise.
1471 * manual/stdio.texi: Likewise.
1472 * manual/terminal.texi: Likewise.
1473 (ONLCR): Document as POSIX.
1474 (OXTABS): Document availability on GNU/Linux as XTABS.
1475 (ONOEOT): Document availability separately from other bits.
1476 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1477 * manual/time.texi: Likewise.
1478 * manual/users.texi: Likewise.
1479 * INSTALL: Regenerated.
1480 * sysdeps/gnu/errlist.c: Regenerated.
1482 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1483 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1484 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1486 * configure: Regenerated.
1488 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1490 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1491 default includes instead of AC_HEADER_CHECK.
1492 * sysdeps/i386/configure: Regenerated.
1495 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1496 * math/s_cacoshf.c (__cacoshf): Likewise.
1497 * math/s_cacoshl.c (__cacoshl): Likewise.
1498 * math/s_casinh.c (__casinh): Set signs of result from argument.
1499 * math/s_casinhf.c (__casinhf): Likewise.
1500 * math/s_casinhl.c (__casinhl): Likewise.
1501 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1502 (casinh_test): Add more tests.
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1506 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1508 * po/zh_TW.po: Update from translation team.
1510 * login/Makefile (distribute): Remove variable.
1511 * catgets/Makefile: Likewise.
1512 * mach/Makefile: Likewise.
1513 * malloc/Makefile: Likewise.
1514 * misc/Makefile: Likewise.
1515 * iconv/Makefile: Likewise.
1516 * nscd/Makefile: Likewise.
1517 * hurd/Makefile: Likewise.
1518 * manual/Makefile: Likewise.
1519 * locale/Makefile: Likewise.
1520 * intl/Makefile: Likewise.
1521 * conform/Makefile: Likewise.
1522 * nss/Makefile: Likewise.
1523 * time/Makefile: Likewise.
1524 * soft-fp/Makefile: Likewise.
1525 * dirent/Makefile: Likewise.
1526 * gmon/Makefile: Likewise.
1527 * po/Makefile: Likewise.
1528 * rt/Makefile: Likewise.
1529 * socket/Makefile: Likewise.
1530 * math/Makefile: Likewise.
1531 * signal/Makefile: Likewise.
1532 * debug/Makefile: Likewise.
1533 * elf/Makefile: Likewise.
1534 * timezone/Makefile: Likewise.
1535 * stdlib/Makefile: Likewise.
1536 * iconvdata/Makefile: Likewise.
1537 * sunrpc/Makefile: Likewise.
1538 * io/Makefile: Likewise.
1539 * argp/Makefile: Likewise.
1540 * inet/Makefile: Likewise.
1541 * hesiod/Makefile: Likewise.
1542 * grp/Makefile: Likewise.
1543 * csu/Makefile: Likewise.
1544 * wctype/Makefile: Likewise.
1545 * crypt/Makefile: Likewise.
1546 * libio/Makefile: Likewise.
1547 * string/Makefile: Likewise.
1548 * nis/Makefile: Likewise.
1549 * resolv/Makefile: Likewise.
1550 * stdio-common/Makefile: Likewise.
1551 * wcsmbs/Makefile: Likewise.
1552 * dlfcn/Makefile: Likewise.
1553 * posix/Makefile: Likewise.
1555 * timezone/Makefile: Don't install timezone files, just the programs
1558 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1560 * nss/databases.def: Add missing gshadow entry.
1562 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1564 2012-03-06 Marek Polacek <polacek@redhat.com>
1567 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1568 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1569 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1570 * stdio-common/tst-long-dbl-fphex.c: New file.
1572 2012-03-06 David S. Miller <davem@davemloft.net>
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1575 (set_obp_int): New function.
1576 (get_obp_int): New function.
1577 (__get_clockfreq_via_dev_openprom): Likewise.
1578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1579 Avoid unused variable warnings on 'val' and use builtin_expect.
1580 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1582 (INLINE_CLONE_SYSCALL): Likewise.
1584 2012-03-05 David S. Miller <davem@davemloft.net>
1586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1588 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1596 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1599 Replace gettimeofday with __vdso_gettimeofday.
1601 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1602 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1603 __vdso_clock_gettime and __vdso_getcpu.
1605 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1606 time with __vdso_time.
1608 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1610 * manual/lang.texi (size_t): Note types to which size_t may be
1611 equivalent with the GNU C Library, but do not describe when
1612 differences between them are significant.
1614 2012-03-05 Andreas Jaeger <aj@suse.de>
1616 * sysdeps/i386/fpu/libm-test-ulps: Update.
1618 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1621 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1622 (__ieee754_pow): Save and restore rounding mode and use
1623 round-to-nearest for main computations.
1624 * math/libm-test.inc (pow_test_tonearest): New function.
1625 (pow_test_towardzero): Likewise.
1626 (pow_test_downward): Likewise.
1627 (pow_test_upward): Likewise.
1628 (main): Call the new functions.
1629 * sysdeps/i386/fpu/libm-test-ulps: Update.
1630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1633 * math/libm-test.inc (cosh_test_tonearest): New function.
1634 (cosh_test_towardzero): Likewise.
1635 (cosh_test_downward): Likewise.
1636 (cosh_test_upward): Likewise.
1637 (sinh_test_tonearest): Likewise.
1638 (sinh_test_towardzero): Likewise.
1639 (sinh_test_downward): Likewise.
1640 (sinh_test_upward): Likewise.
1641 (main): Call the new functions.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1645 2012-03-05 Tom de Vries <tom@codesourcery.com>
1647 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1648 default stack guard is set in last bytes.
1649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1651 2012-03-05 Kees Cook <keescook@chromium.org>
1653 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1656 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1657 possibly allocate from heap instead of stack.
1658 * stdio-common/bug-vfprintf-nargs.c: New file.
1659 * stdio-common/Makefile (tests): Add nargs overflow test.
1661 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1665 2012-03-03 Marek Polacek <polacek@redhat.com>
1667 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1668 * math/math_private.h: Likewise.
1669 * stdlib/tst-strtod.c: Likewise.
1670 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1671 * sysdeps/x86_64/bits/atomic.h: Likewise.
1673 2012-03-02 David S. Miller <davem@davemloft.net>
1675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1679 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1680 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1681 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1682 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1684 2012-03-02 Roland McGrath <roland@hack.frob.com>
1687 * manual/examples/README: New file, says the example source files
1688 can be used under GPL>=2.
1689 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1690 line containing just "*/".
1691 * manual/examples/add.c: Add copyright header (GPL>=2).
1692 * manual/examples/argp-ex1.c: Likewise.
1693 * manual/examples/argp-ex2.c: Likewise.
1694 * manual/examples/argp-ex3.c: Likewise.
1695 * manual/examples/argp-ex4.c: Likewise.
1696 * manual/examples/atexit.c: Likewise.
1697 * manual/examples/db.c: Likewise.
1698 * manual/examples/dir.c: Likewise.
1699 * manual/examples/dir2.c: Likewise.
1700 * manual/examples/execinfo.c: Likewise.
1701 * manual/examples/filecli.c: Likewise.
1702 * manual/examples/filesrv.c: Likewise.
1703 * manual/examples/fmtmsgexpl.c: Likewise.
1704 * manual/examples/genpass.c: Likewise.
1705 * manual/examples/inetcli.c: Likewise.
1706 * manual/examples/inetsrv.c: Likewise.
1707 * manual/examples/isockad.c: Likewise.
1708 * manual/examples/longopt.c: Likewise.
1709 * manual/examples/memopen.c: Likewise.
1710 * manual/examples/memstrm.c: Likewise.
1711 * manual/examples/mkfsock.c: Likewise.
1712 * manual/examples/mkisock.c: Likewise.
1713 * manual/examples/mygetpass.c: Likewise.
1714 * manual/examples/pipe.c: Likewise.
1715 * manual/examples/popen.c: Likewise.
1716 * manual/examples/rprintf.c: Likewise.
1717 * manual/examples/search.c: Likewise.
1718 * manual/examples/select.c: Likewise.
1719 * manual/examples/setjmp.c: Likewise.
1720 * manual/examples/sigh1.c: Likewise.
1721 * manual/examples/sigusr.c: Likewise.
1722 * manual/examples/stpcpy.c: Likewise.
1723 * manual/examples/strdupa.c: Likewise.
1724 * manual/examples/strftim.c: Likewise.
1725 * manual/examples/strncat.c: Likewise.
1726 * manual/examples/subopt.c: Likewise.
1727 * manual/examples/swapcontext.c: Likewise.
1728 * manual/examples/termios.c: Likewise.
1729 * manual/examples/testopt.c: Likewise.
1730 * manual/examples/testpass.c: Likewise.
1731 * manual/examples/timeval_subtract.c: Likewise.
1734 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1736 * manual/timeval_subtract.c.texi: ... here, new file.
1738 2012-03-02 David S. Miller <davem@davemloft.net>
1740 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1742 2012-03-02 Joseph Myers <joseph@codesourcery.com>
1745 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1746 (__sin): Save and restore rounding mode and use round-to-nearest
1747 for all computations.
1748 (__cos): Save and restore rounding mode and use round-to-nearest
1749 for all computations.
1750 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1752 (tan): Save and restore rounding mode and use round-to-nearest for
1754 * math/libm-test.inc (cos_test_tonearest): New function.
1755 (cos_test_towardzero): Likewise.
1756 (cos_test_downward): Likewise.
1757 (cos_test_upward): Likewise.
1758 (sin_test_tonearest): Likewise.
1759 (sin_test_towardzero): Likewise.
1760 (sin_test_downward): Likewise.
1761 (sin_test_upward): Likewise.
1762 (tan_test_tonearest): Likewise.
1763 (tan_test_towardzero): Likewise.
1764 (tan_test_downward): Likewise.
1765 (tan_test_upward): Likewise.
1766 (main): Call the new functions.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1771 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1772 small n, then large n, before computing and testing k+n.
1773 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1778 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1779 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1785 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1786 * math/libm-test.inc (scalbn_test): Add more tests.
1787 (scalbln_test): Likewise.
1789 * manual/filesys.texi (mode_t): Describe constraints on size and
1790 signedness, not exact equivalence to a particular type.
1792 (ino64_t): Likewise.
1794 (nlink_t): Likewise.
1795 (blkcnt_t): Likewise.
1796 (blkcnt64_t): Likewise.
1797 * manual/llio.texi (off_t): Likewise.
1800 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1801 (__ieee754_exp): Save and restore rounding mode and use
1802 round-to-nearest for all computations.
1803 * math/libm-test.inc (exp_test_tonearest): New function.
1804 (exp_test_towardzero): Likewise.
1805 (exp_test_downward): Likewise.
1806 (exp_test_upward): Likewise.
1807 (main): Call the new functions.
1808 * sysdeps/i386/fpu/libm-test-ulps: Update.
1809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1811 2012-03-01 Chris Demetriou <cgd@google.com>
1813 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1814 have predictable order.
1816 2012-03-01 David S. Miller <davem@davemloft.net>
1818 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1820 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1821 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1822 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1823 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1825 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1826 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1827 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1829 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1830 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1831 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1832 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1833 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1838 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1839 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1841 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1842 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1843 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1848 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1849 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1850 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1851 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1857 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1858 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1859 * sysdeps/sparc/elf/configure: Regenerated.
1861 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1863 * configure.in (AS, LD): Require binutils 2.20 or later.
1864 * configure: Regenerated.
1865 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1866 as required minimum version.
1867 * INSTALL: Regenerated.
1871 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1872 before squaring exponent.
1873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1874 bottom long double and 27 bits of top long double before squaring
1876 * math/libm-test.inc (erfc_test): Add more tests.
1877 * sysdeps/i386/fpu/libm-test-ulps: Update.
1878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1881 2012-03-01 Kai Tietz <ktietz@redhat.com>
1883 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1884 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1885 containing bit-fields.
1886 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1887 * soft-fp/single.h (_FP_UNION_S): Likewise.
1888 * soft-fp/double.h (_FP_UNION_D): Likewise.
1890 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1893 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1894 not include ../strcmp.S.
1895 [USE_AS_STRNCASECMP_L]: Likewise.
1896 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1897 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1898 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1899 (__strncasecmp_l_ia32): Define as alias to
1900 __strncasecmp_l_nonascii.
1903 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1904 * sysdeps/i386/fpu/libm-test-ulps: Update.
1905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1907 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1910 2012-02-29 Jeff Law <law@redhat.com>
1912 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1915 2012-02-29 Marek Polacek <polacek@redhat.com>
1918 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1919 * elf/Makefile: Add rules to run tst-unused-dep.out.
1921 2012-02-28 David S. Miller <davem@davemloft.net>
1923 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1924 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1925 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1930 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1932 * math/libm-test.inc (llround_test): Move one test from
1933 lround_test. Use TEST_f_L in moved test.
1934 (lround_test): Move misplaced test to llround_test. Add testcase
1937 2012-02-28 Ulrich Drepper <drepper@gmail.com>
1939 * sysdeps/x86_64/fpu/e_expf.S: New file.
1940 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1942 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1945 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1946 of remain_len that may cause incomplete multi-byte character and
1948 * posix/bug-regex33.c: New file.
1949 * posix/Makefile (tests): Add bug-regex33.
1951 2012-02-28 Joseph Myers <joseph@codesourcery.com>
1953 * manual/macros.texi: New file.
1954 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1955 * manual/libc.texinfo: Include macros.texi.
1956 * manual/creatute.texi: Likewise.
1957 * manual/install.texi: Likewise.
1958 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1959 @glibcadj{} in references to the GNU C Library.
1960 * manual/charset.texi: Likewise.
1961 * manual/conf.texi: Likewise.
1962 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1963 when not using those macros.
1964 * manual/creature.texi: Likewise.
1965 * manual/crypt.texi: Likewise.
1966 * manual/errno.texi: Likewise.
1967 * manual/filesys.texi: Likewise.
1968 * manual/header.texi: Likewise.
1969 * manual/install.texi: Likewise.
1970 * manual/intro.texi: Likewise.
1971 * manual/io.texi: Likewise.
1972 * manual/job.texi: Likewise.
1973 * manual/lang.texi: Likewise.
1974 * manual/libc.texiinfo: Likewise.
1975 * manual/llio.texi: Likewise.
1976 * manual/locale.texi: Likewise.
1977 * manual/maint.texi: Likewise.
1978 * manual/math.texi: Likewise.
1979 * manual/memory.texi: Likewise.
1980 * manual/message.texi: Likewise.
1981 * manual/nss.texi: Likewise.
1982 * manual/pattern.texi: Likewise.
1983 * manual/process.texi: Likewise.
1984 * manual/resource.texi: Likewise.
1985 * manual/search.texi: Likewise.
1986 * manual/setjmp.texi: Likewise.
1987 * manual/signal.texi: Likewise.
1988 * manual/socket.texi: Likewise.
1989 * manual/startup.texi: Likewise.
1990 * manual/stdio.texi: Likewise.
1991 * manual/string.texi: Likewise.
1992 * manual/sysinfo.texi: Likewise.
1993 * manual/syslog.texi: Likewise.
1994 * manual/terminal.texi: Likewise.
1995 * manual/time.texi: Likewise.
1996 * manual/users.texi: Likewise.
1997 * INSTALL: Regenerated.
1998 * NOTES: Regenerated.
1999 * sysdeps/gnu/errlist.c: Regenerated.
2001 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2003 * include/dirent.h: Include <dirstream.h> before
2006 2012-02-28 David S. Miller <davem@davemloft.net>
2008 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2009 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2010 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2011 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2013 2012-02-27 David S. Miller <davem@davemloft.net>
2015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2017 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2018 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2021 frame pointer instead of stack pointer relative arg slot.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2026 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2029 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2031 2012-02-27 David S. Miller <davem@davemloft.net>
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2037 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2038 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2039 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2040 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2042 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2044 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2045 later. Allow versions 5-9.
2046 * configure: Regenerated.
2047 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2048 required minimum version and 4.6 as recommended version. Do not
2049 mention bugs in GCC 2.7 and 2.8.
2050 * INSTALL: Regenerated.
2052 2012-02-27 David S. Miller <davem@davemloft.net>
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2058 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2059 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2060 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2061 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2064 manipulate bits before adding and subtracting TWO112[sx].
2065 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2067 2012-02-27 Roland McGrath <roland@hack.frob.com>
2070 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2071 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2072 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2073 being in POSIX, because they are in 1003.1-2008.
2075 * rt/tst-aio.c: Include <fcntl.h>.
2076 * rt/tst-aio7.c: Likewise.
2077 * rt/tst-aio64.c: Likewise.
2079 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2081 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2083 * manual/install.texi (--with-headers): Describe headers as
2084 interface headers, not private headers.
2085 (Specific advice for GNU/Linux systems): Describe use of headers
2086 from "make headers_install", not private headers from older
2088 * INSTALL: Regenerated.
2089 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2091 * sysdeps/unix/sysv/linux/configure: Regenerated.
2093 * manual/llio.texi (fclean): Remove documentation.
2095 * manual/Makefile (libc-texi-generated): New variable. Include
2097 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2098 $(libc-texi-generated), not duplicated list of files.
2099 (version.texi, stamp-version): New rules.
2100 (realclean): Remove $(libc-texi-generated), not individual files
2101 from that list. Do not remove dir-add.texinfo.
2102 * manual/libc.texinfo: Comment out uses of edition numbers and
2103 references to printed manual. Remove last-updated dates.
2104 (EDITION): Comment out.
2106 (VERSION, UPDATED): Remove.
2107 (version.texi): Include.
2109 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2111 * sysdeps/posix/spawni.c: Include <signal.h>.
2112 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2113 * sysdeps/pthread/aio_fsync.c: Likewise.
2115 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2117 * conform/Makefile (tests): Run only when not cross-compiling and
2118 when fast-check is not defined.
2120 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2121 * conform/data/limits.h-data: Fixes for POSIX2008.
2122 * conform/run-conformtest.sh: Run all tests.
2123 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2125 * include/bits/dlfcn.h: Likewise.
2126 * include/langinfo.h: Likewise.
2127 * include/monetary.h: Likewise.
2128 * include/sys/poll.h: Likewise.
2130 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2132 * posix/spawn.h: Define __need_sigset_t.
2133 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2134 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2135 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2136 to get sigevent_t only.
2137 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2140 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2141 process_vm_writev only for __USE_GNU.
2142 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2144 * conform/Makefile: For now ignore errors from run-conformtest.
2145 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2146 POSIX to avoid namespace pollution. Don't prepend headers.
2147 * conform/data/aio.h-data: Fixes for POSIX testing.
2148 * conform/data/fcntl.h-data: Likewise.
2149 * conform/data/glob.h-data: Likewise.
2150 * conform/data/grp.h-data: Likewise.
2151 * conform/data/pthread.h-data: Likewise.
2152 * conform/data/pwd.h-data: Likewise.
2153 * conform/data/signal.h-data: Likewise.
2154 * conform/data/spawn.h-data: Likewise.
2155 * conform/data/stdio.h-data: Likewise.
2156 * conform/data/stdlib.h-data: Likewise.
2157 * conform/data/stropts.h-data: Likewise.
2158 * conform/data/sys/mman.h-data: Likewise.
2159 * conform/data/sys/stat.h-data: Likewise.
2160 * conform/data/sys/types.h-data: Likewise.
2161 * conform/data/sys/wait.h-data: Likewise.
2162 * conform/data/time.h-data: Likewise.
2163 * conform/data/unistd.h-data: Likewise.
2164 * conform/data/utime.h-data: Likewise.
2166 * io/sys/stat.h: fchmod was always in POSIX.
2167 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2168 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2169 * rt/aio.h: Define __need_timespec before including <time.h>.
2170 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2171 struct. Add forward declaration of pthread_attr_t and use it in
2173 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2175 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2176 always remove CLK_TCK definition.
2178 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2180 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2182 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2184 * conform/run-conformtest.sh: New file.
2185 * conform/Makefile: Run run-conformtest for tests.
2186 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2189 * conform/data/uchar.h-data: New file.
2190 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2191 * conform/data/arpa/inet.h-data: Likewise.
2192 * conform/data/assert.h-data: Likewise.
2193 * conform/data/complex.h-data: Likewise.
2194 * conform/data/cpio.h-data: Likewise.
2195 * conform/data/ctype.h-data: Likewise.
2196 * conform/data/dirent.h-data: Likewise.
2197 * conform/data/dlfcn.h-data: Likewise.
2198 * conform/data/errno.h-data: Likewise.
2199 * conform/data/fcntl.h-data: Likewise.
2200 * conform/data/float.h-data: Likewise.
2201 * conform/data/fmtmsg.h-data: Likewise.
2202 * conform/data/fnmatch.h-data: Likewise.
2203 * conform/data/ftw.h-data: Likewise.
2204 * conform/data/glob.h-data: Likewise.
2205 * conform/data/grp.h-data: Likewise.
2206 * conform/data/iconv.h-data: Likewise.
2207 * conform/data/inttypes.h-data: Likewise.
2208 * conform/data/langinfo.h-data: Likewise.
2209 * conform/data/libgen.h-data: Likewise.
2210 * conform/data/limits.h-data: Likewise.
2211 * conform/data/locale.h-data: Likewise.
2212 * conform/data/math.h-data: Likewise.
2213 * conform/data/monetary.h-data: Likewise.
2214 * conform/data/mqueue.h-data: Likewise.
2215 * conform/data/ndbm.h-data: Likewise.
2216 * conform/data/net/if.h-data: Likewise.
2217 * conform/data/netdb.h-data: Likewise.
2218 * conform/data/netinet/in.h-data: Likewise.
2219 * conform/data/nl_types.h-data: Likewise.
2220 * conform/data/poll.h-data: Likewise.
2221 * conform/data/pthread.h-data: Likewise.
2222 * conform/data/pwd.h-data: Likewise.
2223 * conform/data/regex.h-data: Likewise.
2224 * conform/data/sched.h-data: Likewise.
2225 * conform/data/search.h-data: Likewise.
2226 * conform/data/semaphore.h-data: Likewise.
2227 * conform/data/setjmp.h-data: Likewise.
2228 * conform/data/signal.h-data: Likewise.
2229 * conform/data/spawn.h-data: Likewise.
2230 * conform/data/stdarg.h-data: Likewise.
2231 * conform/data/stdio.h-data: Likewise.
2232 * conform/data/stdlib.h-data: Likewise.
2233 * conform/data/string.h-data: Likewise.
2234 * conform/data/strings.h-data: Likewise.
2235 * conform/data/stropts.h-data: Likewise.
2236 * conform/data/sys/ipc.h-data: Likewise.
2237 * conform/data/sys/mman.h-data: Likewise.
2238 * conform/data/sys/msg.h-data: Likewise.
2239 * conform/data/sys/resource.h-data: Likewise.
2240 * conform/data/sys/select.h-data: Likewise.
2241 * conform/data/sys/sem.h-data: Likewise.
2242 * conform/data/sys/shm.h-data: Likewise.
2243 * conform/data/sys/socket.h-data: Likewise.
2244 * conform/data/sys/stat.h-data: Likewise.
2245 * conform/data/sys/statvfs.h-data: Likewise.
2246 * conform/data/sys/time.h-data: Likewise.
2247 * conform/data/sys/timeb.h-data: Likewise.
2248 * conform/data/sys/times.h-data: Likewise.
2249 * conform/data/sys/types.h-data: Likewise.
2250 * conform/data/sys/uio.h-data: Likewise.
2251 * conform/data/sys/un.h-data: Likewise.
2252 * conform/data/sys/utsname.h-data: Likewise.
2253 * conform/data/sys/wait.h-data: Likewise.
2254 * conform/data/syslog.h-data: Likewise.
2255 * conform/data/tar.h-data: Likewise.
2256 * conform/data/termios.h-data: Likewise.
2257 * conform/data/utime.h-data: Likewise.
2258 * conform/data/utmpx.h-data: Likewise.
2259 * conform/data/varargs.h-data: Likewise.
2260 * conform/data/wchar.h-data: Likewise.
2261 * conform/data/wctype.h-data: Likewise.
2262 * conform/data/wordexp.h-data: Likewise.
2264 * include/stropts.h: New file.
2265 * include/uchar.h: New file.
2266 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2267 * include/assert.h: Likewise.
2268 * include/ctype.h: Likewise.
2269 * include/dirent.h: Likewise.
2270 * include/dlfcn.h: Likewise.
2271 * include/fcntl.h: Likewise.
2272 * include/fnmatch.h: Likewise.
2273 * include/glob.h: Likewise.
2274 * include/grp.h: Likewise.
2275 * include/libio.h: Likewise.
2276 * include/locale.h: Likewise.
2277 * include/math.h: Likewise.
2278 * include/net/if.h: Likewise.
2279 * include/netdb.h: Likewise.
2280 * include/netinet/in.h: Likewise.
2281 * include/pthread.h: Likewise.
2282 * include/pwd.h: Likewise.
2283 * include/regex.h: Likewise.
2284 * include/sched.h: Likewise.
2285 * include/search.h: Likewise.
2286 * include/setjmp.h: Likewise.
2287 * include/signal.h: Likewise.
2288 * include/stdio.h: Likewise.
2289 * include/stdlib.h: Likewise.
2290 * include/string.h: Likewise.
2291 * include/sys/cdefs.h: Likewise.
2292 * include/sys/mman.h: Likewise.
2293 * include/sys/msg.h: Likewise.
2294 * include/sys/resource.h: Likewise.
2295 * include/sys/select.h: Likewise.
2296 * include/sys/socket.h: Likewise.
2297 * include/sys/stat.h: Likewise.
2298 * include/sys/statvfs.h: Likewise.
2299 * include/sys/time.h: Likewise.
2300 * include/sys/times.h: Likewise.
2301 * include/sys/uio.h: Likewise.
2302 * include/sys/utsname.h: Likewise.
2303 * include/sys/wait.h: Likewise.
2304 * include/termios.h: Likewise.
2305 * include/time.h: Likewise.
2306 * include/ulimit.h: Likewise.
2307 * include/unistd.h: Likewise.
2308 * include/utime.h: Likewise.
2309 * include/wchar.h: Likewise.
2310 * include/wctype.h: Likewise.
2311 * include/wordexp.h: Likewise.
2313 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2315 * time/time.h: TIME_UTC must be a macro.
2316 Make timespec_get available for ISO C11 only as well.
2318 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2320 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2321 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2323 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2325 * configure.in: Use -o not -a in test for unsupported multi-arch.
2327 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2329 * manual/texinfo.tex: Update to version 2012-01-19.16.
2331 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2333 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2335 2012-02-24 Roland McGrath <roland@hack.frob.com>
2338 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2339 * manual/fdl-1.3.texi: New file.
2340 * manual/fdl-1.1.texi: File removed.
2343 * manual/libc.texinfo (FDL_VERSION): New @set.
2344 Use it for mention of FDL in cover text.
2345 (Documentation License): Use it in @include file name.
2347 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2348 Roland McGrath <roland@hack.frob.com>
2351 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2352 not LONG_LONG_MAX and LONG_LONG_MIN.
2353 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2354 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2356 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2358 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2362 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2363 manipulate bits before adding and subtracting TWO23[sx].
2364 * math/libm-test.inc (nearbyint_test): Add more tests.
2366 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2369 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2370 bits before adding and subtracting TWO23[sx].
2371 * math/libm-test.inc (rint_test): Add more tests.
2372 (rint_test_tonearest): Likewise.
2373 (rint_test_towardzero): Likewise.
2374 (rint_test_downward): Likewise.
2375 (rint_test_upward: Likewise.
2377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2380 * include/stdc-predef.h: New file. Extracted from features.h.
2381 * include/features.h: Include stdc-predef.h.
2382 * Makefile (headers): Add stdc-predef.h.
2383 * CONFORMANCE (Compiler limitations): Update.
2385 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2387 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2389 2012-02-21 David S. Miller <davem@davemloft.net>
2391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2392 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2394 2012-02-20 David S. Miller <davem@davemloft.net>
2396 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2397 using a normal save/restore sequence, rather than allocating a
2398 dummy stack frame just to store a frame pointer and restore.
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2401 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2403 * manual/install.texi: Fix stray word in line-wrapped comment.
2405 2012-02-20 David S. Miller <davem@davemloft.net>
2407 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2408 both binutils and gcc support GOTDATA.
2410 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2411 "rd %pc" in the PIC register setup sequences.
2413 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2414 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2415 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2416 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2417 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2422 (SYSCALL_ERROR_HANDLER): Likewise.
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2426 (SYSCALL_ERROR_HANDLER): Likewise.
2428 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2429 (HAVE_GCC_GOTDATA): New.
2430 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2431 relocation support in both binutils and gcc.
2432 * sysdeps/sparc/elf/configure: Regenerate.
2434 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2435 * sysdeps/sparc/sparc32/elf/configure: Delete.
2436 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2437 * sysdeps/sparc/sparc64/elf/configure: Delete.
2438 * sysdeps/sparc/elf/configure.in: New file.
2439 * sysdeps/sparc/elf/configure: Generate.
2441 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2442 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2443 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2444 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2445 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2447 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2449 * manual/install.texi: Do not mention specific glibc version
2451 * manual/libc.texinfo (VERSION, UPDATED): Update.
2452 (@copying): Use @copyright{} and range of years.
2454 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2457 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2458 [crti.S not in sysdirs] (generated): Do not append.
2459 [crti.S not in sysdirs] (omit-deps): Likewise.
2460 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2461 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2462 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2463 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2464 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2466 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2467 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2468 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2469 * csu/defs.awk: Remove file.
2470 * sysdeps/generic/initfini.c: Likewise.
2471 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2473 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2476 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2478 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2479 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2480 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2482 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2483 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2485 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2486 (__EPOLL_PACKED): Define to empty if not defined by
2488 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2492 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2495 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2496 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2497 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2499 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2503 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2505 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2508 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2509 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2512 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2514 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2515 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2517 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2519 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2520 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2522 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2524 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2527 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2529 * math/w_acos.c: Use non-signaling floating-point comparisons.
2530 * math/w_acosf.c: Likewise.
2531 * math/w_acosh.c: Likewise.
2532 * math/w_acoshf.c: Likewise.
2533 * math/w_acoshl.c: Likewise.
2534 * math/w_acosl.c: Likewise.
2535 * math/w_asin.c: Likewise.
2536 * math/w_asinf.c: Likewise.
2537 * math/w_asinl.c: Likewise.
2538 * math/w_atanh.c: Likewise.
2539 * math/w_atanhf.c: Likewise.
2540 * math/w_atanhl.c: Likewise.
2541 * math/w_exp2.c: Likewise.
2542 * math/w_exp2f.c: Likewise.
2543 * math/w_exp2l.c: Likewise.
2544 * math/w_j0.c: Likewise.
2545 * math/w_j0f.c: Likewise.
2546 * math/w_j0l.c: Likewise.
2547 * math/w_j1.c: Likewise.
2548 * math/w_j1f.c: Likewise.
2549 * math/w_j1l.c: Likewise.
2550 * math/w_jn.c: Likewise.
2551 * math/w_jnf.c: Likewise.
2552 * math/w_log.c: Likewise.
2553 * math/w_log10.c: Likewise.
2554 * math/w_log10f.c: Likewise.
2555 * math/w_log10l.c: Likewise.
2556 * math/w_log2.c: Likewise.
2557 * math/w_log2f.c: Likewise.
2558 * math/w_log2l.c: Likewise.
2559 * math/w_logf.c: Likewise.
2560 * math/w_logl.c: Likewise.
2561 * math/w_sqrt.c: Likewise.
2562 * math/w_sqrtf.c: Likewise.
2563 * math/w_sqrtl.c: Likewise.
2564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2565 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2566 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2567 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2568 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2570 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2573 * manual/string.texi (strnlen): Use correct parameter name in
2574 equivalent expression.
2576 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2579 * manual/users.texi (seteuid): Consistently use neweuid for
2582 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2585 * manual/nss.texi (Services in the NSS configuration): Correct
2586 list of services in example configuration file.
2588 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2591 * manual/arith.texi: Remove statements about negative zero
2592 behaving identically to zero.
2594 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2597 * manual/install.texi: Do not document upgrading from libc5.
2599 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2602 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2604 2012-02-18 David S. Miller <davem@davemloft.net>
2606 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2607 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2608 %o7 across the call.
2609 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2614 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2615 * sysdeps/sparc/crtn.S: Likewise.
2617 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2619 * aout/Makefile: Remove.
2621 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2624 * manual/examples/argp-ex1.c (main): Format definition in GNU
2626 * manual/examples/argp-ex2.c (main): Likewise.
2627 * manual/examples/argp-ex3.c (main): Likewise.
2628 * manual/examples/argp-ex4.c (main): Likewise.
2629 * manual/examples/longopt.c (main): Use new-style prototype
2631 * manual/examples/strncat.c (main): Specify return type and use
2632 (void) for arguments.
2633 * manual/examples/subopt.c (main): Use char **argv argument.
2635 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2638 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2641 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2644 * manual/string.texi (strchr): Change when strchrnul is
2647 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2650 * manual/locale.texi (setlocale): Document LOCPATH.
2652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2655 * manual/process.texi (execle): Move @dots{} before last argument.
2657 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
2660 * manual/charset.texi (Generic Charset Conversion): Fix typo
2661 (LC_TYPE -> LC_CTYPE).
2663 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2666 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2667 (scalbnf): Likewise.
2668 (scalbnl): Likewise.
2669 (scalbln): Likewise.
2670 (scalblnf): Likewise.
2671 (scalblnl): Likewise.
2672 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2676 * manual/filesys.texi (telldir): Use braces around return type.
2677 * manual/llio.texi (mmap): Add space after comma.
2679 * manual/math.texi (jn): Use @var{} on parameter names.
2685 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2687 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2689 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2690 (sched_get_priority_max): Likewise.
2691 * manual/signal.texi (sigvec): Add space after comma.
2692 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2694 (if_indextoname): Likewise.
2695 (if_freenameindex): Likewise.
2696 (sendto): Use ',' instead of '.' in prototype.
2697 * manual/startup.texi (syscall): Use @dots{} instead of literal
2699 * manual/stdio.texi (__fpending): Separate initial words of
2700 paragraph from @deftypefun line.
2701 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2703 (vsyslog): Use @var{} on parameter names.
2704 * manual/terminal.texi (stty): Use @var{} on parameter names.
2705 * manual/users.texi (getutmp): Use @var{} on parameter names.
2706 (getutmpx): Likewise.
2708 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2711 * manual/stdio.texi (fopen): Fix typos in description of
2714 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2717 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2718 get clock_id definition.
2720 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
2723 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2724 (madvise): Cast every argument to void on its own.
2726 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2729 * manual/startup.texi (Exit Status): Fix typo.
2731 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2734 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2735 * manual/examples/argp-ex2.c: Likewise.
2736 * manual/examples/argp-ex3.c: Likewise.
2738 2012-02-16 Richard Henderson <rth@redhat.com>
2740 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2741 * sysdeps/s390/s390-32/initfini.c: Remove.
2742 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2743 * sysdeps/s390/s390-64/initfini.c: Remove.
2745 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2747 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2748 compiler output for sysdeps/generic/initfini.c.
2749 * sysdeps/sh/elf/initfini.c: Remove file.
2751 2012-02-16 David S. Miller <davem@davemloft.net>
2754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2756 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2757 * sysdeps/sparc/crti.S: New file.
2758 * sysdeps/sparc/crtn.S: New file.
2759 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2760 * sysdeps/sparc/sparc64/Makefile: Likewise.
2762 2012-02-15 Mike Frysinger <vapier@gentoo.org>
2765 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2767 2012-02-15 Roland McGrath <roland@hack.frob.com>
2770 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2772 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2773 (write, read, close): Likewise.
2774 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2776 2012-02-15 Joseph Myers <joseph@codesourcery.com>
2778 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2779 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2780 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2781 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2783 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2787 2012-02-14 Marek Polacek <polacek@redhat.com>
2789 * sysdeps/x86_64/crti.S: New file.
2790 * sysdeps/x86_64/crtn.S: New file.
2791 * sysdeps/x86_64/elf/initfini.c: Remove file.
2793 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2795 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2796 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2798 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2800 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2804 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2806 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2807 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2808 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2809 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2811 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2815 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2817 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2818 __feraiseexcept instead of feraiseexcept.
2820 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2821 nanosleep invocations.
2822 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2823 strings, and add error checking for a nanosleep invocations.
2825 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2827 Replace FSF snail mail address with URLs, as per GNU coding standards.
2828 Most of the snail mail addresses were wrong anyway, and omitting
2829 them makes the source code easier to maintain. Almost all of the
2830 changes are to license notices and to locale LC_IDENTIFICATION
2831 addresses, except for this one:
2832 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2833 not its snail mail address.
2835 2012-02-09 Richard Henderson <rth@twiddle.net>
2837 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2838 of kernel-features.h.
2840 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2842 2012-02-08 Marek Polacek <polacek@redhat.com>
2844 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2845 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2846 * sysdeps/gnu/_G_config.h: Likewise.
2847 * sysdeps/generic/_G_config.h: Likewise.
2849 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2851 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2855 * sysdeps/powerpc/powerpc32/crti.S: New file.
2856 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2857 * sysdeps/powerpc/powerpc64/crti.S: New file.
2858 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2860 * Makeconfig (have-initfini): Don't set.
2861 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2862 * configure.in (nopic_initfini): Don't substitute.
2863 * config.h.in (HAVE_INITFINI): Don't #undef.
2864 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2865 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2867 2012-02-08 Joseph Myers <joseph@codesourcery.com>
2869 Support crti.S and crtn.S provided directly by architectures.
2870 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2871 [crti.S in sysdirs] (omit-deps): Likewise.
2872 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2873 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2874 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2875 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2876 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2877 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2878 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2879 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2880 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2881 compiler output for sysdeps/generic/initfini.c.
2882 * sysdeps/i386/elf/Makefile: Remove file.
2883 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2885 2012-02-07 Marek Polacek <polacek@redhat.com>
2887 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2888 * sysdeps/gnu/_G_config.h: Likewise.
2889 * sysdeps/mach/hurd/_G_config.h: Likewise.
2891 2012-02-07 Marek Polacek <polacek@redhat.com>
2893 * math/Makefile (tests): Add tst-CMPLX2.
2894 * math/tst-CMPLX2.c: New file.
2896 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2898 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2900 * math/libm-test.inc (jn_test): Add missing L suffix.
2902 2012-02-06 Marek Polacek <polacek@redhat.com>
2904 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2905 * sysdeps/i386/fpu/e_powf.S: Likewise.
2906 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2907 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2908 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2909 * sysdeps/i386/fpu/e_pow.S: Likewise.
2910 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2911 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2912 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2913 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2914 * sysdeps/i386/fpu/e_log2.S: Likewise.
2915 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2916 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2917 * sysdeps/i386/fpu/e_powl.S: Likewise.
2918 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2919 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2920 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2921 * sysdeps/i386/fpu/e_logl.S: Likewise.
2922 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2923 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2924 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2925 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2928 * sysdeps/i386/fpu/e_log.S: Likewise.
2929 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2930 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2931 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2932 * sysdeps/i386/fpu/e_logf.S: Likewise.
2933 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2934 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2935 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2936 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2937 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2938 * sysdeps/i386/fpu/e_log10.S: Likewise.
2939 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2940 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2941 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2942 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2943 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2944 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2945 * sysdeps/i386/asm-syntax.h: Likewise.
2946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2948 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2949 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2950 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2951 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2952 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2953 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2954 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2955 * sysdeps/powerpc/sysdep.h: Likewise.
2956 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2957 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2959 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2962 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2964 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2966 * sysdeps/i386/sysdep.h: Include <features.h>.
2967 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2970 2012-02-05 Joseph Myers <joseph@codesourcery.com>
2972 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2974 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2977 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2979 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2980 (SETUP_PIC_REG): Use GET_PC_THUNK.
2981 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2984 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2986 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2987 for non-PIC compilation.
2988 (SETUP_PIC_REG): Add .p2align directive.
2989 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2990 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2993 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2994 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2995 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2997 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2998 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2999 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3000 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3001 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3002 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3003 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3004 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3005 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3006 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3007 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3008 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3011 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3015 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3016 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3017 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3018 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3019 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3020 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3021 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3022 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3023 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3024 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3025 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3026 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3027 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3029 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3031 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3033 * math/tst-CMPLX.c: Include <stdio.h>.
3035 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3037 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3039 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3040 * sysdeps/sparc/bits/mathdef.h: Likewise.
3042 2012-01-31 Marek Polacek <polacek@redhat.com>
3044 * libio/libio.h: Don't define _PARAMS.
3045 * locale/programs/config.h: Don't define PARAMS.
3046 * stdlib/strtol_l.c: Likewise.
3047 (__strtol_l): Remove PARAMS from the prototype.
3049 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3051 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3052 names. Just use the correct names. Remove unnecessary wrapper
3054 * malloc/arena.c: Likewise.
3055 * malloc/hooks.c: Likewise.
3057 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3058 ARENA_TEST says not to. Simplify test for creation of a new arena.
3059 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3061 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3063 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3065 (update_get_addr): New function.
3066 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3067 GET_ADDR_MODULE parameter.
3069 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3071 * crypt/cert.c: Remove __STDC__ conditionals.
3072 * crypt/crypt-entry.c: Likewise.
3073 * crypt/crypt_util.c: Likewise.
3074 * libio/filedoalloc.c: Likewise.
3075 * libio/fileops.c: Likewise.
3076 * libio/genops.c: Likewise.
3077 * libio/iofclose.c: Likewise.
3078 * libio/iofdopen.c: Likewise.
3079 * libio/iofopen.c: Likewise.
3080 * libio/iofopen64.c: Likewise.
3081 * libio/iogetdelim.c: Likewise.
3082 * libio/iopopen.c: Likewise.
3083 * libio/obprintf.c: Likewise.
3084 * libio/oldfileops.c: Likewise.
3085 * libio/oldiofclose.c: Likewise.
3086 * libio/oldiofdopen.c: Likewise.
3087 * libio/oldiofopen.c: Likewise.
3088 * libio/oldiopopen.c: Likewise.
3089 * libio/wfiledoalloc.c: Likewise.
3090 * libio/wgenops.c: Likewise.
3091 * locale/programs/xmalloc.c: Likewise.
3092 * misc/syslog.c: Likewise.
3093 * stdio-common/xbug.c: Likewise.
3094 * string/memchr.c: Likewise.
3095 * string/memcmp.c: Likewise.
3096 * string/memrchr.c: Likewise.
3097 * string/rawmemchr.c: Likewise.
3098 * sysdeps/posix/getcwd.c: Likewise.
3099 * time/strftime_l.c: Likewise.
3101 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3103 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3104 * config.make.in (config-cflags-sse2avx): Define.
3105 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3108 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3110 * scripts/config.guess: Update from upstream config git repository.
3111 * scripts/config.sub: Likewise.
3113 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3115 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3117 (R_TILEPRO_*, R_TILEGX_*): New macros.
3119 * scripts/firstversions.awk: Fix bug in version range handling.
3121 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3123 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3125 * include/sys/epoll.h: New file.
3126 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3129 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3131 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3132 Avoid unnecessary __WORDSIZE == 64 test.
3133 (fmaxf): Use VEX format if possible.
3138 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3139 * math/math_private.h: Remove libc_fegetround* and
3141 * sysdeps/i386/configure.in: Check for -msse2avx.
3142 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3143 also if SSE2AVX is defined.
3144 Remove libc_fegetround* and libc_fesetround*.
3145 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3146 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3155 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3157 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3163 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3166 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3168 * Makeconfig (libm): Define.
3169 * elf/Makefile: Add rules to build and run tst-relsort1.
3170 * elf/tst-relsort1.c: New file.
3171 * elf/tst-relsort1mod1.c: New file.
3172 * elf/tst-relsort1mod2.c: New file.
3174 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3176 * math/s_ldexp.c: Remove __STDC__ conditionals.
3177 * math/s_ldexpf.c: Likewise.
3178 * math/s_ldexpl.c: Likewise.
3179 * math/s_nextafter.c: Likewise.
3180 * math/s_nexttowardf.c: Likewise.
3181 * math/s_significand.c: Likewise.
3182 * math/s_significandf.c: Likewise.
3183 * math/s_significandl.c: Likewise.
3184 * math/w_jnl.c: Likewise.
3185 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3186 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3187 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3188 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3189 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3206 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3211 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3215 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3216 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3219 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3220 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3221 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3222 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3223 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3224 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3225 * sysdeps/ieee754/k_standard.c: Likewise.
3226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3230 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3235 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3244 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3245 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3275 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3276 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3279 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3281 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3284 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3286 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3287 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3288 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3290 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3291 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3292 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3293 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3294 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3298 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3300 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3301 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3302 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3304 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3305 * sysdeps/ieee754/s_matherr.c: Likewise.
3306 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3307 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3311 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3313 * crypt/md5.h: Remove __STDC__ conditionals.
3314 * libio/libioP.h: Likewise.
3315 * locale/programs/config.h: Likewise.
3316 * sysdeps/generic/sysdep.h: Likewise.
3317 * sysdeps/i386/asm-syntax.h: Likewise.
3318 * sysdeps/s390/asm-syntax.h: Likewise.
3319 * sysdeps/unix/sysdep.h: Likewise.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3323 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3325 * libio/libio.h: Remove __STDC__ conditionals.
3326 * malloc/obstack.h: Likewise.
3327 * math/complex.h: Likewise.
3328 * math/math.h: Likewise.
3329 * sysdeps/generic/_G_config.h: Likewise.
3330 * sysdeps/gnu/_G_config.h: Likewise.
3331 * sysdeps/mach/hurd/_G_config.h: Likewise.
3332 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3333 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3334 * sysdeps/sparc/bits/mathdef.h: Likewise.
3336 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3339 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3340 Clean up HAS_* macros.
3341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3342 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3352 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3354 * elf/tst-unique3.cc (gets): Remove declaration.
3355 * elf/tst-unique3lib.cc (gets): Likewise.
3356 * elf/tst-unique3lib2.cc (gets): Likewise.
3357 * elf/tst-unique4.cc (gets): Likewise.
3359 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3361 * include/stdio.h: Add C++ protection. Add gets declarations and
3363 * debug/tst-chk1.c: Don't declare gets here.
3364 * stdio-common/tst-gets.c: Likewise.
3366 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3368 * posix/glob: Remove directory.
3370 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3372 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3374 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3376 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3377 of the non-standard EPFNOSUPPORT.
3379 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3381 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3382 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3383 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3385 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3387 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3389 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3391 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3393 * nscd/grpcache.c (cache_addgr): Likewise.
3394 * nscd/hstcache.c (cache_addhst): Likewise.
3395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3396 * nscd/pwdcache.c (cache_addpw): Likewise.
3397 * nscd/servicescache.c (cache_addserv): Likewise.
3399 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3401 * malloc/malloc.c: Various cleanups.
3402 * malloc/hooks.c: Likewise.
3404 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3405 * stdlib/bug-fmtmsg1.c: New file.
3407 * stdlib/fmtmsg.c (init): Add missing unlock.
3408 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3410 2012-01-12 Marek Polacek <polacek@redhat.com>
3412 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3415 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3417 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3419 macro to ensure uniqueness of label name.
3420 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3421 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3423 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3425 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3427 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3428 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3432 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3434 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3436 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3437 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3438 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3440 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3442 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3443 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3447 * math/bits/math-finite.h: Add ldexp support.
3449 2012-01-10 Marek Polacek <polacek@redhat.com>
3451 * locale/programs/localedef.h (show_archive_content): Add noreturn
3454 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3456 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3458 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3460 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3462 * io/Makefile (headers): Add bits/poll2.h.
3464 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3467 typo #include statement.
3469 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3471 * include/sys/cdefs.h: Define __attribute_alloc_size.
3472 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3473 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3474 * elf/pldd.c: Likewise.
3475 * iconv/iconv_charmap.c: Likewise.
3476 * iconv/iconvconfig.c: Likewise.
3477 * iconv/strtab.c: Likewise.
3478 * locale/programs/locale.c: Likewise.
3479 * locale/programs/localedef.h: Likewise.
3480 * locale/programs/simple-hash.c: Likewise.
3481 * nscd/nscd.h: Likewise.
3482 * nss/makedb.c: Likewise.
3483 * sysdeps/generic/ldconfig.h: Likewise.
3484 * locale/programs/localedef.c: Remove xmalloc prototype.
3485 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3487 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3489 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3492 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3494 * math/Makefile (tests): Add tst-CMPLX.
3495 * math/tst-CMPLX.c: New file.
3497 * math/complex.h (CMPLXL): Fix typo.
3499 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3500 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3502 * debug/tst-chk1.c: Add poll and ppoll tests.
3503 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3504 * include/sys/poll.h: Add hidden proto for ppoll.
3505 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3506 * sysdeps/mach/hurd/ppoll.c: Likewise.
3507 * io/ppoll.c: Likewise.
3508 * debug/poll_chk.c: New file.
3509 * debug/ppoll_chk.c: New file.
3510 * include/bits/poll2.h: New file.
3511 * io/bits/poll2.h: New file.
3514 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3516 * configure.in: static is always set to yes. Remove.
3517 * config.make.in: Don't set build-static.
3518 * Makeconfig: Remove use of build-static.
3519 * dlfcn/Makefile: Likewise.
3520 * elf/Makefile: Likewise.
3521 * math/Makefile: Likewise.
3522 * misc/Makefile: Likewise.
3523 * nptl/Makefile: Likewise.
3524 * sysdeps/mach/hurd/Makefile: Likewise.
3526 * configure.in: PWD_P is not used anymore.
3527 * config.make.in: Remove PWD_P entry.
3529 * configure.in: Remove last remnants of RANLIB.
3530 No need to check for signed size_t anymore.
3531 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3533 Remove __builtin_expect test because we require at least gcc 3.4.
3534 * aclocal.m4: Likewise.
3536 * wcsmbs/mbrtoc16.c: Implement using towc function.
3537 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3538 * wcsmbs/wcsmbsload.c: Likewise.
3539 * iconv/gconv_simple.c: Likewise.
3540 * iconv/gconv_int.h: Likewise.
3541 * iconv/gconv_builtin.h: Likewise.
3542 * iconv/iconv_prog.c: Remove CHAR16 handling.
3544 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3546 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3548 * configure.in: Remove --with-elf and --enable-bounded options.
3549 Dont set base_machine for ia64. More non-ELF conditions removed.
3550 Remove testing and setting of leading underscore information.
3551 * config.make.in (build-bounded): Set to no.
3552 * config.h.in: Remove NO_UNDERSCORES entry.
3553 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3555 * csu/start.c: Remove !NO_UNDERSCORE code.
3556 * locale/localeinfo.h: Likewise.
3557 * sysdeps/generic/machine-gmon.h: Likewise.
3558 * sysdeps/generic/sysdep.h: Likewise.
3559 * sysdeps/i386/sysdep.h: Likewise.
3560 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3561 * sysdeps/mach/sysdep.h: Likewise.
3562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3564 * sysdeps/sh/sysdep.h: Likewise.
3565 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3566 * sysdeps/unix/i386/sysdep.S: Likewise.
3567 * sysdeps/unix/sparc/start.c: Likewise.
3568 * sysdeps/unix/sparc/sysdep.S: Likewise.
3569 * sysdeps/unix/sparc/sysdep.h: Likewise.
3570 * sysdeps/unix/start.c: Likewise.
3571 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3572 * sysdeps/x86_64/sysdep.h: Likewise.
3574 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3577 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3579 * argp/argp-fmtstream.h: Use const instead __const.
3580 * argp/argp.h: Likewise.
3581 * assert/assert.h: Likewise.
3582 * bits/fenv.h: Likewise.
3583 * bits/sched.h: Likewise.
3584 * bits/sigset.h: Likewise.
3585 * bits/sigthread.h: Likewise.
3586 * catgets/nl_types.h: Likewise.
3587 * conform/data/pthread.h-data: Likewise.
3588 * crypt/crypt-private.h: Likewise.
3589 * crypt/crypt.h: Likewise.
3590 * crypt/crypt_util.c: Likewise.
3591 * ctype/ctype.h: Likewise.
3592 * debug/execinfo.h: Likewise.
3593 * debug/mbsnrtowcs_chk.c: Likewise.
3594 * debug/mbsrtowcs_chk.c: Likewise.
3595 * debug/wcsnrtombs_chk.c: Likewise.
3596 * debug/wcsrtombs_chk.c: Likewise.
3597 * debug/wcstombs_chk.c: Likewise.
3598 * dirent/dirent.h: Likewise.
3599 * dlfcn/dlfcn.h: Likewise.
3600 * elf/neededtest4.c: Likewise.
3601 * grp/grp.h: Likewise.
3602 * gshadow/gshadow.h: Likewise.
3603 * iconv/gconv.h: Likewise.
3604 * iconv/gconv_int.h: Likewise.
3605 * iconv/gconv_simple.c: Likewise.
3606 * iconv/iconv.h: Likewise.
3607 * iconv/loop.c: Likewise.
3608 * iconv/skeleton.c: Likewise.
3609 * include/aio.h: Likewise.
3610 * include/aliases.h: Likewise.
3611 * include/argz.h: Likewise.
3612 * include/arpa/inet.h: Likewise.
3613 * include/assert.h: Likewise.
3614 * include/dirent.h: Likewise.
3615 * include/dlfcn.h: Likewise.
3616 * include/execinfo.h: Likewise.
3617 * include/fcntl.h: Likewise.
3618 * include/fenv.h: Likewise.
3619 * include/glob.h: Likewise.
3620 * include/grp.h: Likewise.
3621 * include/libintl.h: Likewise.
3622 * include/mntent.h: Likewise.
3623 * include/netdb.h: Likewise.
3624 * include/pwd.h: Likewise.
3625 * include/rpc/netdb.h: Likewise.
3626 * include/sched.h: Likewise.
3627 * include/search.h: Likewise.
3628 * include/shadow.h: Likewise.
3629 * include/signal.h: Likewise.
3630 * include/stdio.h: Likewise.
3631 * include/stdlib.h: Likewise.
3632 * include/string.h: Likewise.
3633 * include/sys/socket.h: Likewise.
3634 * include/sys/stat.h: Likewise.
3635 * include/sys/statfs.h: Likewise.
3636 * include/sys/statvfs.h: Likewise.
3637 * include/sys/syslog.h: Likewise.
3638 * include/sys/time.h: Likewise.
3639 * include/sys/uio.h: Likewise.
3640 * include/time.h: Likewise.
3641 * include/unistd.h: Likewise.
3642 * include/utmp.h: Likewise.
3643 * include/wchar.h: Likewise.
3644 * include/wctype.h: Likewise.
3645 * inet/aliases.h: Likewise.
3646 * inet/arpa/inet.h: Likewise.
3647 * inet/netinet/ether.h: Likewise.
3648 * inet/netinet/in.h: Likewise.
3649 * intl/libintl.h: Likewise.
3650 * io/bits/fcntl2.h: Likewise.
3651 * io/fcntl.h: Likewise.
3652 * io/ftw.h: Likewise.
3653 * io/sys/poll.h: Likewise.
3654 * io/sys/stat.h: Likewise.
3655 * io/sys/statfs.h: Likewise.
3656 * io/sys/statvfs.h: Likewise.
3657 * io/utime.h: Likewise.
3658 * libio/bits/stdio.h: Likewise.
3659 * libio/bits/stdio2.h: Likewise.
3660 * libio/libio.h: Likewise.
3661 * libio/libioP.h: Likewise.
3662 * libio/stdio.h: Likewise.
3663 * locale/lc-ctype.c: Likewise.
3664 * locale/locale.h: Likewise.
3665 * login/utmp.h: Likewise.
3666 * malloc/arena.c: Likewise.
3667 * malloc/malloc.c: Likewise.
3668 * malloc/malloc.h: Likewise.
3669 * malloc/mcheck.c: Likewise.
3670 * malloc/mtrace.c: Likewise.
3671 * math/bits/mathcalls.h: Likewise.
3672 * math/fenv.h: Likewise.
3673 * math/math_private.h: Likewise.
3674 * misc/bits/error.h: Likewise.
3675 * misc/bits/syslog.h: Likewise.
3676 * misc/err.h: Likewise.
3677 * misc/error.h: Likewise.
3678 * misc/fstab.h: Likewise.
3679 * misc/mntent.h: Likewise.
3680 * misc/regexp.h: Likewise.
3681 * misc/search.h: Likewise.
3682 * misc/sgtty.h: Likewise.
3683 * misc/sys/mman.h: Likewise.
3684 * misc/sys/syslog.h: Likewise.
3685 * misc/sys/uio.h: Likewise.
3686 * misc/sys/xattr.h: Likewise.
3687 * misc/ttyent.h: Likewise.
3688 * nis/rpcsvc/ypclnt.h: Likewise.
3689 * nss/nss.h: Likewise.
3690 * posix/bits/unistd.h: Likewise.
3691 * posix/fnmatch.h: Likewise.
3692 * posix/glob.h: Likewise.
3693 * posix/sched.h: Likewise.
3694 * posix/spawn.h: Likewise.
3695 * posix/sys/wait.h: Likewise.
3696 * posix/unistd.h: Likewise.
3697 * posix/wordexp.h: Likewise.
3698 * pwd/pwd.h: Likewise.
3699 * resolv/netdb.h: Likewise.
3700 * resource/sys/resource.h: Likewise.
3701 * rt/aio.h: Likewise.
3702 * rt/bits/mqueue2.h: Likewise.
3703 * rt/mqueue.h: Likewise.
3704 * shadow/shadow.h: Likewise.
3705 * signal/signal.h: Likewise.
3706 * socket/send.c: Likewise.
3707 * socket/sendto.c: Likewise.
3708 * socket/sys/socket.h: Likewise.
3709 * stdio-common/printf.h: Likewise.
3710 * stdlib/bits/stdlib.h: Likewise.
3711 * stdlib/fmtmsg.h: Likewise.
3712 * stdlib/monetary.h: Likewise.
3713 * stdlib/stdlib.h: Likewise.
3714 * stdlib/ucontext.h: Likewise.
3715 * streams/stropts.h: Likewise.
3716 * string/argz.h: Likewise.
3717 * string/bits/string2.h: Likewise.
3718 * string/string.h: Likewise.
3719 * string/strings.h: Likewise.
3720 * sunrpc/rpc/auth.h: Likewise.
3721 * sunrpc/rpc/auth_des.h: Likewise.
3722 * sunrpc/rpc/clnt.h: Likewise.
3723 * sunrpc/rpc/netdb.h: Likewise.
3724 * sunrpc/rpc/pmap_clnt.h: Likewise.
3725 * sunrpc/rpc/xdr.h: Likewise.
3726 * sysdeps/generic/inttypes.h: Likewise.
3727 * sysdeps/generic/net/if.h: Likewise.
3728 * sysdeps/generic/sys/swap.h: Likewise.
3729 * sysdeps/gnu/net/if.h: Likewise.
3730 * sysdeps/gnu/utmpx.h: Likewise.
3731 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3732 * sysdeps/i386/i486/bits/string.h: Likewise.
3733 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3734 * sysdeps/s390/bits/string.h: Likewise.
3735 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3736 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3737 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3738 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3739 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3740 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3741 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3742 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3743 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3744 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3745 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3746 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3747 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3748 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3749 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3751 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3757 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3758 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3759 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3760 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3761 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3763 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3764 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3765 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3766 * sysvipc/sys/ipc.h: Likewise.
3767 * sysvipc/sys/msg.h: Likewise.
3768 * sysvipc/sys/sem.h: Likewise.
3769 * sysvipc/sys/shm.h: Likewise.
3770 * termios/termios.h: Likewise.
3771 * time/sys/time.h: Likewise.
3772 * time/time.h: Likewise.
3773 * wcsmbs/bits/wchar2.h: Likewise.
3774 * wcsmbs/uchar.h: Likewise.
3775 * wcsmbs/wchar.h: Likewise.
3776 * wctype/wctype.h: Likewise.
3779 * Makeconfig: Remove all but ELF support including AIX support.
3780 * Makerules: Likewise.
3781 * config.h.in: Likewise.
3782 * config.make.in: Likewise.
3783 * configure: Likewise.
3784 * configure.in: Likewise.
3785 * csu/Makefile: Likewise.
3786 * csu/version.c: Likewise.
3787 * debug/Makefile: Likewise.
3788 * dlfcn/Makefile: Likewise.
3789 * elf/Makefile: Likewise.
3790 * extra-lib.mk: Likewise.
3791 * iconv/Makefile: Likewise.
3792 * include/libc-symbols.h: Likewise.
3793 * include/shlib-compat.h: Likewise.
3794 * resolv/Makefile: Likewise.
3795 * resolv/res_libc.c: Likewise.
3796 * rt/Makefile: Likewise.
3797 * sysdeps/i386/asm-syntax.h: Likewise.
3798 * sysdeps/i386/sysdep.h: Likewise.
3799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3800 * sysdeps/mach/sysdep.h: Likewise.
3801 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3802 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3803 * sysdeps/s390/asm-syntax.h: Likewise.
3804 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3805 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3806 * sysdeps/sh/sysdep.h: Likewise.
3807 * sysdeps/unix/sparc/sysdep.h: Likewise.
3808 * sysdeps/wordsize-32/divdi3.c: Likewise.
3809 * sysdeps/x86_64/sysdep.h: Likewise.
3811 * argp/Versions: Remove _argp_unlock_xxx.
3814 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3815 * abilist/libBrokenLocale.abilist: Likewise.
3816 * abilist/libanl.abilist: Likewise.
3817 * abilist/libc.abilist: Likewise.
3818 * abilist/libcrypt.abilist: Likewise.
3819 * abilist/libdl.abilist: Likewise.
3820 * abilist/libm.abilist: Likewise.
3821 * abilist/libnsl.abilist: Likewise.
3822 * abilist/libpthread.abilist: Likewise.
3823 * abilist/libresolv.abilist: Likewise.
3824 * abilist/librt.abilist: Likewise.
3825 * abilist/libthread_db.abilist: Likewise.
3826 * abilist/libutil.abilist: Likewise.
3827 * abilist/libnss_db.abilist: New file.
3829 * scripts/abilist.awk: Add support for indirect functions.
3831 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3833 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3835 * shlib-versions: Remove entries for ports architectures.
3837 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3839 * elf/stackguard-macros.h: Remove support for IA-64.
3840 * elf/tst-auditmod1.c: Likewise.
3841 * sysdeps/generic/ldsodefs.h: Likewise.
3843 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3844 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3848 * configure.in: Remove --enable-omitfp support.
3850 * config.make.in: Likewise.
3851 * Makeconfig: Likewise.
3852 * manual/install.texi: Likewise.
3854 In case anyone cares, the IA-64 architecture could move to ports.
3855 * sysdeps/ia64/*: Removed.
3856 * sysdeps/unix/sysv/linux/ia64/*: Removed.
3857 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3860 * configure.in: Remove entries for unsupported architectures.
3863 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3864 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3866 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3867 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3868 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3869 fall back to using wcrtomb.
3870 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3871 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3873 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3874 * wcsmbs/tst-c16c32-1.c: New file.
3876 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3879 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3881 * elf/tst-unique3.cc: Add explicit declaration of gets.
3882 * elf/tst-unique3lib.cc: Likewise.
3883 * elf/tst-unique3lib2.cc: Likewise.
3884 * elf/tst-unique4.cc: Likewise.
3886 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3888 2012-01-06 Joseph Myers <joseph@codesourcery.com>
3891 * assert/assert.h (static_assert): Don't define for C++.
3892 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3893 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3895 2012-01-03 Ulrich Drepper <drepper@gmail.com>
3897 * iconv/loop.c (single loop): Fix assertion in storing of
3900 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3902 2012-01-01 Ulrich Drepper <drepper@gmail.com>
3904 * posix/getconf.c: Update copyright year.
3905 * nss/getent.c: Likewise.
3906 * nss/makedb.c: Likewise.
3907 * iconv/iconvconfig.c: Likewise.
3908 * iconv/iconv_prog.c: Likewise.
3909 * elf/ldconfig.c: Likewise.
3910 * elf/pldd.c: Likewise.
3911 * elf/sotruss.ksh: Likewise.
3912 * catgets/gencat.c: Likewise.
3913 * csu/version.c: Likewise.
3914 * elf/ldd.bash.in: Likewise.
3915 * elf/sprof.c (print_version): Likewise.
3916 * locale/programs/locale.c: Likewise.
3917 * locale/programs/localedef.c: Likewise.
3918 * login/programs/pt_chown.c: Likewise.
3919 * nscd/nscd.c (print_version): Likewise.
3920 * debug/xtrace.sh: Likewise.
3921 * malloc/memusage.sh: Likewise.
3922 * malloc/mtrace.pl: Likewise.
3923 * debug/catchsegv.sh: Likewise.
3925 2011-12-30 Jakub Jelinek <jakub@redhat.com>
3927 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3930 2011-12-24 Ulrich Drepper <drepper@gmail.com>
3933 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3934 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3936 * iconv/gconv_int.h: Likewise.
3937 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3938 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3939 from libc for GLIBC_2.16.
3940 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3941 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3942 * wcsmbs/uchar.h: Really define mbstate_t.
3943 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3944 * wcsmbs/c16rtomb.c: New file.
3945 * wcsmbs/mbrtoc16.c: New file.
3946 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3948 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3949 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3951 * wcsmbs/wchar.h: Add missing __restrict.
3953 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3956 * time/Makefile (routines): Add timespec_get.
3957 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3958 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3959 timespec for ISO C11.
3960 * time/timespec_get.c: New file.
3961 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3962 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3965 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3966 * stdlib/stdlib.h: Declare aligned_alloc.
3967 * Versions.def: Add GLIBC_2.16 for libc.
3968 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3971 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3974 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3978 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3981 * assert/assert.h (static_assert): Define.
3983 * version.h: Update for 2.16 development version.
3986 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3989 * version.h (RELEASE): Bump for 2.15 release.
3990 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3992 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3993 Patch by Marek Polacek <mpolacek@redhat.com>.
3995 * bits/byteswap.h: Protect long long constants with __extension__.
3996 * sysdeps/i386/bits/byteswap.h: Likewise.
3997 * sysdeps/ia64/bits/byteswap.h: Likewise.
3998 * sysdeps/s390/bits/byteswap.h: Likewise.
3999 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4001 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4006 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4008 2011-12-23 Marek Polacek <polacek@redhat.com>
4010 * elf/dl-addr.c (determine_info): Add inline keyword.
4011 * elf/tst-auditmod4b.c (check_avx): Likewise.
4012 * elf/tst-auditmod6b.c (check_avx): Likewise.
4013 * elf/tst-auditmod6c.c (check_avx): Likewise.
4014 * elf/tst-auditmod7b.c (check_avx): Likewise.
4016 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4018 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4021 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4024 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4025 processing for last bytes.
4027 2011-08-06 Bruno Haible <bruno@clisp.org>
4030 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4031 U+0385, not to U+1FEE.
4034 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4035 entry for U+00A5 U+0301.
4037 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4040 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4041 buffer for the output is too small.
4043 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4047 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4048 SSE flags if possible.
4050 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4054 processing for last bytes.
4056 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4058 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4059 (syscall-list-default-options, syscall-list-default-condition)
4060 (syscall-list-includes): Define.
4061 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4062 list of ABIs and options and #if conditions for each ABI. Do not
4063 handle common syscalls between ABIs specially.
4064 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4066 (syscall-list-variants, syscall-list-32bit-options)
4067 (syscall-list-32bit-condition, syscall-list-64bit-options)
4068 (syscall-list-64bit-condition): Define.
4069 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4070 (syscall-list-variants, syscall-list-32bit-options)
4071 (syscall-list-32bit-condition, syscall-list-64bit-options)
4072 (syscall-list-64bit-condition): Define.
4073 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4075 (syscall-list-variants, syscall-list-32bit-options)
4076 (syscall-list-32bit-condition, syscall-list-64bit-options)
4077 (syscall-list-64bit-condition): Define.
4078 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4080 (syscall-list-variants, syscall-list-32bit-options)
4081 (syscall-list-32bit-condition, syscall-list-64bit-options)
4082 (syscall-list-64bit-condition): Define.
4084 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4086 * locale/iso-639.def: Add brx entry.
4089 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4090 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4092 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4093 __feraiseexcept_renamed.
4095 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4098 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4099 EPOLLET with unsigned values.
4100 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4103 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4104 to large cancellation.
4105 * math/s_cacoshf.c: Likewise.
4106 * math/s_cacoshl.c: Likewise.
4108 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4112 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4113 * math/s_cacoshf.c: Likewise.
4114 * math/s_cacoshl.c: Likewise.
4116 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4119 * iconv/gconv.h: Define __GCONV_SWAP.
4120 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4121 * iconvdata/utf-16.c: Likewise.
4122 * iconvdata/utf-32.c: Likewise.
4124 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4128 numerator after shifting it by one limb.
4130 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4132 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4133 under [__USE_EXTERN_INLINES].
4135 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4138 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4140 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4142 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4143 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4145 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4146 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4147 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4148 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4149 for strncasecmp/strncasecmp_l compilation.
4150 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4151 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4153 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4156 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4159 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4162 * time/tzfile.c (__tzfile_read): Check values from file header.
4164 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4166 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4167 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4168 * powerpc/powerpc32/dl-start.S: Likewise.
4169 * powerpc/powerpc32/elf/start.S: Likewise.
4170 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4171 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4172 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4173 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4174 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4175 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4176 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4177 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4178 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4179 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4180 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4181 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4182 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4183 * powerpc/powerpc32/memset.S: Likewise.
4184 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4185 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4186 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4187 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4188 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4189 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4190 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4191 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4192 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4193 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4194 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4195 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4196 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4198 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4200 * math/libm-test.inc: Added more nearbyint tests.
4201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4202 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4206 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4208 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4211 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4213 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4214 Add wcscpy-ssse3 wcscpy-c.
4215 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4216 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4217 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4218 * sysdeps/x86_64/wcschr.S: New file.
4219 * sysdeps/x86_64/wcsrchr.S: New file.
4220 * string/test-strcmp.c: Remove checking of wcscmp function for
4222 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4223 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4224 wcsrchr-sse2 wcsrchr-c.
4225 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4226 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4227 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4228 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4229 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4230 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4231 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4232 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4233 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4234 * wcsmbc/wcschr.c (WCSCHR): New macro.
4236 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4238 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4239 * wcsmbs/test-wcsrchr.c: New file.
4240 * string/test-strrchr.c: Add wcsrchr support.
4242 * wcsmbs/test-wcscpy.c: New file.
4243 * string/test-strcpy.c: Add wcscpy support.
4246 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4248 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4251 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4254 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4256 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4258 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4259 Minor optimizations.
4261 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4262 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4263 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4265 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4267 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4268 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4269 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4270 for gcc to avoid warnings.
4271 * inet/Makefile (tests): Add tst-checks.
4272 * inet/tst-checks.c: New file.
4274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4277 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4280 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4281 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4283 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4285 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4287 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4290 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4292 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4294 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4295 conditional on GCC version.
4296 (__arch_compare_and_exchange_val_8_acq)
4297 (__arch_compare_and_exchange_val_16_acq)
4298 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4299 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4300 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4302 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4304 * sysdeps/sh/backtrace.c: New file.
4306 2011-12-02 Andreas Schwab <schwab@redhat.com>
4308 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4311 2011-12-01 Andreas Schwab <schwab@redhat.com>
4313 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4314 falling back to utime.
4316 2011-11-30 Andreas Schwab <schwab@redhat.com>
4318 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4319 expectations for float.
4321 2011-11-29 Andreas Schwab <schwab@redhat.com>
4323 * locale/weight.h (findidx): Add parameter len.
4324 * locale/weightwc.h (findidx): Likewise.
4325 * posix/fnmatch_loop.c (FCT): Adjust caller.
4326 * posix/regcomp.c (build_equiv_class): Likewise.
4327 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4328 * posix/regexec.c (check_node_accept_bytes): Likewise.
4329 * string/strcoll_l.c (STRCOLL): Likewise.
4330 * string/strxfrm_l.c (STRXFRM): Likewise.
4332 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4334 * Makefile.in: Remove CVSOPT handling.
4335 * configure.in: Remove use of AC_REVISION.
4336 * iconvdata/Makefile (distribute): No need to filter out CVS.
4337 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4340 2011-11-16 Andreas Schwab <schwab@redhat.com>
4342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4343 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4344 [USE_AS_STRNCASECMP_L]: Likewise.
4345 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4346 NO_TLS_DIRECT_SEG_REFS.
4347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4348 Fix argument offsets for non-PIC.
4349 [USE_AS_STRNCASECMP_L]: Likewise.
4350 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4351 NO_TLS_DIRECT_SEG_REFS.
4353 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4355 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4357 * locale/loadlocale.c (_nl_load_locale): Likewise.
4359 2011-11-15 Andreas Schwab <schwab@redhat.com>
4361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4362 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4363 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4364 (SYSCALL_GETTIME): Set errno on error.
4366 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4367 count references to noai6ai_cached.
4369 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4371 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4373 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4374 FD_CLOEXEC for /proc/self/maps.
4376 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4377 FD_CLOEXEC for /proc/meminfo.
4379 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4382 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4383 FD_CLOEXEC for given file.
4385 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4387 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4388 FD_CLOEXEC for /etc/hosts.
4389 (_gethtent): Likewise.
4391 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4393 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4394 cancellation and set FD_CLOEXEC for /etc/netgroup.
4396 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4397 reading /etc/publickey.
4399 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4400 allow cancellation when reading /etc/group.
4402 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4404 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4406 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4407 when using data file.
4409 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4411 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4412 (write_nis_obj): Use "c" and "e" in fopen.
4414 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4416 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4418 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4420 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4422 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4425 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4427 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4429 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4431 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4432 file parsing and set FD_CLOEXEC.
4434 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4436 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4438 2011-11-14 Andreas Schwab <schwab@redhat.com>
4440 * malloc/arena.c (arena_get2): Don't call reused_arena when
4441 _int_new_arena failed.
4443 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4445 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4446 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4448 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4451 to compile strcasecmp and strncasecmp.
4452 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4453 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4457 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4459 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4460 locale-defines.sym to gen-as-const-headers.
4461 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4462 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4464 to compile strcasecmp and strncasecmp.
4465 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4466 strcasecmp_l and strncasecmp_l.
4467 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4468 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4469 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4470 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4471 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4472 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4473 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4474 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4475 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4476 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4477 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4479 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4481 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4482 result of SYSDEP_GETTIME_CPU to retval.
4483 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4484 parameter list to macro. Remove trailing semicolon. Adjust users.
4486 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4489 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4493 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4494 from unused variable.
4496 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4498 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4501 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4504 * sunrpc/rpc_prot.c (rejected): Fix case value.
4506 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4507 unsigned long long int to avoid warnings in shift.
4509 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4511 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4514 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4515 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4516 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4518 * nis/nis_table.c (nis_list): Use variable of correct type for
4519 result of __follow_path call.
4521 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4523 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4524 of math functions ceil, trunc, floor, round, and sqrt, when
4525 avaliable on the platform.
4526 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4528 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4529 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4530 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4532 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4534 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4535 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4537 2011-11-11 Roland McGrath <roland@hack.frob.com>
4539 * include/unistd.h: Fix __readlink return type.
4540 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4542 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4544 * stdlib/ucontext.h: Undo last change for makecontext.
4546 2011-11-11 Andreas Schwab <schwab@redhat.com>
4548 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4550 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4551 * setjmp/setjmp.h: Mark functions as non-leaf.
4552 * setjmp/bits/setjmp2.h: Likewise.
4553 * stdlib/ucontext.h: Likewise.
4555 2011-11-10 Andreas Schwab <schwab@redhat.com>
4557 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4558 (reused_arena): Don't check arena limit.
4559 (arena_get2): Atomically check arena limit.
4561 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4563 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4564 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4569 2011-11-07 Andreas Schwab <schwab@redhat.com>
4571 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4572 handler when locking.
4574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4575 Fix size of allocated buffer.
4577 2011-11-04 Andreas Schwab <schwab@redhat.com>
4580 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4581 declarations for long double functions.
4582 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4584 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4586 2011-11-03 Andreas Schwab <schwab@redhat.com>
4588 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4591 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4594 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4596 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4598 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4600 * include/alloca.h (stackinfo_alloca_round): Define.
4601 (extend_alloca): Use it.
4602 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4603 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4606 * scripts/check-local-headers.sh: Ignore libaudit.h.
4608 * nscd/Makefile (extra-objs): Make recursively expanded.
4610 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4612 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4613 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4615 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4616 * posix/tst-rfc3484-2.c: Likewise.
4617 * posix/tst-rfc3484-3.c: Likewise.
4619 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4621 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4623 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4624 process_vm_writev from libc using GLIBC_2.15 version.
4626 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4628 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4630 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4633 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4636 * nss/getent.c (initgroups_keys): Show error message in case no group
4639 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4640 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4641 __bump_nl_timestamp.
4642 * nscd/connections (nscd_init): When host database is served open
4643 netlink socket and request notification about configuration changes.
4644 (main_loop_poll): Track netlink file descriptor and bump timestamp
4645 in case data becomes available.
4646 (main_loop_epoll): Likewise.
4647 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4648 (database_pers_head): Add extra_data fileds.
4649 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4650 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4651 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4654 in6ai data, call __free_in6ai.
4655 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4657 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4658 interface information. Reuse previous data if netlink timestamp
4660 (__bump_nl_timestamp): New function.
4661 (__free_in6ai): New function.
4663 2011-10-30 Ulrich Drepper <drepper@gmail.com>
4665 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4666 close_not_cancel_no_status here.
4667 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4669 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4672 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4675 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4676 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4677 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4679 2011-07-03 Andreas Jaeger <aj@suse.de>
4682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4683 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4684 * math/libm-test.inc (sin_test): Add test case.
4686 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4689 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4690 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4692 * elf/chroot_canon.c (chroot_canon): Cleanups.
4694 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4697 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4698 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4700 * string/test-strchr.c: Make usable for strchrnul testing.
4701 * string/test-strchrnul.c: New file.
4702 * string/Makefile (strop-tests): Add strchrnul.
4704 * po/it.po: Update from translation team.
4705 * po/es.po: Likewise.
4707 2011-10-28 Ulrich Drepper <drepper@gmail.com>
4709 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4710 the three constants needed as parameters. Drop the others.
4711 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4712 __m128i_strloadu_tolower.
4713 Create and initialize variable zero and use it in all the places
4714 where _mm_setzero_si128 was used.
4716 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4717 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4718 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4719 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4722 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4723 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4724 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4726 __mpranred, __mptan.
4727 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4728 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4729 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4730 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4731 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4732 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4734 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4735 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4737 2011-10-28 Andreas Schwab <schwab@redhat.com>
4739 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4741 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4744 wide char related routines to wcsmbs subdir.
4746 2011-10-27 Andreas Schwab <schwab@redhat.com>
4749 * misc/sys/cdefs.h (__THROWNL): Define.
4750 * posix/unistd.h: Use __THREADNL instead of __THREAD
4751 for memory synchronization functions.
4753 2011-10-26 Roland McGrath <roland@hack.frob.com>
4756 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4758 * manual/stdio.texi (Obstack Streams): Node removed.
4760 2011-10-26 Andreas Schwab <schwab@redhat.com>
4762 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4763 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4766 * math/math_private.h (math_force_eval): Allow non-addressable
4768 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4770 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4772 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4775 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4778 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4780 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4781 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4782 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4784 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4785 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4786 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4787 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4788 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4789 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4790 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4791 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4792 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4793 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4794 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4795 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4797 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4798 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4799 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4801 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4802 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4804 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4805 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4807 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4808 place. Use VEX encoding when compiling for AVX.
4810 2011-10-25 Andreas Schwab <schwab@redhat.com>
4812 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4813 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4815 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4817 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4819 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4820 useless if() expression.
4821 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4822 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4825 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4830 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4831 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4832 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4833 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4835 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4836 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4839 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4841 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4843 2011-10-25 Andreas Schwab <schwab@redhat.com>
4845 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4847 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4849 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4851 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4852 .text section. Avoid duplicate constants.
4853 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4855 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4861 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4862 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4863 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4864 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4865 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4866 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4868 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4869 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4870 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4876 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4877 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4878 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4879 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4880 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4881 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4882 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4883 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4884 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4885 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4886 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4887 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4888 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4889 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4891 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4892 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4893 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4895 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4896 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4897 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4899 2011-10-24 Ulrich Drepper <drepper@gmail.com>
4901 * sysdeps/x86_64/dla.h: Move to ...
4902 * sysdeps/x86_64/fpu/dla.h: ...here.
4903 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4904 situations. Use __builtin_fma only for gcc 4.6 and up.
4906 * config.make.in: Add have-mfma4 entry.
4907 * configure.in: Substitute libc_cv_cc_fma4.
4908 * math/Makefile (dbl-only-routines): Add sincostab.
4909 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4910 Use __sincostab not sincos.
4911 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4913 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4918 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4919 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4920 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4921 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4924 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4926 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4927 define aliases when function name is a macro.
4928 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4929 sysdeps/ieee754/dbl-64/sincos.tbl.
4930 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4931 fma4-enabled routines.
4932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4933 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4934 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4935 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4936 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4937 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4941 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4942 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4943 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4944 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4945 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4947 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4948 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4949 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4950 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4952 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4953 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4955 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4957 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4959 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4960 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4961 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4963 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4974 2011-10-24 Andreas Schwab <schwab@redhat.com>
4976 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4978 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4980 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4982 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4984 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4986 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4987 Remove unused variable magic_bits.
4988 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4990 * string/strnlen.c: Define and use STRNLEN macro.
4991 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4992 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4994 * wcsmbs/wcslen.c: Define and use WCSLEN.
4995 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4996 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4997 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4998 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4999 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5000 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5001 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5003 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5006 strnlen-sse2-no-bsf.
5007 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5009 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5010 Add strnlen support.
5011 (USE_AS_STRNLEN): New macro.
5012 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5013 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5014 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5015 * sysdeps/x86_64/wcslen.S: New file.
5017 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5020 XMM-moves are used for copying on small sizes.
5022 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5024 * wcsmbs/Makefile (strop-tests): Add wcschr.
5025 * wcsmbs/test-wcschr.c: New file.
5026 * string/test-strchr.c: Update.
5030 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5032 * wcsmbs/Makefile (strop-tests): Add wcslen.
5033 * wcsmbs/test-wcslen.c: New file.
5034 * string/test-strlen.c: Update.
5038 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5040 * po/it.po: Update from translation team.
5042 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5044 * sysdeps/x86_64/wcscmp.S: Update.
5045 Fix wrong comparison semantics.
5046 wcscmp shall use signed comparison not unsigned.
5047 Don't use substraction to avoid overflow bug.
5048 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5049 * wcsmbc/wcscmp.c: Likewise.
5050 * string/test-strcmp.c: Likewise.
5051 Add new tests to check cases with negative values.
5053 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5055 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5056 * sysdeps/x86_64/dla.h: ...here. New file.
5057 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5067 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5070 __ynl_finite aliases.
5072 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5076 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5078 [DLA_FMA] (EMULV): Use DLA_FMA.
5079 [DLA_FMA] (MUL12): Use EMULV.
5080 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5081 that are not needed.
5082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5090 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5092 * math/s_nan.c: Undef __nan.
5093 * math/s_nanf.c: Undef __nanf.
5094 * math/s_nanl.c: Undef __nanl.
5095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5098 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5100 * math/s_catan.c: Add branch predictions.
5101 * math/s_catanf.c: Likewise.
5102 * math/s_catanh.c: Likewise.
5103 * math/s_catanhf.c: Likewise.
5104 * math/s_catanhl.c: Likewise.
5105 * math/s_catanl.c: Likewise.
5106 * math/s_cexp.c: Likewise.
5107 * math/s_cexpf.c: Likewise.
5108 * math/s_cexpl.c: Likewise.
5109 * math/s_clog.c: Likewise.
5110 * math/s_clog10.c: Likewise.
5111 * math/s_clog10f.c: Likewise.
5112 * math/s_clog10l.c: Likewise.
5113 * math/s_clogf.c: Likewise.
5114 * math/s_clogl.c: Likewise.
5115 * math/s_csqrt.c: Likewise.
5116 * math/s_csqrtf.c: Likewise.
5117 * math/s_csqrtl.c: Likewise.
5118 * math/s_ctanf.c: Likewise.
5119 * math/s_ctanh.c: Likewise.
5120 * math/s_ctanhf.c: Likewise.
5121 * math/s_ctanhl.c: Likewise.
5122 * math/s_ctanl.c: Likewise.
5124 * math/math_private.h: Define __nan, __nanf, __nanl.
5125 * math/s_cacosh.c: Include <math_private.h>.
5126 * math/s_cacoshl.c: Likewise.
5127 * math/s_casinh.c: Likewise.
5128 * math/s_casinhf.c: Likewise.
5129 * math/s_casinhl.c: Likewise.
5130 * math/s_ccos.c: Rely entire on ccosh.
5131 * math/s_ccosf.c: Rely entire on ccoshf.
5132 * math/s_ccosl.c: Rely entirely on ccoshl.
5133 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5134 Remove tests for FE_INVALID.
5135 * math/s_ccoshf.c: Likewise.
5136 * math/s_ccoshl.c: Likewise.
5137 * math/s_csin.c: Likewise.
5138 * math/s_csinf.c: Likewise.
5139 * math/s_csinh.c Likewise.
5140 * math/s_csinhf.c: Likewise.
5141 * math/s_csinhl.c: Likewise.
5142 * math/s_csinl.c: Likewise.
5143 * math/s_ctan.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5145 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5146 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5148 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5151 compilation problems.
5153 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5156 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5158 * sysdeps/i386/configure.in: Test for -mfma4 option.
5159 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5160 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5161 COMMON_CPUID_INDEX_80000001.
5162 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5163 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5164 use it if FMA3 is not supported.
5165 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5167 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5168 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5170 2011-10-20 Andreas Schwab <schwab@redhat.com>
5173 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5174 it would create a cycle with a link time dependency.
5176 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5178 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5180 * string/Makefile (strop-tests): Add rawmemchr.
5181 * string/test-rawmemchr.c: New file.
5183 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5184 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5185 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5186 when compiling str{,n}casecmp and when AVX is available. Hook up
5187 new optimized code in initializers.
5189 2011-10-19 Andreas Schwab <schwab@redhat.com>
5191 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5192 __feraiseexcept instead of feraiseexcept.
5194 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5196 * math/math_private.h: Define defaults for libc_fetestexcept and
5198 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5199 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5200 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5201 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5202 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5203 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5204 libc_fetestexcept and libc_feupdateenv.
5206 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5207 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5208 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5209 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5210 libc_feholdexcept_setround.
5212 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5213 Add s_nearbyint-c and s_nearbyintf-c.
5214 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5216 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5218 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5219 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5221 * math/math_private.h: Define defaults for libc_fegetround,
5222 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5223 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5224 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5226 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5228 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5229 Remove comments and hacks for old compiler versions.
5230 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5231 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5234 2011-10-18 Andreas Schwab <schwab@redhat.com>
5236 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5237 (__feraiseexcept_renamed): Add __NTH.
5238 (feraiseexcept): Add __NTH. Rename local variables to fix
5239 namespace violations.
5241 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5243 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5245 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5247 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5248 recently added interfaces.
5249 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5251 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5252 about macro parameter expansion.
5254 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5255 __NO_MATH_INLINES is defined. Cleanups.
5257 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5258 and __floorf is target has SSE4.1.
5259 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5260 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5261 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5262 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5264 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5268 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5270 2011-10-17 Andreas Schwab <schwab@redhat.com>
5272 * misc/sys/cdefs.h: Fix last change.
5274 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5277 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5279 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5281 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5287 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5288 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5289 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5290 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5291 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5292 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5293 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5294 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5295 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5296 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5297 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5298 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5299 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5300 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5301 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5302 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5304 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5305 ceil, ceilf, floor, floorf.
5307 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5308 Perform IRELATIVE relocations last.
5310 * elf/do-rel.h: Add another parameter nrelative, replacing the
5311 local variable with the same name. Change name of the function
5312 to end in Rel or Rela (uppercase).
5313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5314 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5315 elf_dynamic_do_##reloc function.
5317 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5319 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5320 is sufficient, at least on modern CPUs.
5322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5324 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5325 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5327 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5329 * math/bits/math-finite.h: Add entries for exp.
5330 * math/e_expl.c: Add __*_finite alias.
5331 * sysdeps/i386/fpu/e_exp.S: Likewise.
5332 * sysdeps/i386/fpu/e_expf.S: Likewise.
5333 * sysdeps/i386/fpu/e_expl.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5335 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5339 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5342 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5343 is sufficient, at least on modern CPUs.
5345 * ctype/ctype-info.c (__ctype_init): Define.
5346 * include/ctype.h (__ctype_init): Declare.
5347 (__ctype_b_loc): The variable is always initialized.
5348 (__ctype_toupper_loc): Likewise.
5349 (__ctype_tolower_loc): Likewise.
5350 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5351 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5353 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5355 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5357 * configure.in: Also look in $cxxmachine/include for C++ system
5360 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5362 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5363 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5364 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5365 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5366 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5367 (USE_AS_WMEMCMP): New macro.
5369 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5370 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5371 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5372 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5374 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5375 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5376 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5377 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5378 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5379 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5380 (USE_AS_WMEMCMP): New macro.
5381 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5382 * sysdeps/string/test-memcmp.c: Update.
5385 * wcsmbs/wmemcmp.c: Update.
5386 (WMEMCMP): New macro.
5389 2011-10-12 Andreas Jaeger <aj@suse.de>
5392 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5394 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5396 * libio/iofwide.c (do_length): Avoid warning.
5398 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5400 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5402 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5404 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5405 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5406 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5407 * sysdeps/i386/i686/fpu/e_log.S: New file.
5408 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5409 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5411 * ctype/ctype.h: Add support for inlined isXXX functions when
5414 2011-10-14 Andreas Schwab <schwab@redhat.com>
5416 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5418 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5420 2011-10-13 Roland McGrath <roland@hack.frob.com>
5423 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5425 2011-10-13 Andreas Schwab <schwab@redhat.com>
5427 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5428 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5431 * sysdeps/x86_64/memrchr.S: Check for zero size.
5433 * string/stratcliff.c: Add memrchr tests.
5435 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5438 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5439 rawmemchr-sse2 rawmemchr-sse2-bsf.
5440 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5441 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5442 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5443 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5444 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5445 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5446 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5447 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5448 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5449 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5450 * string/memrchr.c (MEMRCHR): New macro.
5452 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5454 Add integration with gcc's -ffinite-math-only and optimize wrapper
5456 * Versions.def: Define GLIBC_2.15 version for libm.
5457 * math/Makefile (headers): Add bits/math-finite.h.
5458 * math/bits/math-finite.h: New file.
5459 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5460 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5461 * math/e_acoshl.c: Add __*_finite alias.
5462 * math/e_acosl.c: Likewise.
5463 * math/e_asinl.c: Likewise.
5464 * math/e_atan2l.c: Likewise.
5465 * math/e_atanhl.c: Likewise.
5466 * math/e_coshl.c: Likewise.
5467 * math/e_exp10.c: Likewise.
5468 * math/e_exp10f.c: Likewise.
5469 * math/e_exp10l.c: Likewise.
5470 * math/e_exp2l.c: Likewise.
5471 * math/e_fmodl.c: Likewise.
5472 * math/e_gammal_r.c: Likewise.
5473 * math/e_hypotl.c: Likewise.
5474 * math/e_j0l.c: Likewise.
5475 * math/e_j1l.c: Likewise.
5476 * math/e_jnl.c: Likewise.
5477 * math/e_lgammal_r.c: Likewise.
5478 * math/e_log10l.c: Likewise.
5479 * math/e_log2l.c: Likewise.
5480 * math/e_logl.c: Likewise.
5481 * math/e_powl.c: Likewise.
5482 * math/e_sinhl.c: Likewise.
5483 * math/e_sqrtl.c: Likewise.
5484 * math/e_scalb.c: Completely rewritten and optimized.
5485 * math/e_scalbf.c: Likewise.
5486 * math/e_scalbl.c: Likewise.
5487 * math/w_acos.c: Likewise.
5488 * math/w_acosf.c: Likewise.
5489 * math/w_acosl.c: Likewise.
5490 * math/w_acosh.c: Likewise.
5491 * math/w_acoshf.c: Likewise.
5492 * math/w_acoshl.c: Likewise.
5493 * math/w_asin.c: Likewise.
5494 * math/w_asinf.c: Likewise.
5495 * math/w_asinl.c: Likewise.
5496 * math/w_atan2.c: Likewise.
5497 * math/w_atan2f.c: Likewise.
5498 * math/w_atan2l.c: Likewise.
5499 * math/w_atanh.c: Likewise.
5500 * math/w_atanhf.c: Likewise.
5501 * math/w_atanhl.c: Likewise.
5502 * math/w_exp10.c: Likewise.
5503 * math/w_exp10f.c: Likewise.
5504 * math/w_exp10l.c: Likewise.
5505 * math/w_fmod.c: Likewise.
5506 * math/w_fmodf.c: Likewise.
5507 * math/w_fmodl.c: Likewise.
5508 * math/w_j0.c: Likewise.
5509 * math/w_j0f.c: Likewise.
5510 * math/w_j0l.c: Likewise.
5511 * math/w_j1.c: Likewise.
5512 * math/w_j1f.c: Likewise.
5513 * math/w_j1l.c: Likewise.
5514 * math/w_jn.c: Likewise.
5515 * math/w_jnf.c: Likewise.
5516 * math/w_log.c: Likewise.
5517 * math/w_logf.c: Likewise.
5518 * math/w_logl.c: Likewise.
5519 * math/w_log10.c: Likewise.
5520 * math/w_log10f.c: Likewise.
5521 * math/w_log10l.c: Likewise.
5522 * math/w_log2.c: Likewise.
5523 * math/w_log2f.c: Likewise.
5524 * math/w_log2l.c: Likewise.
5525 * math/w_pow.c: Likewise.
5526 * math/w_powf.c: Likewise.
5527 * math/w_powl.c: Likewise.
5528 * math/w_remainder.c: Likewise.
5529 * math/w_remainderf.c: Likewise.
5530 * math/w_remainderl.c: Likewise.
5531 * math/w_scalb.c: Likewise.
5532 * math/w_scalbf.c: Likewise.
5533 * math/w_scalbl.c: Likewise.
5534 * math/w_sqrt.c: Likewise.
5535 * math/w_sqrtf.c: Likewise.
5536 * math/w_sqrtl.c: Likewise.
5537 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5538 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5540 * math/math_private.h: Declare __kernel_standard_f.
5541 * math/w_cosh.c: Remove cruft and optimize a bit.
5542 * math/w_coshf.c: Likewise.
5543 * math/w_coshl.c: Likewise.
5544 * math/w_exp2.c: Likewise.
5545 * math/w_exp2f.c: Likewise.
5546 * math/w_exp2l.c: Likewise.
5547 * math/w_hypot.c: Likewise.
5548 * math/w_hypotf.c: Likewise.
5549 * math/w_hypotl.c: Likewise.
5550 * math/w_lgamma.c: Likewise.
5551 * math/w_lgamma_r.c: Likewise.
5552 * math/w_lgammaf.c: Likewise.
5553 * math/w_lgammaf_r.c: Likewise.
5554 * math/w_lgammal.c: Likewise.
5555 * math/w_lgammal_r.c: Likewise.
5556 * math/w_sinh.c: Likewise.
5557 * math/w_sinhf.c: Likewise.
5558 * math/w_sinhl.c: Likewise.
5559 * math/w_tgamma.c: Likewise.
5560 * math/w_tgammaf.c: Likewise.
5561 * math/w_tgammal.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5563 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5564 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5565 Minor optimizations. Pretty printing. Remove cruft.
5566 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5567 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5568 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5569 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5570 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5571 * sysdeps/i386/fpu/e_asin.S: Likewise.
5572 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5573 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5574 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5575 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5576 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5577 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5578 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5579 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5580 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5581 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5582 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5583 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5584 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5585 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5586 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5587 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5588 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5589 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5590 * sysdeps/i386/fpu/e_log.S: Likewise.
5591 * sysdeps/i386/fpu/e_log10.S: Likewise.
5592 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5593 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5594 * sysdeps/i386/fpu/e_log2.S: Likewise.
5595 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5596 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5597 * sysdeps/i386/fpu/e_logf.S: Likewise.
5598 * sysdeps/i386/fpu/e_logl.S: Likewise.
5599 * sysdeps/i386/fpu/e_pow.S: Likewise.
5600 * sysdeps/i386/fpu/e_powf.S: Likewise.
5601 * sysdeps/i386/fpu/e_powl.S: Likewise.
5602 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5603 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5604 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5605 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5606 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5607 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5608 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5609 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5610 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5614 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5618 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5632 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5633 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5634 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5635 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5637 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5638 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5639 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5640 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5641 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5642 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5643 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5644 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5645 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5646 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5647 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5648 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5649 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5650 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5651 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5652 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5676 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5691 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5693 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5694 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5696 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5698 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5700 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5702 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5703 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5704 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5705 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5706 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5707 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5708 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5709 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5710 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5711 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5712 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5713 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5714 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5715 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5716 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5719 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5720 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5721 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5722 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5723 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5724 (__isnanf): Likewise.
5725 (__isinf_ns): Likewise.
5726 (__isinf_nsf): Likewise.
5727 (__finite): Likewise.
5728 (__finitef): Likewise.
5729 (__ieee754_sqrt): Define as macro.
5730 (__ieee754_sqrtf): Define as macro.
5731 (__ieee754_sqrtl): Define as macro.
5732 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5734 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5735 __FINITE_MATH_ONLY__ consistent.
5736 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5738 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5740 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5745 2011-10-09 Ulrich Drepper <drepper@gmail.com>
5747 * po/ja.po: Update from translation team.
5749 2011-10-08 Roland McGrath <roland@hack.frob.com>
5751 * locale/programs/locarchive.c (prepare_address_space): New function.
5752 (create_archive, enlarge_archive, open_archive): Use it.
5754 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5755 inside [SHARED], where it is used.
5757 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5759 * nss/getent.c (netgroup_keys): Remove unused variable.
5760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5762 2011-10-08 Ulrich Drepper <drepper@gmail.com>
5764 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5765 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5767 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5768 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5769 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5770 * math/Makefile (libm-calls): Add s_isinf_ns.
5771 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5772 * math/multc3.c: Likewise.
5773 * math/s_casin.c: Likewise.
5774 * math/s_casinf.c: Likewise.
5775 * math/s_casinl.c: Likewise.
5776 * math/s_ccos.c: Likewise.
5777 * math/s_ccosf.c: Likewise.
5778 * math/s_ccosl.c: Likewise.
5779 * math/s_ctan.c: Likewise.
5780 * math/s_ctanf.c: Likewise.
5781 * math/s_ctanh.c: Likewise.
5782 * math/s_ctanhf.c: Likewise.
5783 * math/s_ctanhl.c: Likewise.
5784 * math/s_ctanl.c: Likewise.
5785 * math/w_fmod.c: Likewise.
5786 * math/w_fmodf.c: Likewise.
5787 * math/w_fmodl.c: Likewise.
5788 * math/w_remainder.c: Likewise.
5789 * math/w_remainderf.c: Likewise.
5790 * math/w_remainderl.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5792 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5793 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5795 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5796 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5797 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5798 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5800 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5802 * stdio-common/printf_fphex.c: Likewise.
5803 * stdio-common/printf_size.c: Likewise.
5805 * math/e_exp10.c: Include math_private.h using <...> not "...".
5806 * math/e_exp10f.c: Likewise.
5807 * math/e_exp10l.c: Likewise.
5808 * math/e_exp2l.c: Likewise.
5809 * math/e_j0l.c: Likewise.
5810 * math/e_j1l.c: Likewise.
5811 * math/e_jnl.c: Likewise.
5812 * math/e_lgammal_r.c: Likewise.
5813 * math/e_rem_pio2l.c: Likewise.
5814 * math/e_scalb.c: Likewise.
5815 * math/e_scalbf.c: Likewise.
5816 * math/e_scalbl.c: Likewise.
5817 * math/k_cosl.c: Likewise.
5818 * math/k_sinl.c: Likewise.
5819 * math/k_tanl.c: Likewise.
5820 * math/s_cacoshf.c: Likewise.
5821 * math/s_catan.c: Likewise.
5822 * math/s_catanf.c: Likewise.
5823 * math/s_catanh.c: Likewise.
5824 * math/s_catanhf.c: Likewise.
5825 * math/s_catanhl.c: Likewise.
5826 * math/s_catanl.c: Likewise.
5827 * math/s_ccosh.c: Likewise.
5828 * math/s_ccoshf.c: Likewise.
5829 * math/s_ccoshl.c: Likewise.
5830 * math/s_cexp.c: Likewise.
5831 * math/s_cexpf.c: Likewise.
5832 * math/s_cexpl.c: Likewise.
5833 * math/s_clog.c: Likewise.
5834 * math/s_clog10.c: Likewise.
5835 * math/s_clog10f.c: Likewise.
5836 * math/s_clog10l.c: Likewise.
5837 * math/s_clogf.c: Likewise.
5838 * math/s_clogl.c: Likewise.
5839 * math/s_csin.c: Likewise.
5840 * math/s_csinf.c: Likewise.
5841 * math/s_csinh.c: Likewise.
5842 * math/s_csinhf.c: Likewise.
5843 * math/s_csinhl.c: Likewise.
5844 * math/s_csinl.c: Likewise.
5845 * math/s_csqrt.c: Likewise.
5846 * math/s_csqrtf.c: Likewise.
5847 * math/s_csqrtl.c: Likewise.
5848 * math/s_ctan.c: Likewise.
5849 * math/s_ctanf.c: Likewise.
5850 * math/s_ctanh.c: Likewise.
5851 * math/s_ctanhf.c: Likewise.
5852 * math/s_ctanhl.c: Likewise.
5853 * math/s_ctanl.c: Likewise.
5854 * math/s_ldexp.c: Likewise.
5855 * math/s_ldexpf.c: Likewise.
5856 * math/s_ldexpl.c: Likewise.
5857 * math/s_significand.c: Likewise.
5858 * math/s_significandf.c: Likewise.
5859 * math/s_significandl.c: Likewise.
5860 * math/w_acos.c: Likewise.
5861 * math/w_acosf.c: Likewise.
5862 * math/w_acosh.c: Likewise.
5863 * math/w_acoshf.c: Likewise.
5864 * math/w_acoshl.c: Likewise.
5865 * math/w_acosl.c: Likewise.
5866 * math/w_asin.c: Likewise.
5867 * math/w_asinf.c: Likewise.
5868 * math/w_asinl.c: Likewise.
5869 * math/w_atan2.c: Likewise.
5870 * math/w_atan2f.c: Likewise.
5871 * math/w_atan2l.c: Likewise.
5872 * math/w_atanh.c: Likewise.
5873 * math/w_atanhf.c: Likewise.
5874 * math/w_atanhl.c: Likewise.
5875 * math/w_cosh.c: Likewise.
5876 * math/w_coshf.c: Likewise.
5877 * math/w_coshl.c: Likewise.
5878 * math/w_dremf.c: Likewise.
5879 * math/w_exp10.c: Likewise.
5880 * math/w_exp10f.c: Likewise.
5881 * math/w_exp10l.c: Likewise.
5882 * math/w_exp2.c: Likewise.
5883 * math/w_exp2f.c: Likewise.
5884 * math/w_fmod.c: Likewise.
5885 * math/w_fmodf.c: Likewise.
5886 * math/w_fmodl.c: Likewise.
5887 * math/w_hypot.c: Likewise.
5888 * math/w_hypotf.c: Likewise.
5889 * math/w_hypotl.c: Likewise.
5890 * math/w_j0.c: Likewise.
5891 * math/w_j0f.c: Likewise.
5892 * math/w_j0l.c: Likewise.
5893 * math/w_j1.c: Likewise.
5894 * math/w_j1f.c: Likewise.
5895 * math/w_j1l.c: Likewise.
5896 * math/w_jn.c: Likewise.
5897 * math/w_jnf.c: Likewise.
5898 * math/w_jnl.c: Likewise.
5899 * math/w_lgamma.c: Likewise.
5900 * math/w_lgamma_r.c: Likewise.
5901 * math/w_lgammaf.c: Likewise.
5902 * math/w_lgammaf_r.c: Likewise.
5903 * math/w_lgammal.c: Likewise.
5904 * math/w_lgammal_r.c: Likewise.
5905 * math/w_log.c: Likewise.
5906 * math/w_log10.c: Likewise.
5907 * math/w_log10f.c: Likewise.
5908 * math/w_log10l.c: Likewise.
5909 * math/w_log2.c: Likewise.
5910 * math/w_log2f.c: Likewise.
5911 * math/w_log2l.c: Likewise.
5912 * math/w_logf.c: Likewise.
5913 * math/w_logl.c: Likewise.
5914 * math/w_pow.c: Likewise.
5915 * math/w_powf.c: Likewise.
5916 * math/w_powl.c: Likewise.
5917 * math/w_remainder.c: Likewise.
5918 * math/w_remainderf.c: Likewise.
5919 * math/w_remainderl.c: Likewise.
5920 * math/w_scalb.c: Likewise.
5921 * math/w_scalbf.c: Likewise.
5922 * math/w_scalbl.c: Likewise.
5923 * math/w_sinh.c: Likewise.
5924 * math/w_sinhf.c: Likewise.
5925 * math/w_sinhl.c: Likewise.
5926 * math/w_sqrt.c: Likewise.
5927 * math/w_sqrtf.c: Likewise.
5928 * math/w_sqrtl.c: Likewise.
5929 * math/w_tgamma.c: Likewise.
5930 * math/w_tgammaf.c: Likewise.
5931 * math/w_tgammal.c: Likewise.
5933 * po/ja.po: Update from translation team.
5935 2011-09-29 Andreas Jaeger <aj@suse.de>
5938 * sunrpc/netname.c (netname2host): Fix logic.
5942 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5944 * math/w_remainder.c (__remainder): Likewise.
5945 * math/w_remainderf.c (__remainderf): Likewise.
5946 * math/libm-test.inc (remainder_test): Add test cases.
5948 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5950 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5953 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5955 * string/test-memcmp.c: Avoid unncessary #defines.
5956 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5958 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5960 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5961 Use new sse2 version for core i3 - i7 as it's faster
5963 (bit_Prefer_PMINUB_for_stringop): New.
5964 * sysdeps/x86_64/rawmemchr.S: Update.
5965 Replace with faster SSE2 version.
5966 * sysdeps/x86_64/memrchr.S: New file.
5967 * sysdeps/x86_64/memchr.S: Update.
5968 Replace with faster SSE2 version.
5970 2011-09-12 Marek Polacek <mpolacek@redhat.com>
5972 * elf/dl-load.c (lose): Add cast to avoid warning.
5974 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5976 * po/ca.po: Update from translation team.
5978 * inet/getnetgrent_r.c: Hook up nscd.
5979 * nscd/Makefile (routines): Add nscd_netgroup.
5980 (nscd-modules): Add netgroupcache.
5981 (CFLAGS-netgroupcache.c): Define.
5982 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5983 (cache_search): Add const to second parameter.
5984 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5986 (dbs): Add netgrdb entry.
5987 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5988 (verify_persistent_db): Handle netgrdb.
5989 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5990 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5992 (netgroup_response_header): Define.
5993 (innetgroup_response_header): Define.
5994 (datahead): Add netgroup_response_header and innetgroup_response_header
5996 * nscd/nscd.conf: Add entries for netgroup cache.
5997 * nscd/nscd.h (dbtype): Add netgrdb.
5998 (_PATH_NSCD_NETGROUP_DB): Define.
5999 (netgroup_iov_disabled): Declare.
6000 (xmalloc, xcalloc, xrealloc): Move declarations here.
6001 (cache_search): Adjust prototype.
6002 Add netgroup-related prototypes.
6003 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6004 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6005 (__nscd_innetgr): Declare.
6006 * nscd/selinux.c (perms): Use access_vector_t as element type and
6007 add netgroup-related initializers.
6008 * nscd/netgroupcache.c: New file.
6009 * nscd/nscd_netgroup.c: New file.
6010 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6011 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6012 For four parameters use innetgr.
6013 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6014 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6015 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6016 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6018 * nscd/connections.c (register_traced_file): Don't register file
6019 for disabled databases.
6021 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6023 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6025 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6026 from tree and freeing node.
6028 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6030 * nss/nsswitch.c (__nss_database_lookup): Handle
6031 nss_parse_service_list out of memory case.
6033 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6035 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6038 2011-10-04 Andreas Schwab <schwab@redhat.com>
6040 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6041 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6043 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6044 elf_machine_rela, elf_machine_lazy_rel.
6045 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6046 (ELF_DYNAMIC_DO_REL): Likewise.
6047 (ELF_DYNAMIC_DO_RELA): Likewise.
6048 (ELF_DYNAMIC_RELOCATE): Likewise.
6049 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6050 to ELF_DYNAMIC_DO_REL.
6051 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6052 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6053 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6055 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6056 skip_ifunc, don't call ifunc function if non-zero.
6057 (elf_machine_rela): Likewise.
6058 (elf_machine_lazy_rel): Likewise.
6059 (elf_machine_lazy_rela): Likewise.
6060 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6061 (elf_machine_lazy_rel): Likewise.
6062 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6064 (elf_machine_lazy_rel): Likewise.
6065 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6067 (elf_machine_lazy_rel): Likewise.
6068 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6069 (elf_machine_lazy_rel): Likewise.
6070 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6071 (elf_machine_lazy_rel): Likewise.
6072 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6073 (elf_machine_lazy_rel): Likewise.
6074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6075 (elf_machine_lazy_rel): Likewise.
6076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6077 (elf_machine_lazy_rel): Likewise.
6078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6079 (elf_machine_lazy_rel): Likewise.
6081 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6083 * nss/nss_files/files-init.c (_nss_files_init): Use static
6084 initialization for all the *_traced_file variables.
6086 2011-09-28 Andreas Schwab <schwab@redhat.com>
6088 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6090 2011-09-27 Roland McGrath <roland@hack.frob.com>
6093 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6095 2011-09-27 Andreas Schwab <schwab@redhat.com>
6097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6098 Reread the line before reparsing it.
6100 2011-09-26 Andreas Schwab <schwab@redhat.com>
6102 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6104 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6105 Maxim Kuvyrkov <maxim@codesourcery.com>
6106 Joseph Myers <joseph@codesourcery.com>
6108 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6109 if needed for __stack_chk_guard.
6111 2011-09-19 Roland McGrath <roland@hack.frob.com>
6113 * sysdeps/posix/spawni.c (script_execute): Always define it.
6114 It will be optimized away if unused.
6115 (maybe_script_execute): New function.
6116 (__spawni): Call it.
6118 * Makerules: Don't include tls.make.
6119 (config-tls): Always set to thread.
6120 * tls.make.c: File removed.
6122 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6124 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6125 * config.make.in (CPPFLAGS-config): New substituted variable.
6127 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6132 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6133 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6135 2011-09-15 Roland McGrath <roland@hack.frob.com>
6137 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6138 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6140 (CALL_FAIL): Likewise.
6141 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6142 (CALL_FAIL): Macro removed.
6143 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6145 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6147 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6148 for __FINITE_MATH_ONLY__ == 1.
6150 2011-09-15 Andreas Schwab <schwab@redhat.com>
6152 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6153 __ieee754_sqrt instead of sqrt.
6154 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6155 __ieee754_sqrtf instead of sqrtf.
6156 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6157 __floorf instead of floorf.
6158 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6159 __floorf, __truncf instead of floorf, truncf.
6161 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6163 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6165 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6166 __extern_always_inline.
6167 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6170 2011-09-14 Andreas Schwab <schwab@redhat.com>
6172 * elf/rtld.c (dl_main): Also relocate in dependency order when
6173 doing symbol dependency testing.
6175 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6178 Always define `refsym'.
6180 2011-09-13 Andreas Schwab <schwab@redhat.com>
6182 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6183 (__FD_ELT): Renamed from __FDELT.
6184 * misc/bits/select2.h (__FD_ELT): Likewise.
6185 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6186 __FD_MASK instead of __FDELT, __FDMASK.
6187 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6189 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6192 * elf/Makefile (gen-ldd): Fix pattern.
6194 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6195 (init_tls): Likewise.
6197 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6201 2011-09-12 Andreas Schwab <schwab@redhat.com>
6203 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6204 `struct cmsghdr *' instead of `void *'.
6205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6208 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6210 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6212 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6215 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6217 * configure.in: Remove --with-tls option.
6218 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6219 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6220 out in case it is missing.
6221 * sysdeps/ia64/elf/configure.in: Likewise.
6222 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6223 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6224 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6225 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6226 * sysdeps/sh/elf/configure.in: Likewise.
6227 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6228 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6229 * sysdeps/x86_64/elf/configure.in: Likewise.
6230 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6231 * sysdeps/mach/hurd/tls.h: Likewise.
6234 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6237 * configure.in: Fix use of AC_INIT.
6239 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6241 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6243 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6245 * malloc/hooks.c: Likewise.
6248 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6249 variables statically.
6250 (narenas): Initialize.
6251 (list_lock): Initialize.
6252 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6253 initializtion of main_arena and list_lock. Small cleanups.
6254 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6255 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6256 Add initializers to main_arena and mp_.
6257 (malloc_state): Remove pagesize member. Change all users to use
6260 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6261 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6262 is always initialized.
6264 * malloc/malloc.c: Removed unused configurations and dead code.
6265 * malloc/arena.c: Likewise.
6266 * malloc/hooks.c: Likewise.
6267 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6269 * include/tls.h: Removed. USE___THREAD must always be defined.
6270 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6271 * elf/dl-libc.c: Likewise.
6272 * elf/dl-tsd.c: Likewise.
6273 * include/errno.h: Likewise.
6274 * include/netdb.h: Likewise.
6275 * include/resolv.h: Likewise.
6276 * inet/herrno-loc.c: Likewise.
6277 * inet/herrno.c: Likewise.
6278 * malloc/arena.c: Likewise.
6279 * malloc/hooks.c: Likewise.
6280 * malloc/malloc.c: Likewise.
6281 * resolv/res-state.c: Likewise.
6282 * resolv/res_libc.c: Likewise.
6283 * sysdeps/i386/dl-machine.h: Likewise.
6284 * sysdeps/ia64/dl-machine.h: Likewise.
6285 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6286 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6287 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6288 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6289 * sysdeps/sh/dl-machine.h: Likewise.
6290 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6291 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6292 * sysdeps/unix/i386/sysdep.S: Likewise.
6293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6294 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6299 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6303 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6304 * sysdeps/x86_64/dl-machine.h: Likewise.
6305 * tls.make.c: Likewise.
6307 * configure.in: Remove --with-__thread option. Make tests for
6308 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6309 tls_model attribute fail if no support is available. Remove
6311 * Makeconfig: Adjust for dropped configure option. All features are
6313 * Makerules: Likewise.
6314 * Versions.def: Likewise.
6315 * argp/argp-fmtstream.c: Likewise.
6316 * argp/argp-fmtstream.h: Likewise.
6317 * argp/argp-help.c: Likewise.
6318 * assert/assert.c: Likewise.
6319 * config.h.in: Likewise.
6320 * config.make.in: Likewise.
6321 * configure: Likewise.
6322 * configure.in: Likewise.
6323 * csu/Versions: Likewise.
6324 * csu/init.c: Likewise.
6325 * elf/tst-audit2.c: Likewise.
6326 * elf/tst-tls10.c: Likewise.
6327 * elf/tst-tls10.h: Likewise.
6328 * elf/tst-tls11.c: Likewise.
6329 * elf/tst-tls12.c: Likewise.
6330 * elf/tst-tls14.c: Likewise.
6331 * elf/tst-tlsmod11.c: Likewise.
6332 * elf/tst-tlsmod12.c: Likewise.
6333 * elf/tst-tlsmod13.c: Likewise.
6334 * elf/tst-tlsmod13a.c: Likewise.
6335 * elf/tst-tlsmod14a.c: Likewise.
6336 * elf/tst-tlsmod15b.c: Likewise.
6337 * elf/tst-tlsmod16a.c: Likewise.
6338 * elf/tst-tlsmod16b.c: Likewise.
6339 * elf/tst-tlsmod7.c: Likewise.
6340 * elf/tst-tlsmod8.c: Likewise.
6341 * elf/tst-tlsmod9.c: Likewise.
6342 * gmon/gmon.c: Likewise.
6343 * grp/fgetgrent_r.c: Likewise.
6344 * grp/putgrent.c: Likewise.
6345 * hurd/fopenport.c: Likewise.
6346 * include/libc-symbols.h: Likewise.
6347 * include/tls.h: Likewise.
6348 * intl/gettextP.h: Likewise.
6349 * intl/loadinfo.h: Likewise.
6350 * locale/global-locale.c: Likewise.
6351 * locale/localeinfo.h: Likewise.
6352 * mach/devstream.c: Likewise.
6353 * malloc/arena.c: Likewise.
6354 * malloc/set-freeres.c: Likewise.
6355 * misc/err.c: Likewise.
6356 * misc/getttyent.c: Likewise.
6357 * misc/mntent_r.c: Likewise.
6358 * posix/getopt.c: Likewise.
6359 * posix/wordexp.c: Likewise.
6360 * pwd/fgetpwent_r.c: Likewise.
6361 * resolv/Versions: Likewise.
6362 * resolv/res_hconf.c: Likewise.
6363 * shadow/fgetspent_r.c: Likewise.
6364 * shadow/putspent.c: Likewise.
6365 * stdio-common/printf_fphex.c: Likewise.
6366 * stdio-common/tmpfile.c: Likewise.
6367 * stdlib/abort.c: Likewise.
6368 * stdlib/fmtmsg.c: Likewise.
6369 * sunrpc/auth_unix.c: Likewise.
6370 * sunrpc/clnt_perr.c: Likewise.
6371 * sunrpc/clnt_tcp.c: Likewise.
6372 * sunrpc/clnt_udp.c: Likewise.
6373 * sunrpc/clnt_unix.c: Likewise.
6374 * sunrpc/openchild.c: Likewise.
6375 * sunrpc/svc_simple.c: Likewise.
6376 * sunrpc/svc_tcp.c: Likewise.
6377 * sunrpc/svc_udp.c: Likewise.
6378 * sunrpc/svc_unix.c: Likewise.
6379 * sunrpc/xdr.c: Likewise.
6380 * sunrpc/xdr_array.c: Likewise.
6381 * sunrpc/xdr_rec.c: Likewise.
6382 * sunrpc/xdr_ref.c: Likewise.
6383 * sunrpc/xdr_stdio.c: Likewise.
6385 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6387 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6389 2011-07-03 Andreas Jaeger <aj@suse.de>
6391 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6392 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6393 regenerate with gen-libm-tests.pl.
6395 2010-05-12 Petr Baudis <pasky@suse.cz>
6398 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6399 around j0() zero points by switching to j1().
6400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6405 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6407 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6409 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6412 Patch in part by Pavel Roskin <proski@gnu.org>.
6415 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6417 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6418 Free memory block if necessary.
6421 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6422 be NULL. Don't lock in this case.
6424 2011-09-09 Roland McGrath <roland@hack.frob.com>
6426 * elf/elf.h (ELFOSABI_GNU): New macro.
6427 (ELFOSABI_LINUX): Define to that.
6429 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6431 * string/strncat.c (strncat): Undef the symbol in case it has been
6432 defined in bits/string.h.
6434 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6436 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6438 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6441 2011-08-17 Andreas Jaeger <aj@suse.de>
6443 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6445 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6446 Ian Lance Taylor <iant@google.com>
6448 * math/libm-test.inc (lround_test): New testcase.
6449 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6451 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6453 * Makefile: Remove support for automatic cvs check-ins.
6454 * Makerules: Likewise.
6455 * config.make.in: Likewise.
6456 * configure.in: Likewise.
6457 * intl/Makefile: Likewise.
6458 * locale/Makefile: Likewise.
6459 * po/Makefile: Likewise.
6460 * posix/Makefile: Likewise.
6461 * sysdeps/gnu/Makefile: Likewise.
6462 * sysdeps/mach/hurd/Makefile: Likewise.
6463 * sysdeps/sparc/sparc32/Makefile: Likewise.
6466 * posix/Makefile (bug-regex32-ENV): Define.
6467 Patch by John Stanley <jpsinthemix@verizon.net>.
6469 * misc/Makefile (headers): Add bits/select2.h.
6470 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6471 * misc/bits/select2.h: New file.
6472 * include/bits/select2.h: New file.
6473 * debug/Makefile (routines): Add fdelt_chk.
6474 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6475 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6477 * debug/fdelt_chk.c: New file.
6479 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6480 * wcsmbs/test-wmemcmp.c: Likewise.
6481 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6482 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6484 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6486 * string/Makefile (strop-tests): Add memcmp.
6487 * string/test-wmemcmp.c: New file.
6488 * string/test-memcmp.c: Add wmemcmp support.
6490 2011-09-08 Roland McGrath <roland@hack.frob.com>
6493 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6496 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6497 garbage value in a __mach_port_mod_refs call in the cases of the
6498 task-self and thread-self ports.
6500 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6502 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6504 2011-09-08 Andreas Schwab <schwab@redhat.com>
6506 * elf/dl-load.c (lose): Check for non-null L.
6508 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6510 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6512 * elf/dl-libc.c (dlerror_run): Pass back error code from
6516 * elf/dl-load.c (lose): Free l_origin if it is valid.
6518 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6520 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6521 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6524 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6525 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6527 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6530 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6532 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6533 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6534 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6535 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6536 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6537 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6538 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6540 2011-08-15 Alan Modra <amodra@gmail.com>
6543 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6544 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6545 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6546 ppc_mcount to static-only-routines.
6547 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6549 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6550 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6552 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6554 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6555 for finite and infinity parameters.
6557 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6560 and add nop instructions for throughput optimization.
6561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6563 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6565 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6566 aligned copy for power7 with vector-scalar instructions.
6567 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6569 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6574 2011-09-07 Andreas Schwab <schwab@redhat.com>
6577 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6580 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6582 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6583 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6584 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6585 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6588 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6590 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6591 Forgot to demangle the pointer.
6593 * sysdeps/i386/sysdep.h: Define atom_text_section.
6594 * sysdeps/x86_64/sysdep.h: Likewise.
6595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6596 section with atom_text_section.
6597 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6599 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6601 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6603 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6604 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6605 already be defined. Change to take two parameters and don't assign
6606 result to variable. Adjust all users.
6607 Define INTERNAL_GETTIME if not already defined.
6608 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6611 HAVE_CLOCK_GETTIME_VSYSCALL.
6612 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6615 gettimeofday vsyscall, just use time.
6617 2011-09-06 Andreas Schwab <schwab@redhat.com>
6619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6622 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6624 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6626 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6628 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6630 syscall if possible.
6632 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6634 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6635 e_ident. Don't pass to find_mapsXX.
6636 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6638 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6641 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6642 * sysdeps/x86_64/multiarch/strchr.S: Update.
6643 Check bit_slow_BSF bit.
6644 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6645 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6646 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6648 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6651 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6654 (__spawni): Change last parameter to be flag. Test
6655 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6656 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6657 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6658 * posix/spawni.c: Likewise.
6659 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6660 * posix/spawnp.c: Likewise. Change normal version to use
6661 SPAWN_XFLAGS_USE_PATH.
6662 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6663 SPAWN_XFLAGS_TRY_SHELL.
6666 * posix/glob.h: Remove gcc 1.x support.
6669 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6671 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6674 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6676 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6677 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6678 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6680 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6681 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6683 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6685 * sysdeps/x86_64/wcscmp.S: New file.
6687 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6688 wcscmp-c wcscmp-sse2
6689 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6690 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6691 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6692 * wcsmbs/wcscmp.c: Allow renaming.
6694 2011-09-05 David S. Miller <davem@davemloft.net>
6696 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6697 stack slot, rather than the struct return pointer slot.
6698 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6699 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6701 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6703 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6705 * po/ja.po: Update from translation team.
6708 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6709 kernel in 64-bit binaries.
6711 2011-09-01 David S. Miller <davem@davemloft.net>
6713 * elf/elf.h (HWCAP_SPARC_*): Move to..
6714 * sysdeps/sparc/sysdep.h: this new file and add new values.
6715 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6716 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6717 _DL_HWCAP_COUNT to 24.
6718 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6720 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6721 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6722 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6724 instead of magic constants.
6725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6727 2011-08-31 David S. Miller <davem@davemloft.net>
6729 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6731 Reimplement to do errno handling inline.
6732 (SYSCALL_ERROR_HANDLER): New macro.
6733 (__SYSCALL_STRING): Do not do errno handling in asm.
6734 (__CLONE_SYSCALL_STRING): Delete.
6735 (__INTERNAL_SYSCALL_STRING): Delete.
6736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6737 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6738 (PSEUDO): Reimplement to do errno handling inline.
6739 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6740 (SYSCALL_ERROR_HANDLER): New macro.
6741 (__SYSCALL_STRING): Do not do errno handling in asm.
6742 (__CLONE_SYSCALL_STRING): Delete.
6743 (__INTERNAL_SYSCALL_STRING): Delete.
6744 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6745 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6747 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6748 (inline_syscall*): Add 'err' argument.
6749 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6750 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6751 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6752 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6754 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6755 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6757 2011-08-30 Andreas Schwab <schwab@redhat.com>
6759 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6761 2011-08-29 Jiri Olsa <jolsa@redhat.com>
6763 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6766 2011-08-24 David S. Miller <davem@davemloft.net>
6768 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6770 2011-08-24 Andreas Schwab <schwab@redhat.com>
6772 * elf/Makefile: Add rules to build and run unload8 test.
6773 * elf/unload8.c: New file.
6774 * elf/unload8mod1.c: New file.
6775 * elf/unload8mod1x.c: New file.
6776 * elf/unload8mod2.c: New file.
6777 * elf/unload8mod3.c: New file.
6779 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6782 2011-08-23 David S. Miller <davem@davemloft.net>
6784 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6785 subtract stack bias.
6786 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6787 %sp not %fp in calculations.
6788 (_JMPBUF_UNWINDS_ADJ): Likewise.
6790 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6791 (aio_suspend): Call it to force an exception region around the
6792 AIO_MISC_WAIT() invocation.
6794 2011-08-23 Andreas Schwab <schwab@redhat.com>
6796 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6799 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6801 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6803 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6805 (Elf64_FuncDesc): Remove.
6807 2011-08-22 David S. Miller <davem@davemloft.net>
6809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6810 sigaltstack check, add missing cfi directives.
6811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6812 missing cfi directives, and sigaltstack handling.
6814 2011-08-16 Andreas Schwab <schwab@redhat.com>
6817 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6818 object is seen twice.
6819 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6821 * elf/Makefile (distribute): Add tst-initorder2.c.
6822 (tests): Add tst-initorder2.
6823 (modules-names): Add tst-initorder2a tst-initorder2b
6824 tst-initorder2c tst-initorder2d. Add rules to build them.
6825 ($(objpfx)tst-initorder2.out): New rule.
6826 * elf/tst-initorder2.c: New file.
6827 * elf/tst-initorder2.exp: New file.
6829 2011-08-22 Andreas Schwab <schwab@redhat.com>
6831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6833 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6834 dependencies back to end of function.
6836 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6839 2011-08-21 Ulrich Drepper <drepper@gmail.com>
6841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6842 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6844 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6845 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6846 of __vdso_gettimeofday.
6847 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6848 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6850 (_libc_vdso_platform_setup): Remove initialization of
6851 __vdso_gettimeofday and __vdso_time.
6853 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6855 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6857 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6860 * elf/dl-open.c (add_to_global): Report additions to the global scope
6861 for LD_DEBUG=scopes.
6862 (dl_open_worker): Also print scope of newly loaded dependencies.
6863 (_dl_show_scope): Indicate if there is no scope.
6866 * stdio-common/Makefile (tests): Add bug24.
6867 * stdio-common/bug24.c: New file.
6869 2011-08-19 Andreas Jaeger <aj@suse.de>
6872 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6873 non-existant file when using close-on-exec mode.
6875 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6878 the very first instruction.
6880 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6881 the CFI state in the end.
6882 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6883 inclusion of dl-trampoline.h.
6884 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6886 2011-08-19 Andreas Schwab <schwab@redhat.com>
6888 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6889 expectations for long double.
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6892 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6894 2011-08-14 David S. Miller <davem@davemloft.net>
6896 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6897 artificual limit depends upon the system page size.
6899 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6901 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6902 * resolv/Makefile: Define CFLAGS-libresolv.
6904 2011-08-17 Andreas Schwab <schwab@redhat.com>
6906 * nss/makedb.c (compute_tables): Make variables used in nested
6909 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6911 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6912 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6913 if buffer was too small.
6915 * elf/pldd.c (main): Attach to all threads in the process.
6916 Rewrite /proc handling to use *at functions.
6918 2011-08-16 Ulrich Drepper <drepper@gmail.com>
6920 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6921 specifies first scope to show.
6922 (dl_open_worker): Update callers. Move printing scope of new
6923 object to before the relocation.
6924 * elf/rtld.c (dl_main): Update _dl_show_scope call.
6925 * sysdeps/generic/ldsodefs.h: Update declaration.
6927 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6928 string for the scope number.
6930 2011-08-14 Ulrich Drepper <drepper@gmail.com>
6932 * nscd/servicescache.c (cache_addserv): Make sure written is always
6935 2011-08-14 Roland McGrath <roland@hack.frob.com>
6937 * sysdeps/i386/i486/bits/atomic.h
6938 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6939 statement expression, so as to suppress "set but not used" warning.
6940 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6942 * string/strncat.c (STRNCAT): Use prototype definition.
6944 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6945 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6947 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6948 (localedef-modules): Add localedef.
6949 (locale-modules): Add locale.
6951 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6952 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6955 2011-08-14 David S. Miller <davem@davemloft.net>
6957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6958 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6960 2011-08-13 Ulrich Drepper <drepper@gmail.com>
6962 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6963 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6964 * elf/rtld.c (dl_main): Set l_name of vDSO.
6965 Call _dl_show_scope when DL_DEBUG_SCOPES.
6966 (process_dl_debug): Recognize scopes flag and also set it for all.
6967 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6968 Declare _dl_show_scope.
6970 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6971 (do_dlopen): Pass caller_dlopen to dl_open.
6972 (__libc_dlopen_mode): Initialize caller_dlopen.
6974 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6975 of libc. Make tolower call locale-independent. Optimize a bit by
6976 using isdigit instead of isalnum.
6977 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6979 2011-08-12 Ulrich Drepper <drepper@gmail.com>
6981 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6982 was a dependency or dynamically loaded.
6984 2011-08-11 Ulrich Drepper <drepper@gmail.com>
6986 * intl/l10nflist.c: Allow architecture-specific pop function.
6987 * sysdeps/x86_64/l10nflist.c: New file.
6989 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6992 2011-08-10 Andreas Schwab <schwab@redhat.com>
6994 * include/dirent.h: Add libc_hidden_proto for scandirat and
6995 scandirat64. Don't declare __scandirat64.
6996 * dirent/scandirat.c: Add libc_hidden_def.
6997 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6998 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7000 2011-08-10 David S. Miller <davem@davemloft.net>
7002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7004 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7005 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7008 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7010 * Versions.def [libc]: Add GLIBC_2.15.
7011 * dirent/Makefile (routines): Add scandirat and scandirat64.
7012 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7014 * dirent/dirent.h: Declare scandirat and scandirat64.
7015 * dirent/scandirat.c: New file.
7016 * dirent/scandirat64.c: New file.
7017 * sysdeps/wordsize-64/scandirat.c: New file.
7018 * sysdeps/wordsize-64/scandirat64.c: New file.
7019 * dirent/opendir.c: Define opendirat.
7020 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7022 * dirent/scandir64.c: Adjust for scandir.c change.
7023 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7024 __scandirat64, and __scandir_cancel_handler.
7025 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7026 additional parameter and use openat instead of open (outside of ld.so).
7027 Add new __opendir as wrapper around __opendirat.
7028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7029 here without requiring old scandirat implementation.
7031 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7033 * dirent/scandir.c (cancel_handler): Renamed to
7034 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7035 defined. Adjust users.
7036 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7037 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7039 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7041 * string/test-string.h (IMPL): Use __STRING to expand name and then
7044 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7047 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7049 * string/Makefile: Update.
7050 (strop-tests): Append strncat.
7051 * string/test-wcscmp.c: New file.
7052 New comprehensive test for wcscmp.
7053 * string/test-strcmp.c: Update.
7056 2011-07-22 Andreas Schwab <schwab@redhat.com>
7058 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7061 2011-07-26 Andreas Schwab <schwab@redhat.com>
7063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7064 encoding to ACE if AI_IDN.
7066 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7069 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7071 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7074 Fix overflow bug in strncat.
7075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7077 * string/test-strncat.c: Update.
7078 Add new tests for checking overflow bugs.
7080 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7083 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7084 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7085 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7086 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7087 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7088 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7089 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7090 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7093 (USE_AS_STRCAT): Define.
7094 Add strcat and strncat support.
7095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7097 2011-07-25 Andreas Schwab <schwab@redhat.com>
7099 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7100 __n bigger than INT_MAX+1.
7101 (__strncmp_g): Likewise.
7103 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7105 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7106 * libio/stido.h: Likewise.
7108 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7113 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7116 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7120 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7125 (_dl_x86_64_save_sse): Likewise.
7127 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7131 (_dl_x86_64_save_sse): Likewise.
7133 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7135 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7137 2011-07-21 Andreas Schwab <schwab@redhat.com>
7139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7141 (_dl_x86_64_save_sse): Use correct AVX check.
7143 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7146 bug in strncpy/strncat.
7147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7149 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7151 * string/tester.c (test_strcat): Add tests for different alignments
7152 of source and destination.
7153 (test_strncat): Likewise.
7155 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7158 * posix/glob.c (glob): Check passed in values before using them in
7159 expressions to avoid some overflows.
7160 (glob_in_dir): Likewise.
7163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7164 check for AVX enablement so that we don't crash with old kernels and
7166 * elf/tst-audit4.c: Add same checks here.
7167 * elf/tst-audit6.c: Likewise.
7169 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7171 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7173 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7175 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7177 * po/cs.po: Update from translation team.
7178 * po/bg.po: Likewise.
7180 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7182 * misc/sys/cdefs.h: Add support for const attribute.
7183 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7184 to gnu_dev_{major,minor,makedev} functions.
7186 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7188 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7190 2011-07-20 Andreas Schwab <schwab@redhat.com>
7192 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7195 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7198 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7199 register in order to avoid conflicts with the soft frame pointer
7200 being held in r11 when necessary.
7201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7202 (INTERNAL_VSYSCALL_NCS): Likewise.
7204 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7206 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7207 * elf/dl-fini.c (_dl_fini): Adjust caller.
7208 * elf/dl-close.c (_dl_close_worker): Likewise.
7209 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7211 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7213 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7214 "aux_cache->nlibs < 0".
7216 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7217 in the reload-count case.
7219 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7222 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7223 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7224 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7225 * sysdeps/x86_64/multiarch/strcat.S: New file.
7226 * sysdeps/x86_64/multiarch/strncat.S: New file.
7227 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7228 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7229 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7230 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7232 (USE_AS_STRCAT): Define.
7233 Add strcat and strncat support.
7234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7235 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7236 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7237 * string/strncat.c: Update.
7238 (USE_AS_STRNCAT): Define.
7239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7240 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7242 * sysdeps/x86_64/multiarch/init-arch.h
7243 (bit_Prefer_PMINUB_for_stringop): New.
7244 (index_Prefer_PMINUB_for_stringop): Likewise.
7245 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7246 bit_Prefer_PMINUB_for_stringop.
7248 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7250 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7252 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7253 of casting of buffer.
7254 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7255 buffer32 and buffer64.
7256 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7257 writes instead of casting of buffer.
7258 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7260 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7263 2011-07-19 Andreas Schwab <schwab@redhat.com>
7265 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7267 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7269 * nscd/nscd.c (termination_handler): Don't do anything for a database
7270 if it has not yet been initialized.
7272 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7274 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7276 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7278 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7280 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7282 * po/nl.po: Update from translation team.
7283 * po/sv.po: Likewise.
7285 2011-07-16 Roland McGrath <roland@hack.frob.com>
7287 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7288 now disallowed by GCC.
7290 * configure.in (use-default-link): Default to yes if a test -shared
7291 link meets our qualifications.
7292 * configure: Regenerated.
7294 * config.make.in (output-format): New variable.
7295 * configure.in: Check for ld --print-output-format support.
7296 * configure: Regenerated.
7297 * Makerules ($(common-objpfx)format.lds)
7298 [$(output-format) != unknown]: Just use $(output-format),
7299 instead of the linker-script munging.
7301 2011-07-14 Roland McGrath <roland@hack.frob.com>
7303 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7304 of $(common-objpfx)shlib.lds.
7305 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7307 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7308 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7310 * configure.in (-z relro check): Adjust test code to add a large
7311 writable data section after it.
7312 * configure: Regenerated.
7314 2011-07-11 Roland McGrath <roland@hack.frob.com>
7316 * configure.in (-z relro check): Fix test code to make the variable
7318 * configure: Regenerated.
7320 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7322 * nscd/nscd.h (struct traced_file): Define.
7323 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7324 elements. Add traced_files.
7325 (inotify_fd): Declare.
7326 (register_traced_file): Declare.
7327 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7328 (inotify_fd): Export.
7329 (resolv_conf_descr): Remove.
7330 (nscd_init): Move inotify descriptor creation to main.
7331 Don't register files for notification here.
7332 (register_traced_file): New function.
7333 (invalidate_cache): Don't use reset_res to determine whether to call
7334 res_init, go through the list of registered files.
7335 (main_loop_poll): The inotify descriptors are now stored in the
7336 structures for the traced files.
7337 (main_loop_epoll): Likewise
7338 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7339 to __nss_disable_nscd.
7340 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7341 for a database anymore. Check the records for all the registered
7343 * nss/Makefile (libnss_files-routines): Add files-init.
7344 (libnss_db-routines): Add db-init.
7345 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7346 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7347 * nss/nss_db/db-init.c: New file.
7348 * nss/nss_files/files-init.c: New file.
7349 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7350 __nss_lookup_function.
7351 (__nss_lookup_function): Call nss_load_library.
7352 (nss_load_all_libraries): New function.
7353 (__nss_disable_nscd): Take parameter with callback function for files
7354 to register. Set is_nscd. Load all the DSOs for the NSS modules
7355 used for the cached services.
7356 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7357 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7358 options for features to all the files in nscd.
7360 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7362 2011-07-10 Roland McGrath <roland@hack.frob.com>
7364 * csu/elf-init.c (__libc_csu_init): Comment typo.
7366 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7368 * po/pl.po: Update from translation team.
7369 * po/ja.po: Likewise.
7370 * po/ru.po: Likewise.
7371 * po/ko.po: Likewise.
7372 * po/fr.po: Likewise.
7374 2011-07-09 Roland McGrath <roland@hack.frob.com>
7376 * configure.in (.ctors/.dtors header and trailer check):
7377 Use an empirical test on a built program.
7378 * configure: Regenerated.
7380 * configure.in (-z relro check): Use an empirical test on a built DSO.
7381 Detect, but do not require, on ia64.
7382 * configure: Regenerated.
7384 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7385 Update tests that use readelf to use $READELF instead.
7386 * configure: Regenerated.
7388 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7390 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7391 if the result is not used.
7393 2011-07-05 Andreas Jaeger <aj@suse.de>
7396 * stdlib/tst-strtod.c: Add testcase.
7398 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7400 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7401 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7402 The latter has a higher limit. Take additional parameter to pass to
7404 (__pathconf): Pass file to __statfs_link_max.
7405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7407 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7411 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7412 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7414 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7415 (__statfs_filesize_max): Likewise.
7416 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7418 2011-07-05 Andreas Jaeger <aj@suse.de>
7420 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7422 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7424 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7426 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7429 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7431 * Makefile (strop-tests): Add strncat.
7432 * string/test-strncat.c: New file.
7434 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7436 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7438 2011-06-21 Andreas Jaeger <aj@suse.de>
7440 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7441 Copy rule from iconvdata/Makefile.
7443 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7446 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7447 but no long options are defined, just return 'W'.
7449 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7452 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7454 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7456 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7458 (innetgr): Likewise.
7460 2011-07-05 Roland McGrath <roland@hack.frob.com>
7462 * config.make.in (install_root): Default to $(DESTDIR).
7464 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7466 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7468 2011-07-02 Roland McGrath <roland@hack.frob.com>
7470 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7472 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7473 containing directory rather than embedding absolute directory names.
7475 * scripts/check-local-headers.sh: Rewritten using awk.
7476 Match by word, not by line. Print error messages for matches.
7477 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7479 * Makerules [shlib-lds-flags empty]:
7480 ($(common-objpfx)libc_pic.opts): New target.
7481 ($(common-objpfx)libc_pic.os.clean): New target.
7482 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7484 * config.make.in (OBJCOPY): New variable.
7485 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7486 * configure: Regenerated.
7488 * config.make.in (use-default-link): New variable.
7489 * configure.in (use_default_link): Grok --with-default-link to set it.
7490 * configure: Regenerated.
7491 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7492 (shlib-lds, shlib-lds-flags): Define to empty.
7494 * Makerules (shlib-lds): New variable.
7495 (shlib-lds-flags): New variable.
7496 (build-shlib, build-moduile, build-module-asneeded): Use it.
7497 ($(common-objpfx)libc.so): Use $(shlib-lds).
7498 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7499 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7501 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7502 DT_FLAGS/DT_FLAGS_1 with zero flags.
7504 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7505 linker script munging.
7507 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7509 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7511 * crypt/sha512.c (sha512_process_block): Perform total addition using
7512 128-bit if possible.
7513 (__sha512_finish_ctx): Likewise.
7514 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7516 * crypt/sha256.c (SWAP64): Define.
7517 (sha256_process_block): Perform total addition using 64-bit if
7519 (__sha256_finish_ctx): Likewise.
7521 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7523 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7525 * nscd/hstcache.c (cache_addhst): Likewise.
7526 * nscd/grpcache.c (cache_addgr): Likewise.
7527 * nscd/aicache.c (addhstaiX): Likewise
7528 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7530 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7532 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7534 * nscd/hstcache.c (cache_addhst): Likewise.
7535 * nscd/grpcache.c (cache_addgr): Likewise.
7536 * nscd/aicache.c (addhstaiX): Likewise
7538 2011-07-01 Andreas Schwab <schwab@redhat.com>
7540 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7541 domain only when needed.
7543 2011-06-30 Andreas Schwab <schwab@redhat.com>
7545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7548 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7550 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7551 are re-adding the entry.
7552 * nscd/servicescache.c (cache_addserv): Likewise.
7554 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7556 * sysdeps/generic/dl-irel.h: fix protection against multiple
7558 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7560 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7563 * malloc/memusage.sh: Fix quoting in message.
7564 * debug/xtrace.sh: Likewise.
7566 * configure.in: Remove support for --experimental-malloc option, make
7568 * config.make.in: Likewise.
7569 * malloc/Makefile: Likewise.
7571 2011-06-27 Andreas Schwab <schwab@redhat.com>
7573 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7574 two-byte characters.
7576 2011-06-27 Roland McGrath <roland@hack.frob.com>
7578 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7579 AC_CACHE_CHECK invocation.
7580 * configure: Regenerated.
7582 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7584 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7587 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7588 bit from old_res_options.
7590 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7592 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7593 value type for setfct.
7595 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7598 __gettimeofday instead of gettimeofday.
7600 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7602 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7604 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7606 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7611 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7614 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7615 strcpy-sse2-unaligned strncpy-sse2-unaligned
7616 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7617 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7618 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7619 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7620 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7621 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7623 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7624 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7625 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7626 (STRCPY): Support SSE2 and SSSE3 versions.
7628 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7631 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7632 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7633 kernels which artificially limit size of requests.
7635 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7638 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7639 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7640 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7641 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7642 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7643 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7644 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7647 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7648 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7649 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7650 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7651 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7653 Enable unaligned load optimization for Intel Core i3, i5 and i7
7655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7657 (index_Fast_Unaligned_Load): Define.
7658 (HAS_FAST_UNALIGNED_LOAD): Define.
7660 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7662 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7664 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7667 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7668 until it is clear that the information is realy needed.
7669 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7671 2011-06-22 Andreas Schwab <schwab@redhat.com>
7673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7675 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7678 /sys/devices/system/cpu/online if it is usable.
7680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7681 reading the information from the /proc filesystem to once a second.
7683 2011-06-21 Andreas Jaeger <aj@suse.de>
7685 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7686 NULL after inclusion of kernel headers.
7688 2011-06-21 Ulrich Drepper <drepper@gmail.com>
7690 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7691 calls to internal_setent.
7694 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7695 addresses using gethostbyname4_r ignore IPv4 addresses.
7697 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7698 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7700 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7702 2011-06-20 David S. Miller <davem@davemloft.net>
7704 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7706 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7708 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7710 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7711 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7712 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7713 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7714 * sysdeps/x86_64/dl-irel.h: Likewise.
7716 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7717 * elf/dl-sym.c: Likewise.
7719 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7721 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7722 need to dereference resplen2.
7724 2011-06-14 Andreas Schwab <schwab@redhat.com>
7726 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7728 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7730 * Makeconfig: Define vardbdir and inst_vardbdir.
7731 * nss/Makefile: Add rules to install db-Makefile.
7733 * nss/nss_db/db-XXX.c: Cleanup.
7735 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7736 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7738 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7739 * nss/makedb.c: Implement -g option to specify that value strings
7740 are generated and should not be added to table iterated over for
7742 * nss/nss_db/db-initgroups.c: New file.
7744 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7747 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7748 (internal_getgrouplist): Adjust to name change.
7749 Update use_initgroups_entry if this is not the first call.
7750 * nss/databases.def: Add initgroups entry.
7752 * nss/makedb.c (compute_tables): Check result of multiple hash table
7753 sizes to minimize maximum chain length.
7755 2011-06-14 Ulrich Drepper <drepper@gmail.com>
7757 * Versions.def: Add entry for libnss_db.
7758 * shlib-versions: Likewise.
7759 * nss/Makefile: Add rules to build libnss_db.
7760 * nss/Versions: Add libnss_db information. Organize libnss_files
7762 * nss/db-Makefile: Add gshadow support. Change rules for the new
7763 makedb progra. Some minor improvements to generate smaller files.
7764 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7766 * nss/makedb.c: ...here.
7767 Improve database format to be smaller and require less memory at
7769 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7771 * nss/nss_db/db-netgrp.c: Likewise.
7772 * nss/nss_db/db-open.c: Likewise.
7773 * nss/nss_files/flies-XXX.x: Adjust comments.
7774 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7775 * nss/nss_files/files-grp.c: Likewise.
7776 * nss/nss_files/files-hosts.c: Likewise.
7777 * nss/nss_files/files-network.c: Likewise.
7778 * nss/nss_files/files-proto.c: Likewise.
7779 * nss/nss_files/files-pwd.c: Likewise.
7780 * nss/nss_files/files-rpc.c: Likewise.
7781 * nss/nss_files/files-service.c: Likewise.
7782 * nss/nss_files/files-sgrp.c: Likewise.
7783 * nss/nss_files/files-spwd.c: Likewise.
7784 * nss/nss_db/db-alias.c: Removed.
7785 * nss/nss_db/dummy-db.h: Removed.
7787 2011-06-02 Ulrich Drepper <drepper@gmail.com>
7789 * nss/makedb.c: Rewritten to not use database library.
7790 * nss/Makefile: Update to build new makedb program.
7792 2011-06-14 Andreas Jaeger <aj@suse.de>
7794 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7797 2011-06-10 Andreas Schwab <schwab@redhat.com>
7799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7802 2011-06-10 Roland McGrath <roland@hack.frob.com>
7804 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7805 * elf/Makefile ($(objpfx)ld.so): Likewise.
7807 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7808 Don't list ld.so twice in dependencies.
7810 * posix/bug-regex31.c: Include <stdlib.h>.
7812 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7814 * nis/nss_compat/compat-spwd.c
7815 (getspent_next_nss_netgr): Remove unused variable.
7816 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7818 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7819 nonmembers" output to use the right array.
7821 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7823 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7825 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7826 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7827 * catgets/gencat.c (read_input_file): Likewise.
7828 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7830 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7831 variable definition inside #if's controlling its use.
7833 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7835 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7837 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7839 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7842 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7844 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7845 * configure: Regenerated.
7847 * Makerules: Revert last change.
7848 * elf/Makefile: Likewise.
7850 2011-06-09 Roland McGrath <roland@hack.frob.com>
7852 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7853 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7854 (reloc-link): Likewise.
7856 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7858 * elf/Makefile: Add rules to build pldd.
7859 * elf/pldd.c: New file.
7860 * elf/pldd-xx.c: New file.
7862 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7864 * version.h: Update for 2.15 development version.
7866 2011-06-07 David S. Miller <davem@davemloft.net>
7868 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7871 elf_machine_lazy_rel): Likewise.
7872 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7874 elf_machine_lazy_rel): Likewise.
7875 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7876 dl_hwcap via passed in argument.
7877 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7880 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7882 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7884 2011-06-06 Roland McGrath <roland@hack.frob.com>
7887 * manual/fdl-1.1.texi: New file, verbatim from:
7888 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7889 * manual/lgpl-2.1.texi: New file, verbatim from:
7890 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7891 * manual/Makefile (licenses): New variable, list those new file names.
7893 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7895 * manual/fdl.texi: File removed.
7896 * manual/lesser.texi: File removed.
7897 * manual/libc.texinfo (Copying, Documentation License):
7898 Use new @include file names, put @appendix directive before @include.
7900 2011-06-04 Jakub Jelinek <jakub@redhat.com>
7903 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7904 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7905 (mq_open): Add __NTH.
7907 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7910 Assume Intel Core i3/i5/i7 processor if AVX is available.
7912 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7917 2011-05-31 Andreas Schwab <schwab@redhat.com>
7919 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7920 memory. Use alloca_account. Fix memory leak when retrying.
7922 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7924 * version.h (RELEASE): Bump for 2.14 release.
7925 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7927 * config.make.in (RANLIB): Remove entry.
7929 2011-05-30 Ulrich Drepper <drepper@gmail.com>
7931 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7932 (libc.pot): Work around missing support for .ksh extension in xgettext.
7935 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7936 if both request failed.
7937 (send_dg): In case of server errors clear resplen or *resplen2.
7940 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7941 when there are multiple maps.
7942 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7943 (_dl_fini): Remove test here.
7945 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7947 2011-05-29 Ulrich Drepper <drepper@gmail.com>
7950 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7951 bit from old_res_options.
7952 (gaih_inet): Likewise.
7955 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7958 * resolv/res_init.c (res_setoptions): Make the code more compact.
7961 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7965 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7967 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7970 * malloc/malloc.h: Declare malloc hook variables as volatile.
7972 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7976 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7977 raise in the comment.
7978 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7980 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7982 2011-05-28 Ulrich Drepper <drepper@gmail.com>
7985 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7986 grow the buffers more if it already has to be sufficient.
7987 (build_wcs_upper_buffer): Likewise.
7988 * posix/regexec.c (check_matching): Likewise.
7989 (clean_state_log_if_needed): Likewise.
7990 (extend_buffers): Don't enlarge buffers beyond size of the input
7992 Patches mostly by Emil Wojak <emil@wojak.eu>.
7993 * posix/bug-regex32.c: New file.
7994 * posix/Makefile (tests): Add bug-regex32.
7996 * locale/findlocale.c (_nl_find_locale): Return right away if
7997 _nl_explode_name failed.
7998 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8000 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8002 * debug/xtrace.sh: Unify messages.
8003 * malloc/memusage.sh: Likewise.
8006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8007 time symbol from vDSO. Substitute with vsyscall if not available.
8008 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8011 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8012 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8013 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8014 Add sendmmsg and internal_sendmmsg.
8015 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8016 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8017 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8019 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8020 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8023 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8026 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8027 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8029 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8033 * iconvdata/Makefile (tests): Add bug-iconv9.
8034 * iconvdata/bug-iconv9.c: New file.
8036 2011-05-27 Andreas Schwab <schwab@redhat.com>
8039 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8041 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8044 (struct user_regs_struct): Change intcs field back to cs.
8046 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8048 * po/ja.po: Update from translation team.
8050 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8053 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8054 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8056 2011-05-20 Andreas Schwab <schwab@redhat.com>
8058 * stdlib/longlong.h: Update from GCC.
8060 2011-05-23 Andreas Schwab <schwab@redhat.com>
8062 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8064 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8066 (__sysconf): Pass it down.
8068 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8071 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8073 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8074 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8075 add in in __libc_use_alloca calls. Adjust callers.
8076 (glob): Use malloc in some situations.
8078 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8079 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8082 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8084 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8085 and CLOCK_BOOTTIME_ALARM.
8088 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8091 * string/_strerror.c (__strerror_r): Print negative errors as signed
8095 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8096 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8097 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8099 * configure.in: Fix typo in redirection and correct removal of test
8103 * locale/setlocale.c (new_composite_name): Fix test to check for
8104 identical name of all categories.
8107 * libio/filedoalloc.c (local_isatty): New function.
8108 (_IO_file_doallocate): Use local_isatty.
8109 * stdio-common/perror.c (perror): In case a new stream is used
8110 forward the stream error.
8111 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8114 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8119 * include/alloca.h (extend_alloca_account): Define.
8122 * posix/regex.h: Fix comments with documentation of user-accessible
8123 fields after compilation and describe correct free'ing of pattern
8124 after re_compile_pattern.
8125 Patch by Reuben Thomas <rrt@sc3d.org>.
8127 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8129 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8130 and -mno-altivec to prevent the compiler from using Altivec and/or
8131 VSX instructions when the corresponding registers are not available.
8133 2011-05-19 Andreas Schwab <schwab@redhat.com>
8135 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8137 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8139 * libio/freopen.c (freopen): Use __dup2, not dup2.
8140 * libio/freopen64.c (freopen64): Likewise.
8142 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8145 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8146 * math/Makefile (tests): Add test-powl.
8147 (CFLAGS-test-powl.c): Define.
8148 * math/test-powl.c: New file.
8150 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8152 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8154 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8157 * iconvdata/gb18030.c: Update to GB18020-2005.
8159 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8161 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8162 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8163 Patch by Aharon Robbins <arnold@skeeve.com>.
8166 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8170 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8174 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8175 point to strings before performing equality test for error_one_per_line
8179 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8183 (struct user_fpregs_struct): Avoid __uint*_t types.
8186 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8187 symbol info. Use it instead of calling _dl_addr locally.
8188 (lock_and_info): New function.
8189 (tr_freehook): Call lock_and_info and pass symbol info as additional
8190 parameter to tr_where.
8191 (tr_mallochook): Likewise.
8192 (tr_reallochook): Likewise.
8193 (tr_memalignhook): Likewise.
8195 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8196 used and couldn't be at all thread-safe.
8198 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8200 * libio/freopen.c (freopen): Don't close old file descriptor
8201 before the new one is opened. Instead dup the new file descriptor
8202 to the old one after the new stream is created.
8203 * libio/freopen64.c (freopen64): Likewise.
8204 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8205 * libio/fileops.c (_IO_new_file_close_it): Handle new
8206 _IO_FLAGS2_NOCLOSE flag.
8207 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8208 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8209 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8210 _IO_FLAGS2_NOCLOSE flag.
8211 * include/unistd.h: Add hidden_proto for dup3.
8213 * io/dup3.c: Define hidden symbol.
8214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8217 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8218 when an incomplete long option is used.
8219 * posix/tst-getopt_long1.c: New file.
8220 * posix/Makefile (tests): Add tst-getopt_long1.
8223 * scripts/config.guess: Update from autoconf-2.68.
8224 * scripts/config.sub: Likewise.
8227 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8229 (has_cpuclock): ...this. New function.
8230 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8231 macro here based on has_cpuclock code.
8234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8235 First byte (not low byte) is now always NUL.
8236 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8239 Use non-cancelable interfaces.
8242 * locale/iso-639.def: Add entry for Sorani.
8245 * include/stdlib.h: Move include protection to the right place.
8246 Define abort_msg_s. Declare __abort_msg with it.
8247 * stdlib/abort.c (__abort_msg): Adjust type.
8248 * assert/assert.c (__assert_fail_base): New function. Majority
8249 of code from __assert_fail. Allocate memory for __abort_msg with
8251 (__assert_fail): Now call __assert_fail_base.
8252 * assert/assert-perr.c: Remove bulk of implementation. Use
8254 * include/assert.hL Declare __assert_fail_base.
8255 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8257 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8259 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8263 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8264 until all modules are registered in the DTV.
8265 * elf/Makefile: Add rules to build and run tst-tls19.
8266 * elf/tst-tls19.c: New file.
8267 * elf/tst-tls19mod1.c: New file.
8268 * elf/tst-tls19mod2.c: New file.
8269 * elf/tst-tls19mod3.c: New file.
8270 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8273 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8277 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8278 two-byte sequence errors.
8279 * iconvdata/Makefile (tests): Add bug-iconv8.
8280 * iconvdata/bug-iconv8.c: New file.
8283 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8286 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8289 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8290 (dummy_getcfa): New function.
8291 (init): Get _Unwind_GetCFA address, use dummy if not found.
8292 (backtrace_helper): In recursion check, also check whether CFA changes.
8293 (__backtrace): Completely initialize arg.
8295 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8296 storing incomplete byte sequence in state object. Avoid testing for
8297 guaranteed too small input if we know there is enough data available.
8299 2011-05-11 Andreas Schwab <schwab@redhat.com>
8301 * Makeconfig (+link-pie): Indent.
8302 * Rules (binaries-pie): Define if $(have-fpie) and
8304 (binaries-shared): Also filter out $(binaries-pie).
8305 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8306 * nscd/Makefile (others-pie): Add nscd.
8307 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8308 ($(objpfx)nscd): Remove command override.
8309 * login/Makefile (others-pie): Add pt_chown.
8310 ($(objpfx)pt_chown): Remove command override.
8311 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8312 remove command overrides.
8314 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8316 * libio/tst_putwc.c: Fix error messages.
8319 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8320 currently writing and seek to current position when not.
8321 * libio/Makefile (tests): Add bug-fclose1.
8322 * libio/bug-fclose1.c: New file.
8324 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8327 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8328 don't set DF_1_NODELETE here.
8329 (do_lookup_x): When entering new entry test for copy relocation
8330 and if necessary set DF_1_NODELETE flag.
8331 * elf/tst-unique4.cc: New file.
8332 * elf/tst-unique4.h: New file.
8333 * elf/tst-unique4lib.cc: New file.
8334 * elf/Makefile: Add rules to build and run tst-unique4.
8335 Patch by Piotr Bury <pbury@goahead.com>.
8337 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8340 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8343 * misc/mntent_r.c (addmntent): Flush the stream after the output
8346 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8347 (is_trusted_path_normalize): Skip initial colon. Append slash
8348 to empty buffer. Duplicate is_trusted_path code but allow
8349 constructed patch to be prefix.
8350 (is_dst): Allow $ORIGIN followed by /.
8351 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8352 Correct testing of result of is_trusted_path_normalize
8353 (decompose_rpath): Fix warning.
8355 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8358 * grp/initgroups.c (internal_getgrouplist): When we found the service
8359 list through the initgroups entry in nsswitch.conf do not always
8360 continue on a successful lookup. Don't always use the
8361 __nss_group_database value if it is set.
8362 * nss/nsswitch.conf (initgroups): Change action for successful db
8363 lookup to continue for compatibility.
8365 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8368 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8370 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8372 * iconvdata/tst-tables.sh: Likewise.
8373 * iconvdata/cp770.c: New file.
8374 * iconvdata/cp771.c: New file.
8375 * iconvdata/cp772.c: New file.
8376 * iconvdata/cp773.c: New file.
8377 * iconvdata/cp774.c: New file.
8378 * iconvdata/testdata/CP770: New file.
8379 * iconvdata/testdata/CP770..UTF8: New file.
8380 * iconvdata/testdata/CP771: New file.
8381 * iconvdata/testdata/CP771..UTF8: New file.
8382 * iconvdata/testdata/CP772: New file.
8383 * iconvdata/testdata/CP772..UTF8: New file.
8384 * iconvdata/testdata/CP773: New file.
8385 * iconvdata/testdata/CP773..UTF8: New file.
8386 * iconvdata/testdata/CP774: New file.
8387 * iconvdata/testdata/CP774..UTF8: New file.
8389 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8391 * iconvdata/gen-8bit-gap.sh: Likewise.
8392 * iconvdata/gen-8bit.sh: Likewise.
8394 * locale/iso-639.def: Add ary entry.
8397 * locale/C-translit.h.in: Add U20A1 transliteration.
8400 * locale/iso-639.def: Add wae entry.
8401 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8404 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8408 * locale/C-translit.h.in: Add entry for U20B9.
8409 Patch by pravin.d.s@gmail.com.
8411 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8414 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8415 ENAMETOOLONG use generic getcwd.
8416 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8417 in rtld. Use *stat64.
8418 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8419 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8420 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8421 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8422 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8423 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8424 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8426 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8427 * dirent/rewinddir.c: Add libc_hidden_def.
8428 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8429 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8431 * include/dirent.h (__alloc_dir): Add flags parameter.
8432 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8433 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8435 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8436 from fdopendir if O_CLOEXEC is already set.
8438 2011-03-15 Alan Modra <amodra@gmail.com>
8440 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8441 l_tls_firstbyte_offset non-zero. Save padding offset in
8442 l_tls_firstbyte_offset for later use.
8443 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8444 freeing static tls block.
8446 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8448 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8449 where #ifdef was intended. The intent is to prevent ARG_MAX from
8450 being defined by the kernel headers.
8452 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8455 * resolv/resolv.h: Define RES_NOTLDQUERY.
8456 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8457 no-tld-query and set RES_NOTLDQUERY.
8458 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8459 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8460 modern BIND to search name as TLD unless forbidden.
8462 2011-05-07 Petr Baudis <pasky@suse.cz>
8463 Ulrich Drepper <drepper@gmail.com>
8466 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8467 (is_trusted_path): ...to here.
8468 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8469 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8470 using is_trusted_path_normalize() in setuid scripts.
8472 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8474 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8475 __BEGIN/__END_DECLS.
8477 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8480 NSS_STATUS_NOTFOUND if no record was found.
8482 2011-05-05 Andreas Schwab <schwab@redhat.com>
8484 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8485 (headers-not-in-tirpc): Remove rpc/netdb.h
8486 * resolv/netdb.h: Revert last change.
8488 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8490 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8491 circular dependency between libgcc.a and libc.a.
8493 2011-05-05 Andreas Schwab <schwab@redhat.com>
8495 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8496 * nis/Makefile: Don't install rpcsvc/*.
8497 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8498 instead of <rpc/types.h>.
8499 (MAXHOSTNAMELEN): Define.
8501 2011-05-03 Andreas Schwab <schwab@redhat.com>
8503 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8505 2011-04-28 Maciej Babinski <mbabinski@google.com>
8508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8509 gethostbyname4_r when IPv6 results are possible.
8511 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8514 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8515 _PC_PIPE_BUF handling.
8517 2011-04-30 Bruno Haible <bruno@clisp.org>
8520 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8521 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8523 * inet/getnameinfo.c (getnameinfo): Likewise.
8525 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8527 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8528 to groups setting in database lookup.
8529 * nss/nsswitch.conf: Add initgroups entry.
8531 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8534 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8536 Patch by Eric Blake <eblake@redhat.com>.
8538 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8540 * sunrpc/Makefile (need-export-routines): Add svc_run.
8541 (routines): Remove svc_run.
8542 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8543 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8544 * sunrpc/svc_run.c (svc_run): Likewise.
8545 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8547 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8550 problem in reallocation in last patch.
8552 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8554 * sunrpc/Makefile: Move inclusion of Rules.
8556 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8558 * nss/nss_files/files-initgroups.c: New file.
8559 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8560 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8561 _nss_files_initgroups_dyn.
8563 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8565 * elf/elf.h (R_ARM_IRELATIVE): Define.
8567 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8569 * po/ru.po: Update from translation team.
8571 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8573 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8576 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8579 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8580 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8581 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8585 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8587 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8593 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8596 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8598 * stdlib/bug-getcontext.c: New file.
8599 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8601 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8603 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8604 instructions into .machine "z9-109".
8605 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8606 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8608 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8610 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8611 between environment variables and auxiliary vector.
8613 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8615 * Makefile: Add rules to build linkobj/libc.so.
8616 * include/libc-symbols.h: Define libc_hidden_nolink.
8617 * include/rpc/auth.h: Mark functions which are to be hidden.
8618 * include/rpc/auth_des.h: Likewise.
8619 * include/rpc/auth_unix.h: Likewise.
8620 * include/rpc/clnt.h: Likewise.
8621 * include/rpc/des_crypt.h: Likewise.
8622 * include/rpc/key_prot.h: Likewise.
8623 * include/rpc/pmap_clnt.h: Likewise.
8624 * include/rpc/pmap_prot.h: Likewise.
8625 * include/rpc/pmap_rmt.h: Likewise.
8626 * include/rpc/rpc_msg.h: Likewise.
8627 * include/rpc/svc.h: Likewise.
8628 * include/rpc/svc_auth.h: Likewise.
8629 * include/rpc/xdr.h: Likewise.
8630 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8631 * nss/Makefile: Likewise.
8632 * sunrpc/Makefile: Don't install headers. Build library with normal
8633 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8634 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8635 for the compat linking library. Remove use of INTDEF/INTUSE.
8636 * sunrpc/auth_none.c: Likewise.
8637 * sunrpc/auth_unix.c: Likewise.
8638 * sunrpc/authdes_prot.c: Likewise.
8639 * sunrpc/authuxprot.c: Likewise.
8640 * sunrpc/clnt_gen.c: Likewise.
8641 * sunrpc/clnt_perr.c: Likewise.
8642 * sunrpc/clnt_raw.c: Likewise.
8643 * sunrpc/clnt_simp.c: Likewise.
8644 * sunrpc/clnt_tcp.c: Likewise.
8645 * sunrpc/clnt_udp.c: Likewise.
8646 * sunrpc/clnt_unix.c: Likewise.
8647 * sunrpc/des_crypt.c: Likewise.
8648 * sunrpc/des_soft.c: Likewise.
8649 * sunrpc/get_myaddr.c: Likewise.
8650 * sunrpc/key_call.c: Likewise.
8651 * sunrpc/key_prot.c: Likewise.
8652 * sunrpc/netname.c: Likewise.
8653 * sunrpc/pm_getmaps.c: Likewise.
8654 * sunrpc/pm_getport.c: Likewise.
8655 * sunrpc/pmap_clnt.c: Likewise.
8656 * sunrpc/pmap_prot.c: Likewise.
8657 * sunrpc/pmap_prot2.c: Likewise.
8658 * sunrpc/pmap_rmt.c: Likewise.
8659 * sunrpc/publickey.c: Likewise.
8660 * sunrpc/rpc_cmsg.c: Likewise.
8661 * sunrpc/rpc_common.c: Likewise.
8662 * sunrpc/rpc_dtable.c: Likewise.
8663 * sunrpc/rpc_prot.c: Likewise.
8664 * sunrpc/rpc_thread.c: Likewise.
8665 * sunrpc/rtime.c: Likewise.
8666 * sunrpc/svc.c: Likewise.
8667 * sunrpc/svc_auth.c: Likewise.
8668 * sunrpc/svc_authux.c: Likewise.
8669 * sunrpc/svc_raw.c: Likewise.
8670 * sunrpc/svc_run.c: Likewise.
8671 * sunrpc/svc_simple.c: Likewise.
8672 * sunrpc/svc_tcp.c: Likewise.
8673 * sunrpc/svc_udp.c: Likewise.
8674 * sunrpc/svc_unix.c: Likewise.
8675 * sunrpc/svcauth_des.c: Likewise.
8676 * sunrpc/xcrypt.c: Likewise.
8677 * sunrpc/xdr.c: Likewise.
8678 * sunrpc/xdr_array.c: Likewise.
8679 * sunrpc/xdr_float.c: Likewise.
8680 * sunrpc/xdr_intXX_t.c: Likewise.
8681 * sunrpc/xdr_mem.c: Likewise.
8682 * sunrpc/xdr_rec.c: Likewise.
8683 * sunrpc/xdr_ref.c: Likewise.
8684 * sunrpc/xdr_sizeof.c: Likewise.
8685 * sunrpc/xdr_stdio.c: Likewise.
8687 2011-04-10 Ulrich Drepper <drepper@gmail.com>
8690 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8691 * sysdeps/ia64/dl-tls.h: Likewise.
8692 * sysdeps/powerpc/dl-tls.h: Likewise.
8693 * sysdeps/s390/dl-tls.h: Likewise.
8694 * sysdeps/sh/dl-tls.h: Likewise.
8695 * sysdeps/sparc/dl-tls.h: Likewise.
8696 * sysdeps/x86_64/dl-tls.h: Likewise.
8697 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8699 2011-03-14 Andreas Schwab <schwab@redhat.com>
8701 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8702 rpath element also skip the following colon.
8703 (expand_dynamic_string_token): Add is_path parameter and pass
8704 down to DL_DST_REQUIRED and _dl_dst_substitute.
8705 (decompose_rpath): Call expand_dynamic_string_token with
8706 non-zero is_path. Ignore empty rpaths.
8707 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8710 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8715 2011-04-09 Ulrich Drepper <drepper@gmail.com>
8718 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8719 Patch by Filipe David Manana <fdmanana@apache.org>.
8721 2011-04-07 Andreas Schwab <schwab@redhat.com>
8723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8724 Maintain aligned stack.
8725 (CHECK_RSP): Remove unused macro.
8727 2011-04-03 Ulrich Drepper <drepper@gmail.com>
8729 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8730 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8732 2011-04-02 Ulrich Drepper <drepper@gmail.com>
8734 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8736 * include/features.h: Mention __USE_XOPEN2K8 in comment.
8738 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8741 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8742 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8743 * sysdeps/x86_64/memmove.c: New file.
8744 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8745 (memcpy): Renamed to ...
8746 (__new_memcpy): This.
8747 (memcpy): Provide GLIBC_2_14 memcpy.
8748 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8749 (memcpy): Provide GLIBC_2_2_5 memcpy.
8751 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8754 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8756 2011-03-30 Andreas Schwab <schwab@redhat.com>
8758 * misc/syncfs.c: New file.
8759 * misc/Makefile (routines): Add syncfs.
8760 * posix/unistd.h: Declare syncfs.
8761 * sysdeps/unix/syscalls.list: Add syncfs.
8763 2011-04-01 Andreas Schwab <schwab@redhat.com>
8765 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8772 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8775 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8778 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8779 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8785 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8786 sync_file_range.c with -fexceptions.
8787 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8788 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8789 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8790 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8791 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8792 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8794 sync_file_range as cancellation point
8795 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8796 now a wrapper around __call_sync_file_range with cancellation handling.
8797 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8798 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8799 function name to __call_sync_file_range.
8800 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8801 Add call_sync_file_range.
8803 2011-04-01 Andreas Schwab <schwab@redhat.com>
8805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8808 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8810 * iconv/iconv.h: Fix typo in comment.
8811 * io/fcntl.h: Likewise.
8812 * libio/stdio.h: Likewise.
8813 * posix/spawn.h: Likewise.
8814 * posix/unistd.h: Likewise.
8815 * stdlib/stdlib.h: Likewise.
8816 * time/time.h: Likewise.
8817 * wcsmbs/wchar.h: Likewise.
8819 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8820 open_by_handle): Add.
8821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8822 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8823 Augment a few comments.
8824 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8825 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8829 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8832 * io/fcntl.h (AT_EMPTY_PATH): Define.
8834 2011-03-30 Ulrich Drepper <drepper@gmail.com>
8836 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8837 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8838 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8840 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
8841 * Versions.def: Add GLIBC_2.14.
8842 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8845 2011-03-22 Ulrich Drepper <drepper@gmail.com>
8847 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8849 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8851 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8854 * string/test-strncmp.c (do_page_test): New function.
8856 (test_main): Call check2.
8857 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8859 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8863 Handle cache information in CPU leaf 4.
8864 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8866 2011-03-18 Ulrich Drepper <drepper@gmail.com>
8869 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8870 character representation.
8871 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8873 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8875 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8876 END(__isnan) to END(__isnanf) to match function entry point/label
8877 EALIGN(__isnanf,...).
8879 2011-03-10 Jakub Jelinek <jakub@redhat.com>
8881 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8883 2011-03-10 Ulrich Drepper <drepper@gmail.com>
8886 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8887 copy from the symbol referenced in the relocation to initialize the
8889 Patch by Piotr Bury <pbury@goahead.com>.
8890 * elf/Makefile: Add rules to build and tst-unique3.
8891 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8892 * elf/tst-unique3.cc: New file.
8893 * elf/tst-unique3.h: New file.
8894 * elf/tst-unique3lib.cc: New file.
8895 * elf/tst-unique3lib2.cc: New file.
8897 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8899 2011-03-10 Mike Frysinger <vapier@gentoo.org>
8901 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8902 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8905 2011-03-06 Ulrich Drepper <drepper@gmail.com>
8907 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8908 to-be-loaded object along a path to loader is ld.so.
8910 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8911 Ulrich Drepper <drepper@gmail.com>
8913 * sysdeps/x86_64/memset.S: After aligning destination, code
8914 branches to different locations depending on the value of
8915 misalignment, when multiarch is enabled. Fix this.
8917 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8919 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8920 Set _x86_64_preferred_memory_instruction for AMD processsors.
8921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8922 Set bit_Prefer_SSE_for_memop for AMD processors.
8924 2011-03-04 Ulrich Drepper <drepper@gmail.com>
8926 * libio/fmemopen.c (fmemopen): Optimize a bit.
8928 2011-03-03 Andreas Schwab <schwab@redhat.com>
8930 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8932 2011-03-03 Roland McGrath <roland@redhat.com>
8934 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8936 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8938 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8939 __bzero_ultra1 instead of __memset_ultra1.
8941 2011-02-23 Andreas Schwab <schwab@redhat.com>
8942 Ulrich Drepper <drepper@gmail.com>
8945 * include/link.h (struct link_map): Add l_orig_initfini.
8946 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8947 returning unsuccessfully.
8948 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8949 close of a file loaded at startup, restore the original l_initfini
8951 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8952 list, store the pointer.
8953 * elf/Makefile ($(objpfx)noload-mem): New rule.
8954 (noload-ENV): Define.
8955 (tests): Add $(objpfx)noload-mem.
8956 * elf/noload.c: Include <memcheck.h>.
8957 (main): Call mtrace. Close all opened handles.
8959 2011-02-17 Andreas Schwab <schwab@redhat.com>
8962 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8963 dependencies are missing.
8965 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8967 Fix __if_freereq crash: Unlike the generic version which uses free,
8969 * sysdeps/mach/hurd/ifreq.h: New file.
8971 2011-01-27 Petr Baudis <pasky@suse.cz>
8972 Ulrich Drepper <drepper@gmail.com>
8975 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8977 * stdio-common/bug23.c: New file.
8978 * stdio-common/Makefile (tests): Add bug23.
8980 2010-09-28 Andreas Schwab <schwab@redhat.com>
8981 Ulrich Drepper <drepper@gmail.com>
8984 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8985 before performing relro protection. At old place add assertion
8986 to make sure nothing changed.
8988 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8989 Glauber de Oliveira Costa <glommer@gmail.com>
8991 * elf/elf.h: Add new ARM TLS relocs.
8993 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8996 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8998 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9000 * sysdeps/wordsize-64/tst-writev.c: New file.
9002 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9004 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9005 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9006 insns in _dl_start to prevent a TOC reference before relocs are
9009 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9012 * Makeconfig: Remove RANLIB definition.
9013 * Makerules: Don't use RANLIB.
9014 * aclocal.m4: Remove ranlib test.
9015 * configure.in: No need to check for ranlib.
9016 * elf/rtld-Rules: Don't use RANLIB.
9018 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9020 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9022 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9023 inclusion protection macro.
9025 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9026 SIGRTMIN and SIGRTMAX and print information in that case only when
9027 SIGRTMIN is defined.
9029 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9031 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9032 arginfo fn returning -1.
9034 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9035 and thousands string is zero terminated.
9037 2011-02-03 Andreas Schwab <schwab@redhat.com>
9039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9040 sysdeps/unix/sysv/linux/bits/socket.h.
9042 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9044 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9045 (__CPU_COUNT): Remove old macros.
9046 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9047 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9048 (__CPU_ALLOC, __CPU_FREE): Add macros.
9049 (__sched_cpualloc, __sched_cpufree): Add declarations.
9051 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9053 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9054 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9055 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9056 (readdhstai): Return value of addhstaiX call.
9057 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9058 (addgrbyX): Return value returned by cache_addgr.
9059 (readdgrbyname): Return value returned by addgrbyX.
9060 (readdgrbygid): Likewise.
9061 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9062 (addpwbyX): Return value returned by cache_addpw.
9063 (readdpwbyname): Return value returned by addhstbyX.
9064 (readdpwbyuid): Likewise.
9065 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9066 (addservbyX): Return value returned by cache_addserv.
9067 (readdservbyname): Return value returned by addservbyX:
9068 (readdservbyport): Likewise.
9069 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9070 (addhstbyX): Return value returned by cache_addhst.
9071 (readdhstbyname): Return value returned by addhstbyX.
9072 (readdhstbyaddr): Likewise.
9073 (readdhstbynamev6): Likewise.
9074 (readdhstbyaddrv6): Likewise.
9075 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9076 (readdinitgroups): Return value returned by addinitgroupsX.
9077 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9078 (prune_cache): Keep track of timeout value of re-added entries.
9079 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9080 * nscd/nscd.h: Adjust prototypes of readd* functions.
9082 2011-02-04 Roland McGrath <roland@redhat.com>
9084 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9085 (nis_stats): Likewise.
9086 * nis/nis_modify.c (nis_modify): Likewise.
9087 * nis/nis_remove.c (nis_remove): Likewise.
9088 * nis/nis_add.c (nis_add): Likewise.
9090 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9092 * posix/fnmatch_loop.c: Add some consts.
9094 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9096 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9099 * config.make.in (config-cflags-novzeroupper): Define.
9100 * configure.in: Substitute libc_cv_cc_novzeroupper.
9101 * elf/Makefile (AVX-CFLAGS): Define.
9102 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9103 (CFLAGS-tst-auditmod4a.c): Likewise.
9104 (CFLAGS-tst-auditmod4b.c): Likewise.
9105 (CFLAGS-tst-auditmod6b.c): Likewise.
9106 (CFLAGS-tst-auditmod6c.c): Likewise.
9107 (CFLAGS-tst-auditmod7b.c): Likewise.
9108 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9110 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9112 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9113 function to the callback.
9114 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9116 2011-02-02 Andreas Schwab <schwab@redhat.com>
9118 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9121 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9124 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9126 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9128 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9131 * elf/Makefile: Add rules to build and run new test.
9132 * elf/tst-initorder.c: New file.
9133 * elf/tst-initorder.exp: New file.
9134 * elf/tst-initordera1.c: New file.
9135 * elf/tst-initordera2.c: New file.
9136 * elf/tst-initordera3.c: New file.
9137 * elf/tst-initordera4.c: New file.
9138 * elf/tst-initorderb1.c: New file.
9139 * elf/tst-initorderb2.c: New file.
9140 * elf/tst-order-a1.c: New file.
9141 * elf/tst-order-a2.c: New file.
9142 * elf/tst-order-a3.c: New file.
9143 * elf/tst-order-a4.c: New file.
9144 * elf/tst-order-b1.c: New file.
9145 * elf/tst-order-b2.c: New file.
9146 * elf/tst-order-main.c: New file.
9147 New test case by George Gensure <werkt0@gmail.com>.
9149 2010-10-01 Andreas Schwab <schwab@redhat.com>
9151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9152 decoding ACE if AI_CANONIDN.
9154 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9156 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9158 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9160 * version.h (RELEASE): Bump for 2.13 release.
9161 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9163 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9165 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9167 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9169 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9171 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9174 * posix/getconf.c: Update copyright year.
9175 * catgets/gencat.c: Likewise.
9176 * csu/version.c: Likewise.
9177 * debug/catchsegv.sh: Likewise.
9178 * debug/xtrace.sh: Likewise.
9179 * elf/ldconfig.c: Likewise.
9180 * elf/ldd.bash.in: Likewise.
9181 * elf/sprof.c (print_version): Likewise.
9182 * iconv/iconv_prog.c: Likewise.
9183 * iconv/iconvconfig.c: Likewise.
9184 * locale/programs/locale.c: Likewise.
9185 * locale/programs/localedef.c: Likewise.
9186 * malloc/memusage.sh: Likewise.
9187 * malloc/mtrace.pl: Likewise.
9188 * nscd/nscd.c (print_version): Likewise.
9189 * nss/getent.c: Likewise.
9191 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9192 PF_CAIF, and PF_ALG.
9193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9195 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9197 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9198 (modules-names): Use them.
9199 (ifunc-test-modules, ifunc-pie-tests): Define.
9200 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9201 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9202 (test-extras): Likewise.
9203 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9204 $(compile-command.c).
9205 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9206 (all-built-dso): Define.
9207 (check-textrel.out, check-execstack.out): Depend on it.
9209 * configure.in: Don't override --enable-multi-arch.
9211 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9214 * nscd/hstcache.c (tryagain): Define.
9215 (cache_addhst): Return tryagain not notfound for temporary errors.
9216 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9219 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9222 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9223 to make the syscall.
9224 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9227 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9228 and fall back to matching as normal character if the string ends before
9229 the matching ']' is found. This is what POSIX requires.
9230 * posix/testfnm.c: Adjust test result.
9231 * posix/globtest.sh: Adjust test result. Add new test.
9232 * posix/tst-fnmatch.input: Likewise.
9233 * posix/tst-fnmatch2.c: Add new test.
9235 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9237 * elf/Makefile (check-execstack): Revert last change. Depend on
9239 (check-execstack.h): New target.
9240 (generated): Add check-execstack.h.
9241 * elf/check-execstack.c: Include "check-execstack.h".
9242 (main): Revert last change.
9243 (handle_file): Return zero if GNU_STACK is absent and
9244 DEFAULT_STACK_PERMS doesn't include PF_X.
9246 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9248 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9249 in child fails because the descriptor is already closed.
9250 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9251 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9252 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9255 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9259 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9260 temporary buffer used to handle multi lookups locally.
9261 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9263 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9265 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9268 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9270 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9273 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9276 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9277 characters. When rounding increased number of integer digits recompute
9279 * stdio-common/tst-grouping.c: New file.
9280 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9282 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9284 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9285 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9287 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9289 * bits/select.h: Likewise.
9291 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9293 * po/ja.po: Update from translation team.
9295 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9298 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9299 implementation just like for lxstat, fxstatat, et al.
9301 2010-12-27 Jim Meyering <meyering@redhat.com>
9304 * posix/regexec.c (build_trtable): Return failure indication upon
9305 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9307 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9310 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9311 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9312 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9316 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9319 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9320 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9322 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9324 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9325 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9326 script has SORT_BY_INIT_PRIORITY.
9327 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9328 NO_CTORS_DTORS_SECTIONS is defined.
9329 * elf/soinit.c: Likewise.
9330 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9331 NO_CTORS_DTORS_SECTIONS is defined.
9332 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9333 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9334 * sysdeps/sh/init-first.c: Likewise.
9335 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9337 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9339 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9340 always use the slow path.
9342 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9344 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9345 similar rule which adds the sysdep directories to the header search in
9346 order to pick up the correct platform stackinfo.h.
9347 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9348 perform test if it is, otherwise return successfully without testing.
9349 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9350 DEFAULT_STACK_PERMS define in stackinfo.h.
9351 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9352 defined in stackinfo.h.
9353 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9354 DEFAULT_STACK_PERMS defined in stackinfo.h.
9355 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9356 * sysdeps/ia64/stackinfo.h: Likewise.
9357 * sysdeps/s390/stackinfo.h: Likewise.
9358 * sysdeps/sh/stackinfo.h: Likewise.
9359 * sysdeps/sparc/stackinfo.h: Likewise.
9360 * sysdeps/x86_64/stackinfo.h: Likewise.
9361 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9362 PF_X for powerpc64. Retain PF_X for powerpc32.
9364 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9366 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9368 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9369 GETDENTS_64BIT_ALIGNED.
9371 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9373 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9375 2010-12-10 Andreas Schwab <schwab@redhat.com>
9377 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9380 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9381 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9383 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9384 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9386 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9389 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9392 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9394 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9396 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9398 * po/it.po: Update from translation team.
9400 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9405 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9407 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9409 2010-11-24 Andreas Schwab <schwab@redhat.com>
9411 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9413 (gaih_getanswer_slice): Likewise.
9415 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9419 2010-05-31 Petr Baudis <pasky@suse.cz>
9422 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9423 silently even in the chroot mode.
9425 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9427 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9428 last patch a bit. Pretty printing
9430 2010-05-31 Petr Baudis <pasky@suse.cz>
9433 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9434 initialization of skip_initgroups_dyn.
9436 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9438 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9439 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9441 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9443 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9445 2010-11-11 Andreas Schwab <schwab@redhat.com>
9447 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9448 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9449 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9450 ($(objpfx)tst-fnmatch-mem): New rule.
9451 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9452 * posix/tst-fnmatch.c (main): Call mtrace.
9454 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9457 Support Intel processor model 6 and model 0x2c.
9459 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9464 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9467 * string/test-strncasecmp.c (check_result): New function.
9468 (do_one_test): Use it.
9469 (check1): New function.
9470 (test_main): Use it.
9471 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9472 Support strcasecmp and strncasecmp.
9474 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9477 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9480 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9482 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9486 * sysdeps/x86_64/multiarch/bzero.S: New file.
9487 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9488 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9489 * sysdeps/x86_64/multiarch/memset.S: New file.
9490 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9492 Set bit_Prefer_SSE_for_memop for Intel processors.
9493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9495 (index_Prefer_SSE_for_memop): Define.
9496 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9498 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9500 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9501 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9503 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9506 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9507 (__x86_64_raw_data_cache_size_half): Likewise.
9508 (__x86_64_raw_shared_cache_size): Likewise.
9509 (__x86_64_raw_shared_cache_size_half): Likewise.
9511 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9512 (__x86_64_raw_data_cache_size_half): Likewise.
9513 (__x86_64_raw_shared_cache_size): Likewise.
9514 (__x86_64_raw_shared_cache_size_half): Likewise.
9515 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9516 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9517 and __x86_64_raw_shared_cache_size_half. Round
9518 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9519 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9520 to multiple of 256 bytes.
9522 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9525 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9526 of inacessible symlinks. Verify result of symlink before returning it.
9527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9528 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9530 2010-10-28 Erich Ritz <erichritz@gmail.com>
9532 * math/math.h (isinf): Fix typo in comment.
9534 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9536 * po/da.po: Update from translation team.
9538 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9540 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9541 is added to the list.
9543 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9544 Ulrich Drepper <drepper@gmail.com>
9546 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9547 the global list here. Move code to...
9548 (_dl_add_to_namespace_list): ...here. New function.
9549 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9550 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9551 * elf/dl-load.c (lose): Don't remove the element from the list.
9552 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9553 (_dl_map_object): Likewise.
9555 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9558 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9559 into all bytes of SSE register.
9560 Patch by Richard Li <richardpku@gmail.com>.
9562 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9565 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9568 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9570 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9571 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9572 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9573 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9578 2010-10-22 Andreas Schwab <schwab@redhat.com>
9580 * include/dlfcn.h (__RTLD_SECURE): Define.
9581 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9582 mode & __RTLD_SECURE instead.
9583 (open_path): Rename preloaded parameter to secure.
9584 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9585 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9586 * elf/dl-deps.c (openaux): Likewise.
9587 * elf/rtld.c (struct map_args): Remove is_preloaded.
9588 (map_doit): Don't use it.
9589 (dl_main): Likewise.
9590 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9591 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9593 2010-09-09 Andreas Schwab <schwab@redhat.com>
9595 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9596 (sysd-rules-targets): Remove duplicates.
9597 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9598 rtld-%.$o dependency.
9600 2010-10-18 Andreas Schwab <schwab@redhat.com>
9602 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9603 _dl_map_object do it.
9605 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9607 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9608 fast fma builtins, define the macros in the C99 standard.
9609 (FP_FAST_FMAF): Likewise.
9610 (FP_FAST_FMAL): Likewise.
9611 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9613 * bits/mathdef.h: Update copyright year.
9614 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9616 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9618 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9619 builtins, define the macros in the C99 standard.
9620 (FP_FAST_FMAF): Likewise.
9621 (FP_FAST_FMAL): Likewise.
9622 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9624 (FP_FAST_FMAF): Likewise.
9626 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9629 * math/libm-test.inc (fma_test): Some new testcases.
9630 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9632 y and infinite z. Do multiplication by C already in long double.
9633 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9635 y and infinite z. Do bitwise or of inexact bit into u.d.
9636 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9637 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9638 * sysdeps/i386/fpu/s_fma.S: Removed.
9639 * sysdeps/i386/fpu/s_fmal.S: Removed.
9641 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9644 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9646 computation is not scheduled after fetestexcept. Fix value
9647 of minimum denormal long double.
9649 2010-10-14 Jakub Jelinek <jakub@redhat.com>
9652 * math/libm-test.inc (fma_test): Add some more tests.
9653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9656 2010-10-15 Andreas Schwab <schwab@redhat.com>
9658 * scripts/data/localplt-s390-linux-gnu.data: New file.
9659 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9661 2010-10-13 Jakub Jelinek <jakub@redhat.com>
9664 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9665 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9667 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9669 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9671 if one of x and y is very large and the other is subnormal.
9672 * sysdeps/s390/fpu/s_fmaf.c: New file.
9673 * sysdeps/s390/fpu/s_fma.c: New file.
9674 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9675 * sysdeps/powerpc/fpu/s_fma.S: New file.
9676 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9677 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9678 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9680 2010-10-12 Jakub Jelinek <jakub@redhat.com>
9683 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9685 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9686 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9687 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9688 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9689 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9690 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9693 2010-10-12 Ulrich Drepper <drepper@redhat.com>
9696 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9697 * posix/bug-regex31.input: Add test case.
9699 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9701 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9702 * posix/bug-regex31.input: New file.
9705 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9706 (parse_sub_exp): Fix last change, use postorder.
9708 * posix/bug-regex31.c: New file.
9709 * posix/Makefile: Add rules to build and run bug-regex31.
9711 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9714 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9717 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9718 to have entries in sys_siglist.
9721 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9724 2010-10-07 Jakub Jelinek <jakub@redhat.com>
9727 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9728 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9729 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9730 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9731 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9732 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9733 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9734 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9735 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9736 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9737 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9738 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9739 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9740 * math/ftestexcept.c (fetestexcept): Likewise.
9741 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9742 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9743 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9744 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9745 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9746 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9749 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9752 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9755 2010-10-06 Ulrich Drepper <drepper@gmail.com>
9757 * string/bug-strstr1.c: New file.
9758 * string/Makefile: Add rules to build and run bug-strstr1.
9760 2010-10-05 Eric Blake <eblake@redhat.com>
9763 * string/str-two-way.h (two_way_long_needle): Always clear memory
9764 when skipping input due to the shift table.
9766 2010-10-03 Ulrich Drepper <drepper@gmail.com>
9769 * malloc/mcheck.c: Handle large requests.
9772 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9773 for strncmp and strncasecmp.
9774 * string/stratcliff.c: Add tests for strcmp and strncmp.
9775 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9777 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9779 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9782 2010-09-30 Andreas Jaeger <aj@suse.de>
9784 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9785 (CGROUP_SUPER_MAGIC): Define.
9786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9787 Handle btrfs and cgroup file systems.
9788 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9791 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
9793 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9794 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9796 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9799 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9800 trying to locate the ELF header.
9802 2010-09-27 Andreas Schwab <schwab@redhat.com>
9805 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9806 Mask out sign-bit copies when constructing f_fsid.
9808 2010-09-24 Petr Baudis <pasky@suse.cz>
9810 * debug/stack_chk_fail_local.c: Add missing licence exception.
9811 * debug/warning-nop.c: Likewise.
9813 2010-09-15 Joseph Myers <joseph@codesourcery.com>
9815 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9816 implementing getdents64 using getdents syscall, set d_type if
9817 __ASSUME_GETDENTS32_D_TYPE.
9819 2010-09-16 Andreas Schwab <schwab@redhat.com>
9821 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9822 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9824 2010-09-21 Ulrich Drepper <drepper@redhat.com>
9827 * posix/unistd.h: Undo change of feature selection for ftruncate from
9830 2010-09-20 Ulrich Drepper <drepper@redhat.com>
9832 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9835 2010-09-20 Andreas Schwab <schwab@redhat.com>
9837 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9839 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9841 2010-09-14 Andreas Schwab <schwab@redhat.com>
9843 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9844 variables after CHECK_SP call.
9845 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9847 2010-09-13 Andreas Schwab <schwab@redhat.com>
9848 Ulrich Drepper <drepper@redhat.com>
9850 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9851 re-relocationg ld.so.
9852 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9853 _dl_init_paths call.
9854 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9857 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9859 * resolv/res_init.c (__res_vinit): Count the default server we added.
9861 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9862 Ulrich Drepper <drepper@redhat.com>
9865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9866 (____longjmp_chk): Use %ebx for saving value across system call.
9869 2010-09-06 Andreas Schwab <schwab@redhat.com>
9871 * manual/Makefile: Don't mix pattern rules with normal rules.
9873 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9875 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9877 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9878 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9879 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9880 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9884 2010-09-04 Ulrich Drepper <drepper@redhat.com>
9887 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9888 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9890 2010-09-02 Ulrich Drepper <drepper@redhat.com>
9892 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9893 * sysdeps/x86_64/addmul_1.S: Likewise.
9894 * sysdeps/x86_64/lshift.S: Likewise.
9895 * sysdeps/x86_64/mul_1.S: Likewise.
9896 * sysdeps/x86_64/rshift.S: Likewise.
9897 * sysdeps/x86_64/sub_n.S: Likewise.
9898 * sysdeps/x86_64/submul_1.S: Likewise.
9900 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9902 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9903 Define __sched_param instead of SCHED_* and sched_param when
9904 <bits/sched.h> is included with __need_schedparam defined.
9905 * bits/sched.h [__need_schedparam]
9906 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9907 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9908 (__defined_schedparam): Define to 1.
9909 (__sched_param): New structure, identical to sched_param.
9910 (__need_schedparam): Undefine.
9912 2010-08-31 Mike Frysinger <vapier@gentoo.org>
9914 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9915 (epoll_create1): Declare.
9917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9919 2010-08-31 Andreas Schwab <schwab@redhat.com>
9922 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9923 shifting retval into place.
9925 2010-09-01 Ulrich Drepper <drepper@redhat.com>
9927 * nis/rpcsvc/nis.h: Update copyright notice.
9928 * nis/rpcsvc/nis.x: Likewise.
9929 * nis/rpcsvc/nis_callback.h: Likewise.
9930 * nis/rpcsvc/nis_callback.x: Likewise.
9931 * nis/rpcsvc/nis_object.x: Likewise.
9932 * nis/rpcsvc/nis_tags.h: Likewise.
9933 * nis/rpcsvc/yp.h: Likewise.
9934 * nis/rpcsvc/yp.x: Likewise.
9935 * nis/rpcsvc/ypupd.h: Likewise.
9936 * nis/yp_xdr.c: Likewise.
9937 * nis/ypupdate_xdr.c: Likewise.
9939 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9940 mainly the body of pmap_getport. Add parameters to specify timeouts.
9941 (pmap_getport): Use __libc_rpc_getport.
9942 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9943 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9944 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9946 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9951 2010-08-27 Roland McGrath <roland@redhat.com>
9953 * sysdeps/i386/i686/multiarch/Makefile
9954 (CFLAGS-varshift.c): New variable.
9956 2010-08-27 Ulrich Drepper <drepper@redhat.com>
9958 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9959 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9963 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9965 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9967 * sysdeps/x86_64/strlen.S: Unroll the loop.
9968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9969 strlen-sse2 strlen-sse2-bsf.
9970 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9971 __strlen_no_bsf if bit_Slow_BSF is set.
9972 (__strlen_sse42): Removed.
9973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9974 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9976 2010-08-25 Roland McGrath <roland@redhat.com>
9978 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9979 * sysdeps/x86_64/multiarch/varshift.c: New file.
9980 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9981 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9982 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9983 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9985 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9988 strlen-sse2 strlen-sse2-bsf.
9989 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9990 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9991 (__strlen_sse2): Removed.
9992 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9995 bit_Slow_BSF for Atom.
9996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9997 (index_Slow_BSF): Define.
9998 (HAS_SLOW_BSF): Define.
10000 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10003 * resolv/res_init.c (__res_vinit): When no server address at all
10004 is given default to loopback.
10006 2010-08-24 Roland McGrath <roland@redhat.com>
10008 * configure.in: Remove config-name.h generation.
10009 * configure: Regenerated.
10010 * config-name.in: File removed.
10011 * scripts/config-uname.sh: New file.
10012 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10013 ($(objdir)config-name.h): New target.
10015 * sunrpc/rpc_parse.h: Avoid nested comment.
10017 2010-08-24 Richard Henderson <rth@redhat.com>
10018 Ulrich Drepper <drepper@redhat.com>
10019 H.J. Lu <hongjiu.lu@intel.com>
10021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10023 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10024 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10025 _mm_alignr_epi8 with _mm_loadu_si128.
10026 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10027 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10028 (__m128i_shift_right): Removed.
10029 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10030 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10031 * sysdeps/x86_64/multiarch/varshift.h: New file.
10032 * sysdeps/x86_64/multiarch/varshift.S: New file.
10034 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10036 * configure.in: Move assembler checks to before sysdep dir checking.
10038 2010-08-20 Petr Baudis <pasky@suse.cz>
10040 * LICENSES: Sync the sunrpc license.
10042 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10044 * sunrpc/auth_des.c: Update copyright notice once again.
10045 * sunrpc/auth_none.c: Likewise.
10046 * sunrpc/auth_unix.c: Likewise.
10047 * sunrpc/authdes_prot.c: Likewise.
10048 * sunrpc/authuxprot.c: Likewise.
10049 * sunrpc/bindrsvprt.c: Likewise.
10050 * sunrpc/clnt_gen.c: Likewise.
10051 * sunrpc/clnt_perr.c: Likewise.
10052 * sunrpc/clnt_raw.c: Likewise.
10053 * sunrpc/clnt_simp.c: Likewise.
10054 * sunrpc/clnt_tcp.c: Likewise.
10055 * sunrpc/clnt_udp.c: Likewise.
10056 * sunrpc/clnt_unix.c: Likewise.
10057 * sunrpc/des_crypt.c: Likewise.
10058 * sunrpc/des_soft.c: Likewise.
10059 * sunrpc/get_myaddr.c: Likewise.
10060 * sunrpc/getrpcport.c: Likewise.
10061 * sunrpc/key_call.c: Likewise.
10062 * sunrpc/key_prot.c: Likewise.
10063 * sunrpc/openchild.c: Likewise.
10064 * sunrpc/pm_getmaps.c: Likewise.
10065 * sunrpc/pm_getport.c: Likewise.
10066 * sunrpc/pmap_clnt.c: Likewise.
10067 * sunrpc/pmap_prot.c: Likewise.
10068 * sunrpc/pmap_prot2.c: Likewise.
10069 * sunrpc/pmap_rmt.c: Likewise.
10070 * sunrpc/rpc/auth.h: Likewise.
10071 * sunrpc/rpc/auth_unix.h: Likewise.
10072 * sunrpc/rpc/clnt.h: Likewise.
10073 * sunrpc/rpc/des_crypt.h: Likewise.
10074 * sunrpc/rpc/key_prot.h: Likewise.
10075 * sunrpc/rpc/netdb.h: Likewise.
10076 * sunrpc/rpc/pmap_clnt.h: Likewise.
10077 * sunrpc/rpc/pmap_prot.h: Likewise.
10078 * sunrpc/rpc/pmap_rmt.h: Likewise.
10079 * sunrpc/rpc/rpc.h: Likewise.
10080 * sunrpc/rpc/rpc_des.h: Likewise.
10081 * sunrpc/rpc/rpc_msg.h: Likewise.
10082 * sunrpc/rpc/svc.h: Likewise.
10083 * sunrpc/rpc/svc_auth.h: Likewise.
10084 * sunrpc/rpc/types.h: Likewise.
10085 * sunrpc/rpc/xdr.h: Likewise.
10086 * sunrpc/rpc_clntout.c: Likewise.
10087 * sunrpc/rpc_cmsg.c: Likewise.
10088 * sunrpc/rpc_common.c: Likewise.
10089 * sunrpc/rpc_cout.c: Likewise.
10090 * sunrpc/rpc_dtable.c: Likewise.
10091 * sunrpc/rpc_hout.c: Likewise.
10092 * sunrpc/rpc_main.c: Likewise.
10093 * sunrpc/rpc_parse.c: Likewise.
10094 * sunrpc/rpc_parse.h: Likewise.
10095 * sunrpc/rpc_prot.c: Likewise.
10096 * sunrpc/rpc_sample.c: Likewise.
10097 * sunrpc/rpc_scan.c: Likewise.
10098 * sunrpc/rpc_scan.h: Likewise.
10099 * sunrpc/rpc_svcout.c: Likewise.
10100 * sunrpc/rpc_tblout.c: Likewise.
10101 * sunrpc/rpc_util.c: Likewise.
10102 * sunrpc/rpc_util.h: Likewise.
10103 * sunrpc/rpcinfo.c: Likewise.
10104 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10105 * sunrpc/rpcsvc/key_prot.x: Likewise.
10106 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10107 * sunrpc/rpcsvc/mount.x: Likewise.
10108 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10109 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10110 * sunrpc/rpcsvc/rex.x: Likewise.
10111 * sunrpc/rpcsvc/rstat.x: Likewise.
10112 * sunrpc/rpcsvc/rusers.x: Likewise.
10113 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10114 * sunrpc/rpcsvc/spray.x: Likewise.
10115 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10116 * sunrpc/rtime.c: Likewise.
10117 * sunrpc/svc.c: Likewise.
10118 * sunrpc/svc_auth.c: Likewise.
10119 * sunrpc/svc_authux.c: Likewise.
10120 * sunrpc/svc_raw.c: Likewise.
10121 * sunrpc/svc_run.c: Likewise.
10122 * sunrpc/svc_simple.c: Likewise.
10123 * sunrpc/svc_tcp.c: Likewise.
10124 * sunrpc/svc_udp.c: Likewise.
10125 * sunrpc/svc_unix.c: Likewise.
10126 * sunrpc/svcauth_des.c: Likewise.
10127 * sunrpc/xcrypt.c: Likewise.
10128 * sunrpc/xdr.c: Likewise.
10129 * sunrpc/xdr_array.c: Likewise.
10130 * sunrpc/xdr_float.c: Likewise.
10131 * sunrpc/xdr_mem.c: Likewise.
10132 * sunrpc/xdr_rec.c: Likewise.
10133 * sunrpc/xdr_ref.c: Likewise.
10134 * sunrpc/xdr_sizeof.c: Likewise.
10135 * sunrpc/xdr_stdio.c: Likewise.
10137 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10140 2010-08-19 Andreas Schwab <schwab@redhat.com>
10142 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10144 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10146 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10147 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10148 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10149 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10150 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10151 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10153 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10154 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10155 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10156 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10157 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10158 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10159 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10161 2010-07-26 Anton Blanchard <anton@samba.org>
10163 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10164 * malloc/arena.c (heap_trim): Likewise.
10166 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10168 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10171 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10173 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10175 * sysdeps/i386/elf/Makefile: New file.
10177 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10179 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10180 from fanotify_init.
10181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10184 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10186 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10188 * sysdeps/multiarch/strcmp.S: Likewise.
10190 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10192 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10193 strncase_l-nonascii.
10194 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10195 Add strncase_l-ssse3.
10196 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10197 * sysdeps/x86_64/strcmp.S: Likewise.
10198 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10199 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10200 * sysdeps/x86_64/strncase.S: New file.
10201 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10202 * sysdeps/x86_64/strncase_l.S: New file.
10203 * string/Makefile (strop-tests): Add strncasecmp.
10204 * string/test-strncasecmp.c: New file.
10206 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10209 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10210 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10212 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10214 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10216 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10218 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10222 2010-05-01 Alan Modra <amodra@gmail.com>
10224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10225 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10226 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10227 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10228 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10229 tidying. Don't tail-call __sigjmp_save for static lib.
10230 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10232 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10233 (CALL_MCOUNT): Add eh info, and nop after bl.
10234 (TAIL_CALL_SYSCALL_ERROR): New macro.
10235 (PSEUDO_RET): Use it.
10236 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10237 Correct save location of integer regs and cr.
10238 (_dl_profile_resolve): Correct cr save location. Delete nops
10239 after bl when SHARED. Reduce cfi size a little by better
10240 placement of cfi directives.
10241 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10242 make a stack frame. Instead use parm save area as a temp.
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10244 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10246 Don't make a stack frame for parent, use parm save area.
10247 Increase child stack frame to 112 bytes. Don't save unused reg,
10248 and adjust reg usage. Set up cfi on error recovery and
10249 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10251 (__makecontext): Add dummy nop after jump to exit.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10253 Use correct parm save area and cr save, reduce stack frame.
10254 Correct cfi for possible PSEUDO_RET frame setup.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10256 Branch to local label emitted by PSEUDO_RET rather than
10259 2010-08-12 Andreas Schwab <schwab@redhat.com>
10262 * locale/programs/locale.c (print_assignment): New function.
10263 (show_locale_vars): Use it.
10265 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10267 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10269 (struct statfs64): Likewise.
10270 (_STATFS_F_FLAGS): Define.
10271 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10273 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10274 (ST_VALID): Define locally.
10275 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10276 __statvfs_getflags, use the provided value.
10277 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10278 __ASSUME_STATFS_F_FLAGS.
10280 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10282 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10283 Add sys/fanotify.h.
10284 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10285 fanotify_mask for GLIBC_2.13.
10286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10287 fanotify_init and fanotify_mark.
10288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10289 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10291 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10293 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10294 prlimit64 for GLIBC_2.13.
10295 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10300 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10301 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10302 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10305 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10308 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10309 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10311 * nss/Makefile: Add rules to build and run tst-nss-test1.
10312 * shlib-versions: Add entry for libnss_test1.
10313 * nss/nss_test1.c: New file.
10314 * nss/tst-nss-test1.c: New file.
10316 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10317 (__nss_configure_lookup): Set appropriate entry in
10318 __nss_configure_lookup to true.
10319 * nss/nsswitch.h: Define enum with indeces of databases in
10320 databases and __nss_database_custom arrays. Declare
10321 __nss_database_custom.
10322 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10323 to avoid using nscd when custom rules are installed.
10324 * nss/getXXbyYY_r.c: Likewise.
10325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10327 * nss/nss_files/files-parse.c: Whitespace fixes.
10329 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10332 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10333 * posix/fnmatch_loop.c: Likewise.
10335 2010-07-17 Andi Kleen <ak@linux.intel.com>
10337 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10338 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10339 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10340 * Versions.def [GLIBC_2.13]: Add.
10342 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10345 Also fail if tpwd after pwuid call is NULL.
10347 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10349 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10350 when converting to ms.
10352 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10354 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10355 EOPNOTSUPP errors with ENOTTY.
10356 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10357 EOPNOTSUPP errors with ENOTTY.
10359 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10361 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10362 Add strcasecmp_l-ssse3.
10363 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10365 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10366 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10367 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10369 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10371 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10373 * string/Makefile (strop-tests): Add strcasecmp.
10374 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10375 strcasecmp_l-nonascii.
10376 (gen-as-const-headers): Add locale-defines.sym.
10377 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10378 * sysdeps/x86_64/strcasecmp.S: New file.
10379 * sysdeps/x86_64/strcasecmp_l.S: New file.
10380 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10381 * sysdeps/x86_64/locale-defines.sym: New file.
10382 * string/test-strcasecmp.c: New file.
10384 * string/test-strcasestr.c: Test both ends of the range of characters.
10385 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10387 2010-07-29 Roland McGrath <roland@redhat.com>
10390 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10392 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10394 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10397 2010-07-27 Andreas Schwab <schwab@redhat.com>
10399 * manual/memory.texi (Malloc Tunable Parameters): Document
10402 2010-07-26 Roland McGrath <roland@redhat.com>
10405 * configure.in (-fgnu89-inline check): Set and substitute
10406 gnu89_inline, not libc_cv_gnu89_inline.
10407 * configure: Regenerated.
10408 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10410 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10412 * string/test-strnlen.c: New file.
10413 * string/Makefile (strop-tests): Add strnlen.
10414 * string/tester.c (test_strnlen): Add a few more test cases.
10415 * string/tst-strlen.c: Better error reporting.
10417 * sysdeps/x86_64/strnlen.S: New file.
10419 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10421 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10422 lower-latency instructions.
10424 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10426 * string/test-strcasestr.c: New file.
10427 * string/test-strstr.c: New file.
10428 * string/Makefile (strop-tests): Add strstr and strcasestr.
10429 * string/str-two-way.h: Don't undefine MAX.
10430 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10432 2010-07-21 Andreas Schwab <schwab@redhat.com>
10434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10435 strcasestr-nonascii.
10436 (CFLAGS-strcasestr-nonascii.c): Define.
10437 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10439 Remove unused attribute.
10441 2010-07-20 Roland McGrath <roland@redhat.com>
10443 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10444 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10445 ld.so.cache was broken. With it, there is no way to disable dsocaps
10446 like LD_HWCAP_MASK can disable hwcaps.
10448 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10450 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10452 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10454 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10455 call in strcasestr.
10456 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10457 __strcasestr_sse42_nonascii.
10458 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10459 strcasestr-nonascii.c.
10460 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10462 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10464 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10465 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10466 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10467 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10469 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10474 2010-07-06 Andreas Schwab <schwab@redhat.com>
10477 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10480 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10483 _PC_PIPE_BUF using F_GETPIPE_SZ.
10485 2010-07-05 Roland McGrath <roland@redhat.com>
10487 * manual/arith.texi (Rounding Functions): Fix rint description
10488 implicit in round description.
10490 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10492 * elf/Makefile: Fix linking for a few tests to make recent linker
10495 2010-06-30 Andreas Schwab <schwab@redhat.com>
10497 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10498 $(common-objpfx)libc_nonshared.a.
10500 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10502 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10503 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10504 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10505 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10506 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10507 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10508 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10509 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10524 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10525 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10526 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10527 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10528 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10529 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10530 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10531 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10532 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10533 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10534 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10535 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10551 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10553 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10554 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10555 * string/memmove.c (memmove): Renamed to ...
10556 (MEMMOVE): ...this. Default to memmove.
10557 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10558 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10561 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10562 mempcpy-ssse3-back memmove-ssse3-back.
10563 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10566 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10567 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10568 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10569 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10570 * sysdeps/x86_64/multiarch/memmove.c: New file.
10571 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10572 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10573 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10574 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10575 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10578 (index_Fast_Copy_Backward): Define.
10579 (HAS_ARCH_FEATURE): Define.
10580 (HAS_FAST_REP_STRING): Define.
10581 (HAS_FAST_COPY_BACKWARD): Define.
10583 2010-06-21 Andreas Schwab <schwab@redhat.com>
10585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10586 Restore proper fallback handling.
10588 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10591 * posix/group_member.c (__group_member): Correct checking loop.
10593 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10594 OOM in getpwuid_r correctly. Return error number when the caller
10595 should return, otherwise -1.
10596 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10597 call returning > 0 value.
10598 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10600 2010-06-07 Andreas Schwab <schwab@redhat.com>
10602 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10603 libc_nonshared.a from targets in modules-names.
10605 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10607 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10610 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10612 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10613 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10617 2010-06-02 Andreas Schwab <schwab@redhat.com>
10619 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10621 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10623 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10632 2010-06-14 Roland McGrath <roland@redhat.com>
10634 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10636 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10638 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10639 __REDIRECT followed by __THROW.
10640 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10641 * posix/getopt.h (getopt): Likewise.
10643 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10645 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10646 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10647 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10649 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10650 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10652 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
10654 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10656 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10660 Properly check family and model.
10662 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10664 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10666 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
10668 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10670 2010-05-21 Ulrich Drepper <drepper@redhat.com>
10672 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10675 2010-05-19 Andreas Schwab <schwab@redhat.com>
10677 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10680 2010-05-21 Andreas Schwab <schwab@redhat.com>
10682 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10683 and internal_recvmmsg.
10684 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10685 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10686 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10687 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10689 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10690 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10691 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10693 2010-05-20 Andreas Schwab <schwab@redhat.com>
10695 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10697 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
10699 POWER7 optimizations.
10700 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10701 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10703 2010-05-19 Ulrich Drepper <drepper@redhat.com>
10705 * version.h: Update for 2.13 development version.
10707 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
10709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10710 exceptions. Return 0.
10712 2010-05-07 Roland McGrath <roland@redhat.com>
10714 * elf/ldconfig.c (main): Add a const.
10716 2010-05-06 Ulrich Drepper <drepper@redhat.com>
10718 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10719 (args_options): Add no-idn option.
10720 (ahosts_keys_int): Add idn_flags to ai_flags.
10721 (parse_option): Handle 'i' option to clear idn_flags.
10723 * malloc/malloc.c (_int_free): Possible race in the most recently
10724 added check. Only act on the data if no current modification
10727 See ChangeLog.17 for earlier changes.