]> sourceware.org Git - glibc.git/blob - ChangeLog
Replace unsigned long with uint64_t
[glibc.git] / ChangeLog
1 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4 with uint64_t.
5
6 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7
8 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9 declaration.
10 (struct La_x32_retval): Likewise.
11
12 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13
14 * sysdeps/x86_64/preconfigure.in: New file.
15 * sysdeps/x86_64/preconfigure: New generated file.
16
17 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18
19 [BZ #13824]
20 * math/e_exp2l.c: Include <float.h>.
21 (__ieee754_exp2l): Handle overflow and underflow cases
22 separately. Only pass fractional part of argument to
23 __ieee754_expl.
24 * math/libm-test.inc (exp2_test): Add more tests.
25
26 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27 negating x to take absolute value.
28 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29 Likewise.
30 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32 Likewise.
33 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34 computing low part if x was negated.
35 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36
37 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38
39 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40 la_x32_gnu_pltexit.
41 (pltexit): Cast int_retval to ptrdiff_t.
42 * elf/tst-auditmod3b.c: Likewise.
43 * elf/tst-auditmod4b.c: Likewise.
44 * elf/tst-auditmod5b.c: Likewise.
45 * elf/tst-auditmod6b.c: Likewise.
46 * elf/tst-auditmod6c.c: Likewise.
47 * elf/tst-auditmod7b.c: Likewise.
48
49 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50 and x32_gnu_pltexit.
51
52 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53 __ELF_NATIVE_CLASS.
54 (La_x32_regs): New macro.
55 (La_x32_retval): Likewise.
56 (la_x32_gnu_pltenter): New function prototype.
57 (la_x32_gnu_pltexit): Likewise.
58
59 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
60
61 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62 exponent.
63
64 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65
66 * configure.in (libc_cv_cc_nofma): Check for option to disable
67 generation of FMA instructions.
68 * configure: Regenerate.
69 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70 * sysdeps/ieee754/dbl-64/Makefile: New file.
71 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72 Remove brandred-fma4.
73 (CFLAGS-brandred-fma4.c): Remove.
74 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
76 define.
77 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78 define.
79
80 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
81
82 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83 LLONG_MAX != LONG_MAX.
84 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85 (_fitoa_word): Likewise.
86 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
87 LLONG_MAX != LONG_MAX.
88 * stdio-common/_itowa.h: Include <_itoa.h>.
89 (_itowa_word): Use _ITOA_WORD_TYPE on value.
90 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
91 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
92 only if not defined.
93 (_ITOA_WORD_TYPE): Likewise.
94 (_itoa_word): Use _ITOA_WORD_TYPE on value.
95 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
96
97 2012-03-21 David S. Miller <davem@davemloft.net>
98
99 * sysdeps/sparc/fpu/libm-test-ulps: Update.
100
101 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
102
103 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
104 of x86_64 when setting libc_cv_slibdir, libdir and
105 libc_cv_localedir.
106 * sysdeps/unix/sysv/linux/configure: Regenerated.
107
108 2012-03-21 Joseph Myers <joseph@codesourcery.com>
109
110 * manual/lang.texi (Old Varargs): Remove section.
111 (How Variadic): Update menu.
112 (va_start): Do not mention varargs.h.
113
114 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
115 Joseph Myers <joseph@codesourcery.com>
116
117 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
118 link test.
119 * configure: Regenerated.
120
121 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
122
123 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
124 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
125 conformtest.pl
126
127 2012-03-21 Joseph Myers <joseph@codesourcery.com>
128
129 * NOTES: Remove.
130 * Makefile (files-for-dist): Remove NOTES.
131 (NOTES): Remove rule.
132 * README: Don't refer to NOTES.
133 * manual/creature.texi: Don't include macros.texi.
134 * manual/intro.texi (creature.texi): Remove comment referring to
135 NOTES.
136
137 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
138 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
139 * configure: Regenerated.
140 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
141 LIBC_TRY_CC_OPTION.
142 (libc_cv_as_i686): Likewise.
143 (libc_cv_cc_avx): Likewise.
144 (libc_cv_cc_sse2avx): Likewise.
145 (libc_cv_cc_fma4): Likewise.
146 (libc_cv_cc_novzeroupper): Likewise.
147 * sysdeps/i386/configure: Regenerated.
148
149 [BZ #13883]
150 * sysdeps/i386/fpu/s_cexp.S: Remove.
151 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
152 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
153 * math/libm-test.inc (cexp_test): Add more tests.
154 * sysdeps/i386/fpu/libm-test-ulps: Update.
155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
156
157 2012-03-21 Allan McRae <allan@archlinux.org>
158
159 * timezone/Makefile: Do not install iso3166.tab and zone.tab
160
161 2012-03-21 Joseph Myers <joseph@codesourcery.com>
162
163 [BZ #13871]
164 * math/w_exp2.c: Do not include <float.h>.
165 (o_threshold, u_threshold): Remove.
166 (__exp2): Calculate result before checking finiteness and calling
167 __kernel_standard.
168 * math/w_exp2f.c: Likewise.
169 * math/w_exp2l.c: Likewise.
170 * math/libm-test.inc (exp2_test): Require overflow exception for
171 1e6 input.
172
173 [BZ #3866]
174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
175 range of signed 64-bit integers before using fistpll. Remove
176 checks for whether integers fit in mantissa bits.
177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
178 the range of signed 32-bit integers before using fistpl. Remove
179 checks for whether integers fit in mantissa bits.
180 * sysdeps/i386/fpu/e_powl.S (p64): New object.
181 (__ieee754_powl): Test for y outside the range of signed 64-bit
182 integers before using fistpll. Reduce 64-bit values to 63-bit
183 ones as needed.
184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
185 divide-by-zero is raised for zero to large negative powers.
186 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
191
192 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
193
194 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
195 <stdio-common/_itoa.h>.
196 * debug/segfault.c: Likewise.
197 * elf/dl-cache.c: Likewise.
198 * elf/dl-minimal.c: Likewise.
199 * elf/dl-misc.c: Likewise.
200 * elf/dl-sysdep.c: Likewise.
201 * elf/dl-version.c: Likewise.
202 * elf/rtld.c: Likewise.
203 * hurd/hurdsock.c: Likewise.
204 * hurd/lookup-retry.c: Likewise.
205 * malloc/malloc.c: Likewise.
206 * malloc/mtrace.c: Likewise.
207 * nscd/nscd_getgr_r.c: Likewise.
208 * nscd/nscd_getpw_r.c: Likewise.
209 * nscd/nscd_getserv_r.c: Likewise.
210 * posix/getopt_init.c: Likewise.
211 * posix/wordexp.c: Likewise.
212 * stdio-common/_itoa.c: Likewise.
213 * stdio-common/printf_fphex.c: Likewise.
214 * stdio-common/vfprintf.c: Likewise.
215 * string/_strerror.c: Likewise.
216 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
217 * sysdeps/i386/i686/hp-timing.h: Likewise.
218 * sysdeps/mach/_strerror.c: Likewise.
219 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
220 * sysdeps/mach/hurd/sethostid.c: Likewise.
221 * sysdeps/mach/hurd/xmknodat.c: Likewise.
222 * sysdeps/mach/xpg-strerror.c: Likewise.
223 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
225 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
226 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
227 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
228 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
229 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
230 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
231 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
232 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
233 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
234 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
235 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
236 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
237 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
238 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
239 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
240 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
241 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
242 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
243 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
244
245 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
246
247 * stdio-common/_itoa.h: Moved to ...
248 * sysdeps/generic/_itoa.h: Here.
249
250 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
251
252 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
253 instead of "_itoa.h" and "_itowa.h".
254 * stdio-common/vfprintf.: Likewise.
255
256 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
257
258 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
259 <bits/wordsize.h>.
260 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
261 (__signbit): Likwise.
262 (llrintf): Likwise.
263 (llrint): Likwise.
264
265 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
266
267 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
268 __WORDSIZE != 64.
269
270 2012-03-20 Joseph Myers <joseph@codesourcery.com>
271
272 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
273 OVERFLOW_EXCEPTION_OK.
274 * math/libm-test.inc ("Philosophy"): Update comment about
275 exception testing.
276 (OVERFLOW_EXCEPTION): Define.
277 (OVERFLOW_EXCEPTION_OK): Likewise.
278 (INVALID_EXCEPTION_OK): Renumber.
279 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
280 (IGNORE_ZERO_INF_SIGN): Likewise.
281 (test_exceptions): Handle FE_OVERFLOW.
282 (exp10_test): Expect overflow exceptions.
283 (exp2_test): Likewise.
284 (expm1_test): Likewise.
285 (nextafter_test): Likewise.
286 (pow_test): Likewise.
287 (scalbn_test): Likewise.
288 (scalbln_test): Likewise.
289
290 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
291
292 * sysdeps/x86_64/bits/atomic.h
293 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
294 64bit integer.
295 (atomic_exchange_acq): Likewise.
296 (__arch_exchange_and_add_body): Likewise.
297 (__arch_add_body): Likewise.
298 (atomic_add_negative): Likewise.
299 (atomic_add_zero): Likewise.
300
301 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
302
303 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
304 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
305
306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
307
308 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
309 Check __x86_64__ instead of __WORDSIZE.
310
311 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
312
313 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
314
315 2012-03-19 David S. Miller <davem@davemloft.net>
316
317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
318
319 * sysdeps/sparc/fpu/fenv_private.h: New file.
320 * sysdeps/sparc/fpu/math_private.h: Use it.
321 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
322 Remove.
323 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
324 (libc_feholdexcept_setroundl): Remove.
325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
326 Remove.
327 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
328 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
329
330 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
331
332 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
333 int64_t instead of long int.
334 (INSERT_WORDS64): Likwise.
335
336 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
337
338 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
339 _Unwind_GetCFA return to _Unwind_Ptr first.
340
341 2012-03-19 Joseph Myers <joseph@codesourcery.com>
342
343 [BZ #13629]
344 * math/s_clog.c: Include <float.h>.
345 (__clog): Scale large or subnormal inputs.
346 * math/s_clogf.c: Likewise.
347 * math/s_clogl.c: Likewise.
348 * math/s_clog10.c: Include <float.h>.
349 (M_LOG10_2): Define.
350 (__clog10): Scale large or subnormal inputs.
351 * math/s_clog10f.c: Likewise.
352 * math/s_clog10l.c: Likewise.
353 * math/libm-test.inc (clog_test): Add more tests.
354 (clog10_test): Likewise.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
357
358 [BZ #11451]
359 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
360 x and y.
361 * math/libm-test.inc (atan2_test): Add another test.
362
363 * Makerules (common-objdir-compile): Remove.
364 * sysdeps/unix/Makefile (config-generated): Do not add
365 $(unix-generated) to variable.
366 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
367 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
368 Remove rule.
369 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
370 Likewise.
371 [generic bits/local_lim.h] (before-compile): Do not append to
372 variable.
373 [generic bits/local_lim.h] (common-generated): Likewise.
374 [generic sys/param.h] (before-compile): Do not append to variable.
375 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
376 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
377 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
378 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
379 include.
380 [generic sys/param.h] (sys/param.h-includes): Remove variable.
381 [generic sys/param.h] (sys/param.h-includes): Remove rule.
382 [generic sys/param.h] ($(addprefix
383 $(common-objpfx),$(sys/param.h-includes))): Likewise.
384 [generic sys/param.h] (common-generated): Do not append to
385 variable.
386 [generic sys/param.h] (sysdep_headers): Likewise.
387 [generic bits/errno.h] (before-compile): Do not append to
388 variable.
389 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
390 rule.
391 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
392 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
393 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
394 [generic bits/errno.h] (common-generated): Do not append to
395 variable.
396 [generic bits/ioctls.h] (before-compile): Do not append to
397 variable.
398 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
399 rule.
400 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
401 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
402 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
403 rule.
404 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
405 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
406 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
407 [generic bits/ioctls.h] (common-generated): Do not append to
408 variable.
409 [generic sys/syscall.h] (syscall.h): Remove variable.
410 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
411 rule.
412 [generic sys/syscall.h] (before-compile): Do not append to
413 variable.
414 [generic sys/syscall.h] (common-generated): Likewise.
415 * sysdeps/unix/errnos-tmpl.c: Remove file.
416 * sysdeps/unix/errnos.awk: Likewise.
417 * sysdeps/unix/ioctls-tmpl.c: Likewise.
418 * sysdeps/unix/ioctls.awk: Likewise.
419 * sysdeps/unix/mk-local_lim.c: Likewise.
420 * sysdeps/unix/snarf-ioctls: Likewise.
421
422 2012-03-19 Richard Henderson <rth@twiddle.net>
423
424 * sysdeps/i386/fpu/fenv_private.h: New file.
425 * sysdeps/i386/fpu/math_private.h: Use it.
426 (math_opt_barrier, math_force_eval): Remove.
427 (libc_feholdexcept_setround_53bit): Remove.
428 (libc_feupdateenv_53bit): Remove.
429 * sysdeps/x86_64/fpu/math_private.h: Likewise.
430 (math_opt_barrier, math_force_eval): Remove.
431 (libc_feholdexcept): Remove.
432 (libc_feholdexcept_setround): Remove.
433 (libc_fetestexcept, libc_fesetenv): Remove.
434 (libc_feupdateenv_test): Remove.
435 (libc_feupdateenv, libc_feholdsetround): Remove.
436 (libc_feresetround): Remove.
437
438 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
439 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
440
441 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
442 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
443 (libc_feupdateenv_testl): New.
444 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
445 (libc_feupdateenv_testf): New.
446 (libc_feupdateenv): Use libc_feupdateenv_test.
447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
449
450 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
451 (libc_feholdsetroundf, libc_feholdsetroundl): New.
452 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
453 (libc_feresetround_noex): New.
454 (libc_feresetround_noexf): New.
455 (libc_feresetround_noexl): New.
456 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
457 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
458 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
459 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
460 SET_RESTORE_ROUND.
461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
463 (__cos): Likewise.
464 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
465 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
466 SET_RESTORE_ROUND_NOEX.
467 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
468 SET_RESTORE_ROUND_NOEXF.
469 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
470 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
471 (libc_feholdsetroundf): New.
472 (libc_feresetround, libc_feresetroundf): New.
473
474 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
475 (libc_feholdexcept_setround_53bit): Convert from macro to function.
476 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
477
478 * sysdeps/generic/math_private.h: Include <fenv.h>.
479 (default_libc_feholdexcept): New.
480 (default_libc_feholdexcept_setround): New.
481 (default_libc_fesetenv, default_libc_feupdateenv): New.
482 (libc_feholdexcept): Only define if undefined.
483 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
484 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
485 (libc_feholdexcept_setroundl): Likewise.
486 (libc_feholdexcept_setround_53bit): Likewise.
487 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
488 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
489 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
490 (libc_feupdateenv_53bit): Likewise.
491 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
492 (libc_feholdexcept): Convert from macro to inline function.
493 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
494 (libc_fesetenv, libc_feupdateenv): Likewise.
495
496 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
497 not previously defined.
498 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
499 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
500 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
501 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
502 * sysdeps/ieee754/flt-32/math_private.h: New file.
503 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
504 math_private.h below SET_FLOAT_WORD.
505 (__isnan, __isinf_ns, __finite): Remove.
506 (__isnanf, __isinf_nsf, __finitef): Remove.
507
508 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
509
510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
511
512 2012-03-17 David S. Miller <davem@davemloft.net>
513
514 [BZ #6471]
515 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
516 for 2.16.
517
518 2012-03-16 David S. Miller <davem@davemloft.net>
519
520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
521 warnings.
522
523 [BZ #6471]
524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
525 properly.
526 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
527 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
528 sysdep_routines when subdir is sysvipc.
529 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
530 __getshmlba helper.
531
532 * sysdeps/sparc/fpu/libm-test/ulps: Update.
533
534 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
535
536 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
537 [__LP64__].
538
539 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
540
541 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
542 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
543 (__lround): Renamed to ...
544 (__llround): This. Replace long int with long long int.
545 Define lround functions as aliases of llround functions.
546 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
547
548 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
549
550 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
551 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
552 adresses to uintptr_t. Replace "long int" and "unsigned long
553 int" with "greg_t" on va_arg.
554
555 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
556
557 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
558 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
559
560 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
561 Move e_machine check before EI_CLASS check. Handle x32
562 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
563 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
564 SKIP_EM_IA_64 and include
565 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
566
567 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
568 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
569 (add_system_dir): New macro.
570
571 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
572 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
573
574 2012-03-16 Joseph Myers <joseph@codesourcery.com>
575
576 [BZ #2551]
577 [BZ #2552]
578 [BZ #2553]
579 [BZ #2554]
580 [BZ #2562]
581 [BZ #2563]
582 [BZ #2565]
583 [BZ #2566]
584 [BZ #2576]
585 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
586 (y0): Likewise.
587 * math/w_j0f.c (j0f): Likewise.
588 (y0f): Likewise.
589 * math/w_j0l.c (__j0l): Likewise.
590 (__y0l): Likewise.
591 * math/w_j1.c (j1): Likewise.
592 (y1): Likewise.
593 * math/w_j1f.c (j1f): Likewise.
594 (y1f): Likewise.
595 * math/w_j1l.c (__j1l): Likewise.
596 (__y1l): Likewise.
597 * math/w_jn.c (jn): Likewise.
598 (yn): Likewise.
599 * math/w_jnf.c (jnf): Likewise.
600 (ynf): Likewise.
601 * math/w_jnl.c (__jnl): Likewise.
602 (__ynl): Likewise.
603 * math/libm-test.inc (j0_test): Add more tests.
604 (j1_test): Likewise.
605 (jn_test): Likewise. Add trailing semicolon to existing test.
606 (y0_test): Likewise.
607 (y1_test): Likewise.
608 * sysdeps/i386/fpu/libm-test-ulps: Update.
609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
610
611 [BZ #13851]
612 [BZ #13854]
613 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
614 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
615 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
617 (__tanl): Set errno for infinite argument.
618 * sysdeps/i386/fpu/mptan.c: Remove.
619 * sysdeps/i386/fpu/s_tan.S: Likewise.
620 * sysdeps/i386/fpu/s_tanl.S: Likewise.
621 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
622 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
623 * math/libm-test.inc (tan_test): Add more tests and enable more
624 tests for double and long double.
625 * sysdeps/i386/fpu/libm-test-ulps: Update.
626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
627
628 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
629
630 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
631 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
632
633 2012-03-16 Roland McGrath <roland@hack.frob.com>
634
635 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
636 * configure.in: Use it for both main tree and add-ons.
637 * configure: Regenerated.
638
639 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
640
641 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
642
643 2012-03-16 Joseph Myers <joseph@codesourcery.com>
644
645 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
646 in comment.
647
648 [BZ #13851]
649 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
650 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
651 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
652 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
653 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
654 infinite argument.
655 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
657 != 0 for prec == 2.
658 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
659 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
660 * sysdeps/i386/fpu/s_cosl.S: Likewise.
661 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
662 * sysdeps/i386/fpu/s_sinl.S: Likewise.
663 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
664 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
665 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
666 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
667 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
668 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
669 * math/libm-test.inc (cos_test): Add more tests and enable more
670 tests for long double.
671 (sin_test): Likewise.
672 (sincos_test): Likewise.
673 * sysdeps/i386/fpu/libm-test-ulps: Update.
674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
675
676 2012-03-16 David S. Miller <davem@davemloft.net>
677
678 * sysdeps/sparc/fpu/math_private.h: New file.
679
680 2012-03-15 David S. Miller <davem@davemloft.net>
681
682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
683 file.
684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
686 file.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
693 sysdep routines.
694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
695
696 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
697 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
698
699 * sysdeps/sparc/sparc-ifunc.h: New file.
700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
701 sparc-ifunc.h
702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
704 Likewise.
705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
706 Likewise.
707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
711 Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
717 Likewise.
718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
719 Likewise.
720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
739 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
744
745 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
746
747 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
748 scaling.
749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
750
751 2012-03-15 Andreas Jaeger <aj@suse.de>
752
753 [BZ #13852]
754 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
755 ieee754/flt-32 implementation for sin, cos and sincos.
756 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
757 * sysdeps/i386/fpu/s_cosf.S: Likewise.
758 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
759 * sysdeps/i386/fpu/s_sinf.S: Likewise.
760 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
761 ieee754/flt-32 implementation for tan.
762
763 * math/libm-test.inc (cos_test): Enable some large input tests for
764 float as well
765 (sin_test): Likewise.
766 (sincos_test): Likewise.
767 (tan_test): Add tests for large input.
768
769 * sysdeps/i386/fpu/libm-test-ulps: Update.
770
771 2012-03-15 Andreas Jaeger <aj@suse.de>
772
773 [BZ #13658]
774 * math/libm-test.inc (cos_test): Add more test cases.
775 (sin_test): Likewise.
776 (sincos_test): Likewise.
777
778 2012-03-15 Andreas Jaeger <aj@suse.de>
779
780 [BZ #13837]
781 * math/libm-test.inc (cos_test): Add a test case for large input
782 value.
783 (sin_test): Likewise.
784 (sincos_test): Likewise.
785
786 2012-03-15 Andreas Jaeger <aj@suse.de>,
787 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #13658]
790 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
791 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
792 * sysdeps/i386/fpu/branred.c: Likewise.
793 * sysdeps/i386/fpu/dosincos.c: Likewise.
794 * sysdeps/i386/fpu/mpa.c: Likewise.
795 * sysdeps/i386/fpu/s_cos.S: Likewise.
796 * sysdeps/i386/fpu/s_sin.S: Likewise.
797 * sysdeps/i386/fpu/s_sincos.S: Likewise.
798 * sysdeps/i386/fpu/sincos32.c: Likewise.
799
800 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
801 Define.
802 (libc_feupdateenv_53bit): Define.
803 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
804 Define.
805 (libc_feupdateenv_53bit): Define.
806
807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
808 53 bit (without extend i386 double precision).
809
810 * math/libm-test.inc (sincos_test): Add tests for large input.
811 (sin): Likewise.
812 (cos): Likewise.
813
814 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
815
816 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
817
818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
819
820 2012-03-15 David S. Miller <davem@davemloft.net>
821
822 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
823 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
824 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
825 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
838 file.
839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
841 file.
842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
844 file.
845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
847 file.
848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
850 fmin/fmax sysdep routines.
851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
852
853 2012-03-14 David S. Miller <davem@davemloft.net>
854
855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
862 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
882 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
884 routines.
885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
886 file.
887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
889 file.
890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
892 file.
893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
895 file.
896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
898 file.
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
901 file.
902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
903 file.
904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
905 file.
906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
907 file.
908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
909 New file.
910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
911 file.
912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
913 file.
914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
916 file.
917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
919 file.
920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
922 file.
923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
925 VIS3 routines.
926
927 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
928 New file.
929
930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
931
932 * sysdeps/sparc/configure.in: New file.
933 * sysdeps/sparc/configure: Generate.
934 * configure.in (libc_cv_sparc_as_vis3): Substitute.
935 * configure: Regenerate.
936 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
937 * config.make.in (have-as-vis3): New.
938 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
939 available use -Av9d instead of -Av9a.
940 * sysdeps/sparc/sparc64/Makefile: Likewise.
941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
943 New file.
944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
945 file.
946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
947 New file.
948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
949 file.
950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
955
956 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
957 fzeros/fnegs to load 0x80000000 into a float register instead of
958 using the stack.
959 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
960
961 2012-03-14 Joseph Myers <joseph@codesourcery.com>
962
963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
964 bits/syscall.h.
965 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
966 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
967 ($(inst_includedir)/bits/syscall.h): Remove rule.
968 ($(objpfx)bits/syscall.d): Include instead of
969 $(objpfx)syscall-list.d.
970 (generated): Change syscall-list.h and syscall-list.d to
971 bits/syscall.h and bits/syscall.d.
972
973 2012-03-14 Roland McGrath <roland@hack.frob.com>
974
975 [BZ #13846]
976 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
977
978 2012-03-14 Joseph Myers <joseph@codesourcery.com>
979
980 [BZ #13841]
981 * math/s_csqrt.c: Include <float.h>.
982 (__csqrt): Scale large or subnormal inputs.
983 * math/s_csqrtf.c: Likewise.
984 * math/s_csqrtl.c: Likewise.
985 * math/libm-test.inc (csqrt_test): Add more tests.
986 * sysdeps/i386/fpu/libm-test-ulps: Update.
987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
988
989 [BZ #13840]
990 * math/libm-test.inc (hypot_test): Add more tests.
991
992 2012-03-13 David S. Miller <davem@davemloft.net>
993
994 [BZ #13840]
995 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
996 double-precision for the calculation instead of scaling.
997
998 2012-03-13 Joseph Myers <joseph@codesourcery.com>
999
1000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1001 manipulate bits before adding and subtracting TWO52[sx].
1002 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1004 Likewise.
1005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1006
1007 2012-03-13 David S. Miller <davem@davemloft.net>
1008
1009 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1010 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1012 rtld-global-offsets.h
1013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1014
1015 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1016 large parameters.
1017
1018 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1019
1020 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1021 'err' in the ifdef scope in which it is actually used.
1022
1023 * nss/nss_db/db-init.c: Include string.h
1024
1025 2012-03-12 David S. Miller <davem@davemloft.net>
1026
1027 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1028 masking out of the most significant byte of random value used.
1029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1030 Fix coding style in previous change.
1031
1032 * sysdeps/unix/sysv/linux/kernel-features.h
1033 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1034 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1035 expression.
1036 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1037 later.
1038
1039 2012-03-11 David S. Miller <davem@davemloft.net>
1040
1041 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1042 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1043 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1044 for 'resultvar' otherwise things get truncated on 64-bit.
1045
1046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1047 Fix masking out of the most significant byte of random value used.
1048
1049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1050
1051 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1052
1053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1054
1055 2012-03-09 David S. Miller <davem@davemloft.net>
1056
1057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1058 variables with appropriate CPP guards.
1059 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1060 frame pointer, not the stack pointer. Correct layout comments. Fix test
1061 on resulting framesize and the management of the outregs buffer for pltexit.
1062 Preserve floating point return values across _dl_call_pltexit call.
1063 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1064 framesize and the management of the outregs buffer for pltexit.
1065 Preserve floating point return values across _dl_call_pltexit
1066 call.
1067 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1068 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1069 (print_exit): Fix format string for return register value.
1070
1071 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1072
1073 * sunrpc/Makefile (others): Add rpcgen.
1074 ($(objpfx)rpcgen): Remove special build rule and dependency on
1075 libc.
1076 * sunrpc/rpcgen.c: New file.
1077
1078 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1079
1080 [BZ #13673]
1081 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1082 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1083 * sysdeps/i386/crti.S: Likewise.
1084 * sysdeps/i386/crtn.S: Likewise.
1085 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1086 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1087 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1088 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1089 * sysdeps/sh/crti.S: Likewise.
1090 * sysdeps/sh/crtn.S: Likewise.
1091 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1092
1093 [BZ #13673]
1094 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1095 with URL.
1096 * locale/programs/locfile-kw.gperf: Likewise.
1097 * locale/programs/charmap-kw.h: Regenerated.
1098 * locale/programs/locfile-kw.h: Likewise.
1099
1100 [BZ #13673]
1101 * intl/plural.y: Replace FSF snail mail address with URL.
1102 * intl/plural.c: Regenerated.
1103
1104 2012-03-09 Richard Henderson <rth@twiddle.net>
1105
1106 * include/math_private.h: Remove file.
1107 * math/math_private.h: Move file ...
1108 * sysdeps/generic/math_private.h: ... here.
1109
1110 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1111 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1113
1114 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1115 and <math_private.h>.
1116 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1117 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1118 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1119 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1120 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1121 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1122 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1128 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1129 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1130 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1140 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1142 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1146 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1148 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1149 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1150 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1151 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1153 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1154 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1156 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1157 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1158 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1159 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1165 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1166 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1169 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1170 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1171 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1173 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1174 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1175 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1176 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1177 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1179 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1180 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1181 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1182 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1184 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1186 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1190 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1198 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1203 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1204 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1205 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1206 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1207 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1208 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1209 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1210 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1211 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1212 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1213 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1214 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1216 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1217 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1218 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1219 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1220 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1221 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1222 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1223 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1224 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1226 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1227 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1228 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1230 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1231 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1233 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1234 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1235 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1236 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1237 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1238 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1239 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1240 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1241 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1243 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1244 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1245 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1246 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1247 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1248 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1249 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1250 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1251 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1252 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1253 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1254 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1255 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1256 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1257 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1258 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1259 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1260 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1261 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1262 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1263 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1264 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1265 * sysdeps/ieee754/k_standard.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1272 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1273 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1274 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1279 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1283 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1286 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1378 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1388 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1393 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1398 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1405 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1406 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1407 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1415 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1416 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1417 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1420 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1421 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1425 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1426 * sysdeps/ieee754/s_lib_version.c: Likewise.
1427 * sysdeps/ieee754/s_matherr.c: Likewise.
1428 * sysdeps/ieee754/s_signgam.c: Likewise.
1429 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1430 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1431 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1432 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1433 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1434 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1435 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1436 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1437 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1438 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1439 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1440 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1441 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1442 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1443 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1444 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1445 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1446 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1450
1451 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1452
1453 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1454 * sunrpc/rpc_main.c: Likewise.
1455 * sunrpc/rpc_svcout.c: Likewise.
1456
1457 2012-03-09 David S. Miller <davem@davemloft.net>
1458
1459 * include/math_private.h: New file.
1460
1461 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1462
1463 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1464 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1465 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1466 from <bits/socket_type.h>.
1467 (enum __socket_type): Don't define here.
1468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1470 bits/socket_type.h.
1471
1472 [BZ #13566]
1473 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1474 checking __USE_GNU.
1475
1476 * Makerules ($(inst_includedir)/%.h): New rule.
1477 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1478 (install-others): Remove variable setting.
1479 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1480
1481 2012-03-08 Richard Henderson <rth@twiddle.net>
1482
1483 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1484 from macro to inline function; merge with the
1485 !__LIBC_INTERNAL_MATH_INLINES version.
1486 (__ieee754_sqrtf): Likewise.
1487
1488 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1489 to inline function.
1490 (__rintf, __floor, __floorf): Likewise.
1491
1492 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1493 macro to inline function.
1494 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1495
1496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1497 not <math/math_private.h>.
1498
1499 2012-03-08 David S. Miller <davem@davemloft.net>
1500
1501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1502 copyright year.
1503 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1504
1505 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1506
1507 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1508 normalization.
1509 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1510 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1511
1512 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1513
1514 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1515 be defined individually, they must be defined as a block. Define
1516 S for printing a string instead of hidint the different by using a
1517 macro for adding the 'l'.
1518 * stdio-common/tst-fphex-wide.c: Adjust.
1519
1520 2012-03-07 Marek Polacek <polacek@redhat.com>
1521
1522 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1523
1524 2012-03-08 Marek Polacek <polacek@redhat.com>
1525
1526 [BZ #13806]
1527 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1528 * stdio-common/tst-fphex.c: Define a few macros to make the
1529 test reusable. Use them.
1530 * stdio-common/tst-fphex-wide.c: New file.
1531
1532 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1533
1534 [BZ #6911]
1535 * manual/macros.texi (gnusystems): New macro.
1536 (nongnusystems): Likewise.
1537 (gnulinuxhurdsystems): Likewise.
1538 (gnuhurdsystems): Likewise..
1539 (gnulinuxsystems): Likewise.
1540 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1541 variants of the GNU system, not "GNU system".
1542 * manual/conf.texi: Likewise.
1543 * manual/errno.texi: Likewise. Update example of errno macro
1544 expansion.
1545 * manual/filesys.texi: Likewise.
1546 (getumask): Document as specific to GNU/Hurd.
1547 * manual/install.texi: Likewise. Reword some references to
1548 GNU/Linux.
1549 * manual/intro.texi: Likewise.
1550 * manual/io.texi: Likewise.
1551 (File Name Portability): Detail which constraints are inapplicable
1552 to all GNU systems and which are only inapplicable to GNU/Hurd.
1553 * manual/job.texi: Likewise.
1554 * manual/llio.texi: Likewise.
1555 (O_NOCTTY): Document as present on GNU/Linux.
1556 * manual/maint.texi: Likewise.
1557 * manual/memory.texi: Likewise.
1558 * manual/pattern.texi: Likewise.
1559 * manual/pipe.texi: Likewise.
1560 * manual/process.texi: Likewise.
1561 * manual/resource.texi: Likewise.
1562 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1563 child on GNU/Hurd.
1564 * manual/setjmp.texi: Likewise.
1565 * manual/signal.texi: Likewise.
1566 * manual/startup.texi: Likewise.
1567 * manual/stdio.texi: Likewise.
1568 * manual/terminal.texi: Likewise.
1569 (ONLCR): Document as POSIX.
1570 (OXTABS): Document availability on GNU/Linux as XTABS.
1571 (ONOEOT): Document availability separately from other bits.
1572 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1573 * manual/time.texi: Likewise.
1574 * manual/users.texi: Likewise.
1575 * INSTALL: Regenerated.
1576 * sysdeps/gnu/errlist.c: Regenerated.
1577
1578 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1579 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1580 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1581 puts.
1582 * configure: Regenerated.
1583
1584 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1585
1586 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1587 default includes instead of AC_HEADER_CHECK.
1588 * sysdeps/i386/configure: Regenerated.
1589
1590 [BZ #10716]
1591 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1592 * math/s_cacoshf.c (__cacoshf): Likewise.
1593 * math/s_cacoshl.c (__cacoshl): Likewise.
1594 * math/s_casinh.c (__casinh): Set signs of result from argument.
1595 * math/s_casinhf.c (__casinhf): Likewise.
1596 * math/s_casinhl.c (__casinhl): Likewise.
1597 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1598 (casinh_test): Add more tests.
1599 * sysdeps/i386/fpu/libm-test-ulps: Update.
1600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1601
1602 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1603
1604 * po/zh_TW.po: Update from translation team.
1605
1606 * login/Makefile (distribute): Remove variable.
1607 * catgets/Makefile: Likewise.
1608 * mach/Makefile: Likewise.
1609 * malloc/Makefile: Likewise.
1610 * misc/Makefile: Likewise.
1611 * iconv/Makefile: Likewise.
1612 * nscd/Makefile: Likewise.
1613 * hurd/Makefile: Likewise.
1614 * manual/Makefile: Likewise.
1615 * locale/Makefile: Likewise.
1616 * intl/Makefile: Likewise.
1617 * conform/Makefile: Likewise.
1618 * nss/Makefile: Likewise.
1619 * time/Makefile: Likewise.
1620 * soft-fp/Makefile: Likewise.
1621 * dirent/Makefile: Likewise.
1622 * gmon/Makefile: Likewise.
1623 * po/Makefile: Likewise.
1624 * rt/Makefile: Likewise.
1625 * socket/Makefile: Likewise.
1626 * math/Makefile: Likewise.
1627 * signal/Makefile: Likewise.
1628 * debug/Makefile: Likewise.
1629 * elf/Makefile: Likewise.
1630 * timezone/Makefile: Likewise.
1631 * stdlib/Makefile: Likewise.
1632 * iconvdata/Makefile: Likewise.
1633 * sunrpc/Makefile: Likewise.
1634 * io/Makefile: Likewise.
1635 * argp/Makefile: Likewise.
1636 * inet/Makefile: Likewise.
1637 * hesiod/Makefile: Likewise.
1638 * grp/Makefile: Likewise.
1639 * csu/Makefile: Likewise.
1640 * wctype/Makefile: Likewise.
1641 * crypt/Makefile: Likewise.
1642 * libio/Makefile: Likewise.
1643 * string/Makefile: Likewise.
1644 * nis/Makefile: Likewise.
1645 * resolv/Makefile: Likewise.
1646 * stdio-common/Makefile: Likewise.
1647 * wcsmbs/Makefile: Likewise.
1648 * dlfcn/Makefile: Likewise.
1649 * posix/Makefile: Likewise.
1650
1651 * timezone/Makefile: Don't install timezone files, just the programs
1652 and scripts.
1653
1654 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1655
1656 * nss/databases.def: Add missing gshadow entry.
1657
1658 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1659
1660 2012-03-06 Marek Polacek <polacek@redhat.com>
1661
1662 [BZ #13726]
1663 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1664 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1665 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1666 * stdio-common/tst-long-dbl-fphex.c: New file.
1667
1668 2012-03-06 David S. Miller <davem@davemloft.net>
1669
1670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1671 (set_obp_int): New function.
1672 (get_obp_int): New function.
1673 (__get_clockfreq_via_dev_openprom): Likewise.
1674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1675 Avoid unused variable warnings on 'val' and use builtin_expect.
1676 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1677 __builtin_expect.
1678 (INLINE_CLONE_SYSCALL): Likewise.
1679
1680 2012-03-05 David S. Miller <davem@davemloft.net>
1681
1682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1683
1684 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1685
1686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1687
1688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1689 only for |x| >= 40.
1690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1691
1692 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1695 Replace gettimeofday with __vdso_gettimeofday.
1696
1697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1698 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1699 __vdso_clock_gettime and __vdso_getcpu.
1700
1701 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1702 time with __vdso_time.
1703
1704 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1705
1706 * manual/lang.texi (size_t): Note types to which size_t may be
1707 equivalent with the GNU C Library, but do not describe when
1708 differences between them are significant.
1709
1710 2012-03-05 Andreas Jaeger <aj@suse.de>
1711
1712 * sysdeps/i386/fpu/libm-test-ulps: Update.
1713
1714 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1715
1716 [BZ #3976]
1717 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1718 (__ieee754_pow): Save and restore rounding mode and use
1719 round-to-nearest for main computations.
1720 * math/libm-test.inc (pow_test_tonearest): New function.
1721 (pow_test_towardzero): Likewise.
1722 (pow_test_downward): Likewise.
1723 (pow_test_upward): Likewise.
1724 (main): Call the new functions.
1725 * sysdeps/i386/fpu/libm-test-ulps: Update.
1726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1727
1728 [BZ #3976]
1729 * math/libm-test.inc (cosh_test_tonearest): New function.
1730 (cosh_test_towardzero): Likewise.
1731 (cosh_test_downward): Likewise.
1732 (cosh_test_upward): Likewise.
1733 (sinh_test_tonearest): Likewise.
1734 (sinh_test_towardzero): Likewise.
1735 (sinh_test_downward): Likewise.
1736 (sinh_test_upward): Likewise.
1737 (main): Call the new functions.
1738 * sysdeps/i386/fpu/libm-test-ulps: Update.
1739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1740
1741 2012-03-05 Tom de Vries <tom@codesourcery.com>
1742
1743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1744 default stack guard is set in last bytes.
1745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1746
1747 2012-03-05 Kees Cook <keescook@chromium.org>
1748
1749 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1750
1751 [BZ #13656]
1752 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1753 possibly allocate from heap instead of stack.
1754 * stdio-common/bug-vfprintf-nargs.c: New file.
1755 * stdio-common/Makefile (tests): Add nargs overflow test.
1756
1757 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1758
1759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1760
1761 2012-03-03 Marek Polacek <polacek@redhat.com>
1762
1763 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1764 * math/math_private.h: Likewise.
1765 * stdlib/tst-strtod.c: Likewise.
1766 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1767 * sysdeps/x86_64/bits/atomic.h: Likewise.
1768
1769 2012-03-02 David S. Miller <davem@davemloft.net>
1770
1771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1775 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1776 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1777 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1778 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1779
1780 2012-03-02 Roland McGrath <roland@hack.frob.com>
1781
1782 [BZ #13792]
1783 * manual/examples/README: New file, says the example source files
1784 can be used under GPL>=2.
1785 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1786 line containing just "*/".
1787 * manual/examples/add.c: Add copyright header (GPL>=2).
1788 * manual/examples/argp-ex1.c: Likewise.
1789 * manual/examples/argp-ex2.c: Likewise.
1790 * manual/examples/argp-ex3.c: Likewise.
1791 * manual/examples/argp-ex4.c: Likewise.
1792 * manual/examples/atexit.c: Likewise.
1793 * manual/examples/db.c: Likewise.
1794 * manual/examples/dir.c: Likewise.
1795 * manual/examples/dir2.c: Likewise.
1796 * manual/examples/execinfo.c: Likewise.
1797 * manual/examples/filecli.c: Likewise.
1798 * manual/examples/filesrv.c: Likewise.
1799 * manual/examples/fmtmsgexpl.c: Likewise.
1800 * manual/examples/genpass.c: Likewise.
1801 * manual/examples/inetcli.c: Likewise.
1802 * manual/examples/inetsrv.c: Likewise.
1803 * manual/examples/isockad.c: Likewise.
1804 * manual/examples/longopt.c: Likewise.
1805 * manual/examples/memopen.c: Likewise.
1806 * manual/examples/memstrm.c: Likewise.
1807 * manual/examples/mkfsock.c: Likewise.
1808 * manual/examples/mkisock.c: Likewise.
1809 * manual/examples/mygetpass.c: Likewise.
1810 * manual/examples/pipe.c: Likewise.
1811 * manual/examples/popen.c: Likewise.
1812 * manual/examples/rprintf.c: Likewise.
1813 * manual/examples/search.c: Likewise.
1814 * manual/examples/select.c: Likewise.
1815 * manual/examples/setjmp.c: Likewise.
1816 * manual/examples/sigh1.c: Likewise.
1817 * manual/examples/sigusr.c: Likewise.
1818 * manual/examples/stpcpy.c: Likewise.
1819 * manual/examples/strdupa.c: Likewise.
1820 * manual/examples/strftim.c: Likewise.
1821 * manual/examples/strncat.c: Likewise.
1822 * manual/examples/subopt.c: Likewise.
1823 * manual/examples/swapcontext.c: Likewise.
1824 * manual/examples/termios.c: Likewise.
1825 * manual/examples/testopt.c: Likewise.
1826 * manual/examples/testpass.c: Likewise.
1827 * manual/examples/timeval_subtract.c: Likewise.
1828
1829 [BZ #13792]
1830 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1831 function to ...
1832 * manual/timeval_subtract.c.texi: ... here, new file.
1833
1834 2012-03-02 David S. Miller <davem@davemloft.net>
1835
1836 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1837
1838 2012-03-02 Joseph Myers <joseph@codesourcery.com>
1839
1840 [BZ #3976]
1841 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1842 (__sin): Save and restore rounding mode and use round-to-nearest
1843 for all computations.
1844 (__cos): Save and restore rounding mode and use round-to-nearest
1845 for all computations.
1846 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1847 <fenv.h>.
1848 (tan): Save and restore rounding mode and use round-to-nearest for
1849 all computations.
1850 * math/libm-test.inc (cos_test_tonearest): New function.
1851 (cos_test_towardzero): Likewise.
1852 (cos_test_downward): Likewise.
1853 (cos_test_upward): Likewise.
1854 (sin_test_tonearest): Likewise.
1855 (sin_test_towardzero): Likewise.
1856 (sin_test_downward): Likewise.
1857 (sin_test_upward): Likewise.
1858 (tan_test_tonearest): Likewise.
1859 (tan_test_towardzero): Likewise.
1860 (tan_test_downward): Likewise.
1861 (tan_test_upward): Likewise.
1862 (main): Call the new functions.
1863 * sysdeps/i386/fpu/libm-test-ulps: Update.
1864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1865
1866 [BZ #10135]
1867 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1868 small n, then large n, before computing and testing k+n.
1869 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1871 Likewise.
1872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1873 Likewise.
1874 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1875 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1882 * math/libm-test.inc (scalbn_test): Add more tests.
1883 (scalbln_test): Likewise.
1884
1885 * manual/filesys.texi (mode_t): Describe constraints on size and
1886 signedness, not exact equivalence to a particular type.
1887 (ino_t): Likewise.
1888 (ino64_t): Likewise.
1889 (dev_t): Likewise.
1890 (nlink_t): Likewise.
1891 (blkcnt_t): Likewise.
1892 (blkcnt64_t): Likewise.
1893 * manual/llio.texi (off_t): Likewise.
1894
1895 [BZ #3976]
1896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1897 (__ieee754_exp): Save and restore rounding mode and use
1898 round-to-nearest for all computations.
1899 * math/libm-test.inc (exp_test_tonearest): New function.
1900 (exp_test_towardzero): Likewise.
1901 (exp_test_downward): Likewise.
1902 (exp_test_upward): Likewise.
1903 (main): Call the new functions.
1904 * sysdeps/i386/fpu/libm-test-ulps: Update.
1905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1906
1907 2012-03-01 Chris Demetriou <cgd@google.com>
1908
1909 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1910 have predictable order.
1911
1912 2012-03-01 David S. Miller <davem@davemloft.net>
1913
1914 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1915
1916 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1917 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1918 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1919 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1920
1921 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1922 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1923 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1925 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1926 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1927 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1928 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1929 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1930
1931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1932
1933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1934 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1936
1937 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1953 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1954 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1955 * sysdeps/sparc/elf/configure: Regenerated.
1956
1957 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1958
1959 * configure.in (AS, LD): Require binutils 2.20 or later.
1960 * configure: Regenerated.
1961 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1962 as required minimum version.
1963 * INSTALL: Regenerated.
1964
1965 [BZ #2541]
1966 [BZ #4108]
1967 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1968 before squaring exponent.
1969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1970 bottom long double and 27 bits of top long double before squaring
1971 exponent.
1972 * math/libm-test.inc (erfc_test): Add more tests.
1973 * sysdeps/i386/fpu/libm-test-ulps: Update.
1974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1976
1977 2012-03-01 Kai Tietz <ktietz@redhat.com>
1978
1979 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1980 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1981 containing bit-fields.
1982 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1983 * soft-fp/single.h (_FP_UNION_S): Likewise.
1984 * soft-fp/double.h (_FP_UNION_D): Likewise.
1985
1986 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1987
1988 [BZ #13786]
1989 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1990 not include ../strcmp.S.
1991 [USE_AS_STRNCASECMP_L]: Likewise.
1992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1993 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1994 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1995 (__strncasecmp_l_ia32): Define as alias to
1996 __strncasecmp_l_nonascii.
1997
1998 [BZ #5794]
1999 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2000 * sysdeps/i386/fpu/libm-test-ulps: Update.
2001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2002
2003 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2005
2006 2012-02-29 Jeff Law <law@redhat.com>
2007
2008 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2009 out of bounds read.
2010
2011 2012-02-29 Marek Polacek <polacek@redhat.com>
2012
2013 [BZ #13706]
2014 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2015 * elf/Makefile: Add rules to run tst-unused-dep.out.
2016
2017 2012-02-28 David S. Miller <davem@davemloft.net>
2018
2019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2023 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2024 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2025
2026 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2027
2028 * math/libm-test.inc (llround_test): Move one test from
2029 lround_test. Use TEST_f_L in moved test.
2030 (lround_test): Move misplaced test to llround_test. Add testcase
2031 from bug 2561.
2032
2033 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2034
2035 * sysdeps/x86_64/fpu/e_expf.S: New file.
2036 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2037
2038 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2039
2040 [BZ #13637]
2041 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2042 of remain_len that may cause incomplete multi-byte character and
2043 false match.
2044 * posix/bug-regex33.c: New file.
2045 * posix/Makefile (tests): Add bug-regex33.
2046
2047 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2048
2049 * manual/macros.texi: New file.
2050 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2051 * manual/libc.texinfo: Include macros.texi.
2052 * manual/creatute.texi: Likewise.
2053 * manual/install.texi: Likewise.
2054 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2055 @glibcadj{} in references to the GNU C Library.
2056 * manual/charset.texi: Likewise.
2057 * manual/conf.texi: Likewise.
2058 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2059 when not using those macros.
2060 * manual/creature.texi: Likewise.
2061 * manual/crypt.texi: Likewise.
2062 * manual/errno.texi: Likewise.
2063 * manual/filesys.texi: Likewise.
2064 * manual/header.texi: Likewise.
2065 * manual/install.texi: Likewise.
2066 * manual/intro.texi: Likewise.
2067 * manual/io.texi: Likewise.
2068 * manual/job.texi: Likewise.
2069 * manual/lang.texi: Likewise.
2070 * manual/libc.texiinfo: Likewise.
2071 * manual/llio.texi: Likewise.
2072 * manual/locale.texi: Likewise.
2073 * manual/maint.texi: Likewise.
2074 * manual/math.texi: Likewise.
2075 * manual/memory.texi: Likewise.
2076 * manual/message.texi: Likewise.
2077 * manual/nss.texi: Likewise.
2078 * manual/pattern.texi: Likewise.
2079 * manual/process.texi: Likewise.
2080 * manual/resource.texi: Likewise.
2081 * manual/search.texi: Likewise.
2082 * manual/setjmp.texi: Likewise.
2083 * manual/signal.texi: Likewise.
2084 * manual/socket.texi: Likewise.
2085 * manual/startup.texi: Likewise.
2086 * manual/stdio.texi: Likewise.
2087 * manual/string.texi: Likewise.
2088 * manual/sysinfo.texi: Likewise.
2089 * manual/syslog.texi: Likewise.
2090 * manual/terminal.texi: Likewise.
2091 * manual/time.texi: Likewise.
2092 * manual/users.texi: Likewise.
2093 * INSTALL: Regenerated.
2094 * NOTES: Regenerated.
2095 * sysdeps/gnu/errlist.c: Regenerated.
2096
2097 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2098
2099 * include/dirent.h: Include <dirstream.h> before
2100 <dirent/dirent.h>.
2101
2102 2012-02-28 David S. Miller <davem@davemloft.net>
2103
2104 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2105 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2106 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2108
2109 2012-02-27 David S. Miller <davem@davemloft.net>
2110
2111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2113 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2114 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2115
2116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2117 frame pointer instead of stack pointer relative arg slot.
2118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2121
2122 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2123
2124 [BZ #3992]
2125 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2126
2127 2012-02-27 David S. Miller <davem@davemloft.net>
2128
2129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2135 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2137
2138 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2139
2140 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2141 later. Allow versions 5-9.
2142 * configure: Regenerated.
2143 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2144 required minimum version and 4.6 as recommended version. Do not
2145 mention bugs in GCC 2.7 and 2.8.
2146 * INSTALL: Regenerated.
2147
2148 2012-02-27 David S. Miller <davem@davemloft.net>
2149
2150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2156 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2157 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2158
2159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2160 manipulate bits before adding and subtracting TWO112[sx].
2161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2162
2163 2012-02-27 Roland McGrath <roland@hack.frob.com>
2164
2165 [BZ #13775]
2166 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2167 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2168 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2169 being in POSIX, because they are in 1003.1-2008.
2170
2171 * rt/tst-aio.c: Include <fcntl.h>.
2172 * rt/tst-aio7.c: Likewise.
2173 * rt/tst-aio64.c: Likewise.
2174
2175 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2176
2177 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2178
2179 * manual/install.texi (--with-headers): Describe headers as
2180 interface headers, not private headers.
2181 (Specific advice for GNU/Linux systems): Describe use of headers
2182 from "make headers_install", not private headers from older
2183 kernels.
2184 * INSTALL: Regenerated.
2185 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2186 Change to 2.6.19.
2187 * sysdeps/unix/sysv/linux/configure: Regenerated.
2188
2189 * manual/llio.texi (fclean): Remove documentation.
2190
2191 * manual/Makefile (libc-texi-generated): New variable. Include
2192 version.texi.
2193 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2194 $(libc-texi-generated), not duplicated list of files.
2195 (version.texi, stamp-version): New rules.
2196 (realclean): Remove $(libc-texi-generated), not individual files
2197 from that list. Do not remove dir-add.texinfo.
2198 * manual/libc.texinfo: Comment out uses of edition numbers and
2199 references to printed manual. Remove last-updated dates.
2200 (EDITION): Comment out.
2201 (ISBN): Likewise.
2202 (VERSION, UPDATED): Remove.
2203 (version.texi): Include.
2204
2205 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2206
2207 * sysdeps/posix/spawni.c: Include <signal.h>.
2208 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2209 * sysdeps/pthread/aio_fsync.c: Likewise.
2210
2211 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2212
2213 * conform/Makefile (tests): Run only when not cross-compiling and
2214 when fast-check is not defined.
2215
2216 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2217 * conform/data/limits.h-data: Fixes for POSIX2008.
2218 * conform/run-conformtest.sh: Run all tests.
2219 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2220 headers.
2221 * include/bits/dlfcn.h: Likewise.
2222 * include/langinfo.h: Likewise.
2223 * include/monetary.h: Likewise.
2224 * include/sys/poll.h: Likewise.
2225
2226 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2227 for __USE_GNU.
2228 * posix/spawn.h: Define __need_sigset_t.
2229 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2230 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2231 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2232 to get sigevent_t only.
2233 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2234 only for __USE_GNU.
2235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2236 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2237 process_vm_writev only for __USE_GNU.
2238 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2239
2240 * conform/Makefile: For now ignore errors from run-conformtest.
2241 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2242 POSIX to avoid namespace pollution. Don't prepend headers.
2243 * conform/data/aio.h-data: Fixes for POSIX testing.
2244 * conform/data/fcntl.h-data: Likewise.
2245 * conform/data/glob.h-data: Likewise.
2246 * conform/data/grp.h-data: Likewise.
2247 * conform/data/pthread.h-data: Likewise.
2248 * conform/data/pwd.h-data: Likewise.
2249 * conform/data/signal.h-data: Likewise.
2250 * conform/data/spawn.h-data: Likewise.
2251 * conform/data/stdio.h-data: Likewise.
2252 * conform/data/stdlib.h-data: Likewise.
2253 * conform/data/stropts.h-data: Likewise.
2254 * conform/data/sys/mman.h-data: Likewise.
2255 * conform/data/sys/stat.h-data: Likewise.
2256 * conform/data/sys/types.h-data: Likewise.
2257 * conform/data/sys/wait.h-data: Likewise.
2258 * conform/data/time.h-data: Likewise.
2259 * conform/data/unistd.h-data: Likewise.
2260 * conform/data/utime.h-data: Likewise.
2261
2262 * io/sys/stat.h: fchmod was always in POSIX.
2263 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2264 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2265 * rt/aio.h: Define __need_timespec before including <time.h>.
2266 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2267 struct. Add forward declaration of pthread_attr_t and use it in
2268 sigevent.
2269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2271 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2272 always remove CLK_TCK definition.
2273
2274 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2275
2276 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2277
2278 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2279
2280 * conform/run-conformtest.sh: New file.
2281 * conform/Makefile: Run run-conformtest for tests.
2282 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2283 support.
2284
2285 * conform/data/uchar.h-data: New file.
2286 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2287 * conform/data/arpa/inet.h-data: Likewise.
2288 * conform/data/assert.h-data: Likewise.
2289 * conform/data/complex.h-data: Likewise.
2290 * conform/data/cpio.h-data: Likewise.
2291 * conform/data/ctype.h-data: Likewise.
2292 * conform/data/dirent.h-data: Likewise.
2293 * conform/data/dlfcn.h-data: Likewise.
2294 * conform/data/errno.h-data: Likewise.
2295 * conform/data/fcntl.h-data: Likewise.
2296 * conform/data/float.h-data: Likewise.
2297 * conform/data/fmtmsg.h-data: Likewise.
2298 * conform/data/fnmatch.h-data: Likewise.
2299 * conform/data/ftw.h-data: Likewise.
2300 * conform/data/glob.h-data: Likewise.
2301 * conform/data/grp.h-data: Likewise.
2302 * conform/data/iconv.h-data: Likewise.
2303 * conform/data/inttypes.h-data: Likewise.
2304 * conform/data/langinfo.h-data: Likewise.
2305 * conform/data/libgen.h-data: Likewise.
2306 * conform/data/limits.h-data: Likewise.
2307 * conform/data/locale.h-data: Likewise.
2308 * conform/data/math.h-data: Likewise.
2309 * conform/data/monetary.h-data: Likewise.
2310 * conform/data/mqueue.h-data: Likewise.
2311 * conform/data/ndbm.h-data: Likewise.
2312 * conform/data/net/if.h-data: Likewise.
2313 * conform/data/netdb.h-data: Likewise.
2314 * conform/data/netinet/in.h-data: Likewise.
2315 * conform/data/nl_types.h-data: Likewise.
2316 * conform/data/poll.h-data: Likewise.
2317 * conform/data/pthread.h-data: Likewise.
2318 * conform/data/pwd.h-data: Likewise.
2319 * conform/data/regex.h-data: Likewise.
2320 * conform/data/sched.h-data: Likewise.
2321 * conform/data/search.h-data: Likewise.
2322 * conform/data/semaphore.h-data: Likewise.
2323 * conform/data/setjmp.h-data: Likewise.
2324 * conform/data/signal.h-data: Likewise.
2325 * conform/data/spawn.h-data: Likewise.
2326 * conform/data/stdarg.h-data: Likewise.
2327 * conform/data/stdio.h-data: Likewise.
2328 * conform/data/stdlib.h-data: Likewise.
2329 * conform/data/string.h-data: Likewise.
2330 * conform/data/strings.h-data: Likewise.
2331 * conform/data/stropts.h-data: Likewise.
2332 * conform/data/sys/ipc.h-data: Likewise.
2333 * conform/data/sys/mman.h-data: Likewise.
2334 * conform/data/sys/msg.h-data: Likewise.
2335 * conform/data/sys/resource.h-data: Likewise.
2336 * conform/data/sys/select.h-data: Likewise.
2337 * conform/data/sys/sem.h-data: Likewise.
2338 * conform/data/sys/shm.h-data: Likewise.
2339 * conform/data/sys/socket.h-data: Likewise.
2340 * conform/data/sys/stat.h-data: Likewise.
2341 * conform/data/sys/statvfs.h-data: Likewise.
2342 * conform/data/sys/time.h-data: Likewise.
2343 * conform/data/sys/timeb.h-data: Likewise.
2344 * conform/data/sys/times.h-data: Likewise.
2345 * conform/data/sys/types.h-data: Likewise.
2346 * conform/data/sys/uio.h-data: Likewise.
2347 * conform/data/sys/un.h-data: Likewise.
2348 * conform/data/sys/utsname.h-data: Likewise.
2349 * conform/data/sys/wait.h-data: Likewise.
2350 * conform/data/syslog.h-data: Likewise.
2351 * conform/data/tar.h-data: Likewise.
2352 * conform/data/termios.h-data: Likewise.
2353 * conform/data/utime.h-data: Likewise.
2354 * conform/data/utmpx.h-data: Likewise.
2355 * conform/data/varargs.h-data: Likewise.
2356 * conform/data/wchar.h-data: Likewise.
2357 * conform/data/wctype.h-data: Likewise.
2358 * conform/data/wordexp.h-data: Likewise.
2359
2360 * include/stropts.h: New file.
2361 * include/uchar.h: New file.
2362 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2363 * include/assert.h: Likewise.
2364 * include/ctype.h: Likewise.
2365 * include/dirent.h: Likewise.
2366 * include/dlfcn.h: Likewise.
2367 * include/fcntl.h: Likewise.
2368 * include/fnmatch.h: Likewise.
2369 * include/glob.h: Likewise.
2370 * include/grp.h: Likewise.
2371 * include/libio.h: Likewise.
2372 * include/locale.h: Likewise.
2373 * include/math.h: Likewise.
2374 * include/net/if.h: Likewise.
2375 * include/netdb.h: Likewise.
2376 * include/netinet/in.h: Likewise.
2377 * include/pthread.h: Likewise.
2378 * include/pwd.h: Likewise.
2379 * include/regex.h: Likewise.
2380 * include/sched.h: Likewise.
2381 * include/search.h: Likewise.
2382 * include/setjmp.h: Likewise.
2383 * include/signal.h: Likewise.
2384 * include/stdio.h: Likewise.
2385 * include/stdlib.h: Likewise.
2386 * include/string.h: Likewise.
2387 * include/sys/cdefs.h: Likewise.
2388 * include/sys/mman.h: Likewise.
2389 * include/sys/msg.h: Likewise.
2390 * include/sys/resource.h: Likewise.
2391 * include/sys/select.h: Likewise.
2392 * include/sys/socket.h: Likewise.
2393 * include/sys/stat.h: Likewise.
2394 * include/sys/statvfs.h: Likewise.
2395 * include/sys/time.h: Likewise.
2396 * include/sys/times.h: Likewise.
2397 * include/sys/uio.h: Likewise.
2398 * include/sys/utsname.h: Likewise.
2399 * include/sys/wait.h: Likewise.
2400 * include/termios.h: Likewise.
2401 * include/time.h: Likewise.
2402 * include/ulimit.h: Likewise.
2403 * include/unistd.h: Likewise.
2404 * include/utime.h: Likewise.
2405 * include/wchar.h: Likewise.
2406 * include/wctype.h: Likewise.
2407 * include/wordexp.h: Likewise.
2408
2409 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2410
2411 * time/time.h: TIME_UTC must be a macro.
2412 Make timespec_get available for ISO C11 only as well.
2413
2414 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2415
2416 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2417 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2418
2419 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2420
2421 * configure.in: Use -o not -a in test for unsupported multi-arch.
2422
2423 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2424
2425 * manual/texinfo.tex: Update to version 2012-01-19.16.
2426
2427 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2428
2429 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2430
2431 2012-02-24 Roland McGrath <roland@hack.frob.com>
2432
2433 [BZ #13738]
2434 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2435 * manual/fdl-1.3.texi: New file.
2436 * manual/fdl-1.1.texi: File removed.
2437
2438 [BZ #13738]
2439 * manual/libc.texinfo (FDL_VERSION): New @set.
2440 Use it for mention of FDL in cover text.
2441 (Documentation License): Use it in @include file name.
2442
2443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2444 Roland McGrath <roland@hack.frob.com>
2445
2446 [BZ #5461]
2447 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2448 not LONG_LONG_MAX and LONG_LONG_MIN.
2449 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2450 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2451 name.
2452 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2453
2454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2455
2456 [BZ #2547]
2457 [BZ #11365]
2458 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2459 manipulate bits before adding and subtracting TWO23[sx].
2460 * math/libm-test.inc (nearbyint_test): Add more tests.
2461
2462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2463
2464 [BZ #2548]
2465 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2466 bits before adding and subtracting TWO23[sx].
2467 * math/libm-test.inc (rint_test): Add more tests.
2468 (rint_test_tonearest): Likewise.
2469 (rint_test_towardzero): Likewise.
2470 (rint_test_downward): Likewise.
2471 (rint_test_upward: Likewise.
2472
2473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2474
2475 [BZ #10110]
2476 * include/stdc-predef.h: New file. Extracted from features.h.
2477 * include/features.h: Include stdc-predef.h.
2478 * Makefile (headers): Add stdc-predef.h.
2479 * CONFORMANCE (Compiler limitations): Update.
2480
2481 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2482
2483 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2484
2485 2012-02-21 David S. Miller <davem@davemloft.net>
2486
2487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2489
2490 2012-02-20 David S. Miller <davem@davemloft.net>
2491
2492 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2493 using a normal save/restore sequence, rather than allocating a
2494 dummy stack frame just to store a frame pointer and restore.
2495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2496
2497 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2498
2499 * manual/install.texi: Fix stray word in line-wrapped comment.
2500
2501 2012-02-20 David S. Miller <davem@davemloft.net>
2502
2503 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2504 both binutils and gcc support GOTDATA.
2505
2506 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2507 "rd %pc" in the PIC register setup sequences.
2508
2509 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2510 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2511 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2512 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2513 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2516 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2518 (SYSCALL_ERROR_HANDLER): Likewise.
2519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2522 (SYSCALL_ERROR_HANDLER): Likewise.
2523
2524 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2525 (HAVE_GCC_GOTDATA): New.
2526 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2527 relocation support in both binutils and gcc.
2528 * sysdeps/sparc/elf/configure: Regenerate.
2529
2530 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2531 * sysdeps/sparc/sparc32/elf/configure: Delete.
2532 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2533 * sysdeps/sparc/sparc64/elf/configure: Delete.
2534 * sysdeps/sparc/elf/configure.in: New file.
2535 * sysdeps/sparc/elf/configure: Generate.
2536
2537 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2538 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2539 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2540 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2541 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2542
2543 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2544
2545 * manual/install.texi: Do not mention specific glibc version
2546 numbers.
2547 * manual/libc.texinfo (VERSION, UPDATED): Update.
2548 (@copying): Use @copyright{} and range of years.
2549
2550 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2551
2552 [BZ #13695]
2553 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2554 [crti.S not in sysdirs] (generated): Do not append.
2555 [crti.S not in sysdirs] (omit-deps): Likewise.
2556 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2557 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2558 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2559 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2560 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2561 Likewise.
2562 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2563 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2564 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2565 * csu/defs.awk: Remove file.
2566 * sysdeps/generic/initfini.c: Likewise.
2567 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2568 variable.
2569 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2570 Likewise.
2571
2572 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2573
2574 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2575 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2579 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2580 <bits/epoll.h>.
2581 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2582 (__EPOLL_PACKED): Define to empty if not defined by
2583 <bits/epoll.h>.
2584 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2586 bits/epoll.h.
2587
2588 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2589
2590 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2591 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2592 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2593 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2594 <bits/timerfd.h>.
2595 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2597 bits/timerfd.h.
2598
2599 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2600
2601 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2602 in C locale.
2603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2607
2608 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2609
2610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2612
2613 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2614
2615 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2616 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2617 defined.
2618 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2619 Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2621 entry for 2.16.
2622
2623 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2624
2625 * math/w_acos.c: Use non-signaling floating-point comparisons.
2626 * math/w_acosf.c: Likewise.
2627 * math/w_acosh.c: Likewise.
2628 * math/w_acoshf.c: Likewise.
2629 * math/w_acoshl.c: Likewise.
2630 * math/w_acosl.c: Likewise.
2631 * math/w_asin.c: Likewise.
2632 * math/w_asinf.c: Likewise.
2633 * math/w_asinl.c: Likewise.
2634 * math/w_atanh.c: Likewise.
2635 * math/w_atanhf.c: Likewise.
2636 * math/w_atanhl.c: Likewise.
2637 * math/w_exp2.c: Likewise.
2638 * math/w_exp2f.c: Likewise.
2639 * math/w_exp2l.c: Likewise.
2640 * math/w_j0.c: Likewise.
2641 * math/w_j0f.c: Likewise.
2642 * math/w_j0l.c: Likewise.
2643 * math/w_j1.c: Likewise.
2644 * math/w_j1f.c: Likewise.
2645 * math/w_j1l.c: Likewise.
2646 * math/w_jn.c: Likewise.
2647 * math/w_jnf.c: Likewise.
2648 * math/w_log.c: Likewise.
2649 * math/w_log10.c: Likewise.
2650 * math/w_log10f.c: Likewise.
2651 * math/w_log10l.c: Likewise.
2652 * math/w_log2.c: Likewise.
2653 * math/w_log2f.c: Likewise.
2654 * math/w_log2l.c: Likewise.
2655 * math/w_logf.c: Likewise.
2656 * math/w_logl.c: Likewise.
2657 * math/w_sqrt.c: Likewise.
2658 * math/w_sqrtf.c: Likewise.
2659 * math/w_sqrtl.c: Likewise.
2660 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2661 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2663 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2664 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2665
2666 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2667
2668 [BZ #9739]
2669 * manual/string.texi (strnlen): Use correct parameter name in
2670 equivalent expression.
2671
2672 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2673
2674 [BZ #11174]
2675 * manual/users.texi (seteuid): Consistently use neweuid for
2676 argument name.
2677
2678 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2679
2680 [BZ #13704]
2681 * manual/nss.texi (Services in the NSS configuration): Correct
2682 list of services in example configuration file.
2683
2684 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2685
2686 [BZ #11322]
2687 * manual/arith.texi: Remove statements about negative zero
2688 behaving identically to zero.
2689
2690 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2691
2692 [BZ #5993]
2693 * manual/install.texi: Do not document upgrading from libc5.
2694
2695 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2696
2697 [BZ #4596]
2698 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2699
2700 2012-02-18 David S. Miller <davem@davemloft.net>
2701
2702 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2703 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2704 %o7 across the call.
2705 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2706 instead.
2707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2708 SETUP_PIC_REG_LEAF.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2710 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2711 * sysdeps/sparc/crtn.S: Likewise.
2712
2713 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2714
2715 * aout/Makefile: Remove.
2716
2717 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2718
2719 [BZ #13058]
2720 * manual/examples/argp-ex1.c (main): Format definition in GNU
2721 style.
2722 * manual/examples/argp-ex2.c (main): Likewise.
2723 * manual/examples/argp-ex3.c (main): Likewise.
2724 * manual/examples/argp-ex4.c (main): Likewise.
2725 * manual/examples/longopt.c (main): Use new-style prototype
2726 definition.
2727 * manual/examples/strncat.c (main): Specify return type and use
2728 (void) for arguments.
2729 * manual/examples/subopt.c (main): Use char **argv argument.
2730
2731 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2732
2733 [BZ #5077]
2734 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2735 rounding modes.
2736
2737 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2738
2739 [BZ #6907]
2740 * manual/string.texi (strchr): Change when strchrnul is
2741 recommended.
2742
2743 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2744
2745 [BZ #174]
2746 * manual/locale.texi (setlocale): Document LOCPATH.
2747
2748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2749
2750 [BZ #10210]
2751 * manual/process.texi (execle): Move @dots{} before last argument.
2752
2753 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
2754
2755 [BZ #12047]
2756 * manual/charset.texi (Generic Charset Conversion): Fix typo
2757 (LC_TYPE -> LC_CTYPE).
2758
2759 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2760
2761 [BZ #5805]
2762 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2763 (scalbnf): Likewise.
2764 (scalbnl): Likewise.
2765 (scalbln): Likewise.
2766 (scalblnf): Likewise.
2767 (scalblnl): Likewise.
2768 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2769 (vwarnx): Likewise.
2770 (verr): Likewise.
2771 (verrx): Likewise.
2772 * manual/filesys.texi (telldir): Use braces around return type.
2773 * manual/llio.texi (mmap): Add space after comma.
2774 (mmap64): Likewise.
2775 * manual/math.texi (jn): Use @var{} on parameter names.
2776 (jnf): Likewise.
2777 (jnl): Likewise.
2778 (yn): Likewise.
2779 (ynf): Likewise.
2780 (ynl): Likewise.
2781 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2782 line.
2783 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2784 "...".
2785 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2786 (sched_get_priority_max): Likewise.
2787 * manual/signal.texi (sigvec): Add space after comma.
2788 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2789 names.
2790 (if_indextoname): Likewise.
2791 (if_freenameindex): Likewise.
2792 (sendto): Use ',' instead of '.' in prototype.
2793 * manual/startup.texi (syscall): Use @dots{} instead of literal
2794 "...".
2795 * manual/stdio.texi (__fpending): Separate initial words of
2796 paragraph from @deftypefun line.
2797 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2798 "...".
2799 (vsyslog): Use @var{} on parameter names.
2800 * manual/terminal.texi (stty): Use @var{} on parameter names.
2801 * manual/users.texi (getutmp): Use @var{} on parameter names.
2802 (getutmpx): Likewise.
2803
2804 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2805
2806 [BZ #6884]
2807 * manual/stdio.texi (fopen): Fix typos in description of
2808 ",ccs=STRING".
2809
2810 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2811
2812 [BZ #4026]
2813 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2814 get clock_id definition.
2815
2816 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
2817
2818 [BZ #4822]
2819 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2820 (madvise): Cast every argument to void on its own.
2821
2822 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2823
2824 [BZ #9902]
2825 * manual/startup.texi (Exit Status): Fix typo.
2826
2827 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #10140]
2830 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2831 * manual/examples/argp-ex2.c: Likewise.
2832 * manual/examples/argp-ex3.c: Likewise.
2833
2834 2012-02-16 Richard Henderson <rth@redhat.com>
2835
2836 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2837 * sysdeps/s390/s390-32/initfini.c: Remove.
2838 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2839 * sysdeps/s390/s390-64/initfini.c: Remove.
2840
2841 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2842
2843 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2844 compiler output for sysdeps/generic/initfini.c.
2845 * sysdeps/sh/elf/initfini.c: Remove file.
2846
2847 2012-02-16 David S. Miller <davem@davemloft.net>
2848
2849 [BZ #11494]
2850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2851
2852 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2853 * sysdeps/sparc/crti.S: New file.
2854 * sysdeps/sparc/crtn.S: New file.
2855 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2856 * sysdeps/sparc/sparc64/Makefile: Likewise.
2857
2858 2012-02-15 Mike Frysinger <vapier@gentoo.org>
2859
2860 [BZ #3335]
2861 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2862
2863 2012-02-15 Roland McGrath <roland@hack.frob.com>
2864
2865 [BZ #4822]
2866 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2867
2868 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2869 (write, read, close): Likewise.
2870 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2871
2872 2012-02-15 Joseph Myers <joseph@codesourcery.com>
2873
2874 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2875 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2877 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2878 <bits/signalfd.h>.
2879 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2881 bits/signalfd.h.
2882
2883 2012-02-14 Marek Polacek <polacek@redhat.com>
2884
2885 * sysdeps/x86_64/crti.S: New file.
2886 * sysdeps/x86_64/crtn.S: New file.
2887 * sysdeps/x86_64/elf/initfini.c: Remove file.
2888
2889 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2890
2891 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2892 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2894 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2895 <bits/inotify.h>.
2896 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2898 bits/inotify.h.
2899
2900 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2901
2902 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2903 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2904 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2905 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2906 <bits/eventfd.h>.
2907 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2909 bits/eventfd.h.
2910
2911 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2912
2913 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2914 __feraiseexcept instead of feraiseexcept.
2915
2916 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2917 nanosleep invocations.
2918 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2919 strings, and add error checking for a nanosleep invocations.
2920
2921 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2922
2923 Replace FSF snail mail address with URLs, as per GNU coding standards.
2924 Most of the snail mail addresses were wrong anyway, and omitting
2925 them makes the source code easier to maintain. Almost all of the
2926 changes are to license notices and to locale LC_IDENTIFICATION
2927 addresses, except for this one:
2928 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2929 not its snail mail address.
2930
2931 2012-02-09 Richard Henderson <rth@twiddle.net>
2932
2933 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2934 of kernel-features.h.
2935
2936 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2937
2938 2012-02-08 Marek Polacek <polacek@redhat.com>
2939
2940 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2941 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2942 * sysdeps/gnu/_G_config.h: Likewise.
2943 * sysdeps/generic/_G_config.h: Likewise.
2944
2945 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2946
2947 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2948 tests.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950
2951 * sysdeps/powerpc/powerpc32/crti.S: New file.
2952 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2953 * sysdeps/powerpc/powerpc64/crti.S: New file.
2954 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2955
2956 * Makeconfig (have-initfini): Don't set.
2957 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2958 * configure.in (nopic_initfini): Don't substitute.
2959 * config.h.in (HAVE_INITFINI): Don't #undef.
2960 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2961 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2962
2963 2012-02-08 Joseph Myers <joseph@codesourcery.com>
2964
2965 Support crti.S and crtn.S provided directly by architectures.
2966 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2967 [crti.S in sysdirs] (omit-deps): Likewise.
2968 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2969 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2970 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2971 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2972 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2973 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2974 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2975 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2976 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2977 compiler output for sysdeps/generic/initfini.c.
2978 * sysdeps/i386/elf/Makefile: Remove file.
2979 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2980
2981 2012-02-07 Marek Polacek <polacek@redhat.com>
2982
2983 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2984 * sysdeps/gnu/_G_config.h: Likewise.
2985 * sysdeps/mach/hurd/_G_config.h: Likewise.
2986
2987 2012-02-07 Marek Polacek <polacek@redhat.com>
2988
2989 * math/Makefile (tests): Add tst-CMPLX2.
2990 * math/tst-CMPLX2.c: New file.
2991
2992 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2993
2994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2995
2996 * math/libm-test.inc (jn_test): Add missing L suffix.
2997
2998 2012-02-06 Marek Polacek <polacek@redhat.com>
2999
3000 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3001 * sysdeps/i386/fpu/e_powf.S: Likewise.
3002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3004 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3005 * sysdeps/i386/fpu/e_pow.S: Likewise.
3006 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3008 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3009 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3010 * sysdeps/i386/fpu/e_log2.S: Likewise.
3011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3013 * sysdeps/i386/fpu/e_powl.S: Likewise.
3014 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3015 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3016 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3017 * sysdeps/i386/fpu/e_logl.S: Likewise.
3018 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3019 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3020 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3021 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3022 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3023 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3024 * sysdeps/i386/fpu/e_log.S: Likewise.
3025 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3027 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3028 * sysdeps/i386/fpu/e_logf.S: Likewise.
3029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3031 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3034 * sysdeps/i386/fpu/e_log10.S: Likewise.
3035 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3036 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3037 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3038 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3041 * sysdeps/i386/asm-syntax.h: Likewise.
3042 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3044 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3045 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3046 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3048 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3049 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3050 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3051 * sysdeps/powerpc/sysdep.h: Likewise.
3052 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3053 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3054
3055 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3056
3057 [BZ #411]
3058 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3059
3060 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3061
3062 * sysdeps/i386/sysdep.h: Include <features.h>.
3063 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3064 version.
3065
3066 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3067
3068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3069 Define.
3070 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3071 LOAD_PIC_REG_STR.
3072
3073 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3074
3075 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3076 (SETUP_PIC_REG): Use GET_PC_THUNK.
3077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3078 macro.
3079
3080 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3081
3082 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3083 for non-PIC compilation.
3084 (SETUP_PIC_REG): Add .p2align directive.
3085 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3086 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3090 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3102 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3115 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3126
3127 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3128
3129 * math/tst-CMPLX.c: Include <stdio.h>.
3130
3131 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3132
3133 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3134 float.
3135 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3136 * sysdeps/sparc/bits/mathdef.h: Likewise.
3137
3138 2012-01-31 Marek Polacek <polacek@redhat.com>
3139
3140 * libio/libio.h: Don't define _PARAMS.
3141 * locale/programs/config.h: Don't define PARAMS.
3142 * stdlib/strtol_l.c: Likewise.
3143 (__strtol_l): Remove PARAMS from the prototype.
3144
3145 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3146
3147 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3148 names. Just use the correct names. Remove unnecessary wrapper
3149 functions.
3150 * malloc/arena.c: Likewise.
3151 * malloc/hooks.c: Likewise.
3152
3153 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3154 ARENA_TEST says not to. Simplify test for creation of a new arena.
3155 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3156
3157 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3158
3159 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3160 into tail calls.
3161 (update_get_addr): New function.
3162 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3163 GET_ADDR_MODULE parameter.
3164
3165 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3166
3167 * crypt/cert.c: Remove __STDC__ conditionals.
3168 * crypt/crypt-entry.c: Likewise.
3169 * crypt/crypt_util.c: Likewise.
3170 * libio/filedoalloc.c: Likewise.
3171 * libio/fileops.c: Likewise.
3172 * libio/genops.c: Likewise.
3173 * libio/iofclose.c: Likewise.
3174 * libio/iofdopen.c: Likewise.
3175 * libio/iofopen.c: Likewise.
3176 * libio/iofopen64.c: Likewise.
3177 * libio/iogetdelim.c: Likewise.
3178 * libio/iopopen.c: Likewise.
3179 * libio/obprintf.c: Likewise.
3180 * libio/oldfileops.c: Likewise.
3181 * libio/oldiofclose.c: Likewise.
3182 * libio/oldiofdopen.c: Likewise.
3183 * libio/oldiofopen.c: Likewise.
3184 * libio/oldiopopen.c: Likewise.
3185 * libio/wfiledoalloc.c: Likewise.
3186 * libio/wgenops.c: Likewise.
3187 * locale/programs/xmalloc.c: Likewise.
3188 * misc/syslog.c: Likewise.
3189 * stdio-common/xbug.c: Likewise.
3190 * string/memchr.c: Likewise.
3191 * string/memcmp.c: Likewise.
3192 * string/memrchr.c: Likewise.
3193 * string/rawmemchr.c: Likewise.
3194 * sysdeps/posix/getcwd.c: Likewise.
3195 * time/strftime_l.c: Likewise.
3196
3197 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3198
3199 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3200 * config.make.in (config-cflags-sse2avx): Define.
3201 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3202 Fix typo.
3203
3204 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3205
3206 * scripts/config.guess: Update from upstream config git repository.
3207 * scripts/config.sub: Likewise.
3208
3209 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3210
3211 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3212 (EM_NUM): Update.
3213 (R_TILEPRO_*, R_TILEGX_*): New macros.
3214
3215 * scripts/firstversions.awk: Fix bug in version range handling.
3216
3217 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3218
3219 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3220
3221 * include/sys/epoll.h: New file.
3222 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3223 libc_hidden_def.
3224
3225 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3226
3227 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3228 Avoid unnecessary __WORDSIZE == 64 test.
3229 (fmaxf): Use VEX format if possible.
3230 (fmax): Likewise.
3231 (fminf): Likewise.
3232 (fmin): Likewise.
3233
3234 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3235 * math/math_private.h: Remove libc_fegetround* and
3236 libc_fesetround*.
3237 * sysdeps/i386/configure.in: Check for -msse2avx.
3238 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3239 also if SSE2AVX is defined.
3240 Remove libc_fegetround* and libc_fesetround*.
3241 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3242 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3244 of HAS_YMM_USABLE.
3245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3250
3251 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3252
3253 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3254
3255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3256 size is not set.
3257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3258
3259 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3260
3261 [BZ #13618]
3262 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3263 relocation.
3264 * Makeconfig (libm): Define.
3265 * elf/Makefile: Add rules to build and run tst-relsort1.
3266 * elf/tst-relsort1.c: New file.
3267 * elf/tst-relsort1mod1.c: New file.
3268 * elf/tst-relsort1mod2.c: New file.
3269
3270 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3271
3272 * math/s_ldexp.c: Remove __STDC__ conditionals.
3273 * math/s_ldexpf.c: Likewise.
3274 * math/s_ldexpl.c: Likewise.
3275 * math/s_nextafter.c: Likewise.
3276 * math/s_nexttowardf.c: Likewise.
3277 * math/s_significand.c: Likewise.
3278 * math/s_significandf.c: Likewise.
3279 * math/s_significandl.c: Likewise.
3280 * math/w_jnl.c: Likewise.
3281 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3282 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3283 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3284 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3285 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3307 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3309 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3314 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3315 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3316 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3317 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3321 * sysdeps/ieee754/k_standard.c: Likewise.
3322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3401 * sysdeps/ieee754/s_matherr.c: Likewise.
3402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3406
3407 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3408
3409 * crypt/md5.h: Remove __STDC__ conditionals.
3410 * libio/libioP.h: Likewise.
3411 * locale/programs/config.h: Likewise.
3412 * sysdeps/generic/sysdep.h: Likewise.
3413 * sysdeps/i386/asm-syntax.h: Likewise.
3414 * sysdeps/s390/asm-syntax.h: Likewise.
3415 * sysdeps/unix/sysdep.h: Likewise.
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3418
3419 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3420
3421 * libio/libio.h: Remove __STDC__ conditionals.
3422 * malloc/obstack.h: Likewise.
3423 * math/complex.h: Likewise.
3424 * math/math.h: Likewise.
3425 * sysdeps/generic/_G_config.h: Likewise.
3426 * sysdeps/gnu/_G_config.h: Likewise.
3427 * sysdeps/mach/hurd/_G_config.h: Likewise.
3428 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3429 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3430 * sysdeps/sparc/bits/mathdef.h: Likewise.
3431
3432 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3433
3434 [BZ #13583]
3435 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3436 Clean up HAS_* macros.
3437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3438 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3439 possible.
3440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3441 HAS_AVX.
3442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3447
3448 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3449
3450 * elf/tst-unique3.cc (gets): Remove declaration.
3451 * elf/tst-unique3lib.cc (gets): Likewise.
3452 * elf/tst-unique3lib2.cc (gets): Likewise.
3453 * elf/tst-unique4.cc (gets): Likewise.
3454
3455 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3456
3457 * include/stdio.h: Add C++ protection. Add gets declarations and
3458 definitions.
3459 * debug/tst-chk1.c: Don't declare gets here.
3460 * stdio-common/tst-gets.c: Likewise.
3461
3462 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3463
3464 * posix/glob: Remove directory.
3465
3466 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3467
3468 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3469
3470 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3471
3472 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3473 of the non-standard EPFNOSUPPORT.
3474
3475 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3476
3477 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3478 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3479 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3480
3481 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3482
3483 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3484
3485 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3486
3487 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3488 transient errors.
3489 * nscd/grpcache.c (cache_addgr): Likewise.
3490 * nscd/hstcache.c (cache_addhst): Likewise.
3491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3492 * nscd/pwdcache.c (cache_addpw): Likewise.
3493 * nscd/servicescache.c (cache_addserv): Likewise.
3494
3495 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3496
3497 * malloc/malloc.c: Various cleanups.
3498 * malloc/hooks.c: Likewise.
3499
3500 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3501 * stdlib/bug-fmtmsg1.c: New file.
3502
3503 * stdlib/fmtmsg.c (init): Add missing unlock.
3504 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3505
3506 2012-01-12 Marek Polacek <polacek@redhat.com>
3507
3508 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3509 and _GNU_SOURCE.
3510
3511 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3512
3513 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3514 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3515 macro to ensure uniqueness of label name.
3516 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3517 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3518
3519 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3520
3521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3522
3523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3524 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3527
3528 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3529
3530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3531
3532 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3534 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3535
3536 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3537
3538 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3539 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3542
3543 * math/bits/math-finite.h: Add ldexp support.
3544
3545 2012-01-10 Marek Polacek <polacek@redhat.com>
3546
3547 * locale/programs/localedef.h (show_archive_content): Add noreturn
3548 attribute.
3549
3550 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3551
3552 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3553
3554 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3555
3556 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3557
3558 * io/Makefile (headers): Add bits/poll2.h.
3559
3560 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3561
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3563 typo #include statement.
3564
3565 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3566
3567 * include/sys/cdefs.h: Define __attribute_alloc_size.
3568 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3569 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3570 * elf/pldd.c: Likewise.
3571 * iconv/iconv_charmap.c: Likewise.
3572 * iconv/iconvconfig.c: Likewise.
3573 * iconv/strtab.c: Likewise.
3574 * locale/programs/locale.c: Likewise.
3575 * locale/programs/localedef.h: Likewise.
3576 * locale/programs/simple-hash.c: Likewise.
3577 * nscd/nscd.h: Likewise.
3578 * nss/makedb.c: Likewise.
3579 * sysdeps/generic/ldconfig.h: Likewise.
3580 * locale/programs/localedef.c: Remove xmalloc prototype.
3581 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3582
3583 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3584
3585 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3586 appropriate.
3587
3588 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3589
3590 * math/Makefile (tests): Add tst-CMPLX.
3591 * math/tst-CMPLX.c: New file.
3592
3593 * math/complex.h (CMPLXL): Fix typo.
3594
3595 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3596 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3597 GLIBC_2.16.
3598 * debug/tst-chk1.c: Add poll and ppoll tests.
3599 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3600 * include/sys/poll.h: Add hidden proto for ppoll.
3601 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3602 * sysdeps/mach/hurd/ppoll.c: Likewise.
3603 * io/ppoll.c: Likewise.
3604 * debug/poll_chk.c: New file.
3605 * debug/ppoll_chk.c: New file.
3606 * include/bits/poll2.h: New file.
3607 * io/bits/poll2.h: New file.
3608
3609 [BZ #1350]
3610 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3611
3612 * configure.in: static is always set to yes. Remove.
3613 * config.make.in: Don't set build-static.
3614 * Makeconfig: Remove use of build-static.
3615 * dlfcn/Makefile: Likewise.
3616 * elf/Makefile: Likewise.
3617 * math/Makefile: Likewise.
3618 * misc/Makefile: Likewise.
3619 * nptl/Makefile: Likewise.
3620 * sysdeps/mach/hurd/Makefile: Likewise.
3621
3622 * configure.in: PWD_P is not used anymore.
3623 * config.make.in: Remove PWD_P entry.
3624
3625 * configure.in: Remove last remnants of RANLIB.
3626 No need to check for signed size_t anymore.
3627 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3628 and IA-64.
3629 Remove __builtin_expect test because we require at least gcc 3.4.
3630 * aclocal.m4: Likewise.
3631
3632 * wcsmbs/mbrtoc16.c: Implement using towc function.
3633 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3634 * wcsmbs/wcsmbsload.c: Likewise.
3635 * iconv/gconv_simple.c: Likewise.
3636 * iconv/gconv_int.h: Likewise.
3637 * iconv/gconv_builtin.h: Likewise.
3638 * iconv/iconv_prog.c: Remove CHAR16 handling.
3639
3640 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3641
3642 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3643
3644 * configure.in: Remove --with-elf and --enable-bounded options.
3645 Dont set base_machine for ia64. More non-ELF conditions removed.
3646 Remove testing and setting of leading underscore information.
3647 * config.make.in (build-bounded): Set to no.
3648 * config.h.in: Remove NO_UNDERSCORES entry.
3649 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3650 them.
3651 * csu/start.c: Remove !NO_UNDERSCORE code.
3652 * locale/localeinfo.h: Likewise.
3653 * sysdeps/generic/machine-gmon.h: Likewise.
3654 * sysdeps/generic/sysdep.h: Likewise.
3655 * sysdeps/i386/sysdep.h: Likewise.
3656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3657 * sysdeps/mach/sysdep.h: Likewise.
3658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3660 * sysdeps/sh/sysdep.h: Likewise.
3661 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3662 * sysdeps/unix/i386/sysdep.S: Likewise.
3663 * sysdeps/unix/sparc/start.c: Likewise.
3664 * sysdeps/unix/sparc/sysdep.S: Likewise.
3665 * sysdeps/unix/sparc/sysdep.h: Likewise.
3666 * sysdeps/unix/start.c: Likewise.
3667 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3668 * sysdeps/x86_64/sysdep.h: Likewise.
3669
3670 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3671
3672 [BZ #13553]
3673 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3674 for non-gcc.
3675 * argp/argp-fmtstream.h: Use const instead __const.
3676 * argp/argp.h: Likewise.
3677 * assert/assert.h: Likewise.
3678 * bits/fenv.h: Likewise.
3679 * bits/sched.h: Likewise.
3680 * bits/sigset.h: Likewise.
3681 * bits/sigthread.h: Likewise.
3682 * catgets/nl_types.h: Likewise.
3683 * conform/data/pthread.h-data: Likewise.
3684 * crypt/crypt-private.h: Likewise.
3685 * crypt/crypt.h: Likewise.
3686 * crypt/crypt_util.c: Likewise.
3687 * ctype/ctype.h: Likewise.
3688 * debug/execinfo.h: Likewise.
3689 * debug/mbsnrtowcs_chk.c: Likewise.
3690 * debug/mbsrtowcs_chk.c: Likewise.
3691 * debug/wcsnrtombs_chk.c: Likewise.
3692 * debug/wcsrtombs_chk.c: Likewise.
3693 * debug/wcstombs_chk.c: Likewise.
3694 * dirent/dirent.h: Likewise.
3695 * dlfcn/dlfcn.h: Likewise.
3696 * elf/neededtest4.c: Likewise.
3697 * grp/grp.h: Likewise.
3698 * gshadow/gshadow.h: Likewise.
3699 * iconv/gconv.h: Likewise.
3700 * iconv/gconv_int.h: Likewise.
3701 * iconv/gconv_simple.c: Likewise.
3702 * iconv/iconv.h: Likewise.
3703 * iconv/loop.c: Likewise.
3704 * iconv/skeleton.c: Likewise.
3705 * include/aio.h: Likewise.
3706 * include/aliases.h: Likewise.
3707 * include/argz.h: Likewise.
3708 * include/arpa/inet.h: Likewise.
3709 * include/assert.h: Likewise.
3710 * include/dirent.h: Likewise.
3711 * include/dlfcn.h: Likewise.
3712 * include/execinfo.h: Likewise.
3713 * include/fcntl.h: Likewise.
3714 * include/fenv.h: Likewise.
3715 * include/glob.h: Likewise.
3716 * include/grp.h: Likewise.
3717 * include/libintl.h: Likewise.
3718 * include/mntent.h: Likewise.
3719 * include/netdb.h: Likewise.
3720 * include/pwd.h: Likewise.
3721 * include/rpc/netdb.h: Likewise.
3722 * include/sched.h: Likewise.
3723 * include/search.h: Likewise.
3724 * include/shadow.h: Likewise.
3725 * include/signal.h: Likewise.
3726 * include/stdio.h: Likewise.
3727 * include/stdlib.h: Likewise.
3728 * include/string.h: Likewise.
3729 * include/sys/socket.h: Likewise.
3730 * include/sys/stat.h: Likewise.
3731 * include/sys/statfs.h: Likewise.
3732 * include/sys/statvfs.h: Likewise.
3733 * include/sys/syslog.h: Likewise.
3734 * include/sys/time.h: Likewise.
3735 * include/sys/uio.h: Likewise.
3736 * include/time.h: Likewise.
3737 * include/unistd.h: Likewise.
3738 * include/utmp.h: Likewise.
3739 * include/wchar.h: Likewise.
3740 * include/wctype.h: Likewise.
3741 * inet/aliases.h: Likewise.
3742 * inet/arpa/inet.h: Likewise.
3743 * inet/netinet/ether.h: Likewise.
3744 * inet/netinet/in.h: Likewise.
3745 * intl/libintl.h: Likewise.
3746 * io/bits/fcntl2.h: Likewise.
3747 * io/fcntl.h: Likewise.
3748 * io/ftw.h: Likewise.
3749 * io/sys/poll.h: Likewise.
3750 * io/sys/stat.h: Likewise.
3751 * io/sys/statfs.h: Likewise.
3752 * io/sys/statvfs.h: Likewise.
3753 * io/utime.h: Likewise.
3754 * libio/bits/stdio.h: Likewise.
3755 * libio/bits/stdio2.h: Likewise.
3756 * libio/libio.h: Likewise.
3757 * libio/libioP.h: Likewise.
3758 * libio/stdio.h: Likewise.
3759 * locale/lc-ctype.c: Likewise.
3760 * locale/locale.h: Likewise.
3761 * login/utmp.h: Likewise.
3762 * malloc/arena.c: Likewise.
3763 * malloc/malloc.c: Likewise.
3764 * malloc/malloc.h: Likewise.
3765 * malloc/mcheck.c: Likewise.
3766 * malloc/mtrace.c: Likewise.
3767 * math/bits/mathcalls.h: Likewise.
3768 * math/fenv.h: Likewise.
3769 * math/math_private.h: Likewise.
3770 * misc/bits/error.h: Likewise.
3771 * misc/bits/syslog.h: Likewise.
3772 * misc/err.h: Likewise.
3773 * misc/error.h: Likewise.
3774 * misc/fstab.h: Likewise.
3775 * misc/mntent.h: Likewise.
3776 * misc/regexp.h: Likewise.
3777 * misc/search.h: Likewise.
3778 * misc/sgtty.h: Likewise.
3779 * misc/sys/mman.h: Likewise.
3780 * misc/sys/syslog.h: Likewise.
3781 * misc/sys/uio.h: Likewise.
3782 * misc/sys/xattr.h: Likewise.
3783 * misc/ttyent.h: Likewise.
3784 * nis/rpcsvc/ypclnt.h: Likewise.
3785 * nss/nss.h: Likewise.
3786 * posix/bits/unistd.h: Likewise.
3787 * posix/fnmatch.h: Likewise.
3788 * posix/glob.h: Likewise.
3789 * posix/sched.h: Likewise.
3790 * posix/spawn.h: Likewise.
3791 * posix/sys/wait.h: Likewise.
3792 * posix/unistd.h: Likewise.
3793 * posix/wordexp.h: Likewise.
3794 * pwd/pwd.h: Likewise.
3795 * resolv/netdb.h: Likewise.
3796 * resource/sys/resource.h: Likewise.
3797 * rt/aio.h: Likewise.
3798 * rt/bits/mqueue2.h: Likewise.
3799 * rt/mqueue.h: Likewise.
3800 * shadow/shadow.h: Likewise.
3801 * signal/signal.h: Likewise.
3802 * socket/send.c: Likewise.
3803 * socket/sendto.c: Likewise.
3804 * socket/sys/socket.h: Likewise.
3805 * stdio-common/printf.h: Likewise.
3806 * stdlib/bits/stdlib.h: Likewise.
3807 * stdlib/fmtmsg.h: Likewise.
3808 * stdlib/monetary.h: Likewise.
3809 * stdlib/stdlib.h: Likewise.
3810 * stdlib/ucontext.h: Likewise.
3811 * streams/stropts.h: Likewise.
3812 * string/argz.h: Likewise.
3813 * string/bits/string2.h: Likewise.
3814 * string/string.h: Likewise.
3815 * string/strings.h: Likewise.
3816 * sunrpc/rpc/auth.h: Likewise.
3817 * sunrpc/rpc/auth_des.h: Likewise.
3818 * sunrpc/rpc/clnt.h: Likewise.
3819 * sunrpc/rpc/netdb.h: Likewise.
3820 * sunrpc/rpc/pmap_clnt.h: Likewise.
3821 * sunrpc/rpc/xdr.h: Likewise.
3822 * sysdeps/generic/inttypes.h: Likewise.
3823 * sysdeps/generic/net/if.h: Likewise.
3824 * sysdeps/generic/sys/swap.h: Likewise.
3825 * sysdeps/gnu/net/if.h: Likewise.
3826 * sysdeps/gnu/utmpx.h: Likewise.
3827 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3828 * sysdeps/i386/i486/bits/string.h: Likewise.
3829 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3830 * sysdeps/s390/bits/string.h: Likewise.
3831 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3832 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3834 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3835 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3836 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3837 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3839 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3840 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3841 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3843 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3844 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3845 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3852 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3853 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3854 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3856 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3859 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3861 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3862 * sysvipc/sys/ipc.h: Likewise.
3863 * sysvipc/sys/msg.h: Likewise.
3864 * sysvipc/sys/sem.h: Likewise.
3865 * sysvipc/sys/shm.h: Likewise.
3866 * termios/termios.h: Likewise.
3867 * time/sys/time.h: Likewise.
3868 * time/time.h: Likewise.
3869 * wcsmbs/bits/wchar2.h: Likewise.
3870 * wcsmbs/uchar.h: Likewise.
3871 * wcsmbs/wchar.h: Likewise.
3872 * wctype/wctype.h: Likewise.
3873
3874 [BZ #13551]
3875 * Makeconfig: Remove all but ELF support including AIX support.
3876 * Makerules: Likewise.
3877 * config.h.in: Likewise.
3878 * config.make.in: Likewise.
3879 * configure: Likewise.
3880 * configure.in: Likewise.
3881 * csu/Makefile: Likewise.
3882 * csu/version.c: Likewise.
3883 * debug/Makefile: Likewise.
3884 * dlfcn/Makefile: Likewise.
3885 * elf/Makefile: Likewise.
3886 * extra-lib.mk: Likewise.
3887 * iconv/Makefile: Likewise.
3888 * include/libc-symbols.h: Likewise.
3889 * include/shlib-compat.h: Likewise.
3890 * resolv/Makefile: Likewise.
3891 * resolv/res_libc.c: Likewise.
3892 * rt/Makefile: Likewise.
3893 * sysdeps/i386/asm-syntax.h: Likewise.
3894 * sysdeps/i386/sysdep.h: Likewise.
3895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3896 * sysdeps/mach/sysdep.h: Likewise.
3897 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3898 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3899 * sysdeps/s390/asm-syntax.h: Likewise.
3900 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3902 * sysdeps/sh/sysdep.h: Likewise.
3903 * sysdeps/unix/sparc/sysdep.h: Likewise.
3904 * sysdeps/wordsize-32/divdi3.c: Likewise.
3905 * sysdeps/x86_64/sysdep.h: Likewise.
3906
3907 * argp/Versions: Remove _argp_unlock_xxx.
3908
3909 [BZ #13559]
3910 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3911 * abilist/libBrokenLocale.abilist: Likewise.
3912 * abilist/libanl.abilist: Likewise.
3913 * abilist/libc.abilist: Likewise.
3914 * abilist/libcrypt.abilist: Likewise.
3915 * abilist/libdl.abilist: Likewise.
3916 * abilist/libm.abilist: Likewise.
3917 * abilist/libnsl.abilist: Likewise.
3918 * abilist/libpthread.abilist: Likewise.
3919 * abilist/libresolv.abilist: Likewise.
3920 * abilist/librt.abilist: Likewise.
3921 * abilist/libthread_db.abilist: Likewise.
3922 * abilist/libutil.abilist: Likewise.
3923 * abilist/libnss_db.abilist: New file.
3924
3925 * scripts/abilist.awk: Add support for indirect functions.
3926
3927 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3928
3929 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3930
3931 * shlib-versions: Remove entries for ports architectures.
3932
3933 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3934 files in ports.
3935 * elf/stackguard-macros.h: Remove support for IA-64.
3936 * elf/tst-auditmod1.c: Likewise.
3937 * sysdeps/generic/ldsodefs.h: Likewise.
3938
3939 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3940 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3941 configure files.
3942
3943 [BZ #13552]
3944 * configure.in: Remove --enable-omitfp support.
3945 * FAQ.in: Adjust.
3946 * config.make.in: Likewise.
3947 * Makeconfig: Likewise.
3948 * manual/install.texi: Likewise.
3949
3950 In case anyone cares, the IA-64 architecture could move to ports.
3951 * sysdeps/ia64/*: Removed.
3952 * sysdeps/unix/sysv/linux/ia64/*: Removed.
3953 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3954
3955 [BZ #13555]
3956 * configure.in: Remove entries for unsupported architectures.
3957
3958 [BZ #13533]
3959 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3960 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3961 routines.
3962 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3963 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3964 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3965 fall back to using wcrtomb.
3966 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3967 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3968 renaming.
3969 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3970 * wcsmbs/tst-c16c32-1.c: New file.
3971
3972 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3973 local variable.
3974
3975 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3976
3977 * elf/tst-unique3.cc: Add explicit declaration of gets.
3978 * elf/tst-unique3lib.cc: Likewise.
3979 * elf/tst-unique3lib2.cc: Likewise.
3980 * elf/tst-unique4.cc: Likewise.
3981
3982 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3983
3984 2012-01-06 Joseph Myers <joseph@codesourcery.com>
3985
3986 [BZ #13566]
3987 * assert/assert.h (static_assert): Don't define for C++.
3988 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3989 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3990
3991 2012-01-03 Ulrich Drepper <drepper@gmail.com>
3992
3993 * iconv/loop.c (single loop): Fix assertion in storing of
3994 remaining bytes.
3995
3996 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3997
3998 2012-01-01 Ulrich Drepper <drepper@gmail.com>
3999
4000 * posix/getconf.c: Update copyright year.
4001 * nss/getent.c: Likewise.
4002 * nss/makedb.c: Likewise.
4003 * iconv/iconvconfig.c: Likewise.
4004 * iconv/iconv_prog.c: Likewise.
4005 * elf/ldconfig.c: Likewise.
4006 * elf/pldd.c: Likewise.
4007 * elf/sotruss.ksh: Likewise.
4008 * catgets/gencat.c: Likewise.
4009 * csu/version.c: Likewise.
4010 * elf/ldd.bash.in: Likewise.
4011 * elf/sprof.c (print_version): Likewise.
4012 * locale/programs/locale.c: Likewise.
4013 * locale/programs/localedef.c: Likewise.
4014 * login/programs/pt_chown.c: Likewise.
4015 * nscd/nscd.c (print_version): Likewise.
4016 * debug/xtrace.sh: Likewise.
4017 * malloc/memusage.sh: Likewise.
4018 * malloc/mtrace.pl: Likewise.
4019 * debug/catchsegv.sh: Likewise.
4020
4021 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4022
4023 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4024 pure attribute.
4025
4026 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4027
4028 [BZ #13533]
4029 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4030 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4031 transformations.
4032 * iconv/gconv_int.h: Likewise.
4033 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4034 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4035 from libc for GLIBC_2.16.
4036 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4037 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4038 * wcsmbs/uchar.h: Really define mbstate_t.
4039 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4040 * wcsmbs/c16rtomb.c: New file.
4041 * wcsmbs/mbrtoc16.c: New file.
4042 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4043 for C/POSIX locale.
4044 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4045 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4046
4047 * wcsmbs/wchar.h: Add missing __restrict.
4048
4049 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4050
4051 [BZ #13532]
4052 * time/Makefile (routines): Add timespec_get.
4053 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4054 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4055 timespec for ISO C11.
4056 * time/timespec_get.c: New file.
4057 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4058 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4059
4060 [BZ #13531]
4061 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4062 * stdlib/stdlib.h: Declare aligned_alloc.
4063 * Versions.def: Add GLIBC_2.16 for libc.
4064 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4065
4066 [BZ 13527]
4067 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4068 ISO C11.
4069
4070 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4071 code.
4072
4073 [BZ #13528]
4074 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4075
4076 [BZ #13529]
4077 * assert/assert.h (static_assert): Define.
4078
4079 * version.h: Update for 2.16 development version.
4080
4081 [BZ #13526]
4082 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4083 _ISOC11_SOURCE.
4084
4085 * version.h (RELEASE): Bump for 2.15 release.
4086 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4087
4088 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4089 Patch by Marek Polacek <mpolacek@redhat.com>.
4090
4091 * bits/byteswap.h: Protect long long constants with __extension__.
4092 * sysdeps/i386/bits/byteswap.h: Likewise.
4093 * sysdeps/ia64/bits/byteswap.h: Likewise.
4094 * sysdeps/s390/bits/byteswap.h: Likewise.
4095 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4096
4097 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4098
4099 [BZ #13540]
4100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4101 destination buffer.
4102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4103
4104 2011-12-23 Marek Polacek <polacek@redhat.com>
4105
4106 * elf/dl-addr.c (determine_info): Add inline keyword.
4107 * elf/tst-auditmod4b.c (check_avx): Likewise.
4108 * elf/tst-auditmod6b.c (check_avx): Likewise.
4109 * elf/tst-auditmod6c.c (check_avx): Likewise.
4110 * elf/tst-auditmod7b.c (check_avx): Likewise.
4111
4112 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4113
4114 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4115 !__SSE_MATH__.
4116
4117 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4118
4119 [BZ #13540]
4120 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4121 processing for last bytes.
4122
4123 2011-08-06 Bruno Haible <bruno@clisp.org>
4124
4125 [BZ #13061]
4126 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4127 U+0385, not to U+1FEE.
4128
4129 [BZ #13062]
4130 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4131 entry for U+00A5 U+0301.
4132
4133 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4134
4135 [BZ #13166]
4136 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4137 buffer for the output is too small.
4138
4139 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4140 optimization.
4141
4142 [BZ #13185]
4143 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4144 SSE flags if possible.
4145
4146 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4147
4148 [BZ #13540]
4149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4150 processing for last bytes.
4151
4152 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4153
4154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4155 (syscall-list-default-options, syscall-list-default-condition)
4156 (syscall-list-includes): Define.
4157 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4158 list of ABIs and options and #if conditions for each ABI. Do not
4159 handle common syscalls between ABIs specially.
4160 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4161 Remove.
4162 (syscall-list-variants, syscall-list-32bit-options)
4163 (syscall-list-32bit-condition, syscall-list-64bit-options)
4164 (syscall-list-64bit-condition): Define.
4165 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4166 (syscall-list-variants, syscall-list-32bit-options)
4167 (syscall-list-32bit-condition, syscall-list-64bit-options)
4168 (syscall-list-64bit-condition): Define.
4169 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4170 Remove.
4171 (syscall-list-variants, syscall-list-32bit-options)
4172 (syscall-list-32bit-condition, syscall-list-64bit-options)
4173 (syscall-list-64bit-condition): Define.
4174 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4175 Remove.
4176 (syscall-list-variants, syscall-list-32bit-options)
4177 (syscall-list-32bit-condition, syscall-list-64bit-options)
4178 (syscall-list-64bit-condition): Define.
4179
4180 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4181
4182 * locale/iso-639.def: Add brx entry.
4183
4184 [BZ #13328]
4185 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4186 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4187
4188 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4189 __feraiseexcept_renamed.
4190
4191 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4192
4193 [BZ #13538]
4194 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4195 EPOLLET with unsigned values.
4196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4198
4199 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4200 to large cancellation.
4201 * math/s_cacoshf.c: Likewise.
4202 * math/s_cacoshl.c: Likewise.
4203
4204 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4205
4206 [BZ #13305]
4207 [BZ #12786]
4208 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4209 * math/s_cacoshf.c: Likewise.
4210 * math/s_cacoshl.c: Likewise.
4211
4212 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4213
4214 [BZ #13439]
4215 * iconv/gconv.h: Define __GCONV_SWAP.
4216 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4217 * iconvdata/utf-16.c: Likewise.
4218 * iconvdata/utf-32.c: Likewise.
4219
4220 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4221
4222 [BZ #13524]
4223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4224 numerator after shifting it by one limb.
4225
4226 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4227
4228 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4229 under [__USE_EXTERN_INLINES].
4230
4231 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4232
4233 [BZ #13446]
4234 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4235
4236 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4237
4238 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4239 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4240 optimized code.
4241 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4243 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4244 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4245 for strncasecmp/strncasecmp_l compilation.
4246 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4247 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4248
4249 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4250
4251 [BZ #13484]
4252 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4253 of __asm__.
4254
4255 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4256
4257 [BZ #13506]
4258 * time/tzfile.c (__tzfile_read): Check values from file header.
4259
4260 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4261
4262 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4263 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4264 * powerpc/powerpc32/dl-start.S: Likewise.
4265 * powerpc/powerpc32/elf/start.S: Likewise.
4266 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4267 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4268 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4269 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4270 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4271 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4272 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4273 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4274 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4275 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4276 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4277 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4278 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4279 * powerpc/powerpc32/memset.S: Likewise.
4280 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4281 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4282 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4283 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4284 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4285 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4286 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4287 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4288 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4289 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4293
4294 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4295
4296 * math/libm-test.inc: Added more nearbyint tests.
4297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4301
4302 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4303
4304 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4305 FD_CLOEXEC.
4306
4307 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4308
4309 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4310 Add wcscpy-ssse3 wcscpy-c.
4311 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4312 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4313 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4314 * sysdeps/x86_64/wcschr.S: New file.
4315 * sysdeps/x86_64/wcsrchr.S: New file.
4316 * string/test-strcmp.c: Remove checking of wcscmp function for
4317 wrong alignments.
4318 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4319 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4320 wcsrchr-sse2 wcsrchr-c.
4321 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4322 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4323 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4324 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4325 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4326 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4327 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4328 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4329 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4330 * wcsmbc/wcschr.c (WCSCHR): New macro.
4331
4332 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4333
4334 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4335 * wcsmbs/test-wcsrchr.c: New file.
4336 * string/test-strrchr.c: Add wcsrchr support.
4337 (WIDE): New macro.
4338 * wcsmbs/test-wcscpy.c: New file.
4339 * string/test-strcpy.c: Add wcscpy support.
4340 (WIDE): New macro.
4341
4342 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4343
4344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4345 the inner loop.
4346
4347 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4348
4349 [BZ #13472]
4350 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4351
4352 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4353
4354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4355 Minor optimizations.
4356
4357 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4358 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4359 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4360
4361 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4362
4363 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4364 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4365 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4366 for gcc to avoid warnings.
4367 * inet/Makefile (tests): Add tst-checks.
4368 * inet/tst-checks.c: New file.
4369
4370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4371 warning.
4372
4373 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4374 __wmemcmp_sse2.
4375
4376 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4377 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4378
4379 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4380
4381 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4382
4383 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4384 problem.
4385
4386 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4387
4388 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4389
4390 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4391 conditional on GCC version.
4392 (__arch_compare_and_exchange_val_8_acq)
4393 (__arch_compare_and_exchange_val_16_acq)
4394 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4395 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4396 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4397
4398 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4399
4400 * sysdeps/sh/backtrace.c: New file.
4401
4402 2011-12-02 Andreas Schwab <schwab@redhat.com>
4403
4404 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4405 parenthesis.
4406
4407 2011-12-01 Andreas Schwab <schwab@redhat.com>
4408
4409 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4410 falling back to utime.
4411
4412 2011-11-30 Andreas Schwab <schwab@redhat.com>
4413
4414 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4415 expectations for float.
4416
4417 2011-11-29 Andreas Schwab <schwab@redhat.com>
4418
4419 * locale/weight.h (findidx): Add parameter len.
4420 * locale/weightwc.h (findidx): Likewise.
4421 * posix/fnmatch_loop.c (FCT): Adjust caller.
4422 * posix/regcomp.c (build_equiv_class): Likewise.
4423 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4424 * posix/regexec.c (check_node_accept_bytes): Likewise.
4425 * string/strcoll_l.c (STRCOLL): Likewise.
4426 * string/strxfrm_l.c (STRXFRM): Likewise.
4427
4428 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4429
4430 * Makefile.in: Remove CVSOPT handling.
4431 * configure.in: Remove use of AC_REVISION.
4432 * iconvdata/Makefile (distribute): No need to filter out CVS.
4433 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4434 handling.
4435
4436 2011-11-16 Andreas Schwab <schwab@redhat.com>
4437
4438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4439 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4440 [USE_AS_STRNCASECMP_L]: Likewise.
4441 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4442 NO_TLS_DIRECT_SEG_REFS.
4443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4444 Fix argument offsets for non-PIC.
4445 [USE_AS_STRNCASECMP_L]: Likewise.
4446 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4447 NO_TLS_DIRECT_SEG_REFS.
4448
4449 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4450
4451 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4452 O_CLOEXEC.
4453 * locale/loadlocale.c (_nl_load_locale): Likewise.
4454
4455 2011-11-15 Andreas Schwab <schwab@redhat.com>
4456
4457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4458 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4460 (SYSCALL_GETTIME): Set errno on error.
4461
4462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4463 count references to noai6ai_cached.
4464
4465 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4466
4467 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4468
4469 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4470 FD_CLOEXEC for /proc/self/maps.
4471
4472 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4473 FD_CLOEXEC for /proc/meminfo.
4474
4475 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4476 gai.conf.
4477
4478 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4479 FD_CLOEXEC for given file.
4480
4481 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4482
4483 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4484 FD_CLOEXEC for /etc/hosts.
4485 (_gethtent): Likewise.
4486
4487 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4488
4489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4490 cancellation and set FD_CLOEXEC for /etc/netgroup.
4491
4492 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4493 reading /etc/publickey.
4494
4495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4496 allow cancellation when reading /etc/group.
4497
4498 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4499 cancellation.
4500 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4501
4502 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4503 when using data file.
4504
4505 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4506
4507 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4508 (write_nis_obj): Use "c" and "e" in fopen.
4509
4510 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4511
4512 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4513
4514 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4515
4516 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4517
4518 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4519 locale.alias.
4520
4521 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4522
4523 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4524
4525 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4526
4527 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4528 file parsing and set FD_CLOEXEC.
4529
4530 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4531
4532 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4533
4534 2011-11-14 Andreas Schwab <schwab@redhat.com>
4535
4536 * malloc/arena.c (arena_get2): Don't call reused_arena when
4537 _int_new_arena failed.
4538
4539 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4540
4541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4542 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4547 to compile strcasecmp and strncasecmp.
4548 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4549 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4550
4551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4552
4553 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4554
4555 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4556 locale-defines.sym to gen-as-const-headers.
4557 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4558 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4560 to compile strcasecmp and strncasecmp.
4561 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4562 strcasecmp_l and strncasecmp_l.
4563 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4564 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4565 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4567 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4568 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4569 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4570 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4571 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4572 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4573 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4574
4575 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4576
4577 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4578 result of SYSDEP_GETTIME_CPU to retval.
4579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4580 parameter list to macro. Remove trailing semicolon. Adjust users.
4581
4582 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4583 variable.
4584
4585 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4586 mantissa words.
4587 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4588
4589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4590 from unused variable.
4591
4592 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4593 DWARF definitions.
4594 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4595 for assembling.
4596
4597 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4598 over namespaces.
4599
4600 * sunrpc/rpc_prot.c (rejected): Fix case value.
4601
4602 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4603 unsigned long long int to avoid warnings in shift.
4604
4605 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4606 of use of trans.
4607 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4608 variable tmp.
4609
4610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4611 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4613
4614 * nis/nis_table.c (nis_list): Use variable of correct type for
4615 result of __follow_path call.
4616
4617 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4618
4619 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4620 of math functions ceil, trunc, floor, round, and sqrt, when
4621 avaliable on the platform.
4622 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4623 name clash.
4624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4625 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4626 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4627
4628 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4629
4630 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4632
4633 2011-11-11 Roland McGrath <roland@hack.frob.com>
4634
4635 * include/unistd.h: Fix __readlink return type.
4636 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4637
4638 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4639
4640 * stdlib/ucontext.h: Undo last change for makecontext.
4641
4642 2011-11-11 Andreas Schwab <schwab@redhat.com>
4643
4644 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4645
4646 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4647 * setjmp/setjmp.h: Mark functions as non-leaf.
4648 * setjmp/bits/setjmp2.h: Likewise.
4649 * stdlib/ucontext.h: Likewise.
4650
4651 2011-11-10 Andreas Schwab <schwab@redhat.com>
4652
4653 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4654 (reused_arena): Don't check arena limit.
4655 (arena_get2): Atomically check arena limit.
4656
4657 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4658
4659 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4660 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4661
4662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4663 instructions.
4664
4665 2011-11-07 Andreas Schwab <schwab@redhat.com>
4666
4667 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4668 handler when locking.
4669
4670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4671 Fix size of allocated buffer.
4672
4673 2011-11-04 Andreas Schwab <schwab@redhat.com>
4674
4675 [BZ #10103]
4676 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4677 declarations for long double functions.
4678 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4679
4680 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4681
4682 2011-11-03 Andreas Schwab <schwab@redhat.com>
4683
4684 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4685 installed.
4686
4687 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4688 is disabled.
4689
4690 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4691
4692 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4693
4694 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4695
4696 * include/alloca.h (stackinfo_alloca_round): Define.
4697 (extend_alloca): Use it.
4698 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4699 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4700 here.
4701
4702 * scripts/check-local-headers.sh: Ignore libaudit.h.
4703
4704 * nscd/Makefile (extra-objs): Make recursively expanded.
4705
4706 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4707
4708 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4710
4711 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4712 * posix/tst-rfc3484-2.c: Likewise.
4713 * posix/tst-rfc3484-3.c: Likewise.
4714
4715 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4716 process_vm_writev.
4717 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4718 process_vm_writev.
4719 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4720 process_vm_writev from libc using GLIBC_2.15 version.
4721
4722 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4723
4724 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4725
4726 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4727 stack usage.
4728
4729 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4730
4731 [BZ #13367]
4732 * nss/getent.c (initgroups_keys): Show error message in case no group
4733 names are given.
4734
4735 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4736 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4737 __bump_nl_timestamp.
4738 * nscd/connections (nscd_init): When host database is served open
4739 netlink socket and request notification about configuration changes.
4740 (main_loop_poll): Track netlink file descriptor and bump timestamp
4741 in case data becomes available.
4742 (main_loop_epoll): Likewise.
4743 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4744 (database_pers_head): Add extra_data fileds.
4745 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4747 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4748 Adjust caller.
4749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4750 in6ai data, call __free_in6ai.
4751 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4752 Add -DHAVE_NETLINK.
4753 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4754 interface information. Reuse previous data if netlink timestamp
4755 is not changed.
4756 (__bump_nl_timestamp): New function.
4757 (__free_in6ai): New function.
4758
4759 2011-10-30 Ulrich Drepper <drepper@gmail.com>
4760
4761 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4762 close_not_cancel_no_status here.
4763 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4764
4765 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4766
4767 [BZ #13276]
4768 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4769 return value.
4770
4771 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4772 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4773 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4774
4775 2011-07-03 Andreas Jaeger <aj@suse.de>
4776
4777 [BZ #10709]
4778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4779 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4780 * math/libm-test.inc (sin_test): Add test case.
4781
4782 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4783
4784 [BZ #13337]
4785 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4787
4788 * elf/chroot_canon.c (chroot_canon): Cleanups.
4789
4790 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4791
4792 [BZ #13335]
4793 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4794 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4795
4796 * string/test-strchr.c: Make usable for strchrnul testing.
4797 * string/test-strchrnul.c: New file.
4798 * string/Makefile (strop-tests): Add strchrnul.
4799
4800 * po/it.po: Update from translation team.
4801 * po/es.po: Likewise.
4802
4803 2011-10-28 Ulrich Drepper <drepper@gmail.com>
4804
4805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4806 the three constants needed as parameters. Drop the others.
4807 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4808 __m128i_strloadu_tolower.
4809 Create and initialize variable zero and use it in all the places
4810 where _mm_setzero_si128 was used.
4811
4812 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4813 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4814 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4816 anymore.
4817 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4820 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4821 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4822 __mpranred, __mptan.
4823 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4824 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4825 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4826 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4832
4833 2011-10-28 Andreas Schwab <schwab@redhat.com>
4834
4835 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4836 redefine if SHARED.
4837 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4838
4839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4840 wide char related routines to wcsmbs subdir.
4841
4842 2011-10-27 Andreas Schwab <schwab@redhat.com>
4843
4844 [BZ #13344]
4845 * misc/sys/cdefs.h (__THROWNL): Define.
4846 * posix/unistd.h: Use __THREADNL instead of __THREAD
4847 for memory synchronization functions.
4848
4849 2011-10-26 Roland McGrath <roland@hack.frob.com>
4850
4851 [BZ #13349]
4852 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4853 doesn't exist.
4854 * manual/stdio.texi (Obstack Streams): Node removed.
4855
4856 2011-10-26 Andreas Schwab <schwab@redhat.com>
4857
4858 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4861
4862 * math/math_private.h (math_force_eval): Allow non-addressable
4863 arguments.
4864 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4865
4866 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4867
4868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4869 file is not needed.
4870
4871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4878 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4879 Add AVX variants.
4880 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4881 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4882 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4883 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4884 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4885 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4886 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4888 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4889 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4890 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4891 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4893 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4896 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4899
4900 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4901 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4902
4903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4904 place. Use VEX encoding when compiling for AVX.
4905
4906 2011-10-25 Andreas Schwab <schwab@redhat.com>
4907
4908 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4909 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4910
4911 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4912
4913 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4914
4915 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4916 useless if() expression.
4917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4928 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4930 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4931 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4932 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4936
4937 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4938
4939 2011-10-25 Andreas Schwab <schwab@redhat.com>
4940
4941 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4942 condition.
4943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4944
4945 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4946
4947 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4948 .text section. Avoid duplicate constants.
4949 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4959 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4961 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4964 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4976 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4977 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4979 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4994
4995 2011-10-24 Ulrich Drepper <drepper@gmail.com>
4996
4997 * sysdeps/x86_64/dla.h: Move to ...
4998 * sysdeps/x86_64/fpu/dla.h: ...here.
4999 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5000 situations. Use __builtin_fma only for gcc 4.6 and up.
5001
5002 * config.make.in: Add have-mfma4 entry.
5003 * configure.in: Substitute libc_cv_cc_fma4.
5004 * math/Makefile (dbl-only-routines): Add sincostab.
5005 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5006 Use __sincostab not sincos.
5007 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5008 name is a macro.
5009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5013 using __copysign.
5014 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5015 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5016 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5017 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5018 and __inv.
5019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5020 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5021 __copysign.
5022 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5023 define aliases when function name is a macro.
5024 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5025 sysdeps/ieee754/dbl-64/sincos.tbl.
5026 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5027 fma4-enabled routines.
5028 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5029 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5030 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5031 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5033 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5038 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5040 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5046 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5048 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5055 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5056 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5057 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5058
5059 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5060 rename.
5061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5069
5070 2011-10-24 Andreas Schwab <schwab@redhat.com>
5071
5072 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5073
5074 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5075
5076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5077
5078 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5079 prediction.
5080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5081
5082 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5083 Remove unused variable magic_bits.
5084 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5085
5086 * string/strnlen.c: Define and use STRNLEN macro.
5087 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5088 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5090 * wcsmbs/wcslen.c: Define and use WCSLEN.
5091 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5092 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5093 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5094 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5095 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5096 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5098
5099 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5100
5101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5102 strnlen-sse2-no-bsf.
5103 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5106 Add strnlen support.
5107 (USE_AS_STRNLEN): New macro.
5108 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5110 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5111 * sysdeps/x86_64/wcslen.S: New file.
5112
5113 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5114
5115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5116 XMM-moves are used for copying on small sizes.
5117
5118 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5119
5120 * wcsmbs/Makefile (strop-tests): Add wcschr.
5121 * wcsmbs/test-wcschr.c: New file.
5122 * string/test-strchr.c: Update.
5123 Add wcschr support.
5124 (WIDE): New macro.
5125
5126 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5127
5128 * wcsmbs/Makefile (strop-tests): Add wcslen.
5129 * wcsmbs/test-wcslen.c: New file.
5130 * string/test-strlen.c: Update.
5131 Add wcslen support.
5132 (WIDE): New macro.
5133
5134 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5135
5136 * po/it.po: Update from translation team.
5137
5138 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5139
5140 * sysdeps/x86_64/wcscmp.S: Update.
5141 Fix wrong comparison semantics.
5142 wcscmp shall use signed comparison not unsigned.
5143 Don't use substraction to avoid overflow bug.
5144 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5145 * wcsmbc/wcscmp.c: Likewise.
5146 * string/test-strcmp.c: Likewise.
5147 Add new tests to check cases with negative values.
5148
5149 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5150
5151 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5152 * sysdeps/x86_64/dla.h: ...here. New file.
5153 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5162
5163 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5164
5165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5166 __ynl_finite aliases.
5167
5168 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5169
5170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5171
5172 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5173 define DLA_FMA.
5174 [DLA_FMA] (EMULV): Use DLA_FMA.
5175 [DLA_FMA] (MUL12): Use EMULV.
5176 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5177 that are not needed.
5178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5185
5186 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5187
5188 * math/s_nan.c: Undef __nan.
5189 * math/s_nanf.c: Undef __nanf.
5190 * math/s_nanl.c: Undef __nanl.
5191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5192 "math_private.h".
5193
5194 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5195
5196 * math/s_catan.c: Add branch predictions.
5197 * math/s_catanf.c: Likewise.
5198 * math/s_catanh.c: Likewise.
5199 * math/s_catanhf.c: Likewise.
5200 * math/s_catanhl.c: Likewise.
5201 * math/s_catanl.c: Likewise.
5202 * math/s_cexp.c: Likewise.
5203 * math/s_cexpf.c: Likewise.
5204 * math/s_cexpl.c: Likewise.
5205 * math/s_clog.c: Likewise.
5206 * math/s_clog10.c: Likewise.
5207 * math/s_clog10f.c: Likewise.
5208 * math/s_clog10l.c: Likewise.
5209 * math/s_clogf.c: Likewise.
5210 * math/s_clogl.c: Likewise.
5211 * math/s_csqrt.c: Likewise.
5212 * math/s_csqrtf.c: Likewise.
5213 * math/s_csqrtl.c: Likewise.
5214 * math/s_ctanf.c: Likewise.
5215 * math/s_ctanh.c: Likewise.
5216 * math/s_ctanhf.c: Likewise.
5217 * math/s_ctanhl.c: Likewise.
5218 * math/s_ctanl.c: Likewise.
5219
5220 * math/math_private.h: Define __nan, __nanf, __nanl.
5221 * math/s_cacosh.c: Include <math_private.h>.
5222 * math/s_cacoshl.c: Likewise.
5223 * math/s_casinh.c: Likewise.
5224 * math/s_casinhf.c: Likewise.
5225 * math/s_casinhl.c: Likewise.
5226 * math/s_ccos.c: Rely entire on ccosh.
5227 * math/s_ccosf.c: Rely entire on ccoshf.
5228 * math/s_ccosl.c: Rely entirely on ccoshl.
5229 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5230 Remove tests for FE_INVALID.
5231 * math/s_ccoshf.c: Likewise.
5232 * math/s_ccoshl.c: Likewise.
5233 * math/s_csin.c: Likewise.
5234 * math/s_csinf.c: Likewise.
5235 * math/s_csinh.c Likewise.
5236 * math/s_csinhf.c: Likewise.
5237 * math/s_csinhl.c: Likewise.
5238 * math/s_csinl.c: Likewise.
5239 * math/s_ctan.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5241 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5243
5244 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5245
5246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5247 compilation problems.
5248
5249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5250 __builtin_expect.
5251
5252 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5253
5254 * sysdeps/i386/configure.in: Test for -mfma4 option.
5255 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5256 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5257 COMMON_CPUID_INDEX_80000001.
5258 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5259 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5260 use it if FMA3 is not supported.
5261 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5262
5263 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5265
5266 2011-10-20 Andreas Schwab <schwab@redhat.com>
5267
5268 [BZ #12892]
5269 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5270 it would create a cycle with a link time dependency.
5271
5272 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5273
5274 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5275 instruction.
5276 * string/Makefile (strop-tests): Add rawmemchr.
5277 * string/test-rawmemchr.c: New file.
5278
5279 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5281 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5282 when compiling str{,n}casecmp and when AVX is available. Hook up
5283 new optimized code in initializers.
5284
5285 2011-10-19 Andreas Schwab <schwab@redhat.com>
5286
5287 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5288 __feraiseexcept instead of feraiseexcept.
5289
5290 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5291
5292 * math/math_private.h: Define defaults for libc_fetestexcept and
5293 libc_feupdateenv.
5294 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5295 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5297 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5299 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5300 libc_fetestexcept and libc_feupdateenv.
5301
5302 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5303 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5304 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5305 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5306 libc_feholdexcept_setround.
5307
5308 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5309 Add s_nearbyint-c and s_nearbyintf-c.
5310 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5311 nearbyintf inlines.
5312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5316
5317 * math/math_private.h: Define defaults for libc_fegetround,
5318 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5319 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5320 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5322 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5323 standard functions.
5324 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5325 Remove comments and hacks for old compiler versions.
5326 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5327 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5328 libc_feholdexceptl.
5329
5330 2011-10-18 Andreas Schwab <schwab@redhat.com>
5331
5332 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5333 (__feraiseexcept_renamed): Add __NTH.
5334 (feraiseexcept): Add __NTH. Rename local variables to fix
5335 namespace violations.
5336
5337 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5338
5339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5340
5341 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5342
5343 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5344 recently added interfaces.
5345 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5346
5347 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5348 about macro parameter expansion.
5349
5350 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5351 __NO_MATH_INLINES is defined. Cleanups.
5352
5353 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5354 and __floorf is target has SSE4.1.
5355 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5356 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5359
5360 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5361 name.
5362 (floorf): Likewise.
5363
5364 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5365
5366 2011-10-17 Andreas Schwab <schwab@redhat.com>
5367
5368 * misc/sys/cdefs.h: Fix last change.
5369
5370 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5371 database lookup.
5372
5373 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5374
5375 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5376
5377 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5384 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5385 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5386 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5387 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5388 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5389 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5390 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5392 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5393 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5395 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5396 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5399
5400 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5401 ceil, ceilf, floor, floorf.
5402
5403 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5404 Perform IRELATIVE relocations last.
5405
5406 * elf/do-rel.h: Add another parameter nrelative, replacing the
5407 local variable with the same name. Change name of the function
5408 to end in Rel or Rela (uppercase).
5409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5410 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5411 elf_dynamic_do_##reloc function.
5412
5413 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5414
5415 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5416 is sufficient, at least on modern CPUs.
5417
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5419
5420 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5422
5423 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5424 __expl_finite.
5425 * math/bits/math-finite.h: Add entries for exp.
5426 * math/e_expl.c: Add __*_finite alias.
5427 * sysdeps/i386/fpu/e_exp.S: Likewise.
5428 * sysdeps/i386/fpu/e_expf.S: Likewise.
5429 * sysdeps/i386/fpu/e_expl.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5437
5438 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5439 is sufficient, at least on modern CPUs.
5440
5441 * ctype/ctype-info.c (__ctype_init): Define.
5442 * include/ctype.h (__ctype_init): Declare.
5443 (__ctype_b_loc): The variable is always initialized.
5444 (__ctype_toupper_loc): Likewise.
5445 (__ctype_tolower_loc): Likewise.
5446 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5447 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5448
5449 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5450
5451 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5452
5453 * configure.in: Also look in $cxxmachine/include for C++ system
5454 headers.
5455
5456 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5457
5458 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5459 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5460 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5461 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5463 (USE_AS_WMEMCMP): New macro.
5464 Fixing indents.
5465 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5466 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5467 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5468 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5470 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5471 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5473 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5474 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5476 (USE_AS_WMEMCMP): New macro.
5477 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5478 * sysdeps/string/test-memcmp.c: Update.
5479 Fix simple_wmemcmp.
5480 Add new tests.
5481 * wcsmbs/wmemcmp.c: Update.
5482 (WMEMCMP): New macro.
5483 Fix overflow bug.
5484
5485 2011-10-12 Andreas Jaeger <aj@suse.de>
5486
5487 [BZ #13268]
5488 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5489
5490 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5491
5492 * libio/iofwide.c (do_length): Avoid warning.
5493
5494 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5495
5496 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5497
5498 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5499
5500 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5501 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5502 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5503 * sysdeps/i386/i686/fpu/e_log.S: New file.
5504 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5505 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5506
5507 * ctype/ctype.h: Add support for inlined isXXX functions when
5508 compiling C++ code.
5509
5510 2011-10-14 Andreas Schwab <schwab@redhat.com>
5511
5512 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5513
5514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5515
5516 2011-10-13 Roland McGrath <roland@hack.frob.com>
5517
5518 [BZ #13291]
5519 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5520
5521 2011-10-13 Andreas Schwab <schwab@redhat.com>
5522
5523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5524 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5525 feraiseexcept.
5526
5527 * sysdeps/x86_64/memrchr.S: Check for zero size.
5528
5529 * string/stratcliff.c: Add memrchr tests.
5530
5531 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5532
5533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5534 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5535 rawmemchr-sse2 rawmemchr-sse2-bsf.
5536 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5537 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5538 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5539 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5540 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5541 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5542 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5543 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5546 * string/memrchr.c (MEMRCHR): New macro.
5547
5548 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5549
5550 Add integration with gcc's -ffinite-math-only and optimize wrapper
5551 functions in libm.
5552 * Versions.def: Define GLIBC_2.15 version for libm.
5553 * math/Makefile (headers): Add bits/math-finite.h.
5554 * math/bits/math-finite.h: New file.
5555 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5556 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5557 * math/e_acoshl.c: Add __*_finite alias.
5558 * math/e_acosl.c: Likewise.
5559 * math/e_asinl.c: Likewise.
5560 * math/e_atan2l.c: Likewise.
5561 * math/e_atanhl.c: Likewise.
5562 * math/e_coshl.c: Likewise.
5563 * math/e_exp10.c: Likewise.
5564 * math/e_exp10f.c: Likewise.
5565 * math/e_exp10l.c: Likewise.
5566 * math/e_exp2l.c: Likewise.
5567 * math/e_fmodl.c: Likewise.
5568 * math/e_gammal_r.c: Likewise.
5569 * math/e_hypotl.c: Likewise.
5570 * math/e_j0l.c: Likewise.
5571 * math/e_j1l.c: Likewise.
5572 * math/e_jnl.c: Likewise.
5573 * math/e_lgammal_r.c: Likewise.
5574 * math/e_log10l.c: Likewise.
5575 * math/e_log2l.c: Likewise.
5576 * math/e_logl.c: Likewise.
5577 * math/e_powl.c: Likewise.
5578 * math/e_sinhl.c: Likewise.
5579 * math/e_sqrtl.c: Likewise.
5580 * math/e_scalb.c: Completely rewritten and optimized.
5581 * math/e_scalbf.c: Likewise.
5582 * math/e_scalbl.c: Likewise.
5583 * math/w_acos.c: Likewise.
5584 * math/w_acosf.c: Likewise.
5585 * math/w_acosl.c: Likewise.
5586 * math/w_acosh.c: Likewise.
5587 * math/w_acoshf.c: Likewise.
5588 * math/w_acoshl.c: Likewise.
5589 * math/w_asin.c: Likewise.
5590 * math/w_asinf.c: Likewise.
5591 * math/w_asinl.c: Likewise.
5592 * math/w_atan2.c: Likewise.
5593 * math/w_atan2f.c: Likewise.
5594 * math/w_atan2l.c: Likewise.
5595 * math/w_atanh.c: Likewise.
5596 * math/w_atanhf.c: Likewise.
5597 * math/w_atanhl.c: Likewise.
5598 * math/w_exp10.c: Likewise.
5599 * math/w_exp10f.c: Likewise.
5600 * math/w_exp10l.c: Likewise.
5601 * math/w_fmod.c: Likewise.
5602 * math/w_fmodf.c: Likewise.
5603 * math/w_fmodl.c: Likewise.
5604 * math/w_j0.c: Likewise.
5605 * math/w_j0f.c: Likewise.
5606 * math/w_j0l.c: Likewise.
5607 * math/w_j1.c: Likewise.
5608 * math/w_j1f.c: Likewise.
5609 * math/w_j1l.c: Likewise.
5610 * math/w_jn.c: Likewise.
5611 * math/w_jnf.c: Likewise.
5612 * math/w_log.c: Likewise.
5613 * math/w_logf.c: Likewise.
5614 * math/w_logl.c: Likewise.
5615 * math/w_log10.c: Likewise.
5616 * math/w_log10f.c: Likewise.
5617 * math/w_log10l.c: Likewise.
5618 * math/w_log2.c: Likewise.
5619 * math/w_log2f.c: Likewise.
5620 * math/w_log2l.c: Likewise.
5621 * math/w_pow.c: Likewise.
5622 * math/w_powf.c: Likewise.
5623 * math/w_powl.c: Likewise.
5624 * math/w_remainder.c: Likewise.
5625 * math/w_remainderf.c: Likewise.
5626 * math/w_remainderl.c: Likewise.
5627 * math/w_scalb.c: Likewise.
5628 * math/w_scalbf.c: Likewise.
5629 * math/w_scalbl.c: Likewise.
5630 * math/w_sqrt.c: Likewise.
5631 * math/w_sqrtf.c: Likewise.
5632 * math/w_sqrtl.c: Likewise.
5633 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5634 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5635 used.
5636 * math/math_private.h: Declare __kernel_standard_f.
5637 * math/w_cosh.c: Remove cruft and optimize a bit.
5638 * math/w_coshf.c: Likewise.
5639 * math/w_coshl.c: Likewise.
5640 * math/w_exp2.c: Likewise.
5641 * math/w_exp2f.c: Likewise.
5642 * math/w_exp2l.c: Likewise.
5643 * math/w_hypot.c: Likewise.
5644 * math/w_hypotf.c: Likewise.
5645 * math/w_hypotl.c: Likewise.
5646 * math/w_lgamma.c: Likewise.
5647 * math/w_lgamma_r.c: Likewise.
5648 * math/w_lgammaf.c: Likewise.
5649 * math/w_lgammaf_r.c: Likewise.
5650 * math/w_lgammal.c: Likewise.
5651 * math/w_lgammal_r.c: Likewise.
5652 * math/w_sinh.c: Likewise.
5653 * math/w_sinhf.c: Likewise.
5654 * math/w_sinhl.c: Likewise.
5655 * math/w_tgamma.c: Likewise.
5656 * math/w_tgammaf.c: Likewise.
5657 * math/w_tgammal.c: Likewise.
5658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5660 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5661 Minor optimizations. Pretty printing. Remove cruft.
5662 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5666 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5667 * sysdeps/i386/fpu/e_asin.S: Likewise.
5668 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5669 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5670 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5671 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5674 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5675 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5676 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5677 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5678 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5679 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5680 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5681 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5682 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5683 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5684 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5685 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5686 * sysdeps/i386/fpu/e_log.S: Likewise.
5687 * sysdeps/i386/fpu/e_log10.S: Likewise.
5688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5690 * sysdeps/i386/fpu/e_log2.S: Likewise.
5691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5693 * sysdeps/i386/fpu/e_logf.S: Likewise.
5694 * sysdeps/i386/fpu/e_logl.S: Likewise.
5695 * sysdeps/i386/fpu/e_pow.S: Likewise.
5696 * sysdeps/i386/fpu/e_powf.S: Likewise.
5697 * sysdeps/i386/fpu/e_powl.S: Likewise.
5698 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5699 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5700 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5704 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5705 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5706 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5748 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5790 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5792 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5795 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5800 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5804 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5805 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5806 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5807 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5808 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5809 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5810 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5813 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5815 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5817 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5818 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5819 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5820 (__isnanf): Likewise.
5821 (__isinf_ns): Likewise.
5822 (__isinf_nsf): Likewise.
5823 (__finite): Likewise.
5824 (__finitef): Likewise.
5825 (__ieee754_sqrt): Define as macro.
5826 (__ieee754_sqrtf): Define as macro.
5827 (__ieee754_sqrtl): Define as macro.
5828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5829 inlined copy.
5830 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5831 __FINITE_MATH_ONLY__ consistent.
5832 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5833
5834 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5835
5836 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5837 of rawmemchr.
5838
5839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5840
5841 2011-10-09 Ulrich Drepper <drepper@gmail.com>
5842
5843 * po/ja.po: Update from translation team.
5844
5845 2011-10-08 Roland McGrath <roland@hack.frob.com>
5846
5847 * locale/programs/locarchive.c (prepare_address_space): New function.
5848 (create_archive, enlarge_archive, open_archive): Use it.
5849
5850 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5851 inside [SHARED], where it is used.
5852
5853 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5854
5855 * nss/getent.c (netgroup_keys): Remove unused variable.
5856 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5857
5858 2011-10-08 Ulrich Drepper <drepper@gmail.com>
5859
5860 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5861 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5864 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5865 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5866 * math/Makefile (libm-calls): Add s_isinf_ns.
5867 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5868 * math/multc3.c: Likewise.
5869 * math/s_casin.c: Likewise.
5870 * math/s_casinf.c: Likewise.
5871 * math/s_casinl.c: Likewise.
5872 * math/s_ccos.c: Likewise.
5873 * math/s_ccosf.c: Likewise.
5874 * math/s_ccosl.c: Likewise.
5875 * math/s_ctan.c: Likewise.
5876 * math/s_ctanf.c: Likewise.
5877 * math/s_ctanh.c: Likewise.
5878 * math/s_ctanhf.c: Likewise.
5879 * math/s_ctanhl.c: Likewise.
5880 * math/s_ctanl.c: Likewise.
5881 * math/w_fmod.c: Likewise.
5882 * math/w_fmodf.c: Likewise.
5883 * math/w_fmodl.c: Likewise.
5884 * math/w_remainder.c: Likewise.
5885 * math/w_remainderf.c: Likewise.
5886 * math/w_remainderl.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5888 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5891 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5892 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5893 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5894 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5895
5896 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5897 of the number.
5898 * stdio-common/printf_fphex.c: Likewise.
5899 * stdio-common/printf_size.c: Likewise.
5900
5901 * math/e_exp10.c: Include math_private.h using <...> not "...".
5902 * math/e_exp10f.c: Likewise.
5903 * math/e_exp10l.c: Likewise.
5904 * math/e_exp2l.c: Likewise.
5905 * math/e_j0l.c: Likewise.
5906 * math/e_j1l.c: Likewise.
5907 * math/e_jnl.c: Likewise.
5908 * math/e_lgammal_r.c: Likewise.
5909 * math/e_rem_pio2l.c: Likewise.
5910 * math/e_scalb.c: Likewise.
5911 * math/e_scalbf.c: Likewise.
5912 * math/e_scalbl.c: Likewise.
5913 * math/k_cosl.c: Likewise.
5914 * math/k_sinl.c: Likewise.
5915 * math/k_tanl.c: Likewise.
5916 * math/s_cacoshf.c: Likewise.
5917 * math/s_catan.c: Likewise.
5918 * math/s_catanf.c: Likewise.
5919 * math/s_catanh.c: Likewise.
5920 * math/s_catanhf.c: Likewise.
5921 * math/s_catanhl.c: Likewise.
5922 * math/s_catanl.c: Likewise.
5923 * math/s_ccosh.c: Likewise.
5924 * math/s_ccoshf.c: Likewise.
5925 * math/s_ccoshl.c: Likewise.
5926 * math/s_cexp.c: Likewise.
5927 * math/s_cexpf.c: Likewise.
5928 * math/s_cexpl.c: Likewise.
5929 * math/s_clog.c: Likewise.
5930 * math/s_clog10.c: Likewise.
5931 * math/s_clog10f.c: Likewise.
5932 * math/s_clog10l.c: Likewise.
5933 * math/s_clogf.c: Likewise.
5934 * math/s_clogl.c: Likewise.
5935 * math/s_csin.c: Likewise.
5936 * math/s_csinf.c: Likewise.
5937 * math/s_csinh.c: Likewise.
5938 * math/s_csinhf.c: Likewise.
5939 * math/s_csinhl.c: Likewise.
5940 * math/s_csinl.c: Likewise.
5941 * math/s_csqrt.c: Likewise.
5942 * math/s_csqrtf.c: Likewise.
5943 * math/s_csqrtl.c: Likewise.
5944 * math/s_ctan.c: Likewise.
5945 * math/s_ctanf.c: Likewise.
5946 * math/s_ctanh.c: Likewise.
5947 * math/s_ctanhf.c: Likewise.
5948 * math/s_ctanhl.c: Likewise.
5949 * math/s_ctanl.c: Likewise.
5950 * math/s_ldexp.c: Likewise.
5951 * math/s_ldexpf.c: Likewise.
5952 * math/s_ldexpl.c: Likewise.
5953 * math/s_significand.c: Likewise.
5954 * math/s_significandf.c: Likewise.
5955 * math/s_significandl.c: Likewise.
5956 * math/w_acos.c: Likewise.
5957 * math/w_acosf.c: Likewise.
5958 * math/w_acosh.c: Likewise.
5959 * math/w_acoshf.c: Likewise.
5960 * math/w_acoshl.c: Likewise.
5961 * math/w_acosl.c: Likewise.
5962 * math/w_asin.c: Likewise.
5963 * math/w_asinf.c: Likewise.
5964 * math/w_asinl.c: Likewise.
5965 * math/w_atan2.c: Likewise.
5966 * math/w_atan2f.c: Likewise.
5967 * math/w_atan2l.c: Likewise.
5968 * math/w_atanh.c: Likewise.
5969 * math/w_atanhf.c: Likewise.
5970 * math/w_atanhl.c: Likewise.
5971 * math/w_cosh.c: Likewise.
5972 * math/w_coshf.c: Likewise.
5973 * math/w_coshl.c: Likewise.
5974 * math/w_dremf.c: Likewise.
5975 * math/w_exp10.c: Likewise.
5976 * math/w_exp10f.c: Likewise.
5977 * math/w_exp10l.c: Likewise.
5978 * math/w_exp2.c: Likewise.
5979 * math/w_exp2f.c: Likewise.
5980 * math/w_fmod.c: Likewise.
5981 * math/w_fmodf.c: Likewise.
5982 * math/w_fmodl.c: Likewise.
5983 * math/w_hypot.c: Likewise.
5984 * math/w_hypotf.c: Likewise.
5985 * math/w_hypotl.c: Likewise.
5986 * math/w_j0.c: Likewise.
5987 * math/w_j0f.c: Likewise.
5988 * math/w_j0l.c: Likewise.
5989 * math/w_j1.c: Likewise.
5990 * math/w_j1f.c: Likewise.
5991 * math/w_j1l.c: Likewise.
5992 * math/w_jn.c: Likewise.
5993 * math/w_jnf.c: Likewise.
5994 * math/w_jnl.c: Likewise.
5995 * math/w_lgamma.c: Likewise.
5996 * math/w_lgamma_r.c: Likewise.
5997 * math/w_lgammaf.c: Likewise.
5998 * math/w_lgammaf_r.c: Likewise.
5999 * math/w_lgammal.c: Likewise.
6000 * math/w_lgammal_r.c: Likewise.
6001 * math/w_log.c: Likewise.
6002 * math/w_log10.c: Likewise.
6003 * math/w_log10f.c: Likewise.
6004 * math/w_log10l.c: Likewise.
6005 * math/w_log2.c: Likewise.
6006 * math/w_log2f.c: Likewise.
6007 * math/w_log2l.c: Likewise.
6008 * math/w_logf.c: Likewise.
6009 * math/w_logl.c: Likewise.
6010 * math/w_pow.c: Likewise.
6011 * math/w_powf.c: Likewise.
6012 * math/w_powl.c: Likewise.
6013 * math/w_remainder.c: Likewise.
6014 * math/w_remainderf.c: Likewise.
6015 * math/w_remainderl.c: Likewise.
6016 * math/w_scalb.c: Likewise.
6017 * math/w_scalbf.c: Likewise.
6018 * math/w_scalbl.c: Likewise.
6019 * math/w_sinh.c: Likewise.
6020 * math/w_sinhf.c: Likewise.
6021 * math/w_sinhl.c: Likewise.
6022 * math/w_sqrt.c: Likewise.
6023 * math/w_sqrtf.c: Likewise.
6024 * math/w_sqrtl.c: Likewise.
6025 * math/w_tgamma.c: Likewise.
6026 * math/w_tgammaf.c: Likewise.
6027 * math/w_tgammal.c: Likewise.
6028
6029 * po/ja.po: Update from translation team.
6030
6031 2011-09-29 Andreas Jaeger <aj@suse.de>
6032
6033 [BZ #13179]
6034 * sunrpc/netname.c (netname2host): Fix logic.
6035
6036 [BZ #6779]
6037 [BZ #6783]
6038 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6039 correctly.
6040 * math/w_remainder.c (__remainder): Likewise.
6041 * math/w_remainderf.c (__remainderf): Likewise.
6042 * math/libm-test.inc (remainder_test): Add test cases.
6043
6044 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6045
6046 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6047 sdiv_qrnnd.
6048
6049 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6050
6051 * string/test-memcmp.c: Avoid unncessary #defines.
6052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6053
6054 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6055
6056 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6057 Use new sse2 version for core i3 - i7 as it's faster
6058 than sse42 version.
6059 (bit_Prefer_PMINUB_for_stringop): New.
6060 * sysdeps/x86_64/rawmemchr.S: Update.
6061 Replace with faster SSE2 version.
6062 * sysdeps/x86_64/memrchr.S: New file.
6063 * sysdeps/x86_64/memchr.S: Update.
6064 Replace with faster SSE2 version.
6065
6066 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6067
6068 * elf/dl-load.c (lose): Add cast to avoid warning.
6069
6070 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6071
6072 * po/ca.po: Update from translation team.
6073
6074 * inet/getnetgrent_r.c: Hook up nscd.
6075 * nscd/Makefile (routines): Add nscd_netgroup.
6076 (nscd-modules): Add netgroupcache.
6077 (CFLAGS-netgroupcache.c): Define.
6078 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6079 (cache_search): Add const to second parameter.
6080 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6081 INNETGR.
6082 (dbs): Add netgrdb entry.
6083 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6084 (verify_persistent_db): Handle netgrdb.
6085 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6086 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6087 GETFDNETGR.
6088 (netgroup_response_header): Define.
6089 (innetgroup_response_header): Define.
6090 (datahead): Add netgroup_response_header and innetgroup_response_header
6091 elements.
6092 * nscd/nscd.conf: Add entries for netgroup cache.
6093 * nscd/nscd.h (dbtype): Add netgrdb.
6094 (_PATH_NSCD_NETGROUP_DB): Define.
6095 (netgroup_iov_disabled): Declare.
6096 (xmalloc, xcalloc, xrealloc): Move declarations here.
6097 (cache_search): Adjust prototype.
6098 Add netgroup-related prototypes.
6099 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6100 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6101 (__nscd_innetgr): Declare.
6102 * nscd/selinux.c (perms): Use access_vector_t as element type and
6103 add netgroup-related initializers.
6104 * nscd/netgroupcache.c: New file.
6105 * nscd/nscd_netgroup.c: New file.
6106 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6107 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6108 For four parameters use innetgr.
6109 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6110 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6111 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6112 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6113
6114 * nscd/connections.c (register_traced_file): Don't register file
6115 for disabled databases.
6116
6117 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6118
6119 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6120
6121 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6122 from tree and freeing node.
6123
6124 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6125
6126 * nss/nsswitch.c (__nss_database_lookup): Handle
6127 nss_parse_service_list out of memory case.
6128
6129 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6130
6131 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6132 out of memory case.
6133
6134 2011-10-04 Andreas Schwab <schwab@redhat.com>
6135
6136 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6137 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6138 pass it down.
6139 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6140 elf_machine_rela, elf_machine_lazy_rel.
6141 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6142 (ELF_DYNAMIC_DO_REL): Likewise.
6143 (ELF_DYNAMIC_DO_RELA): Likewise.
6144 (ELF_DYNAMIC_RELOCATE): Likewise.
6145 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6146 to ELF_DYNAMIC_DO_REL.
6147 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6148 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6149 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6150 elf_machine_rela.
6151 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6152 skip_ifunc, don't call ifunc function if non-zero.
6153 (elf_machine_rela): Likewise.
6154 (elf_machine_lazy_rel): Likewise.
6155 (elf_machine_lazy_rela): Likewise.
6156 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6157 (elf_machine_lazy_rel): Likewise.
6158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6159 Likewise.
6160 (elf_machine_lazy_rel): Likewise.
6161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6162 Likewise.
6163 (elf_machine_lazy_rel): Likewise.
6164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6165 (elf_machine_lazy_rel): Likewise.
6166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6167 (elf_machine_lazy_rel): Likewise.
6168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6169 (elf_machine_lazy_rel): Likewise.
6170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6171 (elf_machine_lazy_rel): Likewise.
6172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6173 (elf_machine_lazy_rel): Likewise.
6174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6175 (elf_machine_lazy_rel): Likewise.
6176
6177 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6178
6179 * nss/nss_files/files-init.c (_nss_files_init): Use static
6180 initialization for all the *_traced_file variables.
6181
6182 2011-09-28 Andreas Schwab <schwab@redhat.com>
6183
6184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6185
6186 2011-09-27 Roland McGrath <roland@hack.frob.com>
6187
6188 [BZ #13226]
6189 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6190
6191 2011-09-27 Andreas Schwab <schwab@redhat.com>
6192
6193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6194 Reread the line before reparsing it.
6195
6196 2011-09-26 Andreas Schwab <schwab@redhat.com>
6197
6198 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6199
6200 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6201 Maxim Kuvyrkov <maxim@codesourcery.com>
6202 Joseph Myers <joseph@codesourcery.com>
6203
6204 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6205 if needed for __stack_chk_guard.
6206
6207 2011-09-19 Roland McGrath <roland@hack.frob.com>
6208
6209 * sysdeps/posix/spawni.c (script_execute): Always define it.
6210 It will be optimized away if unused.
6211 (maybe_script_execute): New function.
6212 (__spawni): Call it.
6213
6214 * Makerules: Don't include tls.make.
6215 (config-tls): Always set to thread.
6216 * tls.make.c: File removed.
6217
6218 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6219
6220 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6221 * config.make.in (CPPFLAGS-config): New substituted variable.
6222
6223 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6224
6225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6226
6227 [BZ #13192]
6228 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6229 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6230
6231 2011-09-15 Roland McGrath <roland@hack.frob.com>
6232
6233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6234 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6236 (CALL_FAIL): Likewise.
6237 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6238 (CALL_FAIL): Macro removed.
6239 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6240
6241 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6242
6243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6244 for __FINITE_MATH_ONLY__ == 1.
6245
6246 2011-09-15 Andreas Schwab <schwab@redhat.com>
6247
6248 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6249 __ieee754_sqrt instead of sqrt.
6250 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6251 __ieee754_sqrtf instead of sqrtf.
6252 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6253 __floorf instead of floorf.
6254 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6255 __floorf, __truncf instead of floorf, truncf.
6256
6257 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6258
6259 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6260
6261 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6262 __extern_always_inline.
6263 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6264 32-bit.
6265
6266 2011-09-14 Andreas Schwab <schwab@redhat.com>
6267
6268 * elf/rtld.c (dl_main): Also relocate in dependency order when
6269 doing symbol dependency testing.
6270
6271 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6272
6273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6274 Always define `refsym'.
6275
6276 2011-09-13 Andreas Schwab <schwab@redhat.com>
6277
6278 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6279 (__FD_ELT): Renamed from __FDELT.
6280 * misc/bits/select2.h (__FD_ELT): Likewise.
6281 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6282 __FD_MASK instead of __FDELT, __FDMASK.
6283 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6284 Likewise.
6285 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6286 Likewise.
6287
6288 * elf/Makefile (gen-ldd): Fix pattern.
6289
6290 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6291 (init_tls): Likewise.
6292
6293 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6294
6295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6296
6297 2011-09-12 Andreas Schwab <schwab@redhat.com>
6298
6299 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6300 `struct cmsghdr *' instead of `void *'.
6301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6302 Likewise.
6303
6304 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6305
6306 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6307 if non-absolute.
6308 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6309 ldd_rewrite_script.
6310
6311 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6312
6313 * configure.in: Remove --with-tls option.
6314 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6315 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6316 out in case it is missing.
6317 * sysdeps/ia64/elf/configure.in: Likewise.
6318 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6319 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6320 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6321 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6322 * sysdeps/sh/elf/configure.in: Likewise.
6323 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6324 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6325 * sysdeps/x86_64/elf/configure.in: Likewise.
6326 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6327 * sysdeps/mach/hurd/tls.h: Likewise.
6328
6329 [BZ #13067]
6330 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6331
6332 [BZ #13090]
6333 * configure.in: Fix use of AC_INIT.
6334
6335 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6336
6337 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6338
6339 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6340 __set_errno.
6341 * malloc/hooks.c: Likewise.
6342
6343 [BZ #11929]
6344 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6345 variables statically.
6346 (narenas): Initialize.
6347 (list_lock): Initialize.
6348 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6349 initializtion of main_arena and list_lock. Small cleanups.
6350 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6351 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6352 Add initializers to main_arena and mp_.
6353 (malloc_state): Remove pagesize member. Change all users to use
6354 GLRO(dl_pagesize).
6355
6356 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6357 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6358 is always initialized.
6359
6360 * malloc/malloc.c: Removed unused configurations and dead code.
6361 * malloc/arena.c: Likewise.
6362 * malloc/hooks.c: Likewise.
6363 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6364
6365 * include/tls.h: Removed. USE___THREAD must always be defined.
6366 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6367 * elf/dl-libc.c: Likewise.
6368 * elf/dl-tsd.c: Likewise.
6369 * include/errno.h: Likewise.
6370 * include/netdb.h: Likewise.
6371 * include/resolv.h: Likewise.
6372 * inet/herrno-loc.c: Likewise.
6373 * inet/herrno.c: Likewise.
6374 * malloc/arena.c: Likewise.
6375 * malloc/hooks.c: Likewise.
6376 * malloc/malloc.c: Likewise.
6377 * resolv/res-state.c: Likewise.
6378 * resolv/res_libc.c: Likewise.
6379 * sysdeps/i386/dl-machine.h: Likewise.
6380 * sysdeps/ia64/dl-machine.h: Likewise.
6381 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6383 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6384 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6385 * sysdeps/sh/dl-machine.h: Likewise.
6386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6387 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6388 * sysdeps/unix/i386/sysdep.S: Likewise.
6389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6390 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6395 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6400 * sysdeps/x86_64/dl-machine.h: Likewise.
6401 * tls.make.c: Likewise.
6402
6403 * configure.in: Remove --with-__thread option. Make tests for
6404 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6405 tls_model attribute fail if no support is available. Remove
6406 USE_IN_LIBIO.
6407 * Makeconfig: Adjust for dropped configure option. All features are
6408 now mandatory.
6409 * Makerules: Likewise.
6410 * Versions.def: Likewise.
6411 * argp/argp-fmtstream.c: Likewise.
6412 * argp/argp-fmtstream.h: Likewise.
6413 * argp/argp-help.c: Likewise.
6414 * assert/assert.c: Likewise.
6415 * config.h.in: Likewise.
6416 * config.make.in: Likewise.
6417 * configure: Likewise.
6418 * configure.in: Likewise.
6419 * csu/Versions: Likewise.
6420 * csu/init.c: Likewise.
6421 * elf/tst-audit2.c: Likewise.
6422 * elf/tst-tls10.c: Likewise.
6423 * elf/tst-tls10.h: Likewise.
6424 * elf/tst-tls11.c: Likewise.
6425 * elf/tst-tls12.c: Likewise.
6426 * elf/tst-tls14.c: Likewise.
6427 * elf/tst-tlsmod11.c: Likewise.
6428 * elf/tst-tlsmod12.c: Likewise.
6429 * elf/tst-tlsmod13.c: Likewise.
6430 * elf/tst-tlsmod13a.c: Likewise.
6431 * elf/tst-tlsmod14a.c: Likewise.
6432 * elf/tst-tlsmod15b.c: Likewise.
6433 * elf/tst-tlsmod16a.c: Likewise.
6434 * elf/tst-tlsmod16b.c: Likewise.
6435 * elf/tst-tlsmod7.c: Likewise.
6436 * elf/tst-tlsmod8.c: Likewise.
6437 * elf/tst-tlsmod9.c: Likewise.
6438 * gmon/gmon.c: Likewise.
6439 * grp/fgetgrent_r.c: Likewise.
6440 * grp/putgrent.c: Likewise.
6441 * hurd/fopenport.c: Likewise.
6442 * include/libc-symbols.h: Likewise.
6443 * include/tls.h: Likewise.
6444 * intl/gettextP.h: Likewise.
6445 * intl/loadinfo.h: Likewise.
6446 * locale/global-locale.c: Likewise.
6447 * locale/localeinfo.h: Likewise.
6448 * mach/devstream.c: Likewise.
6449 * malloc/arena.c: Likewise.
6450 * malloc/set-freeres.c: Likewise.
6451 * misc/err.c: Likewise.
6452 * misc/getttyent.c: Likewise.
6453 * misc/mntent_r.c: Likewise.
6454 * posix/getopt.c: Likewise.
6455 * posix/wordexp.c: Likewise.
6456 * pwd/fgetpwent_r.c: Likewise.
6457 * resolv/Versions: Likewise.
6458 * resolv/res_hconf.c: Likewise.
6459 * shadow/fgetspent_r.c: Likewise.
6460 * shadow/putspent.c: Likewise.
6461 * stdio-common/printf_fphex.c: Likewise.
6462 * stdio-common/tmpfile.c: Likewise.
6463 * stdlib/abort.c: Likewise.
6464 * stdlib/fmtmsg.c: Likewise.
6465 * sunrpc/auth_unix.c: Likewise.
6466 * sunrpc/clnt_perr.c: Likewise.
6467 * sunrpc/clnt_tcp.c: Likewise.
6468 * sunrpc/clnt_udp.c: Likewise.
6469 * sunrpc/clnt_unix.c: Likewise.
6470 * sunrpc/openchild.c: Likewise.
6471 * sunrpc/svc_simple.c: Likewise.
6472 * sunrpc/svc_tcp.c: Likewise.
6473 * sunrpc/svc_udp.c: Likewise.
6474 * sunrpc/svc_unix.c: Likewise.
6475 * sunrpc/xdr.c: Likewise.
6476 * sunrpc/xdr_array.c: Likewise.
6477 * sunrpc/xdr_rec.c: Likewise.
6478 * sunrpc/xdr_ref.c: Likewise.
6479 * sunrpc/xdr_stdio.c: Likewise.
6480
6481 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6482
6483 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6484
6485 2011-07-03 Andreas Jaeger <aj@suse.de>
6486
6487 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6488 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6489 regenerate with gen-libm-tests.pl.
6490
6491 2010-05-12 Petr Baudis <pasky@suse.cz>
6492
6493 [BZ #11589]
6494 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6495 around j0() zero points by switching to j1().
6496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6500
6501 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6502
6503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6504 instead of 0.
6505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6506 instead of 0. .
6507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6508 Patch in part by Pavel Roskin <proski@gnu.org>.
6509
6510 [BZ #13138]
6511 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6512 realloc.
6513 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6514 Free memory block if necessary.
6515
6516 [BZ #12847]
6517 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6518 be NULL. Don't lock in this case.
6519
6520 2011-09-09 Roland McGrath <roland@hack.frob.com>
6521
6522 * elf/elf.h (ELFOSABI_GNU): New macro.
6523 (ELFOSABI_LINUX): Define to that.
6524
6525 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6526
6527 * string/strncat.c (strncat): Undef the symbol in case it has been
6528 defined in bits/string.h.
6529
6530 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6531
6532 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6533
6534 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6535 link map.
6536
6537 2011-08-17 Andreas Jaeger <aj@suse.de>
6538
6539 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6540
6541 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6542 Ian Lance Taylor <iant@google.com>
6543
6544 * math/libm-test.inc (lround_test): New testcase.
6545 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6546
6547 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6548
6549 * Makefile: Remove support for automatic cvs check-ins.
6550 * Makerules: Likewise.
6551 * config.make.in: Likewise.
6552 * configure.in: Likewise.
6553 * intl/Makefile: Likewise.
6554 * locale/Makefile: Likewise.
6555 * po/Makefile: Likewise.
6556 * posix/Makefile: Likewise.
6557 * sysdeps/gnu/Makefile: Likewise.
6558 * sysdeps/mach/hurd/Makefile: Likewise.
6559 * sysdeps/sparc/sparc32/Makefile: Likewise.
6560
6561 [BZ #13118]
6562 * posix/Makefile (bug-regex32-ENV): Define.
6563 Patch by John Stanley <jpsinthemix@verizon.net>.
6564
6565 * misc/Makefile (headers): Add bits/select2.h.
6566 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6567 * misc/bits/select2.h: New file.
6568 * include/bits/select2.h: New file.
6569 * debug/Makefile (routines): Add fdelt_chk.
6570 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6571 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6572 FD_ISSET.
6573 * debug/fdelt_chk.c: New file.
6574
6575 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6576 * wcsmbs/test-wmemcmp.c: Likewise.
6577 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6578 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6579
6580 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6581
6582 * string/Makefile (strop-tests): Add memcmp.
6583 * string/test-wmemcmp.c: New file.
6584 * string/test-memcmp.c: Add wmemcmp support.
6585
6586 2011-09-08 Roland McGrath <roland@hack.frob.com>
6587
6588 [BZ #13153]
6589 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6590 2011-07-19 change.
6591
6592 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6593 garbage value in a __mach_port_mod_refs call in the cases of the
6594 task-self and thread-self ports.
6595
6596 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6597
6598 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6599
6600 2011-09-08 Andreas Schwab <schwab@redhat.com>
6601
6602 * elf/dl-load.c (lose): Check for non-null L.
6603
6604 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6605
6606 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6607
6608 * elf/dl-libc.c (dlerror_run): Pass back error code from
6609 dl_catch_error.
6610
6611 [BZ #13123]
6612 * elf/dl-load.c (lose): Free l_origin if it is valid.
6613
6614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6615 names.
6616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6621 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6622
6623 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6624
6625 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6626 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6629 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6630 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6631 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6632 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6633 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6634 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6635
6636 2011-08-15 Alan Modra <amodra@gmail.com>
6637
6638 [BZ #13092]
6639 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6640 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6641 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6642 ppc_mcount to static-only-routines.
6643 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6644 __mcount_internal.
6645 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6646 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6647
6648 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6649
6650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6651 for finite and infinity parameters.
6652
6653 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6654
6655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6656 and add nop instructions for throughput optimization.
6657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6658
6659 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6660
6661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6662 aligned copy for power7 with vector-scalar instructions.
6663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6664
6665 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6666
6667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6668 AVX check.
6669
6670 2011-09-07 Andreas Schwab <schwab@redhat.com>
6671
6672 [BZ #13144]
6673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6674 last change.
6675
6676 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6677
6678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6679 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6680 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6681 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6682 clock_gettime.
6683
6684 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6685
6686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6687 Forgot to demangle the pointer.
6688
6689 * sysdeps/i386/sysdep.h: Define atom_text_section.
6690 * sysdeps/x86_64/sysdep.h: Likewise.
6691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6692 section with atom_text_section.
6693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6694 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6696 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6698
6699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6700 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6701 already be defined. Change to take two parameters and don't assign
6702 result to variable. Adjust all users.
6703 Define INTERNAL_GETTIME if not already defined.
6704 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6705 call.
6706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6707 HAVE_CLOCK_GETTIME_VSYSCALL.
6708 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6709
6710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6711 gettimeofday vsyscall, just use time.
6712
6713 2011-09-06 Andreas Schwab <schwab@redhat.com>
6714
6715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6716 <errno.h>.
6717
6718 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6719
6720 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6721 syscall on x86-64.
6722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6723 syscall.
6724 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6726 syscall if possible.
6727
6728 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6729
6730 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6731 e_ident. Don't pass to find_mapsXX.
6732 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6733
6734 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6735
6736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6737 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6738 * sysdeps/x86_64/multiarch/strchr.S: Update.
6739 Check bit_slow_BSF bit.
6740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6743
6744 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6745
6746 [BZ #13134]
6747 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6748 before glibc 2.15.
6749 (tryshell): Define.
6750 (__spawni): Change last parameter to be flag. Test
6751 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6752 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6753 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6754 * posix/spawni.c: Likewise.
6755 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6756 * posix/spawnp.c: Likewise. Change normal version to use
6757 SPAWN_XFLAGS_USE_PATH.
6758 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6759 SPAWN_XFLAGS_TRY_SHELL.
6760
6761 [BZ #13150]
6762 * posix/glob.h: Remove gcc 1.x support.
6763
6764 [BZ #13068]
6765 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6766
6767 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6768
6769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6770 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6771 strrchr-sse2-bsf
6772 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6773 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6774 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6776 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6778
6779 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6780
6781 * sysdeps/x86_64/wcscmp.S: New file.
6782
6783 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6784 wcscmp-c wcscmp-sse2
6785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6786 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6788 * wcsmbs/wcscmp.c: Allow renaming.
6789
6790 2011-09-05 David S. Miller <davem@davemloft.net>
6791
6792 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6793 stack slot, rather than the struct return pointer slot.
6794 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6795 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6797 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6798
6799 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6800
6801 * po/ja.po: Update from translation team.
6802
6803 [BZ #13144]
6804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6805 kernel in 64-bit binaries.
6806
6807 2011-09-01 David S. Miller <davem@davemloft.net>
6808
6809 * elf/elf.h (HWCAP_SPARC_*): Move to..
6810 * sysdeps/sparc/sysdep.h: this new file and add new values.
6811 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6812 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6813 _DL_HWCAP_COUNT to 24.
6814 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6815 entries.
6816 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6817 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6818 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6820 instead of magic constants.
6821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6822
6823 2011-08-31 David S. Miller <davem@davemloft.net>
6824
6825 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6827 Reimplement to do errno handling inline.
6828 (SYSCALL_ERROR_HANDLER): New macro.
6829 (__SYSCALL_STRING): Do not do errno handling in asm.
6830 (__CLONE_SYSCALL_STRING): Delete.
6831 (__INTERNAL_SYSCALL_STRING): Delete.
6832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6833 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6834 (PSEUDO): Reimplement to do errno handling inline.
6835 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6836 (SYSCALL_ERROR_HANDLER): New macro.
6837 (__SYSCALL_STRING): Do not do errno handling in asm.
6838 (__CLONE_SYSCALL_STRING): Delete.
6839 (__INTERNAL_SYSCALL_STRING): Delete.
6840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6841 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6842 i386.
6843 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6844 (inline_syscall*): Add 'err' argument.
6845 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6846 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6847 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6848 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6849
6850 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6851 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6852
6853 2011-08-30 Andreas Schwab <schwab@redhat.com>
6854
6855 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6856
6857 2011-08-29 Jiri Olsa <jolsa@redhat.com>
6858
6859 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6860 directive.
6861
6862 2011-08-24 David S. Miller <davem@davemloft.net>
6863
6864 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6865
6866 2011-08-24 Andreas Schwab <schwab@redhat.com>
6867
6868 * elf/Makefile: Add rules to build and run unload8 test.
6869 * elf/unload8.c: New file.
6870 * elf/unload8mod1.c: New file.
6871 * elf/unload8mod1x.c: New file.
6872 * elf/unload8mod2.c: New file.
6873 * elf/unload8mod3.c: New file.
6874
6875 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6876 it wasn't used.
6877
6878 2011-08-23 David S. Miller <davem@davemloft.net>
6879
6880 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6881 subtract stack bias.
6882 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6883 %sp not %fp in calculations.
6884 (_JMPBUF_UNWINDS_ADJ): Likewise.
6885
6886 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6887 (aio_suspend): Call it to force an exception region around the
6888 AIO_MISC_WAIT() invocation.
6889
6890 2011-08-23 Andreas Schwab <schwab@redhat.com>
6891
6892 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6893 backslash.
6894
6895 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6896
6897 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6898 protection macro.
6899 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6900 and <dl-machine.h>.
6901 (Elf64_FuncDesc): Remove.
6902
6903 2011-08-22 David S. Miller <davem@davemloft.net>
6904
6905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6906 sigaltstack check, add missing cfi directives.
6907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6908 missing cfi directives, and sigaltstack handling.
6909
6910 2011-08-16 Andreas Schwab <schwab@redhat.com>
6911
6912 [BZ #11724]
6913 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6914 object is seen twice.
6915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6916
6917 * elf/Makefile (distribute): Add tst-initorder2.c.
6918 (tests): Add tst-initorder2.
6919 (modules-names): Add tst-initorder2a tst-initorder2b
6920 tst-initorder2c tst-initorder2d. Add rules to build them.
6921 ($(objpfx)tst-initorder2.out): New rule.
6922 * elf/tst-initorder2.c: New file.
6923 * elf/tst-initorder2.exp: New file.
6924
6925 2011-08-22 Andreas Schwab <schwab@redhat.com>
6926
6927 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6928
6929 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6930 dependencies back to end of function.
6931
6932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6933 $(elfobjdir)/ld.so.
6934
6935 2011-08-21 Ulrich Drepper <drepper@gmail.com>
6936
6937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6938 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6940 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6941 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6942 of __vdso_gettimeofday.
6943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6944 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6945 attribute_hidden.
6946 (_libc_vdso_platform_setup): Remove initialization of
6947 __vdso_gettimeofday and __vdso_time.
6948
6949 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6950
6951 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6952 and fgetc_unlocked.
6953 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6954 getc_unlocked.
6955
6956 * elf/dl-open.c (add_to_global): Report additions to the global scope
6957 for LD_DEBUG=scopes.
6958 (dl_open_worker): Also print scope of newly loaded dependencies.
6959 (_dl_show_scope): Indicate if there is no scope.
6960
6961 [BZ #13114]
6962 * stdio-common/Makefile (tests): Add bug24.
6963 * stdio-common/bug24.c: New file.
6964
6965 2011-08-19 Andreas Jaeger <aj@suse.de>
6966
6967 [BZ #13114]
6968 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6969 non-existant file when using close-on-exec mode.
6970
6971 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6972
6973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6974 the very first instruction.
6975
6976 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6977 the CFI state in the end.
6978 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6979 inclusion of dl-trampoline.h.
6980 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6981
6982 2011-08-19 Andreas Schwab <schwab@redhat.com>
6983
6984 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6985 expectations for long double.
6986
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6988 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6989
6990 2011-08-14 David S. Miller <davem@davemloft.net>
6991
6992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6993 artificual limit depends upon the system page size.
6994
6995 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6996
6997 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6998 * resolv/Makefile: Define CFLAGS-libresolv.
6999
7000 2011-08-17 Andreas Schwab <schwab@redhat.com>
7001
7002 * nss/makedb.c (compute_tables): Make variables used in nested
7003 function static.
7004
7005 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7006
7007 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7008 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7009 if buffer was too small.
7010
7011 * elf/pldd.c (main): Attach to all threads in the process.
7012 Rewrite /proc handling to use *at functions.
7013
7014 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7015
7016 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7017 specifies first scope to show.
7018 (dl_open_worker): Update callers. Move printing scope of new
7019 object to before the relocation.
7020 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7021 * sysdeps/generic/ldsodefs.h: Update declaration.
7022
7023 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7024 string for the scope number.
7025
7026 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7027
7028 * nscd/servicescache.c (cache_addserv): Make sure written is always
7029 initialized.
7030
7031 2011-08-14 Roland McGrath <roland@hack.frob.com>
7032
7033 * sysdeps/i386/i486/bits/atomic.h
7034 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7035 statement expression, so as to suppress "set but not used" warning.
7036 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7037
7038 * string/strncat.c (STRNCAT): Use prototype definition.
7039
7040 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7041 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7042 -Iprograms here.
7043 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7044 (localedef-modules): Add localedef.
7045 (locale-modules): Add locale.
7046
7047 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7048 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7049 to avoid a warning.
7050
7051 2011-08-14 David S. Miller <davem@davemloft.net>
7052
7053 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7054 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7055
7056 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7057
7058 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7059 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7060 * elf/rtld.c (dl_main): Set l_name of vDSO.
7061 Call _dl_show_scope when DL_DEBUG_SCOPES.
7062 (process_dl_debug): Recognize scopes flag and also set it for all.
7063 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7064 Declare _dl_show_scope.
7065
7066 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7067 (do_dlopen): Pass caller_dlopen to dl_open.
7068 (__libc_dlopen_mode): Initialize caller_dlopen.
7069
7070 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7071 of libc. Make tolower call locale-independent. Optimize a bit by
7072 using isdigit instead of isalnum.
7073 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7074
7075 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7076
7077 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7078 was a dependency or dynamically loaded.
7079
7080 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7081
7082 * intl/l10nflist.c: Allow architecture-specific pop function.
7083 * sysdeps/x86_64/l10nflist.c: New file.
7084
7085 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7086 classification.
7087
7088 2011-08-10 Andreas Schwab <schwab@redhat.com>
7089
7090 * include/dirent.h: Add libc_hidden_proto for scandirat and
7091 scandirat64. Don't declare __scandirat64.
7092 * dirent/scandirat.c: Add libc_hidden_def.
7093 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7094 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7095
7096 2011-08-10 David S. Miller <davem@davemloft.net>
7097
7098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7099 enum.
7100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7103
7104 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7105
7106 * Versions.def [libc]: Add GLIBC_2.15.
7107 * dirent/Makefile (routines): Add scandirat and scandirat64.
7108 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7109 GLIBC_2.15.
7110 * dirent/dirent.h: Declare scandirat and scandirat64.
7111 * dirent/scandirat.c: New file.
7112 * dirent/scandirat64.c: New file.
7113 * sysdeps/wordsize-64/scandirat.c: New file.
7114 * sysdeps/wordsize-64/scandirat64.c: New file.
7115 * dirent/opendir.c: Define opendirat.
7116 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7117 using scandirat.
7118 * dirent/scandir64.c: Adjust for scandir.c change.
7119 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7120 __scandirat64, and __scandir_cancel_handler.
7121 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7122 additional parameter and use openat instead of open (outside of ld.so).
7123 Add new __opendir as wrapper around __opendirat.
7124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7125 here without requiring old scandirat implementation.
7126
7127 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7128
7129 * dirent/scandir.c (cancel_handler): Renamed to
7130 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7131 defined. Adjust users.
7132 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7134
7135 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7136
7137 * string/test-string.h (IMPL): Use __STRING to expand name and then
7138 stringify it.
7139
7140 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7141 of cleanups.
7142
7143 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7144
7145 * string/Makefile: Update.
7146 (strop-tests): Append strncat.
7147 * string/test-wcscmp.c: New file.
7148 New comprehensive test for wcscmp.
7149 * string/test-strcmp.c: Update.
7150 (WIDE): New define.
7151
7152 2011-07-22 Andreas Schwab <schwab@redhat.com>
7153
7154 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7155 line.
7156
7157 2011-07-26 Andreas Schwab <schwab@redhat.com>
7158
7159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7160 encoding to ACE if AI_IDN.
7161
7162 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7163
7164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7165 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7166
7167 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7168
7169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7170 Fix overflow bug in strncat.
7171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7172
7173 * string/test-strncat.c: Update.
7174 Add new tests for checking overflow bugs.
7175
7176 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7177
7178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7179 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7180 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7181 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7183 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7184 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7185 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7186 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7187
7188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7189 (USE_AS_STRCAT): Define.
7190 Add strcat and strncat support.
7191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7192
7193 2011-07-25 Andreas Schwab <schwab@redhat.com>
7194
7195 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7196 __n bigger than INT_MAX+1.
7197 (__strncmp_g): Likewise.
7198
7199 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7200
7201 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7202 * libio/stido.h: Likewise.
7203
7204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7205 (AF_NFC): Define.
7206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7207 (AF_NFC): Define.
7208
7209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7212 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7214
7215 [BZ #13021]
7216 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7217 installed.
7218
7219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7220 typo.
7221 (_dl_x86_64_save_sse): Likewise.
7222
7223 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7224
7225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7226 OSXSAVE.
7227 (_dl_x86_64_save_sse): Likewise.
7228
7229 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7230
7231 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7232
7233 2011-07-21 Andreas Schwab <schwab@redhat.com>
7234
7235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7236 change.
7237 (_dl_x86_64_save_sse): Use correct AVX check.
7238
7239 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7240
7241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7242 bug in strncpy/strncat.
7243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7244
7245 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7246
7247 * string/tester.c (test_strcat): Add tests for different alignments
7248 of source and destination.
7249 (test_strncat): Likewise.
7250
7251 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7252
7253 [BZ #12852]
7254 * posix/glob.c (glob): Check passed in values before using them in
7255 expressions to avoid some overflows.
7256 (glob_in_dir): Likewise.
7257
7258 [BZ #13007]
7259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7260 check for AVX enablement so that we don't crash with old kernels and
7261 new hardware.
7262 * elf/tst-audit4.c: Add same checks here.
7263 * elf/tst-audit6.c: Likewise.
7264
7265 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7266
7267 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7268
7269 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7270
7271 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7272
7273 * po/cs.po: Update from translation team.
7274 * po/bg.po: Likewise.
7275
7276 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7277
7278 * misc/sys/cdefs.h: Add support for const attribute.
7279 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7280 to gnu_dev_{major,minor,makedev} functions.
7281
7282 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7283
7284 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7285
7286 2011-07-20 Andreas Schwab <schwab@redhat.com>
7287
7288 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7289 strlen results.
7290
7291 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7292
7293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7294 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7295 register in order to avoid conflicts with the soft frame pointer
7296 being held in r11 when necessary.
7297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7298 (INTERNAL_VSYSCALL_NCS): Likewise.
7299
7300 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7301
7302 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7303 * elf/dl-fini.c (_dl_fini): Adjust caller.
7304 * elf/dl-close.c (_dl_close_worker): Likewise.
7305 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7306
7307 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7308
7309 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7310 "aux_cache->nlibs < 0".
7311
7312 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7313 in the reload-count case.
7314
7315 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7316
7317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7318 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7319 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7320 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7321 * sysdeps/x86_64/multiarch/strcat.S: New file.
7322 * sysdeps/x86_64/multiarch/strncat.S: New file.
7323 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7325 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7326 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7328 (USE_AS_STRCAT): Define.
7329 Add strcat and strncat support.
7330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7332 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7333 * string/strncat.c: Update.
7334 (USE_AS_STRNCAT): Define.
7335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7336 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7337 and i7.
7338 * sysdeps/x86_64/multiarch/init-arch.h
7339 (bit_Prefer_PMINUB_for_stringop): New.
7340 (index_Prefer_PMINUB_for_stringop): Likewise.
7341 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7342 bit_Prefer_PMINUB_for_stringop.
7343
7344 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7345
7346 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7347 buffer64.
7348 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7349 of casting of buffer.
7350 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7351 buffer32 and buffer64.
7352 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7353 writes instead of casting of buffer.
7354 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7355 buffer32.
7356 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7357 casting of buffer.
7358
7359 2011-07-19 Andreas Schwab <schwab@redhat.com>
7360
7361 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7362
7363 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7364
7365 * nscd/nscd.c (termination_handler): Don't do anything for a database
7366 if it has not yet been initialized.
7367
7368 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7369
7370 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7371
7372 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7373
7374 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7375
7376 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7377
7378 * po/nl.po: Update from translation team.
7379 * po/sv.po: Likewise.
7380
7381 2011-07-16 Roland McGrath <roland@hack.frob.com>
7382
7383 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7384 now disallowed by GCC.
7385
7386 * configure.in (use-default-link): Default to yes if a test -shared
7387 link meets our qualifications.
7388 * configure: Regenerated.
7389
7390 * config.make.in (output-format): New variable.
7391 * configure.in: Check for ld --print-output-format support.
7392 * configure: Regenerated.
7393 * Makerules ($(common-objpfx)format.lds)
7394 [$(output-format) != unknown]: Just use $(output-format),
7395 instead of the linker-script munging.
7396
7397 2011-07-14 Roland McGrath <roland@hack.frob.com>
7398
7399 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7400 of $(common-objpfx)shlib.lds.
7401 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7402
7403 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7404 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7405
7406 * configure.in (-z relro check): Adjust test code to add a large
7407 writable data section after it.
7408 * configure: Regenerated.
7409
7410 2011-07-11 Roland McGrath <roland@hack.frob.com>
7411
7412 * configure.in (-z relro check): Fix test code to make the variable
7413 truly const.
7414 * configure: Regenerated.
7415
7416 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7417
7418 * nscd/nscd.h (struct traced_file): Define.
7419 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7420 elements. Add traced_files.
7421 (inotify_fd): Declare.
7422 (register_traced_file): Declare.
7423 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7424 (inotify_fd): Export.
7425 (resolv_conf_descr): Remove.
7426 (nscd_init): Move inotify descriptor creation to main.
7427 Don't register files for notification here.
7428 (register_traced_file): New function.
7429 (invalidate_cache): Don't use reset_res to determine whether to call
7430 res_init, go through the list of registered files.
7431 (main_loop_poll): The inotify descriptors are now stored in the
7432 structures for the traced files.
7433 (main_loop_epoll): Likewise
7434 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7435 to __nss_disable_nscd.
7436 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7437 for a database anymore. Check the records for all the registered
7438 files instead.
7439 * nss/Makefile (libnss_files-routines): Add files-init.
7440 (libnss_db-routines): Add db-init.
7441 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7442 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7443 * nss/nss_db/db-init.c: New file.
7444 * nss/nss_files/files-init.c: New file.
7445 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7446 __nss_lookup_function.
7447 (__nss_lookup_function): Call nss_load_library.
7448 (nss_load_all_libraries): New function.
7449 (__nss_disable_nscd): Take parameter with callback function for files
7450 to register. Set is_nscd. Load all the DSOs for the NSS modules
7451 used for the cached services.
7452 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7453 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7454 options for features to all the files in nscd.
7455
7456 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7457
7458 2011-07-10 Roland McGrath <roland@hack.frob.com>
7459
7460 * csu/elf-init.c (__libc_csu_init): Comment typo.
7461
7462 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7463
7464 * po/pl.po: Update from translation team.
7465 * po/ja.po: Likewise.
7466 * po/ru.po: Likewise.
7467 * po/ko.po: Likewise.
7468 * po/fr.po: Likewise.
7469
7470 2011-07-09 Roland McGrath <roland@hack.frob.com>
7471
7472 * configure.in (.ctors/.dtors header and trailer check):
7473 Use an empirical test on a built program.
7474 * configure: Regenerated.
7475
7476 * configure.in (-z relro check): Use an empirical test on a built DSO.
7477 Detect, but do not require, on ia64.
7478 * configure: Regenerated.
7479
7480 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7481 Update tests that use readelf to use $READELF instead.
7482 * configure: Regenerated.
7483
7484 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7485
7486 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7487 if the result is not used.
7488
7489 2011-07-05 Andreas Jaeger <aj@suse.de>
7490
7491 [BZ#9696]
7492 * stdlib/tst-strtod.c: Add testcase.
7493
7494 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7495
7496 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7497 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7498 The latter has a higher limit. Take additional parameter to pass to
7499 the new function.
7500 (__pathconf): Pass file to __statfs_link_max.
7501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7502 __statfs_link_max.
7503 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7504 __statfs_link_max.
7505
7506 [BZ #12868]
7507 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7509 Handle Lustre.
7510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7511 (__statfs_filesize_max): Likewise.
7512 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7513
7514 2011-07-05 Andreas Jaeger <aj@suse.de>
7515
7516 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7517
7518 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7519
7520 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7521 `status' variable.
7522 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7523 Likewise.
7524
7525 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 * Makefile (strop-tests): Add strncat.
7528 * string/test-strncat.c: New file.
7529
7530 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7531
7532 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7533
7534 2011-06-21 Andreas Jaeger <aj@suse.de>
7535
7536 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7537 Copy rule from iconvdata/Makefile.
7538
7539 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7540
7541 [BZ #12922]
7542 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7543 but no long options are defined, just return 'W'.
7544
7545 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7546
7547 [BZ #9696]
7548 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7549
7550 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7551
7552 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7553 netgroups to read.
7554 (innetgr): Likewise.
7555
7556 2011-07-05 Roland McGrath <roland@hack.frob.com>
7557
7558 * config.make.in (install_root): Default to $(DESTDIR).
7559
7560 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7561
7562 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7563
7564 2011-07-02 Roland McGrath <roland@hack.frob.com>
7565
7566 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7567
7568 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7569 containing directory rather than embedding absolute directory names.
7570
7571 * scripts/check-local-headers.sh: Rewritten using awk.
7572 Match by word, not by line. Print error messages for matches.
7573 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7574
7575 * Makerules [shlib-lds-flags empty]:
7576 ($(common-objpfx)libc_pic.opts): New target.
7577 ($(common-objpfx)libc_pic.os.clean): New target.
7578 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7579
7580 * config.make.in (OBJCOPY): New variable.
7581 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7582 * configure: Regenerated.
7583
7584 * config.make.in (use-default-link): New variable.
7585 * configure.in (use_default_link): Grok --with-default-link to set it.
7586 * configure: Regenerated.
7587 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7588 (shlib-lds, shlib-lds-flags): Define to empty.
7589
7590 * Makerules (shlib-lds): New variable.
7591 (shlib-lds-flags): New variable.
7592 (build-shlib, build-moduile, build-module-asneeded): Use it.
7593 ($(common-objpfx)libc.so): Use $(shlib-lds).
7594 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7596
7597 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7598 DT_FLAGS/DT_FLAGS_1 with zero flags.
7599
7600 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7601 linker script munging.
7602
7603 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7604
7605 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7606 as 128-bit value.
7607 * crypt/sha512.c (sha512_process_block): Perform total addition using
7608 128-bit if possible.
7609 (__sha512_finish_ctx): Likewise.
7610 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7611 as 64-bit value.
7612 * crypt/sha256.c (SWAP64): Define.
7613 (sha256_process_block): Perform total addition using 64-bit if
7614 possible.
7615 (__sha256_finish_ctx): Likewise.
7616
7617 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7618
7619 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7621 * nscd/hstcache.c (cache_addhst): Likewise.
7622 * nscd/grpcache.c (cache_addgr): Likewise.
7623 * nscd/aicache.c (addhstaiX): Likewise
7624 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7625
7626 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7627
7628 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7630 * nscd/hstcache.c (cache_addhst): Likewise.
7631 * nscd/grpcache.c (cache_addgr): Likewise.
7632 * nscd/aicache.c (addhstaiX): Likewise
7633
7634 2011-07-01 Andreas Schwab <schwab@redhat.com>
7635
7636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7637 domain only when needed.
7638
7639 2011-06-30 Andreas Schwab <schwab@redhat.com>
7640
7641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7642 is always restored.
7643
7644 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7645
7646 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7647 are re-adding the entry.
7648 * nscd/servicescache.c (cache_addserv): Likewise.
7649
7650 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7651
7652 * sysdeps/generic/dl-irel.h: fix protection against multiple
7653 inclusions.
7654 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7655
7656 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7657
7658 [BZ #12935]
7659 * malloc/memusage.sh: Fix quoting in message.
7660 * debug/xtrace.sh: Likewise.
7661
7662 * configure.in: Remove support for --experimental-malloc option, make
7663 it the default.
7664 * config.make.in: Likewise.
7665 * malloc/Makefile: Likewise.
7666
7667 2011-06-27 Andreas Schwab <schwab@redhat.com>
7668
7669 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7670 two-byte characters.
7671
7672 2011-06-27 Roland McGrath <roland@hack.frob.com>
7673
7674 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7675 AC_CACHE_CHECK invocation.
7676 * configure: Regenerated.
7677
7678 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7679
7680 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7681
7682 [BZ #12350]
7683 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7684 bit from old_res_options.
7685
7686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7687
7688 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7689 value type for setfct.
7690
7691 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7692
7693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7694 __gettimeofday instead of gettimeofday.
7695
7696 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7697
7698 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7699
7700 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7701
7702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7703
7704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7705 info.
7706
7707 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7708
7709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7710 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7711 strcpy-sse2-unaligned strncpy-sse2-unaligned
7712 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7713 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7714 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7715 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7716 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7719 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7720 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7721 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7722 (STRCPY): Support SSE2 and SSSE3 versions.
7723
7724 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7725
7726 [BZ #12874]
7727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7728 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7729 kernels which artificially limit size of requests.
7730
7731 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7734 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7735 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7736 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7737 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7738 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7739 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7740 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7743 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7744 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7745 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7746 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7747 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7749 Enable unaligned load optimization for Intel Core i3, i5 and i7
7750 processors.
7751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7752 Define.
7753 (index_Fast_Unaligned_Load): Define.
7754 (HAS_FAST_UNALIGNED_LOAD): Define.
7755
7756 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7757
7758 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7759
7760 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7761
7762 [BZ #12907]
7763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7764 until it is clear that the information is realy needed.
7765 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7766
7767 2011-06-22 Andreas Schwab <schwab@redhat.com>
7768
7769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7770
7771 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7772
7773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7774 /sys/devices/system/cpu/online if it is usable.
7775
7776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7777 reading the information from the /proc filesystem to once a second.
7778
7779 2011-06-21 Andreas Jaeger <aj@suse.de>
7780
7781 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7782 NULL after inclusion of kernel headers.
7783
7784 2011-06-21 Ulrich Drepper <drepper@gmail.com>
7785
7786 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7787 calls to internal_setent.
7788
7789 [BZ #12885]
7790 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7791 addresses using gethostbyname4_r ignore IPv4 addresses.
7792
7793 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7794 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7795
7796 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7797
7798 2011-06-20 David S. Miller <davem@davemloft.net>
7799
7800 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7801 inclusions.
7802 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7803
7804 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7805 (elf_irel): Use it.
7806 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7807 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7808 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7809 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7810 * sysdeps/x86_64/dl-irel.h: Likewise.
7811
7812 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7813 * elf/dl-sym.c: Likewise.
7814
7815 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7816
7817 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7818 need to dereference resplen2.
7819
7820 2011-06-14 Andreas Schwab <schwab@redhat.com>
7821
7822 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7823
7824 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7825
7826 * Makeconfig: Define vardbdir and inst_vardbdir.
7827 * nss/Makefile: Add rules to install db-Makefile.
7828
7829 * nss/nss_db/db-XXX.c: Cleanup.
7830
7831 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7832 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7833 GLIBC_PRIVATE.
7834 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7835 * nss/makedb.c: Implement -g option to specify that value strings
7836 are generated and should not be added to table iterated over for
7837 get*ent calls.
7838 * nss/nss_db/db-initgroups.c: New file.
7839
7840 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7841 interface.
7842
7843 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7844 (internal_getgrouplist): Adjust to name change.
7845 Update use_initgroups_entry if this is not the first call.
7846 * nss/databases.def: Add initgroups entry.
7847
7848 * nss/makedb.c (compute_tables): Check result of multiple hash table
7849 sizes to minimize maximum chain length.
7850
7851 2011-06-14 Ulrich Drepper <drepper@gmail.com>
7852
7853 * Versions.def: Add entry for libnss_db.
7854 * shlib-versions: Likewise.
7855 * nss/Makefile: Add rules to build libnss_db.
7856 * nss/Versions: Add libnss_db information. Organize libnss_files
7857 entries better.
7858 * nss/db-Makefile: Add gshadow support. Change rules for the new
7859 makedb progra. Some minor improvements to generate smaller files.
7860 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7861 here from...
7862 * nss/makedb.c: ...here.
7863 Improve database format to be smaller and require less memory at
7864 runtime.
7865 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7866 db anymore.
7867 * nss/nss_db/db-netgrp.c: Likewise.
7868 * nss/nss_db/db-open.c: Likewise.
7869 * nss/nss_files/flies-XXX.x: Adjust comments.
7870 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7871 * nss/nss_files/files-grp.c: Likewise.
7872 * nss/nss_files/files-hosts.c: Likewise.
7873 * nss/nss_files/files-network.c: Likewise.
7874 * nss/nss_files/files-proto.c: Likewise.
7875 * nss/nss_files/files-pwd.c: Likewise.
7876 * nss/nss_files/files-rpc.c: Likewise.
7877 * nss/nss_files/files-service.c: Likewise.
7878 * nss/nss_files/files-sgrp.c: Likewise.
7879 * nss/nss_files/files-spwd.c: Likewise.
7880 * nss/nss_db/db-alias.c: Removed.
7881 * nss/nss_db/dummy-db.h: Removed.
7882
7883 2011-06-02 Ulrich Drepper <drepper@gmail.com>
7884
7885 * nss/makedb.c: Rewritten to not use database library.
7886 * nss/Makefile: Update to build new makedb program.
7887
7888 2011-06-14 Andreas Jaeger <aj@suse.de>
7889
7890 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7891 memset declaration.
7892
7893 2011-06-10 Andreas Schwab <schwab@redhat.com>
7894
7895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7896 tmpbuf.
7897
7898 2011-06-10 Roland McGrath <roland@hack.frob.com>
7899
7900 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7901 * elf/Makefile ($(objpfx)ld.so): Likewise.
7902
7903 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7904 Don't list ld.so twice in dependencies.
7905
7906 * posix/bug-regex31.c: Include <stdlib.h>.
7907
7908 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7909
7910 * nis/nss_compat/compat-spwd.c
7911 (getspent_next_nss_netgr): Remove unused variable.
7912 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7913
7914 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7915 nonmembers" output to use the right array.
7916
7917 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7918
7919 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7920
7921 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7922 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7923 * catgets/gencat.c (read_input_file): Likewise.
7924 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7925
7926 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7927 variable definition inside #if's controlling its use.
7928
7929 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7930
7931 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7932
7933 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7934
7935 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7936 unreachable code.
7937
7938 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7939
7940 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7941 * configure: Regenerated.
7942
7943 * Makerules: Revert last change.
7944 * elf/Makefile: Likewise.
7945
7946 2011-06-09 Roland McGrath <roland@hack.frob.com>
7947
7948 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7949 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7950 (reloc-link): Likewise.
7951
7952 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7953
7954 * elf/Makefile: Add rules to build pldd.
7955 * elf/pldd.c: New file.
7956 * elf/pldd-xx.c: New file.
7957
7958 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7959
7960 * version.h: Update for 2.15 development version.
7961
7962 2011-06-07 David S. Miller <davem@davemloft.net>
7963
7964 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7965 ifuncs.
7966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7967 elf_machine_lazy_rel): Likewise.
7968 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7970 elf_machine_lazy_rel): Likewise.
7971 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7972 dl_hwcap via passed in argument.
7973 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7974 Likewise.
7975
7976 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7977
7978 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7979
7980 2011-06-06 Roland McGrath <roland@hack.frob.com>
7981
7982 [BZ #12849]
7983 * manual/fdl-1.1.texi: New file, verbatim from:
7984 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7985 * manual/lgpl-2.1.texi: New file, verbatim from:
7986 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7987 * manual/Makefile (licenses): New variable, list those new file names.
7988 (texis): Use it.
7989 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7990
7991 * manual/fdl.texi: File removed.
7992 * manual/lesser.texi: File removed.
7993 * manual/libc.texinfo (Copying, Documentation License):
7994 Use new @include file names, put @appendix directive before @include.
7995
7996 2011-06-04 Jakub Jelinek <jakub@redhat.com>
7997
7998 [BZ #12841]
7999 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8000 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8001 (mq_open): Add __NTH.
8002
8003 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8006 Assume Intel Core i3/i5/i7 processor if AVX is available.
8007
8008 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8009
8010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8011 typo.
8012
8013 2011-05-31 Andreas Schwab <schwab@redhat.com>
8014
8015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8016 memory. Use alloca_account. Fix memory leak when retrying.
8017
8018 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8019
8020 * version.h (RELEASE): Bump for 2.14 release.
8021 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8022
8023 * config.make.in (RANLIB): Remove entry.
8024
8025 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8026
8027 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8028 (libc.pot): Work around missing support for .ksh extension in xgettext.
8029
8030 [BZ #12684]
8031 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8032 if both request failed.
8033 (send_dg): In case of server errors clear resplen or *resplen2.
8034
8035 [BZ #12454]
8036 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8037 when there are multiple maps.
8038 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8039 (_dl_fini): Remove test here.
8040
8041 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8042
8043 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8044
8045 [BZ #12350]
8046 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8047 bit from old_res_options.
8048 (gaih_inet): Likewise.
8049
8050 [BZ #11099]
8051 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8052 as signed.
8053
8054 * resolv/res_init.c (res_setoptions): Make the code more compact.
8055
8056 [BZ #11558]
8057 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8058 set RES_USEVC.
8059
8060 [BZ #11634]
8061 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8062
8063 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8064
8065 [BZ #11781]
8066 * malloc/malloc.h: Declare malloc hook variables as volatile.
8067
8068 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8069 in last patch.
8070
8071 [BZ #11799]
8072 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8073 raise in the comment.
8074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8076 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8077
8078 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8079
8080 [BZ #12811]
8081 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8082 grow the buffers more if it already has to be sufficient.
8083 (build_wcs_upper_buffer): Likewise.
8084 * posix/regexec.c (check_matching): Likewise.
8085 (clean_state_log_if_needed): Likewise.
8086 (extend_buffers): Don't enlarge buffers beyond size of the input
8087 buffer.
8088 Patches mostly by Emil Wojak <emil@wojak.eu>.
8089 * posix/bug-regex32.c: New file.
8090 * posix/Makefile (tests): Add bug-regex32.
8091
8092 * locale/findlocale.c (_nl_find_locale): Return right away if
8093 _nl_explode_name failed.
8094 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8095
8096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8097
8098 * debug/xtrace.sh: Unify messages.
8099 * malloc/memusage.sh: Likewise.
8100
8101 [BZ #12813]
8102 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8103 time symbol from vDSO. Substitute with vsyscall if not available.
8104 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8105 __vdso_time.
8106
8107 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8108 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8109 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8110 Add sendmmsg and internal_sendmmsg.
8111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8114
8115 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8116 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8118
8119 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8120
8121 [BZ #12813]
8122 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8123 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8124 available.
8125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8126 __vdso_getcpu.
8127
8128 [BZ #12814]
8129 * iconvdata/Makefile (tests): Add bug-iconv9.
8130 * iconvdata/bug-iconv9.c: New file.
8131
8132 2011-05-27 Andreas Schwab <schwab@redhat.com>
8133
8134 [BZ #12814]
8135 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8136
8137 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8138
8139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8140 (struct user_regs_struct): Change intcs field back to cs.
8141
8142 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8143
8144 * po/ja.po: Update from translation team.
8145
8146 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8147
8148 [BZ #12795]
8149 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8151
8152 2011-05-20 Andreas Schwab <schwab@redhat.com>
8153
8154 * stdlib/longlong.h: Update from GCC.
8155
8156 2011-05-23 Andreas Schwab <schwab@redhat.com>
8157
8158 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8159 parameter name.
8160 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8161 Add parameter name.
8162 (__sysconf): Pass it down.
8163
8164 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8165
8166 [BZ #12671]
8167 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8168 some situations.
8169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8170 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8171 add in in __libc_use_alloca calls. Adjust callers.
8172 (glob): Use malloc in some situations.
8173
8174 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8175 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8176 pltexit.
8177
8178 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8179
8180 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8181 and CLOCK_BOOTTIME_ALARM.
8182
8183 [BZ #12782]
8184 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8185 is returned.
8186
8187 * string/_strerror.c (__strerror_r): Print negative errors as signed
8188 numbers.
8189
8190 [BZ #12777]
8191 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8192 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8193 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8194
8195 * configure.in: Fix typo in redirection and correct removal of test
8196 files in two cases.
8197
8198 [BZ #12788]
8199 * locale/setlocale.c (new_composite_name): Fix test to check for
8200 identical name of all categories.
8201
8202 [BZ #12792]
8203 * libio/filedoalloc.c (local_isatty): New function.
8204 (_IO_file_doallocate): Use local_isatty.
8205 * stdio-common/perror.c (perror): In case a new stream is used
8206 forward the stream error.
8207 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8208 error flag.
8209
8210 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8211
8212 [BZ #11869]
8213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8214 alloca.
8215 * include/alloca.h (extend_alloca_account): Define.
8216
8217 [BZ #11857]
8218 * posix/regex.h: Fix comments with documentation of user-accessible
8219 fields after compilation and describe correct free'ing of pattern
8220 after re_compile_pattern.
8221 Patch by Reuben Thomas <rrt@sc3d.org>.
8222
8223 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8224
8225 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8226 and -mno-altivec to prevent the compiler from using Altivec and/or
8227 VSX instructions when the corresponding registers are not available.
8228
8229 2011-05-19 Andreas Schwab <schwab@redhat.com>
8230
8231 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8232
8233 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8234
8235 * libio/freopen.c (freopen): Use __dup2, not dup2.
8236 * libio/freopen64.c (freopen64): Likewise.
8237
8238 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8239
8240 [BZ #12775]
8241 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8242 * math/Makefile (tests): Add test-powl.
8243 (CFLAGS-test-powl.c): Define.
8244 * math/test-powl.c: New file.
8245
8246 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8247
8248 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8249
8250 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8251
8252 [BZ #11837]
8253 * iconvdata/gb18030.c: Update to GB18020-2005.
8254
8255 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8256
8257 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8258 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8259 Patch by Aharon Robbins <arnold@skeeve.com>.
8260
8261 [BZ #11892]
8262 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8263 on the stack.
8264
8265 [BZ #11895]
8266 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8267 through underflows.
8268
8269 [BZ #12766]
8270 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8271 point to strings before performing equality test for error_one_per_line
8272 mode.
8273
8274 [BZ #11697]
8275 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8276
8277 [BZ #11820]
8278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8279 (struct user_fpregs_struct): Avoid __uint*_t types.
8280
8281 [BZ #6420]
8282 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8283 symbol info. Use it instead of calling _dl_addr locally.
8284 (lock_and_info): New function.
8285 (tr_freehook): Call lock_and_info and pass symbol info as additional
8286 parameter to tr_where.
8287 (tr_mallochook): Likewise.
8288 (tr_reallochook): Likewise.
8289 (tr_memalignhook): Likewise.
8290
8291 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8292 used and couldn't be at all thread-safe.
8293
8294 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8295
8296 * libio/freopen.c (freopen): Don't close old file descriptor
8297 before the new one is opened. Instead dup the new file descriptor
8298 to the old one after the new stream is created.
8299 * libio/freopen64.c (freopen64): Likewise.
8300 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8301 * libio/fileops.c (_IO_new_file_close_it): Handle new
8302 _IO_FLAGS2_NOCLOSE flag.
8303 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8304 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8305 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8306 _IO_FLAGS2_NOCLOSE flag.
8307 * include/unistd.h: Add hidden_proto for dup3.
8308 Define __have_dup3.
8309 * io/dup3.c: Define hidden symbol.
8310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8311
8312 [BZ #7101]
8313 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8314 when an incomplete long option is used.
8315 * posix/tst-getopt_long1.c: New file.
8316 * posix/Makefile (tests): Add tst-getopt_long1.
8317
8318 [BZ #10138]
8319 * scripts/config.guess: Update from autoconf-2.68.
8320 * scripts/config.sub: Likewise.
8321
8322 [BZ #10157]
8323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8324 tests into ...
8325 (has_cpuclock): ...this. New function.
8326 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8327 macro here based on has_cpuclock code.
8328
8329 [BZ #10149]
8330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8331 First byte (not low byte) is now always NUL.
8332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8333
8334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8335 Use non-cancelable interfaces.
8336
8337 [BZ #9809]
8338 * locale/iso-639.def: Add entry for Sorani.
8339
8340 [BZ #11901]
8341 * include/stdlib.h: Move include protection to the right place.
8342 Define abort_msg_s. Declare __abort_msg with it.
8343 * stdlib/abort.c (__abort_msg): Adjust type.
8344 * assert/assert.c (__assert_fail_base): New function. Majority
8345 of code from __assert_fail. Allocate memory for __abort_msg with
8346 mmap.
8347 (__assert_fail): Now call __assert_fail_base.
8348 * assert/assert-perr.c: Remove bulk of implementation. Use
8349 __assert_fail_base.
8350 * include/assert.hL Declare __assert_fail_base.
8351 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8352 mmap.
8353 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8354
8355 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8356
8357 [BZ #11952]
8358 [BZ #12453]
8359 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8360 until all modules are registered in the DTV.
8361 * elf/Makefile: Add rules to build and run tst-tls19.
8362 * elf/tst-tls19.c: New file.
8363 * elf/tst-tls19mod1.c: New file.
8364 * elf/tst-tls19mod2.c: New file.
8365 * elf/tst-tls19mod3.c: New file.
8366 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8367
8368 [BZ #12083]
8369 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8370 correctly.
8371
8372 [BZ #12601]
8373 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8374 two-byte sequence errors.
8375 * iconvdata/Makefile (tests): Add bug-iconv8.
8376 * iconvdata/bug-iconv8.c: New file.
8377
8378 [BZ #12626]
8379 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8380 buf2 definition.
8381
8382 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8383
8384 [BZ #12432]
8385 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8386 (dummy_getcfa): New function.
8387 (init): Get _Unwind_GetCFA address, use dummy if not found.
8388 (backtrace_helper): In recursion check, also check whether CFA changes.
8389 (__backtrace): Completely initialize arg.
8390
8391 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8392 storing incomplete byte sequence in state object. Avoid testing for
8393 guaranteed too small input if we know there is enough data available.
8394
8395 2011-05-11 Andreas Schwab <schwab@redhat.com>
8396
8397 * Makeconfig (+link-pie): Indent.
8398 * Rules (binaries-pie): Define if $(have-fpie) and
8399 $(build-shared).
8400 (binaries-shared): Also filter out $(binaries-pie).
8401 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8402 * nscd/Makefile (others-pie): Add nscd.
8403 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8404 ($(objpfx)nscd): Remove command override.
8405 * login/Makefile (others-pie): Add pt_chown.
8406 ($(objpfx)pt_chown): Remove command override.
8407 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8408 remove command overrides.
8409
8410 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8411
8412 * libio/tst_putwc.c: Fix error messages.
8413
8414 [BZ #12724]
8415 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8416 currently writing and seek to current position when not.
8417 * libio/Makefile (tests): Add bug-fclose1.
8418 * libio/bug-fclose1.c: New file.
8419
8420 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8421
8422 [BZ #12511]
8423 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8424 don't set DF_1_NODELETE here.
8425 (do_lookup_x): When entering new entry test for copy relocation
8426 and if necessary set DF_1_NODELETE flag.
8427 * elf/tst-unique4.cc: New file.
8428 * elf/tst-unique4.h: New file.
8429 * elf/tst-unique4lib.cc: New file.
8430 * elf/Makefile: Add rules to build and run tst-unique4.
8431 Patch by Piotr Bury <pbury@goahead.com>.
8432
8433 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8434
8435 [BZ #12052]
8436 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8437
8438 [BZ #12625]
8439 * misc/mntent_r.c (addmntent): Flush the stream after the output
8440
8441 [BZ #12393]
8442 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8443 (is_trusted_path_normalize): Skip initial colon. Append slash
8444 to empty buffer. Duplicate is_trusted_path code but allow
8445 constructed patch to be prefix.
8446 (is_dst): Allow $ORIGIN followed by /.
8447 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8448 Correct testing of result of is_trusted_path_normalize
8449 (decompose_rpath): Fix warning.
8450
8451 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8452
8453 [BZ #11257]
8454 * grp/initgroups.c (internal_getgrouplist): When we found the service
8455 list through the initgroups entry in nsswitch.conf do not always
8456 continue on a successful lookup. Don't always use the
8457 __nss_group_database value if it is set.
8458 * nss/nsswitch.conf (initgroups): Change action for successful db
8459 lookup to continue for compatibility.
8460
8461 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8462
8463 [BZ #11532]
8464 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8465 and CP774 modules.
8466 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8467 and CP774 modules.
8468 * iconvdata/tst-tables.sh: Likewise.
8469 * iconvdata/cp770.c: New file.
8470 * iconvdata/cp771.c: New file.
8471 * iconvdata/cp772.c: New file.
8472 * iconvdata/cp773.c: New file.
8473 * iconvdata/cp774.c: New file.
8474 * iconvdata/testdata/CP770: New file.
8475 * iconvdata/testdata/CP770..UTF8: New file.
8476 * iconvdata/testdata/CP771: New file.
8477 * iconvdata/testdata/CP771..UTF8: New file.
8478 * iconvdata/testdata/CP772: New file.
8479 * iconvdata/testdata/CP772..UTF8: New file.
8480 * iconvdata/testdata/CP773: New file.
8481 * iconvdata/testdata/CP773..UTF8: New file.
8482 * iconvdata/testdata/CP774: New file.
8483 * iconvdata/testdata/CP774..UTF8: New file.
8484
8485 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8486 END CHARMAP line.
8487 * iconvdata/gen-8bit-gap.sh: Likewise.
8488 * iconvdata/gen-8bit.sh: Likewise.
8489
8490 * locale/iso-639.def: Add ary entry.
8491
8492 [BZ #11258]
8493 * locale/C-translit.h.in: Add U20A1 transliteration.
8494
8495 [BZ #12178]
8496 * locale/iso-639.def: Add wae entry.
8497 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8498
8499 [BZ #12545]
8500 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8501 for n.
8502
8503 [BZ #12711]
8504 * locale/C-translit.h.in: Add entry for U20B9.
8505 Patch by pravin.d.s@gmail.com.
8506
8507 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8508
8509 [BZ #12713]
8510 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8511 ENAMETOOLONG use generic getcwd.
8512 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8513 in rtld. Use *stat64.
8514 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8515 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8516 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8517 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8518 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8519 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8520 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8521 __fstatat64 macros.
8522 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8523 * dirent/rewinddir.c: Add libc_hidden_def.
8524 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8525 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8526
8527 * include/dirent.h (__alloc_dir): Add flags parameter.
8528 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8529 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8530 __alloc_dir.
8531 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8532 from fdopendir if O_CLOEXEC is already set.
8533
8534 2011-03-15 Alan Modra <amodra@gmail.com>
8535
8536 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8537 l_tls_firstbyte_offset non-zero. Save padding offset in
8538 l_tls_firstbyte_offset for later use.
8539 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8540 freeing static tls block.
8541
8542 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8543
8544 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8545 where #ifdef was intended. The intent is to prevent ARG_MAX from
8546 being defined by the kernel headers.
8547
8548 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8549
8550 [BZ #12734]
8551 * resolv/resolv.h: Define RES_NOTLDQUERY.
8552 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8553 no-tld-query and set RES_NOTLDQUERY.
8554 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8555 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8556 modern BIND to search name as TLD unless forbidden.
8557
8558 2011-05-07 Petr Baudis <pasky@suse.cz>
8559 Ulrich Drepper <drepper@gmail.com>
8560
8561 [BZ #12393]
8562 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8563 (is_trusted_path): ...to here.
8564 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8565 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8566 using is_trusted_path_normalize() in setuid scripts.
8567
8568 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8569
8570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8571 __BEGIN/__END_DECLS.
8572
8573 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8574
8575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8576 NSS_STATUS_NOTFOUND if no record was found.
8577
8578 2011-05-05 Andreas Schwab <schwab@redhat.com>
8579
8580 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8581 (headers-not-in-tirpc): Remove rpc/netdb.h
8582 * resolv/netdb.h: Revert last change.
8583
8584 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8585
8586 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8587 circular dependency between libgcc.a and libc.a.
8588
8589 2011-05-05 Andreas Schwab <schwab@redhat.com>
8590
8591 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8592 * nis/Makefile: Don't install rpcsvc/*.
8593 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8594 instead of <rpc/types.h>.
8595 (MAXHOSTNAMELEN): Define.
8596
8597 2011-05-03 Andreas Schwab <schwab@redhat.com>
8598
8599 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8600
8601 2011-04-28 Maciej Babinski <mbabinski@google.com>
8602
8603 [BZ #12714]
8604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8605 gethostbyname4_r when IPv6 results are possible.
8606
8607 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8608
8609 [BZ #12723]
8610 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8611 _PC_PIPE_BUF handling.
8612
8613 2011-04-30 Bruno Haible <bruno@clisp.org>
8614
8615 [BZ #12717]
8616 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8617 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8618 to 'int'.
8619 * inet/getnameinfo.c (getnameinfo): Likewise.
8620
8621 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8622
8623 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8624 to groups setting in database lookup.
8625 * nss/nsswitch.conf: Add initgroups entry.
8626
8627 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8628
8629 [BZ #12685]
8630 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8631 mode string.
8632 Patch by Eric Blake <eblake@redhat.com>.
8633
8634 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8635
8636 * sunrpc/Makefile (need-export-routines): Add svc_run.
8637 (routines): Remove svc_run.
8638 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8639 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8640 * sunrpc/svc_run.c (svc_run): Likewise.
8641 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8642
8643 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8644
8645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8646 problem in reallocation in last patch.
8647
8648 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8649
8650 * sunrpc/Makefile: Move inclusion of Rules.
8651
8652 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8653
8654 * nss/nss_files/files-initgroups.c: New file.
8655 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8656 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8657 _nss_files_initgroups_dyn.
8658
8659 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8660
8661 * elf/elf.h (R_ARM_IRELATIVE): Define.
8662
8663 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8664
8665 * po/ru.po: Update from translation team.
8666
8667 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8668
8669 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8670 dependencies.
8671
8672 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8673
8674 [BZ #12653]
8675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8676 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8680
8681 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8682
8683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8684 differing bytes.
8685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8686 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8687 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8688
8689 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8690
8691 [BZ #12420]
8692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8693 storing it.
8694 * stdlib/bug-getcontext.c: New file.
8695 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8696
8697 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8698
8699 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8700 instructions into .machine "z9-109".
8701 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8702 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8703
8704 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8705
8706 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8707 between environment variables and auxiliary vector.
8708
8709 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8710
8711 * Makefile: Add rules to build linkobj/libc.so.
8712 * include/libc-symbols.h: Define libc_hidden_nolink.
8713 * include/rpc/auth.h: Mark functions which are to be hidden.
8714 * include/rpc/auth_des.h: Likewise.
8715 * include/rpc/auth_unix.h: Likewise.
8716 * include/rpc/clnt.h: Likewise.
8717 * include/rpc/des_crypt.h: Likewise.
8718 * include/rpc/key_prot.h: Likewise.
8719 * include/rpc/pmap_clnt.h: Likewise.
8720 * include/rpc/pmap_prot.h: Likewise.
8721 * include/rpc/pmap_rmt.h: Likewise.
8722 * include/rpc/rpc_msg.h: Likewise.
8723 * include/rpc/svc.h: Likewise.
8724 * include/rpc/svc_auth.h: Likewise.
8725 * include/rpc/xdr.h: Likewise.
8726 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8727 * nss/Makefile: Likewise.
8728 * sunrpc/Makefile: Don't install headers. Build library with normal
8729 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8730 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8731 for the compat linking library. Remove use of INTDEF/INTUSE.
8732 * sunrpc/auth_none.c: Likewise.
8733 * sunrpc/auth_unix.c: Likewise.
8734 * sunrpc/authdes_prot.c: Likewise.
8735 * sunrpc/authuxprot.c: Likewise.
8736 * sunrpc/clnt_gen.c: Likewise.
8737 * sunrpc/clnt_perr.c: Likewise.
8738 * sunrpc/clnt_raw.c: Likewise.
8739 * sunrpc/clnt_simp.c: Likewise.
8740 * sunrpc/clnt_tcp.c: Likewise.
8741 * sunrpc/clnt_udp.c: Likewise.
8742 * sunrpc/clnt_unix.c: Likewise.
8743 * sunrpc/des_crypt.c: Likewise.
8744 * sunrpc/des_soft.c: Likewise.
8745 * sunrpc/get_myaddr.c: Likewise.
8746 * sunrpc/key_call.c: Likewise.
8747 * sunrpc/key_prot.c: Likewise.
8748 * sunrpc/netname.c: Likewise.
8749 * sunrpc/pm_getmaps.c: Likewise.
8750 * sunrpc/pm_getport.c: Likewise.
8751 * sunrpc/pmap_clnt.c: Likewise.
8752 * sunrpc/pmap_prot.c: Likewise.
8753 * sunrpc/pmap_prot2.c: Likewise.
8754 * sunrpc/pmap_rmt.c: Likewise.
8755 * sunrpc/publickey.c: Likewise.
8756 * sunrpc/rpc_cmsg.c: Likewise.
8757 * sunrpc/rpc_common.c: Likewise.
8758 * sunrpc/rpc_dtable.c: Likewise.
8759 * sunrpc/rpc_prot.c: Likewise.
8760 * sunrpc/rpc_thread.c: Likewise.
8761 * sunrpc/rtime.c: Likewise.
8762 * sunrpc/svc.c: Likewise.
8763 * sunrpc/svc_auth.c: Likewise.
8764 * sunrpc/svc_authux.c: Likewise.
8765 * sunrpc/svc_raw.c: Likewise.
8766 * sunrpc/svc_run.c: Likewise.
8767 * sunrpc/svc_simple.c: Likewise.
8768 * sunrpc/svc_tcp.c: Likewise.
8769 * sunrpc/svc_udp.c: Likewise.
8770 * sunrpc/svc_unix.c: Likewise.
8771 * sunrpc/svcauth_des.c: Likewise.
8772 * sunrpc/xcrypt.c: Likewise.
8773 * sunrpc/xdr.c: Likewise.
8774 * sunrpc/xdr_array.c: Likewise.
8775 * sunrpc/xdr_float.c: Likewise.
8776 * sunrpc/xdr_intXX_t.c: Likewise.
8777 * sunrpc/xdr_mem.c: Likewise.
8778 * sunrpc/xdr_rec.c: Likewise.
8779 * sunrpc/xdr_ref.c: Likewise.
8780 * sunrpc/xdr_sizeof.c: Likewise.
8781 * sunrpc/xdr_stdio.c: Likewise.
8782
8783 2011-04-10 Ulrich Drepper <drepper@gmail.com>
8784
8785 [BZ #12650]
8786 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8787 * sysdeps/ia64/dl-tls.h: Likewise.
8788 * sysdeps/powerpc/dl-tls.h: Likewise.
8789 * sysdeps/s390/dl-tls.h: Likewise.
8790 * sysdeps/sh/dl-tls.h: Likewise.
8791 * sysdeps/sparc/dl-tls.h: Likewise.
8792 * sysdeps/x86_64/dl-tls.h: Likewise.
8793 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8794
8795 2011-03-14 Andreas Schwab <schwab@redhat.com>
8796
8797 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8798 rpath element also skip the following colon.
8799 (expand_dynamic_string_token): Add is_path parameter and pass
8800 down to DL_DST_REQUIRED and _dl_dst_substitute.
8801 (decompose_rpath): Call expand_dynamic_string_token with
8802 non-zero is_path. Ignore empty rpaths.
8803 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8804 with zero is_path.
8805
8806 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8807
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8809 Make cancelable.
8810
8811 2011-04-09 Ulrich Drepper <drepper@gmail.com>
8812
8813 [BZ #12655]
8814 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8815 Patch by Filipe David Manana <fdmanana@apache.org>.
8816
8817 2011-04-07 Andreas Schwab <schwab@redhat.com>
8818
8819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8820 Maintain aligned stack.
8821 (CHECK_RSP): Remove unused macro.
8822
8823 2011-04-03 Ulrich Drepper <drepper@gmail.com>
8824
8825 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8827
8828 2011-04-02 Ulrich Drepper <drepper@gmail.com>
8829
8830 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8831
8832 * include/features.h: Mention __USE_XOPEN2K8 in comment.
8833
8834 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 [BZ #12518]
8837 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8838 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8839 * sysdeps/x86_64/memmove.c: New file.
8840 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8841 (memcpy): Renamed to ...
8842 (__new_memcpy): This.
8843 (memcpy): Provide GLIBC_2_14 memcpy.
8844 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8845 (memcpy): Provide GLIBC_2_2_5 memcpy.
8846
8847 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8848
8849 [BZ #12631]
8850 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8851
8852 2011-03-30 Andreas Schwab <schwab@redhat.com>
8853
8854 * misc/syncfs.c: New file.
8855 * misc/Makefile (routines): Add syncfs.
8856 * posix/unistd.h: Declare syncfs.
8857 * sysdeps/unix/syscalls.list: Add syncfs.
8858
8859 2011-04-01 Andreas Schwab <schwab@redhat.com>
8860
8861 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8862 open_by_handle_at.
8863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8868 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8870
8871 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8872
8873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8880
8881 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8882 sync_file_range.c with -fexceptions.
8883 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8884 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8885 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8886 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8887 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8888 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8890 sync_file_range as cancellation point
8891 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8892 now a wrapper around __call_sync_file_range with cancellation handling.
8893 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8894 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8895 function name to __call_sync_file_range.
8896 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8897 Add call_sync_file_range.
8898
8899 2011-04-01 Andreas Schwab <schwab@redhat.com>
8900
8901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8902 bits/timex.h.
8903
8904 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8905
8906 * iconv/iconv.h: Fix typo in comment.
8907 * io/fcntl.h: Likewise.
8908 * libio/stdio.h: Likewise.
8909 * posix/spawn.h: Likewise.
8910 * posix/unistd.h: Likewise.
8911 * stdlib/stdlib.h: Likewise.
8912 * time/time.h: Likewise.
8913 * wcsmbs/wchar.h: Likewise.
8914
8915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8916 open_by_handle): Add.
8917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8918 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8919 Augment a few comments.
8920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8925 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8926 open_by_handle.
8927
8928 * io/fcntl.h (AT_EMPTY_PATH): Define.
8929
8930 2011-03-30 Ulrich Drepper <drepper@gmail.com>
8931
8932 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8933 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8934 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8935 to...
8936 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
8937 * Versions.def: Add GLIBC_2.14.
8938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8939 Export.
8940
8941 2011-03-22 Ulrich Drepper <drepper@gmail.com>
8942
8943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8944 round counter.
8945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8946
8947 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8948
8949 [BZ #12597]
8950 * string/test-strncmp.c (do_page_test): New function.
8951 (check2): Likewise.
8952 (test_main): Call check2.
8953 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8954
8955 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8956
8957 [BZ #12587]
8958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8959 Handle cache information in CPU leaf 4.
8960 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8961
8962 2011-03-18 Ulrich Drepper <drepper@gmail.com>
8963
8964 [BZ #12583]
8965 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8966 character representation.
8967 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8968
8969 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8970
8971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8972 END(__isnan) to END(__isnanf) to match function entry point/label
8973 EALIGN(__isnanf,...).
8974
8975 2011-03-10 Jakub Jelinek <jakub@redhat.com>
8976
8977 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8978
8979 2011-03-10 Ulrich Drepper <drepper@gmail.com>
8980
8981 [BZ #12510]
8982 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8983 copy from the symbol referenced in the relocation to initialize the
8984 used variable.
8985 Patch by Piotr Bury <pbury@goahead.com>.
8986 * elf/Makefile: Add rules to build and tst-unique3.
8987 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8988 * elf/tst-unique3.cc: New file.
8989 * elf/tst-unique3.h: New file.
8990 * elf/tst-unique3lib.cc: New file.
8991 * elf/tst-unique3lib2.cc: New file.
8992
8993 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8994
8995 2011-03-10 Mike Frysinger <vapier@gentoo.org>
8996
8997 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8998 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8999 to _start.
9000
9001 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9002
9003 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9004 to-be-loaded object along a path to loader is ld.so.
9005
9006 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9007 Ulrich Drepper <drepper@gmail.com>
9008
9009 * sysdeps/x86_64/memset.S: After aligning destination, code
9010 branches to different locations depending on the value of
9011 misalignment, when multiarch is enabled. Fix this.
9012
9013 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9014
9015 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9016 Set _x86_64_preferred_memory_instruction for AMD processsors.
9017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9018 Set bit_Prefer_SSE_for_memop for AMD processors.
9019
9020 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9021
9022 * libio/fmemopen.c (fmemopen): Optimize a bit.
9023
9024 2011-03-03 Andreas Schwab <schwab@redhat.com>
9025
9026 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9027
9028 2011-03-03 Roland McGrath <roland@redhat.com>
9029
9030 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9031
9032 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9033
9034 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9035 __bzero_ultra1 instead of __memset_ultra1.
9036
9037 2011-02-23 Andreas Schwab <schwab@redhat.com>
9038 Ulrich Drepper <drepper@gmail.com>
9039
9040 [BZ #12509]
9041 * include/link.h (struct link_map): Add l_orig_initfini.
9042 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9043 returning unsuccessfully.
9044 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9045 close of a file loaded at startup, restore the original l_initfini
9046 list.
9047 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9048 list, store the pointer.
9049 * elf/Makefile ($(objpfx)noload-mem): New rule.
9050 (noload-ENV): Define.
9051 (tests): Add $(objpfx)noload-mem.
9052 * elf/noload.c: Include <memcheck.h>.
9053 (main): Call mtrace. Close all opened handles.
9054
9055 2011-02-17 Andreas Schwab <schwab@redhat.com>
9056
9057 [BZ #12454]
9058 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9059 dependencies are missing.
9060
9061 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9062
9063 Fix __if_freereq crash: Unlike the generic version which uses free,
9064 Hurd needs munmap.
9065 * sysdeps/mach/hurd/ifreq.h: New file.
9066
9067 2011-01-27 Petr Baudis <pasky@suse.cz>
9068 Ulrich Drepper <drepper@gmail.com>
9069
9070 [BZ 12445]#
9071 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9072 to extend_alloca().
9073 * stdio-common/bug23.c: New file.
9074 * stdio-common/Makefile (tests): Add bug23.
9075
9076 2010-09-28 Andreas Schwab <schwab@redhat.com>
9077 Ulrich Drepper <drepper@gmail.com>
9078
9079 [BZ #12489]
9080 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9081 before performing relro protection. At old place add assertion
9082 to make sure nothing changed.
9083
9084 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9085 Glauber de Oliveira Costa <glommer@gmail.com>
9086
9087 * elf/elf.h: Add new ARM TLS relocs.
9088
9089 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9090
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9092 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9093 cast from r3.
9094 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9095 'tests' variable.
9096 * sysdeps/wordsize-64/tst-writev.c: New file.
9097
9098 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9099
9100 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9101 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9102 insns in _dl_start to prevent a TOC reference before relocs are
9103 resolved.
9104
9105 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9106
9107 [BZ #12469]
9108 * Makeconfig: Remove RANLIB definition.
9109 * Makerules: Don't use RANLIB.
9110 * aclocal.m4: Remove ranlib test.
9111 * configure.in: No need to check for ranlib.
9112 * elf/rtld-Rules: Don't use RANLIB.
9113
9114 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9115
9116 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9117 protection macro.
9118 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9119 inclusion protection macro.
9120
9121 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9122 SIGRTMIN and SIGRTMAX and print information in that case only when
9123 SIGRTMIN is defined.
9124
9125 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9126
9127 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9128 arginfo fn returning -1.
9129
9130 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9131 and thousands string is zero terminated.
9132
9133 2011-02-03 Andreas Schwab <schwab@redhat.com>
9134
9135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9136 sysdeps/unix/sysv/linux/bits/socket.h.
9137
9138 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9139
9140 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9141 (__CPU_COUNT): Remove old macros.
9142 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9143 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9144 (__CPU_ALLOC, __CPU_FREE): Add macros.
9145 (__sched_cpualloc, __sched_cpufree): Add declarations.
9146
9147 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9148
9149 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9150 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9151 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9152 (readdhstai): Return value of addhstaiX call.
9153 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9154 (addgrbyX): Return value returned by cache_addgr.
9155 (readdgrbyname): Return value returned by addgrbyX.
9156 (readdgrbygid): Likewise.
9157 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9158 (addpwbyX): Return value returned by cache_addpw.
9159 (readdpwbyname): Return value returned by addhstbyX.
9160 (readdpwbyuid): Likewise.
9161 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9162 (addservbyX): Return value returned by cache_addserv.
9163 (readdservbyname): Return value returned by addservbyX:
9164 (readdservbyport): Likewise.
9165 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9166 (addhstbyX): Return value returned by cache_addhst.
9167 (readdhstbyname): Return value returned by addhstbyX.
9168 (readdhstbyaddr): Likewise.
9169 (readdhstbynamev6): Likewise.
9170 (readdhstbyaddrv6): Likewise.
9171 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9172 (readdinitgroups): Return value returned by addinitgroupsX.
9173 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9174 (prune_cache): Keep track of timeout value of re-added entries.
9175 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9176 * nscd/nscd.h: Adjust prototypes of readd* functions.
9177
9178 2011-02-04 Roland McGrath <roland@redhat.com>
9179
9180 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9181 (nis_stats): Likewise.
9182 * nis/nis_modify.c (nis_modify): Likewise.
9183 * nis/nis_remove.c (nis_remove): Likewise.
9184 * nis/nis_add.c (nis_add): Likewise.
9185
9186 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9187
9188 * posix/fnmatch_loop.c: Add some consts.
9189
9190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9191
9192 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 [BZ #12460]
9195 * config.make.in (config-cflags-novzeroupper): Define.
9196 * configure.in: Substitute libc_cv_cc_novzeroupper.
9197 * elf/Makefile (AVX-CFLAGS): Define.
9198 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9199 (CFLAGS-tst-auditmod4a.c): Likewise.
9200 (CFLAGS-tst-auditmod4b.c): Likewise.
9201 (CFLAGS-tst-auditmod6b.c): Likewise.
9202 (CFLAGS-tst-auditmod6c.c): Likewise.
9203 (CFLAGS-tst-auditmod7b.c): Likewise.
9204 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9205
9206 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9207
9208 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9209 function to the callback.
9210 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9211
9212 2011-02-02 Andreas Schwab <schwab@redhat.com>
9213
9214 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9215 of errno.
9216
9217 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9218
9219 [BZ #11724]
9220 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9221 of constructors.
9222 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9223 of destructors.
9224 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9225
9226 [BZ #11724]
9227 * elf/Makefile: Add rules to build and run new test.
9228 * elf/tst-initorder.c: New file.
9229 * elf/tst-initorder.exp: New file.
9230 * elf/tst-initordera1.c: New file.
9231 * elf/tst-initordera2.c: New file.
9232 * elf/tst-initordera3.c: New file.
9233 * elf/tst-initordera4.c: New file.
9234 * elf/tst-initorderb1.c: New file.
9235 * elf/tst-initorderb2.c: New file.
9236 * elf/tst-order-a1.c: New file.
9237 * elf/tst-order-a2.c: New file.
9238 * elf/tst-order-a3.c: New file.
9239 * elf/tst-order-a4.c: New file.
9240 * elf/tst-order-b1.c: New file.
9241 * elf/tst-order-b2.c: New file.
9242 * elf/tst-order-main.c: New file.
9243 New test case by George Gensure <werkt0@gmail.com>.
9244
9245 2010-10-01 Andreas Schwab <schwab@redhat.com>
9246
9247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9248 decoding ACE if AI_CANONIDN.
9249
9250 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9251
9252 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9253
9254 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9255
9256 * version.h (RELEASE): Bump for 2.13 release.
9257 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9258
9259 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9260
9261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9262 MADV_NOHUGEPAGE.
9263 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9269
9270 * posix/getconf.c: Update copyright year.
9271 * catgets/gencat.c: Likewise.
9272 * csu/version.c: Likewise.
9273 * debug/catchsegv.sh: Likewise.
9274 * debug/xtrace.sh: Likewise.
9275 * elf/ldconfig.c: Likewise.
9276 * elf/ldd.bash.in: Likewise.
9277 * elf/sprof.c (print_version): Likewise.
9278 * iconv/iconv_prog.c: Likewise.
9279 * iconv/iconvconfig.c: Likewise.
9280 * locale/programs/locale.c: Likewise.
9281 * locale/programs/localedef.c: Likewise.
9282 * malloc/memusage.sh: Likewise.
9283 * malloc/mtrace.pl: Likewise.
9284 * nscd/nscd.c (print_version): Likewise.
9285 * nss/getent.c: Likewise.
9286
9287 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9288 PF_CAIF, and PF_ALG.
9289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9290
9291 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9292
9293 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9294 (modules-names): Use them.
9295 (ifunc-test-modules, ifunc-pie-tests): Define.
9296 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9297 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9298 (test-extras): Likewise.
9299 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9300 $(compile-command.c).
9301 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9302 (all-built-dso): Define.
9303 (check-textrel.out, check-execstack.out): Depend on it.
9304
9305 * configure.in: Don't override --enable-multi-arch.
9306
9307 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9308
9309 [BZ #6812]
9310 * nscd/hstcache.c (tryagain): Define.
9311 (cache_addhst): Return tryagain not notfound for temporary errors.
9312 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9313 failed.
9314
9315 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9316
9317 [BZ #10563]
9318 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9319 to make the syscall.
9320 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9321
9322 [BZ #12378]
9323 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9324 and fall back to matching as normal character if the string ends before
9325 the matching ']' is found. This is what POSIX requires.
9326 * posix/testfnm.c: Adjust test result.
9327 * posix/globtest.sh: Adjust test result. Add new test.
9328 * posix/tst-fnmatch.input: Likewise.
9329 * posix/tst-fnmatch2.c: Add new test.
9330
9331 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9332
9333 * elf/Makefile (check-execstack): Revert last change. Depend on
9334 check-execstack.h.
9335 (check-execstack.h): New target.
9336 (generated): Add check-execstack.h.
9337 * elf/check-execstack.c: Include "check-execstack.h".
9338 (main): Revert last change.
9339 (handle_file): Return zero if GNU_STACK is absent and
9340 DEFAULT_STACK_PERMS doesn't include PF_X.
9341
9342 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9343
9344 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9345 in child fails because the descriptor is already closed.
9346 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9347 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9348 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9349
9350 [BZ #12397]
9351 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9352 syscall.
9353
9354 [BZ #10484]
9355 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9356 temporary buffer used to handle multi lookups locally.
9357 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9358
9359 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9360
9361 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9362 loader is ld.so.
9363
9364 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9365
9366 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9367 alignment for SSE2.
9368
9369 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9370
9371 [BZ #12394]
9372 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9373 characters. When rounding increased number of integer digits recompute
9374 number of groups.
9375 * stdio-common/tst-grouping.c: New file.
9376 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9377
9378 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9379
9380 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9381 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9382
9383 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9384 void.
9385 * bits/select.h: Likewise.
9386
9387 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9388
9389 * po/ja.po: Update from translation team.
9390
9391 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9392
9393 [BZ #11155]
9394 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9395 implementation just like for lxstat, fxstatat, et al.
9396
9397 2010-12-27 Jim Meyering <meyering@redhat.com>
9398
9399 [BZ #12348]
9400 * posix/regexec.c (build_trtable): Return failure indication upon
9401 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9402
9403 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9404
9405 [BZ #12201]
9406 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9407 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9409 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9410
9411 [BZ #12207]
9412 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9413
9414 [BZ #12204]
9415 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9416 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9417
9418 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9419
9420 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9421 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9422 script has SORT_BY_INIT_PRIORITY.
9423 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9424 NO_CTORS_DTORS_SECTIONS is defined.
9425 * elf/soinit.c: Likewise.
9426 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9427 NO_CTORS_DTORS_SECTIONS is defined.
9428 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9429 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9430 * sysdeps/sh/init-first.c: Likewise.
9431 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9432
9433 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9434
9435 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9436 always use the slow path.
9437
9438 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9439
9440 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9441 similar rule which adds the sysdep directories to the header search in
9442 order to pick up the correct platform stackinfo.h.
9443 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9444 perform test if it is, otherwise return successfully without testing.
9445 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9446 DEFAULT_STACK_PERMS define in stackinfo.h.
9447 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9448 defined in stackinfo.h.
9449 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9450 DEFAULT_STACK_PERMS defined in stackinfo.h.
9451 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9452 * sysdeps/ia64/stackinfo.h: Likewise.
9453 * sysdeps/s390/stackinfo.h: Likewise.
9454 * sysdeps/sh/stackinfo.h: Likewise.
9455 * sysdeps/sparc/stackinfo.h: Likewise.
9456 * sysdeps/x86_64/stackinfo.h: Likewise.
9457 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9458 PF_X for powerpc64. Retain PF_X for powerpc32.
9459
9460 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9461
9462 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9463 accurately.
9464 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9465 GETDENTS_64BIT_ALIGNED.
9466
9467 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9468
9469 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9470
9471 2010-12-10 Andreas Schwab <schwab@redhat.com>
9472
9473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9474 _GNU_SOURCE.
9475
9476 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9477 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9478 Remove __restrict.
9479 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9480 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9481
9482 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9483
9484 [BZ #11655]
9485 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9486 are initialized.
9487
9488 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9489
9490 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9491
9492 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9493
9494 * po/it.po: Update from translation team.
9495
9496 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9497
9498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9499 unused codes.
9500
9501 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9502
9503 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9504
9505 2010-11-24 Andreas Schwab <schwab@redhat.com>
9506
9507 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9508 specially.
9509 (gaih_getanswer_slice): Likewise.
9510
9511 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9512
9513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9514
9515 2010-05-31 Petr Baudis <pasky@suse.cz>
9516
9517 [BZ #11149]
9518 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9519 silently even in the chroot mode.
9520
9521 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9522
9523 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9524 last patch a bit. Pretty printing
9525
9526 2010-05-31 Petr Baudis <pasky@suse.cz>
9527
9528 [BZ #10085]
9529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9530 initialization of skip_initgroups_dyn.
9531
9532 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9533
9534 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9536
9537 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9538
9539 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9540
9541 2010-11-11 Andreas Schwab <schwab@redhat.com>
9542
9543 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9544 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9545 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9546 ($(objpfx)tst-fnmatch-mem): New rule.
9547 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9548 * posix/tst-fnmatch.c (main): Call mtrace.
9549
9550 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9553 Support Intel processor model 6 and model 0x2c.
9554
9555 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9556
9557 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9558 signed comparison.
9559
9560 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9561
9562 [BZ #12205]
9563 * string/test-strncasecmp.c (check_result): New function.
9564 (do_one_test): Use it.
9565 (check1): New function.
9566 (test_main): Use it.
9567 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9568 Support strcasecmp and strncasecmp.
9569
9570 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9571
9572 [BZ #12194]
9573 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9575
9576 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9577
9578 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9579 IFUNC support.
9580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9581 memset-x86-64.
9582 * sysdeps/x86_64/multiarch/bzero.S: New file.
9583 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9584 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9585 * sysdeps/x86_64/multiarch/memset.S: New file.
9586 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9588 Set bit_Prefer_SSE_for_memop for Intel processors.
9589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9590 Define.
9591 (index_Prefer_SSE_for_memop): Define.
9592 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9593
9594 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9595
9596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9598
9599 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 [BZ #12191]
9602 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9603 (__x86_64_raw_data_cache_size_half): Likewise.
9604 (__x86_64_raw_shared_cache_size): Likewise.
9605 (__x86_64_raw_shared_cache_size_half): Likewise.
9606
9607 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9608 (__x86_64_raw_data_cache_size_half): Likewise.
9609 (__x86_64_raw_shared_cache_size): Likewise.
9610 (__x86_64_raw_shared_cache_size_half): Likewise.
9611 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9612 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9613 and __x86_64_raw_shared_cache_size_half. Round
9614 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9615 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9616 to multiple of 256 bytes.
9617
9618 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9619
9620 [BZ #12167]
9621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9622 of inacessible symlinks. Verify result of symlink before returning it.
9623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9624 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9625
9626 2010-10-28 Erich Ritz <erichritz@gmail.com>
9627
9628 * math/math.h (isinf): Fix typo in comment.
9629
9630 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9631
9632 * po/da.po: Update from translation team.
9633
9634 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9635
9636 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9637 is added to the list.
9638
9639 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9640 Ulrich Drepper <drepper@gmail.com>
9641
9642 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9643 the global list here. Move code to...
9644 (_dl_add_to_namespace_list): ...here. New function.
9645 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9646 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9647 * elf/dl-load.c (lose): Don't remove the element from the list.
9648 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9649 (_dl_map_object): Likewise.
9650
9651 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9652
9653 [BZ #12159]
9654 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9655 into all bytes of SSE register.
9656 Patch by Richard Li <richardpku@gmail.com>.
9657
9658 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9659
9660 [BZ #12140]
9661 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9662 perturbing.
9663
9664 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9665
9666 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9667 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9671 submachine.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9673
9674 2010-10-22 Andreas Schwab <schwab@redhat.com>
9675
9676 * include/dlfcn.h (__RTLD_SECURE): Define.
9677 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9678 mode & __RTLD_SECURE instead.
9679 (open_path): Rename preloaded parameter to secure.
9680 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9681 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9682 * elf/dl-deps.c (openaux): Likewise.
9683 * elf/rtld.c (struct map_args): Remove is_preloaded.
9684 (map_doit): Don't use it.
9685 (dl_main): Likewise.
9686 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9687 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9688
9689 2010-09-09 Andreas Schwab <schwab@redhat.com>
9690
9691 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9692 (sysd-rules-targets): Remove duplicates.
9693 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9694 rtld-%.$o dependency.
9695
9696 2010-10-18 Andreas Schwab <schwab@redhat.com>
9697
9698 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9699 _dl_map_object do it.
9700
9701 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9702
9703 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9704 fast fma builtins, define the macros in the C99 standard.
9705 (FP_FAST_FMAF): Likewise.
9706 (FP_FAST_FMAL): Likewise.
9707 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9708
9709 * bits/mathdef.h: Update copyright year.
9710 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9711
9712 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9713
9714 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9715 builtins, define the macros in the C99 standard.
9716 (FP_FAST_FMAF): Likewise.
9717 (FP_FAST_FMAL): Likewise.
9718 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9719 multiply/add.
9720 (FP_FAST_FMAF): Likewise.
9721
9722 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9723
9724 [BZ #3268]
9725 * math/libm-test.inc (fma_test): Some new testcases.
9726 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9728 y and infinite z. Do multiplication by C already in long double.
9729 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9731 y and infinite z. Do bitwise or of inexact bit into u.d.
9732 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9733 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9734 * sysdeps/i386/fpu/s_fma.S: Removed.
9735 * sysdeps/i386/fpu/s_fmal.S: Removed.
9736
9737 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9738
9739 [BZ #3268]
9740 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9742 computation is not scheduled after fetestexcept. Fix value
9743 of minimum denormal long double.
9744
9745 2010-10-14 Jakub Jelinek <jakub@redhat.com>
9746
9747 [BZ #3268]
9748 * math/libm-test.inc (fma_test): Add some more tests.
9749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9750 correctly.
9751
9752 2010-10-15 Andreas Schwab <schwab@redhat.com>
9753
9754 * scripts/data/localplt-s390-linux-gnu.data: New file.
9755 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9756
9757 2010-10-13 Jakub Jelinek <jakub@redhat.com>
9758
9759 [BZ #3268]
9760 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9761 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9762 instead of dbl-64.
9763 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9764 inlines.
9765 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9767 if one of x and y is very large and the other is subnormal.
9768 * sysdeps/s390/fpu/s_fmaf.c: New file.
9769 * sysdeps/s390/fpu/s_fma.c: New file.
9770 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9771 * sysdeps/powerpc/fpu/s_fma.S: New file.
9772 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9773 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9774 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9775
9776 2010-10-12 Jakub Jelinek <jakub@redhat.com>
9777
9778 [BZ #3268]
9779 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9780 fma tests.
9781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9782 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9783 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9784 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9785 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9786 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9788
9789 2010-10-12 Ulrich Drepper <drepper@redhat.com>
9790
9791 [BZ #12078]
9792 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9793 * posix/bug-regex31.input: Add test case.
9794
9795 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9796
9797 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9798 * posix/bug-regex31.input: New file.
9799
9800 [BZ #12078]
9801 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9802 (parse_sub_exp): Fix last change, use postorder.
9803
9804 * posix/bug-regex31.c: New file.
9805 * posix/Makefile: Add rules to build and run bug-regex31.
9806
9807 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9808
9809 [BZ #12078]
9810 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9811
9812 [BZ #12108]
9813 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9814 to have entries in sys_siglist.
9815
9816 [BZ #12093]
9817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9818 be NULL.
9819
9820 2010-10-07 Jakub Jelinek <jakub@redhat.com>
9821
9822 [BZ #3268]
9823 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9824 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9825 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9826 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9828 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9829 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9830 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9831 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9832 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9833 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9834 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9835 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9836 * math/ftestexcept.c (fetestexcept): Likewise.
9837 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9838 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9839 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9840 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9841 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9842 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9843 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9844
9845 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9846
9847 [BZ #12107]
9848 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9849 newline.
9850
9851 2010-10-06 Ulrich Drepper <drepper@gmail.com>
9852
9853 * string/bug-strstr1.c: New file.
9854 * string/Makefile: Add rules to build and run bug-strstr1.
9855
9856 2010-10-05 Eric Blake <eblake@redhat.com>
9857
9858 [BZ #12092]
9859 * string/str-two-way.h (two_way_long_needle): Always clear memory
9860 when skipping input due to the shift table.
9861
9862 2010-10-03 Ulrich Drepper <drepper@gmail.com>
9863
9864 [BZ #12005]
9865 * malloc/mcheck.c: Handle large requests.
9866
9867 [BZ #12077]
9868 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9869 for strncmp and strncasecmp.
9870 * string/stratcliff.c: Add tests for strcmp and strncmp.
9871 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9872
9873 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9874
9875 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9876 __set_fpscr.
9877
9878 2010-09-30 Andreas Jaeger <aj@suse.de>
9879
9880 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9881 (CGROUP_SUPER_MAGIC): Define.
9882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9883 Handle btrfs and cgroup file systems.
9884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9885 Likewise.
9886
9887 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
9888
9889 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9890 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9891
9892 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9893
9894 [BZ #12067]
9895 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9896 trying to locate the ELF header.
9897
9898 2010-09-27 Andreas Schwab <schwab@redhat.com>
9899
9900 [BZ #11611]
9901 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9902 Mask out sign-bit copies when constructing f_fsid.
9903
9904 2010-09-24 Petr Baudis <pasky@suse.cz>
9905
9906 * debug/stack_chk_fail_local.c: Add missing licence exception.
9907 * debug/warning-nop.c: Likewise.
9908
9909 2010-09-15 Joseph Myers <joseph@codesourcery.com>
9910
9911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9912 implementing getdents64 using getdents syscall, set d_type if
9913 __ASSUME_GETDENTS32_D_TYPE.
9914
9915 2010-09-16 Andreas Schwab <schwab@redhat.com>
9916
9917 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9918 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9919
9920 2010-09-21 Ulrich Drepper <drepper@redhat.com>
9921
9922 [BZ #12037]
9923 * posix/unistd.h: Undo change of feature selection for ftruncate from
9924 2010-01-11.
9925
9926 2010-09-20 Ulrich Drepper <drepper@redhat.com>
9927
9928 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9929 detection.
9930
9931 2010-09-20 Andreas Schwab <schwab@redhat.com>
9932
9933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9934 fanotify_mark.
9935 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9936
9937 2010-09-14 Andreas Schwab <schwab@redhat.com>
9938
9939 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9940 variables after CHECK_SP call.
9941 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9942
9943 2010-09-13 Andreas Schwab <schwab@redhat.com>
9944 Ulrich Drepper <drepper@redhat.com>
9945
9946 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9947 re-relocationg ld.so.
9948 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9949 _dl_init_paths call.
9950 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9951 here anymore.
9952
9953 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9954
9955 * resolv/res_init.c (__res_vinit): Count the default server we added.
9956
9957 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9958 Ulrich Drepper <drepper@redhat.com>
9959
9960 [BZ #11968]
9961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9962 (____longjmp_chk): Use %ebx for saving value across system call.
9963 Add unwind info.
9964
9965 2010-09-06 Andreas Schwab <schwab@redhat.com>
9966
9967 * manual/Makefile: Don't mix pattern rules with normal rules.
9968
9969 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9970
9971 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9972 operation.
9973 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9974 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9975 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9976 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9978 Likewise.
9979
9980 2010-09-04 Ulrich Drepper <drepper@redhat.com>
9981
9982 [BZ #11979]
9983 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9984 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9985
9986 2010-09-02 Ulrich Drepper <drepper@redhat.com>
9987
9988 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9989 * sysdeps/x86_64/addmul_1.S: Likewise.
9990 * sysdeps/x86_64/lshift.S: Likewise.
9991 * sysdeps/x86_64/mul_1.S: Likewise.
9992 * sysdeps/x86_64/rshift.S: Likewise.
9993 * sysdeps/x86_64/sub_n.S: Likewise.
9994 * sysdeps/x86_64/submul_1.S: Likewise.
9995
9996 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9997
9998 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9999 Define __sched_param instead of SCHED_* and sched_param when
10000 <bits/sched.h> is included with __need_schedparam defined.
10001 * bits/sched.h [__need_schedparam]
10002 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10003 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10004 (__defined_schedparam): Define to 1.
10005 (__sched_param): New structure, identical to sched_param.
10006 (__need_schedparam): Undefine.
10007
10008 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10009
10010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10011 (epoll_create1): Declare.
10012
10013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10014
10015 2010-08-31 Andreas Schwab <schwab@redhat.com>
10016
10017 [BZ #7066]
10018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10019 shifting retval into place.
10020
10021 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10022
10023 * nis/rpcsvc/nis.h: Update copyright notice.
10024 * nis/rpcsvc/nis.x: Likewise.
10025 * nis/rpcsvc/nis_callback.h: Likewise.
10026 * nis/rpcsvc/nis_callback.x: Likewise.
10027 * nis/rpcsvc/nis_object.x: Likewise.
10028 * nis/rpcsvc/nis_tags.h: Likewise.
10029 * nis/rpcsvc/yp.h: Likewise.
10030 * nis/rpcsvc/yp.x: Likewise.
10031 * nis/rpcsvc/ypupd.h: Likewise.
10032 * nis/yp_xdr.c: Likewise.
10033 * nis/ypupdate_xdr.c: Likewise.
10034
10035 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10036 mainly the body of pmap_getport. Add parameters to specify timeouts.
10037 (pmap_getport): Use __libc_rpc_getport.
10038 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10039 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10040 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10041
10042 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10043
10044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10045 fanotify_mark.
10046
10047 2010-08-27 Roland McGrath <roland@redhat.com>
10048
10049 * sysdeps/i386/i686/multiarch/Makefile
10050 (CFLAGS-varshift.c): New variable.
10051
10052 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10053
10054 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10055 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10056
10057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10058
10059 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10060
10061 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10062
10063 * sysdeps/x86_64/strlen.S: Unroll the loop.
10064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10065 strlen-sse2 strlen-sse2-bsf.
10066 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10067 __strlen_no_bsf if bit_Slow_BSF is set.
10068 (__strlen_sse42): Removed.
10069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10070 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10071
10072 2010-08-25 Roland McGrath <roland@redhat.com>
10073
10074 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10075 * sysdeps/x86_64/multiarch/varshift.c: New file.
10076 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10077 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10078 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10079 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10080
10081 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10082
10083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10084 strlen-sse2 strlen-sse2-bsf.
10085 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10086 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10087 (__strlen_sse2): Removed.
10088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10091 bit_Slow_BSF for Atom.
10092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10093 (index_Slow_BSF): Define.
10094 (HAS_SLOW_BSF): Define.
10095
10096 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10097
10098 [BZ #10851]
10099 * resolv/res_init.c (__res_vinit): When no server address at all
10100 is given default to loopback.
10101
10102 2010-08-24 Roland McGrath <roland@redhat.com>
10103
10104 * configure.in: Remove config-name.h generation.
10105 * configure: Regenerated.
10106 * config-name.in: File removed.
10107 * scripts/config-uname.sh: New file.
10108 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10109 ($(objdir)config-name.h): New target.
10110
10111 * sunrpc/rpc_parse.h: Avoid nested comment.
10112
10113 2010-08-24 Richard Henderson <rth@redhat.com>
10114 Ulrich Drepper <drepper@redhat.com>
10115 H.J. Lu <hongjiu.lu@intel.com>
10116
10117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10119 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10120 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10121 _mm_alignr_epi8 with _mm_loadu_si128.
10122 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10123 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10124 (__m128i_shift_right): Removed.
10125 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10126 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10127 * sysdeps/x86_64/multiarch/varshift.h: New file.
10128 * sysdeps/x86_64/multiarch/varshift.S: New file.
10129
10130 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10131
10132 * configure.in: Move assembler checks to before sysdep dir checking.
10133
10134 2010-08-20 Petr Baudis <pasky@suse.cz>
10135
10136 * LICENSES: Sync the sunrpc license.
10137
10138 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10139
10140 * sunrpc/auth_des.c: Update copyright notice once again.
10141 * sunrpc/auth_none.c: Likewise.
10142 * sunrpc/auth_unix.c: Likewise.
10143 * sunrpc/authdes_prot.c: Likewise.
10144 * sunrpc/authuxprot.c: Likewise.
10145 * sunrpc/bindrsvprt.c: Likewise.
10146 * sunrpc/clnt_gen.c: Likewise.
10147 * sunrpc/clnt_perr.c: Likewise.
10148 * sunrpc/clnt_raw.c: Likewise.
10149 * sunrpc/clnt_simp.c: Likewise.
10150 * sunrpc/clnt_tcp.c: Likewise.
10151 * sunrpc/clnt_udp.c: Likewise.
10152 * sunrpc/clnt_unix.c: Likewise.
10153 * sunrpc/des_crypt.c: Likewise.
10154 * sunrpc/des_soft.c: Likewise.
10155 * sunrpc/get_myaddr.c: Likewise.
10156 * sunrpc/getrpcport.c: Likewise.
10157 * sunrpc/key_call.c: Likewise.
10158 * sunrpc/key_prot.c: Likewise.
10159 * sunrpc/openchild.c: Likewise.
10160 * sunrpc/pm_getmaps.c: Likewise.
10161 * sunrpc/pm_getport.c: Likewise.
10162 * sunrpc/pmap_clnt.c: Likewise.
10163 * sunrpc/pmap_prot.c: Likewise.
10164 * sunrpc/pmap_prot2.c: Likewise.
10165 * sunrpc/pmap_rmt.c: Likewise.
10166 * sunrpc/rpc/auth.h: Likewise.
10167 * sunrpc/rpc/auth_unix.h: Likewise.
10168 * sunrpc/rpc/clnt.h: Likewise.
10169 * sunrpc/rpc/des_crypt.h: Likewise.
10170 * sunrpc/rpc/key_prot.h: Likewise.
10171 * sunrpc/rpc/netdb.h: Likewise.
10172 * sunrpc/rpc/pmap_clnt.h: Likewise.
10173 * sunrpc/rpc/pmap_prot.h: Likewise.
10174 * sunrpc/rpc/pmap_rmt.h: Likewise.
10175 * sunrpc/rpc/rpc.h: Likewise.
10176 * sunrpc/rpc/rpc_des.h: Likewise.
10177 * sunrpc/rpc/rpc_msg.h: Likewise.
10178 * sunrpc/rpc/svc.h: Likewise.
10179 * sunrpc/rpc/svc_auth.h: Likewise.
10180 * sunrpc/rpc/types.h: Likewise.
10181 * sunrpc/rpc/xdr.h: Likewise.
10182 * sunrpc/rpc_clntout.c: Likewise.
10183 * sunrpc/rpc_cmsg.c: Likewise.
10184 * sunrpc/rpc_common.c: Likewise.
10185 * sunrpc/rpc_cout.c: Likewise.
10186 * sunrpc/rpc_dtable.c: Likewise.
10187 * sunrpc/rpc_hout.c: Likewise.
10188 * sunrpc/rpc_main.c: Likewise.
10189 * sunrpc/rpc_parse.c: Likewise.
10190 * sunrpc/rpc_parse.h: Likewise.
10191 * sunrpc/rpc_prot.c: Likewise.
10192 * sunrpc/rpc_sample.c: Likewise.
10193 * sunrpc/rpc_scan.c: Likewise.
10194 * sunrpc/rpc_scan.h: Likewise.
10195 * sunrpc/rpc_svcout.c: Likewise.
10196 * sunrpc/rpc_tblout.c: Likewise.
10197 * sunrpc/rpc_util.c: Likewise.
10198 * sunrpc/rpc_util.h: Likewise.
10199 * sunrpc/rpcinfo.c: Likewise.
10200 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10201 * sunrpc/rpcsvc/key_prot.x: Likewise.
10202 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10203 * sunrpc/rpcsvc/mount.x: Likewise.
10204 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10205 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10206 * sunrpc/rpcsvc/rex.x: Likewise.
10207 * sunrpc/rpcsvc/rstat.x: Likewise.
10208 * sunrpc/rpcsvc/rusers.x: Likewise.
10209 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10210 * sunrpc/rpcsvc/spray.x: Likewise.
10211 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10212 * sunrpc/rtime.c: Likewise.
10213 * sunrpc/svc.c: Likewise.
10214 * sunrpc/svc_auth.c: Likewise.
10215 * sunrpc/svc_authux.c: Likewise.
10216 * sunrpc/svc_raw.c: Likewise.
10217 * sunrpc/svc_run.c: Likewise.
10218 * sunrpc/svc_simple.c: Likewise.
10219 * sunrpc/svc_tcp.c: Likewise.
10220 * sunrpc/svc_udp.c: Likewise.
10221 * sunrpc/svc_unix.c: Likewise.
10222 * sunrpc/svcauth_des.c: Likewise.
10223 * sunrpc/xcrypt.c: Likewise.
10224 * sunrpc/xdr.c: Likewise.
10225 * sunrpc/xdr_array.c: Likewise.
10226 * sunrpc/xdr_float.c: Likewise.
10227 * sunrpc/xdr_mem.c: Likewise.
10228 * sunrpc/xdr_rec.c: Likewise.
10229 * sunrpc/xdr_ref.c: Likewise.
10230 * sunrpc/xdr_sizeof.c: Likewise.
10231 * sunrpc/xdr_stdio.c: Likewise.
10232
10233 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10234 handling.
10235
10236 2010-08-19 Andreas Schwab <schwab@redhat.com>
10237
10238 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10239
10240 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10241
10242 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10243 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10245 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10247 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10249 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10251 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10252 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10254 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10255 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10256
10257 2010-07-26 Anton Blanchard <anton@samba.org>
10258
10259 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10260 * malloc/arena.c (heap_trim): Likewise.
10261
10262 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10263
10264 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10265 here. Not...
10266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10267 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10268
10269 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * sysdeps/i386/elf/Makefile: New file.
10272
10273 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10274
10275 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10276 from fanotify_init.
10277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10279
10280 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10281
10282 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10283 of strncasecmp_l.
10284 * sysdeps/multiarch/strcmp.S: Likewise.
10285
10286 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10287
10288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10289 strncase_l-nonascii.
10290 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10291 Add strncase_l-ssse3.
10292 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10293 * sysdeps/x86_64/strcmp.S: Likewise.
10294 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10295 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10296 * sysdeps/x86_64/strncase.S: New file.
10297 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10298 * sysdeps/x86_64/strncase_l.S: New file.
10299 * string/Makefile (strop-tests): Add strncasecmp.
10300 * string/test-strncasecmp.c: New file.
10301
10302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10303 warning.
10304
10305 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10307
10308 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10309
10310 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10311
10312 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10313
10314 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10315 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10316 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10317
10318 2010-05-01 Alan Modra <amodra@gmail.com>
10319
10320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10321 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10322 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10323 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10324 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10325 tidying. Don't tail-call __sigjmp_save for static lib.
10326 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10327 save location.
10328 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10329 (CALL_MCOUNT): Add eh info, and nop after bl.
10330 (TAIL_CALL_SYSCALL_ERROR): New macro.
10331 (PSEUDO_RET): Use it.
10332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10333 Correct save location of integer regs and cr.
10334 (_dl_profile_resolve): Correct cr save location. Delete nops
10335 after bl when SHARED. Reduce cfi size a little by better
10336 placement of cfi directives.
10337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10338 make a stack frame. Instead use parm save area as a temp.
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10340 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10342 Don't make a stack frame for parent, use parm save area.
10343 Increase child stack frame to 112 bytes. Don't save unused reg,
10344 and adjust reg usage. Set up cfi on error recovery and
10345 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10347 (__makecontext): Add dummy nop after jump to exit.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10349 Use correct parm save area and cr save, reduce stack frame.
10350 Correct cfi for possible PSEUDO_RET frame setup.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10352 Branch to local label emitted by PSEUDO_RET rather than
10353 __syscall_error.
10354
10355 2010-08-12 Andreas Schwab <schwab@redhat.com>
10356
10357 [BZ #11904]
10358 * locale/programs/locale.c (print_assignment): New function.
10359 (show_locale_vars): Use it.
10360
10361 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10362
10363 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10364 field.
10365 (struct statfs64): Likewise.
10366 (_STATFS_F_FLAGS): Define.
10367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10369 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10370 (ST_VALID): Define locally.
10371 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10372 __statvfs_getflags, use the provided value.
10373 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10374 __ASSUME_STATFS_F_FLAGS.
10375
10376 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10377
10378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10379 Add sys/fanotify.h.
10380 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10381 fanotify_mask for GLIBC_2.13.
10382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10383 fanotify_init and fanotify_mark.
10384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10385 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10386
10387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10388 Add prlimit.
10389 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10390 prlimit64 for GLIBC_2.13.
10391 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10392 prlimit64.
10393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10394 syscall.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10397 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10400 add prlimit alias.
10401 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10402
10403 [BZ #11903]
10404 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10405 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10406
10407 * nss/Makefile: Add rules to build and run tst-nss-test1.
10408 * shlib-versions: Add entry for libnss_test1.
10409 * nss/nss_test1.c: New file.
10410 * nss/tst-nss-test1.c: New file.
10411
10412 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10413 (__nss_configure_lookup): Set appropriate entry in
10414 __nss_configure_lookup to true.
10415 * nss/nsswitch.h: Define enum with indeces of databases in
10416 databases and __nss_database_custom arrays. Declare
10417 __nss_database_custom.
10418 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10419 to avoid using nscd when custom rules are installed.
10420 * nss/getXXbyYY_r.c: Likewise.
10421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10422
10423 * nss/nss_files/files-parse.c: Whitespace fixes.
10424
10425 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10426
10427 [BZ #11883]
10428 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10429 * posix/fnmatch_loop.c: Likewise.
10430
10431 2010-07-17 Andi Kleen <ak@linux.intel.com>
10432
10433 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10434 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10435 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10436 * Versions.def [GLIBC_2.13]: Add.
10437
10438 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10439
10440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10441 Also fail if tpwd after pwuid call is NULL.
10442
10443 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10444
10445 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10446 when converting to ms.
10447
10448 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10449
10450 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10451 EOPNOTSUPP errors with ENOTTY.
10452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10453 EOPNOTSUPP errors with ENOTTY.
10454
10455 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10456
10457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10458 Add strcasecmp_l-ssse3.
10459 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10460 strcasecmp.
10461 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10463 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10464
10465 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10466
10467 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10468
10469 * string/Makefile (strop-tests): Add strcasecmp.
10470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10471 strcasecmp_l-nonascii.
10472 (gen-as-const-headers): Add locale-defines.sym.
10473 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10474 * sysdeps/x86_64/strcasecmp.S: New file.
10475 * sysdeps/x86_64/strcasecmp_l.S: New file.
10476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10477 * sysdeps/x86_64/locale-defines.sym: New file.
10478 * string/test-strcasecmp.c: New file.
10479
10480 * string/test-strcasestr.c: Test both ends of the range of characters.
10481 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10482
10483 2010-07-29 Roland McGrath <roland@redhat.com>
10484
10485 [BZ #11856]
10486 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10487
10488 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10489
10490 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10491 for ld.so.
10492
10493 2010-07-27 Andreas Schwab <schwab@redhat.com>
10494
10495 * manual/memory.texi (Malloc Tunable Parameters): Document
10496 M_PERTURB.
10497
10498 2010-07-26 Roland McGrath <roland@redhat.com>
10499
10500 [BZ #11840]
10501 * configure.in (-fgnu89-inline check): Set and substitute
10502 gnu89_inline, not libc_cv_gnu89_inline.
10503 * configure: Regenerated.
10504 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10505
10506 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10507
10508 * string/test-strnlen.c: New file.
10509 * string/Makefile (strop-tests): Add strnlen.
10510 * string/tester.c (test_strnlen): Add a few more test cases.
10511 * string/tst-strlen.c: Better error reporting.
10512
10513 * sysdeps/x86_64/strnlen.S: New file.
10514
10515 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10516
10517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10518 lower-latency instructions.
10519
10520 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10521
10522 * string/test-strcasestr.c: New file.
10523 * string/test-strstr.c: New file.
10524 * string/Makefile (strop-tests): Add strstr and strcasestr.
10525 * string/str-two-way.h: Don't undefine MAX.
10526 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10527
10528 2010-07-21 Andreas Schwab <schwab@redhat.com>
10529
10530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10531 strcasestr-nonascii.
10532 (CFLAGS-strcasestr-nonascii.c): Define.
10533 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10535 Remove unused attribute.
10536
10537 2010-07-20 Roland McGrath <roland@redhat.com>
10538
10539 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10540 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10541 ld.so.cache was broken. With it, there is no way to disable dsocaps
10542 like LD_HWCAP_MASK can disable hwcaps.
10543
10544 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10545
10546 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10547
10548 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10549
10550 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10551 call in strcasestr.
10552 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10553 __strcasestr_sse42_nonascii.
10554 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10555 strcasestr-nonascii.c.
10556 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10557
10558 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10559
10560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10564
10565 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10566
10567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10568 fcntl.
10569
10570 2010-07-06 Andreas Schwab <schwab@redhat.com>
10571
10572 [BZ #11577]
10573 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10574 dl_signal_cerror.
10575
10576 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10577
10578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10579 _PC_PIPE_BUF using F_GETPIPE_SZ.
10580
10581 2010-07-05 Roland McGrath <roland@redhat.com>
10582
10583 * manual/arith.texi (Rounding Functions): Fix rint description
10584 implicit in round description.
10585
10586 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10587
10588 * elf/Makefile: Fix linking for a few tests to make recent linker
10589 happy.
10590
10591 2010-06-30 Andreas Schwab <schwab@redhat.com>
10592
10593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10594 $(common-objpfx)libc_nonshared.a.
10595
10596 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10597
10598 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10599 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10600 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10602 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10620 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10621 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10622 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10623 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10624 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10625 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10626 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10627 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10628 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10629 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10630 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10631 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10646
10647 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10648
10649 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10650 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10651 * string/memmove.c (memmove): Renamed to ...
10652 (MEMMOVE): ...this. Default to memmove.
10653 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10654 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10655 (END_CHK): Define.
10656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10657 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10658 mempcpy-ssse3-back memmove-ssse3-back.
10659 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10662 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10663 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10664 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10665 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10666 * sysdeps/x86_64/multiarch/memmove.c: New file.
10667 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10668 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10669 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10670 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10671 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10673 Define.
10674 (index_Fast_Copy_Backward): Define.
10675 (HAS_ARCH_FEATURE): Define.
10676 (HAS_FAST_REP_STRING): Define.
10677 (HAS_FAST_COPY_BACKWARD): Define.
10678
10679 2010-06-21 Andreas Schwab <schwab@redhat.com>
10680
10681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10682 Restore proper fallback handling.
10683
10684 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10685
10686 [BZ #11701]
10687 * posix/group_member.c (__group_member): Correct checking loop.
10688
10689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10690 OOM in getpwuid_r correctly. Return error number when the caller
10691 should return, otherwise -1.
10692 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10693 call returning > 0 value.
10694 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10695
10696 2010-06-07 Andreas Schwab <schwab@redhat.com>
10697
10698 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10699 libc_nonshared.a from targets in modules-names.
10700
10701 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10702
10703 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10704 requires it.
10705
10706 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10707
10708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10712
10713 2010-06-02 Andreas Schwab <schwab@redhat.com>
10714
10715 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10716
10717 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10718
10719 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10720 and F_GETPIPE_SZ.
10721 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10727
10728 2010-06-14 Roland McGrath <roland@redhat.com>
10729
10730 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10731
10732 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10733
10734 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10735 __REDIRECT followed by __THROW.
10736 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10737 * posix/getopt.h (getopt): Likewise.
10738
10739 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10740
10741 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10742 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10743 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10744 in AT_FLAGS.
10745 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10746 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10747
10748 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
10749
10750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10751
10752 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10753
10754 [BZ #11640]
10755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10756 Properly check family and model.
10757
10758 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10759
10760 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10761
10762 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
10763
10764 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10765
10766 2010-05-21 Ulrich Drepper <drepper@redhat.com>
10767
10768 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10769 symbol reference.
10770
10771 2010-05-19 Andreas Schwab <schwab@redhat.com>
10772
10773 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10774 symbol reference.
10775
10776 2010-05-21 Andreas Schwab <schwab@redhat.com>
10777
10778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10779 and internal_recvmmsg.
10780 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10782 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10783 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10784
10785 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10786 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10787 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10788
10789 2010-05-20 Andreas Schwab <schwab@redhat.com>
10790
10791 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10792
10793 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
10794
10795 POWER7 optimizations.
10796 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10797 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10798
10799 2010-05-19 Ulrich Drepper <drepper@redhat.com>
10800
10801 * version.h: Update for 2.13 development version.
10802
10803 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
10804
10805 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10806 exceptions. Return 0.
10807
10808 2010-05-07 Roland McGrath <roland@redhat.com>
10809
10810 * elf/ldconfig.c (main): Add a const.
10811
10812 2010-05-06 Ulrich Drepper <drepper@redhat.com>
10813
10814 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10815 (args_options): Add no-idn option.
10816 (ahosts_keys_int): Add idn_flags to ai_flags.
10817 (parse_option): Handle 'i' option to clear idn_flags.
10818
10819 * malloc/malloc.c (_int_free): Possible race in the most recently
10820 added check. Only act on the data if no current modification
10821 happened.
10822
10823 See ChangeLog.17 for earlier changes.
This page took 0.472602 seconds and 6 git commands to generate.