]> sourceware.org Git - glibc.git/blob - ChangeLog
Replace Elf64_XXX with ElfW(XXX) in dl-irel.h
[glibc.git] / ChangeLog
1 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * include/link.h (ELFW): New macro.
4 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6
7 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8
9 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10 with uint64_t.
11
12 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13
14 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15 declaration.
16 (struct La_x32_retval): Likewise.
17
18 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19
20 * sysdeps/x86_64/preconfigure.in: New file.
21 * sysdeps/x86_64/preconfigure: New generated file.
22
23 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24
25 [BZ #13824]
26 * math/e_exp2l.c: Include <float.h>.
27 (__ieee754_exp2l): Handle overflow and underflow cases
28 separately. Only pass fractional part of argument to
29 __ieee754_expl.
30 * math/libm-test.inc (exp2_test): Add more tests.
31
32 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33 negating x to take absolute value.
34 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35 Likewise.
36 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38 Likewise.
39 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40 computing low part if x was negated.
41 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42
43 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44
45 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46 la_x32_gnu_pltexit.
47 (pltexit): Cast int_retval to ptrdiff_t.
48 * elf/tst-auditmod3b.c: Likewise.
49 * elf/tst-auditmod4b.c: Likewise.
50 * elf/tst-auditmod5b.c: Likewise.
51 * elf/tst-auditmod6b.c: Likewise.
52 * elf/tst-auditmod6c.c: Likewise.
53 * elf/tst-auditmod7b.c: Likewise.
54
55 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
56 and x32_gnu_pltexit.
57
58 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59 __ELF_NATIVE_CLASS.
60 (La_x32_regs): New macro.
61 (La_x32_retval): Likewise.
62 (la_x32_gnu_pltenter): New function prototype.
63 (la_x32_gnu_pltexit): Likewise.
64
65 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
66
67 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68 exponent.
69
70 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71
72 * configure.in (libc_cv_cc_nofma): Check for option to disable
73 generation of FMA instructions.
74 * configure: Regenerate.
75 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
76 * sysdeps/ieee754/dbl-64/Makefile: New file.
77 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78 Remove brandred-fma4.
79 (CFLAGS-brandred-fma4.c): Remove.
80 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
81 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82 define.
83 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84 define.
85
86 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
87
88 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
89 LLONG_MAX != LONG_MAX.
90 (_itoa_word): Use _ITOA_WORD_TYPE on value.
91 (_fitoa_word): Likewise.
92 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
93 LLONG_MAX != LONG_MAX.
94 * stdio-common/_itowa.h: Include <_itoa.h>.
95 (_itowa_word): Use _ITOA_WORD_TYPE on value.
96 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
97 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
98 only if not defined.
99 (_ITOA_WORD_TYPE): Likewise.
100 (_itoa_word): Use _ITOA_WORD_TYPE on value.
101 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
102
103 2012-03-21 David S. Miller <davem@davemloft.net>
104
105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
106
107 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
108
109 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
110 of x86_64 when setting libc_cv_slibdir, libdir and
111 libc_cv_localedir.
112 * sysdeps/unix/sysv/linux/configure: Regenerated.
113
114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
115
116 * manual/lang.texi (Old Varargs): Remove section.
117 (How Variadic): Update menu.
118 (va_start): Do not mention varargs.h.
119
120 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
121 Joseph Myers <joseph@codesourcery.com>
122
123 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
124 link test.
125 * configure: Regenerated.
126
127 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
128
129 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
130 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
131 conformtest.pl
132
133 2012-03-21 Joseph Myers <joseph@codesourcery.com>
134
135 * NOTES: Remove.
136 * Makefile (files-for-dist): Remove NOTES.
137 (NOTES): Remove rule.
138 * README: Don't refer to NOTES.
139 * manual/creature.texi: Don't include macros.texi.
140 * manual/intro.texi (creature.texi): Remove comment referring to
141 NOTES.
142
143 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
144 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
145 * configure: Regenerated.
146 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
147 LIBC_TRY_CC_OPTION.
148 (libc_cv_as_i686): Likewise.
149 (libc_cv_cc_avx): Likewise.
150 (libc_cv_cc_sse2avx): Likewise.
151 (libc_cv_cc_fma4): Likewise.
152 (libc_cv_cc_novzeroupper): Likewise.
153 * sysdeps/i386/configure: Regenerated.
154
155 [BZ #13883]
156 * sysdeps/i386/fpu/s_cexp.S: Remove.
157 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
158 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
159 * math/libm-test.inc (cexp_test): Add more tests.
160 * sysdeps/i386/fpu/libm-test-ulps: Update.
161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
162
163 2012-03-21 Allan McRae <allan@archlinux.org>
164
165 * timezone/Makefile: Do not install iso3166.tab and zone.tab
166
167 2012-03-21 Joseph Myers <joseph@codesourcery.com>
168
169 [BZ #13871]
170 * math/w_exp2.c: Do not include <float.h>.
171 (o_threshold, u_threshold): Remove.
172 (__exp2): Calculate result before checking finiteness and calling
173 __kernel_standard.
174 * math/w_exp2f.c: Likewise.
175 * math/w_exp2l.c: Likewise.
176 * math/libm-test.inc (exp2_test): Require overflow exception for
177 1e6 input.
178
179 [BZ #3866]
180 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
181 range of signed 64-bit integers before using fistpll. Remove
182 checks for whether integers fit in mantissa bits.
183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
184 the range of signed 32-bit integers before using fistpl. Remove
185 checks for whether integers fit in mantissa bits.
186 * sysdeps/i386/fpu/e_powl.S (p64): New object.
187 (__ieee754_powl): Test for y outside the range of signed 64-bit
188 integers before using fistpll. Reduce 64-bit values to 63-bit
189 ones as needed.
190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
191 divide-by-zero is raised for zero to large negative powers.
192 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
193 (__ieee754_powl): Test for y outside the range of signed 64-bit
194 integers before using fistpll. Reduce 64-bit values to 63-bit
195 ones as needed.
196 * math/libm-test.inc (pow_test): Add more tests.
197
198 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
199
200 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
201 <stdio-common/_itoa.h>.
202 * debug/segfault.c: Likewise.
203 * elf/dl-cache.c: Likewise.
204 * elf/dl-minimal.c: Likewise.
205 * elf/dl-misc.c: Likewise.
206 * elf/dl-sysdep.c: Likewise.
207 * elf/dl-version.c: Likewise.
208 * elf/rtld.c: Likewise.
209 * hurd/hurdsock.c: Likewise.
210 * hurd/lookup-retry.c: Likewise.
211 * malloc/malloc.c: Likewise.
212 * malloc/mtrace.c: Likewise.
213 * nscd/nscd_getgr_r.c: Likewise.
214 * nscd/nscd_getpw_r.c: Likewise.
215 * nscd/nscd_getserv_r.c: Likewise.
216 * posix/getopt_init.c: Likewise.
217 * posix/wordexp.c: Likewise.
218 * stdio-common/_itoa.c: Likewise.
219 * stdio-common/printf_fphex.c: Likewise.
220 * stdio-common/vfprintf.c: Likewise.
221 * string/_strerror.c: Likewise.
222 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
223 * sysdeps/i386/i686/hp-timing.h: Likewise.
224 * sysdeps/mach/_strerror.c: Likewise.
225 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
226 * sysdeps/mach/hurd/sethostid.c: Likewise.
227 * sysdeps/mach/hurd/xmknodat.c: Likewise.
228 * sysdeps/mach/xpg-strerror.c: Likewise.
229 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
230 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
231 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
232 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
233 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
234 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
236 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
237 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
238 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
239 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
240 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
241 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
242 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
243 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
244 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
245 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
246 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
247 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
248 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
249 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
250
251 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
252
253 * stdio-common/_itoa.h: Moved to ...
254 * sysdeps/generic/_itoa.h: Here.
255
256 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
257
258 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
259 instead of "_itoa.h" and "_itowa.h".
260 * stdio-common/vfprintf.: Likewise.
261
262 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
263
264 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
265 <bits/wordsize.h>.
266 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
267 (__signbit): Likwise.
268 (llrintf): Likwise.
269 (llrint): Likwise.
270
271 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
272
273 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
274 __WORDSIZE != 64.
275
276 2012-03-20 Joseph Myers <joseph@codesourcery.com>
277
278 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
279 OVERFLOW_EXCEPTION_OK.
280 * math/libm-test.inc ("Philosophy"): Update comment about
281 exception testing.
282 (OVERFLOW_EXCEPTION): Define.
283 (OVERFLOW_EXCEPTION_OK): Likewise.
284 (INVALID_EXCEPTION_OK): Renumber.
285 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
286 (IGNORE_ZERO_INF_SIGN): Likewise.
287 (test_exceptions): Handle FE_OVERFLOW.
288 (exp10_test): Expect overflow exceptions.
289 (exp2_test): Likewise.
290 (expm1_test): Likewise.
291 (nextafter_test): Likewise.
292 (pow_test): Likewise.
293 (scalbn_test): Likewise.
294 (scalbln_test): Likewise.
295
296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
297
298 * sysdeps/x86_64/bits/atomic.h
299 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
300 64bit integer.
301 (atomic_exchange_acq): Likewise.
302 (__arch_exchange_and_add_body): Likewise.
303 (__arch_add_body): Likewise.
304 (atomic_add_negative): Likewise.
305 (atomic_add_zero): Likewise.
306
307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
308
309 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
310 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
311
312 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
313
314 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
315 Check __x86_64__ instead of __WORDSIZE.
316
317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
318
319 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
320
321 2012-03-19 David S. Miller <davem@davemloft.net>
322
323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
324
325 * sysdeps/sparc/fpu/fenv_private.h: New file.
326 * sysdeps/sparc/fpu/math_private.h: Use it.
327 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
328 Remove.
329 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
330 (libc_feholdexcept_setroundl): Remove.
331 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
332 Remove.
333 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
334 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
335
336 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
337
338 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
339 int64_t instead of long int.
340 (INSERT_WORDS64): Likwise.
341
342 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
343
344 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
345 _Unwind_GetCFA return to _Unwind_Ptr first.
346
347 2012-03-19 Joseph Myers <joseph@codesourcery.com>
348
349 [BZ #13629]
350 * math/s_clog.c: Include <float.h>.
351 (__clog): Scale large or subnormal inputs.
352 * math/s_clogf.c: Likewise.
353 * math/s_clogl.c: Likewise.
354 * math/s_clog10.c: Include <float.h>.
355 (M_LOG10_2): Define.
356 (__clog10): Scale large or subnormal inputs.
357 * math/s_clog10f.c: Likewise.
358 * math/s_clog10l.c: Likewise.
359 * math/libm-test.inc (clog_test): Add more tests.
360 (clog10_test): Likewise.
361 * sysdeps/i386/fpu/libm-test-ulps: Update.
362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363
364 [BZ #11451]
365 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
366 x and y.
367 * math/libm-test.inc (atan2_test): Add another test.
368
369 * Makerules (common-objdir-compile): Remove.
370 * sysdeps/unix/Makefile (config-generated): Do not add
371 $(unix-generated) to variable.
372 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
373 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
374 Remove rule.
375 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
376 Likewise.
377 [generic bits/local_lim.h] (before-compile): Do not append to
378 variable.
379 [generic bits/local_lim.h] (common-generated): Likewise.
380 [generic sys/param.h] (before-compile): Do not append to variable.
381 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
382 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
383 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
384 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
385 include.
386 [generic sys/param.h] (sys/param.h-includes): Remove variable.
387 [generic sys/param.h] (sys/param.h-includes): Remove rule.
388 [generic sys/param.h] ($(addprefix
389 $(common-objpfx),$(sys/param.h-includes))): Likewise.
390 [generic sys/param.h] (common-generated): Do not append to
391 variable.
392 [generic sys/param.h] (sysdep_headers): Likewise.
393 [generic bits/errno.h] (before-compile): Do not append to
394 variable.
395 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
396 rule.
397 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
398 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
399 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
400 [generic bits/errno.h] (common-generated): Do not append to
401 variable.
402 [generic bits/ioctls.h] (before-compile): Do not append to
403 variable.
404 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
405 rule.
406 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
407 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
408 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
409 rule.
410 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
411 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
412 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
413 [generic bits/ioctls.h] (common-generated): Do not append to
414 variable.
415 [generic sys/syscall.h] (syscall.h): Remove variable.
416 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
417 rule.
418 [generic sys/syscall.h] (before-compile): Do not append to
419 variable.
420 [generic sys/syscall.h] (common-generated): Likewise.
421 * sysdeps/unix/errnos-tmpl.c: Remove file.
422 * sysdeps/unix/errnos.awk: Likewise.
423 * sysdeps/unix/ioctls-tmpl.c: Likewise.
424 * sysdeps/unix/ioctls.awk: Likewise.
425 * sysdeps/unix/mk-local_lim.c: Likewise.
426 * sysdeps/unix/snarf-ioctls: Likewise.
427
428 2012-03-19 Richard Henderson <rth@twiddle.net>
429
430 * sysdeps/i386/fpu/fenv_private.h: New file.
431 * sysdeps/i386/fpu/math_private.h: Use it.
432 (math_opt_barrier, math_force_eval): Remove.
433 (libc_feholdexcept_setround_53bit): Remove.
434 (libc_feupdateenv_53bit): Remove.
435 * sysdeps/x86_64/fpu/math_private.h: Likewise.
436 (math_opt_barrier, math_force_eval): Remove.
437 (libc_feholdexcept): Remove.
438 (libc_feholdexcept_setround): Remove.
439 (libc_fetestexcept, libc_fesetenv): Remove.
440 (libc_feupdateenv_test): Remove.
441 (libc_feupdateenv, libc_feholdsetround): Remove.
442 (libc_feresetround): Remove.
443
444 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
445 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
446
447 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
448 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
449 (libc_feupdateenv_testl): New.
450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
451 (libc_feupdateenv_testf): New.
452 (libc_feupdateenv): Use libc_feupdateenv_test.
453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
455
456 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
457 (libc_feholdsetroundf, libc_feholdsetroundl): New.
458 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
459 (libc_feresetround_noex): New.
460 (libc_feresetround_noexf): New.
461 (libc_feresetround_noexl): New.
462 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
463 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
464 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
465 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
466 SET_RESTORE_ROUND.
467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
469 (__cos): Likewise.
470 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
472 SET_RESTORE_ROUND_NOEX.
473 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
474 SET_RESTORE_ROUND_NOEXF.
475 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
476 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
477 (libc_feholdsetroundf): New.
478 (libc_feresetround, libc_feresetroundf): New.
479
480 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
481 (libc_feholdexcept_setround_53bit): Convert from macro to function.
482 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
483
484 * sysdeps/generic/math_private.h: Include <fenv.h>.
485 (default_libc_feholdexcept): New.
486 (default_libc_feholdexcept_setround): New.
487 (default_libc_fesetenv, default_libc_feupdateenv): New.
488 (libc_feholdexcept): Only define if undefined.
489 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
490 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
491 (libc_feholdexcept_setroundl): Likewise.
492 (libc_feholdexcept_setround_53bit): Likewise.
493 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
494 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
495 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
496 (libc_feupdateenv_53bit): Likewise.
497 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
498 (libc_feholdexcept): Convert from macro to inline function.
499 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
500 (libc_fesetenv, libc_feupdateenv): Likewise.
501
502 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
503 not previously defined.
504 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
505 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
506 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
507 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
508 * sysdeps/ieee754/flt-32/math_private.h: New file.
509 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
510 math_private.h below SET_FLOAT_WORD.
511 (__isnan, __isinf_ns, __finite): Remove.
512 (__isnanf, __isinf_nsf, __finitef): Remove.
513
514 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
515
516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
517
518 2012-03-17 David S. Miller <davem@davemloft.net>
519
520 [BZ #6471]
521 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
522 for 2.16.
523
524 2012-03-16 David S. Miller <davem@davemloft.net>
525
526 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
527 warnings.
528
529 [BZ #6471]
530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
531 properly.
532 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
533 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
534 sysdep_routines when subdir is sysvipc.
535 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
536 __getshmlba helper.
537
538 * sysdeps/sparc/fpu/libm-test/ulps: Update.
539
540 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
541
542 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
543 [__LP64__].
544
545 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
546
547 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
548 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
549 (__lround): Renamed to ...
550 (__llround): This. Replace long int with long long int.
551 Define lround functions as aliases of llround functions.
552 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
553
554 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
555
556 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
557 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
558 adresses to uintptr_t. Replace "long int" and "unsigned long
559 int" with "greg_t" on va_arg.
560
561 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
562
563 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
564 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
565
566 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
567 Move e_machine check before EI_CLASS check. Handle x32
568 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
569 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
570 SKIP_EM_IA_64 and include
571 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
572
573 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
574 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
575 (add_system_dir): New macro.
576
577 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
578 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
579
580 2012-03-16 Joseph Myers <joseph@codesourcery.com>
581
582 [BZ #2551]
583 [BZ #2552]
584 [BZ #2553]
585 [BZ #2554]
586 [BZ #2562]
587 [BZ #2563]
588 [BZ #2565]
589 [BZ #2566]
590 [BZ #2576]
591 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
592 (y0): Likewise.
593 * math/w_j0f.c (j0f): Likewise.
594 (y0f): Likewise.
595 * math/w_j0l.c (__j0l): Likewise.
596 (__y0l): Likewise.
597 * math/w_j1.c (j1): Likewise.
598 (y1): Likewise.
599 * math/w_j1f.c (j1f): Likewise.
600 (y1f): Likewise.
601 * math/w_j1l.c (__j1l): Likewise.
602 (__y1l): Likewise.
603 * math/w_jn.c (jn): Likewise.
604 (yn): Likewise.
605 * math/w_jnf.c (jnf): Likewise.
606 (ynf): Likewise.
607 * math/w_jnl.c (__jnl): Likewise.
608 (__ynl): Likewise.
609 * math/libm-test.inc (j0_test): Add more tests.
610 (j1_test): Likewise.
611 (jn_test): Likewise. Add trailing semicolon to existing test.
612 (y0_test): Likewise.
613 (y1_test): Likewise.
614 * sysdeps/i386/fpu/libm-test-ulps: Update.
615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616
617 [BZ #13851]
618 [BZ #13854]
619 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
620 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
621 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
623 (__tanl): Set errno for infinite argument.
624 * sysdeps/i386/fpu/mptan.c: Remove.
625 * sysdeps/i386/fpu/s_tan.S: Likewise.
626 * sysdeps/i386/fpu/s_tanl.S: Likewise.
627 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
628 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
629 * math/libm-test.inc (tan_test): Add more tests and enable more
630 tests for double and long double.
631 * sysdeps/i386/fpu/libm-test-ulps: Update.
632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
633
634 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
635
636 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
637 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
638
639 2012-03-16 Roland McGrath <roland@hack.frob.com>
640
641 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
642 * configure.in: Use it for both main tree and add-ons.
643 * configure: Regenerated.
644
645 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
646
647 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
648
649 2012-03-16 Joseph Myers <joseph@codesourcery.com>
650
651 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
652 in comment.
653
654 [BZ #13851]
655 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
656 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
657 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
658 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
659 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
660 infinite argument.
661 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
663 != 0 for prec == 2.
664 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
665 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
666 * sysdeps/i386/fpu/s_cosl.S: Likewise.
667 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
668 * sysdeps/i386/fpu/s_sinl.S: Likewise.
669 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
670 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
671 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
672 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
673 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
674 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
675 * math/libm-test.inc (cos_test): Add more tests and enable more
676 tests for long double.
677 (sin_test): Likewise.
678 (sincos_test): Likewise.
679 * sysdeps/i386/fpu/libm-test-ulps: Update.
680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681
682 2012-03-16 David S. Miller <davem@davemloft.net>
683
684 * sysdeps/sparc/fpu/math_private.h: New file.
685
686 2012-03-15 David S. Miller <davem@davemloft.net>
687
688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
689 file.
690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
692 file.
693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
699 sysdep routines.
700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
701
702 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
703 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
704
705 * sysdeps/sparc/sparc-ifunc.h: New file.
706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
707 sparc-ifunc.h
708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
710 Likewise.
711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
712 Likewise.
713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
717 Likewise.
718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
723 Likewise.
724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
725 Likewise.
726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
750
751 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
752
753 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
754 scaling.
755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
756
757 2012-03-15 Andreas Jaeger <aj@suse.de>
758
759 [BZ #13852]
760 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
761 ieee754/flt-32 implementation for sin, cos and sincos.
762 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
763 * sysdeps/i386/fpu/s_cosf.S: Likewise.
764 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
765 * sysdeps/i386/fpu/s_sinf.S: Likewise.
766 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
767 ieee754/flt-32 implementation for tan.
768
769 * math/libm-test.inc (cos_test): Enable some large input tests for
770 float as well
771 (sin_test): Likewise.
772 (sincos_test): Likewise.
773 (tan_test): Add tests for large input.
774
775 * sysdeps/i386/fpu/libm-test-ulps: Update.
776
777 2012-03-15 Andreas Jaeger <aj@suse.de>
778
779 [BZ #13658]
780 * math/libm-test.inc (cos_test): Add more test cases.
781 (sin_test): Likewise.
782 (sincos_test): Likewise.
783
784 2012-03-15 Andreas Jaeger <aj@suse.de>
785
786 [BZ #13837]
787 * math/libm-test.inc (cos_test): Add a test case for large input
788 value.
789 (sin_test): Likewise.
790 (sincos_test): Likewise.
791
792 2012-03-15 Andreas Jaeger <aj@suse.de>,
793 Joseph Myers <joseph@codesourcery.com>
794
795 [BZ #13658]
796 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
797 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
798 * sysdeps/i386/fpu/branred.c: Likewise.
799 * sysdeps/i386/fpu/dosincos.c: Likewise.
800 * sysdeps/i386/fpu/mpa.c: Likewise.
801 * sysdeps/i386/fpu/s_cos.S: Likewise.
802 * sysdeps/i386/fpu/s_sin.S: Likewise.
803 * sysdeps/i386/fpu/s_sincos.S: Likewise.
804 * sysdeps/i386/fpu/sincos32.c: Likewise.
805
806 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
807 Define.
808 (libc_feupdateenv_53bit): Define.
809 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
810 Define.
811 (libc_feupdateenv_53bit): Define.
812
813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
814 53 bit (without extend i386 double precision).
815
816 * math/libm-test.inc (sincos_test): Add tests for large input.
817 (sin): Likewise.
818 (cos): Likewise.
819
820 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
821
822 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
823
824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
825
826 2012-03-15 David S. Miller <davem@davemloft.net>
827
828 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
829 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
830 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
831 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
844 file.
845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
847 file.
848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
850 file.
851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
853 file.
854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
856 fmin/fmax sysdep routines.
857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
858
859 2012-03-14 David S. Miller <davem@davemloft.net>
860
861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
881 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
882 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
887 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
890 routines.
891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
892 file.
893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
895 file.
896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
898 file.
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
901 file.
902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
904 file.
905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
907 file.
908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
909 file.
910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
911 file.
912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
913 file.
914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
915 New file.
916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
917 file.
918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
919 file.
920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
922 file.
923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
925 file.
926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
928 file.
929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
931 VIS3 routines.
932
933 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
934 New file.
935
936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
937
938 * sysdeps/sparc/configure.in: New file.
939 * sysdeps/sparc/configure: Generate.
940 * configure.in (libc_cv_sparc_as_vis3): Substitute.
941 * configure: Regenerate.
942 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
943 * config.make.in (have-as-vis3): New.
944 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
945 available use -Av9d instead of -Av9a.
946 * sysdeps/sparc/sparc64/Makefile: Likewise.
947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
949 New file.
950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
951 file.
952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
953 New file.
954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
955 file.
956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
961
962 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
963 fzeros/fnegs to load 0x80000000 into a float register instead of
964 using the stack.
965 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
966
967 2012-03-14 Joseph Myers <joseph@codesourcery.com>
968
969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
970 bits/syscall.h.
971 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
972 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
973 ($(inst_includedir)/bits/syscall.h): Remove rule.
974 ($(objpfx)bits/syscall.d): Include instead of
975 $(objpfx)syscall-list.d.
976 (generated): Change syscall-list.h and syscall-list.d to
977 bits/syscall.h and bits/syscall.d.
978
979 2012-03-14 Roland McGrath <roland@hack.frob.com>
980
981 [BZ #13846]
982 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
983
984 2012-03-14 Joseph Myers <joseph@codesourcery.com>
985
986 [BZ #13841]
987 * math/s_csqrt.c: Include <float.h>.
988 (__csqrt): Scale large or subnormal inputs.
989 * math/s_csqrtf.c: Likewise.
990 * math/s_csqrtl.c: Likewise.
991 * math/libm-test.inc (csqrt_test): Add more tests.
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994
995 [BZ #13840]
996 * math/libm-test.inc (hypot_test): Add more tests.
997
998 2012-03-13 David S. Miller <davem@davemloft.net>
999
1000 [BZ #13840]
1001 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1002 double-precision for the calculation instead of scaling.
1003
1004 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1005
1006 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1007 manipulate bits before adding and subtracting TWO52[sx].
1008 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1010 Likewise.
1011 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1012
1013 2012-03-13 David S. Miller <davem@davemloft.net>
1014
1015 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1016 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1018 rtld-global-offsets.h
1019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1020
1021 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1022 large parameters.
1023
1024 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1025
1026 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1027 'err' in the ifdef scope in which it is actually used.
1028
1029 * nss/nss_db/db-init.c: Include string.h
1030
1031 2012-03-12 David S. Miller <davem@davemloft.net>
1032
1033 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1034 masking out of the most significant byte of random value used.
1035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1036 Fix coding style in previous change.
1037
1038 * sysdeps/unix/sysv/linux/kernel-features.h
1039 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1040 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1041 expression.
1042 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1043 later.
1044
1045 2012-03-11 David S. Miller <davem@davemloft.net>
1046
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1048 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1050 for 'resultvar' otherwise things get truncated on 64-bit.
1051
1052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1053 Fix masking out of the most significant byte of random value used.
1054
1055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1056
1057 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1058
1059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1060
1061 2012-03-09 David S. Miller <davem@davemloft.net>
1062
1063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1064 variables with appropriate CPP guards.
1065 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1066 frame pointer, not the stack pointer. Correct layout comments. Fix test
1067 on resulting framesize and the management of the outregs buffer for pltexit.
1068 Preserve floating point return values across _dl_call_pltexit call.
1069 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1070 framesize and the management of the outregs buffer for pltexit.
1071 Preserve floating point return values across _dl_call_pltexit
1072 call.
1073 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1074 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1075 (print_exit): Fix format string for return register value.
1076
1077 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1078
1079 * sunrpc/Makefile (others): Add rpcgen.
1080 ($(objpfx)rpcgen): Remove special build rule and dependency on
1081 libc.
1082 * sunrpc/rpcgen.c: New file.
1083
1084 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1085
1086 [BZ #13673]
1087 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1088 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1089 * sysdeps/i386/crti.S: Likewise.
1090 * sysdeps/i386/crtn.S: Likewise.
1091 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1092 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1095 * sysdeps/sh/crti.S: Likewise.
1096 * sysdeps/sh/crtn.S: Likewise.
1097 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1098
1099 [BZ #13673]
1100 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1101 with URL.
1102 * locale/programs/locfile-kw.gperf: Likewise.
1103 * locale/programs/charmap-kw.h: Regenerated.
1104 * locale/programs/locfile-kw.h: Likewise.
1105
1106 [BZ #13673]
1107 * intl/plural.y: Replace FSF snail mail address with URL.
1108 * intl/plural.c: Regenerated.
1109
1110 2012-03-09 Richard Henderson <rth@twiddle.net>
1111
1112 * include/math_private.h: Remove file.
1113 * math/math_private.h: Move file ...
1114 * sysdeps/generic/math_private.h: ... here.
1115
1116 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1117 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1118 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1119
1120 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1121 and <math_private.h>.
1122 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1123 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1124 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1125 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1126 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1127 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1128 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1129 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1130 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1133 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1134 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1136 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1139 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1140 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1141 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1143 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1144 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1146 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1147 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1148 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1151 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1152 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1153 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1154 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1155 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1156 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1157 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1158 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1159 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1165 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1166 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1169 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1170 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1171 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1172 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1173 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1174 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1175 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1176 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1177 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1178 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1179 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1180 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1181 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1182 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1183 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1185 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1186 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1187 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1188 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1189 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1191 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1194 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1195 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1196 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1198 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1205 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1206 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1209 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1210 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1211 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1212 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1213 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1214 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1215 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1216 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1217 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1218 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1219 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1221 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1222 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1223 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1224 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1225 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1227 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1228 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1229 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1230 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1231 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1232 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1233 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1234 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1235 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1236 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1237 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1238 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1239 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1240 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1241 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1242 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1243 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1245 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1246 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1247 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1248 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1249 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1250 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1251 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1252 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1253 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1254 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1255 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1256 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1257 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1258 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1259 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1260 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1261 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1262 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1263 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1264 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1265 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1266 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1267 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1268 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1269 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1270 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1271 * sysdeps/ieee754/k_standard.c: Likewise.
1272 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1273 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1274 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1275 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1279 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1285 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1286 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1378 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1379 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1387 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1391 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1394 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1399 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1404 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1405 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1406 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1407 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1415 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1416 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1417 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1421 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1422 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1424 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1425 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1426 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1427 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1428 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1429 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1430 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1431 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1432 * sysdeps/ieee754/s_lib_version.c: Likewise.
1433 * sysdeps/ieee754/s_matherr.c: Likewise.
1434 * sysdeps/ieee754/s_signgam.c: Likewise.
1435 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1436 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1437 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1438 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1439 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1441 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1442 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1443 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1444 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1445 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1446 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1447 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1448 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1449 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1450 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1451 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1452 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1453 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1456
1457 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1458
1459 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1460 * sunrpc/rpc_main.c: Likewise.
1461 * sunrpc/rpc_svcout.c: Likewise.
1462
1463 2012-03-09 David S. Miller <davem@davemloft.net>
1464
1465 * include/math_private.h: New file.
1466
1467 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1468
1469 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1470 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1471 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1472 from <bits/socket_type.h>.
1473 (enum __socket_type): Don't define here.
1474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1476 bits/socket_type.h.
1477
1478 [BZ #13566]
1479 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1480 checking __USE_GNU.
1481
1482 * Makerules ($(inst_includedir)/%.h): New rule.
1483 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1484 (install-others): Remove variable setting.
1485 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1486
1487 2012-03-08 Richard Henderson <rth@twiddle.net>
1488
1489 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1490 from macro to inline function; merge with the
1491 !__LIBC_INTERNAL_MATH_INLINES version.
1492 (__ieee754_sqrtf): Likewise.
1493
1494 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1495 to inline function.
1496 (__rintf, __floor, __floorf): Likewise.
1497
1498 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1499 macro to inline function.
1500 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1501
1502 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1503 not <math/math_private.h>.
1504
1505 2012-03-08 David S. Miller <davem@davemloft.net>
1506
1507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1508 copyright year.
1509 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1510
1511 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1512
1513 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1514 normalization.
1515 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1516 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1517
1518 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1519
1520 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1521 be defined individually, they must be defined as a block. Define
1522 S for printing a string instead of hidint the different by using a
1523 macro for adding the 'l'.
1524 * stdio-common/tst-fphex-wide.c: Adjust.
1525
1526 2012-03-07 Marek Polacek <polacek@redhat.com>
1527
1528 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1529
1530 2012-03-08 Marek Polacek <polacek@redhat.com>
1531
1532 [BZ #13806]
1533 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1534 * stdio-common/tst-fphex.c: Define a few macros to make the
1535 test reusable. Use them.
1536 * stdio-common/tst-fphex-wide.c: New file.
1537
1538 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1539
1540 [BZ #6911]
1541 * manual/macros.texi (gnusystems): New macro.
1542 (nongnusystems): Likewise.
1543 (gnulinuxhurdsystems): Likewise.
1544 (gnuhurdsystems): Likewise..
1545 (gnulinuxsystems): Likewise.
1546 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1547 variants of the GNU system, not "GNU system".
1548 * manual/conf.texi: Likewise.
1549 * manual/errno.texi: Likewise. Update example of errno macro
1550 expansion.
1551 * manual/filesys.texi: Likewise.
1552 (getumask): Document as specific to GNU/Hurd.
1553 * manual/install.texi: Likewise. Reword some references to
1554 GNU/Linux.
1555 * manual/intro.texi: Likewise.
1556 * manual/io.texi: Likewise.
1557 (File Name Portability): Detail which constraints are inapplicable
1558 to all GNU systems and which are only inapplicable to GNU/Hurd.
1559 * manual/job.texi: Likewise.
1560 * manual/llio.texi: Likewise.
1561 (O_NOCTTY): Document as present on GNU/Linux.
1562 * manual/maint.texi: Likewise.
1563 * manual/memory.texi: Likewise.
1564 * manual/pattern.texi: Likewise.
1565 * manual/pipe.texi: Likewise.
1566 * manual/process.texi: Likewise.
1567 * manual/resource.texi: Likewise.
1568 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1569 child on GNU/Hurd.
1570 * manual/setjmp.texi: Likewise.
1571 * manual/signal.texi: Likewise.
1572 * manual/startup.texi: Likewise.
1573 * manual/stdio.texi: Likewise.
1574 * manual/terminal.texi: Likewise.
1575 (ONLCR): Document as POSIX.
1576 (OXTABS): Document availability on GNU/Linux as XTABS.
1577 (ONOEOT): Document availability separately from other bits.
1578 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1579 * manual/time.texi: Likewise.
1580 * manual/users.texi: Likewise.
1581 * INSTALL: Regenerated.
1582 * sysdeps/gnu/errlist.c: Regenerated.
1583
1584 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1585 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1586 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1587 puts.
1588 * configure: Regenerated.
1589
1590 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1591
1592 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1593 default includes instead of AC_HEADER_CHECK.
1594 * sysdeps/i386/configure: Regenerated.
1595
1596 [BZ #10716]
1597 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1598 * math/s_cacoshf.c (__cacoshf): Likewise.
1599 * math/s_cacoshl.c (__cacoshl): Likewise.
1600 * math/s_casinh.c (__casinh): Set signs of result from argument.
1601 * math/s_casinhf.c (__casinhf): Likewise.
1602 * math/s_casinhl.c (__casinhl): Likewise.
1603 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1604 (casinh_test): Add more tests.
1605 * sysdeps/i386/fpu/libm-test-ulps: Update.
1606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1607
1608 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1609
1610 * po/zh_TW.po: Update from translation team.
1611
1612 * login/Makefile (distribute): Remove variable.
1613 * catgets/Makefile: Likewise.
1614 * mach/Makefile: Likewise.
1615 * malloc/Makefile: Likewise.
1616 * misc/Makefile: Likewise.
1617 * iconv/Makefile: Likewise.
1618 * nscd/Makefile: Likewise.
1619 * hurd/Makefile: Likewise.
1620 * manual/Makefile: Likewise.
1621 * locale/Makefile: Likewise.
1622 * intl/Makefile: Likewise.
1623 * conform/Makefile: Likewise.
1624 * nss/Makefile: Likewise.
1625 * time/Makefile: Likewise.
1626 * soft-fp/Makefile: Likewise.
1627 * dirent/Makefile: Likewise.
1628 * gmon/Makefile: Likewise.
1629 * po/Makefile: Likewise.
1630 * rt/Makefile: Likewise.
1631 * socket/Makefile: Likewise.
1632 * math/Makefile: Likewise.
1633 * signal/Makefile: Likewise.
1634 * debug/Makefile: Likewise.
1635 * elf/Makefile: Likewise.
1636 * timezone/Makefile: Likewise.
1637 * stdlib/Makefile: Likewise.
1638 * iconvdata/Makefile: Likewise.
1639 * sunrpc/Makefile: Likewise.
1640 * io/Makefile: Likewise.
1641 * argp/Makefile: Likewise.
1642 * inet/Makefile: Likewise.
1643 * hesiod/Makefile: Likewise.
1644 * grp/Makefile: Likewise.
1645 * csu/Makefile: Likewise.
1646 * wctype/Makefile: Likewise.
1647 * crypt/Makefile: Likewise.
1648 * libio/Makefile: Likewise.
1649 * string/Makefile: Likewise.
1650 * nis/Makefile: Likewise.
1651 * resolv/Makefile: Likewise.
1652 * stdio-common/Makefile: Likewise.
1653 * wcsmbs/Makefile: Likewise.
1654 * dlfcn/Makefile: Likewise.
1655 * posix/Makefile: Likewise.
1656
1657 * timezone/Makefile: Don't install timezone files, just the programs
1658 and scripts.
1659
1660 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1661
1662 * nss/databases.def: Add missing gshadow entry.
1663
1664 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1665
1666 2012-03-06 Marek Polacek <polacek@redhat.com>
1667
1668 [BZ #13726]
1669 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1670 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1671 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1672 * stdio-common/tst-long-dbl-fphex.c: New file.
1673
1674 2012-03-06 David S. Miller <davem@davemloft.net>
1675
1676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1677 (set_obp_int): New function.
1678 (get_obp_int): New function.
1679 (__get_clockfreq_via_dev_openprom): Likewise.
1680 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1681 Avoid unused variable warnings on 'val' and use builtin_expect.
1682 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1683 __builtin_expect.
1684 (INLINE_CLONE_SYSCALL): Likewise.
1685
1686 2012-03-05 David S. Miller <davem@davemloft.net>
1687
1688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1689
1690 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1691
1692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1693
1694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1695 only for |x| >= 40.
1696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1697
1698 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1701 Replace gettimeofday with __vdso_gettimeofday.
1702
1703 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1704 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1705 __vdso_clock_gettime and __vdso_getcpu.
1706
1707 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1708 time with __vdso_time.
1709
1710 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1711
1712 * manual/lang.texi (size_t): Note types to which size_t may be
1713 equivalent with the GNU C Library, but do not describe when
1714 differences between them are significant.
1715
1716 2012-03-05 Andreas Jaeger <aj@suse.de>
1717
1718 * sysdeps/i386/fpu/libm-test-ulps: Update.
1719
1720 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1721
1722 [BZ #3976]
1723 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1724 (__ieee754_pow): Save and restore rounding mode and use
1725 round-to-nearest for main computations.
1726 * math/libm-test.inc (pow_test_tonearest): New function.
1727 (pow_test_towardzero): Likewise.
1728 (pow_test_downward): Likewise.
1729 (pow_test_upward): Likewise.
1730 (main): Call the new functions.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1733
1734 [BZ #3976]
1735 * math/libm-test.inc (cosh_test_tonearest): New function.
1736 (cosh_test_towardzero): Likewise.
1737 (cosh_test_downward): Likewise.
1738 (cosh_test_upward): Likewise.
1739 (sinh_test_tonearest): Likewise.
1740 (sinh_test_towardzero): Likewise.
1741 (sinh_test_downward): Likewise.
1742 (sinh_test_upward): Likewise.
1743 (main): Call the new functions.
1744 * sysdeps/i386/fpu/libm-test-ulps: Update.
1745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1746
1747 2012-03-05 Tom de Vries <tom@codesourcery.com>
1748
1749 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1750 default stack guard is set in last bytes.
1751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1752
1753 2012-03-05 Kees Cook <keescook@chromium.org>
1754
1755 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1756
1757 [BZ #13656]
1758 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1759 possibly allocate from heap instead of stack.
1760 * stdio-common/bug-vfprintf-nargs.c: New file.
1761 * stdio-common/Makefile (tests): Add nargs overflow test.
1762
1763 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1764
1765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1766
1767 2012-03-03 Marek Polacek <polacek@redhat.com>
1768
1769 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1770 * math/math_private.h: Likewise.
1771 * stdlib/tst-strtod.c: Likewise.
1772 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1773 * sysdeps/x86_64/bits/atomic.h: Likewise.
1774
1775 2012-03-02 David S. Miller <davem@davemloft.net>
1776
1777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1781 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1782 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1783 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1784 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1785
1786 2012-03-02 Roland McGrath <roland@hack.frob.com>
1787
1788 [BZ #13792]
1789 * manual/examples/README: New file, says the example source files
1790 can be used under GPL>=2.
1791 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1792 line containing just "*/".
1793 * manual/examples/add.c: Add copyright header (GPL>=2).
1794 * manual/examples/argp-ex1.c: Likewise.
1795 * manual/examples/argp-ex2.c: Likewise.
1796 * manual/examples/argp-ex3.c: Likewise.
1797 * manual/examples/argp-ex4.c: Likewise.
1798 * manual/examples/atexit.c: Likewise.
1799 * manual/examples/db.c: Likewise.
1800 * manual/examples/dir.c: Likewise.
1801 * manual/examples/dir2.c: Likewise.
1802 * manual/examples/execinfo.c: Likewise.
1803 * manual/examples/filecli.c: Likewise.
1804 * manual/examples/filesrv.c: Likewise.
1805 * manual/examples/fmtmsgexpl.c: Likewise.
1806 * manual/examples/genpass.c: Likewise.
1807 * manual/examples/inetcli.c: Likewise.
1808 * manual/examples/inetsrv.c: Likewise.
1809 * manual/examples/isockad.c: Likewise.
1810 * manual/examples/longopt.c: Likewise.
1811 * manual/examples/memopen.c: Likewise.
1812 * manual/examples/memstrm.c: Likewise.
1813 * manual/examples/mkfsock.c: Likewise.
1814 * manual/examples/mkisock.c: Likewise.
1815 * manual/examples/mygetpass.c: Likewise.
1816 * manual/examples/pipe.c: Likewise.
1817 * manual/examples/popen.c: Likewise.
1818 * manual/examples/rprintf.c: Likewise.
1819 * manual/examples/search.c: Likewise.
1820 * manual/examples/select.c: Likewise.
1821 * manual/examples/setjmp.c: Likewise.
1822 * manual/examples/sigh1.c: Likewise.
1823 * manual/examples/sigusr.c: Likewise.
1824 * manual/examples/stpcpy.c: Likewise.
1825 * manual/examples/strdupa.c: Likewise.
1826 * manual/examples/strftim.c: Likewise.
1827 * manual/examples/strncat.c: Likewise.
1828 * manual/examples/subopt.c: Likewise.
1829 * manual/examples/swapcontext.c: Likewise.
1830 * manual/examples/termios.c: Likewise.
1831 * manual/examples/testopt.c: Likewise.
1832 * manual/examples/testpass.c: Likewise.
1833 * manual/examples/timeval_subtract.c: Likewise.
1834
1835 [BZ #13792]
1836 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1837 function to ...
1838 * manual/timeval_subtract.c.texi: ... here, new file.
1839
1840 2012-03-02 David S. Miller <davem@davemloft.net>
1841
1842 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1843
1844 2012-03-02 Joseph Myers <joseph@codesourcery.com>
1845
1846 [BZ #3976]
1847 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1848 (__sin): Save and restore rounding mode and use round-to-nearest
1849 for all computations.
1850 (__cos): Save and restore rounding mode and use round-to-nearest
1851 for all computations.
1852 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1853 <fenv.h>.
1854 (tan): Save and restore rounding mode and use round-to-nearest for
1855 all computations.
1856 * math/libm-test.inc (cos_test_tonearest): New function.
1857 (cos_test_towardzero): Likewise.
1858 (cos_test_downward): Likewise.
1859 (cos_test_upward): Likewise.
1860 (sin_test_tonearest): Likewise.
1861 (sin_test_towardzero): Likewise.
1862 (sin_test_downward): Likewise.
1863 (sin_test_upward): Likewise.
1864 (tan_test_tonearest): Likewise.
1865 (tan_test_towardzero): Likewise.
1866 (tan_test_downward): Likewise.
1867 (tan_test_upward): Likewise.
1868 (main): Call the new functions.
1869 * sysdeps/i386/fpu/libm-test-ulps: Update.
1870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1871
1872 [BZ #10135]
1873 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1874 small n, then large n, before computing and testing k+n.
1875 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1877 Likewise.
1878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1879 Likewise.
1880 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1881 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1885 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1886 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1887 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1888 * math/libm-test.inc (scalbn_test): Add more tests.
1889 (scalbln_test): Likewise.
1890
1891 * manual/filesys.texi (mode_t): Describe constraints on size and
1892 signedness, not exact equivalence to a particular type.
1893 (ino_t): Likewise.
1894 (ino64_t): Likewise.
1895 (dev_t): Likewise.
1896 (nlink_t): Likewise.
1897 (blkcnt_t): Likewise.
1898 (blkcnt64_t): Likewise.
1899 * manual/llio.texi (off_t): Likewise.
1900
1901 [BZ #3976]
1902 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1903 (__ieee754_exp): Save and restore rounding mode and use
1904 round-to-nearest for all computations.
1905 * math/libm-test.inc (exp_test_tonearest): New function.
1906 (exp_test_towardzero): Likewise.
1907 (exp_test_downward): Likewise.
1908 (exp_test_upward): Likewise.
1909 (main): Call the new functions.
1910 * sysdeps/i386/fpu/libm-test-ulps: Update.
1911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1912
1913 2012-03-01 Chris Demetriou <cgd@google.com>
1914
1915 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1916 have predictable order.
1917
1918 2012-03-01 David S. Miller <davem@davemloft.net>
1919
1920 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1921
1922 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1923 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1924 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1925 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1926
1927 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1928 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1929 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1931 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1932 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1933 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1934 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1935 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1936
1937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1938
1939 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1940 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1941 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1942
1943 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1944 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1945 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1946 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1947 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1949 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1950 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1951 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1952 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1953 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1959 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1960 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1961 * sysdeps/sparc/elf/configure: Regenerated.
1962
1963 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1964
1965 * configure.in (AS, LD): Require binutils 2.20 or later.
1966 * configure: Regenerated.
1967 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1968 as required minimum version.
1969 * INSTALL: Regenerated.
1970
1971 [BZ #2541]
1972 [BZ #4108]
1973 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1974 before squaring exponent.
1975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1976 bottom long double and 27 bits of top long double before squaring
1977 exponent.
1978 * math/libm-test.inc (erfc_test): Add more tests.
1979 * sysdeps/i386/fpu/libm-test-ulps: Update.
1980 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1982
1983 2012-03-01 Kai Tietz <ktietz@redhat.com>
1984
1985 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1986 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1987 containing bit-fields.
1988 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1989 * soft-fp/single.h (_FP_UNION_S): Likewise.
1990 * soft-fp/double.h (_FP_UNION_D): Likewise.
1991
1992 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1993
1994 [BZ #13786]
1995 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1996 not include ../strcmp.S.
1997 [USE_AS_STRNCASECMP_L]: Likewise.
1998 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1999 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2000 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2001 (__strncasecmp_l_ia32): Define as alias to
2002 __strncasecmp_l_nonascii.
2003
2004 [BZ #5794]
2005 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2006 * sysdeps/i386/fpu/libm-test-ulps: Update.
2007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2008
2009 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2011
2012 2012-02-29 Jeff Law <law@redhat.com>
2013
2014 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2015 out of bounds read.
2016
2017 2012-02-29 Marek Polacek <polacek@redhat.com>
2018
2019 [BZ #13706]
2020 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2021 * elf/Makefile: Add rules to run tst-unused-dep.out.
2022
2023 2012-02-28 David S. Miller <davem@davemloft.net>
2024
2025 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2026 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2029 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2030 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2031
2032 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2033
2034 * math/libm-test.inc (llround_test): Move one test from
2035 lround_test. Use TEST_f_L in moved test.
2036 (lround_test): Move misplaced test to llround_test. Add testcase
2037 from bug 2561.
2038
2039 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2040
2041 * sysdeps/x86_64/fpu/e_expf.S: New file.
2042 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2043
2044 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2045
2046 [BZ #13637]
2047 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2048 of remain_len that may cause incomplete multi-byte character and
2049 false match.
2050 * posix/bug-regex33.c: New file.
2051 * posix/Makefile (tests): Add bug-regex33.
2052
2053 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2054
2055 * manual/macros.texi: New file.
2056 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2057 * manual/libc.texinfo: Include macros.texi.
2058 * manual/creatute.texi: Likewise.
2059 * manual/install.texi: Likewise.
2060 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2061 @glibcadj{} in references to the GNU C Library.
2062 * manual/charset.texi: Likewise.
2063 * manual/conf.texi: Likewise.
2064 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2065 when not using those macros.
2066 * manual/creature.texi: Likewise.
2067 * manual/crypt.texi: Likewise.
2068 * manual/errno.texi: Likewise.
2069 * manual/filesys.texi: Likewise.
2070 * manual/header.texi: Likewise.
2071 * manual/install.texi: Likewise.
2072 * manual/intro.texi: Likewise.
2073 * manual/io.texi: Likewise.
2074 * manual/job.texi: Likewise.
2075 * manual/lang.texi: Likewise.
2076 * manual/libc.texiinfo: Likewise.
2077 * manual/llio.texi: Likewise.
2078 * manual/locale.texi: Likewise.
2079 * manual/maint.texi: Likewise.
2080 * manual/math.texi: Likewise.
2081 * manual/memory.texi: Likewise.
2082 * manual/message.texi: Likewise.
2083 * manual/nss.texi: Likewise.
2084 * manual/pattern.texi: Likewise.
2085 * manual/process.texi: Likewise.
2086 * manual/resource.texi: Likewise.
2087 * manual/search.texi: Likewise.
2088 * manual/setjmp.texi: Likewise.
2089 * manual/signal.texi: Likewise.
2090 * manual/socket.texi: Likewise.
2091 * manual/startup.texi: Likewise.
2092 * manual/stdio.texi: Likewise.
2093 * manual/string.texi: Likewise.
2094 * manual/sysinfo.texi: Likewise.
2095 * manual/syslog.texi: Likewise.
2096 * manual/terminal.texi: Likewise.
2097 * manual/time.texi: Likewise.
2098 * manual/users.texi: Likewise.
2099 * INSTALL: Regenerated.
2100 * NOTES: Regenerated.
2101 * sysdeps/gnu/errlist.c: Regenerated.
2102
2103 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2104
2105 * include/dirent.h: Include <dirstream.h> before
2106 <dirent/dirent.h>.
2107
2108 2012-02-28 David S. Miller <davem@davemloft.net>
2109
2110 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2111 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2112 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2113 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2114
2115 2012-02-27 David S. Miller <davem@davemloft.net>
2116
2117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2119 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2120 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2121
2122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2123 frame pointer instead of stack pointer relative arg slot.
2124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2125 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2126 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2127
2128 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2129
2130 [BZ #3992]
2131 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2132
2133 2012-02-27 David S. Miller <davem@davemloft.net>
2134
2135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2139 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2140 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2141 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2142 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2143
2144 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2145
2146 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2147 later. Allow versions 5-9.
2148 * configure: Regenerated.
2149 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2150 required minimum version and 4.6 as recommended version. Do not
2151 mention bugs in GCC 2.7 and 2.8.
2152 * INSTALL: Regenerated.
2153
2154 2012-02-27 David S. Miller <davem@davemloft.net>
2155
2156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2160 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2161 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2162 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2163 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2164
2165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2166 manipulate bits before adding and subtracting TWO112[sx].
2167 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2168
2169 2012-02-27 Roland McGrath <roland@hack.frob.com>
2170
2171 [BZ #13775]
2172 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2173 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2174 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2175 being in POSIX, because they are in 1003.1-2008.
2176
2177 * rt/tst-aio.c: Include <fcntl.h>.
2178 * rt/tst-aio7.c: Likewise.
2179 * rt/tst-aio64.c: Likewise.
2180
2181 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2182
2183 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2184
2185 * manual/install.texi (--with-headers): Describe headers as
2186 interface headers, not private headers.
2187 (Specific advice for GNU/Linux systems): Describe use of headers
2188 from "make headers_install", not private headers from older
2189 kernels.
2190 * INSTALL: Regenerated.
2191 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2192 Change to 2.6.19.
2193 * sysdeps/unix/sysv/linux/configure: Regenerated.
2194
2195 * manual/llio.texi (fclean): Remove documentation.
2196
2197 * manual/Makefile (libc-texi-generated): New variable. Include
2198 version.texi.
2199 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2200 $(libc-texi-generated), not duplicated list of files.
2201 (version.texi, stamp-version): New rules.
2202 (realclean): Remove $(libc-texi-generated), not individual files
2203 from that list. Do not remove dir-add.texinfo.
2204 * manual/libc.texinfo: Comment out uses of edition numbers and
2205 references to printed manual. Remove last-updated dates.
2206 (EDITION): Comment out.
2207 (ISBN): Likewise.
2208 (VERSION, UPDATED): Remove.
2209 (version.texi): Include.
2210
2211 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2212
2213 * sysdeps/posix/spawni.c: Include <signal.h>.
2214 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2215 * sysdeps/pthread/aio_fsync.c: Likewise.
2216
2217 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2218
2219 * conform/Makefile (tests): Run only when not cross-compiling and
2220 when fast-check is not defined.
2221
2222 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2223 * conform/data/limits.h-data: Fixes for POSIX2008.
2224 * conform/run-conformtest.sh: Run all tests.
2225 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2226 headers.
2227 * include/bits/dlfcn.h: Likewise.
2228 * include/langinfo.h: Likewise.
2229 * include/monetary.h: Likewise.
2230 * include/sys/poll.h: Likewise.
2231
2232 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2233 for __USE_GNU.
2234 * posix/spawn.h: Define __need_sigset_t.
2235 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2236 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2237 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2238 to get sigevent_t only.
2239 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2240 only for __USE_GNU.
2241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2242 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2243 process_vm_writev only for __USE_GNU.
2244 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2245
2246 * conform/Makefile: For now ignore errors from run-conformtest.
2247 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2248 POSIX to avoid namespace pollution. Don't prepend headers.
2249 * conform/data/aio.h-data: Fixes for POSIX testing.
2250 * conform/data/fcntl.h-data: Likewise.
2251 * conform/data/glob.h-data: Likewise.
2252 * conform/data/grp.h-data: Likewise.
2253 * conform/data/pthread.h-data: Likewise.
2254 * conform/data/pwd.h-data: Likewise.
2255 * conform/data/signal.h-data: Likewise.
2256 * conform/data/spawn.h-data: Likewise.
2257 * conform/data/stdio.h-data: Likewise.
2258 * conform/data/stdlib.h-data: Likewise.
2259 * conform/data/stropts.h-data: Likewise.
2260 * conform/data/sys/mman.h-data: Likewise.
2261 * conform/data/sys/stat.h-data: Likewise.
2262 * conform/data/sys/types.h-data: Likewise.
2263 * conform/data/sys/wait.h-data: Likewise.
2264 * conform/data/time.h-data: Likewise.
2265 * conform/data/unistd.h-data: Likewise.
2266 * conform/data/utime.h-data: Likewise.
2267
2268 * io/sys/stat.h: fchmod was always in POSIX.
2269 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2270 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2271 * rt/aio.h: Define __need_timespec before including <time.h>.
2272 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2273 struct. Add forward declaration of pthread_attr_t and use it in
2274 sigevent.
2275 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2277 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2278 always remove CLK_TCK definition.
2279
2280 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2281
2282 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2283
2284 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2285
2286 * conform/run-conformtest.sh: New file.
2287 * conform/Makefile: Run run-conformtest for tests.
2288 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2289 support.
2290
2291 * conform/data/uchar.h-data: New file.
2292 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2293 * conform/data/arpa/inet.h-data: Likewise.
2294 * conform/data/assert.h-data: Likewise.
2295 * conform/data/complex.h-data: Likewise.
2296 * conform/data/cpio.h-data: Likewise.
2297 * conform/data/ctype.h-data: Likewise.
2298 * conform/data/dirent.h-data: Likewise.
2299 * conform/data/dlfcn.h-data: Likewise.
2300 * conform/data/errno.h-data: Likewise.
2301 * conform/data/fcntl.h-data: Likewise.
2302 * conform/data/float.h-data: Likewise.
2303 * conform/data/fmtmsg.h-data: Likewise.
2304 * conform/data/fnmatch.h-data: Likewise.
2305 * conform/data/ftw.h-data: Likewise.
2306 * conform/data/glob.h-data: Likewise.
2307 * conform/data/grp.h-data: Likewise.
2308 * conform/data/iconv.h-data: Likewise.
2309 * conform/data/inttypes.h-data: Likewise.
2310 * conform/data/langinfo.h-data: Likewise.
2311 * conform/data/libgen.h-data: Likewise.
2312 * conform/data/limits.h-data: Likewise.
2313 * conform/data/locale.h-data: Likewise.
2314 * conform/data/math.h-data: Likewise.
2315 * conform/data/monetary.h-data: Likewise.
2316 * conform/data/mqueue.h-data: Likewise.
2317 * conform/data/ndbm.h-data: Likewise.
2318 * conform/data/net/if.h-data: Likewise.
2319 * conform/data/netdb.h-data: Likewise.
2320 * conform/data/netinet/in.h-data: Likewise.
2321 * conform/data/nl_types.h-data: Likewise.
2322 * conform/data/poll.h-data: Likewise.
2323 * conform/data/pthread.h-data: Likewise.
2324 * conform/data/pwd.h-data: Likewise.
2325 * conform/data/regex.h-data: Likewise.
2326 * conform/data/sched.h-data: Likewise.
2327 * conform/data/search.h-data: Likewise.
2328 * conform/data/semaphore.h-data: Likewise.
2329 * conform/data/setjmp.h-data: Likewise.
2330 * conform/data/signal.h-data: Likewise.
2331 * conform/data/spawn.h-data: Likewise.
2332 * conform/data/stdarg.h-data: Likewise.
2333 * conform/data/stdio.h-data: Likewise.
2334 * conform/data/stdlib.h-data: Likewise.
2335 * conform/data/string.h-data: Likewise.
2336 * conform/data/strings.h-data: Likewise.
2337 * conform/data/stropts.h-data: Likewise.
2338 * conform/data/sys/ipc.h-data: Likewise.
2339 * conform/data/sys/mman.h-data: Likewise.
2340 * conform/data/sys/msg.h-data: Likewise.
2341 * conform/data/sys/resource.h-data: Likewise.
2342 * conform/data/sys/select.h-data: Likewise.
2343 * conform/data/sys/sem.h-data: Likewise.
2344 * conform/data/sys/shm.h-data: Likewise.
2345 * conform/data/sys/socket.h-data: Likewise.
2346 * conform/data/sys/stat.h-data: Likewise.
2347 * conform/data/sys/statvfs.h-data: Likewise.
2348 * conform/data/sys/time.h-data: Likewise.
2349 * conform/data/sys/timeb.h-data: Likewise.
2350 * conform/data/sys/times.h-data: Likewise.
2351 * conform/data/sys/types.h-data: Likewise.
2352 * conform/data/sys/uio.h-data: Likewise.
2353 * conform/data/sys/un.h-data: Likewise.
2354 * conform/data/sys/utsname.h-data: Likewise.
2355 * conform/data/sys/wait.h-data: Likewise.
2356 * conform/data/syslog.h-data: Likewise.
2357 * conform/data/tar.h-data: Likewise.
2358 * conform/data/termios.h-data: Likewise.
2359 * conform/data/utime.h-data: Likewise.
2360 * conform/data/utmpx.h-data: Likewise.
2361 * conform/data/varargs.h-data: Likewise.
2362 * conform/data/wchar.h-data: Likewise.
2363 * conform/data/wctype.h-data: Likewise.
2364 * conform/data/wordexp.h-data: Likewise.
2365
2366 * include/stropts.h: New file.
2367 * include/uchar.h: New file.
2368 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2369 * include/assert.h: Likewise.
2370 * include/ctype.h: Likewise.
2371 * include/dirent.h: Likewise.
2372 * include/dlfcn.h: Likewise.
2373 * include/fcntl.h: Likewise.
2374 * include/fnmatch.h: Likewise.
2375 * include/glob.h: Likewise.
2376 * include/grp.h: Likewise.
2377 * include/libio.h: Likewise.
2378 * include/locale.h: Likewise.
2379 * include/math.h: Likewise.
2380 * include/net/if.h: Likewise.
2381 * include/netdb.h: Likewise.
2382 * include/netinet/in.h: Likewise.
2383 * include/pthread.h: Likewise.
2384 * include/pwd.h: Likewise.
2385 * include/regex.h: Likewise.
2386 * include/sched.h: Likewise.
2387 * include/search.h: Likewise.
2388 * include/setjmp.h: Likewise.
2389 * include/signal.h: Likewise.
2390 * include/stdio.h: Likewise.
2391 * include/stdlib.h: Likewise.
2392 * include/string.h: Likewise.
2393 * include/sys/cdefs.h: Likewise.
2394 * include/sys/mman.h: Likewise.
2395 * include/sys/msg.h: Likewise.
2396 * include/sys/resource.h: Likewise.
2397 * include/sys/select.h: Likewise.
2398 * include/sys/socket.h: Likewise.
2399 * include/sys/stat.h: Likewise.
2400 * include/sys/statvfs.h: Likewise.
2401 * include/sys/time.h: Likewise.
2402 * include/sys/times.h: Likewise.
2403 * include/sys/uio.h: Likewise.
2404 * include/sys/utsname.h: Likewise.
2405 * include/sys/wait.h: Likewise.
2406 * include/termios.h: Likewise.
2407 * include/time.h: Likewise.
2408 * include/ulimit.h: Likewise.
2409 * include/unistd.h: Likewise.
2410 * include/utime.h: Likewise.
2411 * include/wchar.h: Likewise.
2412 * include/wctype.h: Likewise.
2413 * include/wordexp.h: Likewise.
2414
2415 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2416
2417 * time/time.h: TIME_UTC must be a macro.
2418 Make timespec_get available for ISO C11 only as well.
2419
2420 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2421
2422 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2423 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2424
2425 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2426
2427 * configure.in: Use -o not -a in test for unsupported multi-arch.
2428
2429 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2430
2431 * manual/texinfo.tex: Update to version 2012-01-19.16.
2432
2433 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2434
2435 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2436
2437 2012-02-24 Roland McGrath <roland@hack.frob.com>
2438
2439 [BZ #13738]
2440 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2441 * manual/fdl-1.3.texi: New file.
2442 * manual/fdl-1.1.texi: File removed.
2443
2444 [BZ #13738]
2445 * manual/libc.texinfo (FDL_VERSION): New @set.
2446 Use it for mention of FDL in cover text.
2447 (Documentation License): Use it in @include file name.
2448
2449 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2450 Roland McGrath <roland@hack.frob.com>
2451
2452 [BZ #5461]
2453 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2454 not LONG_LONG_MAX and LONG_LONG_MIN.
2455 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2456 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2457 name.
2458 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2459
2460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2461
2462 [BZ #2547]
2463 [BZ #11365]
2464 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2465 manipulate bits before adding and subtracting TWO23[sx].
2466 * math/libm-test.inc (nearbyint_test): Add more tests.
2467
2468 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2469
2470 [BZ #2548]
2471 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2472 bits before adding and subtracting TWO23[sx].
2473 * math/libm-test.inc (rint_test): Add more tests.
2474 (rint_test_tonearest): Likewise.
2475 (rint_test_towardzero): Likewise.
2476 (rint_test_downward): Likewise.
2477 (rint_test_upward: Likewise.
2478
2479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2480
2481 [BZ #10110]
2482 * include/stdc-predef.h: New file. Extracted from features.h.
2483 * include/features.h: Include stdc-predef.h.
2484 * Makefile (headers): Add stdc-predef.h.
2485 * CONFORMANCE (Compiler limitations): Update.
2486
2487 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2488
2489 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2490
2491 2012-02-21 David S. Miller <davem@davemloft.net>
2492
2493 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2494 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2495
2496 2012-02-20 David S. Miller <davem@davemloft.net>
2497
2498 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2499 using a normal save/restore sequence, rather than allocating a
2500 dummy stack frame just to store a frame pointer and restore.
2501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2502
2503 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2504
2505 * manual/install.texi: Fix stray word in line-wrapped comment.
2506
2507 2012-02-20 David S. Miller <davem@davemloft.net>
2508
2509 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2510 both binutils and gcc support GOTDATA.
2511
2512 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2513 "rd %pc" in the PIC register setup sequences.
2514
2515 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2516 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2517 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2518 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2519 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2524 (SYSCALL_ERROR_HANDLER): Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2526 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2528 (SYSCALL_ERROR_HANDLER): Likewise.
2529
2530 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2531 (HAVE_GCC_GOTDATA): New.
2532 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2533 relocation support in both binutils and gcc.
2534 * sysdeps/sparc/elf/configure: Regenerate.
2535
2536 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2537 * sysdeps/sparc/sparc32/elf/configure: Delete.
2538 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2539 * sysdeps/sparc/sparc64/elf/configure: Delete.
2540 * sysdeps/sparc/elf/configure.in: New file.
2541 * sysdeps/sparc/elf/configure: Generate.
2542
2543 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2544 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2546 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2547 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2548
2549 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2550
2551 * manual/install.texi: Do not mention specific glibc version
2552 numbers.
2553 * manual/libc.texinfo (VERSION, UPDATED): Update.
2554 (@copying): Use @copyright{} and range of years.
2555
2556 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2557
2558 [BZ #13695]
2559 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2560 [crti.S not in sysdirs] (generated): Do not append.
2561 [crti.S not in sysdirs] (omit-deps): Likewise.
2562 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2563 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2564 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2565 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2566 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2567 Likewise.
2568 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2569 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2570 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2571 * csu/defs.awk: Remove file.
2572 * sysdeps/generic/initfini.c: Likewise.
2573 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2574 variable.
2575 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2576 Likewise.
2577
2578 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2579
2580 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2581 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2582 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2584 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2585 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2586 <bits/epoll.h>.
2587 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2588 (__EPOLL_PACKED): Define to empty if not defined by
2589 <bits/epoll.h>.
2590 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2592 bits/epoll.h.
2593
2594 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2595
2596 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2597 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2598 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2599 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2600 <bits/timerfd.h>.
2601 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2603 bits/timerfd.h.
2604
2605 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2606
2607 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2608 in C locale.
2609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2610 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2613
2614 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2615
2616 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2617 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2618
2619 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2620
2621 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2622 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2623 defined.
2624 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2625 Likewise.
2626 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2627 entry for 2.16.
2628
2629 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2630
2631 * math/w_acos.c: Use non-signaling floating-point comparisons.
2632 * math/w_acosf.c: Likewise.
2633 * math/w_acosh.c: Likewise.
2634 * math/w_acoshf.c: Likewise.
2635 * math/w_acoshl.c: Likewise.
2636 * math/w_acosl.c: Likewise.
2637 * math/w_asin.c: Likewise.
2638 * math/w_asinf.c: Likewise.
2639 * math/w_asinl.c: Likewise.
2640 * math/w_atanh.c: Likewise.
2641 * math/w_atanhf.c: Likewise.
2642 * math/w_atanhl.c: Likewise.
2643 * math/w_exp2.c: Likewise.
2644 * math/w_exp2f.c: Likewise.
2645 * math/w_exp2l.c: Likewise.
2646 * math/w_j0.c: Likewise.
2647 * math/w_j0f.c: Likewise.
2648 * math/w_j0l.c: Likewise.
2649 * math/w_j1.c: Likewise.
2650 * math/w_j1f.c: Likewise.
2651 * math/w_j1l.c: Likewise.
2652 * math/w_jn.c: Likewise.
2653 * math/w_jnf.c: Likewise.
2654 * math/w_log.c: Likewise.
2655 * math/w_log10.c: Likewise.
2656 * math/w_log10f.c: Likewise.
2657 * math/w_log10l.c: Likewise.
2658 * math/w_log2.c: Likewise.
2659 * math/w_log2f.c: Likewise.
2660 * math/w_log2l.c: Likewise.
2661 * math/w_logf.c: Likewise.
2662 * math/w_logl.c: Likewise.
2663 * math/w_sqrt.c: Likewise.
2664 * math/w_sqrtf.c: Likewise.
2665 * math/w_sqrtl.c: Likewise.
2666 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2667 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2669 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2670 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2671
2672 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2673
2674 [BZ #9739]
2675 * manual/string.texi (strnlen): Use correct parameter name in
2676 equivalent expression.
2677
2678 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2679
2680 [BZ #11174]
2681 * manual/users.texi (seteuid): Consistently use neweuid for
2682 argument name.
2683
2684 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2685
2686 [BZ #13704]
2687 * manual/nss.texi (Services in the NSS configuration): Correct
2688 list of services in example configuration file.
2689
2690 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2691
2692 [BZ #11322]
2693 * manual/arith.texi: Remove statements about negative zero
2694 behaving identically to zero.
2695
2696 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2697
2698 [BZ #5993]
2699 * manual/install.texi: Do not document upgrading from libc5.
2700
2701 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2702
2703 [BZ #4596]
2704 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2705
2706 2012-02-18 David S. Miller <davem@davemloft.net>
2707
2708 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2709 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2710 %o7 across the call.
2711 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2712 instead.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2714 SETUP_PIC_REG_LEAF.
2715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2716 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2717 * sysdeps/sparc/crtn.S: Likewise.
2718
2719 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2720
2721 * aout/Makefile: Remove.
2722
2723 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2724
2725 [BZ #13058]
2726 * manual/examples/argp-ex1.c (main): Format definition in GNU
2727 style.
2728 * manual/examples/argp-ex2.c (main): Likewise.
2729 * manual/examples/argp-ex3.c (main): Likewise.
2730 * manual/examples/argp-ex4.c (main): Likewise.
2731 * manual/examples/longopt.c (main): Use new-style prototype
2732 definition.
2733 * manual/examples/strncat.c (main): Specify return type and use
2734 (void) for arguments.
2735 * manual/examples/subopt.c (main): Use char **argv argument.
2736
2737 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2738
2739 [BZ #5077]
2740 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2741 rounding modes.
2742
2743 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2744
2745 [BZ #6907]
2746 * manual/string.texi (strchr): Change when strchrnul is
2747 recommended.
2748
2749 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2750
2751 [BZ #174]
2752 * manual/locale.texi (setlocale): Document LOCPATH.
2753
2754 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2755
2756 [BZ #10210]
2757 * manual/process.texi (execle): Move @dots{} before last argument.
2758
2759 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
2760
2761 [BZ #12047]
2762 * manual/charset.texi (Generic Charset Conversion): Fix typo
2763 (LC_TYPE -> LC_CTYPE).
2764
2765 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2766
2767 [BZ #5805]
2768 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2769 (scalbnf): Likewise.
2770 (scalbnl): Likewise.
2771 (scalbln): Likewise.
2772 (scalblnf): Likewise.
2773 (scalblnl): Likewise.
2774 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2775 (vwarnx): Likewise.
2776 (verr): Likewise.
2777 (verrx): Likewise.
2778 * manual/filesys.texi (telldir): Use braces around return type.
2779 * manual/llio.texi (mmap): Add space after comma.
2780 (mmap64): Likewise.
2781 * manual/math.texi (jn): Use @var{} on parameter names.
2782 (jnf): Likewise.
2783 (jnl): Likewise.
2784 (yn): Likewise.
2785 (ynf): Likewise.
2786 (ynl): Likewise.
2787 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2788 line.
2789 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2790 "...".
2791 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2792 (sched_get_priority_max): Likewise.
2793 * manual/signal.texi (sigvec): Add space after comma.
2794 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2795 names.
2796 (if_indextoname): Likewise.
2797 (if_freenameindex): Likewise.
2798 (sendto): Use ',' instead of '.' in prototype.
2799 * manual/startup.texi (syscall): Use @dots{} instead of literal
2800 "...".
2801 * manual/stdio.texi (__fpending): Separate initial words of
2802 paragraph from @deftypefun line.
2803 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2804 "...".
2805 (vsyslog): Use @var{} on parameter names.
2806 * manual/terminal.texi (stty): Use @var{} on parameter names.
2807 * manual/users.texi (getutmp): Use @var{} on parameter names.
2808 (getutmpx): Likewise.
2809
2810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2811
2812 [BZ #6884]
2813 * manual/stdio.texi (fopen): Fix typos in description of
2814 ",ccs=STRING".
2815
2816 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2817
2818 [BZ #4026]
2819 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2820 get clock_id definition.
2821
2822 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
2823
2824 [BZ #4822]
2825 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2826 (madvise): Cast every argument to void on its own.
2827
2828 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2829
2830 [BZ #9902]
2831 * manual/startup.texi (Exit Status): Fix typo.
2832
2833 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2834
2835 [BZ #10140]
2836 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2837 * manual/examples/argp-ex2.c: Likewise.
2838 * manual/examples/argp-ex3.c: Likewise.
2839
2840 2012-02-16 Richard Henderson <rth@redhat.com>
2841
2842 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2843 * sysdeps/s390/s390-32/initfini.c: Remove.
2844 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2845 * sysdeps/s390/s390-64/initfini.c: Remove.
2846
2847 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2848
2849 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2850 compiler output for sysdeps/generic/initfini.c.
2851 * sysdeps/sh/elf/initfini.c: Remove file.
2852
2853 2012-02-16 David S. Miller <davem@davemloft.net>
2854
2855 [BZ #11494]
2856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2857
2858 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2859 * sysdeps/sparc/crti.S: New file.
2860 * sysdeps/sparc/crtn.S: New file.
2861 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2862 * sysdeps/sparc/sparc64/Makefile: Likewise.
2863
2864 2012-02-15 Mike Frysinger <vapier@gentoo.org>
2865
2866 [BZ #3335]
2867 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2868
2869 2012-02-15 Roland McGrath <roland@hack.frob.com>
2870
2871 [BZ #4822]
2872 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2873
2874 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2875 (write, read, close): Likewise.
2876 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2877
2878 2012-02-15 Joseph Myers <joseph@codesourcery.com>
2879
2880 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2881 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2883 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2884 <bits/signalfd.h>.
2885 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2887 bits/signalfd.h.
2888
2889 2012-02-14 Marek Polacek <polacek@redhat.com>
2890
2891 * sysdeps/x86_64/crti.S: New file.
2892 * sysdeps/x86_64/crtn.S: New file.
2893 * sysdeps/x86_64/elf/initfini.c: Remove file.
2894
2895 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2896
2897 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2898 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2900 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2901 <bits/inotify.h>.
2902 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2904 bits/inotify.h.
2905
2906 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2907
2908 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2909 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2910 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2911 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2912 <bits/eventfd.h>.
2913 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2915 bits/eventfd.h.
2916
2917 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2918
2919 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2920 __feraiseexcept instead of feraiseexcept.
2921
2922 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2923 nanosleep invocations.
2924 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2925 strings, and add error checking for a nanosleep invocations.
2926
2927 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2928
2929 Replace FSF snail mail address with URLs, as per GNU coding standards.
2930 Most of the snail mail addresses were wrong anyway, and omitting
2931 them makes the source code easier to maintain. Almost all of the
2932 changes are to license notices and to locale LC_IDENTIFICATION
2933 addresses, except for this one:
2934 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2935 not its snail mail address.
2936
2937 2012-02-09 Richard Henderson <rth@twiddle.net>
2938
2939 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2940 of kernel-features.h.
2941
2942 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2943
2944 2012-02-08 Marek Polacek <polacek@redhat.com>
2945
2946 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2947 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2948 * sysdeps/gnu/_G_config.h: Likewise.
2949 * sysdeps/generic/_G_config.h: Likewise.
2950
2951 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2952
2953 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2954 tests.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2956
2957 * sysdeps/powerpc/powerpc32/crti.S: New file.
2958 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2959 * sysdeps/powerpc/powerpc64/crti.S: New file.
2960 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2961
2962 * Makeconfig (have-initfini): Don't set.
2963 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2964 * configure.in (nopic_initfini): Don't substitute.
2965 * config.h.in (HAVE_INITFINI): Don't #undef.
2966 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2967 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2968
2969 2012-02-08 Joseph Myers <joseph@codesourcery.com>
2970
2971 Support crti.S and crtn.S provided directly by architectures.
2972 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2973 [crti.S in sysdirs] (omit-deps): Likewise.
2974 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2975 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2976 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2977 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2978 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2979 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2980 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2981 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2982 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2983 compiler output for sysdeps/generic/initfini.c.
2984 * sysdeps/i386/elf/Makefile: Remove file.
2985 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2986
2987 2012-02-07 Marek Polacek <polacek@redhat.com>
2988
2989 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2990 * sysdeps/gnu/_G_config.h: Likewise.
2991 * sysdeps/mach/hurd/_G_config.h: Likewise.
2992
2993 2012-02-07 Marek Polacek <polacek@redhat.com>
2994
2995 * math/Makefile (tests): Add tst-CMPLX2.
2996 * math/tst-CMPLX2.c: New file.
2997
2998 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2999
3000 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3001
3002 * math/libm-test.inc (jn_test): Add missing L suffix.
3003
3004 2012-02-06 Marek Polacek <polacek@redhat.com>
3005
3006 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3007 * sysdeps/i386/fpu/e_powf.S: Likewise.
3008 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3009 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3010 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3011 * sysdeps/i386/fpu/e_pow.S: Likewise.
3012 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3013 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3014 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3015 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3016 * sysdeps/i386/fpu/e_log2.S: Likewise.
3017 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3018 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3019 * sysdeps/i386/fpu/e_powl.S: Likewise.
3020 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3021 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3022 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3023 * sysdeps/i386/fpu/e_logl.S: Likewise.
3024 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3025 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3026 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3027 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3028 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3029 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3030 * sysdeps/i386/fpu/e_log.S: Likewise.
3031 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3032 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3033 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3034 * sysdeps/i386/fpu/e_logf.S: Likewise.
3035 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3036 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3037 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3038 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3039 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3040 * sysdeps/i386/fpu/e_log10.S: Likewise.
3041 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3043 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3044 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3046 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3047 * sysdeps/i386/asm-syntax.h: Likewise.
3048 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3049 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3050 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3051 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3052 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3053 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3054 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3055 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3056 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3057 * sysdeps/powerpc/sysdep.h: Likewise.
3058 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3059 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3060
3061 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3062
3063 [BZ #411]
3064 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3065
3066 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3067
3068 * sysdeps/i386/sysdep.h: Include <features.h>.
3069 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3070 version.
3071
3072 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3073
3074 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3075 Define.
3076 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3077 LOAD_PIC_REG_STR.
3078
3079 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3080
3081 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3082 (SETUP_PIC_REG): Use GET_PC_THUNK.
3083 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3084 macro.
3085
3086 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3087
3088 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3089 for non-PIC compilation.
3090 (SETUP_PIC_REG): Add .p2align directive.
3091 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3092 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3098 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3099 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3100 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3102 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3115 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3117 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3118 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3119 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3120 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3132
3133 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3134
3135 * math/tst-CMPLX.c: Include <stdio.h>.
3136
3137 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3138
3139 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3140 float.
3141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3142 * sysdeps/sparc/bits/mathdef.h: Likewise.
3143
3144 2012-01-31 Marek Polacek <polacek@redhat.com>
3145
3146 * libio/libio.h: Don't define _PARAMS.
3147 * locale/programs/config.h: Don't define PARAMS.
3148 * stdlib/strtol_l.c: Likewise.
3149 (__strtol_l): Remove PARAMS from the prototype.
3150
3151 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3152
3153 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3154 names. Just use the correct names. Remove unnecessary wrapper
3155 functions.
3156 * malloc/arena.c: Likewise.
3157 * malloc/hooks.c: Likewise.
3158
3159 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3160 ARENA_TEST says not to. Simplify test for creation of a new arena.
3161 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3162
3163 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3164
3165 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3166 into tail calls.
3167 (update_get_addr): New function.
3168 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3169 GET_ADDR_MODULE parameter.
3170
3171 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3172
3173 * crypt/cert.c: Remove __STDC__ conditionals.
3174 * crypt/crypt-entry.c: Likewise.
3175 * crypt/crypt_util.c: Likewise.
3176 * libio/filedoalloc.c: Likewise.
3177 * libio/fileops.c: Likewise.
3178 * libio/genops.c: Likewise.
3179 * libio/iofclose.c: Likewise.
3180 * libio/iofdopen.c: Likewise.
3181 * libio/iofopen.c: Likewise.
3182 * libio/iofopen64.c: Likewise.
3183 * libio/iogetdelim.c: Likewise.
3184 * libio/iopopen.c: Likewise.
3185 * libio/obprintf.c: Likewise.
3186 * libio/oldfileops.c: Likewise.
3187 * libio/oldiofclose.c: Likewise.
3188 * libio/oldiofdopen.c: Likewise.
3189 * libio/oldiofopen.c: Likewise.
3190 * libio/oldiopopen.c: Likewise.
3191 * libio/wfiledoalloc.c: Likewise.
3192 * libio/wgenops.c: Likewise.
3193 * locale/programs/xmalloc.c: Likewise.
3194 * misc/syslog.c: Likewise.
3195 * stdio-common/xbug.c: Likewise.
3196 * string/memchr.c: Likewise.
3197 * string/memcmp.c: Likewise.
3198 * string/memrchr.c: Likewise.
3199 * string/rawmemchr.c: Likewise.
3200 * sysdeps/posix/getcwd.c: Likewise.
3201 * time/strftime_l.c: Likewise.
3202
3203 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3204
3205 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3206 * config.make.in (config-cflags-sse2avx): Define.
3207 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3208 Fix typo.
3209
3210 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3211
3212 * scripts/config.guess: Update from upstream config git repository.
3213 * scripts/config.sub: Likewise.
3214
3215 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3216
3217 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3218 (EM_NUM): Update.
3219 (R_TILEPRO_*, R_TILEGX_*): New macros.
3220
3221 * scripts/firstversions.awk: Fix bug in version range handling.
3222
3223 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3224
3225 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3226
3227 * include/sys/epoll.h: New file.
3228 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3229 libc_hidden_def.
3230
3231 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3232
3233 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3234 Avoid unnecessary __WORDSIZE == 64 test.
3235 (fmaxf): Use VEX format if possible.
3236 (fmax): Likewise.
3237 (fminf): Likewise.
3238 (fmin): Likewise.
3239
3240 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3241 * math/math_private.h: Remove libc_fegetround* and
3242 libc_fesetround*.
3243 * sysdeps/i386/configure.in: Check for -msse2avx.
3244 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3245 also if SSE2AVX is defined.
3246 Remove libc_fegetround* and libc_fesetround*.
3247 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3248 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3249 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3250 of HAS_YMM_USABLE.
3251 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3252 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3253 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3255 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3256
3257 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3258
3259 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3260
3261 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3262 size is not set.
3263 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3264
3265 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3266
3267 [BZ #13618]
3268 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3269 relocation.
3270 * Makeconfig (libm): Define.
3271 * elf/Makefile: Add rules to build and run tst-relsort1.
3272 * elf/tst-relsort1.c: New file.
3273 * elf/tst-relsort1mod1.c: New file.
3274 * elf/tst-relsort1mod2.c: New file.
3275
3276 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3277
3278 * math/s_ldexp.c: Remove __STDC__ conditionals.
3279 * math/s_ldexpf.c: Likewise.
3280 * math/s_ldexpl.c: Likewise.
3281 * math/s_nextafter.c: Likewise.
3282 * math/s_nexttowardf.c: Likewise.
3283 * math/s_significand.c: Likewise.
3284 * math/s_significandf.c: Likewise.
3285 * math/s_significandl.c: Likewise.
3286 * math/w_jnl.c: Likewise.
3287 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3288 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3289 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3290 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3291 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3301 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3302 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3303 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3304 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3305 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3306 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3307 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3308 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3309 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3310 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3311 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3312 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3313 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3314 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3315 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3316 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3317 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3318 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3319 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3320 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3321 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3322 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3323 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3324 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3325 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3326 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3327 * sysdeps/ieee754/k_standard.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3389 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3394 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3402 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3403 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3406 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3407 * sysdeps/ieee754/s_matherr.c: Likewise.
3408 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3409 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3411 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3412
3413 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3414
3415 * crypt/md5.h: Remove __STDC__ conditionals.
3416 * libio/libioP.h: Likewise.
3417 * locale/programs/config.h: Likewise.
3418 * sysdeps/generic/sysdep.h: Likewise.
3419 * sysdeps/i386/asm-syntax.h: Likewise.
3420 * sysdeps/s390/asm-syntax.h: Likewise.
3421 * sysdeps/unix/sysdep.h: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3424
3425 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3426
3427 * libio/libio.h: Remove __STDC__ conditionals.
3428 * malloc/obstack.h: Likewise.
3429 * math/complex.h: Likewise.
3430 * math/math.h: Likewise.
3431 * sysdeps/generic/_G_config.h: Likewise.
3432 * sysdeps/gnu/_G_config.h: Likewise.
3433 * sysdeps/mach/hurd/_G_config.h: Likewise.
3434 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3435 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3436 * sysdeps/sparc/bits/mathdef.h: Likewise.
3437
3438 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3439
3440 [BZ #13583]
3441 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3442 Clean up HAS_* macros.
3443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3444 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3445 possible.
3446 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3447 HAS_AVX.
3448 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3449 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3450 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3451 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3452 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3453
3454 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3455
3456 * elf/tst-unique3.cc (gets): Remove declaration.
3457 * elf/tst-unique3lib.cc (gets): Likewise.
3458 * elf/tst-unique3lib2.cc (gets): Likewise.
3459 * elf/tst-unique4.cc (gets): Likewise.
3460
3461 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3462
3463 * include/stdio.h: Add C++ protection. Add gets declarations and
3464 definitions.
3465 * debug/tst-chk1.c: Don't declare gets here.
3466 * stdio-common/tst-gets.c: Likewise.
3467
3468 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3469
3470 * posix/glob: Remove directory.
3471
3472 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3473
3474 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3475
3476 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3477
3478 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3479 of the non-standard EPFNOSUPPORT.
3480
3481 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3482
3483 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3484 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3485 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3486
3487 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3488
3489 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3490
3491 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3492
3493 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3494 transient errors.
3495 * nscd/grpcache.c (cache_addgr): Likewise.
3496 * nscd/hstcache.c (cache_addhst): Likewise.
3497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3498 * nscd/pwdcache.c (cache_addpw): Likewise.
3499 * nscd/servicescache.c (cache_addserv): Likewise.
3500
3501 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3502
3503 * malloc/malloc.c: Various cleanups.
3504 * malloc/hooks.c: Likewise.
3505
3506 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3507 * stdlib/bug-fmtmsg1.c: New file.
3508
3509 * stdlib/fmtmsg.c (init): Add missing unlock.
3510 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3511
3512 2012-01-12 Marek Polacek <polacek@redhat.com>
3513
3514 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3515 and _GNU_SOURCE.
3516
3517 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3518
3519 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3520 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3521 macro to ensure uniqueness of label name.
3522 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3523 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3524
3525 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3526
3527 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3528
3529 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3530 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3533
3534 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3535
3536 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3537
3538 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3539 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3540 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3541
3542 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3543
3544 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3545 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3548
3549 * math/bits/math-finite.h: Add ldexp support.
3550
3551 2012-01-10 Marek Polacek <polacek@redhat.com>
3552
3553 * locale/programs/localedef.h (show_archive_content): Add noreturn
3554 attribute.
3555
3556 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3557
3558 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3559
3560 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3561
3562 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3563
3564 * io/Makefile (headers): Add bits/poll2.h.
3565
3566 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3567
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3569 typo #include statement.
3570
3571 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3572
3573 * include/sys/cdefs.h: Define __attribute_alloc_size.
3574 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3575 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3576 * elf/pldd.c: Likewise.
3577 * iconv/iconv_charmap.c: Likewise.
3578 * iconv/iconvconfig.c: Likewise.
3579 * iconv/strtab.c: Likewise.
3580 * locale/programs/locale.c: Likewise.
3581 * locale/programs/localedef.h: Likewise.
3582 * locale/programs/simple-hash.c: Likewise.
3583 * nscd/nscd.h: Likewise.
3584 * nss/makedb.c: Likewise.
3585 * sysdeps/generic/ldconfig.h: Likewise.
3586 * locale/programs/localedef.c: Remove xmalloc prototype.
3587 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3588
3589 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3590
3591 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3592 appropriate.
3593
3594 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3595
3596 * math/Makefile (tests): Add tst-CMPLX.
3597 * math/tst-CMPLX.c: New file.
3598
3599 * math/complex.h (CMPLXL): Fix typo.
3600
3601 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3602 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3603 GLIBC_2.16.
3604 * debug/tst-chk1.c: Add poll and ppoll tests.
3605 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3606 * include/sys/poll.h: Add hidden proto for ppoll.
3607 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3608 * sysdeps/mach/hurd/ppoll.c: Likewise.
3609 * io/ppoll.c: Likewise.
3610 * debug/poll_chk.c: New file.
3611 * debug/ppoll_chk.c: New file.
3612 * include/bits/poll2.h: New file.
3613 * io/bits/poll2.h: New file.
3614
3615 [BZ #1350]
3616 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3617
3618 * configure.in: static is always set to yes. Remove.
3619 * config.make.in: Don't set build-static.
3620 * Makeconfig: Remove use of build-static.
3621 * dlfcn/Makefile: Likewise.
3622 * elf/Makefile: Likewise.
3623 * math/Makefile: Likewise.
3624 * misc/Makefile: Likewise.
3625 * nptl/Makefile: Likewise.
3626 * sysdeps/mach/hurd/Makefile: Likewise.
3627
3628 * configure.in: PWD_P is not used anymore.
3629 * config.make.in: Remove PWD_P entry.
3630
3631 * configure.in: Remove last remnants of RANLIB.
3632 No need to check for signed size_t anymore.
3633 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3634 and IA-64.
3635 Remove __builtin_expect test because we require at least gcc 3.4.
3636 * aclocal.m4: Likewise.
3637
3638 * wcsmbs/mbrtoc16.c: Implement using towc function.
3639 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3640 * wcsmbs/wcsmbsload.c: Likewise.
3641 * iconv/gconv_simple.c: Likewise.
3642 * iconv/gconv_int.h: Likewise.
3643 * iconv/gconv_builtin.h: Likewise.
3644 * iconv/iconv_prog.c: Remove CHAR16 handling.
3645
3646 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3647
3648 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3649
3650 * configure.in: Remove --with-elf and --enable-bounded options.
3651 Dont set base_machine for ia64. More non-ELF conditions removed.
3652 Remove testing and setting of leading underscore information.
3653 * config.make.in (build-bounded): Set to no.
3654 * config.h.in: Remove NO_UNDERSCORES entry.
3655 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3656 them.
3657 * csu/start.c: Remove !NO_UNDERSCORE code.
3658 * locale/localeinfo.h: Likewise.
3659 * sysdeps/generic/machine-gmon.h: Likewise.
3660 * sysdeps/generic/sysdep.h: Likewise.
3661 * sysdeps/i386/sysdep.h: Likewise.
3662 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3663 * sysdeps/mach/sysdep.h: Likewise.
3664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3666 * sysdeps/sh/sysdep.h: Likewise.
3667 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3668 * sysdeps/unix/i386/sysdep.S: Likewise.
3669 * sysdeps/unix/sparc/start.c: Likewise.
3670 * sysdeps/unix/sparc/sysdep.S: Likewise.
3671 * sysdeps/unix/sparc/sysdep.h: Likewise.
3672 * sysdeps/unix/start.c: Likewise.
3673 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3674 * sysdeps/x86_64/sysdep.h: Likewise.
3675
3676 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3677
3678 [BZ #13553]
3679 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3680 for non-gcc.
3681 * argp/argp-fmtstream.h: Use const instead __const.
3682 * argp/argp.h: Likewise.
3683 * assert/assert.h: Likewise.
3684 * bits/fenv.h: Likewise.
3685 * bits/sched.h: Likewise.
3686 * bits/sigset.h: Likewise.
3687 * bits/sigthread.h: Likewise.
3688 * catgets/nl_types.h: Likewise.
3689 * conform/data/pthread.h-data: Likewise.
3690 * crypt/crypt-private.h: Likewise.
3691 * crypt/crypt.h: Likewise.
3692 * crypt/crypt_util.c: Likewise.
3693 * ctype/ctype.h: Likewise.
3694 * debug/execinfo.h: Likewise.
3695 * debug/mbsnrtowcs_chk.c: Likewise.
3696 * debug/mbsrtowcs_chk.c: Likewise.
3697 * debug/wcsnrtombs_chk.c: Likewise.
3698 * debug/wcsrtombs_chk.c: Likewise.
3699 * debug/wcstombs_chk.c: Likewise.
3700 * dirent/dirent.h: Likewise.
3701 * dlfcn/dlfcn.h: Likewise.
3702 * elf/neededtest4.c: Likewise.
3703 * grp/grp.h: Likewise.
3704 * gshadow/gshadow.h: Likewise.
3705 * iconv/gconv.h: Likewise.
3706 * iconv/gconv_int.h: Likewise.
3707 * iconv/gconv_simple.c: Likewise.
3708 * iconv/iconv.h: Likewise.
3709 * iconv/loop.c: Likewise.
3710 * iconv/skeleton.c: Likewise.
3711 * include/aio.h: Likewise.
3712 * include/aliases.h: Likewise.
3713 * include/argz.h: Likewise.
3714 * include/arpa/inet.h: Likewise.
3715 * include/assert.h: Likewise.
3716 * include/dirent.h: Likewise.
3717 * include/dlfcn.h: Likewise.
3718 * include/execinfo.h: Likewise.
3719 * include/fcntl.h: Likewise.
3720 * include/fenv.h: Likewise.
3721 * include/glob.h: Likewise.
3722 * include/grp.h: Likewise.
3723 * include/libintl.h: Likewise.
3724 * include/mntent.h: Likewise.
3725 * include/netdb.h: Likewise.
3726 * include/pwd.h: Likewise.
3727 * include/rpc/netdb.h: Likewise.
3728 * include/sched.h: Likewise.
3729 * include/search.h: Likewise.
3730 * include/shadow.h: Likewise.
3731 * include/signal.h: Likewise.
3732 * include/stdio.h: Likewise.
3733 * include/stdlib.h: Likewise.
3734 * include/string.h: Likewise.
3735 * include/sys/socket.h: Likewise.
3736 * include/sys/stat.h: Likewise.
3737 * include/sys/statfs.h: Likewise.
3738 * include/sys/statvfs.h: Likewise.
3739 * include/sys/syslog.h: Likewise.
3740 * include/sys/time.h: Likewise.
3741 * include/sys/uio.h: Likewise.
3742 * include/time.h: Likewise.
3743 * include/unistd.h: Likewise.
3744 * include/utmp.h: Likewise.
3745 * include/wchar.h: Likewise.
3746 * include/wctype.h: Likewise.
3747 * inet/aliases.h: Likewise.
3748 * inet/arpa/inet.h: Likewise.
3749 * inet/netinet/ether.h: Likewise.
3750 * inet/netinet/in.h: Likewise.
3751 * intl/libintl.h: Likewise.
3752 * io/bits/fcntl2.h: Likewise.
3753 * io/fcntl.h: Likewise.
3754 * io/ftw.h: Likewise.
3755 * io/sys/poll.h: Likewise.
3756 * io/sys/stat.h: Likewise.
3757 * io/sys/statfs.h: Likewise.
3758 * io/sys/statvfs.h: Likewise.
3759 * io/utime.h: Likewise.
3760 * libio/bits/stdio.h: Likewise.
3761 * libio/bits/stdio2.h: Likewise.
3762 * libio/libio.h: Likewise.
3763 * libio/libioP.h: Likewise.
3764 * libio/stdio.h: Likewise.
3765 * locale/lc-ctype.c: Likewise.
3766 * locale/locale.h: Likewise.
3767 * login/utmp.h: Likewise.
3768 * malloc/arena.c: Likewise.
3769 * malloc/malloc.c: Likewise.
3770 * malloc/malloc.h: Likewise.
3771 * malloc/mcheck.c: Likewise.
3772 * malloc/mtrace.c: Likewise.
3773 * math/bits/mathcalls.h: Likewise.
3774 * math/fenv.h: Likewise.
3775 * math/math_private.h: Likewise.
3776 * misc/bits/error.h: Likewise.
3777 * misc/bits/syslog.h: Likewise.
3778 * misc/err.h: Likewise.
3779 * misc/error.h: Likewise.
3780 * misc/fstab.h: Likewise.
3781 * misc/mntent.h: Likewise.
3782 * misc/regexp.h: Likewise.
3783 * misc/search.h: Likewise.
3784 * misc/sgtty.h: Likewise.
3785 * misc/sys/mman.h: Likewise.
3786 * misc/sys/syslog.h: Likewise.
3787 * misc/sys/uio.h: Likewise.
3788 * misc/sys/xattr.h: Likewise.
3789 * misc/ttyent.h: Likewise.
3790 * nis/rpcsvc/ypclnt.h: Likewise.
3791 * nss/nss.h: Likewise.
3792 * posix/bits/unistd.h: Likewise.
3793 * posix/fnmatch.h: Likewise.
3794 * posix/glob.h: Likewise.
3795 * posix/sched.h: Likewise.
3796 * posix/spawn.h: Likewise.
3797 * posix/sys/wait.h: Likewise.
3798 * posix/unistd.h: Likewise.
3799 * posix/wordexp.h: Likewise.
3800 * pwd/pwd.h: Likewise.
3801 * resolv/netdb.h: Likewise.
3802 * resource/sys/resource.h: Likewise.
3803 * rt/aio.h: Likewise.
3804 * rt/bits/mqueue2.h: Likewise.
3805 * rt/mqueue.h: Likewise.
3806 * shadow/shadow.h: Likewise.
3807 * signal/signal.h: Likewise.
3808 * socket/send.c: Likewise.
3809 * socket/sendto.c: Likewise.
3810 * socket/sys/socket.h: Likewise.
3811 * stdio-common/printf.h: Likewise.
3812 * stdlib/bits/stdlib.h: Likewise.
3813 * stdlib/fmtmsg.h: Likewise.
3814 * stdlib/monetary.h: Likewise.
3815 * stdlib/stdlib.h: Likewise.
3816 * stdlib/ucontext.h: Likewise.
3817 * streams/stropts.h: Likewise.
3818 * string/argz.h: Likewise.
3819 * string/bits/string2.h: Likewise.
3820 * string/string.h: Likewise.
3821 * string/strings.h: Likewise.
3822 * sunrpc/rpc/auth.h: Likewise.
3823 * sunrpc/rpc/auth_des.h: Likewise.
3824 * sunrpc/rpc/clnt.h: Likewise.
3825 * sunrpc/rpc/netdb.h: Likewise.
3826 * sunrpc/rpc/pmap_clnt.h: Likewise.
3827 * sunrpc/rpc/xdr.h: Likewise.
3828 * sysdeps/generic/inttypes.h: Likewise.
3829 * sysdeps/generic/net/if.h: Likewise.
3830 * sysdeps/generic/sys/swap.h: Likewise.
3831 * sysdeps/gnu/net/if.h: Likewise.
3832 * sysdeps/gnu/utmpx.h: Likewise.
3833 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3834 * sysdeps/i386/i486/bits/string.h: Likewise.
3835 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3836 * sysdeps/s390/bits/string.h: Likewise.
3837 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3838 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3839 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3840 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3841 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3842 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3843 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3844 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3845 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3846 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3847 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3848 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3849 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3850 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3851 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3852 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3853 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3857 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3858 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3859 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3860 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3861 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3862 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3863 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3865 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3866 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3867 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3868 * sysvipc/sys/ipc.h: Likewise.
3869 * sysvipc/sys/msg.h: Likewise.
3870 * sysvipc/sys/sem.h: Likewise.
3871 * sysvipc/sys/shm.h: Likewise.
3872 * termios/termios.h: Likewise.
3873 * time/sys/time.h: Likewise.
3874 * time/time.h: Likewise.
3875 * wcsmbs/bits/wchar2.h: Likewise.
3876 * wcsmbs/uchar.h: Likewise.
3877 * wcsmbs/wchar.h: Likewise.
3878 * wctype/wctype.h: Likewise.
3879
3880 [BZ #13551]
3881 * Makeconfig: Remove all but ELF support including AIX support.
3882 * Makerules: Likewise.
3883 * config.h.in: Likewise.
3884 * config.make.in: Likewise.
3885 * configure: Likewise.
3886 * configure.in: Likewise.
3887 * csu/Makefile: Likewise.
3888 * csu/version.c: Likewise.
3889 * debug/Makefile: Likewise.
3890 * dlfcn/Makefile: Likewise.
3891 * elf/Makefile: Likewise.
3892 * extra-lib.mk: Likewise.
3893 * iconv/Makefile: Likewise.
3894 * include/libc-symbols.h: Likewise.
3895 * include/shlib-compat.h: Likewise.
3896 * resolv/Makefile: Likewise.
3897 * resolv/res_libc.c: Likewise.
3898 * rt/Makefile: Likewise.
3899 * sysdeps/i386/asm-syntax.h: Likewise.
3900 * sysdeps/i386/sysdep.h: Likewise.
3901 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3902 * sysdeps/mach/sysdep.h: Likewise.
3903 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3904 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3905 * sysdeps/s390/asm-syntax.h: Likewise.
3906 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3908 * sysdeps/sh/sysdep.h: Likewise.
3909 * sysdeps/unix/sparc/sysdep.h: Likewise.
3910 * sysdeps/wordsize-32/divdi3.c: Likewise.
3911 * sysdeps/x86_64/sysdep.h: Likewise.
3912
3913 * argp/Versions: Remove _argp_unlock_xxx.
3914
3915 [BZ #13559]
3916 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3917 * abilist/libBrokenLocale.abilist: Likewise.
3918 * abilist/libanl.abilist: Likewise.
3919 * abilist/libc.abilist: Likewise.
3920 * abilist/libcrypt.abilist: Likewise.
3921 * abilist/libdl.abilist: Likewise.
3922 * abilist/libm.abilist: Likewise.
3923 * abilist/libnsl.abilist: Likewise.
3924 * abilist/libpthread.abilist: Likewise.
3925 * abilist/libresolv.abilist: Likewise.
3926 * abilist/librt.abilist: Likewise.
3927 * abilist/libthread_db.abilist: Likewise.
3928 * abilist/libutil.abilist: Likewise.
3929 * abilist/libnss_db.abilist: New file.
3930
3931 * scripts/abilist.awk: Add support for indirect functions.
3932
3933 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3934
3935 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3936
3937 * shlib-versions: Remove entries for ports architectures.
3938
3939 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3940 files in ports.
3941 * elf/stackguard-macros.h: Remove support for IA-64.
3942 * elf/tst-auditmod1.c: Likewise.
3943 * sysdeps/generic/ldsodefs.h: Likewise.
3944
3945 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3946 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3947 configure files.
3948
3949 [BZ #13552]
3950 * configure.in: Remove --enable-omitfp support.
3951 * FAQ.in: Adjust.
3952 * config.make.in: Likewise.
3953 * Makeconfig: Likewise.
3954 * manual/install.texi: Likewise.
3955
3956 In case anyone cares, the IA-64 architecture could move to ports.
3957 * sysdeps/ia64/*: Removed.
3958 * sysdeps/unix/sysv/linux/ia64/*: Removed.
3959 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3960
3961 [BZ #13555]
3962 * configure.in: Remove entries for unsupported architectures.
3963
3964 [BZ #13533]
3965 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3966 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3967 routines.
3968 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3969 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3970 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3971 fall back to using wcrtomb.
3972 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3973 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3974 renaming.
3975 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3976 * wcsmbs/tst-c16c32-1.c: New file.
3977
3978 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3979 local variable.
3980
3981 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3982
3983 * elf/tst-unique3.cc: Add explicit declaration of gets.
3984 * elf/tst-unique3lib.cc: Likewise.
3985 * elf/tst-unique3lib2.cc: Likewise.
3986 * elf/tst-unique4.cc: Likewise.
3987
3988 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3989
3990 2012-01-06 Joseph Myers <joseph@codesourcery.com>
3991
3992 [BZ #13566]
3993 * assert/assert.h (static_assert): Don't define for C++.
3994 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3995 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3996
3997 2012-01-03 Ulrich Drepper <drepper@gmail.com>
3998
3999 * iconv/loop.c (single loop): Fix assertion in storing of
4000 remaining bytes.
4001
4002 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4003
4004 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4005
4006 * posix/getconf.c: Update copyright year.
4007 * nss/getent.c: Likewise.
4008 * nss/makedb.c: Likewise.
4009 * iconv/iconvconfig.c: Likewise.
4010 * iconv/iconv_prog.c: Likewise.
4011 * elf/ldconfig.c: Likewise.
4012 * elf/pldd.c: Likewise.
4013 * elf/sotruss.ksh: Likewise.
4014 * catgets/gencat.c: Likewise.
4015 * csu/version.c: Likewise.
4016 * elf/ldd.bash.in: Likewise.
4017 * elf/sprof.c (print_version): Likewise.
4018 * locale/programs/locale.c: Likewise.
4019 * locale/programs/localedef.c: Likewise.
4020 * login/programs/pt_chown.c: Likewise.
4021 * nscd/nscd.c (print_version): Likewise.
4022 * debug/xtrace.sh: Likewise.
4023 * malloc/memusage.sh: Likewise.
4024 * malloc/mtrace.pl: Likewise.
4025 * debug/catchsegv.sh: Likewise.
4026
4027 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4028
4029 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4030 pure attribute.
4031
4032 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4033
4034 [BZ #13533]
4035 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4036 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4037 transformations.
4038 * iconv/gconv_int.h: Likewise.
4039 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4040 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4041 from libc for GLIBC_2.16.
4042 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4043 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4044 * wcsmbs/uchar.h: Really define mbstate_t.
4045 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4046 * wcsmbs/c16rtomb.c: New file.
4047 * wcsmbs/mbrtoc16.c: New file.
4048 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4049 for C/POSIX locale.
4050 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4051 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4052
4053 * wcsmbs/wchar.h: Add missing __restrict.
4054
4055 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4056
4057 [BZ #13532]
4058 * time/Makefile (routines): Add timespec_get.
4059 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4060 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4061 timespec for ISO C11.
4062 * time/timespec_get.c: New file.
4063 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4064 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4065
4066 [BZ #13531]
4067 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4068 * stdlib/stdlib.h: Declare aligned_alloc.
4069 * Versions.def: Add GLIBC_2.16 for libc.
4070 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4071
4072 [BZ 13527]
4073 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4074 ISO C11.
4075
4076 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4077 code.
4078
4079 [BZ #13528]
4080 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4081
4082 [BZ #13529]
4083 * assert/assert.h (static_assert): Define.
4084
4085 * version.h: Update for 2.16 development version.
4086
4087 [BZ #13526]
4088 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4089 _ISOC11_SOURCE.
4090
4091 * version.h (RELEASE): Bump for 2.15 release.
4092 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4093
4094 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4095 Patch by Marek Polacek <mpolacek@redhat.com>.
4096
4097 * bits/byteswap.h: Protect long long constants with __extension__.
4098 * sysdeps/i386/bits/byteswap.h: Likewise.
4099 * sysdeps/ia64/bits/byteswap.h: Likewise.
4100 * sysdeps/s390/bits/byteswap.h: Likewise.
4101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4102
4103 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4104
4105 [BZ #13540]
4106 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4107 destination buffer.
4108 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4109
4110 2011-12-23 Marek Polacek <polacek@redhat.com>
4111
4112 * elf/dl-addr.c (determine_info): Add inline keyword.
4113 * elf/tst-auditmod4b.c (check_avx): Likewise.
4114 * elf/tst-auditmod6b.c (check_avx): Likewise.
4115 * elf/tst-auditmod6c.c (check_avx): Likewise.
4116 * elf/tst-auditmod7b.c (check_avx): Likewise.
4117
4118 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4119
4120 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4121 !__SSE_MATH__.
4122
4123 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4124
4125 [BZ #13540]
4126 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4127 processing for last bytes.
4128
4129 2011-08-06 Bruno Haible <bruno@clisp.org>
4130
4131 [BZ #13061]
4132 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4133 U+0385, not to U+1FEE.
4134
4135 [BZ #13062]
4136 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4137 entry for U+00A5 U+0301.
4138
4139 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4140
4141 [BZ #13166]
4142 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4143 buffer for the output is too small.
4144
4145 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4146 optimization.
4147
4148 [BZ #13185]
4149 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4150 SSE flags if possible.
4151
4152 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4153
4154 [BZ #13540]
4155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4156 processing for last bytes.
4157
4158 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4159
4160 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4161 (syscall-list-default-options, syscall-list-default-condition)
4162 (syscall-list-includes): Define.
4163 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4164 list of ABIs and options and #if conditions for each ABI. Do not
4165 handle common syscalls between ABIs specially.
4166 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4167 Remove.
4168 (syscall-list-variants, syscall-list-32bit-options)
4169 (syscall-list-32bit-condition, syscall-list-64bit-options)
4170 (syscall-list-64bit-condition): Define.
4171 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4172 (syscall-list-variants, syscall-list-32bit-options)
4173 (syscall-list-32bit-condition, syscall-list-64bit-options)
4174 (syscall-list-64bit-condition): Define.
4175 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4176 Remove.
4177 (syscall-list-variants, syscall-list-32bit-options)
4178 (syscall-list-32bit-condition, syscall-list-64bit-options)
4179 (syscall-list-64bit-condition): Define.
4180 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4181 Remove.
4182 (syscall-list-variants, syscall-list-32bit-options)
4183 (syscall-list-32bit-condition, syscall-list-64bit-options)
4184 (syscall-list-64bit-condition): Define.
4185
4186 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4187
4188 * locale/iso-639.def: Add brx entry.
4189
4190 [BZ #13328]
4191 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4192 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4193
4194 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4195 __feraiseexcept_renamed.
4196
4197 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4198
4199 [BZ #13538]
4200 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4201 EPOLLET with unsigned values.
4202 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4204
4205 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4206 to large cancellation.
4207 * math/s_cacoshf.c: Likewise.
4208 * math/s_cacoshl.c: Likewise.
4209
4210 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4211
4212 [BZ #13305]
4213 [BZ #12786]
4214 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4215 * math/s_cacoshf.c: Likewise.
4216 * math/s_cacoshl.c: Likewise.
4217
4218 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4219
4220 [BZ #13439]
4221 * iconv/gconv.h: Define __GCONV_SWAP.
4222 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4223 * iconvdata/utf-16.c: Likewise.
4224 * iconvdata/utf-32.c: Likewise.
4225
4226 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4227
4228 [BZ #13524]
4229 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4230 numerator after shifting it by one limb.
4231
4232 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4233
4234 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4235 under [__USE_EXTERN_INLINES].
4236
4237 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4238
4239 [BZ #13446]
4240 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4241
4242 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4243
4244 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4245 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4246 optimized code.
4247 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4248 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4249 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4250 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4251 for strncasecmp/strncasecmp_l compilation.
4252 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4253 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4254
4255 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4256
4257 [BZ #13484]
4258 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4259 of __asm__.
4260
4261 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4262
4263 [BZ #13506]
4264 * time/tzfile.c (__tzfile_read): Check values from file header.
4265
4266 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4267
4268 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4269 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4270 * powerpc/powerpc32/dl-start.S: Likewise.
4271 * powerpc/powerpc32/elf/start.S: Likewise.
4272 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4273 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4274 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4275 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4276 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4277 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4278 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4279 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4280 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4281 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4282 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4283 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4284 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4285 * powerpc/powerpc32/memset.S: Likewise.
4286 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4287 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4288 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4289 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4290 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4291 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4292 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4293 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4294 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4295 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4296 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4297 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4298 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4299
4300 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4301
4302 * math/libm-test.inc: Added more nearbyint tests.
4303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4304 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4306 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4307
4308 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4309
4310 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4311 FD_CLOEXEC.
4312
4313 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4314
4315 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4316 Add wcscpy-ssse3 wcscpy-c.
4317 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4318 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4319 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4320 * sysdeps/x86_64/wcschr.S: New file.
4321 * sysdeps/x86_64/wcsrchr.S: New file.
4322 * string/test-strcmp.c: Remove checking of wcscmp function for
4323 wrong alignments.
4324 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4325 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4326 wcsrchr-sse2 wcsrchr-c.
4327 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4328 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4329 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4330 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4331 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4332 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4333 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4334 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4335 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4336 * wcsmbc/wcschr.c (WCSCHR): New macro.
4337
4338 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4339
4340 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4341 * wcsmbs/test-wcsrchr.c: New file.
4342 * string/test-strrchr.c: Add wcsrchr support.
4343 (WIDE): New macro.
4344 * wcsmbs/test-wcscpy.c: New file.
4345 * string/test-strcpy.c: Add wcscpy support.
4346 (WIDE): New macro.
4347
4348 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4349
4350 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4351 the inner loop.
4352
4353 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4354
4355 [BZ #13472]
4356 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4357
4358 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4359
4360 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4361 Minor optimizations.
4362
4363 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4364 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4365 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4366
4367 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4368
4369 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4370 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4371 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4372 for gcc to avoid warnings.
4373 * inet/Makefile (tests): Add tst-checks.
4374 * inet/tst-checks.c: New file.
4375
4376 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4377 warning.
4378
4379 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4380 __wmemcmp_sse2.
4381
4382 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4383 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4384
4385 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4386
4387 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4388
4389 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4390 problem.
4391
4392 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4393
4394 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4395
4396 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4397 conditional on GCC version.
4398 (__arch_compare_and_exchange_val_8_acq)
4399 (__arch_compare_and_exchange_val_16_acq)
4400 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4401 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4402 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4403
4404 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4405
4406 * sysdeps/sh/backtrace.c: New file.
4407
4408 2011-12-02 Andreas Schwab <schwab@redhat.com>
4409
4410 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4411 parenthesis.
4412
4413 2011-12-01 Andreas Schwab <schwab@redhat.com>
4414
4415 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4416 falling back to utime.
4417
4418 2011-11-30 Andreas Schwab <schwab@redhat.com>
4419
4420 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4421 expectations for float.
4422
4423 2011-11-29 Andreas Schwab <schwab@redhat.com>
4424
4425 * locale/weight.h (findidx): Add parameter len.
4426 * locale/weightwc.h (findidx): Likewise.
4427 * posix/fnmatch_loop.c (FCT): Adjust caller.
4428 * posix/regcomp.c (build_equiv_class): Likewise.
4429 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4430 * posix/regexec.c (check_node_accept_bytes): Likewise.
4431 * string/strcoll_l.c (STRCOLL): Likewise.
4432 * string/strxfrm_l.c (STRXFRM): Likewise.
4433
4434 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4435
4436 * Makefile.in: Remove CVSOPT handling.
4437 * configure.in: Remove use of AC_REVISION.
4438 * iconvdata/Makefile (distribute): No need to filter out CVS.
4439 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4440 handling.
4441
4442 2011-11-16 Andreas Schwab <schwab@redhat.com>
4443
4444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4445 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4446 [USE_AS_STRNCASECMP_L]: Likewise.
4447 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4448 NO_TLS_DIRECT_SEG_REFS.
4449 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4450 Fix argument offsets for non-PIC.
4451 [USE_AS_STRNCASECMP_L]: Likewise.
4452 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4453 NO_TLS_DIRECT_SEG_REFS.
4454
4455 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4456
4457 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4458 O_CLOEXEC.
4459 * locale/loadlocale.c (_nl_load_locale): Likewise.
4460
4461 2011-11-15 Andreas Schwab <schwab@redhat.com>
4462
4463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4464 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4465 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4466 (SYSCALL_GETTIME): Set errno on error.
4467
4468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4469 count references to noai6ai_cached.
4470
4471 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4472
4473 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4474
4475 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4476 FD_CLOEXEC for /proc/self/maps.
4477
4478 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4479 FD_CLOEXEC for /proc/meminfo.
4480
4481 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4482 gai.conf.
4483
4484 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4485 FD_CLOEXEC for given file.
4486
4487 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4488
4489 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4490 FD_CLOEXEC for /etc/hosts.
4491 (_gethtent): Likewise.
4492
4493 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4494
4495 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4496 cancellation and set FD_CLOEXEC for /etc/netgroup.
4497
4498 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4499 reading /etc/publickey.
4500
4501 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4502 allow cancellation when reading /etc/group.
4503
4504 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4505 cancellation.
4506 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4507
4508 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4509 when using data file.
4510
4511 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4512
4513 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4514 (write_nis_obj): Use "c" and "e" in fopen.
4515
4516 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4517
4518 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4519
4520 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4521
4522 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4523
4524 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4525 locale.alias.
4526
4527 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4528
4529 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4530
4531 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4532
4533 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4534 file parsing and set FD_CLOEXEC.
4535
4536 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4537
4538 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4539
4540 2011-11-14 Andreas Schwab <schwab@redhat.com>
4541
4542 * malloc/arena.c (arena_get2): Don't call reused_arena when
4543 _int_new_arena failed.
4544
4545 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4546
4547 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4548 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4549 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4551 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4552 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4553 to compile strcasecmp and strncasecmp.
4554 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4555 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4556
4557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4558
4559 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4560
4561 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4562 locale-defines.sym to gen-as-const-headers.
4563 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4564 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4566 to compile strcasecmp and strncasecmp.
4567 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4568 strcasecmp_l and strncasecmp_l.
4569 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4570 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4571 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4572 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4573 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4574 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4575 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4576 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4577 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4578 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4579 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4580
4581 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4582
4583 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4584 result of SYSDEP_GETTIME_CPU to retval.
4585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4586 parameter list to macro. Remove trailing semicolon. Adjust users.
4587
4588 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4589 variable.
4590
4591 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4592 mantissa words.
4593 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4594
4595 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4596 from unused variable.
4597
4598 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4599 DWARF definitions.
4600 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4601 for assembling.
4602
4603 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4604 over namespaces.
4605
4606 * sunrpc/rpc_prot.c (rejected): Fix case value.
4607
4608 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4609 unsigned long long int to avoid warnings in shift.
4610
4611 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4612 of use of trans.
4613 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4614 variable tmp.
4615
4616 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4617 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4618 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4619
4620 * nis/nis_table.c (nis_list): Use variable of correct type for
4621 result of __follow_path call.
4622
4623 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4624
4625 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4626 of math functions ceil, trunc, floor, round, and sqrt, when
4627 avaliable on the platform.
4628 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4629 name clash.
4630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4633
4634 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4635
4636 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4637 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4638
4639 2011-11-11 Roland McGrath <roland@hack.frob.com>
4640
4641 * include/unistd.h: Fix __readlink return type.
4642 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4643
4644 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4645
4646 * stdlib/ucontext.h: Undo last change for makecontext.
4647
4648 2011-11-11 Andreas Schwab <schwab@redhat.com>
4649
4650 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4651
4652 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4653 * setjmp/setjmp.h: Mark functions as non-leaf.
4654 * setjmp/bits/setjmp2.h: Likewise.
4655 * stdlib/ucontext.h: Likewise.
4656
4657 2011-11-10 Andreas Schwab <schwab@redhat.com>
4658
4659 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4660 (reused_arena): Don't check arena limit.
4661 (arena_get2): Atomically check arena limit.
4662
4663 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4664
4665 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4666 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4667
4668 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4669 instructions.
4670
4671 2011-11-07 Andreas Schwab <schwab@redhat.com>
4672
4673 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4674 handler when locking.
4675
4676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4677 Fix size of allocated buffer.
4678
4679 2011-11-04 Andreas Schwab <schwab@redhat.com>
4680
4681 [BZ #10103]
4682 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4683 declarations for long double functions.
4684 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4685
4686 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4687
4688 2011-11-03 Andreas Schwab <schwab@redhat.com>
4689
4690 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4691 installed.
4692
4693 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4694 is disabled.
4695
4696 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4697
4698 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4699
4700 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4701
4702 * include/alloca.h (stackinfo_alloca_round): Define.
4703 (extend_alloca): Use it.
4704 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4705 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4706 here.
4707
4708 * scripts/check-local-headers.sh: Ignore libaudit.h.
4709
4710 * nscd/Makefile (extra-objs): Make recursively expanded.
4711
4712 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4713
4714 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4715 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4716
4717 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4718 * posix/tst-rfc3484-2.c: Likewise.
4719 * posix/tst-rfc3484-3.c: Likewise.
4720
4721 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4722 process_vm_writev.
4723 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4724 process_vm_writev.
4725 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4726 process_vm_writev from libc using GLIBC_2.15 version.
4727
4728 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4729
4730 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4731
4732 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4733 stack usage.
4734
4735 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4736
4737 [BZ #13367]
4738 * nss/getent.c (initgroups_keys): Show error message in case no group
4739 names are given.
4740
4741 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4742 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4743 __bump_nl_timestamp.
4744 * nscd/connections (nscd_init): When host database is served open
4745 netlink socket and request notification about configuration changes.
4746 (main_loop_poll): Track netlink file descriptor and bump timestamp
4747 in case data becomes available.
4748 (main_loop_epoll): Likewise.
4749 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4750 (database_pers_head): Add extra_data fileds.
4751 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4752 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4753 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4754 Adjust caller.
4755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4756 in6ai data, call __free_in6ai.
4757 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4758 Add -DHAVE_NETLINK.
4759 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4760 interface information. Reuse previous data if netlink timestamp
4761 is not changed.
4762 (__bump_nl_timestamp): New function.
4763 (__free_in6ai): New function.
4764
4765 2011-10-30 Ulrich Drepper <drepper@gmail.com>
4766
4767 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4768 close_not_cancel_no_status here.
4769 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4770
4771 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4772
4773 [BZ #13276]
4774 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4775 return value.
4776
4777 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4778 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4779 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4780
4781 2011-07-03 Andreas Jaeger <aj@suse.de>
4782
4783 [BZ #10709]
4784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4785 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4786 * math/libm-test.inc (sin_test): Add test case.
4787
4788 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4789
4790 [BZ #13337]
4791 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4792 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4793
4794 * elf/chroot_canon.c (chroot_canon): Cleanups.
4795
4796 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4797
4798 [BZ #13335]
4799 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4800 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4801
4802 * string/test-strchr.c: Make usable for strchrnul testing.
4803 * string/test-strchrnul.c: New file.
4804 * string/Makefile (strop-tests): Add strchrnul.
4805
4806 * po/it.po: Update from translation team.
4807 * po/es.po: Likewise.
4808
4809 2011-10-28 Ulrich Drepper <drepper@gmail.com>
4810
4811 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4812 the three constants needed as parameters. Drop the others.
4813 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4814 __m128i_strloadu_tolower.
4815 Create and initialize variable zero and use it in all the places
4816 where _mm_setzero_si128 was used.
4817
4818 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4819 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4820 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4821 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4822 anymore.
4823 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4824 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4825 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4826 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4827 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4828 __mpranred, __mptan.
4829 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4830 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4831 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4832 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4833 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4834 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4835 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4836 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4837 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4838
4839 2011-10-28 Andreas Schwab <schwab@redhat.com>
4840
4841 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4842 redefine if SHARED.
4843 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4844
4845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4846 wide char related routines to wcsmbs subdir.
4847
4848 2011-10-27 Andreas Schwab <schwab@redhat.com>
4849
4850 [BZ #13344]
4851 * misc/sys/cdefs.h (__THROWNL): Define.
4852 * posix/unistd.h: Use __THREADNL instead of __THREAD
4853 for memory synchronization functions.
4854
4855 2011-10-26 Roland McGrath <roland@hack.frob.com>
4856
4857 [BZ #13349]
4858 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4859 doesn't exist.
4860 * manual/stdio.texi (Obstack Streams): Node removed.
4861
4862 2011-10-26 Andreas Schwab <schwab@redhat.com>
4863
4864 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4865 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4866 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4867
4868 * math/math_private.h (math_force_eval): Allow non-addressable
4869 arguments.
4870 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4871
4872 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4873
4874 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4875 file is not needed.
4876
4877 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4879 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4880 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4881 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4882 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4884 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4885 Add AVX variants.
4886 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4887 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4888 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4889 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4890 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4891 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4892 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4893 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4894 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4895 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4896 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4897 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4899 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4900 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4901 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4902 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4903 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4904 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4905
4906 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4907 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4908
4909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4910 place. Use VEX encoding when compiling for AVX.
4911
4912 2011-10-25 Andreas Schwab <schwab@redhat.com>
4913
4914 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4915 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4916
4917 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4918
4919 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4920
4921 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4922 useless if() expression.
4923 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4928 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4932 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4933 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4934 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4935 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4936 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4937 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4939 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4941 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4942
4943 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4944
4945 2011-10-25 Andreas Schwab <schwab@redhat.com>
4946
4947 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4948 condition.
4949 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4950
4951 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4952
4953 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4954 .text section. Avoid duplicate constants.
4955 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4965 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4967 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4970 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4972 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4978 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4979 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4980 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4981 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4982 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4983 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4984 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4985 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4986 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4987 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4988 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4989 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4990 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4991 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4993 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4994 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4995 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4996 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4997 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4998 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4999 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5000
5001 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5002
5003 * sysdeps/x86_64/dla.h: Move to ...
5004 * sysdeps/x86_64/fpu/dla.h: ...here.
5005 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5006 situations. Use __builtin_fma only for gcc 4.6 and up.
5007
5008 * config.make.in: Add have-mfma4 entry.
5009 * configure.in: Substitute libc_cv_cc_fma4.
5010 * math/Makefile (dbl-only-routines): Add sincostab.
5011 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5012 Use __sincostab not sincos.
5013 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5014 name is a macro.
5015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5019 using __copysign.
5020 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5021 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5022 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5023 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5024 and __inv.
5025 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5026 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5027 __copysign.
5028 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5029 define aliases when function name is a macro.
5030 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5031 sysdeps/ieee754/dbl-64/sincos.tbl.
5032 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5033 fma4-enabled routines.
5034 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5035 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5036 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5037 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5038 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5039 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5040 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5041 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5043 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5044 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5045 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5046 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5047 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5048 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5049 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5050 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5051 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5052 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5053 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5054 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5055 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5057 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5058 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5059 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5060 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5061 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5062 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5063 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5064
5065 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5066 rename.
5067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5075
5076 2011-10-24 Andreas Schwab <schwab@redhat.com>
5077
5078 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5079
5080 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5081
5082 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5083
5084 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5085 prediction.
5086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5087
5088 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5089 Remove unused variable magic_bits.
5090 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5091
5092 * string/strnlen.c: Define and use STRNLEN macro.
5093 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5094 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5096 * wcsmbs/wcslen.c: Define and use WCSLEN.
5097 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5098 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5099 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5100 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5101 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5102 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5103 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5104
5105 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5106
5107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5108 strnlen-sse2-no-bsf.
5109 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5111 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5112 Add strnlen support.
5113 (USE_AS_STRNLEN): New macro.
5114 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5115 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5116 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5117 * sysdeps/x86_64/wcslen.S: New file.
5118
5119 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5120
5121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5122 XMM-moves are used for copying on small sizes.
5123
5124 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5125
5126 * wcsmbs/Makefile (strop-tests): Add wcschr.
5127 * wcsmbs/test-wcschr.c: New file.
5128 * string/test-strchr.c: Update.
5129 Add wcschr support.
5130 (WIDE): New macro.
5131
5132 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5133
5134 * wcsmbs/Makefile (strop-tests): Add wcslen.
5135 * wcsmbs/test-wcslen.c: New file.
5136 * string/test-strlen.c: Update.
5137 Add wcslen support.
5138 (WIDE): New macro.
5139
5140 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5141
5142 * po/it.po: Update from translation team.
5143
5144 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5145
5146 * sysdeps/x86_64/wcscmp.S: Update.
5147 Fix wrong comparison semantics.
5148 wcscmp shall use signed comparison not unsigned.
5149 Don't use substraction to avoid overflow bug.
5150 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5151 * wcsmbc/wcscmp.c: Likewise.
5152 * string/test-strcmp.c: Likewise.
5153 Add new tests to check cases with negative values.
5154
5155 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5156
5157 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5158 * sysdeps/x86_64/dla.h: ...here. New file.
5159 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5166 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5168
5169 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5170
5171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5172 __ynl_finite aliases.
5173
5174 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5175
5176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5177
5178 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5179 define DLA_FMA.
5180 [DLA_FMA] (EMULV): Use DLA_FMA.
5181 [DLA_FMA] (MUL12): Use EMULV.
5182 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5183 that are not needed.
5184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5189 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5191
5192 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5193
5194 * math/s_nan.c: Undef __nan.
5195 * math/s_nanf.c: Undef __nanf.
5196 * math/s_nanl.c: Undef __nanl.
5197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5198 "math_private.h".
5199
5200 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5201
5202 * math/s_catan.c: Add branch predictions.
5203 * math/s_catanf.c: Likewise.
5204 * math/s_catanh.c: Likewise.
5205 * math/s_catanhf.c: Likewise.
5206 * math/s_catanhl.c: Likewise.
5207 * math/s_catanl.c: Likewise.
5208 * math/s_cexp.c: Likewise.
5209 * math/s_cexpf.c: Likewise.
5210 * math/s_cexpl.c: Likewise.
5211 * math/s_clog.c: Likewise.
5212 * math/s_clog10.c: Likewise.
5213 * math/s_clog10f.c: Likewise.
5214 * math/s_clog10l.c: Likewise.
5215 * math/s_clogf.c: Likewise.
5216 * math/s_clogl.c: Likewise.
5217 * math/s_csqrt.c: Likewise.
5218 * math/s_csqrtf.c: Likewise.
5219 * math/s_csqrtl.c: Likewise.
5220 * math/s_ctanf.c: Likewise.
5221 * math/s_ctanh.c: Likewise.
5222 * math/s_ctanhf.c: Likewise.
5223 * math/s_ctanhl.c: Likewise.
5224 * math/s_ctanl.c: Likewise.
5225
5226 * math/math_private.h: Define __nan, __nanf, __nanl.
5227 * math/s_cacosh.c: Include <math_private.h>.
5228 * math/s_cacoshl.c: Likewise.
5229 * math/s_casinh.c: Likewise.
5230 * math/s_casinhf.c: Likewise.
5231 * math/s_casinhl.c: Likewise.
5232 * math/s_ccos.c: Rely entire on ccosh.
5233 * math/s_ccosf.c: Rely entire on ccoshf.
5234 * math/s_ccosl.c: Rely entirely on ccoshl.
5235 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5236 Remove tests for FE_INVALID.
5237 * math/s_ccoshf.c: Likewise.
5238 * math/s_ccoshl.c: Likewise.
5239 * math/s_csin.c: Likewise.
5240 * math/s_csinf.c: Likewise.
5241 * math/s_csinh.c Likewise.
5242 * math/s_csinhf.c: Likewise.
5243 * math/s_csinhl.c: Likewise.
5244 * math/s_csinl.c: Likewise.
5245 * math/s_ctan.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5247 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5248 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5249
5250 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5251
5252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5253 compilation problems.
5254
5255 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5256 __builtin_expect.
5257
5258 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5259
5260 * sysdeps/i386/configure.in: Test for -mfma4 option.
5261 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5262 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5263 COMMON_CPUID_INDEX_80000001.
5264 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5265 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5266 use it if FMA3 is not supported.
5267 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5268
5269 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5270 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5271
5272 2011-10-20 Andreas Schwab <schwab@redhat.com>
5273
5274 [BZ #12892]
5275 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5276 it would create a cycle with a link time dependency.
5277
5278 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5279
5280 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5281 instruction.
5282 * string/Makefile (strop-tests): Add rawmemchr.
5283 * string/test-rawmemchr.c: New file.
5284
5285 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5287 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5288 when compiling str{,n}casecmp and when AVX is available. Hook up
5289 new optimized code in initializers.
5290
5291 2011-10-19 Andreas Schwab <schwab@redhat.com>
5292
5293 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5294 __feraiseexcept instead of feraiseexcept.
5295
5296 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5297
5298 * math/math_private.h: Define defaults for libc_fetestexcept and
5299 libc_feupdateenv.
5300 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5301 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5302 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5303 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5304 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5305 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5306 libc_fetestexcept and libc_feupdateenv.
5307
5308 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5309 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5310 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5311 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5312 libc_feholdexcept_setround.
5313
5314 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5315 Add s_nearbyint-c and s_nearbyintf-c.
5316 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5317 nearbyintf inlines.
5318 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5319 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5320 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5321 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5322
5323 * math/math_private.h: Define defaults for libc_fegetround,
5324 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5325 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5326 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5327 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5328 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5329 standard functions.
5330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5331 Remove comments and hacks for old compiler versions.
5332 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5333 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5334 libc_feholdexceptl.
5335
5336 2011-10-18 Andreas Schwab <schwab@redhat.com>
5337
5338 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5339 (__feraiseexcept_renamed): Add __NTH.
5340 (feraiseexcept): Add __NTH. Rename local variables to fix
5341 namespace violations.
5342
5343 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5344
5345 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5346
5347 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5348
5349 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5350 recently added interfaces.
5351 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5352
5353 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5354 about macro parameter expansion.
5355
5356 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5357 __NO_MATH_INLINES is defined. Cleanups.
5358
5359 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5360 and __floorf is target has SSE4.1.
5361 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5362 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5363 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5364 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5365
5366 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5367 name.
5368 (floorf): Likewise.
5369
5370 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5371
5372 2011-10-17 Andreas Schwab <schwab@redhat.com>
5373
5374 * misc/sys/cdefs.h: Fix last change.
5375
5376 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5377 database lookup.
5378
5379 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5380
5381 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5382
5383 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5384 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5389 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5390 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5392 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5393 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5395 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5396 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5397 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5399 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5400 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5401 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5402 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5403 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5404 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5405
5406 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5407 ceil, ceilf, floor, floorf.
5408
5409 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5410 Perform IRELATIVE relocations last.
5411
5412 * elf/do-rel.h: Add another parameter nrelative, replacing the
5413 local variable with the same name. Change name of the function
5414 to end in Rel or Rela (uppercase).
5415 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5416 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5417 elf_dynamic_do_##reloc function.
5418
5419 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5420
5421 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5422 is sufficient, at least on modern CPUs.
5423
5424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5425
5426 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5427 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5428
5429 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5430 __expl_finite.
5431 * math/bits/math-finite.h: Add entries for exp.
5432 * math/e_expl.c: Add __*_finite alias.
5433 * sysdeps/i386/fpu/e_exp.S: Likewise.
5434 * sysdeps/i386/fpu/e_expf.S: Likewise.
5435 * sysdeps/i386/fpu/e_expl.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5437 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5441 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5442 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5443
5444 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5445 is sufficient, at least on modern CPUs.
5446
5447 * ctype/ctype-info.c (__ctype_init): Define.
5448 * include/ctype.h (__ctype_init): Declare.
5449 (__ctype_b_loc): The variable is always initialized.
5450 (__ctype_toupper_loc): Likewise.
5451 (__ctype_tolower_loc): Likewise.
5452 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5453 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5454
5455 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5456
5457 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5458
5459 * configure.in: Also look in $cxxmachine/include for C++ system
5460 headers.
5461
5462 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5463
5464 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5465 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5466 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5467 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5468 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5469 (USE_AS_WMEMCMP): New macro.
5470 Fixing indents.
5471 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5472 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5473 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5474 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5476 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5477 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5478 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5479 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5480 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5481 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5482 (USE_AS_WMEMCMP): New macro.
5483 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5484 * sysdeps/string/test-memcmp.c: Update.
5485 Fix simple_wmemcmp.
5486 Add new tests.
5487 * wcsmbs/wmemcmp.c: Update.
5488 (WMEMCMP): New macro.
5489 Fix overflow bug.
5490
5491 2011-10-12 Andreas Jaeger <aj@suse.de>
5492
5493 [BZ #13268]
5494 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5495
5496 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5497
5498 * libio/iofwide.c (do_length): Avoid warning.
5499
5500 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5501
5502 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5503
5504 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5505
5506 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5507 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5508 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5509 * sysdeps/i386/i686/fpu/e_log.S: New file.
5510 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5511 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5512
5513 * ctype/ctype.h: Add support for inlined isXXX functions when
5514 compiling C++ code.
5515
5516 2011-10-14 Andreas Schwab <schwab@redhat.com>
5517
5518 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5519
5520 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5521
5522 2011-10-13 Roland McGrath <roland@hack.frob.com>
5523
5524 [BZ #13291]
5525 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5526
5527 2011-10-13 Andreas Schwab <schwab@redhat.com>
5528
5529 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5530 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5531 feraiseexcept.
5532
5533 * sysdeps/x86_64/memrchr.S: Check for zero size.
5534
5535 * string/stratcliff.c: Add memrchr tests.
5536
5537 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5538
5539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5540 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5541 rawmemchr-sse2 rawmemchr-sse2-bsf.
5542 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5543 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5544 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5545 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5546 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5547 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5548 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5549 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5550 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5551 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5552 * string/memrchr.c (MEMRCHR): New macro.
5553
5554 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5555
5556 Add integration with gcc's -ffinite-math-only and optimize wrapper
5557 functions in libm.
5558 * Versions.def: Define GLIBC_2.15 version for libm.
5559 * math/Makefile (headers): Add bits/math-finite.h.
5560 * math/bits/math-finite.h: New file.
5561 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5562 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5563 * math/e_acoshl.c: Add __*_finite alias.
5564 * math/e_acosl.c: Likewise.
5565 * math/e_asinl.c: Likewise.
5566 * math/e_atan2l.c: Likewise.
5567 * math/e_atanhl.c: Likewise.
5568 * math/e_coshl.c: Likewise.
5569 * math/e_exp10.c: Likewise.
5570 * math/e_exp10f.c: Likewise.
5571 * math/e_exp10l.c: Likewise.
5572 * math/e_exp2l.c: Likewise.
5573 * math/e_fmodl.c: Likewise.
5574 * math/e_gammal_r.c: Likewise.
5575 * math/e_hypotl.c: Likewise.
5576 * math/e_j0l.c: Likewise.
5577 * math/e_j1l.c: Likewise.
5578 * math/e_jnl.c: Likewise.
5579 * math/e_lgammal_r.c: Likewise.
5580 * math/e_log10l.c: Likewise.
5581 * math/e_log2l.c: Likewise.
5582 * math/e_logl.c: Likewise.
5583 * math/e_powl.c: Likewise.
5584 * math/e_sinhl.c: Likewise.
5585 * math/e_sqrtl.c: Likewise.
5586 * math/e_scalb.c: Completely rewritten and optimized.
5587 * math/e_scalbf.c: Likewise.
5588 * math/e_scalbl.c: Likewise.
5589 * math/w_acos.c: Likewise.
5590 * math/w_acosf.c: Likewise.
5591 * math/w_acosl.c: Likewise.
5592 * math/w_acosh.c: Likewise.
5593 * math/w_acoshf.c: Likewise.
5594 * math/w_acoshl.c: Likewise.
5595 * math/w_asin.c: Likewise.
5596 * math/w_asinf.c: Likewise.
5597 * math/w_asinl.c: Likewise.
5598 * math/w_atan2.c: Likewise.
5599 * math/w_atan2f.c: Likewise.
5600 * math/w_atan2l.c: Likewise.
5601 * math/w_atanh.c: Likewise.
5602 * math/w_atanhf.c: Likewise.
5603 * math/w_atanhl.c: Likewise.
5604 * math/w_exp10.c: Likewise.
5605 * math/w_exp10f.c: Likewise.
5606 * math/w_exp10l.c: Likewise.
5607 * math/w_fmod.c: Likewise.
5608 * math/w_fmodf.c: Likewise.
5609 * math/w_fmodl.c: Likewise.
5610 * math/w_j0.c: Likewise.
5611 * math/w_j0f.c: Likewise.
5612 * math/w_j0l.c: Likewise.
5613 * math/w_j1.c: Likewise.
5614 * math/w_j1f.c: Likewise.
5615 * math/w_j1l.c: Likewise.
5616 * math/w_jn.c: Likewise.
5617 * math/w_jnf.c: Likewise.
5618 * math/w_log.c: Likewise.
5619 * math/w_logf.c: Likewise.
5620 * math/w_logl.c: Likewise.
5621 * math/w_log10.c: Likewise.
5622 * math/w_log10f.c: Likewise.
5623 * math/w_log10l.c: Likewise.
5624 * math/w_log2.c: Likewise.
5625 * math/w_log2f.c: Likewise.
5626 * math/w_log2l.c: Likewise.
5627 * math/w_pow.c: Likewise.
5628 * math/w_powf.c: Likewise.
5629 * math/w_powl.c: Likewise.
5630 * math/w_remainder.c: Likewise.
5631 * math/w_remainderf.c: Likewise.
5632 * math/w_remainderl.c: Likewise.
5633 * math/w_scalb.c: Likewise.
5634 * math/w_scalbf.c: Likewise.
5635 * math/w_scalbl.c: Likewise.
5636 * math/w_sqrt.c: Likewise.
5637 * math/w_sqrtf.c: Likewise.
5638 * math/w_sqrtl.c: Likewise.
5639 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5640 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5641 used.
5642 * math/math_private.h: Declare __kernel_standard_f.
5643 * math/w_cosh.c: Remove cruft and optimize a bit.
5644 * math/w_coshf.c: Likewise.
5645 * math/w_coshl.c: Likewise.
5646 * math/w_exp2.c: Likewise.
5647 * math/w_exp2f.c: Likewise.
5648 * math/w_exp2l.c: Likewise.
5649 * math/w_hypot.c: Likewise.
5650 * math/w_hypotf.c: Likewise.
5651 * math/w_hypotl.c: Likewise.
5652 * math/w_lgamma.c: Likewise.
5653 * math/w_lgamma_r.c: Likewise.
5654 * math/w_lgammaf.c: Likewise.
5655 * math/w_lgammaf_r.c: Likewise.
5656 * math/w_lgammal.c: Likewise.
5657 * math/w_lgammal_r.c: Likewise.
5658 * math/w_sinh.c: Likewise.
5659 * math/w_sinhf.c: Likewise.
5660 * math/w_sinhl.c: Likewise.
5661 * math/w_tgamma.c: Likewise.
5662 * math/w_tgammaf.c: Likewise.
5663 * math/w_tgammal.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5665 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5666 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5667 Minor optimizations. Pretty printing. Remove cruft.
5668 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5669 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5670 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5671 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5672 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5673 * sysdeps/i386/fpu/e_asin.S: Likewise.
5674 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5675 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5676 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5677 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5678 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5679 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5680 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5681 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5682 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5683 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5684 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5685 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5686 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5687 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5688 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5689 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5690 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5691 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5692 * sysdeps/i386/fpu/e_log.S: Likewise.
5693 * sysdeps/i386/fpu/e_log10.S: Likewise.
5694 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5695 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5696 * sysdeps/i386/fpu/e_log2.S: Likewise.
5697 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5698 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5699 * sysdeps/i386/fpu/e_logf.S: Likewise.
5700 * sysdeps/i386/fpu/e_logl.S: Likewise.
5701 * sysdeps/i386/fpu/e_pow.S: Likewise.
5702 * sysdeps/i386/fpu/e_powf.S: Likewise.
5703 * sysdeps/i386/fpu/e_powl.S: Likewise.
5704 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5705 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5706 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5707 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5708 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5709 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5710 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5711 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5712 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5734 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5735 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5737 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5738 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5739 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5740 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5741 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5742 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5743 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5744 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5745 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5747 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5748 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5749 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5750 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5751 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5752 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5753 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5754 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5796 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5798 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5799 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5800 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5801 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5804 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5805 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5806 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5807 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5808 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5809 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5810 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5811 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5812 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5813 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5814 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5815 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5816 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5817 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5819 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5820 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5821 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5822 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5823 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5824 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5825 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5826 (__isnanf): Likewise.
5827 (__isinf_ns): Likewise.
5828 (__isinf_nsf): Likewise.
5829 (__finite): Likewise.
5830 (__finitef): Likewise.
5831 (__ieee754_sqrt): Define as macro.
5832 (__ieee754_sqrtf): Define as macro.
5833 (__ieee754_sqrtl): Define as macro.
5834 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5835 inlined copy.
5836 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5837 __FINITE_MATH_ONLY__ consistent.
5838 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5839
5840 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5841
5842 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5843 of rawmemchr.
5844
5845 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5846
5847 2011-10-09 Ulrich Drepper <drepper@gmail.com>
5848
5849 * po/ja.po: Update from translation team.
5850
5851 2011-10-08 Roland McGrath <roland@hack.frob.com>
5852
5853 * locale/programs/locarchive.c (prepare_address_space): New function.
5854 (create_archive, enlarge_archive, open_archive): Use it.
5855
5856 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5857 inside [SHARED], where it is used.
5858
5859 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5860
5861 * nss/getent.c (netgroup_keys): Remove unused variable.
5862 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5863
5864 2011-10-08 Ulrich Drepper <drepper@gmail.com>
5865
5866 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5867 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5870 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5871 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5872 * math/Makefile (libm-calls): Add s_isinf_ns.
5873 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5874 * math/multc3.c: Likewise.
5875 * math/s_casin.c: Likewise.
5876 * math/s_casinf.c: Likewise.
5877 * math/s_casinl.c: Likewise.
5878 * math/s_ccos.c: Likewise.
5879 * math/s_ccosf.c: Likewise.
5880 * math/s_ccosl.c: Likewise.
5881 * math/s_ctan.c: Likewise.
5882 * math/s_ctanf.c: Likewise.
5883 * math/s_ctanh.c: Likewise.
5884 * math/s_ctanhf.c: Likewise.
5885 * math/s_ctanhl.c: Likewise.
5886 * math/s_ctanl.c: Likewise.
5887 * math/w_fmod.c: Likewise.
5888 * math/w_fmodf.c: Likewise.
5889 * math/w_fmodl.c: Likewise.
5890 * math/w_remainder.c: Likewise.
5891 * math/w_remainderf.c: Likewise.
5892 * math/w_remainderl.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5894 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5895 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5897 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5898 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5899 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5900 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5901
5902 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5903 of the number.
5904 * stdio-common/printf_fphex.c: Likewise.
5905 * stdio-common/printf_size.c: Likewise.
5906
5907 * math/e_exp10.c: Include math_private.h using <...> not "...".
5908 * math/e_exp10f.c: Likewise.
5909 * math/e_exp10l.c: Likewise.
5910 * math/e_exp2l.c: Likewise.
5911 * math/e_j0l.c: Likewise.
5912 * math/e_j1l.c: Likewise.
5913 * math/e_jnl.c: Likewise.
5914 * math/e_lgammal_r.c: Likewise.
5915 * math/e_rem_pio2l.c: Likewise.
5916 * math/e_scalb.c: Likewise.
5917 * math/e_scalbf.c: Likewise.
5918 * math/e_scalbl.c: Likewise.
5919 * math/k_cosl.c: Likewise.
5920 * math/k_sinl.c: Likewise.
5921 * math/k_tanl.c: Likewise.
5922 * math/s_cacoshf.c: Likewise.
5923 * math/s_catan.c: Likewise.
5924 * math/s_catanf.c: Likewise.
5925 * math/s_catanh.c: Likewise.
5926 * math/s_catanhf.c: Likewise.
5927 * math/s_catanhl.c: Likewise.
5928 * math/s_catanl.c: Likewise.
5929 * math/s_ccosh.c: Likewise.
5930 * math/s_ccoshf.c: Likewise.
5931 * math/s_ccoshl.c: Likewise.
5932 * math/s_cexp.c: Likewise.
5933 * math/s_cexpf.c: Likewise.
5934 * math/s_cexpl.c: Likewise.
5935 * math/s_clog.c: Likewise.
5936 * math/s_clog10.c: Likewise.
5937 * math/s_clog10f.c: Likewise.
5938 * math/s_clog10l.c: Likewise.
5939 * math/s_clogf.c: Likewise.
5940 * math/s_clogl.c: Likewise.
5941 * math/s_csin.c: Likewise.
5942 * math/s_csinf.c: Likewise.
5943 * math/s_csinh.c: Likewise.
5944 * math/s_csinhf.c: Likewise.
5945 * math/s_csinhl.c: Likewise.
5946 * math/s_csinl.c: Likewise.
5947 * math/s_csqrt.c: Likewise.
5948 * math/s_csqrtf.c: Likewise.
5949 * math/s_csqrtl.c: Likewise.
5950 * math/s_ctan.c: Likewise.
5951 * math/s_ctanf.c: Likewise.
5952 * math/s_ctanh.c: Likewise.
5953 * math/s_ctanhf.c: Likewise.
5954 * math/s_ctanhl.c: Likewise.
5955 * math/s_ctanl.c: Likewise.
5956 * math/s_ldexp.c: Likewise.
5957 * math/s_ldexpf.c: Likewise.
5958 * math/s_ldexpl.c: Likewise.
5959 * math/s_significand.c: Likewise.
5960 * math/s_significandf.c: Likewise.
5961 * math/s_significandl.c: Likewise.
5962 * math/w_acos.c: Likewise.
5963 * math/w_acosf.c: Likewise.
5964 * math/w_acosh.c: Likewise.
5965 * math/w_acoshf.c: Likewise.
5966 * math/w_acoshl.c: Likewise.
5967 * math/w_acosl.c: Likewise.
5968 * math/w_asin.c: Likewise.
5969 * math/w_asinf.c: Likewise.
5970 * math/w_asinl.c: Likewise.
5971 * math/w_atan2.c: Likewise.
5972 * math/w_atan2f.c: Likewise.
5973 * math/w_atan2l.c: Likewise.
5974 * math/w_atanh.c: Likewise.
5975 * math/w_atanhf.c: Likewise.
5976 * math/w_atanhl.c: Likewise.
5977 * math/w_cosh.c: Likewise.
5978 * math/w_coshf.c: Likewise.
5979 * math/w_coshl.c: Likewise.
5980 * math/w_dremf.c: Likewise.
5981 * math/w_exp10.c: Likewise.
5982 * math/w_exp10f.c: Likewise.
5983 * math/w_exp10l.c: Likewise.
5984 * math/w_exp2.c: Likewise.
5985 * math/w_exp2f.c: Likewise.
5986 * math/w_fmod.c: Likewise.
5987 * math/w_fmodf.c: Likewise.
5988 * math/w_fmodl.c: Likewise.
5989 * math/w_hypot.c: Likewise.
5990 * math/w_hypotf.c: Likewise.
5991 * math/w_hypotl.c: Likewise.
5992 * math/w_j0.c: Likewise.
5993 * math/w_j0f.c: Likewise.
5994 * math/w_j0l.c: Likewise.
5995 * math/w_j1.c: Likewise.
5996 * math/w_j1f.c: Likewise.
5997 * math/w_j1l.c: Likewise.
5998 * math/w_jn.c: Likewise.
5999 * math/w_jnf.c: Likewise.
6000 * math/w_jnl.c: Likewise.
6001 * math/w_lgamma.c: Likewise.
6002 * math/w_lgamma_r.c: Likewise.
6003 * math/w_lgammaf.c: Likewise.
6004 * math/w_lgammaf_r.c: Likewise.
6005 * math/w_lgammal.c: Likewise.
6006 * math/w_lgammal_r.c: Likewise.
6007 * math/w_log.c: Likewise.
6008 * math/w_log10.c: Likewise.
6009 * math/w_log10f.c: Likewise.
6010 * math/w_log10l.c: Likewise.
6011 * math/w_log2.c: Likewise.
6012 * math/w_log2f.c: Likewise.
6013 * math/w_log2l.c: Likewise.
6014 * math/w_logf.c: Likewise.
6015 * math/w_logl.c: Likewise.
6016 * math/w_pow.c: Likewise.
6017 * math/w_powf.c: Likewise.
6018 * math/w_powl.c: Likewise.
6019 * math/w_remainder.c: Likewise.
6020 * math/w_remainderf.c: Likewise.
6021 * math/w_remainderl.c: Likewise.
6022 * math/w_scalb.c: Likewise.
6023 * math/w_scalbf.c: Likewise.
6024 * math/w_scalbl.c: Likewise.
6025 * math/w_sinh.c: Likewise.
6026 * math/w_sinhf.c: Likewise.
6027 * math/w_sinhl.c: Likewise.
6028 * math/w_sqrt.c: Likewise.
6029 * math/w_sqrtf.c: Likewise.
6030 * math/w_sqrtl.c: Likewise.
6031 * math/w_tgamma.c: Likewise.
6032 * math/w_tgammaf.c: Likewise.
6033 * math/w_tgammal.c: Likewise.
6034
6035 * po/ja.po: Update from translation team.
6036
6037 2011-09-29 Andreas Jaeger <aj@suse.de>
6038
6039 [BZ #13179]
6040 * sunrpc/netname.c (netname2host): Fix logic.
6041
6042 [BZ #6779]
6043 [BZ #6783]
6044 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6045 correctly.
6046 * math/w_remainder.c (__remainder): Likewise.
6047 * math/w_remainderf.c (__remainderf): Likewise.
6048 * math/libm-test.inc (remainder_test): Add test cases.
6049
6050 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6051
6052 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6053 sdiv_qrnnd.
6054
6055 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6056
6057 * string/test-memcmp.c: Avoid unncessary #defines.
6058 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6059
6060 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6061
6062 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6063 Use new sse2 version for core i3 - i7 as it's faster
6064 than sse42 version.
6065 (bit_Prefer_PMINUB_for_stringop): New.
6066 * sysdeps/x86_64/rawmemchr.S: Update.
6067 Replace with faster SSE2 version.
6068 * sysdeps/x86_64/memrchr.S: New file.
6069 * sysdeps/x86_64/memchr.S: Update.
6070 Replace with faster SSE2 version.
6071
6072 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6073
6074 * elf/dl-load.c (lose): Add cast to avoid warning.
6075
6076 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6077
6078 * po/ca.po: Update from translation team.
6079
6080 * inet/getnetgrent_r.c: Hook up nscd.
6081 * nscd/Makefile (routines): Add nscd_netgroup.
6082 (nscd-modules): Add netgroupcache.
6083 (CFLAGS-netgroupcache.c): Define.
6084 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6085 (cache_search): Add const to second parameter.
6086 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6087 INNETGR.
6088 (dbs): Add netgrdb entry.
6089 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6090 (verify_persistent_db): Handle netgrdb.
6091 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6092 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6093 GETFDNETGR.
6094 (netgroup_response_header): Define.
6095 (innetgroup_response_header): Define.
6096 (datahead): Add netgroup_response_header and innetgroup_response_header
6097 elements.
6098 * nscd/nscd.conf: Add entries for netgroup cache.
6099 * nscd/nscd.h (dbtype): Add netgrdb.
6100 (_PATH_NSCD_NETGROUP_DB): Define.
6101 (netgroup_iov_disabled): Declare.
6102 (xmalloc, xcalloc, xrealloc): Move declarations here.
6103 (cache_search): Adjust prototype.
6104 Add netgroup-related prototypes.
6105 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6106 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6107 (__nscd_innetgr): Declare.
6108 * nscd/selinux.c (perms): Use access_vector_t as element type and
6109 add netgroup-related initializers.
6110 * nscd/netgroupcache.c: New file.
6111 * nscd/nscd_netgroup.c: New file.
6112 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6113 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6114 For four parameters use innetgr.
6115 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6116 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6117 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6118 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6119
6120 * nscd/connections.c (register_traced_file): Don't register file
6121 for disabled databases.
6122
6123 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6124
6125 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6126
6127 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6128 from tree and freeing node.
6129
6130 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6131
6132 * nss/nsswitch.c (__nss_database_lookup): Handle
6133 nss_parse_service_list out of memory case.
6134
6135 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6136
6137 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6138 out of memory case.
6139
6140 2011-10-04 Andreas Schwab <schwab@redhat.com>
6141
6142 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6143 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6144 pass it down.
6145 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6146 elf_machine_rela, elf_machine_lazy_rel.
6147 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6148 (ELF_DYNAMIC_DO_REL): Likewise.
6149 (ELF_DYNAMIC_DO_RELA): Likewise.
6150 (ELF_DYNAMIC_RELOCATE): Likewise.
6151 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6152 to ELF_DYNAMIC_DO_REL.
6153 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6154 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6155 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6156 elf_machine_rela.
6157 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6158 skip_ifunc, don't call ifunc function if non-zero.
6159 (elf_machine_rela): Likewise.
6160 (elf_machine_lazy_rel): Likewise.
6161 (elf_machine_lazy_rela): Likewise.
6162 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6163 (elf_machine_lazy_rel): Likewise.
6164 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6165 Likewise.
6166 (elf_machine_lazy_rel): Likewise.
6167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6168 Likewise.
6169 (elf_machine_lazy_rel): Likewise.
6170 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6171 (elf_machine_lazy_rel): Likewise.
6172 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6173 (elf_machine_lazy_rel): Likewise.
6174 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6175 (elf_machine_lazy_rel): Likewise.
6176 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6177 (elf_machine_lazy_rel): Likewise.
6178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6179 (elf_machine_lazy_rel): Likewise.
6180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6181 (elf_machine_lazy_rel): Likewise.
6182
6183 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6184
6185 * nss/nss_files/files-init.c (_nss_files_init): Use static
6186 initialization for all the *_traced_file variables.
6187
6188 2011-09-28 Andreas Schwab <schwab@redhat.com>
6189
6190 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6191
6192 2011-09-27 Roland McGrath <roland@hack.frob.com>
6193
6194 [BZ #13226]
6195 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6196
6197 2011-09-27 Andreas Schwab <schwab@redhat.com>
6198
6199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6200 Reread the line before reparsing it.
6201
6202 2011-09-26 Andreas Schwab <schwab@redhat.com>
6203
6204 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6205
6206 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6207 Maxim Kuvyrkov <maxim@codesourcery.com>
6208 Joseph Myers <joseph@codesourcery.com>
6209
6210 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6211 if needed for __stack_chk_guard.
6212
6213 2011-09-19 Roland McGrath <roland@hack.frob.com>
6214
6215 * sysdeps/posix/spawni.c (script_execute): Always define it.
6216 It will be optimized away if unused.
6217 (maybe_script_execute): New function.
6218 (__spawni): Call it.
6219
6220 * Makerules: Don't include tls.make.
6221 (config-tls): Always set to thread.
6222 * tls.make.c: File removed.
6223
6224 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6225
6226 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6227 * config.make.in (CPPFLAGS-config): New substituted variable.
6228
6229 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6230
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6232
6233 [BZ #13192]
6234 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6235 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6236
6237 2011-09-15 Roland McGrath <roland@hack.frob.com>
6238
6239 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6240 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6242 (CALL_FAIL): Likewise.
6243 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6244 (CALL_FAIL): Macro removed.
6245 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6246
6247 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6248
6249 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6250 for __FINITE_MATH_ONLY__ == 1.
6251
6252 2011-09-15 Andreas Schwab <schwab@redhat.com>
6253
6254 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6255 __ieee754_sqrt instead of sqrt.
6256 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6257 __ieee754_sqrtf instead of sqrtf.
6258 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6259 __floorf instead of floorf.
6260 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6261 __floorf, __truncf instead of floorf, truncf.
6262
6263 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6264
6265 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6266
6267 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6268 __extern_always_inline.
6269 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6270 32-bit.
6271
6272 2011-09-14 Andreas Schwab <schwab@redhat.com>
6273
6274 * elf/rtld.c (dl_main): Also relocate in dependency order when
6275 doing symbol dependency testing.
6276
6277 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6278
6279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6280 Always define `refsym'.
6281
6282 2011-09-13 Andreas Schwab <schwab@redhat.com>
6283
6284 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6285 (__FD_ELT): Renamed from __FDELT.
6286 * misc/bits/select2.h (__FD_ELT): Likewise.
6287 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6288 __FD_MASK instead of __FDELT, __FDMASK.
6289 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6290 Likewise.
6291 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6292 Likewise.
6293
6294 * elf/Makefile (gen-ldd): Fix pattern.
6295
6296 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6297 (init_tls): Likewise.
6298
6299 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6300
6301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6302
6303 2011-09-12 Andreas Schwab <schwab@redhat.com>
6304
6305 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6306 `struct cmsghdr *' instead of `void *'.
6307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6308 Likewise.
6309
6310 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6311
6312 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6313 if non-absolute.
6314 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6315 ldd_rewrite_script.
6316
6317 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6318
6319 * configure.in: Remove --with-tls option.
6320 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6321 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6322 out in case it is missing.
6323 * sysdeps/ia64/elf/configure.in: Likewise.
6324 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6325 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6326 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6327 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6328 * sysdeps/sh/elf/configure.in: Likewise.
6329 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6330 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6331 * sysdeps/x86_64/elf/configure.in: Likewise.
6332 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6333 * sysdeps/mach/hurd/tls.h: Likewise.
6334
6335 [BZ #13067]
6336 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6337
6338 [BZ #13090]
6339 * configure.in: Fix use of AC_INIT.
6340
6341 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6342
6343 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6344
6345 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6346 __set_errno.
6347 * malloc/hooks.c: Likewise.
6348
6349 [BZ #11929]
6350 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6351 variables statically.
6352 (narenas): Initialize.
6353 (list_lock): Initialize.
6354 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6355 initializtion of main_arena and list_lock. Small cleanups.
6356 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6357 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6358 Add initializers to main_arena and mp_.
6359 (malloc_state): Remove pagesize member. Change all users to use
6360 GLRO(dl_pagesize).
6361
6362 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6363 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6364 is always initialized.
6365
6366 * malloc/malloc.c: Removed unused configurations and dead code.
6367 * malloc/arena.c: Likewise.
6368 * malloc/hooks.c: Likewise.
6369 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6370
6371 * include/tls.h: Removed. USE___THREAD must always be defined.
6372 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6373 * elf/dl-libc.c: Likewise.
6374 * elf/dl-tsd.c: Likewise.
6375 * include/errno.h: Likewise.
6376 * include/netdb.h: Likewise.
6377 * include/resolv.h: Likewise.
6378 * inet/herrno-loc.c: Likewise.
6379 * inet/herrno.c: Likewise.
6380 * malloc/arena.c: Likewise.
6381 * malloc/hooks.c: Likewise.
6382 * malloc/malloc.c: Likewise.
6383 * resolv/res-state.c: Likewise.
6384 * resolv/res_libc.c: Likewise.
6385 * sysdeps/i386/dl-machine.h: Likewise.
6386 * sysdeps/ia64/dl-machine.h: Likewise.
6387 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6388 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6389 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6390 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6391 * sysdeps/sh/dl-machine.h: Likewise.
6392 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6393 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6394 * sysdeps/unix/i386/sysdep.S: Likewise.
6395 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6396 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6399 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6400 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6401 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6405 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6406 * sysdeps/x86_64/dl-machine.h: Likewise.
6407 * tls.make.c: Likewise.
6408
6409 * configure.in: Remove --with-__thread option. Make tests for
6410 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6411 tls_model attribute fail if no support is available. Remove
6412 USE_IN_LIBIO.
6413 * Makeconfig: Adjust for dropped configure option. All features are
6414 now mandatory.
6415 * Makerules: Likewise.
6416 * Versions.def: Likewise.
6417 * argp/argp-fmtstream.c: Likewise.
6418 * argp/argp-fmtstream.h: Likewise.
6419 * argp/argp-help.c: Likewise.
6420 * assert/assert.c: Likewise.
6421 * config.h.in: Likewise.
6422 * config.make.in: Likewise.
6423 * configure: Likewise.
6424 * configure.in: Likewise.
6425 * csu/Versions: Likewise.
6426 * csu/init.c: Likewise.
6427 * elf/tst-audit2.c: Likewise.
6428 * elf/tst-tls10.c: Likewise.
6429 * elf/tst-tls10.h: Likewise.
6430 * elf/tst-tls11.c: Likewise.
6431 * elf/tst-tls12.c: Likewise.
6432 * elf/tst-tls14.c: Likewise.
6433 * elf/tst-tlsmod11.c: Likewise.
6434 * elf/tst-tlsmod12.c: Likewise.
6435 * elf/tst-tlsmod13.c: Likewise.
6436 * elf/tst-tlsmod13a.c: Likewise.
6437 * elf/tst-tlsmod14a.c: Likewise.
6438 * elf/tst-tlsmod15b.c: Likewise.
6439 * elf/tst-tlsmod16a.c: Likewise.
6440 * elf/tst-tlsmod16b.c: Likewise.
6441 * elf/tst-tlsmod7.c: Likewise.
6442 * elf/tst-tlsmod8.c: Likewise.
6443 * elf/tst-tlsmod9.c: Likewise.
6444 * gmon/gmon.c: Likewise.
6445 * grp/fgetgrent_r.c: Likewise.
6446 * grp/putgrent.c: Likewise.
6447 * hurd/fopenport.c: Likewise.
6448 * include/libc-symbols.h: Likewise.
6449 * include/tls.h: Likewise.
6450 * intl/gettextP.h: Likewise.
6451 * intl/loadinfo.h: Likewise.
6452 * locale/global-locale.c: Likewise.
6453 * locale/localeinfo.h: Likewise.
6454 * mach/devstream.c: Likewise.
6455 * malloc/arena.c: Likewise.
6456 * malloc/set-freeres.c: Likewise.
6457 * misc/err.c: Likewise.
6458 * misc/getttyent.c: Likewise.
6459 * misc/mntent_r.c: Likewise.
6460 * posix/getopt.c: Likewise.
6461 * posix/wordexp.c: Likewise.
6462 * pwd/fgetpwent_r.c: Likewise.
6463 * resolv/Versions: Likewise.
6464 * resolv/res_hconf.c: Likewise.
6465 * shadow/fgetspent_r.c: Likewise.
6466 * shadow/putspent.c: Likewise.
6467 * stdio-common/printf_fphex.c: Likewise.
6468 * stdio-common/tmpfile.c: Likewise.
6469 * stdlib/abort.c: Likewise.
6470 * stdlib/fmtmsg.c: Likewise.
6471 * sunrpc/auth_unix.c: Likewise.
6472 * sunrpc/clnt_perr.c: Likewise.
6473 * sunrpc/clnt_tcp.c: Likewise.
6474 * sunrpc/clnt_udp.c: Likewise.
6475 * sunrpc/clnt_unix.c: Likewise.
6476 * sunrpc/openchild.c: Likewise.
6477 * sunrpc/svc_simple.c: Likewise.
6478 * sunrpc/svc_tcp.c: Likewise.
6479 * sunrpc/svc_udp.c: Likewise.
6480 * sunrpc/svc_unix.c: Likewise.
6481 * sunrpc/xdr.c: Likewise.
6482 * sunrpc/xdr_array.c: Likewise.
6483 * sunrpc/xdr_rec.c: Likewise.
6484 * sunrpc/xdr_ref.c: Likewise.
6485 * sunrpc/xdr_stdio.c: Likewise.
6486
6487 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6488
6489 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6490
6491 2011-07-03 Andreas Jaeger <aj@suse.de>
6492
6493 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6495 regenerate with gen-libm-tests.pl.
6496
6497 2010-05-12 Petr Baudis <pasky@suse.cz>
6498
6499 [BZ #11589]
6500 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6501 around j0() zero points by switching to j1().
6502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6506
6507 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6508
6509 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6510 instead of 0.
6511 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6512 instead of 0. .
6513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6514 Patch in part by Pavel Roskin <proski@gnu.org>.
6515
6516 [BZ #13138]
6517 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6518 realloc.
6519 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6520 Free memory block if necessary.
6521
6522 [BZ #12847]
6523 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6524 be NULL. Don't lock in this case.
6525
6526 2011-09-09 Roland McGrath <roland@hack.frob.com>
6527
6528 * elf/elf.h (ELFOSABI_GNU): New macro.
6529 (ELFOSABI_LINUX): Define to that.
6530
6531 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6532
6533 * string/strncat.c (strncat): Undef the symbol in case it has been
6534 defined in bits/string.h.
6535
6536 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6537
6538 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6539
6540 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6541 link map.
6542
6543 2011-08-17 Andreas Jaeger <aj@suse.de>
6544
6545 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6546
6547 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6548 Ian Lance Taylor <iant@google.com>
6549
6550 * math/libm-test.inc (lround_test): New testcase.
6551 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6552
6553 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6554
6555 * Makefile: Remove support for automatic cvs check-ins.
6556 * Makerules: Likewise.
6557 * config.make.in: Likewise.
6558 * configure.in: Likewise.
6559 * intl/Makefile: Likewise.
6560 * locale/Makefile: Likewise.
6561 * po/Makefile: Likewise.
6562 * posix/Makefile: Likewise.
6563 * sysdeps/gnu/Makefile: Likewise.
6564 * sysdeps/mach/hurd/Makefile: Likewise.
6565 * sysdeps/sparc/sparc32/Makefile: Likewise.
6566
6567 [BZ #13118]
6568 * posix/Makefile (bug-regex32-ENV): Define.
6569 Patch by John Stanley <jpsinthemix@verizon.net>.
6570
6571 * misc/Makefile (headers): Add bits/select2.h.
6572 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6573 * misc/bits/select2.h: New file.
6574 * include/bits/select2.h: New file.
6575 * debug/Makefile (routines): Add fdelt_chk.
6576 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6577 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6578 FD_ISSET.
6579 * debug/fdelt_chk.c: New file.
6580
6581 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6582 * wcsmbs/test-wmemcmp.c: Likewise.
6583 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6584 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6585
6586 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6587
6588 * string/Makefile (strop-tests): Add memcmp.
6589 * string/test-wmemcmp.c: New file.
6590 * string/test-memcmp.c: Add wmemcmp support.
6591
6592 2011-09-08 Roland McGrath <roland@hack.frob.com>
6593
6594 [BZ #13153]
6595 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6596 2011-07-19 change.
6597
6598 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6599 garbage value in a __mach_port_mod_refs call in the cases of the
6600 task-self and thread-self ports.
6601
6602 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6603
6604 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6605
6606 2011-09-08 Andreas Schwab <schwab@redhat.com>
6607
6608 * elf/dl-load.c (lose): Check for non-null L.
6609
6610 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6611
6612 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6613
6614 * elf/dl-libc.c (dlerror_run): Pass back error code from
6615 dl_catch_error.
6616
6617 [BZ #13123]
6618 * elf/dl-load.c (lose): Free l_origin if it is valid.
6619
6620 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6621 names.
6622 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6623 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6624 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6625 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6626 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6627 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6628
6629 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630
6631 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6632 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6633 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6634 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6635 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6636 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6637 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6638 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6639 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6640 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6641
6642 2011-08-15 Alan Modra <amodra@gmail.com>
6643
6644 [BZ #13092]
6645 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6646 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6647 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6648 ppc_mcount to static-only-routines.
6649 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6650 __mcount_internal.
6651 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6652 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6653
6654 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6655
6656 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6657 for finite and infinity parameters.
6658
6659 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6660
6661 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6662 and add nop instructions for throughput optimization.
6663 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6664
6665 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6666
6667 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6668 aligned copy for power7 with vector-scalar instructions.
6669 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6670
6671 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6674 AVX check.
6675
6676 2011-09-07 Andreas Schwab <schwab@redhat.com>
6677
6678 [BZ #13144]
6679 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6680 last change.
6681
6682 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6683
6684 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6685 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6686 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6687 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6688 clock_gettime.
6689
6690 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6691
6692 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6693 Forgot to demangle the pointer.
6694
6695 * sysdeps/i386/sysdep.h: Define atom_text_section.
6696 * sysdeps/x86_64/sysdep.h: Likewise.
6697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6698 section with atom_text_section.
6699 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6700 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6701 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6702 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6703 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6704
6705 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6706 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6707 already be defined. Change to take two parameters and don't assign
6708 result to variable. Adjust all users.
6709 Define INTERNAL_GETTIME if not already defined.
6710 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6711 call.
6712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6713 HAVE_CLOCK_GETTIME_VSYSCALL.
6714 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6715
6716 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6717 gettimeofday vsyscall, just use time.
6718
6719 2011-09-06 Andreas Schwab <schwab@redhat.com>
6720
6721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6722 <errno.h>.
6723
6724 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6725
6726 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6727 syscall on x86-64.
6728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6729 syscall.
6730 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6732 syscall if possible.
6733
6734 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6735
6736 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6737 e_ident. Don't pass to find_mapsXX.
6738 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6739
6740 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6741
6742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6743 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6744 * sysdeps/x86_64/multiarch/strchr.S: Update.
6745 Check bit_slow_BSF bit.
6746 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6747 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6748 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6749
6750 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6751
6752 [BZ #13134]
6753 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6754 before glibc 2.15.
6755 (tryshell): Define.
6756 (__spawni): Change last parameter to be flag. Test
6757 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6758 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6759 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6760 * posix/spawni.c: Likewise.
6761 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6762 * posix/spawnp.c: Likewise. Change normal version to use
6763 SPAWN_XFLAGS_USE_PATH.
6764 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6765 SPAWN_XFLAGS_TRY_SHELL.
6766
6767 [BZ #13150]
6768 * posix/glob.h: Remove gcc 1.x support.
6769
6770 [BZ #13068]
6771 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6772
6773 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6774
6775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6776 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6777 strrchr-sse2-bsf
6778 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6779 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6780 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6781 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6782 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6783 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6784
6785 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6786
6787 * sysdeps/x86_64/wcscmp.S: New file.
6788
6789 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6790 wcscmp-c wcscmp-sse2
6791 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6792 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6793 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6794 * wcsmbs/wcscmp.c: Allow renaming.
6795
6796 2011-09-05 David S. Miller <davem@davemloft.net>
6797
6798 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6799 stack slot, rather than the struct return pointer slot.
6800 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6801 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6803 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6804
6805 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6806
6807 * po/ja.po: Update from translation team.
6808
6809 [BZ #13144]
6810 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6811 kernel in 64-bit binaries.
6812
6813 2011-09-01 David S. Miller <davem@davemloft.net>
6814
6815 * elf/elf.h (HWCAP_SPARC_*): Move to..
6816 * sysdeps/sparc/sysdep.h: this new file and add new values.
6817 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6818 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6819 _DL_HWCAP_COUNT to 24.
6820 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6821 entries.
6822 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6823 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6824 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6826 instead of magic constants.
6827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6828
6829 2011-08-31 David S. Miller <davem@davemloft.net>
6830
6831 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6832 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6833 Reimplement to do errno handling inline.
6834 (SYSCALL_ERROR_HANDLER): New macro.
6835 (__SYSCALL_STRING): Do not do errno handling in asm.
6836 (__CLONE_SYSCALL_STRING): Delete.
6837 (__INTERNAL_SYSCALL_STRING): Delete.
6838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6839 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6840 (PSEUDO): Reimplement to do errno handling inline.
6841 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6842 (SYSCALL_ERROR_HANDLER): New macro.
6843 (__SYSCALL_STRING): Do not do errno handling in asm.
6844 (__CLONE_SYSCALL_STRING): Delete.
6845 (__INTERNAL_SYSCALL_STRING): Delete.
6846 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6847 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6848 i386.
6849 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6850 (inline_syscall*): Add 'err' argument.
6851 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6852 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6853 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6854 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6855
6856 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6857 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6858
6859 2011-08-30 Andreas Schwab <schwab@redhat.com>
6860
6861 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6862
6863 2011-08-29 Jiri Olsa <jolsa@redhat.com>
6864
6865 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6866 directive.
6867
6868 2011-08-24 David S. Miller <davem@davemloft.net>
6869
6870 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6871
6872 2011-08-24 Andreas Schwab <schwab@redhat.com>
6873
6874 * elf/Makefile: Add rules to build and run unload8 test.
6875 * elf/unload8.c: New file.
6876 * elf/unload8mod1.c: New file.
6877 * elf/unload8mod1x.c: New file.
6878 * elf/unload8mod2.c: New file.
6879 * elf/unload8mod3.c: New file.
6880
6881 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6882 it wasn't used.
6883
6884 2011-08-23 David S. Miller <davem@davemloft.net>
6885
6886 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6887 subtract stack bias.
6888 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6889 %sp not %fp in calculations.
6890 (_JMPBUF_UNWINDS_ADJ): Likewise.
6891
6892 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6893 (aio_suspend): Call it to force an exception region around the
6894 AIO_MISC_WAIT() invocation.
6895
6896 2011-08-23 Andreas Schwab <schwab@redhat.com>
6897
6898 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6899 backslash.
6900
6901 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6902
6903 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6904 protection macro.
6905 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6906 and <dl-machine.h>.
6907 (Elf64_FuncDesc): Remove.
6908
6909 2011-08-22 David S. Miller <davem@davemloft.net>
6910
6911 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6912 sigaltstack check, add missing cfi directives.
6913 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6914 missing cfi directives, and sigaltstack handling.
6915
6916 2011-08-16 Andreas Schwab <schwab@redhat.com>
6917
6918 [BZ #11724]
6919 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6920 object is seen twice.
6921 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6922
6923 * elf/Makefile (distribute): Add tst-initorder2.c.
6924 (tests): Add tst-initorder2.
6925 (modules-names): Add tst-initorder2a tst-initorder2b
6926 tst-initorder2c tst-initorder2d. Add rules to build them.
6927 ($(objpfx)tst-initorder2.out): New rule.
6928 * elf/tst-initorder2.c: New file.
6929 * elf/tst-initorder2.exp: New file.
6930
6931 2011-08-22 Andreas Schwab <schwab@redhat.com>
6932
6933 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6934
6935 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6936 dependencies back to end of function.
6937
6938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6939 $(elfobjdir)/ld.so.
6940
6941 2011-08-21 Ulrich Drepper <drepper@gmail.com>
6942
6943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6944 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6946 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6947 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6948 of __vdso_gettimeofday.
6949 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6950 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6951 attribute_hidden.
6952 (_libc_vdso_platform_setup): Remove initialization of
6953 __vdso_gettimeofday and __vdso_time.
6954
6955 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6956
6957 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6958 and fgetc_unlocked.
6959 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6960 getc_unlocked.
6961
6962 * elf/dl-open.c (add_to_global): Report additions to the global scope
6963 for LD_DEBUG=scopes.
6964 (dl_open_worker): Also print scope of newly loaded dependencies.
6965 (_dl_show_scope): Indicate if there is no scope.
6966
6967 [BZ #13114]
6968 * stdio-common/Makefile (tests): Add bug24.
6969 * stdio-common/bug24.c: New file.
6970
6971 2011-08-19 Andreas Jaeger <aj@suse.de>
6972
6973 [BZ #13114]
6974 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6975 non-existant file when using close-on-exec mode.
6976
6977 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6978
6979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6980 the very first instruction.
6981
6982 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6983 the CFI state in the end.
6984 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6985 inclusion of dl-trampoline.h.
6986 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6987
6988 2011-08-19 Andreas Schwab <schwab@redhat.com>
6989
6990 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6991 expectations for long double.
6992
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6994 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6995
6996 2011-08-14 David S. Miller <davem@davemloft.net>
6997
6998 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6999 artificual limit depends upon the system page size.
7000
7001 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7002
7003 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7004 * resolv/Makefile: Define CFLAGS-libresolv.
7005
7006 2011-08-17 Andreas Schwab <schwab@redhat.com>
7007
7008 * nss/makedb.c (compute_tables): Make variables used in nested
7009 function static.
7010
7011 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7012
7013 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7014 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7015 if buffer was too small.
7016
7017 * elf/pldd.c (main): Attach to all threads in the process.
7018 Rewrite /proc handling to use *at functions.
7019
7020 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7021
7022 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7023 specifies first scope to show.
7024 (dl_open_worker): Update callers. Move printing scope of new
7025 object to before the relocation.
7026 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7027 * sysdeps/generic/ldsodefs.h: Update declaration.
7028
7029 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7030 string for the scope number.
7031
7032 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7033
7034 * nscd/servicescache.c (cache_addserv): Make sure written is always
7035 initialized.
7036
7037 2011-08-14 Roland McGrath <roland@hack.frob.com>
7038
7039 * sysdeps/i386/i486/bits/atomic.h
7040 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7041 statement expression, so as to suppress "set but not used" warning.
7042 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7043
7044 * string/strncat.c (STRNCAT): Use prototype definition.
7045
7046 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7047 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7048 -Iprograms here.
7049 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7050 (localedef-modules): Add localedef.
7051 (locale-modules): Add locale.
7052
7053 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7054 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7055 to avoid a warning.
7056
7057 2011-08-14 David S. Miller <davem@davemloft.net>
7058
7059 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7060 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7061
7062 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7063
7064 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7065 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7066 * elf/rtld.c (dl_main): Set l_name of vDSO.
7067 Call _dl_show_scope when DL_DEBUG_SCOPES.
7068 (process_dl_debug): Recognize scopes flag and also set it for all.
7069 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7070 Declare _dl_show_scope.
7071
7072 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7073 (do_dlopen): Pass caller_dlopen to dl_open.
7074 (__libc_dlopen_mode): Initialize caller_dlopen.
7075
7076 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7077 of libc. Make tolower call locale-independent. Optimize a bit by
7078 using isdigit instead of isalnum.
7079 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7080
7081 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7082
7083 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7084 was a dependency or dynamically loaded.
7085
7086 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7087
7088 * intl/l10nflist.c: Allow architecture-specific pop function.
7089 * sysdeps/x86_64/l10nflist.c: New file.
7090
7091 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7092 classification.
7093
7094 2011-08-10 Andreas Schwab <schwab@redhat.com>
7095
7096 * include/dirent.h: Add libc_hidden_proto for scandirat and
7097 scandirat64. Don't declare __scandirat64.
7098 * dirent/scandirat.c: Add libc_hidden_def.
7099 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7100 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7101
7102 2011-08-10 David S. Miller <davem@davemloft.net>
7103
7104 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7105 enum.
7106 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7108 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7109
7110 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7111
7112 * Versions.def [libc]: Add GLIBC_2.15.
7113 * dirent/Makefile (routines): Add scandirat and scandirat64.
7114 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7115 GLIBC_2.15.
7116 * dirent/dirent.h: Declare scandirat and scandirat64.
7117 * dirent/scandirat.c: New file.
7118 * dirent/scandirat64.c: New file.
7119 * sysdeps/wordsize-64/scandirat.c: New file.
7120 * sysdeps/wordsize-64/scandirat64.c: New file.
7121 * dirent/opendir.c: Define opendirat.
7122 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7123 using scandirat.
7124 * dirent/scandir64.c: Adjust for scandir.c change.
7125 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7126 __scandirat64, and __scandir_cancel_handler.
7127 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7128 additional parameter and use openat instead of open (outside of ld.so).
7129 Add new __opendir as wrapper around __opendirat.
7130 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7131 here without requiring old scandirat implementation.
7132
7133 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7134
7135 * dirent/scandir.c (cancel_handler): Renamed to
7136 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7137 defined. Adjust users.
7138 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7139 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7140
7141 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7142
7143 * string/test-string.h (IMPL): Use __STRING to expand name and then
7144 stringify it.
7145
7146 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7147 of cleanups.
7148
7149 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7150
7151 * string/Makefile: Update.
7152 (strop-tests): Append strncat.
7153 * string/test-wcscmp.c: New file.
7154 New comprehensive test for wcscmp.
7155 * string/test-strcmp.c: Update.
7156 (WIDE): New define.
7157
7158 2011-07-22 Andreas Schwab <schwab@redhat.com>
7159
7160 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7161 line.
7162
7163 2011-07-26 Andreas Schwab <schwab@redhat.com>
7164
7165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7166 encoding to ACE if AI_IDN.
7167
7168 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7169
7170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7171 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7172
7173 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7174
7175 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7176 Fix overflow bug in strncat.
7177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7178
7179 * string/test-strncat.c: Update.
7180 Add new tests for checking overflow bugs.
7181
7182 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7183
7184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7185 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7186 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7187 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7189 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7190 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7191 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7192 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7193
7194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7195 (USE_AS_STRCAT): Define.
7196 Add strcat and strncat support.
7197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7198
7199 2011-07-25 Andreas Schwab <schwab@redhat.com>
7200
7201 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7202 __n bigger than INT_MAX+1.
7203 (__strncmp_g): Likewise.
7204
7205 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7206
7207 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7208 * libio/stido.h: Likewise.
7209
7210 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7211 (AF_NFC): Define.
7212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7213 (AF_NFC): Define.
7214
7215 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7216 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7217 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7218 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7220
7221 [BZ #13021]
7222 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7223 installed.
7224
7225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7226 typo.
7227 (_dl_x86_64_save_sse): Likewise.
7228
7229 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7230
7231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7232 OSXSAVE.
7233 (_dl_x86_64_save_sse): Likewise.
7234
7235 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7236
7237 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7238
7239 2011-07-21 Andreas Schwab <schwab@redhat.com>
7240
7241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7242 change.
7243 (_dl_x86_64_save_sse): Use correct AVX check.
7244
7245 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7246
7247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7248 bug in strncpy/strncat.
7249 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7250
7251 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7252
7253 * string/tester.c (test_strcat): Add tests for different alignments
7254 of source and destination.
7255 (test_strncat): Likewise.
7256
7257 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7258
7259 [BZ #12852]
7260 * posix/glob.c (glob): Check passed in values before using them in
7261 expressions to avoid some overflows.
7262 (glob_in_dir): Likewise.
7263
7264 [BZ #13007]
7265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7266 check for AVX enablement so that we don't crash with old kernels and
7267 new hardware.
7268 * elf/tst-audit4.c: Add same checks here.
7269 * elf/tst-audit6.c: Likewise.
7270
7271 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7272
7273 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7274
7275 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7276
7277 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7278
7279 * po/cs.po: Update from translation team.
7280 * po/bg.po: Likewise.
7281
7282 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7283
7284 * misc/sys/cdefs.h: Add support for const attribute.
7285 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7286 to gnu_dev_{major,minor,makedev} functions.
7287
7288 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7289
7290 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7291
7292 2011-07-20 Andreas Schwab <schwab@redhat.com>
7293
7294 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7295 strlen results.
7296
7297 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7298
7299 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7300 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7301 register in order to avoid conflicts with the soft frame pointer
7302 being held in r11 when necessary.
7303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7304 (INTERNAL_VSYSCALL_NCS): Likewise.
7305
7306 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7307
7308 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7309 * elf/dl-fini.c (_dl_fini): Adjust caller.
7310 * elf/dl-close.c (_dl_close_worker): Likewise.
7311 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7312
7313 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7314
7315 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7316 "aux_cache->nlibs < 0".
7317
7318 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7319 in the reload-count case.
7320
7321 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7322
7323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7324 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7325 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7326 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7327 * sysdeps/x86_64/multiarch/strcat.S: New file.
7328 * sysdeps/x86_64/multiarch/strncat.S: New file.
7329 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7331 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7332 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7334 (USE_AS_STRCAT): Define.
7335 Add strcat and strncat support.
7336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7338 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7339 * string/strncat.c: Update.
7340 (USE_AS_STRNCAT): Define.
7341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7342 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7343 and i7.
7344 * sysdeps/x86_64/multiarch/init-arch.h
7345 (bit_Prefer_PMINUB_for_stringop): New.
7346 (index_Prefer_PMINUB_for_stringop): Likewise.
7347 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7348 bit_Prefer_PMINUB_for_stringop.
7349
7350 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7351
7352 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7353 buffer64.
7354 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7355 of casting of buffer.
7356 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7357 buffer32 and buffer64.
7358 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7359 writes instead of casting of buffer.
7360 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7361 buffer32.
7362 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7363 casting of buffer.
7364
7365 2011-07-19 Andreas Schwab <schwab@redhat.com>
7366
7367 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7368
7369 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7370
7371 * nscd/nscd.c (termination_handler): Don't do anything for a database
7372 if it has not yet been initialized.
7373
7374 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7375
7376 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7377
7378 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7379
7380 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7381
7382 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7383
7384 * po/nl.po: Update from translation team.
7385 * po/sv.po: Likewise.
7386
7387 2011-07-16 Roland McGrath <roland@hack.frob.com>
7388
7389 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7390 now disallowed by GCC.
7391
7392 * configure.in (use-default-link): Default to yes if a test -shared
7393 link meets our qualifications.
7394 * configure: Regenerated.
7395
7396 * config.make.in (output-format): New variable.
7397 * configure.in: Check for ld --print-output-format support.
7398 * configure: Regenerated.
7399 * Makerules ($(common-objpfx)format.lds)
7400 [$(output-format) != unknown]: Just use $(output-format),
7401 instead of the linker-script munging.
7402
7403 2011-07-14 Roland McGrath <roland@hack.frob.com>
7404
7405 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7406 of $(common-objpfx)shlib.lds.
7407 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7408
7409 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7410 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7411
7412 * configure.in (-z relro check): Adjust test code to add a large
7413 writable data section after it.
7414 * configure: Regenerated.
7415
7416 2011-07-11 Roland McGrath <roland@hack.frob.com>
7417
7418 * configure.in (-z relro check): Fix test code to make the variable
7419 truly const.
7420 * configure: Regenerated.
7421
7422 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7423
7424 * nscd/nscd.h (struct traced_file): Define.
7425 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7426 elements. Add traced_files.
7427 (inotify_fd): Declare.
7428 (register_traced_file): Declare.
7429 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7430 (inotify_fd): Export.
7431 (resolv_conf_descr): Remove.
7432 (nscd_init): Move inotify descriptor creation to main.
7433 Don't register files for notification here.
7434 (register_traced_file): New function.
7435 (invalidate_cache): Don't use reset_res to determine whether to call
7436 res_init, go through the list of registered files.
7437 (main_loop_poll): The inotify descriptors are now stored in the
7438 structures for the traced files.
7439 (main_loop_epoll): Likewise
7440 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7441 to __nss_disable_nscd.
7442 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7443 for a database anymore. Check the records for all the registered
7444 files instead.
7445 * nss/Makefile (libnss_files-routines): Add files-init.
7446 (libnss_db-routines): Add db-init.
7447 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7448 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7449 * nss/nss_db/db-init.c: New file.
7450 * nss/nss_files/files-init.c: New file.
7451 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7452 __nss_lookup_function.
7453 (__nss_lookup_function): Call nss_load_library.
7454 (nss_load_all_libraries): New function.
7455 (__nss_disable_nscd): Take parameter with callback function for files
7456 to register. Set is_nscd. Load all the DSOs for the NSS modules
7457 used for the cached services.
7458 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7459 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7460 options for features to all the files in nscd.
7461
7462 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7463
7464 2011-07-10 Roland McGrath <roland@hack.frob.com>
7465
7466 * csu/elf-init.c (__libc_csu_init): Comment typo.
7467
7468 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7469
7470 * po/pl.po: Update from translation team.
7471 * po/ja.po: Likewise.
7472 * po/ru.po: Likewise.
7473 * po/ko.po: Likewise.
7474 * po/fr.po: Likewise.
7475
7476 2011-07-09 Roland McGrath <roland@hack.frob.com>
7477
7478 * configure.in (.ctors/.dtors header and trailer check):
7479 Use an empirical test on a built program.
7480 * configure: Regenerated.
7481
7482 * configure.in (-z relro check): Use an empirical test on a built DSO.
7483 Detect, but do not require, on ia64.
7484 * configure: Regenerated.
7485
7486 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7487 Update tests that use readelf to use $READELF instead.
7488 * configure: Regenerated.
7489
7490 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7491
7492 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7493 if the result is not used.
7494
7495 2011-07-05 Andreas Jaeger <aj@suse.de>
7496
7497 [BZ#9696]
7498 * stdlib/tst-strtod.c: Add testcase.
7499
7500 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7501
7502 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7503 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7504 The latter has a higher limit. Take additional parameter to pass to
7505 the new function.
7506 (__pathconf): Pass file to __statfs_link_max.
7507 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7508 __statfs_link_max.
7509 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7510 __statfs_link_max.
7511
7512 [BZ #12868]
7513 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7514 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7515 Handle Lustre.
7516 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7517 (__statfs_filesize_max): Likewise.
7518 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7519
7520 2011-07-05 Andreas Jaeger <aj@suse.de>
7521
7522 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7523
7524 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7525
7526 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7527 `status' variable.
7528 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7529 Likewise.
7530
7531 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7532
7533 * Makefile (strop-tests): Add strncat.
7534 * string/test-strncat.c: New file.
7535
7536 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7537
7538 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7539
7540 2011-06-21 Andreas Jaeger <aj@suse.de>
7541
7542 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7543 Copy rule from iconvdata/Makefile.
7544
7545 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7546
7547 [BZ #12922]
7548 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7549 but no long options are defined, just return 'W'.
7550
7551 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7552
7553 [BZ #9696]
7554 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7555
7556 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7557
7558 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7559 netgroups to read.
7560 (innetgr): Likewise.
7561
7562 2011-07-05 Roland McGrath <roland@hack.frob.com>
7563
7564 * config.make.in (install_root): Default to $(DESTDIR).
7565
7566 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7567
7568 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7569
7570 2011-07-02 Roland McGrath <roland@hack.frob.com>
7571
7572 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7573
7574 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7575 containing directory rather than embedding absolute directory names.
7576
7577 * scripts/check-local-headers.sh: Rewritten using awk.
7578 Match by word, not by line. Print error messages for matches.
7579 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7580
7581 * Makerules [shlib-lds-flags empty]:
7582 ($(common-objpfx)libc_pic.opts): New target.
7583 ($(common-objpfx)libc_pic.os.clean): New target.
7584 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7585
7586 * config.make.in (OBJCOPY): New variable.
7587 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7588 * configure: Regenerated.
7589
7590 * config.make.in (use-default-link): New variable.
7591 * configure.in (use_default_link): Grok --with-default-link to set it.
7592 * configure: Regenerated.
7593 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7594 (shlib-lds, shlib-lds-flags): Define to empty.
7595
7596 * Makerules (shlib-lds): New variable.
7597 (shlib-lds-flags): New variable.
7598 (build-shlib, build-moduile, build-module-asneeded): Use it.
7599 ($(common-objpfx)libc.so): Use $(shlib-lds).
7600 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7601 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7602
7603 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7604 DT_FLAGS/DT_FLAGS_1 with zero flags.
7605
7606 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7607 linker script munging.
7608
7609 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7610
7611 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7612 as 128-bit value.
7613 * crypt/sha512.c (sha512_process_block): Perform total addition using
7614 128-bit if possible.
7615 (__sha512_finish_ctx): Likewise.
7616 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7617 as 64-bit value.
7618 * crypt/sha256.c (SWAP64): Define.
7619 (sha256_process_block): Perform total addition using 64-bit if
7620 possible.
7621 (__sha256_finish_ctx): Likewise.
7622
7623 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7624
7625 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7626 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7627 * nscd/hstcache.c (cache_addhst): Likewise.
7628 * nscd/grpcache.c (cache_addgr): Likewise.
7629 * nscd/aicache.c (addhstaiX): Likewise
7630 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7631
7632 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7633
7634 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7635 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7636 * nscd/hstcache.c (cache_addhst): Likewise.
7637 * nscd/grpcache.c (cache_addgr): Likewise.
7638 * nscd/aicache.c (addhstaiX): Likewise
7639
7640 2011-07-01 Andreas Schwab <schwab@redhat.com>
7641
7642 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7643 domain only when needed.
7644
7645 2011-06-30 Andreas Schwab <schwab@redhat.com>
7646
7647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7648 is always restored.
7649
7650 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7651
7652 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7653 are re-adding the entry.
7654 * nscd/servicescache.c (cache_addserv): Likewise.
7655
7656 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7657
7658 * sysdeps/generic/dl-irel.h: fix protection against multiple
7659 inclusions.
7660 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7661
7662 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7663
7664 [BZ #12935]
7665 * malloc/memusage.sh: Fix quoting in message.
7666 * debug/xtrace.sh: Likewise.
7667
7668 * configure.in: Remove support for --experimental-malloc option, make
7669 it the default.
7670 * config.make.in: Likewise.
7671 * malloc/Makefile: Likewise.
7672
7673 2011-06-27 Andreas Schwab <schwab@redhat.com>
7674
7675 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7676 two-byte characters.
7677
7678 2011-06-27 Roland McGrath <roland@hack.frob.com>
7679
7680 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7681 AC_CACHE_CHECK invocation.
7682 * configure: Regenerated.
7683
7684 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7685
7686 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7687
7688 [BZ #12350]
7689 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7690 bit from old_res_options.
7691
7692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7693
7694 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7695 value type for setfct.
7696
7697 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7698
7699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7700 __gettimeofday instead of gettimeofday.
7701
7702 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7703
7704 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7705
7706 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7707
7708 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7709
7710 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7711 info.
7712
7713 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7714
7715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7716 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7717 strcpy-sse2-unaligned strncpy-sse2-unaligned
7718 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7719 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7720 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7721 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7722 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7723 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7725 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7726 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7727 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7728 (STRCPY): Support SSE2 and SSSE3 versions.
7729
7730 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7731
7732 [BZ #12874]
7733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7734 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7735 kernels which artificially limit size of requests.
7736
7737 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7738
7739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7740 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7741 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7742 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7743 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7744 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7745 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7746 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7748 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7749 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7750 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7751 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7752 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7753 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7755 Enable unaligned load optimization for Intel Core i3, i5 and i7
7756 processors.
7757 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7758 Define.
7759 (index_Fast_Unaligned_Load): Define.
7760 (HAS_FAST_UNALIGNED_LOAD): Define.
7761
7762 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7763
7764 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7765
7766 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7767
7768 [BZ #12907]
7769 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7770 until it is clear that the information is realy needed.
7771 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7772
7773 2011-06-22 Andreas Schwab <schwab@redhat.com>
7774
7775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7776
7777 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7778
7779 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7780 /sys/devices/system/cpu/online if it is usable.
7781
7782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7783 reading the information from the /proc filesystem to once a second.
7784
7785 2011-06-21 Andreas Jaeger <aj@suse.de>
7786
7787 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7788 NULL after inclusion of kernel headers.
7789
7790 2011-06-21 Ulrich Drepper <drepper@gmail.com>
7791
7792 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7793 calls to internal_setent.
7794
7795 [BZ #12885]
7796 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7797 addresses using gethostbyname4_r ignore IPv4 addresses.
7798
7799 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7800 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7801
7802 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7803
7804 2011-06-20 David S. Miller <davem@davemloft.net>
7805
7806 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7807 inclusions.
7808 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7809
7810 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7811 (elf_irel): Use it.
7812 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7813 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7814 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7815 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7816 * sysdeps/x86_64/dl-irel.h: Likewise.
7817
7818 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7819 * elf/dl-sym.c: Likewise.
7820
7821 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7822
7823 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7824 need to dereference resplen2.
7825
7826 2011-06-14 Andreas Schwab <schwab@redhat.com>
7827
7828 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7829
7830 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7831
7832 * Makeconfig: Define vardbdir and inst_vardbdir.
7833 * nss/Makefile: Add rules to install db-Makefile.
7834
7835 * nss/nss_db/db-XXX.c: Cleanup.
7836
7837 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7838 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7839 GLIBC_PRIVATE.
7840 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7841 * nss/makedb.c: Implement -g option to specify that value strings
7842 are generated and should not be added to table iterated over for
7843 get*ent calls.
7844 * nss/nss_db/db-initgroups.c: New file.
7845
7846 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7847 interface.
7848
7849 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7850 (internal_getgrouplist): Adjust to name change.
7851 Update use_initgroups_entry if this is not the first call.
7852 * nss/databases.def: Add initgroups entry.
7853
7854 * nss/makedb.c (compute_tables): Check result of multiple hash table
7855 sizes to minimize maximum chain length.
7856
7857 2011-06-14 Ulrich Drepper <drepper@gmail.com>
7858
7859 * Versions.def: Add entry for libnss_db.
7860 * shlib-versions: Likewise.
7861 * nss/Makefile: Add rules to build libnss_db.
7862 * nss/Versions: Add libnss_db information. Organize libnss_files
7863 entries better.
7864 * nss/db-Makefile: Add gshadow support. Change rules for the new
7865 makedb progra. Some minor improvements to generate smaller files.
7866 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7867 here from...
7868 * nss/makedb.c: ...here.
7869 Improve database format to be smaller and require less memory at
7870 runtime.
7871 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7872 db anymore.
7873 * nss/nss_db/db-netgrp.c: Likewise.
7874 * nss/nss_db/db-open.c: Likewise.
7875 * nss/nss_files/flies-XXX.x: Adjust comments.
7876 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7877 * nss/nss_files/files-grp.c: Likewise.
7878 * nss/nss_files/files-hosts.c: Likewise.
7879 * nss/nss_files/files-network.c: Likewise.
7880 * nss/nss_files/files-proto.c: Likewise.
7881 * nss/nss_files/files-pwd.c: Likewise.
7882 * nss/nss_files/files-rpc.c: Likewise.
7883 * nss/nss_files/files-service.c: Likewise.
7884 * nss/nss_files/files-sgrp.c: Likewise.
7885 * nss/nss_files/files-spwd.c: Likewise.
7886 * nss/nss_db/db-alias.c: Removed.
7887 * nss/nss_db/dummy-db.h: Removed.
7888
7889 2011-06-02 Ulrich Drepper <drepper@gmail.com>
7890
7891 * nss/makedb.c: Rewritten to not use database library.
7892 * nss/Makefile: Update to build new makedb program.
7893
7894 2011-06-14 Andreas Jaeger <aj@suse.de>
7895
7896 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7897 memset declaration.
7898
7899 2011-06-10 Andreas Schwab <schwab@redhat.com>
7900
7901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7902 tmpbuf.
7903
7904 2011-06-10 Roland McGrath <roland@hack.frob.com>
7905
7906 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7907 * elf/Makefile ($(objpfx)ld.so): Likewise.
7908
7909 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7910 Don't list ld.so twice in dependencies.
7911
7912 * posix/bug-regex31.c: Include <stdlib.h>.
7913
7914 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7915
7916 * nis/nss_compat/compat-spwd.c
7917 (getspent_next_nss_netgr): Remove unused variable.
7918 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7919
7920 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7921 nonmembers" output to use the right array.
7922
7923 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7924
7925 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7926
7927 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7928 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7929 * catgets/gencat.c (read_input_file): Likewise.
7930 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7931
7932 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7933 variable definition inside #if's controlling its use.
7934
7935 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7936
7937 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7938
7939 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7940
7941 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7942 unreachable code.
7943
7944 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7945
7946 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7947 * configure: Regenerated.
7948
7949 * Makerules: Revert last change.
7950 * elf/Makefile: Likewise.
7951
7952 2011-06-09 Roland McGrath <roland@hack.frob.com>
7953
7954 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7955 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7956 (reloc-link): Likewise.
7957
7958 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7959
7960 * elf/Makefile: Add rules to build pldd.
7961 * elf/pldd.c: New file.
7962 * elf/pldd-xx.c: New file.
7963
7964 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7965
7966 * version.h: Update for 2.15 development version.
7967
7968 2011-06-07 David S. Miller <davem@davemloft.net>
7969
7970 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7971 ifuncs.
7972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7973 elf_machine_lazy_rel): Likewise.
7974 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7976 elf_machine_lazy_rel): Likewise.
7977 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7978 dl_hwcap via passed in argument.
7979 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7980 Likewise.
7981
7982 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7983
7984 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7985
7986 2011-06-06 Roland McGrath <roland@hack.frob.com>
7987
7988 [BZ #12849]
7989 * manual/fdl-1.1.texi: New file, verbatim from:
7990 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7991 * manual/lgpl-2.1.texi: New file, verbatim from:
7992 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7993 * manual/Makefile (licenses): New variable, list those new file names.
7994 (texis): Use it.
7995 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7996
7997 * manual/fdl.texi: File removed.
7998 * manual/lesser.texi: File removed.
7999 * manual/libc.texinfo (Copying, Documentation License):
8000 Use new @include file names, put @appendix directive before @include.
8001
8002 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8003
8004 [BZ #12841]
8005 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8006 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8007 (mq_open): Add __NTH.
8008
8009 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8010
8011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8012 Assume Intel Core i3/i5/i7 processor if AVX is available.
8013
8014 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8015
8016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8017 typo.
8018
8019 2011-05-31 Andreas Schwab <schwab@redhat.com>
8020
8021 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8022 memory. Use alloca_account. Fix memory leak when retrying.
8023
8024 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8025
8026 * version.h (RELEASE): Bump for 2.14 release.
8027 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8028
8029 * config.make.in (RANLIB): Remove entry.
8030
8031 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8032
8033 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8034 (libc.pot): Work around missing support for .ksh extension in xgettext.
8035
8036 [BZ #12684]
8037 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8038 if both request failed.
8039 (send_dg): In case of server errors clear resplen or *resplen2.
8040
8041 [BZ #12454]
8042 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8043 when there are multiple maps.
8044 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8045 (_dl_fini): Remove test here.
8046
8047 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8048
8049 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8050
8051 [BZ #12350]
8052 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8053 bit from old_res_options.
8054 (gaih_inet): Likewise.
8055
8056 [BZ #11099]
8057 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8058 as signed.
8059
8060 * resolv/res_init.c (res_setoptions): Make the code more compact.
8061
8062 [BZ #11558]
8063 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8064 set RES_USEVC.
8065
8066 [BZ #11634]
8067 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8068
8069 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8070
8071 [BZ #11781]
8072 * malloc/malloc.h: Declare malloc hook variables as volatile.
8073
8074 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8075 in last patch.
8076
8077 [BZ #11799]
8078 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8079 raise in the comment.
8080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8082 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8083
8084 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8085
8086 [BZ #12811]
8087 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8088 grow the buffers more if it already has to be sufficient.
8089 (build_wcs_upper_buffer): Likewise.
8090 * posix/regexec.c (check_matching): Likewise.
8091 (clean_state_log_if_needed): Likewise.
8092 (extend_buffers): Don't enlarge buffers beyond size of the input
8093 buffer.
8094 Patches mostly by Emil Wojak <emil@wojak.eu>.
8095 * posix/bug-regex32.c: New file.
8096 * posix/Makefile (tests): Add bug-regex32.
8097
8098 * locale/findlocale.c (_nl_find_locale): Return right away if
8099 _nl_explode_name failed.
8100 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8101
8102 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8103
8104 * debug/xtrace.sh: Unify messages.
8105 * malloc/memusage.sh: Likewise.
8106
8107 [BZ #12813]
8108 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8109 time symbol from vDSO. Substitute with vsyscall if not available.
8110 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8111 __vdso_time.
8112
8113 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8114 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8115 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8116 Add sendmmsg and internal_sendmmsg.
8117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8118 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8119 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8120
8121 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8122 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8124
8125 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8126
8127 [BZ #12813]
8128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8129 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8130 available.
8131 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8132 __vdso_getcpu.
8133
8134 [BZ #12814]
8135 * iconvdata/Makefile (tests): Add bug-iconv9.
8136 * iconvdata/bug-iconv9.c: New file.
8137
8138 2011-05-27 Andreas Schwab <schwab@redhat.com>
8139
8140 [BZ #12814]
8141 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8142
8143 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8144
8145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8146 (struct user_regs_struct): Change intcs field back to cs.
8147
8148 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8149
8150 * po/ja.po: Update from translation team.
8151
8152 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8153
8154 [BZ #12795]
8155 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8156 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8157
8158 2011-05-20 Andreas Schwab <schwab@redhat.com>
8159
8160 * stdlib/longlong.h: Update from GCC.
8161
8162 2011-05-23 Andreas Schwab <schwab@redhat.com>
8163
8164 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8165 parameter name.
8166 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8167 Add parameter name.
8168 (__sysconf): Pass it down.
8169
8170 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8171
8172 [BZ #12671]
8173 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8174 some situations.
8175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8176 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8177 add in in __libc_use_alloca calls. Adjust callers.
8178 (glob): Use malloc in some situations.
8179
8180 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8181 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8182 pltexit.
8183
8184 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8185
8186 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8187 and CLOCK_BOOTTIME_ALARM.
8188
8189 [BZ #12782]
8190 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8191 is returned.
8192
8193 * string/_strerror.c (__strerror_r): Print negative errors as signed
8194 numbers.
8195
8196 [BZ #12777]
8197 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8198 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8199 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8200
8201 * configure.in: Fix typo in redirection and correct removal of test
8202 files in two cases.
8203
8204 [BZ #12788]
8205 * locale/setlocale.c (new_composite_name): Fix test to check for
8206 identical name of all categories.
8207
8208 [BZ #12792]
8209 * libio/filedoalloc.c (local_isatty): New function.
8210 (_IO_file_doallocate): Use local_isatty.
8211 * stdio-common/perror.c (perror): In case a new stream is used
8212 forward the stream error.
8213 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8214 error flag.
8215
8216 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8217
8218 [BZ #11869]
8219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8220 alloca.
8221 * include/alloca.h (extend_alloca_account): Define.
8222
8223 [BZ #11857]
8224 * posix/regex.h: Fix comments with documentation of user-accessible
8225 fields after compilation and describe correct free'ing of pattern
8226 after re_compile_pattern.
8227 Patch by Reuben Thomas <rrt@sc3d.org>.
8228
8229 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8230
8231 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8232 and -mno-altivec to prevent the compiler from using Altivec and/or
8233 VSX instructions when the corresponding registers are not available.
8234
8235 2011-05-19 Andreas Schwab <schwab@redhat.com>
8236
8237 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8238
8239 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8240
8241 * libio/freopen.c (freopen): Use __dup2, not dup2.
8242 * libio/freopen64.c (freopen64): Likewise.
8243
8244 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8245
8246 [BZ #12775]
8247 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8248 * math/Makefile (tests): Add test-powl.
8249 (CFLAGS-test-powl.c): Define.
8250 * math/test-powl.c: New file.
8251
8252 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8253
8254 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8255
8256 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8257
8258 [BZ #11837]
8259 * iconvdata/gb18030.c: Update to GB18020-2005.
8260
8261 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8262
8263 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8264 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8265 Patch by Aharon Robbins <arnold@skeeve.com>.
8266
8267 [BZ #11892]
8268 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8269 on the stack.
8270
8271 [BZ #11895]
8272 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8273 through underflows.
8274
8275 [BZ #12766]
8276 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8277 point to strings before performing equality test for error_one_per_line
8278 mode.
8279
8280 [BZ #11697]
8281 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8282
8283 [BZ #11820]
8284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8285 (struct user_fpregs_struct): Avoid __uint*_t types.
8286
8287 [BZ #6420]
8288 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8289 symbol info. Use it instead of calling _dl_addr locally.
8290 (lock_and_info): New function.
8291 (tr_freehook): Call lock_and_info and pass symbol info as additional
8292 parameter to tr_where.
8293 (tr_mallochook): Likewise.
8294 (tr_reallochook): Likewise.
8295 (tr_memalignhook): Likewise.
8296
8297 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8298 used and couldn't be at all thread-safe.
8299
8300 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8301
8302 * libio/freopen.c (freopen): Don't close old file descriptor
8303 before the new one is opened. Instead dup the new file descriptor
8304 to the old one after the new stream is created.
8305 * libio/freopen64.c (freopen64): Likewise.
8306 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8307 * libio/fileops.c (_IO_new_file_close_it): Handle new
8308 _IO_FLAGS2_NOCLOSE flag.
8309 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8310 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8311 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8312 _IO_FLAGS2_NOCLOSE flag.
8313 * include/unistd.h: Add hidden_proto for dup3.
8314 Define __have_dup3.
8315 * io/dup3.c: Define hidden symbol.
8316 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8317
8318 [BZ #7101]
8319 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8320 when an incomplete long option is used.
8321 * posix/tst-getopt_long1.c: New file.
8322 * posix/Makefile (tests): Add tst-getopt_long1.
8323
8324 [BZ #10138]
8325 * scripts/config.guess: Update from autoconf-2.68.
8326 * scripts/config.sub: Likewise.
8327
8328 [BZ #10157]
8329 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8330 tests into ...
8331 (has_cpuclock): ...this. New function.
8332 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8333 macro here based on has_cpuclock code.
8334
8335 [BZ #10149]
8336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8337 First byte (not low byte) is now always NUL.
8338 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8339
8340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8341 Use non-cancelable interfaces.
8342
8343 [BZ #9809]
8344 * locale/iso-639.def: Add entry for Sorani.
8345
8346 [BZ #11901]
8347 * include/stdlib.h: Move include protection to the right place.
8348 Define abort_msg_s. Declare __abort_msg with it.
8349 * stdlib/abort.c (__abort_msg): Adjust type.
8350 * assert/assert.c (__assert_fail_base): New function. Majority
8351 of code from __assert_fail. Allocate memory for __abort_msg with
8352 mmap.
8353 (__assert_fail): Now call __assert_fail_base.
8354 * assert/assert-perr.c: Remove bulk of implementation. Use
8355 __assert_fail_base.
8356 * include/assert.hL Declare __assert_fail_base.
8357 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8358 mmap.
8359 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8360
8361 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8362
8363 [BZ #11952]
8364 [BZ #12453]
8365 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8366 until all modules are registered in the DTV.
8367 * elf/Makefile: Add rules to build and run tst-tls19.
8368 * elf/tst-tls19.c: New file.
8369 * elf/tst-tls19mod1.c: New file.
8370 * elf/tst-tls19mod2.c: New file.
8371 * elf/tst-tls19mod3.c: New file.
8372 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8373
8374 [BZ #12083]
8375 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8376 correctly.
8377
8378 [BZ #12601]
8379 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8380 two-byte sequence errors.
8381 * iconvdata/Makefile (tests): Add bug-iconv8.
8382 * iconvdata/bug-iconv8.c: New file.
8383
8384 [BZ #12626]
8385 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8386 buf2 definition.
8387
8388 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8389
8390 [BZ #12432]
8391 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8392 (dummy_getcfa): New function.
8393 (init): Get _Unwind_GetCFA address, use dummy if not found.
8394 (backtrace_helper): In recursion check, also check whether CFA changes.
8395 (__backtrace): Completely initialize arg.
8396
8397 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8398 storing incomplete byte sequence in state object. Avoid testing for
8399 guaranteed too small input if we know there is enough data available.
8400
8401 2011-05-11 Andreas Schwab <schwab@redhat.com>
8402
8403 * Makeconfig (+link-pie): Indent.
8404 * Rules (binaries-pie): Define if $(have-fpie) and
8405 $(build-shared).
8406 (binaries-shared): Also filter out $(binaries-pie).
8407 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8408 * nscd/Makefile (others-pie): Add nscd.
8409 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8410 ($(objpfx)nscd): Remove command override.
8411 * login/Makefile (others-pie): Add pt_chown.
8412 ($(objpfx)pt_chown): Remove command override.
8413 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8414 remove command overrides.
8415
8416 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8417
8418 * libio/tst_putwc.c: Fix error messages.
8419
8420 [BZ #12724]
8421 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8422 currently writing and seek to current position when not.
8423 * libio/Makefile (tests): Add bug-fclose1.
8424 * libio/bug-fclose1.c: New file.
8425
8426 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8427
8428 [BZ #12511]
8429 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8430 don't set DF_1_NODELETE here.
8431 (do_lookup_x): When entering new entry test for copy relocation
8432 and if necessary set DF_1_NODELETE flag.
8433 * elf/tst-unique4.cc: New file.
8434 * elf/tst-unique4.h: New file.
8435 * elf/tst-unique4lib.cc: New file.
8436 * elf/Makefile: Add rules to build and run tst-unique4.
8437 Patch by Piotr Bury <pbury@goahead.com>.
8438
8439 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8440
8441 [BZ #12052]
8442 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8443
8444 [BZ #12625]
8445 * misc/mntent_r.c (addmntent): Flush the stream after the output
8446
8447 [BZ #12393]
8448 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8449 (is_trusted_path_normalize): Skip initial colon. Append slash
8450 to empty buffer. Duplicate is_trusted_path code but allow
8451 constructed patch to be prefix.
8452 (is_dst): Allow $ORIGIN followed by /.
8453 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8454 Correct testing of result of is_trusted_path_normalize
8455 (decompose_rpath): Fix warning.
8456
8457 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8458
8459 [BZ #11257]
8460 * grp/initgroups.c (internal_getgrouplist): When we found the service
8461 list through the initgroups entry in nsswitch.conf do not always
8462 continue on a successful lookup. Don't always use the
8463 __nss_group_database value if it is set.
8464 * nss/nsswitch.conf (initgroups): Change action for successful db
8465 lookup to continue for compatibility.
8466
8467 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8468
8469 [BZ #11532]
8470 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8471 and CP774 modules.
8472 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8473 and CP774 modules.
8474 * iconvdata/tst-tables.sh: Likewise.
8475 * iconvdata/cp770.c: New file.
8476 * iconvdata/cp771.c: New file.
8477 * iconvdata/cp772.c: New file.
8478 * iconvdata/cp773.c: New file.
8479 * iconvdata/cp774.c: New file.
8480 * iconvdata/testdata/CP770: New file.
8481 * iconvdata/testdata/CP770..UTF8: New file.
8482 * iconvdata/testdata/CP771: New file.
8483 * iconvdata/testdata/CP771..UTF8: New file.
8484 * iconvdata/testdata/CP772: New file.
8485 * iconvdata/testdata/CP772..UTF8: New file.
8486 * iconvdata/testdata/CP773: New file.
8487 * iconvdata/testdata/CP773..UTF8: New file.
8488 * iconvdata/testdata/CP774: New file.
8489 * iconvdata/testdata/CP774..UTF8: New file.
8490
8491 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8492 END CHARMAP line.
8493 * iconvdata/gen-8bit-gap.sh: Likewise.
8494 * iconvdata/gen-8bit.sh: Likewise.
8495
8496 * locale/iso-639.def: Add ary entry.
8497
8498 [BZ #11258]
8499 * locale/C-translit.h.in: Add U20A1 transliteration.
8500
8501 [BZ #12178]
8502 * locale/iso-639.def: Add wae entry.
8503 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8504
8505 [BZ #12545]
8506 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8507 for n.
8508
8509 [BZ #12711]
8510 * locale/C-translit.h.in: Add entry for U20B9.
8511 Patch by pravin.d.s@gmail.com.
8512
8513 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8514
8515 [BZ #12713]
8516 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8517 ENAMETOOLONG use generic getcwd.
8518 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8519 in rtld. Use *stat64.
8520 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8521 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8522 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8523 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8524 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8525 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8526 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8527 __fstatat64 macros.
8528 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8529 * dirent/rewinddir.c: Add libc_hidden_def.
8530 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8531 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8532
8533 * include/dirent.h (__alloc_dir): Add flags parameter.
8534 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8535 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8536 __alloc_dir.
8537 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8538 from fdopendir if O_CLOEXEC is already set.
8539
8540 2011-03-15 Alan Modra <amodra@gmail.com>
8541
8542 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8543 l_tls_firstbyte_offset non-zero. Save padding offset in
8544 l_tls_firstbyte_offset for later use.
8545 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8546 freeing static tls block.
8547
8548 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8549
8550 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8551 where #ifdef was intended. The intent is to prevent ARG_MAX from
8552 being defined by the kernel headers.
8553
8554 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8555
8556 [BZ #12734]
8557 * resolv/resolv.h: Define RES_NOTLDQUERY.
8558 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8559 no-tld-query and set RES_NOTLDQUERY.
8560 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8561 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8562 modern BIND to search name as TLD unless forbidden.
8563
8564 2011-05-07 Petr Baudis <pasky@suse.cz>
8565 Ulrich Drepper <drepper@gmail.com>
8566
8567 [BZ #12393]
8568 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8569 (is_trusted_path): ...to here.
8570 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8571 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8572 using is_trusted_path_normalize() in setuid scripts.
8573
8574 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8575
8576 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8577 __BEGIN/__END_DECLS.
8578
8579 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8580
8581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8582 NSS_STATUS_NOTFOUND if no record was found.
8583
8584 2011-05-05 Andreas Schwab <schwab@redhat.com>
8585
8586 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8587 (headers-not-in-tirpc): Remove rpc/netdb.h
8588 * resolv/netdb.h: Revert last change.
8589
8590 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8591
8592 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8593 circular dependency between libgcc.a and libc.a.
8594
8595 2011-05-05 Andreas Schwab <schwab@redhat.com>
8596
8597 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8598 * nis/Makefile: Don't install rpcsvc/*.
8599 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8600 instead of <rpc/types.h>.
8601 (MAXHOSTNAMELEN): Define.
8602
8603 2011-05-03 Andreas Schwab <schwab@redhat.com>
8604
8605 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8606
8607 2011-04-28 Maciej Babinski <mbabinski@google.com>
8608
8609 [BZ #12714]
8610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8611 gethostbyname4_r when IPv6 results are possible.
8612
8613 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8614
8615 [BZ #12723]
8616 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8617 _PC_PIPE_BUF handling.
8618
8619 2011-04-30 Bruno Haible <bruno@clisp.org>
8620
8621 [BZ #12717]
8622 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8623 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8624 to 'int'.
8625 * inet/getnameinfo.c (getnameinfo): Likewise.
8626
8627 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8628
8629 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8630 to groups setting in database lookup.
8631 * nss/nsswitch.conf: Add initgroups entry.
8632
8633 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8634
8635 [BZ #12685]
8636 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8637 mode string.
8638 Patch by Eric Blake <eblake@redhat.com>.
8639
8640 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8641
8642 * sunrpc/Makefile (need-export-routines): Add svc_run.
8643 (routines): Remove svc_run.
8644 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8645 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8646 * sunrpc/svc_run.c (svc_run): Likewise.
8647 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8648
8649 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8650
8651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8652 problem in reallocation in last patch.
8653
8654 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8655
8656 * sunrpc/Makefile: Move inclusion of Rules.
8657
8658 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8659
8660 * nss/nss_files/files-initgroups.c: New file.
8661 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8662 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8663 _nss_files_initgroups_dyn.
8664
8665 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8666
8667 * elf/elf.h (R_ARM_IRELATIVE): Define.
8668
8669 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8670
8671 * po/ru.po: Update from translation team.
8672
8673 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8674
8675 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8676 dependencies.
8677
8678 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8679
8680 [BZ #12653]
8681 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8682 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8684 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8685 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8686
8687 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8688
8689 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8690 differing bytes.
8691 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8694
8695 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8696
8697 [BZ #12420]
8698 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8699 storing it.
8700 * stdlib/bug-getcontext.c: New file.
8701 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8702
8703 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8704
8705 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8706 instructions into .machine "z9-109".
8707 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8708 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8709
8710 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8711
8712 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8713 between environment variables and auxiliary vector.
8714
8715 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8716
8717 * Makefile: Add rules to build linkobj/libc.so.
8718 * include/libc-symbols.h: Define libc_hidden_nolink.
8719 * include/rpc/auth.h: Mark functions which are to be hidden.
8720 * include/rpc/auth_des.h: Likewise.
8721 * include/rpc/auth_unix.h: Likewise.
8722 * include/rpc/clnt.h: Likewise.
8723 * include/rpc/des_crypt.h: Likewise.
8724 * include/rpc/key_prot.h: Likewise.
8725 * include/rpc/pmap_clnt.h: Likewise.
8726 * include/rpc/pmap_prot.h: Likewise.
8727 * include/rpc/pmap_rmt.h: Likewise.
8728 * include/rpc/rpc_msg.h: Likewise.
8729 * include/rpc/svc.h: Likewise.
8730 * include/rpc/svc_auth.h: Likewise.
8731 * include/rpc/xdr.h: Likewise.
8732 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8733 * nss/Makefile: Likewise.
8734 * sunrpc/Makefile: Don't install headers. Build library with normal
8735 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8736 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8737 for the compat linking library. Remove use of INTDEF/INTUSE.
8738 * sunrpc/auth_none.c: Likewise.
8739 * sunrpc/auth_unix.c: Likewise.
8740 * sunrpc/authdes_prot.c: Likewise.
8741 * sunrpc/authuxprot.c: Likewise.
8742 * sunrpc/clnt_gen.c: Likewise.
8743 * sunrpc/clnt_perr.c: Likewise.
8744 * sunrpc/clnt_raw.c: Likewise.
8745 * sunrpc/clnt_simp.c: Likewise.
8746 * sunrpc/clnt_tcp.c: Likewise.
8747 * sunrpc/clnt_udp.c: Likewise.
8748 * sunrpc/clnt_unix.c: Likewise.
8749 * sunrpc/des_crypt.c: Likewise.
8750 * sunrpc/des_soft.c: Likewise.
8751 * sunrpc/get_myaddr.c: Likewise.
8752 * sunrpc/key_call.c: Likewise.
8753 * sunrpc/key_prot.c: Likewise.
8754 * sunrpc/netname.c: Likewise.
8755 * sunrpc/pm_getmaps.c: Likewise.
8756 * sunrpc/pm_getport.c: Likewise.
8757 * sunrpc/pmap_clnt.c: Likewise.
8758 * sunrpc/pmap_prot.c: Likewise.
8759 * sunrpc/pmap_prot2.c: Likewise.
8760 * sunrpc/pmap_rmt.c: Likewise.
8761 * sunrpc/publickey.c: Likewise.
8762 * sunrpc/rpc_cmsg.c: Likewise.
8763 * sunrpc/rpc_common.c: Likewise.
8764 * sunrpc/rpc_dtable.c: Likewise.
8765 * sunrpc/rpc_prot.c: Likewise.
8766 * sunrpc/rpc_thread.c: Likewise.
8767 * sunrpc/rtime.c: Likewise.
8768 * sunrpc/svc.c: Likewise.
8769 * sunrpc/svc_auth.c: Likewise.
8770 * sunrpc/svc_authux.c: Likewise.
8771 * sunrpc/svc_raw.c: Likewise.
8772 * sunrpc/svc_run.c: Likewise.
8773 * sunrpc/svc_simple.c: Likewise.
8774 * sunrpc/svc_tcp.c: Likewise.
8775 * sunrpc/svc_udp.c: Likewise.
8776 * sunrpc/svc_unix.c: Likewise.
8777 * sunrpc/svcauth_des.c: Likewise.
8778 * sunrpc/xcrypt.c: Likewise.
8779 * sunrpc/xdr.c: Likewise.
8780 * sunrpc/xdr_array.c: Likewise.
8781 * sunrpc/xdr_float.c: Likewise.
8782 * sunrpc/xdr_intXX_t.c: Likewise.
8783 * sunrpc/xdr_mem.c: Likewise.
8784 * sunrpc/xdr_rec.c: Likewise.
8785 * sunrpc/xdr_ref.c: Likewise.
8786 * sunrpc/xdr_sizeof.c: Likewise.
8787 * sunrpc/xdr_stdio.c: Likewise.
8788
8789 2011-04-10 Ulrich Drepper <drepper@gmail.com>
8790
8791 [BZ #12650]
8792 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8793 * sysdeps/ia64/dl-tls.h: Likewise.
8794 * sysdeps/powerpc/dl-tls.h: Likewise.
8795 * sysdeps/s390/dl-tls.h: Likewise.
8796 * sysdeps/sh/dl-tls.h: Likewise.
8797 * sysdeps/sparc/dl-tls.h: Likewise.
8798 * sysdeps/x86_64/dl-tls.h: Likewise.
8799 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8800
8801 2011-03-14 Andreas Schwab <schwab@redhat.com>
8802
8803 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8804 rpath element also skip the following colon.
8805 (expand_dynamic_string_token): Add is_path parameter and pass
8806 down to DL_DST_REQUIRED and _dl_dst_substitute.
8807 (decompose_rpath): Call expand_dynamic_string_token with
8808 non-zero is_path. Ignore empty rpaths.
8809 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8810 with zero is_path.
8811
8812 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8813
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8815 Make cancelable.
8816
8817 2011-04-09 Ulrich Drepper <drepper@gmail.com>
8818
8819 [BZ #12655]
8820 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8821 Patch by Filipe David Manana <fdmanana@apache.org>.
8822
8823 2011-04-07 Andreas Schwab <schwab@redhat.com>
8824
8825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8826 Maintain aligned stack.
8827 (CHECK_RSP): Remove unused macro.
8828
8829 2011-04-03 Ulrich Drepper <drepper@gmail.com>
8830
8831 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8832 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8833
8834 2011-04-02 Ulrich Drepper <drepper@gmail.com>
8835
8836 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8837
8838 * include/features.h: Mention __USE_XOPEN2K8 in comment.
8839
8840 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8841
8842 [BZ #12518]
8843 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8844 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8845 * sysdeps/x86_64/memmove.c: New file.
8846 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8847 (memcpy): Renamed to ...
8848 (__new_memcpy): This.
8849 (memcpy): Provide GLIBC_2_14 memcpy.
8850 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8851 (memcpy): Provide GLIBC_2_2_5 memcpy.
8852
8853 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8854
8855 [BZ #12631]
8856 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8857
8858 2011-03-30 Andreas Schwab <schwab@redhat.com>
8859
8860 * misc/syncfs.c: New file.
8861 * misc/Makefile (routines): Add syncfs.
8862 * posix/unistd.h: Declare syncfs.
8863 * sysdeps/unix/syscalls.list: Add syncfs.
8864
8865 2011-04-01 Andreas Schwab <schwab@redhat.com>
8866
8867 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8868 open_by_handle_at.
8869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8872 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8874 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8876
8877 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8878
8879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8881 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8886
8887 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8888 sync_file_range.c with -fexceptions.
8889 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8890 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8891 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8892 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8893 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8894 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8895 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8896 sync_file_range as cancellation point
8897 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8898 now a wrapper around __call_sync_file_range with cancellation handling.
8899 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8900 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8901 function name to __call_sync_file_range.
8902 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8903 Add call_sync_file_range.
8904
8905 2011-04-01 Andreas Schwab <schwab@redhat.com>
8906
8907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8908 bits/timex.h.
8909
8910 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8911
8912 * iconv/iconv.h: Fix typo in comment.
8913 * io/fcntl.h: Likewise.
8914 * libio/stdio.h: Likewise.
8915 * posix/spawn.h: Likewise.
8916 * posix/unistd.h: Likewise.
8917 * stdlib/stdlib.h: Likewise.
8918 * time/time.h: Likewise.
8919 * wcsmbs/wchar.h: Likewise.
8920
8921 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8922 open_by_handle): Add.
8923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8924 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8925 Augment a few comments.
8926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8929 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8931 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8932 open_by_handle.
8933
8934 * io/fcntl.h (AT_EMPTY_PATH): Define.
8935
8936 2011-03-30 Ulrich Drepper <drepper@gmail.com>
8937
8938 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8939 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8940 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8941 to...
8942 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
8943 * Versions.def: Add GLIBC_2.14.
8944 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8945 Export.
8946
8947 2011-03-22 Ulrich Drepper <drepper@gmail.com>
8948
8949 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8950 round counter.
8951 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8952
8953 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8954
8955 [BZ #12597]
8956 * string/test-strncmp.c (do_page_test): New function.
8957 (check2): Likewise.
8958 (test_main): Call check2.
8959 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8960
8961 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8962
8963 [BZ #12587]
8964 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8965 Handle cache information in CPU leaf 4.
8966 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8967
8968 2011-03-18 Ulrich Drepper <drepper@gmail.com>
8969
8970 [BZ #12583]
8971 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8972 character representation.
8973 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8974
8975 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8976
8977 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8978 END(__isnan) to END(__isnanf) to match function entry point/label
8979 EALIGN(__isnanf,...).
8980
8981 2011-03-10 Jakub Jelinek <jakub@redhat.com>
8982
8983 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8984
8985 2011-03-10 Ulrich Drepper <drepper@gmail.com>
8986
8987 [BZ #12510]
8988 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8989 copy from the symbol referenced in the relocation to initialize the
8990 used variable.
8991 Patch by Piotr Bury <pbury@goahead.com>.
8992 * elf/Makefile: Add rules to build and tst-unique3.
8993 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8994 * elf/tst-unique3.cc: New file.
8995 * elf/tst-unique3.h: New file.
8996 * elf/tst-unique3lib.cc: New file.
8997 * elf/tst-unique3lib2.cc: New file.
8998
8999 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9000
9001 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9002
9003 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9004 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9005 to _start.
9006
9007 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9008
9009 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9010 to-be-loaded object along a path to loader is ld.so.
9011
9012 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9013 Ulrich Drepper <drepper@gmail.com>
9014
9015 * sysdeps/x86_64/memset.S: After aligning destination, code
9016 branches to different locations depending on the value of
9017 misalignment, when multiarch is enabled. Fix this.
9018
9019 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9020
9021 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9022 Set _x86_64_preferred_memory_instruction for AMD processsors.
9023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9024 Set bit_Prefer_SSE_for_memop for AMD processors.
9025
9026 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9027
9028 * libio/fmemopen.c (fmemopen): Optimize a bit.
9029
9030 2011-03-03 Andreas Schwab <schwab@redhat.com>
9031
9032 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9033
9034 2011-03-03 Roland McGrath <roland@redhat.com>
9035
9036 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9037
9038 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9039
9040 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9041 __bzero_ultra1 instead of __memset_ultra1.
9042
9043 2011-02-23 Andreas Schwab <schwab@redhat.com>
9044 Ulrich Drepper <drepper@gmail.com>
9045
9046 [BZ #12509]
9047 * include/link.h (struct link_map): Add l_orig_initfini.
9048 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9049 returning unsuccessfully.
9050 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9051 close of a file loaded at startup, restore the original l_initfini
9052 list.
9053 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9054 list, store the pointer.
9055 * elf/Makefile ($(objpfx)noload-mem): New rule.
9056 (noload-ENV): Define.
9057 (tests): Add $(objpfx)noload-mem.
9058 * elf/noload.c: Include <memcheck.h>.
9059 (main): Call mtrace. Close all opened handles.
9060
9061 2011-02-17 Andreas Schwab <schwab@redhat.com>
9062
9063 [BZ #12454]
9064 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9065 dependencies are missing.
9066
9067 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9068
9069 Fix __if_freereq crash: Unlike the generic version which uses free,
9070 Hurd needs munmap.
9071 * sysdeps/mach/hurd/ifreq.h: New file.
9072
9073 2011-01-27 Petr Baudis <pasky@suse.cz>
9074 Ulrich Drepper <drepper@gmail.com>
9075
9076 [BZ 12445]#
9077 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9078 to extend_alloca().
9079 * stdio-common/bug23.c: New file.
9080 * stdio-common/Makefile (tests): Add bug23.
9081
9082 2010-09-28 Andreas Schwab <schwab@redhat.com>
9083 Ulrich Drepper <drepper@gmail.com>
9084
9085 [BZ #12489]
9086 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9087 before performing relro protection. At old place add assertion
9088 to make sure nothing changed.
9089
9090 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9091 Glauber de Oliveira Costa <glommer@gmail.com>
9092
9093 * elf/elf.h: Add new ARM TLS relocs.
9094
9095 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9096
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9098 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9099 cast from r3.
9100 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9101 'tests' variable.
9102 * sysdeps/wordsize-64/tst-writev.c: New file.
9103
9104 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9105
9106 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9107 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9108 insns in _dl_start to prevent a TOC reference before relocs are
9109 resolved.
9110
9111 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9112
9113 [BZ #12469]
9114 * Makeconfig: Remove RANLIB definition.
9115 * Makerules: Don't use RANLIB.
9116 * aclocal.m4: Remove ranlib test.
9117 * configure.in: No need to check for ranlib.
9118 * elf/rtld-Rules: Don't use RANLIB.
9119
9120 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9121
9122 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9123 protection macro.
9124 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9125 inclusion protection macro.
9126
9127 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9128 SIGRTMIN and SIGRTMAX and print information in that case only when
9129 SIGRTMIN is defined.
9130
9131 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9132
9133 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9134 arginfo fn returning -1.
9135
9136 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9137 and thousands string is zero terminated.
9138
9139 2011-02-03 Andreas Schwab <schwab@redhat.com>
9140
9141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9142 sysdeps/unix/sysv/linux/bits/socket.h.
9143
9144 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9145
9146 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9147 (__CPU_COUNT): Remove old macros.
9148 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9149 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9150 (__CPU_ALLOC, __CPU_FREE): Add macros.
9151 (__sched_cpualloc, __sched_cpufree): Add declarations.
9152
9153 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9154
9155 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9156 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9157 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9158 (readdhstai): Return value of addhstaiX call.
9159 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9160 (addgrbyX): Return value returned by cache_addgr.
9161 (readdgrbyname): Return value returned by addgrbyX.
9162 (readdgrbygid): Likewise.
9163 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9164 (addpwbyX): Return value returned by cache_addpw.
9165 (readdpwbyname): Return value returned by addhstbyX.
9166 (readdpwbyuid): Likewise.
9167 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9168 (addservbyX): Return value returned by cache_addserv.
9169 (readdservbyname): Return value returned by addservbyX:
9170 (readdservbyport): Likewise.
9171 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9172 (addhstbyX): Return value returned by cache_addhst.
9173 (readdhstbyname): Return value returned by addhstbyX.
9174 (readdhstbyaddr): Likewise.
9175 (readdhstbynamev6): Likewise.
9176 (readdhstbyaddrv6): Likewise.
9177 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9178 (readdinitgroups): Return value returned by addinitgroupsX.
9179 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9180 (prune_cache): Keep track of timeout value of re-added entries.
9181 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9182 * nscd/nscd.h: Adjust prototypes of readd* functions.
9183
9184 2011-02-04 Roland McGrath <roland@redhat.com>
9185
9186 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9187 (nis_stats): Likewise.
9188 * nis/nis_modify.c (nis_modify): Likewise.
9189 * nis/nis_remove.c (nis_remove): Likewise.
9190 * nis/nis_add.c (nis_add): Likewise.
9191
9192 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9193
9194 * posix/fnmatch_loop.c: Add some consts.
9195
9196 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9197
9198 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 [BZ #12460]
9201 * config.make.in (config-cflags-novzeroupper): Define.
9202 * configure.in: Substitute libc_cv_cc_novzeroupper.
9203 * elf/Makefile (AVX-CFLAGS): Define.
9204 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9205 (CFLAGS-tst-auditmod4a.c): Likewise.
9206 (CFLAGS-tst-auditmod4b.c): Likewise.
9207 (CFLAGS-tst-auditmod6b.c): Likewise.
9208 (CFLAGS-tst-auditmod6c.c): Likewise.
9209 (CFLAGS-tst-auditmod7b.c): Likewise.
9210 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9211
9212 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9213
9214 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9215 function to the callback.
9216 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9217
9218 2011-02-02 Andreas Schwab <schwab@redhat.com>
9219
9220 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9221 of errno.
9222
9223 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9224
9225 [BZ #11724]
9226 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9227 of constructors.
9228 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9229 of destructors.
9230 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9231
9232 [BZ #11724]
9233 * elf/Makefile: Add rules to build and run new test.
9234 * elf/tst-initorder.c: New file.
9235 * elf/tst-initorder.exp: New file.
9236 * elf/tst-initordera1.c: New file.
9237 * elf/tst-initordera2.c: New file.
9238 * elf/tst-initordera3.c: New file.
9239 * elf/tst-initordera4.c: New file.
9240 * elf/tst-initorderb1.c: New file.
9241 * elf/tst-initorderb2.c: New file.
9242 * elf/tst-order-a1.c: New file.
9243 * elf/tst-order-a2.c: New file.
9244 * elf/tst-order-a3.c: New file.
9245 * elf/tst-order-a4.c: New file.
9246 * elf/tst-order-b1.c: New file.
9247 * elf/tst-order-b2.c: New file.
9248 * elf/tst-order-main.c: New file.
9249 New test case by George Gensure <werkt0@gmail.com>.
9250
9251 2010-10-01 Andreas Schwab <schwab@redhat.com>
9252
9253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9254 decoding ACE if AI_CANONIDN.
9255
9256 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9257
9258 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9259
9260 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9261
9262 * version.h (RELEASE): Bump for 2.13 release.
9263 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9264
9265 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9266
9267 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9268 MADV_NOHUGEPAGE.
9269 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9270 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9271 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9272 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9273 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9274 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9275
9276 * posix/getconf.c: Update copyright year.
9277 * catgets/gencat.c: Likewise.
9278 * csu/version.c: Likewise.
9279 * debug/catchsegv.sh: Likewise.
9280 * debug/xtrace.sh: Likewise.
9281 * elf/ldconfig.c: Likewise.
9282 * elf/ldd.bash.in: Likewise.
9283 * elf/sprof.c (print_version): Likewise.
9284 * iconv/iconv_prog.c: Likewise.
9285 * iconv/iconvconfig.c: Likewise.
9286 * locale/programs/locale.c: Likewise.
9287 * locale/programs/localedef.c: Likewise.
9288 * malloc/memusage.sh: Likewise.
9289 * malloc/mtrace.pl: Likewise.
9290 * nscd/nscd.c (print_version): Likewise.
9291 * nss/getent.c: Likewise.
9292
9293 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9294 PF_CAIF, and PF_ALG.
9295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9296
9297 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9298
9299 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9300 (modules-names): Use them.
9301 (ifunc-test-modules, ifunc-pie-tests): Define.
9302 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9303 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9304 (test-extras): Likewise.
9305 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9306 $(compile-command.c).
9307 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9308 (all-built-dso): Define.
9309 (check-textrel.out, check-execstack.out): Depend on it.
9310
9311 * configure.in: Don't override --enable-multi-arch.
9312
9313 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9314
9315 [BZ #6812]
9316 * nscd/hstcache.c (tryagain): Define.
9317 (cache_addhst): Return tryagain not notfound for temporary errors.
9318 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9319 failed.
9320
9321 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9322
9323 [BZ #10563]
9324 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9325 to make the syscall.
9326 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9327
9328 [BZ #12378]
9329 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9330 and fall back to matching as normal character if the string ends before
9331 the matching ']' is found. This is what POSIX requires.
9332 * posix/testfnm.c: Adjust test result.
9333 * posix/globtest.sh: Adjust test result. Add new test.
9334 * posix/tst-fnmatch.input: Likewise.
9335 * posix/tst-fnmatch2.c: Add new test.
9336
9337 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9338
9339 * elf/Makefile (check-execstack): Revert last change. Depend on
9340 check-execstack.h.
9341 (check-execstack.h): New target.
9342 (generated): Add check-execstack.h.
9343 * elf/check-execstack.c: Include "check-execstack.h".
9344 (main): Revert last change.
9345 (handle_file): Return zero if GNU_STACK is absent and
9346 DEFAULT_STACK_PERMS doesn't include PF_X.
9347
9348 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9349
9350 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9351 in child fails because the descriptor is already closed.
9352 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9353 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9354 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9355
9356 [BZ #12397]
9357 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9358 syscall.
9359
9360 [BZ #10484]
9361 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9362 temporary buffer used to handle multi lookups locally.
9363 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9364
9365 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9366
9367 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9368 loader is ld.so.
9369
9370 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9371
9372 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9373 alignment for SSE2.
9374
9375 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9376
9377 [BZ #12394]
9378 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9379 characters. When rounding increased number of integer digits recompute
9380 number of groups.
9381 * stdio-common/tst-grouping.c: New file.
9382 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9383
9384 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9385
9386 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9387 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9388
9389 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9390 void.
9391 * bits/select.h: Likewise.
9392
9393 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9394
9395 * po/ja.po: Update from translation team.
9396
9397 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9398
9399 [BZ #11155]
9400 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9401 implementation just like for lxstat, fxstatat, et al.
9402
9403 2010-12-27 Jim Meyering <meyering@redhat.com>
9404
9405 [BZ #12348]
9406 * posix/regexec.c (build_trtable): Return failure indication upon
9407 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9408
9409 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9410
9411 [BZ #12201]
9412 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9413 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9414 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9415 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9416
9417 [BZ #12207]
9418 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9419
9420 [BZ #12204]
9421 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9422 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9423
9424 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9427 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9428 script has SORT_BY_INIT_PRIORITY.
9429 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9430 NO_CTORS_DTORS_SECTIONS is defined.
9431 * elf/soinit.c: Likewise.
9432 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9433 NO_CTORS_DTORS_SECTIONS is defined.
9434 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9435 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9436 * sysdeps/sh/init-first.c: Likewise.
9437 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9438
9439 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9440
9441 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9442 always use the slow path.
9443
9444 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9445
9446 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9447 similar rule which adds the sysdep directories to the header search in
9448 order to pick up the correct platform stackinfo.h.
9449 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9450 perform test if it is, otherwise return successfully without testing.
9451 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9452 DEFAULT_STACK_PERMS define in stackinfo.h.
9453 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9454 defined in stackinfo.h.
9455 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9456 DEFAULT_STACK_PERMS defined in stackinfo.h.
9457 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9458 * sysdeps/ia64/stackinfo.h: Likewise.
9459 * sysdeps/s390/stackinfo.h: Likewise.
9460 * sysdeps/sh/stackinfo.h: Likewise.
9461 * sysdeps/sparc/stackinfo.h: Likewise.
9462 * sysdeps/x86_64/stackinfo.h: Likewise.
9463 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9464 PF_X for powerpc64. Retain PF_X for powerpc32.
9465
9466 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9467
9468 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9469 accurately.
9470 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9471 GETDENTS_64BIT_ALIGNED.
9472
9473 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9474
9475 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9476
9477 2010-12-10 Andreas Schwab <schwab@redhat.com>
9478
9479 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9480 _GNU_SOURCE.
9481
9482 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9483 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9484 Remove __restrict.
9485 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9486 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9487
9488 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9489
9490 [BZ #11655]
9491 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9492 are initialized.
9493
9494 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9495
9496 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9497
9498 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9499
9500 * po/it.po: Update from translation team.
9501
9502 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9503
9504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9505 unused codes.
9506
9507 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9508
9509 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9510
9511 2010-11-24 Andreas Schwab <schwab@redhat.com>
9512
9513 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9514 specially.
9515 (gaih_getanswer_slice): Likewise.
9516
9517 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9518
9519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9520
9521 2010-05-31 Petr Baudis <pasky@suse.cz>
9522
9523 [BZ #11149]
9524 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9525 silently even in the chroot mode.
9526
9527 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9528
9529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9530 last patch a bit. Pretty printing
9531
9532 2010-05-31 Petr Baudis <pasky@suse.cz>
9533
9534 [BZ #10085]
9535 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9536 initialization of skip_initgroups_dyn.
9537
9538 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9539
9540 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9541 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9542
9543 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9544
9545 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9546
9547 2010-11-11 Andreas Schwab <schwab@redhat.com>
9548
9549 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9550 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9551 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9552 ($(objpfx)tst-fnmatch-mem): New rule.
9553 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9554 * posix/tst-fnmatch.c (main): Call mtrace.
9555
9556 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9559 Support Intel processor model 6 and model 0x2c.
9560
9561 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9562
9563 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9564 signed comparison.
9565
9566 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 [BZ #12205]
9569 * string/test-strncasecmp.c (check_result): New function.
9570 (do_one_test): Use it.
9571 (check1): New function.
9572 (test_main): Use it.
9573 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9574 Support strcasecmp and strncasecmp.
9575
9576 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9577
9578 [BZ #12194]
9579 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9580 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9581
9582 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9583
9584 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9585 IFUNC support.
9586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9587 memset-x86-64.
9588 * sysdeps/x86_64/multiarch/bzero.S: New file.
9589 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9590 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9591 * sysdeps/x86_64/multiarch/memset.S: New file.
9592 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9594 Set bit_Prefer_SSE_for_memop for Intel processors.
9595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9596 Define.
9597 (index_Prefer_SSE_for_memop): Define.
9598 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9599
9600 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9601
9602 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9604
9605 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 [BZ #12191]
9608 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9609 (__x86_64_raw_data_cache_size_half): Likewise.
9610 (__x86_64_raw_shared_cache_size): Likewise.
9611 (__x86_64_raw_shared_cache_size_half): Likewise.
9612
9613 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9614 (__x86_64_raw_data_cache_size_half): Likewise.
9615 (__x86_64_raw_shared_cache_size): Likewise.
9616 (__x86_64_raw_shared_cache_size_half): Likewise.
9617 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9618 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9619 and __x86_64_raw_shared_cache_size_half. Round
9620 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9621 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9622 to multiple of 256 bytes.
9623
9624 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9625
9626 [BZ #12167]
9627 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9628 of inacessible symlinks. Verify result of symlink before returning it.
9629 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9630 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9631
9632 2010-10-28 Erich Ritz <erichritz@gmail.com>
9633
9634 * math/math.h (isinf): Fix typo in comment.
9635
9636 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9637
9638 * po/da.po: Update from translation team.
9639
9640 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9641
9642 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9643 is added to the list.
9644
9645 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9646 Ulrich Drepper <drepper@gmail.com>
9647
9648 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9649 the global list here. Move code to...
9650 (_dl_add_to_namespace_list): ...here. New function.
9651 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9652 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9653 * elf/dl-load.c (lose): Don't remove the element from the list.
9654 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9655 (_dl_map_object): Likewise.
9656
9657 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9658
9659 [BZ #12159]
9660 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9661 into all bytes of SSE register.
9662 Patch by Richard Li <richardpku@gmail.com>.
9663
9664 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9665
9666 [BZ #12140]
9667 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9668 perturbing.
9669
9670 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9671
9672 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9673 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9674 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9677 submachine.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9679
9680 2010-10-22 Andreas Schwab <schwab@redhat.com>
9681
9682 * include/dlfcn.h (__RTLD_SECURE): Define.
9683 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9684 mode & __RTLD_SECURE instead.
9685 (open_path): Rename preloaded parameter to secure.
9686 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9687 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9688 * elf/dl-deps.c (openaux): Likewise.
9689 * elf/rtld.c (struct map_args): Remove is_preloaded.
9690 (map_doit): Don't use it.
9691 (dl_main): Likewise.
9692 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9693 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9694
9695 2010-09-09 Andreas Schwab <schwab@redhat.com>
9696
9697 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9698 (sysd-rules-targets): Remove duplicates.
9699 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9700 rtld-%.$o dependency.
9701
9702 2010-10-18 Andreas Schwab <schwab@redhat.com>
9703
9704 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9705 _dl_map_object do it.
9706
9707 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9708
9709 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9710 fast fma builtins, define the macros in the C99 standard.
9711 (FP_FAST_FMAF): Likewise.
9712 (FP_FAST_FMAL): Likewise.
9713 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9714
9715 * bits/mathdef.h: Update copyright year.
9716 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9717
9718 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9719
9720 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9721 builtins, define the macros in the C99 standard.
9722 (FP_FAST_FMAF): Likewise.
9723 (FP_FAST_FMAL): Likewise.
9724 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9725 multiply/add.
9726 (FP_FAST_FMAF): Likewise.
9727
9728 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9729
9730 [BZ #3268]
9731 * math/libm-test.inc (fma_test): Some new testcases.
9732 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9733 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9734 y and infinite z. Do multiplication by C already in long double.
9735 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9737 y and infinite z. Do bitwise or of inexact bit into u.d.
9738 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9739 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9740 * sysdeps/i386/fpu/s_fma.S: Removed.
9741 * sysdeps/i386/fpu/s_fmal.S: Removed.
9742
9743 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9744
9745 [BZ #3268]
9746 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9748 computation is not scheduled after fetestexcept. Fix value
9749 of minimum denormal long double.
9750
9751 2010-10-14 Jakub Jelinek <jakub@redhat.com>
9752
9753 [BZ #3268]
9754 * math/libm-test.inc (fma_test): Add some more tests.
9755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9756 correctly.
9757
9758 2010-10-15 Andreas Schwab <schwab@redhat.com>
9759
9760 * scripts/data/localplt-s390-linux-gnu.data: New file.
9761 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9762
9763 2010-10-13 Jakub Jelinek <jakub@redhat.com>
9764
9765 [BZ #3268]
9766 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9767 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9768 instead of dbl-64.
9769 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9770 inlines.
9771 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9773 if one of x and y is very large and the other is subnormal.
9774 * sysdeps/s390/fpu/s_fmaf.c: New file.
9775 * sysdeps/s390/fpu/s_fma.c: New file.
9776 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9777 * sysdeps/powerpc/fpu/s_fma.S: New file.
9778 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9779 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9780 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9781
9782 2010-10-12 Jakub Jelinek <jakub@redhat.com>
9783
9784 [BZ #3268]
9785 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9786 fma tests.
9787 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9788 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9789 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9790 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9791 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9792 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9794
9795 2010-10-12 Ulrich Drepper <drepper@redhat.com>
9796
9797 [BZ #12078]
9798 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9799 * posix/bug-regex31.input: Add test case.
9800
9801 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9802
9803 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9804 * posix/bug-regex31.input: New file.
9805
9806 [BZ #12078]
9807 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9808 (parse_sub_exp): Fix last change, use postorder.
9809
9810 * posix/bug-regex31.c: New file.
9811 * posix/Makefile: Add rules to build and run bug-regex31.
9812
9813 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9814
9815 [BZ #12078]
9816 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9817
9818 [BZ #12108]
9819 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9820 to have entries in sys_siglist.
9821
9822 [BZ #12093]
9823 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9824 be NULL.
9825
9826 2010-10-07 Jakub Jelinek <jakub@redhat.com>
9827
9828 [BZ #3268]
9829 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9830 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9831 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9832 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9833 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9834 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9835 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9836 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9837 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9838 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9839 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9840 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9841 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9842 * math/ftestexcept.c (fetestexcept): Likewise.
9843 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9844 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9845 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9846 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9847 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9848 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9849 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9850
9851 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9852
9853 [BZ #12107]
9854 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9855 newline.
9856
9857 2010-10-06 Ulrich Drepper <drepper@gmail.com>
9858
9859 * string/bug-strstr1.c: New file.
9860 * string/Makefile: Add rules to build and run bug-strstr1.
9861
9862 2010-10-05 Eric Blake <eblake@redhat.com>
9863
9864 [BZ #12092]
9865 * string/str-two-way.h (two_way_long_needle): Always clear memory
9866 when skipping input due to the shift table.
9867
9868 2010-10-03 Ulrich Drepper <drepper@gmail.com>
9869
9870 [BZ #12005]
9871 * malloc/mcheck.c: Handle large requests.
9872
9873 [BZ #12077]
9874 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9875 for strncmp and strncasecmp.
9876 * string/stratcliff.c: Add tests for strcmp and strncmp.
9877 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9878
9879 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9880
9881 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9882 __set_fpscr.
9883
9884 2010-09-30 Andreas Jaeger <aj@suse.de>
9885
9886 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9887 (CGROUP_SUPER_MAGIC): Define.
9888 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9889 Handle btrfs and cgroup file systems.
9890 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9891 Likewise.
9892
9893 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
9894
9895 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9896 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9897
9898 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9899
9900 [BZ #12067]
9901 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9902 trying to locate the ELF header.
9903
9904 2010-09-27 Andreas Schwab <schwab@redhat.com>
9905
9906 [BZ #11611]
9907 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9908 Mask out sign-bit copies when constructing f_fsid.
9909
9910 2010-09-24 Petr Baudis <pasky@suse.cz>
9911
9912 * debug/stack_chk_fail_local.c: Add missing licence exception.
9913 * debug/warning-nop.c: Likewise.
9914
9915 2010-09-15 Joseph Myers <joseph@codesourcery.com>
9916
9917 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9918 implementing getdents64 using getdents syscall, set d_type if
9919 __ASSUME_GETDENTS32_D_TYPE.
9920
9921 2010-09-16 Andreas Schwab <schwab@redhat.com>
9922
9923 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9924 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9925
9926 2010-09-21 Ulrich Drepper <drepper@redhat.com>
9927
9928 [BZ #12037]
9929 * posix/unistd.h: Undo change of feature selection for ftruncate from
9930 2010-01-11.
9931
9932 2010-09-20 Ulrich Drepper <drepper@redhat.com>
9933
9934 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9935 detection.
9936
9937 2010-09-20 Andreas Schwab <schwab@redhat.com>
9938
9939 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9940 fanotify_mark.
9941 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9942
9943 2010-09-14 Andreas Schwab <schwab@redhat.com>
9944
9945 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9946 variables after CHECK_SP call.
9947 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9948
9949 2010-09-13 Andreas Schwab <schwab@redhat.com>
9950 Ulrich Drepper <drepper@redhat.com>
9951
9952 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9953 re-relocationg ld.so.
9954 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9955 _dl_init_paths call.
9956 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9957 here anymore.
9958
9959 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9960
9961 * resolv/res_init.c (__res_vinit): Count the default server we added.
9962
9963 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9964 Ulrich Drepper <drepper@redhat.com>
9965
9966 [BZ #11968]
9967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9968 (____longjmp_chk): Use %ebx for saving value across system call.
9969 Add unwind info.
9970
9971 2010-09-06 Andreas Schwab <schwab@redhat.com>
9972
9973 * manual/Makefile: Don't mix pattern rules with normal rules.
9974
9975 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9976
9977 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9978 operation.
9979 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9980 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9981 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9982 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9984 Likewise.
9985
9986 2010-09-04 Ulrich Drepper <drepper@redhat.com>
9987
9988 [BZ #11979]
9989 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9990 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9991
9992 2010-09-02 Ulrich Drepper <drepper@redhat.com>
9993
9994 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9995 * sysdeps/x86_64/addmul_1.S: Likewise.
9996 * sysdeps/x86_64/lshift.S: Likewise.
9997 * sysdeps/x86_64/mul_1.S: Likewise.
9998 * sysdeps/x86_64/rshift.S: Likewise.
9999 * sysdeps/x86_64/sub_n.S: Likewise.
10000 * sysdeps/x86_64/submul_1.S: Likewise.
10001
10002 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10003
10004 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10005 Define __sched_param instead of SCHED_* and sched_param when
10006 <bits/sched.h> is included with __need_schedparam defined.
10007 * bits/sched.h [__need_schedparam]
10008 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10009 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10010 (__defined_schedparam): Define to 1.
10011 (__sched_param): New structure, identical to sched_param.
10012 (__need_schedparam): Undefine.
10013
10014 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10015
10016 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10017 (epoll_create1): Declare.
10018
10019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10020
10021 2010-08-31 Andreas Schwab <schwab@redhat.com>
10022
10023 [BZ #7066]
10024 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10025 shifting retval into place.
10026
10027 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10028
10029 * nis/rpcsvc/nis.h: Update copyright notice.
10030 * nis/rpcsvc/nis.x: Likewise.
10031 * nis/rpcsvc/nis_callback.h: Likewise.
10032 * nis/rpcsvc/nis_callback.x: Likewise.
10033 * nis/rpcsvc/nis_object.x: Likewise.
10034 * nis/rpcsvc/nis_tags.h: Likewise.
10035 * nis/rpcsvc/yp.h: Likewise.
10036 * nis/rpcsvc/yp.x: Likewise.
10037 * nis/rpcsvc/ypupd.h: Likewise.
10038 * nis/yp_xdr.c: Likewise.
10039 * nis/ypupdate_xdr.c: Likewise.
10040
10041 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10042 mainly the body of pmap_getport. Add parameters to specify timeouts.
10043 (pmap_getport): Use __libc_rpc_getport.
10044 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10045 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10046 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10047
10048 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10049
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10051 fanotify_mark.
10052
10053 2010-08-27 Roland McGrath <roland@redhat.com>
10054
10055 * sysdeps/i386/i686/multiarch/Makefile
10056 (CFLAGS-varshift.c): New variable.
10057
10058 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10059
10060 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10061 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10062
10063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10064
10065 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10066
10067 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10068
10069 * sysdeps/x86_64/strlen.S: Unroll the loop.
10070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10071 strlen-sse2 strlen-sse2-bsf.
10072 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10073 __strlen_no_bsf if bit_Slow_BSF is set.
10074 (__strlen_sse42): Removed.
10075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10076 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10077
10078 2010-08-25 Roland McGrath <roland@redhat.com>
10079
10080 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10081 * sysdeps/x86_64/multiarch/varshift.c: New file.
10082 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10083 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10084 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10085 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10086
10087 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10088
10089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10090 strlen-sse2 strlen-sse2-bsf.
10091 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10092 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10093 (__strlen_sse2): Removed.
10094 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10097 bit_Slow_BSF for Atom.
10098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10099 (index_Slow_BSF): Define.
10100 (HAS_SLOW_BSF): Define.
10101
10102 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10103
10104 [BZ #10851]
10105 * resolv/res_init.c (__res_vinit): When no server address at all
10106 is given default to loopback.
10107
10108 2010-08-24 Roland McGrath <roland@redhat.com>
10109
10110 * configure.in: Remove config-name.h generation.
10111 * configure: Regenerated.
10112 * config-name.in: File removed.
10113 * scripts/config-uname.sh: New file.
10114 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10115 ($(objdir)config-name.h): New target.
10116
10117 * sunrpc/rpc_parse.h: Avoid nested comment.
10118
10119 2010-08-24 Richard Henderson <rth@redhat.com>
10120 Ulrich Drepper <drepper@redhat.com>
10121 H.J. Lu <hongjiu.lu@intel.com>
10122
10123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10125 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10126 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10127 _mm_alignr_epi8 with _mm_loadu_si128.
10128 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10129 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10130 (__m128i_shift_right): Removed.
10131 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10132 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10133 * sysdeps/x86_64/multiarch/varshift.h: New file.
10134 * sysdeps/x86_64/multiarch/varshift.S: New file.
10135
10136 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10137
10138 * configure.in: Move assembler checks to before sysdep dir checking.
10139
10140 2010-08-20 Petr Baudis <pasky@suse.cz>
10141
10142 * LICENSES: Sync the sunrpc license.
10143
10144 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10145
10146 * sunrpc/auth_des.c: Update copyright notice once again.
10147 * sunrpc/auth_none.c: Likewise.
10148 * sunrpc/auth_unix.c: Likewise.
10149 * sunrpc/authdes_prot.c: Likewise.
10150 * sunrpc/authuxprot.c: Likewise.
10151 * sunrpc/bindrsvprt.c: Likewise.
10152 * sunrpc/clnt_gen.c: Likewise.
10153 * sunrpc/clnt_perr.c: Likewise.
10154 * sunrpc/clnt_raw.c: Likewise.
10155 * sunrpc/clnt_simp.c: Likewise.
10156 * sunrpc/clnt_tcp.c: Likewise.
10157 * sunrpc/clnt_udp.c: Likewise.
10158 * sunrpc/clnt_unix.c: Likewise.
10159 * sunrpc/des_crypt.c: Likewise.
10160 * sunrpc/des_soft.c: Likewise.
10161 * sunrpc/get_myaddr.c: Likewise.
10162 * sunrpc/getrpcport.c: Likewise.
10163 * sunrpc/key_call.c: Likewise.
10164 * sunrpc/key_prot.c: Likewise.
10165 * sunrpc/openchild.c: Likewise.
10166 * sunrpc/pm_getmaps.c: Likewise.
10167 * sunrpc/pm_getport.c: Likewise.
10168 * sunrpc/pmap_clnt.c: Likewise.
10169 * sunrpc/pmap_prot.c: Likewise.
10170 * sunrpc/pmap_prot2.c: Likewise.
10171 * sunrpc/pmap_rmt.c: Likewise.
10172 * sunrpc/rpc/auth.h: Likewise.
10173 * sunrpc/rpc/auth_unix.h: Likewise.
10174 * sunrpc/rpc/clnt.h: Likewise.
10175 * sunrpc/rpc/des_crypt.h: Likewise.
10176 * sunrpc/rpc/key_prot.h: Likewise.
10177 * sunrpc/rpc/netdb.h: Likewise.
10178 * sunrpc/rpc/pmap_clnt.h: Likewise.
10179 * sunrpc/rpc/pmap_prot.h: Likewise.
10180 * sunrpc/rpc/pmap_rmt.h: Likewise.
10181 * sunrpc/rpc/rpc.h: Likewise.
10182 * sunrpc/rpc/rpc_des.h: Likewise.
10183 * sunrpc/rpc/rpc_msg.h: Likewise.
10184 * sunrpc/rpc/svc.h: Likewise.
10185 * sunrpc/rpc/svc_auth.h: Likewise.
10186 * sunrpc/rpc/types.h: Likewise.
10187 * sunrpc/rpc/xdr.h: Likewise.
10188 * sunrpc/rpc_clntout.c: Likewise.
10189 * sunrpc/rpc_cmsg.c: Likewise.
10190 * sunrpc/rpc_common.c: Likewise.
10191 * sunrpc/rpc_cout.c: Likewise.
10192 * sunrpc/rpc_dtable.c: Likewise.
10193 * sunrpc/rpc_hout.c: Likewise.
10194 * sunrpc/rpc_main.c: Likewise.
10195 * sunrpc/rpc_parse.c: Likewise.
10196 * sunrpc/rpc_parse.h: Likewise.
10197 * sunrpc/rpc_prot.c: Likewise.
10198 * sunrpc/rpc_sample.c: Likewise.
10199 * sunrpc/rpc_scan.c: Likewise.
10200 * sunrpc/rpc_scan.h: Likewise.
10201 * sunrpc/rpc_svcout.c: Likewise.
10202 * sunrpc/rpc_tblout.c: Likewise.
10203 * sunrpc/rpc_util.c: Likewise.
10204 * sunrpc/rpc_util.h: Likewise.
10205 * sunrpc/rpcinfo.c: Likewise.
10206 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10207 * sunrpc/rpcsvc/key_prot.x: Likewise.
10208 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10209 * sunrpc/rpcsvc/mount.x: Likewise.
10210 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10211 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10212 * sunrpc/rpcsvc/rex.x: Likewise.
10213 * sunrpc/rpcsvc/rstat.x: Likewise.
10214 * sunrpc/rpcsvc/rusers.x: Likewise.
10215 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10216 * sunrpc/rpcsvc/spray.x: Likewise.
10217 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10218 * sunrpc/rtime.c: Likewise.
10219 * sunrpc/svc.c: Likewise.
10220 * sunrpc/svc_auth.c: Likewise.
10221 * sunrpc/svc_authux.c: Likewise.
10222 * sunrpc/svc_raw.c: Likewise.
10223 * sunrpc/svc_run.c: Likewise.
10224 * sunrpc/svc_simple.c: Likewise.
10225 * sunrpc/svc_tcp.c: Likewise.
10226 * sunrpc/svc_udp.c: Likewise.
10227 * sunrpc/svc_unix.c: Likewise.
10228 * sunrpc/svcauth_des.c: Likewise.
10229 * sunrpc/xcrypt.c: Likewise.
10230 * sunrpc/xdr.c: Likewise.
10231 * sunrpc/xdr_array.c: Likewise.
10232 * sunrpc/xdr_float.c: Likewise.
10233 * sunrpc/xdr_mem.c: Likewise.
10234 * sunrpc/xdr_rec.c: Likewise.
10235 * sunrpc/xdr_ref.c: Likewise.
10236 * sunrpc/xdr_sizeof.c: Likewise.
10237 * sunrpc/xdr_stdio.c: Likewise.
10238
10239 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10240 handling.
10241
10242 2010-08-19 Andreas Schwab <schwab@redhat.com>
10243
10244 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10245
10246 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10247
10248 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10249 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10250 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10251 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10252 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10253 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10254 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10255 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10257 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10258 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10259 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10260 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10261 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10262
10263 2010-07-26 Anton Blanchard <anton@samba.org>
10264
10265 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10266 * malloc/arena.c (heap_trim): Likewise.
10267
10268 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10269
10270 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10271 here. Not...
10272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10273 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10274
10275 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10276
10277 * sysdeps/i386/elf/Makefile: New file.
10278
10279 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10280
10281 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10282 from fanotify_init.
10283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10285
10286 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10287
10288 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10289 of strncasecmp_l.
10290 * sysdeps/multiarch/strcmp.S: Likewise.
10291
10292 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10293
10294 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10295 strncase_l-nonascii.
10296 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10297 Add strncase_l-ssse3.
10298 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10299 * sysdeps/x86_64/strcmp.S: Likewise.
10300 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10301 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10302 * sysdeps/x86_64/strncase.S: New file.
10303 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10304 * sysdeps/x86_64/strncase_l.S: New file.
10305 * string/Makefile (strop-tests): Add strncasecmp.
10306 * string/test-strncasecmp.c: New file.
10307
10308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10309 warning.
10310
10311 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10312 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10313
10314 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10315
10316 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10317
10318 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10319
10320 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10321 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10322 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10323
10324 2010-05-01 Alan Modra <amodra@gmail.com>
10325
10326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10327 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10328 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10329 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10330 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10331 tidying. Don't tail-call __sigjmp_save for static lib.
10332 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10333 save location.
10334 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10335 (CALL_MCOUNT): Add eh info, and nop after bl.
10336 (TAIL_CALL_SYSCALL_ERROR): New macro.
10337 (PSEUDO_RET): Use it.
10338 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10339 Correct save location of integer regs and cr.
10340 (_dl_profile_resolve): Correct cr save location. Delete nops
10341 after bl when SHARED. Reduce cfi size a little by better
10342 placement of cfi directives.
10343 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10344 make a stack frame. Instead use parm save area as a temp.
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10346 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10348 Don't make a stack frame for parent, use parm save area.
10349 Increase child stack frame to 112 bytes. Don't save unused reg,
10350 and adjust reg usage. Set up cfi on error recovery and
10351 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10353 (__makecontext): Add dummy nop after jump to exit.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10355 Use correct parm save area and cr save, reduce stack frame.
10356 Correct cfi for possible PSEUDO_RET frame setup.
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10358 Branch to local label emitted by PSEUDO_RET rather than
10359 __syscall_error.
10360
10361 2010-08-12 Andreas Schwab <schwab@redhat.com>
10362
10363 [BZ #11904]
10364 * locale/programs/locale.c (print_assignment): New function.
10365 (show_locale_vars): Use it.
10366
10367 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10368
10369 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10370 field.
10371 (struct statfs64): Likewise.
10372 (_STATFS_F_FLAGS): Define.
10373 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10375 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10376 (ST_VALID): Define locally.
10377 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10378 __statvfs_getflags, use the provided value.
10379 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10380 __ASSUME_STATFS_F_FLAGS.
10381
10382 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10383
10384 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10385 Add sys/fanotify.h.
10386 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10387 fanotify_mask for GLIBC_2.13.
10388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10389 fanotify_init and fanotify_mark.
10390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10391 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10392
10393 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10394 Add prlimit.
10395 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10396 prlimit64 for GLIBC_2.13.
10397 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10398 prlimit64.
10399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10400 syscall.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10403 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10404 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10406 add prlimit alias.
10407 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10408
10409 [BZ #11903]
10410 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10411 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10412
10413 * nss/Makefile: Add rules to build and run tst-nss-test1.
10414 * shlib-versions: Add entry for libnss_test1.
10415 * nss/nss_test1.c: New file.
10416 * nss/tst-nss-test1.c: New file.
10417
10418 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10419 (__nss_configure_lookup): Set appropriate entry in
10420 __nss_configure_lookup to true.
10421 * nss/nsswitch.h: Define enum with indeces of databases in
10422 databases and __nss_database_custom arrays. Declare
10423 __nss_database_custom.
10424 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10425 to avoid using nscd when custom rules are installed.
10426 * nss/getXXbyYY_r.c: Likewise.
10427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10428
10429 * nss/nss_files/files-parse.c: Whitespace fixes.
10430
10431 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10432
10433 [BZ #11883]
10434 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10435 * posix/fnmatch_loop.c: Likewise.
10436
10437 2010-07-17 Andi Kleen <ak@linux.intel.com>
10438
10439 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10440 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10441 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10442 * Versions.def [GLIBC_2.13]: Add.
10443
10444 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10445
10446 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10447 Also fail if tpwd after pwuid call is NULL.
10448
10449 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10450
10451 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10452 when converting to ms.
10453
10454 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10455
10456 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10457 EOPNOTSUPP errors with ENOTTY.
10458 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10459 EOPNOTSUPP errors with ENOTTY.
10460
10461 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10462
10463 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10464 Add strcasecmp_l-ssse3.
10465 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10466 strcasecmp.
10467 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10468 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10469 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10470
10471 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10472
10473 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10474
10475 * string/Makefile (strop-tests): Add strcasecmp.
10476 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10477 strcasecmp_l-nonascii.
10478 (gen-as-const-headers): Add locale-defines.sym.
10479 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10480 * sysdeps/x86_64/strcasecmp.S: New file.
10481 * sysdeps/x86_64/strcasecmp_l.S: New file.
10482 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10483 * sysdeps/x86_64/locale-defines.sym: New file.
10484 * string/test-strcasecmp.c: New file.
10485
10486 * string/test-strcasestr.c: Test both ends of the range of characters.
10487 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10488
10489 2010-07-29 Roland McGrath <roland@redhat.com>
10490
10491 [BZ #11856]
10492 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10493
10494 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10495
10496 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10497 for ld.so.
10498
10499 2010-07-27 Andreas Schwab <schwab@redhat.com>
10500
10501 * manual/memory.texi (Malloc Tunable Parameters): Document
10502 M_PERTURB.
10503
10504 2010-07-26 Roland McGrath <roland@redhat.com>
10505
10506 [BZ #11840]
10507 * configure.in (-fgnu89-inline check): Set and substitute
10508 gnu89_inline, not libc_cv_gnu89_inline.
10509 * configure: Regenerated.
10510 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10511
10512 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10513
10514 * string/test-strnlen.c: New file.
10515 * string/Makefile (strop-tests): Add strnlen.
10516 * string/tester.c (test_strnlen): Add a few more test cases.
10517 * string/tst-strlen.c: Better error reporting.
10518
10519 * sysdeps/x86_64/strnlen.S: New file.
10520
10521 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10522
10523 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10524 lower-latency instructions.
10525
10526 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10527
10528 * string/test-strcasestr.c: New file.
10529 * string/test-strstr.c: New file.
10530 * string/Makefile (strop-tests): Add strstr and strcasestr.
10531 * string/str-two-way.h: Don't undefine MAX.
10532 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10533
10534 2010-07-21 Andreas Schwab <schwab@redhat.com>
10535
10536 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10537 strcasestr-nonascii.
10538 (CFLAGS-strcasestr-nonascii.c): Define.
10539 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10541 Remove unused attribute.
10542
10543 2010-07-20 Roland McGrath <roland@redhat.com>
10544
10545 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10546 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10547 ld.so.cache was broken. With it, there is no way to disable dsocaps
10548 like LD_HWCAP_MASK can disable hwcaps.
10549
10550 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10551
10552 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10553
10554 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10555
10556 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10557 call in strcasestr.
10558 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10559 __strcasestr_sse42_nonascii.
10560 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10561 strcasestr-nonascii.c.
10562 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10563
10564 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10565
10566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10567 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10568 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10569 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10570
10571 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10572
10573 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10574 fcntl.
10575
10576 2010-07-06 Andreas Schwab <schwab@redhat.com>
10577
10578 [BZ #11577]
10579 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10580 dl_signal_cerror.
10581
10582 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10583
10584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10585 _PC_PIPE_BUF using F_GETPIPE_SZ.
10586
10587 2010-07-05 Roland McGrath <roland@redhat.com>
10588
10589 * manual/arith.texi (Rounding Functions): Fix rint description
10590 implicit in round description.
10591
10592 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10593
10594 * elf/Makefile: Fix linking for a few tests to make recent linker
10595 happy.
10596
10597 2010-06-30 Andreas Schwab <schwab@redhat.com>
10598
10599 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10600 $(common-objpfx)libc_nonshared.a.
10601
10602 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10603
10604 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10605 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10606 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10607 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10608 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10609 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10610 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10611 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10626 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10627 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10628 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10629 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10630 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10631 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10632 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10633 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10634 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10635 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10636 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10637 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10652
10653 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10656 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10657 * string/memmove.c (memmove): Renamed to ...
10658 (MEMMOVE): ...this. Default to memmove.
10659 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10660 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10661 (END_CHK): Define.
10662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10663 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10664 mempcpy-ssse3-back memmove-ssse3-back.
10665 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10668 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10669 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10670 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10671 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10672 * sysdeps/x86_64/multiarch/memmove.c: New file.
10673 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10674 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10675 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10676 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10677 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10679 Define.
10680 (index_Fast_Copy_Backward): Define.
10681 (HAS_ARCH_FEATURE): Define.
10682 (HAS_FAST_REP_STRING): Define.
10683 (HAS_FAST_COPY_BACKWARD): Define.
10684
10685 2010-06-21 Andreas Schwab <schwab@redhat.com>
10686
10687 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10688 Restore proper fallback handling.
10689
10690 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10691
10692 [BZ #11701]
10693 * posix/group_member.c (__group_member): Correct checking loop.
10694
10695 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10696 OOM in getpwuid_r correctly. Return error number when the caller
10697 should return, otherwise -1.
10698 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10699 call returning > 0 value.
10700 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10701
10702 2010-06-07 Andreas Schwab <schwab@redhat.com>
10703
10704 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10705 libc_nonshared.a from targets in modules-names.
10706
10707 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10708
10709 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10710 requires it.
10711
10712 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10713
10714 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10715 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10716 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10717 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10718
10719 2010-06-02 Andreas Schwab <schwab@redhat.com>
10720
10721 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10722
10723 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10724
10725 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10726 and F_GETPIPE_SZ.
10727 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10731 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10732 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10733
10734 2010-06-14 Roland McGrath <roland@redhat.com>
10735
10736 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10737
10738 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10739
10740 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10741 __REDIRECT followed by __THROW.
10742 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10743 * posix/getopt.h (getopt): Likewise.
10744
10745 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10746
10747 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10748 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10749 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10750 in AT_FLAGS.
10751 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10752 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10753
10754 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
10755
10756 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10757
10758 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10759
10760 [BZ #11640]
10761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10762 Properly check family and model.
10763
10764 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10765
10766 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10767
10768 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
10769
10770 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10771
10772 2010-05-21 Ulrich Drepper <drepper@redhat.com>
10773
10774 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10775 symbol reference.
10776
10777 2010-05-19 Andreas Schwab <schwab@redhat.com>
10778
10779 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10780 symbol reference.
10781
10782 2010-05-21 Andreas Schwab <schwab@redhat.com>
10783
10784 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10785 and internal_recvmmsg.
10786 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10787 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10788 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10789 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10790
10791 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10792 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10793 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10794
10795 2010-05-20 Andreas Schwab <schwab@redhat.com>
10796
10797 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10798
10799 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
10800
10801 POWER7 optimizations.
10802 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10803 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10804
10805 2010-05-19 Ulrich Drepper <drepper@redhat.com>
10806
10807 * version.h: Update for 2.13 development version.
10808
10809 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
10810
10811 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10812 exceptions. Return 0.
10813
10814 2010-05-07 Roland McGrath <roland@redhat.com>
10815
10816 * elf/ldconfig.c (main): Add a const.
10817
10818 2010-05-06 Ulrich Drepper <drepper@redhat.com>
10819
10820 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10821 (args_options): Add no-idn option.
10822 (ahosts_keys_int): Add idn_flags to ai_flags.
10823 (parse_option): Handle 'i' option to clear idn_flags.
10824
10825 * malloc/malloc.c (_int_free): Possible race in the most recently
10826 added check. Only act on the data if no current modification
10827 happened.
10828
10829 See ChangeLog.17 for earlier changes.
This page took 0.5024 seconds and 6 git commands to generate.