]> sourceware.org Git - glibc.git/blob - ChangeLog
Bug 3868 also fixed by __kernel_standard_l changes.
[glibc.git] / ChangeLog
1 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #3868]
4 [BZ #13879]
5 [BZ #13910]
6 [BZ #13911]
7 [BZ #13912]
8 [BZ #13913]
9 [BZ #13915]
10 [BZ #13916]
11 [BZ #13917]
12 [BZ #13918]
13 [BZ #13919]
14 [BZ #13920]
15 [BZ #13921]
16 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18 (__kernel_standard_l): New function.
19 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20 __kernel_standard.
21 * math/w_acosl.c (__acosl): Likewise.
22 * math/w_asinl.c (__asinl): Likewise.
23 * math/w_atan2l.c (__atan2l): Likewise.
24 * math/w_atanhl.c (__atanhl): Likewise.
25 * math/w_coshl.c (__coshl): Likewise.
26 * math/w_exp10l.c (__exp10l): Likewise.
27 * math/w_exp2l.c (__exp2l): Likewise.
28 * math/w_fmodl.c (__fmodl): Likewise.
29 * math/w_hypotl.c (__hypotl): Likewise.
30 * math/w_j0l.c (__j0l, __y0l): Likewise.
31 * math/w_j1l.c (__j1l, __y1l): Likewise.
32 * math/w_jnl.c (__jnl, __ynl): Likewise.
33 * math/w_lgammal.c (__lgammal): Likewise.
34 * math/w_log10l.c (__log10l): Likewise.
35 * math/w_log2l.c (__log2l): Likewise.
36 * math/w_logl.c (__logl): Likewise.
37 * math/w_powl.c (__powl): Likewise.
38 * math/w_remainderl.c (__remainderl): Likewise.
39 * math/w_scalbl.c (sysv_scalbl): Likewise.
40 * math/w_sinhl.c (__sinhl): Likewise.
41 * math/w_sqrtl.c (__sqrtl): Likewise.
42 * math/w_tgammal.c (__tgammal): Likewise.
43 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45 * math/libm-test.inc (acos_test): Add more tests.
46 (acosh_test): Likewise.
47 (asin_test): Likewise.
48 (atanh_test): Likewise.
49 (exp_test): Likewise.
50 (exp10_test): Likewise.
51 (exp2_test): Likewise.
52 (expm1_test): Likewise.
53 (lgamma_test): Likewise.
54 (log_test): Likewise.
55 (log10_test): Likewise.
56 (log1p_test): Likewise.
57 (log2_test): Likewise.
58 (pow_test): Do not allow some spurious overflow exceptions.
59 (sqrt_test): Add more tests.
60 (tgamma_test): Likewise.
61 (y0_test): Likewise.
62 (y1_test): Likewise.
63 (yn_test): Likewise.
64
65 2012-03-27 Anton Blanchard <anton@samba.org>
66
67 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68 MAP_HUGETLB.
69 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72
73 2012-03-27 David S. Miller <davem@davemloft.net>
74
75 * conform/Makefile: Run run-conformtest.sh using $(BASH).
76
77 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78 have-as-vis3 check.
79
80 2012-03-27 Andreas Jaeger <aj@suse.de>
81
82 * sysdeps/x86_64/elf/configure.in: Moved to ...
83 * sysdeps/x86_64/configure.in: ... here.
84 * sysdeps/x86_64/elf/start.S: Moved to ...
85 * sysdeps/x86_64/start.S: ... here.
86 * sysdeps/x86_64/elf/configure: Delete.
87
88 * sysdeps/x86_64/configure.in: Merge contents from
89 sysdeps/i386/configure.in (without i686 check).
90
91 * sysdeps/i386/elf/Versions: Merge into ...
92 * sysdeps/i386/Versions: ... this.
93 * sysdeps/i386/elf/Versions: Delete file.
94 * sysdeps/i386/elf/start.S: Moved to ...
95 * sysdeps/i386/start.S: ...here.
96 * sysdeps/i386/elf/configure.in: Merge into...
97 * sysdeps/i386/configure.in: ...here.
98 * sysdeps/i386/elf/configure.in: Delete file.
99 * sysdeps/i386/elf/configure: Delete file.
100
101 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
102 * debug/backtracesyms.c: ... here.
103 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
104 * debug/backtracesymsfd.c: ... here.
105 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
106 * sysdeps/generic/ifunc-sel.h: ... here.
107
108 * sysdeps/unix/i386/start.c: Delete file.
109 * sysdeps/unix/sparc/start.c: Delete file.
110 * sysdeps/unix/start.c: Delete file.
111
112 * sysdeps/sh/elf/configure.in: Moved to ...
113 * sysdeps/sh/configure.in: ... here.
114 * sysdeps/sh/elf/start.S: Moved to ...
115 * sysdeps/sh/start.S: ... here.
116 * sysdeps/sh/elf/configure: Delete file.
117
118 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
119 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
120 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
121 * sysdeps/powerpc/powerpc64/entry.h: ... here.
122 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
123 * sysdeps/powerpc/powerpc64/start.S: here.
124 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
125 * sysdeps/powerpc/powerpc64/Makefile: ... this.
126 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
127 * sysdeps/powerpc/powerpc64/configure.in: ... this.
128 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
129
130 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
131 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
132 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
133 * sysdeps/powerpc/powerpc32/start.S: ... here.
134 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
135 * sysdeps/powerpc/powerpc32/configure.in: ... this.
136 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
137
138 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
139 * sysdeps/powerpc/ifunc-sel.h: ... here.
140 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
141 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
142
143 * sysdeps/sparc/elf/configure.in: Moved to ...
144 * sysdeps/sparc/configure.in: ... here.
145 * sysdeps/sparc/elf/configure: Delete file.
146 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
147 * sysdeps/sparc/sparc32/start.S: ... here.
148 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
149 * sysdeps/sparc/sparc64/start.S: ... here.
150 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
151 * sysdeps/sparc/sparc32/Makefile: ... this.
152 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
153 * sysdeps/sparc/sparc64/Makefile: ... this.
154
155 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
156 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
157 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
158 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
159 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
160 * sysdeps/s390/s390-32/setjmp.S: ... here.
161 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
162 * sysdeps/s390/s390-32/configure.in: ... here.
163 * sysdeps/s390/s390-32/elf/configure: Delete file.
164 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
165 * sysdeps/s390/s390-32/start.S: ... here.
166
167 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
168 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
169 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
170 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
171 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
172 * sysdeps/s390/s390-64/setjmp.S: ... here.
173 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
174 * sysdeps/s390/s390-64/configure.in: ... here
175 * sysdeps/s390/s390-64/elf/configure: Delete file.
176 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
177 * sysdeps/s390/s390-64/start.S: ... here.
178 * sysdeps/s390/s390-64/elf/configure: Delete.
179
180 * configure.in: Remove support for elf directories in sysdeps.
181
182 * configure: Regenerated.
183 * sysdeps/i386/configure: Regenerated.
184 * sysdeps/powerpc/powerpc32/configure: Regenerated.
185 * sysdeps/powerpc/powerpc64/configure: Regenerated.
186 * sysdeps/s390/s390-32/configure: Regenerated.
187 * sysdeps/s390/s390-64/configure: Regenerated.
188 * sysdeps/sh/configure: Regenerated.
189 * sysdeps/sparc/configure: Regenerated.
190 * sysdeps/x86_64/configure: Regenerated.
191
192 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
193
194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
195
196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
197 denormal result into account.
198
199 2012-03-25 Roland McGrath <roland@hack.frob.com>
200
201 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
202 Reported by Allan McRae <allan@archlinux.org>.
203
204 2012-03-23 Jeff Law <law@redhat.com>
205
206 * nss/getnssent.c (__nss_getent): Fix typo.
207
208 2012-03-23 David S. Miller <davem@davemloft.net>
209
210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
211
212 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
213
214 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
215 to pad to uint64_t for each field.
216 (dl_tls_index): Replace unsigned long with uint64_t.
217
218 2012-03-23 Daniel Jacobowitz <dmj@google.com>
219 Paul Pluzhnikov <ppluzhnikov@google.com>
220
221 [BZ #6528]
222 * grp/Makefile (otherlibs): Don't set it.
223 * inet/Makefile (otherlibs): Likewise.
224 * login/Makefile (otherlibs): Likewise.
225 * nscd/Makefile (otherlibs): Likewise.
226 * posix/Makefile (otherlibs): Likewise.
227 * pwd/Makefile (otherlibs): Likewise.
228 * rt/Makefile (otherlibs): Likewise.
229 * sunrpc/Makefile (otherlibs): Likewise.
230 * nss/Makefile (otherlibs): Likewise.
231 Add libnss_files to routines and static-only-routines.
232 ($(objpfx)getent): Remove rule.
233 * resolv/Makefile: Add libnss_dns and libresolv to routines and
234 static-only-routines.
235
236 2012-03-22 Joseph Myers <joseph@codesourcery.com>
237
238 [BZ #13892]
239 * math/s_cexp.c: Include <float.h>.
240 (__cexp): Handle exp result overflowing not necessarily
241 overflowing both real and imaginary parts of result.
242 * math/s_cexpf.c: Likewise.
243 * math/s_cexpl.c: Likewise.
244 * math/libm-test.inc (cexp_test): Add more tests.
245 * sysdeps/i386/fpu/libm-test-ulps: Update.
246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
247
248 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
249
250 * include/link.h (ELFW): New macro.
251 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
252 Replace ELF64_R_TYPE with ELFW(R_TYPE).
253
254 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
255
256 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
257 with uint64_t.
258
259 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
260
261 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
262 declaration.
263 (struct La_x32_retval): Likewise.
264
265 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
266
267 * sysdeps/x86_64/preconfigure.in: New file.
268 * sysdeps/x86_64/preconfigure: New generated file.
269
270 2012-03-22 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #13824]
273 * math/e_exp2l.c: Include <float.h>.
274 (__ieee754_exp2l): Handle overflow and underflow cases
275 separately. Only pass fractional part of argument to
276 __ieee754_expl.
277 * math/libm-test.inc (exp2_test): Add more tests.
278
279 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
280 negating x to take absolute value.
281 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
282 Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
285 Likewise.
286 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
287 computing low part if x was negated.
288 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
289
290 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
291
292 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
293 la_x32_gnu_pltexit.
294 (pltexit): Cast int_retval to ptrdiff_t.
295 * elf/tst-auditmod3b.c: Likewise.
296 * elf/tst-auditmod4b.c: Likewise.
297 * elf/tst-auditmod5b.c: Likewise.
298 * elf/tst-auditmod6b.c: Likewise.
299 * elf/tst-auditmod6c.c: Likewise.
300 * elf/tst-auditmod7b.c: Likewise.
301
302 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
303 and x32_gnu_pltexit.
304
305 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
306 __ELF_NATIVE_CLASS.
307 (La_x32_regs): New macro.
308 (La_x32_retval): Likewise.
309 (la_x32_gnu_pltenter): New function prototype.
310 (la_x32_gnu_pltexit): Likewise.
311
312 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
313
314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
315 exponent.
316
317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
318
319 * configure.in (libc_cv_cc_nofma): Check for option to disable
320 generation of FMA instructions.
321 * configure: Regenerate.
322 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
323 * sysdeps/ieee754/dbl-64/Makefile: New file.
324 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
325 Remove brandred-fma4.
326 (CFLAGS-brandred-fma4.c): Remove.
327 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
329 define.
330 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
331 define.
332
333 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
334
335 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
336 LLONG_MAX != LONG_MAX.
337 (_itoa_word): Use _ITOA_WORD_TYPE on value.
338 (_fitoa_word): Likewise.
339 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
340 LLONG_MAX != LONG_MAX.
341 * stdio-common/_itowa.h: Include <_itoa.h>.
342 (_itowa_word): Use _ITOA_WORD_TYPE on value.
343 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
344 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
345 only if not defined.
346 (_ITOA_WORD_TYPE): Likewise.
347 (_itoa_word): Use _ITOA_WORD_TYPE on value.
348 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
349
350 2012-03-21 David S. Miller <davem@davemloft.net>
351
352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
353
354 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
355
356 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
357 of x86_64 when setting libc_cv_slibdir, libdir and
358 libc_cv_localedir.
359 * sysdeps/unix/sysv/linux/configure: Regenerated.
360
361 2012-03-21 Joseph Myers <joseph@codesourcery.com>
362
363 * manual/lang.texi (Old Varargs): Remove section.
364 (How Variadic): Update menu.
365 (va_start): Do not mention varargs.h.
366
367 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
368 Joseph Myers <joseph@codesourcery.com>
369
370 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
371 link test.
372 * configure: Regenerated.
373
374 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
375
376 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
377 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
378 conformtest.pl
379
380 2012-03-21 Joseph Myers <joseph@codesourcery.com>
381
382 * NOTES: Remove.
383 * Makefile (files-for-dist): Remove NOTES.
384 (NOTES): Remove rule.
385 * README: Don't refer to NOTES.
386 * manual/creature.texi: Don't include macros.texi.
387 * manual/intro.texi (creature.texi): Remove comment referring to
388 NOTES.
389
390 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
391 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
392 * configure: Regenerated.
393 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
394 LIBC_TRY_CC_OPTION.
395 (libc_cv_as_i686): Likewise.
396 (libc_cv_cc_avx): Likewise.
397 (libc_cv_cc_sse2avx): Likewise.
398 (libc_cv_cc_fma4): Likewise.
399 (libc_cv_cc_novzeroupper): Likewise.
400 * sysdeps/i386/configure: Regenerated.
401
402 [BZ #13883]
403 * sysdeps/i386/fpu/s_cexp.S: Remove.
404 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
405 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
406 * math/libm-test.inc (cexp_test): Add more tests.
407 * sysdeps/i386/fpu/libm-test-ulps: Update.
408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
409
410 2012-03-21 Allan McRae <allan@archlinux.org>
411
412 * timezone/Makefile: Do not install iso3166.tab and zone.tab
413
414 2012-03-21 Joseph Myers <joseph@codesourcery.com>
415
416 [BZ #13871]
417 * math/w_exp2.c: Do not include <float.h>.
418 (o_threshold, u_threshold): Remove.
419 (__exp2): Calculate result before checking finiteness and calling
420 __kernel_standard.
421 * math/w_exp2f.c: Likewise.
422 * math/w_exp2l.c: Likewise.
423 * math/libm-test.inc (exp2_test): Require overflow exception for
424 1e6 input.
425
426 [BZ #3866]
427 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
428 range of signed 64-bit integers before using fistpll. Remove
429 checks for whether integers fit in mantissa bits.
430 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
431 the range of signed 32-bit integers before using fistpl. Remove
432 checks for whether integers fit in mantissa bits.
433 * sysdeps/i386/fpu/e_powl.S (p64): New object.
434 (__ieee754_powl): Test for y outside the range of signed 64-bit
435 integers before using fistpll. Reduce 64-bit values to 63-bit
436 ones as needed.
437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
438 divide-by-zero is raised for zero to large negative powers.
439 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
440 (__ieee754_powl): Test for y outside the range of signed 64-bit
441 integers before using fistpll. Reduce 64-bit values to 63-bit
442 ones as needed.
443 * math/libm-test.inc (pow_test): Add more tests.
444
445 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
446
447 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
448 <stdio-common/_itoa.h>.
449 * debug/segfault.c: Likewise.
450 * elf/dl-cache.c: Likewise.
451 * elf/dl-minimal.c: Likewise.
452 * elf/dl-misc.c: Likewise.
453 * elf/dl-sysdep.c: Likewise.
454 * elf/dl-version.c: Likewise.
455 * elf/rtld.c: Likewise.
456 * hurd/hurdsock.c: Likewise.
457 * hurd/lookup-retry.c: Likewise.
458 * malloc/malloc.c: Likewise.
459 * malloc/mtrace.c: Likewise.
460 * nscd/nscd_getgr_r.c: Likewise.
461 * nscd/nscd_getpw_r.c: Likewise.
462 * nscd/nscd_getserv_r.c: Likewise.
463 * posix/getopt_init.c: Likewise.
464 * posix/wordexp.c: Likewise.
465 * stdio-common/_itoa.c: Likewise.
466 * stdio-common/printf_fphex.c: Likewise.
467 * stdio-common/vfprintf.c: Likewise.
468 * string/_strerror.c: Likewise.
469 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
470 * sysdeps/i386/i686/hp-timing.h: Likewise.
471 * sysdeps/mach/_strerror.c: Likewise.
472 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
473 * sysdeps/mach/hurd/sethostid.c: Likewise.
474 * sysdeps/mach/hurd/xmknodat.c: Likewise.
475 * sysdeps/mach/xpg-strerror.c: Likewise.
476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
477 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
478 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
479 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
480 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
481 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
482 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
483 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
484 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
485 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
486 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
487 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
488 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
489 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
490 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
491 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
492 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
493 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
494 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
495 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
496 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
497
498 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
499
500 * stdio-common/_itoa.h: Moved to ...
501 * sysdeps/generic/_itoa.h: Here.
502
503 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
504
505 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
506 instead of "_itoa.h" and "_itowa.h".
507 * stdio-common/vfprintf.: Likewise.
508
509 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
510
511 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
512 <bits/wordsize.h>.
513 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
514 (__signbit): Likwise.
515 (llrintf): Likwise.
516 (llrint): Likwise.
517
518 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
519
520 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
521 __WORDSIZE != 64.
522
523 2012-03-20 Joseph Myers <joseph@codesourcery.com>
524
525 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
526 OVERFLOW_EXCEPTION_OK.
527 * math/libm-test.inc ("Philosophy"): Update comment about
528 exception testing.
529 (OVERFLOW_EXCEPTION): Define.
530 (OVERFLOW_EXCEPTION_OK): Likewise.
531 (INVALID_EXCEPTION_OK): Renumber.
532 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
533 (IGNORE_ZERO_INF_SIGN): Likewise.
534 (test_exceptions): Handle FE_OVERFLOW.
535 (exp10_test): Expect overflow exceptions.
536 (exp2_test): Likewise.
537 (expm1_test): Likewise.
538 (nextafter_test): Likewise.
539 (pow_test): Likewise.
540 (scalbn_test): Likewise.
541 (scalbln_test): Likewise.
542
543 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
544
545 * sysdeps/x86_64/bits/atomic.h
546 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
547 64bit integer.
548 (atomic_exchange_acq): Likewise.
549 (__arch_exchange_and_add_body): Likewise.
550 (__arch_add_body): Likewise.
551 (atomic_add_negative): Likewise.
552 (atomic_add_zero): Likewise.
553
554 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
555
556 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
557 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
558
559 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
560
561 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
562 Check __x86_64__ instead of __WORDSIZE.
563
564 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
565
566 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
567
568 2012-03-19 David S. Miller <davem@davemloft.net>
569
570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
571
572 * sysdeps/sparc/fpu/fenv_private.h: New file.
573 * sysdeps/sparc/fpu/math_private.h: Use it.
574 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
575 Remove.
576 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
577 (libc_feholdexcept_setroundl): Remove.
578 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
579 Remove.
580 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
581 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
582
583 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
584
585 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
586 int64_t instead of long int.
587 (INSERT_WORDS64): Likwise.
588
589 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
590
591 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
592 _Unwind_GetCFA return to _Unwind_Ptr first.
593
594 2012-03-19 Joseph Myers <joseph@codesourcery.com>
595
596 [BZ #13629]
597 * math/s_clog.c: Include <float.h>.
598 (__clog): Scale large or subnormal inputs.
599 * math/s_clogf.c: Likewise.
600 * math/s_clogl.c: Likewise.
601 * math/s_clog10.c: Include <float.h>.
602 (M_LOG10_2): Define.
603 (__clog10): Scale large or subnormal inputs.
604 * math/s_clog10f.c: Likewise.
605 * math/s_clog10l.c: Likewise.
606 * math/libm-test.inc (clog_test): Add more tests.
607 (clog10_test): Likewise.
608 * sysdeps/i386/fpu/libm-test-ulps: Update.
609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
610
611 [BZ #11451]
612 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
613 x and y.
614 * math/libm-test.inc (atan2_test): Add another test.
615
616 * Makerules (common-objdir-compile): Remove.
617 * sysdeps/unix/Makefile (config-generated): Do not add
618 $(unix-generated) to variable.
619 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
620 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
621 Remove rule.
622 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
623 Likewise.
624 [generic bits/local_lim.h] (before-compile): Do not append to
625 variable.
626 [generic bits/local_lim.h] (common-generated): Likewise.
627 [generic sys/param.h] (before-compile): Do not append to variable.
628 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
629 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
630 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
631 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
632 include.
633 [generic sys/param.h] (sys/param.h-includes): Remove variable.
634 [generic sys/param.h] (sys/param.h-includes): Remove rule.
635 [generic sys/param.h] ($(addprefix
636 $(common-objpfx),$(sys/param.h-includes))): Likewise.
637 [generic sys/param.h] (common-generated): Do not append to
638 variable.
639 [generic sys/param.h] (sysdep_headers): Likewise.
640 [generic bits/errno.h] (before-compile): Do not append to
641 variable.
642 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
643 rule.
644 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
645 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
646 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
647 [generic bits/errno.h] (common-generated): Do not append to
648 variable.
649 [generic bits/ioctls.h] (before-compile): Do not append to
650 variable.
651 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
652 rule.
653 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
654 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
655 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
656 rule.
657 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
658 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
659 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
660 [generic bits/ioctls.h] (common-generated): Do not append to
661 variable.
662 [generic sys/syscall.h] (syscall.h): Remove variable.
663 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
664 rule.
665 [generic sys/syscall.h] (before-compile): Do not append to
666 variable.
667 [generic sys/syscall.h] (common-generated): Likewise.
668 * sysdeps/unix/errnos-tmpl.c: Remove file.
669 * sysdeps/unix/errnos.awk: Likewise.
670 * sysdeps/unix/ioctls-tmpl.c: Likewise.
671 * sysdeps/unix/ioctls.awk: Likewise.
672 * sysdeps/unix/mk-local_lim.c: Likewise.
673 * sysdeps/unix/snarf-ioctls: Likewise.
674
675 2012-03-19 Richard Henderson <rth@twiddle.net>
676
677 * sysdeps/i386/fpu/fenv_private.h: New file.
678 * sysdeps/i386/fpu/math_private.h: Use it.
679 (math_opt_barrier, math_force_eval): Remove.
680 (libc_feholdexcept_setround_53bit): Remove.
681 (libc_feupdateenv_53bit): Remove.
682 * sysdeps/x86_64/fpu/math_private.h: Likewise.
683 (math_opt_barrier, math_force_eval): Remove.
684 (libc_feholdexcept): Remove.
685 (libc_feholdexcept_setround): Remove.
686 (libc_fetestexcept, libc_fesetenv): Remove.
687 (libc_feupdateenv_test): Remove.
688 (libc_feupdateenv, libc_feholdsetround): Remove.
689 (libc_feresetround): Remove.
690
691 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
692 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
693
694 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
695 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
696 (libc_feupdateenv_testl): New.
697 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
698 (libc_feupdateenv_testf): New.
699 (libc_feupdateenv): Use libc_feupdateenv_test.
700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
701 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
702
703 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
704 (libc_feholdsetroundf, libc_feholdsetroundl): New.
705 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
706 (libc_feresetround_noex): New.
707 (libc_feresetround_noexf): New.
708 (libc_feresetround_noexl): New.
709 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
710 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
711 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
712 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
713 SET_RESTORE_ROUND.
714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
716 (__cos): Likewise.
717 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
719 SET_RESTORE_ROUND_NOEX.
720 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
721 SET_RESTORE_ROUND_NOEXF.
722 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
723 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
724 (libc_feholdsetroundf): New.
725 (libc_feresetround, libc_feresetroundf): New.
726
727 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
728 (libc_feholdexcept_setround_53bit): Convert from macro to function.
729 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
730
731 * sysdeps/generic/math_private.h: Include <fenv.h>.
732 (default_libc_feholdexcept): New.
733 (default_libc_feholdexcept_setround): New.
734 (default_libc_fesetenv, default_libc_feupdateenv): New.
735 (libc_feholdexcept): Only define if undefined.
736 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
737 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
738 (libc_feholdexcept_setroundl): Likewise.
739 (libc_feholdexcept_setround_53bit): Likewise.
740 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
741 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
742 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
743 (libc_feupdateenv_53bit): Likewise.
744 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
745 (libc_feholdexcept): Convert from macro to inline function.
746 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
747 (libc_fesetenv, libc_feupdateenv): Likewise.
748
749 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
750 not previously defined.
751 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
752 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
753 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
754 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
755 * sysdeps/ieee754/flt-32/math_private.h: New file.
756 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
757 math_private.h below SET_FLOAT_WORD.
758 (__isnan, __isinf_ns, __finite): Remove.
759 (__isnanf, __isinf_nsf, __finitef): Remove.
760
761 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
762
763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
764
765 2012-03-17 David S. Miller <davem@davemloft.net>
766
767 [BZ #6471]
768 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
769 for 2.16.
770
771 2012-03-16 David S. Miller <davem@davemloft.net>
772
773 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
774 warnings.
775
776 [BZ #6471]
777 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
778 properly.
779 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
780 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
781 sysdep_routines when subdir is sysvipc.
782 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
783 __getshmlba helper.
784
785 * sysdeps/sparc/fpu/libm-test/ulps: Update.
786
787 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
788
789 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
790 [__LP64__].
791
792 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
793
794 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
795 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
796 (__lround): Renamed to ...
797 (__llround): This. Replace long int with long long int.
798 Define lround functions as aliases of llround functions.
799 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
800
801 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
802
803 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
804 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
805 adresses to uintptr_t. Replace "long int" and "unsigned long
806 int" with "greg_t" on va_arg.
807
808 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
809
810 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
811 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
812
813 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
814 Move e_machine check before EI_CLASS check. Handle x32
815 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
816 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
817 SKIP_EM_IA_64 and include
818 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
819
820 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
821 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
822 (add_system_dir): New macro.
823
824 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
825 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
826
827 2012-03-16 Joseph Myers <joseph@codesourcery.com>
828
829 [BZ #2551]
830 [BZ #2552]
831 [BZ #2553]
832 [BZ #2554]
833 [BZ #2562]
834 [BZ #2563]
835 [BZ #2565]
836 [BZ #2566]
837 [BZ #2576]
838 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
839 (y0): Likewise.
840 * math/w_j0f.c (j0f): Likewise.
841 (y0f): Likewise.
842 * math/w_j0l.c (__j0l): Likewise.
843 (__y0l): Likewise.
844 * math/w_j1.c (j1): Likewise.
845 (y1): Likewise.
846 * math/w_j1f.c (j1f): Likewise.
847 (y1f): Likewise.
848 * math/w_j1l.c (__j1l): Likewise.
849 (__y1l): Likewise.
850 * math/w_jn.c (jn): Likewise.
851 (yn): Likewise.
852 * math/w_jnf.c (jnf): Likewise.
853 (ynf): Likewise.
854 * math/w_jnl.c (__jnl): Likewise.
855 (__ynl): Likewise.
856 * math/libm-test.inc (j0_test): Add more tests.
857 (j1_test): Likewise.
858 (jn_test): Likewise. Add trailing semicolon to existing test.
859 (y0_test): Likewise.
860 (y1_test): Likewise.
861 * sysdeps/i386/fpu/libm-test-ulps: Update.
862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
863
864 [BZ #13851]
865 [BZ #13854]
866 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
867 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
868 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
869 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
870 (__tanl): Set errno for infinite argument.
871 * sysdeps/i386/fpu/mptan.c: Remove.
872 * sysdeps/i386/fpu/s_tan.S: Likewise.
873 * sysdeps/i386/fpu/s_tanl.S: Likewise.
874 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
875 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
876 * math/libm-test.inc (tan_test): Add more tests and enable more
877 tests for double and long double.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880
881 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
882
883 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
884 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
885
886 2012-03-16 Roland McGrath <roland@hack.frob.com>
887
888 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
889 * configure.in: Use it for both main tree and add-ons.
890 * configure: Regenerated.
891
892 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
893
894 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
895
896 2012-03-16 Joseph Myers <joseph@codesourcery.com>
897
898 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
899 in comment.
900
901 [BZ #13851]
902 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
903 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
904 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
905 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
906 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
907 infinite argument.
908 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
910 != 0 for prec == 2.
911 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
912 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
913 * sysdeps/i386/fpu/s_cosl.S: Likewise.
914 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
915 * sysdeps/i386/fpu/s_sinl.S: Likewise.
916 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
917 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
918 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
919 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
920 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
921 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
922 * math/libm-test.inc (cos_test): Add more tests and enable more
923 tests for long double.
924 (sin_test): Likewise.
925 (sincos_test): Likewise.
926 * sysdeps/i386/fpu/libm-test-ulps: Update.
927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
928
929 2012-03-16 David S. Miller <davem@davemloft.net>
930
931 * sysdeps/sparc/fpu/math_private.h: New file.
932
933 2012-03-15 David S. Miller <davem@davemloft.net>
934
935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
936 file.
937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
939 file.
940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
946 sysdep routines.
947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
948
949 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
950 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
951
952 * sysdeps/sparc/sparc-ifunc.h: New file.
953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
954 sparc-ifunc.h
955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
957 Likewise.
958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
959 Likewise.
960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
964 Likewise.
965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
970 Likewise.
971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
972 Likewise.
973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
997
998 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
999
1000 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1001 scaling.
1002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1003
1004 2012-03-15 Andreas Jaeger <aj@suse.de>
1005
1006 [BZ #13852]
1007 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1008 ieee754/flt-32 implementation for sin, cos and sincos.
1009 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1010 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1011 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1012 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1013 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1014 ieee754/flt-32 implementation for tan.
1015
1016 * math/libm-test.inc (cos_test): Enable some large input tests for
1017 float as well
1018 (sin_test): Likewise.
1019 (sincos_test): Likewise.
1020 (tan_test): Add tests for large input.
1021
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023
1024 2012-03-15 Andreas Jaeger <aj@suse.de>
1025
1026 [BZ #13658]
1027 * math/libm-test.inc (cos_test): Add more test cases.
1028 (sin_test): Likewise.
1029 (sincos_test): Likewise.
1030
1031 2012-03-15 Andreas Jaeger <aj@suse.de>
1032
1033 [BZ #13837]
1034 * math/libm-test.inc (cos_test): Add a test case for large input
1035 value.
1036 (sin_test): Likewise.
1037 (sincos_test): Likewise.
1038
1039 2012-03-15 Andreas Jaeger <aj@suse.de>,
1040 Joseph Myers <joseph@codesourcery.com>
1041
1042 [BZ #13658]
1043 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1044 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1045 * sysdeps/i386/fpu/branred.c: Likewise.
1046 * sysdeps/i386/fpu/dosincos.c: Likewise.
1047 * sysdeps/i386/fpu/mpa.c: Likewise.
1048 * sysdeps/i386/fpu/s_cos.S: Likewise.
1049 * sysdeps/i386/fpu/s_sin.S: Likewise.
1050 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1051 * sysdeps/i386/fpu/sincos32.c: Likewise.
1052
1053 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1054 Define.
1055 (libc_feupdateenv_53bit): Define.
1056 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1057 Define.
1058 (libc_feupdateenv_53bit): Define.
1059
1060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1061 53 bit (without extend i386 double precision).
1062
1063 * math/libm-test.inc (sincos_test): Add tests for large input.
1064 (sin): Likewise.
1065 (cos): Likewise.
1066
1067 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1068
1069 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1070
1071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1072
1073 2012-03-15 David S. Miller <davem@davemloft.net>
1074
1075 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1076 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1077 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1078 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1091 file.
1092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1094 file.
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1097 file.
1098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1100 file.
1101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1103 fmin/fmax sysdep routines.
1104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1105
1106 2012-03-14 David S. Miller <davem@davemloft.net>
1107
1108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1137 routines.
1138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1139 file.
1140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1142 file.
1143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1145 file.
1146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1148 file.
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1151 file.
1152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1154 file.
1155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1156 file.
1157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1158 file.
1159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1160 file.
1161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1162 New file.
1163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1164 file.
1165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1166 file.
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1169 file.
1170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1172 file.
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1175 file.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1178 VIS3 routines.
1179
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1181 New file.
1182
1183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1184
1185 * sysdeps/sparc/configure.in: New file.
1186 * sysdeps/sparc/configure: Generate.
1187 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1188 * configure: Regenerate.
1189 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1190 * config.make.in (have-as-vis3): New.
1191 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1192 available use -Av9d instead of -Av9a.
1193 * sysdeps/sparc/sparc64/Makefile: Likewise.
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1196 New file.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1198 file.
1199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1200 New file.
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1202 file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1208
1209 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1210 fzeros/fnegs to load 0x80000000 into a float register instead of
1211 using the stack.
1212 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1213
1214 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1215
1216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1217 bits/syscall.h.
1218 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1219 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1220 ($(inst_includedir)/bits/syscall.h): Remove rule.
1221 ($(objpfx)bits/syscall.d): Include instead of
1222 $(objpfx)syscall-list.d.
1223 (generated): Change syscall-list.h and syscall-list.d to
1224 bits/syscall.h and bits/syscall.d.
1225
1226 2012-03-14 Roland McGrath <roland@hack.frob.com>
1227
1228 [BZ #13846]
1229 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1230
1231 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1232
1233 [BZ #13841]
1234 * math/s_csqrt.c: Include <float.h>.
1235 (__csqrt): Scale large or subnormal inputs.
1236 * math/s_csqrtf.c: Likewise.
1237 * math/s_csqrtl.c: Likewise.
1238 * math/libm-test.inc (csqrt_test): Add more tests.
1239 * sysdeps/i386/fpu/libm-test-ulps: Update.
1240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1241
1242 [BZ #13840]
1243 * math/libm-test.inc (hypot_test): Add more tests.
1244
1245 2012-03-13 David S. Miller <davem@davemloft.net>
1246
1247 [BZ #13840]
1248 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1249 double-precision for the calculation instead of scaling.
1250
1251 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1252
1253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1254 manipulate bits before adding and subtracting TWO52[sx].
1255 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1257 Likewise.
1258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1259
1260 2012-03-13 David S. Miller <davem@davemloft.net>
1261
1262 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1263 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1265 rtld-global-offsets.h
1266 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1267
1268 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1269 large parameters.
1270
1271 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1272
1273 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1274 'err' in the ifdef scope in which it is actually used.
1275
1276 * nss/nss_db/db-init.c: Include string.h
1277
1278 2012-03-12 David S. Miller <davem@davemloft.net>
1279
1280 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1281 masking out of the most significant byte of random value used.
1282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1283 Fix coding style in previous change.
1284
1285 * sysdeps/unix/sysv/linux/kernel-features.h
1286 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1287 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1288 expression.
1289 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1290 later.
1291
1292 2012-03-11 David S. Miller <davem@davemloft.net>
1293
1294 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1295 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1297 for 'resultvar' otherwise things get truncated on 64-bit.
1298
1299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1300 Fix masking out of the most significant byte of random value used.
1301
1302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1303
1304 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1305
1306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1307
1308 2012-03-09 David S. Miller <davem@davemloft.net>
1309
1310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1311 variables with appropriate CPP guards.
1312 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1313 frame pointer, not the stack pointer. Correct layout comments. Fix test
1314 on resulting framesize and the management of the outregs buffer for pltexit.
1315 Preserve floating point return values across _dl_call_pltexit call.
1316 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1317 framesize and the management of the outregs buffer for pltexit.
1318 Preserve floating point return values across _dl_call_pltexit
1319 call.
1320 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1321 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1322 (print_exit): Fix format string for return register value.
1323
1324 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1325
1326 * sunrpc/Makefile (others): Add rpcgen.
1327 ($(objpfx)rpcgen): Remove special build rule and dependency on
1328 libc.
1329 * sunrpc/rpcgen.c: New file.
1330
1331 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1332
1333 [BZ #13673]
1334 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1335 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1336 * sysdeps/i386/crti.S: Likewise.
1337 * sysdeps/i386/crtn.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1339 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1340 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1341 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1342 * sysdeps/sh/crti.S: Likewise.
1343 * sysdeps/sh/crtn.S: Likewise.
1344 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1345
1346 [BZ #13673]
1347 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1348 with URL.
1349 * locale/programs/locfile-kw.gperf: Likewise.
1350 * locale/programs/charmap-kw.h: Regenerated.
1351 * locale/programs/locfile-kw.h: Likewise.
1352
1353 [BZ #13673]
1354 * intl/plural.y: Replace FSF snail mail address with URL.
1355 * intl/plural.c: Regenerated.
1356
1357 2012-03-09 Richard Henderson <rth@twiddle.net>
1358
1359 * include/math_private.h: Remove file.
1360 * math/math_private.h: Move file ...
1361 * sysdeps/generic/math_private.h: ... here.
1362
1363 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1364 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1365 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1366
1367 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1368 and <math_private.h>.
1369 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1370 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1371 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1372 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1373 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1394 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1395 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1399 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1401 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1402 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1403 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1406 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1407 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1408 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1409 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1410 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1411 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1412 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1413 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1414 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1415 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1416 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1417 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1418 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1419 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1428 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1429 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1430 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1432 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1433 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1435 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1437 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1438 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1440 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1443 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1448 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1449 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1451 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1452 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1456 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1457 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1458 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1459 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1460 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1461 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1462 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1463 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1464 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1465 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1466 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1467 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1468 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1469 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1470 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1471 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1472 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1473 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1474 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1475 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1476 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1477 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1478 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1479 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1480 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1481 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1482 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1483 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1485 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1486 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1487 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1488 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1489 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1490 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1491 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1492 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1493 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1495 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1496 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1497 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1498 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1499 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1500 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1501 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1502 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1503 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1504 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1505 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1506 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1507 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1508 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1509 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1510 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1511 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1512 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1513 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1514 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1515 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1516 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1517 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1518 * sysdeps/ieee754/k_standard.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1639 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1641 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1646 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1651 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1667 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1668 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1669 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1679 * sysdeps/ieee754/s_lib_version.c: Likewise.
1680 * sysdeps/ieee754/s_matherr.c: Likewise.
1681 * sysdeps/ieee754/s_signgam.c: Likewise.
1682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1684 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1685 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1686 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1687 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1688 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1689 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1690 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1691 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1692 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1693 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1694 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1695 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1696 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1697 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1698 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1699 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1700 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1703
1704 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1705
1706 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1707 * sunrpc/rpc_main.c: Likewise.
1708 * sunrpc/rpc_svcout.c: Likewise.
1709
1710 2012-03-09 David S. Miller <davem@davemloft.net>
1711
1712 * include/math_private.h: New file.
1713
1714 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1715
1716 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1717 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1718 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1719 from <bits/socket_type.h>.
1720 (enum __socket_type): Don't define here.
1721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1723 bits/socket_type.h.
1724
1725 [BZ #13566]
1726 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1727 checking __USE_GNU.
1728
1729 * Makerules ($(inst_includedir)/%.h): New rule.
1730 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1731 (install-others): Remove variable setting.
1732 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1733
1734 2012-03-08 Richard Henderson <rth@twiddle.net>
1735
1736 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1737 from macro to inline function; merge with the
1738 !__LIBC_INTERNAL_MATH_INLINES version.
1739 (__ieee754_sqrtf): Likewise.
1740
1741 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1742 to inline function.
1743 (__rintf, __floor, __floorf): Likewise.
1744
1745 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1746 macro to inline function.
1747 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1748
1749 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1750 not <math/math_private.h>.
1751
1752 2012-03-08 David S. Miller <davem@davemloft.net>
1753
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1755 copyright year.
1756 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1757
1758 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1759
1760 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1761 normalization.
1762 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1763 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1764
1765 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1766
1767 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1768 be defined individually, they must be defined as a block. Define
1769 S for printing a string instead of hidint the different by using a
1770 macro for adding the 'l'.
1771 * stdio-common/tst-fphex-wide.c: Adjust.
1772
1773 2012-03-07 Marek Polacek <polacek@redhat.com>
1774
1775 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1776
1777 2012-03-08 Marek Polacek <polacek@redhat.com>
1778
1779 [BZ #13806]
1780 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1781 * stdio-common/tst-fphex.c: Define a few macros to make the
1782 test reusable. Use them.
1783 * stdio-common/tst-fphex-wide.c: New file.
1784
1785 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1786
1787 [BZ #6911]
1788 * manual/macros.texi (gnusystems): New macro.
1789 (nongnusystems): Likewise.
1790 (gnulinuxhurdsystems): Likewise.
1791 (gnuhurdsystems): Likewise..
1792 (gnulinuxsystems): Likewise.
1793 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1794 variants of the GNU system, not "GNU system".
1795 * manual/conf.texi: Likewise.
1796 * manual/errno.texi: Likewise. Update example of errno macro
1797 expansion.
1798 * manual/filesys.texi: Likewise.
1799 (getumask): Document as specific to GNU/Hurd.
1800 * manual/install.texi: Likewise. Reword some references to
1801 GNU/Linux.
1802 * manual/intro.texi: Likewise.
1803 * manual/io.texi: Likewise.
1804 (File Name Portability): Detail which constraints are inapplicable
1805 to all GNU systems and which are only inapplicable to GNU/Hurd.
1806 * manual/job.texi: Likewise.
1807 * manual/llio.texi: Likewise.
1808 (O_NOCTTY): Document as present on GNU/Linux.
1809 * manual/maint.texi: Likewise.
1810 * manual/memory.texi: Likewise.
1811 * manual/pattern.texi: Likewise.
1812 * manual/pipe.texi: Likewise.
1813 * manual/process.texi: Likewise.
1814 * manual/resource.texi: Likewise.
1815 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1816 child on GNU/Hurd.
1817 * manual/setjmp.texi: Likewise.
1818 * manual/signal.texi: Likewise.
1819 * manual/startup.texi: Likewise.
1820 * manual/stdio.texi: Likewise.
1821 * manual/terminal.texi: Likewise.
1822 (ONLCR): Document as POSIX.
1823 (OXTABS): Document availability on GNU/Linux as XTABS.
1824 (ONOEOT): Document availability separately from other bits.
1825 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1826 * manual/time.texi: Likewise.
1827 * manual/users.texi: Likewise.
1828 * INSTALL: Regenerated.
1829 * sysdeps/gnu/errlist.c: Regenerated.
1830
1831 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1832 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1833 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1834 puts.
1835 * configure: Regenerated.
1836
1837 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1838
1839 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1840 default includes instead of AC_HEADER_CHECK.
1841 * sysdeps/i386/configure: Regenerated.
1842
1843 [BZ #10716]
1844 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1845 * math/s_cacoshf.c (__cacoshf): Likewise.
1846 * math/s_cacoshl.c (__cacoshl): Likewise.
1847 * math/s_casinh.c (__casinh): Set signs of result from argument.
1848 * math/s_casinhf.c (__casinhf): Likewise.
1849 * math/s_casinhl.c (__casinhl): Likewise.
1850 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1851 (casinh_test): Add more tests.
1852 * sysdeps/i386/fpu/libm-test-ulps: Update.
1853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1854
1855 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1856
1857 * po/zh_TW.po: Update from translation team.
1858
1859 * login/Makefile (distribute): Remove variable.
1860 * catgets/Makefile: Likewise.
1861 * mach/Makefile: Likewise.
1862 * malloc/Makefile: Likewise.
1863 * misc/Makefile: Likewise.
1864 * iconv/Makefile: Likewise.
1865 * nscd/Makefile: Likewise.
1866 * hurd/Makefile: Likewise.
1867 * manual/Makefile: Likewise.
1868 * locale/Makefile: Likewise.
1869 * intl/Makefile: Likewise.
1870 * conform/Makefile: Likewise.
1871 * nss/Makefile: Likewise.
1872 * time/Makefile: Likewise.
1873 * soft-fp/Makefile: Likewise.
1874 * dirent/Makefile: Likewise.
1875 * gmon/Makefile: Likewise.
1876 * po/Makefile: Likewise.
1877 * rt/Makefile: Likewise.
1878 * socket/Makefile: Likewise.
1879 * math/Makefile: Likewise.
1880 * signal/Makefile: Likewise.
1881 * debug/Makefile: Likewise.
1882 * elf/Makefile: Likewise.
1883 * timezone/Makefile: Likewise.
1884 * stdlib/Makefile: Likewise.
1885 * iconvdata/Makefile: Likewise.
1886 * sunrpc/Makefile: Likewise.
1887 * io/Makefile: Likewise.
1888 * argp/Makefile: Likewise.
1889 * inet/Makefile: Likewise.
1890 * hesiod/Makefile: Likewise.
1891 * grp/Makefile: Likewise.
1892 * csu/Makefile: Likewise.
1893 * wctype/Makefile: Likewise.
1894 * crypt/Makefile: Likewise.
1895 * libio/Makefile: Likewise.
1896 * string/Makefile: Likewise.
1897 * nis/Makefile: Likewise.
1898 * resolv/Makefile: Likewise.
1899 * stdio-common/Makefile: Likewise.
1900 * wcsmbs/Makefile: Likewise.
1901 * dlfcn/Makefile: Likewise.
1902 * posix/Makefile: Likewise.
1903
1904 * timezone/Makefile: Don't install timezone files, just the programs
1905 and scripts.
1906
1907 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1908
1909 * nss/databases.def: Add missing gshadow entry.
1910
1911 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1912
1913 2012-03-06 Marek Polacek <polacek@redhat.com>
1914
1915 [BZ #13726]
1916 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1917 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1918 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1919 * stdio-common/tst-long-dbl-fphex.c: New file.
1920
1921 2012-03-06 David S. Miller <davem@davemloft.net>
1922
1923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1924 (set_obp_int): New function.
1925 (get_obp_int): New function.
1926 (__get_clockfreq_via_dev_openprom): Likewise.
1927 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1928 Avoid unused variable warnings on 'val' and use builtin_expect.
1929 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1930 __builtin_expect.
1931 (INLINE_CLONE_SYSCALL): Likewise.
1932
1933 2012-03-05 David S. Miller <davem@davemloft.net>
1934
1935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1936
1937 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1938
1939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1940
1941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1942 only for |x| >= 40.
1943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1944
1945 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1948 Replace gettimeofday with __vdso_gettimeofday.
1949
1950 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1951 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1952 __vdso_clock_gettime and __vdso_getcpu.
1953
1954 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1955 time with __vdso_time.
1956
1957 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1958
1959 * manual/lang.texi (size_t): Note types to which size_t may be
1960 equivalent with the GNU C Library, but do not describe when
1961 differences between them are significant.
1962
1963 2012-03-05 Andreas Jaeger <aj@suse.de>
1964
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966
1967 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1968
1969 [BZ #3976]
1970 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1971 (__ieee754_pow): Save and restore rounding mode and use
1972 round-to-nearest for main computations.
1973 * math/libm-test.inc (pow_test_tonearest): New function.
1974 (pow_test_towardzero): Likewise.
1975 (pow_test_downward): Likewise.
1976 (pow_test_upward): Likewise.
1977 (main): Call the new functions.
1978 * sysdeps/i386/fpu/libm-test-ulps: Update.
1979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1980
1981 [BZ #3976]
1982 * math/libm-test.inc (cosh_test_tonearest): New function.
1983 (cosh_test_towardzero): Likewise.
1984 (cosh_test_downward): Likewise.
1985 (cosh_test_upward): Likewise.
1986 (sinh_test_tonearest): Likewise.
1987 (sinh_test_towardzero): Likewise.
1988 (sinh_test_downward): Likewise.
1989 (sinh_test_upward): Likewise.
1990 (main): Call the new functions.
1991 * sysdeps/i386/fpu/libm-test-ulps: Update.
1992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1993
1994 2012-03-05 Tom de Vries <tom@codesourcery.com>
1995
1996 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1997 default stack guard is set in last bytes.
1998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1999
2000 2012-03-05 Kees Cook <keescook@chromium.org>
2001
2002 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2003
2004 [BZ #13656]
2005 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2006 possibly allocate from heap instead of stack.
2007 * stdio-common/bug-vfprintf-nargs.c: New file.
2008 * stdio-common/Makefile (tests): Add nargs overflow test.
2009
2010 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2011
2012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2013
2014 2012-03-03 Marek Polacek <polacek@redhat.com>
2015
2016 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2017 * math/math_private.h: Likewise.
2018 * stdlib/tst-strtod.c: Likewise.
2019 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2020 * sysdeps/x86_64/bits/atomic.h: Likewise.
2021
2022 2012-03-02 David S. Miller <davem@davemloft.net>
2023
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2028 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2029 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2030 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2031 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2032
2033 2012-03-02 Roland McGrath <roland@hack.frob.com>
2034
2035 [BZ #13792]
2036 * manual/examples/README: New file, says the example source files
2037 can be used under GPL>=2.
2038 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2039 line containing just "*/".
2040 * manual/examples/add.c: Add copyright header (GPL>=2).
2041 * manual/examples/argp-ex1.c: Likewise.
2042 * manual/examples/argp-ex2.c: Likewise.
2043 * manual/examples/argp-ex3.c: Likewise.
2044 * manual/examples/argp-ex4.c: Likewise.
2045 * manual/examples/atexit.c: Likewise.
2046 * manual/examples/db.c: Likewise.
2047 * manual/examples/dir.c: Likewise.
2048 * manual/examples/dir2.c: Likewise.
2049 * manual/examples/execinfo.c: Likewise.
2050 * manual/examples/filecli.c: Likewise.
2051 * manual/examples/filesrv.c: Likewise.
2052 * manual/examples/fmtmsgexpl.c: Likewise.
2053 * manual/examples/genpass.c: Likewise.
2054 * manual/examples/inetcli.c: Likewise.
2055 * manual/examples/inetsrv.c: Likewise.
2056 * manual/examples/isockad.c: Likewise.
2057 * manual/examples/longopt.c: Likewise.
2058 * manual/examples/memopen.c: Likewise.
2059 * manual/examples/memstrm.c: Likewise.
2060 * manual/examples/mkfsock.c: Likewise.
2061 * manual/examples/mkisock.c: Likewise.
2062 * manual/examples/mygetpass.c: Likewise.
2063 * manual/examples/pipe.c: Likewise.
2064 * manual/examples/popen.c: Likewise.
2065 * manual/examples/rprintf.c: Likewise.
2066 * manual/examples/search.c: Likewise.
2067 * manual/examples/select.c: Likewise.
2068 * manual/examples/setjmp.c: Likewise.
2069 * manual/examples/sigh1.c: Likewise.
2070 * manual/examples/sigusr.c: Likewise.
2071 * manual/examples/stpcpy.c: Likewise.
2072 * manual/examples/strdupa.c: Likewise.
2073 * manual/examples/strftim.c: Likewise.
2074 * manual/examples/strncat.c: Likewise.
2075 * manual/examples/subopt.c: Likewise.
2076 * manual/examples/swapcontext.c: Likewise.
2077 * manual/examples/termios.c: Likewise.
2078 * manual/examples/testopt.c: Likewise.
2079 * manual/examples/testpass.c: Likewise.
2080 * manual/examples/timeval_subtract.c: Likewise.
2081
2082 [BZ #13792]
2083 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2084 function to ...
2085 * manual/timeval_subtract.c.texi: ... here, new file.
2086
2087 2012-03-02 David S. Miller <davem@davemloft.net>
2088
2089 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2090
2091 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #3976]
2094 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2095 (__sin): Save and restore rounding mode and use round-to-nearest
2096 for all computations.
2097 (__cos): Save and restore rounding mode and use round-to-nearest
2098 for all computations.
2099 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2100 <fenv.h>.
2101 (tan): Save and restore rounding mode and use round-to-nearest for
2102 all computations.
2103 * math/libm-test.inc (cos_test_tonearest): New function.
2104 (cos_test_towardzero): Likewise.
2105 (cos_test_downward): Likewise.
2106 (cos_test_upward): Likewise.
2107 (sin_test_tonearest): Likewise.
2108 (sin_test_towardzero): Likewise.
2109 (sin_test_downward): Likewise.
2110 (sin_test_upward): Likewise.
2111 (tan_test_tonearest): Likewise.
2112 (tan_test_towardzero): Likewise.
2113 (tan_test_downward): Likewise.
2114 (tan_test_upward): Likewise.
2115 (main): Call the new functions.
2116 * sysdeps/i386/fpu/libm-test-ulps: Update.
2117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2118
2119 [BZ #10135]
2120 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2121 small n, then large n, before computing and testing k+n.
2122 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2124 Likewise.
2125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2126 Likewise.
2127 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2128 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2129 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2130 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2133 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2134 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2135 * math/libm-test.inc (scalbn_test): Add more tests.
2136 (scalbln_test): Likewise.
2137
2138 * manual/filesys.texi (mode_t): Describe constraints on size and
2139 signedness, not exact equivalence to a particular type.
2140 (ino_t): Likewise.
2141 (ino64_t): Likewise.
2142 (dev_t): Likewise.
2143 (nlink_t): Likewise.
2144 (blkcnt_t): Likewise.
2145 (blkcnt64_t): Likewise.
2146 * manual/llio.texi (off_t): Likewise.
2147
2148 [BZ #3976]
2149 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2150 (__ieee754_exp): Save and restore rounding mode and use
2151 round-to-nearest for all computations.
2152 * math/libm-test.inc (exp_test_tonearest): New function.
2153 (exp_test_towardzero): Likewise.
2154 (exp_test_downward): Likewise.
2155 (exp_test_upward): Likewise.
2156 (main): Call the new functions.
2157 * sysdeps/i386/fpu/libm-test-ulps: Update.
2158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2159
2160 2012-03-01 Chris Demetriou <cgd@google.com>
2161
2162 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2163 have predictable order.
2164
2165 2012-03-01 David S. Miller <davem@davemloft.net>
2166
2167 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2168
2169 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2170 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2171 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2172 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2173
2174 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2175 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2176 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2178 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2179 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2180 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2181 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2182 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2183
2184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2185
2186 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2187 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2189
2190 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2191 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2192 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2193 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2194 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2197 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2198 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2199 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2200 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2201 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2206 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2207 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2208 * sysdeps/sparc/elf/configure: Regenerated.
2209
2210 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2211
2212 * configure.in (AS, LD): Require binutils 2.20 or later.
2213 * configure: Regenerated.
2214 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2215 as required minimum version.
2216 * INSTALL: Regenerated.
2217
2218 [BZ #2541]
2219 [BZ #4108]
2220 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2221 before squaring exponent.
2222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2223 bottom long double and 27 bits of top long double before squaring
2224 exponent.
2225 * math/libm-test.inc (erfc_test): Add more tests.
2226 * sysdeps/i386/fpu/libm-test-ulps: Update.
2227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229
2230 2012-03-01 Kai Tietz <ktietz@redhat.com>
2231
2232 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2233 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2234 containing bit-fields.
2235 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2236 * soft-fp/single.h (_FP_UNION_S): Likewise.
2237 * soft-fp/double.h (_FP_UNION_D): Likewise.
2238
2239 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2240
2241 [BZ #13786]
2242 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2243 not include ../strcmp.S.
2244 [USE_AS_STRNCASECMP_L]: Likewise.
2245 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2246 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2247 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2248 (__strncasecmp_l_ia32): Define as alias to
2249 __strncasecmp_l_nonascii.
2250
2251 [BZ #5794]
2252 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2253 * sysdeps/i386/fpu/libm-test-ulps: Update.
2254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2255
2256 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2258
2259 2012-02-29 Jeff Law <law@redhat.com>
2260
2261 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2262 out of bounds read.
2263
2264 2012-02-29 Marek Polacek <polacek@redhat.com>
2265
2266 [BZ #13706]
2267 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2268 * elf/Makefile: Add rules to run tst-unused-dep.out.
2269
2270 2012-02-28 David S. Miller <davem@davemloft.net>
2271
2272 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2273 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2276 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2277 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2278
2279 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2280
2281 * math/libm-test.inc (llround_test): Move one test from
2282 lround_test. Use TEST_f_L in moved test.
2283 (lround_test): Move misplaced test to llround_test. Add testcase
2284 from bug 2561.
2285
2286 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2287
2288 * sysdeps/x86_64/fpu/e_expf.S: New file.
2289 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2290
2291 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2292
2293 [BZ #13637]
2294 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2295 of remain_len that may cause incomplete multi-byte character and
2296 false match.
2297 * posix/bug-regex33.c: New file.
2298 * posix/Makefile (tests): Add bug-regex33.
2299
2300 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2301
2302 * manual/macros.texi: New file.
2303 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2304 * manual/libc.texinfo: Include macros.texi.
2305 * manual/creatute.texi: Likewise.
2306 * manual/install.texi: Likewise.
2307 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2308 @glibcadj{} in references to the GNU C Library.
2309 * manual/charset.texi: Likewise.
2310 * manual/conf.texi: Likewise.
2311 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2312 when not using those macros.
2313 * manual/creature.texi: Likewise.
2314 * manual/crypt.texi: Likewise.
2315 * manual/errno.texi: Likewise.
2316 * manual/filesys.texi: Likewise.
2317 * manual/header.texi: Likewise.
2318 * manual/install.texi: Likewise.
2319 * manual/intro.texi: Likewise.
2320 * manual/io.texi: Likewise.
2321 * manual/job.texi: Likewise.
2322 * manual/lang.texi: Likewise.
2323 * manual/libc.texiinfo: Likewise.
2324 * manual/llio.texi: Likewise.
2325 * manual/locale.texi: Likewise.
2326 * manual/maint.texi: Likewise.
2327 * manual/math.texi: Likewise.
2328 * manual/memory.texi: Likewise.
2329 * manual/message.texi: Likewise.
2330 * manual/nss.texi: Likewise.
2331 * manual/pattern.texi: Likewise.
2332 * manual/process.texi: Likewise.
2333 * manual/resource.texi: Likewise.
2334 * manual/search.texi: Likewise.
2335 * manual/setjmp.texi: Likewise.
2336 * manual/signal.texi: Likewise.
2337 * manual/socket.texi: Likewise.
2338 * manual/startup.texi: Likewise.
2339 * manual/stdio.texi: Likewise.
2340 * manual/string.texi: Likewise.
2341 * manual/sysinfo.texi: Likewise.
2342 * manual/syslog.texi: Likewise.
2343 * manual/terminal.texi: Likewise.
2344 * manual/time.texi: Likewise.
2345 * manual/users.texi: Likewise.
2346 * INSTALL: Regenerated.
2347 * NOTES: Regenerated.
2348 * sysdeps/gnu/errlist.c: Regenerated.
2349
2350 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2351
2352 * include/dirent.h: Include <dirstream.h> before
2353 <dirent/dirent.h>.
2354
2355 2012-02-28 David S. Miller <davem@davemloft.net>
2356
2357 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2358 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2359 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2360 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2361
2362 2012-02-27 David S. Miller <davem@davemloft.net>
2363
2364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2366 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2367 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2368
2369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2370 frame pointer instead of stack pointer relative arg slot.
2371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2372 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2373 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2374
2375 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2376
2377 [BZ #3992]
2378 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2379
2380 2012-02-27 David S. Miller <davem@davemloft.net>
2381
2382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2386 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2387 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2388 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2389 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2390
2391 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2392
2393 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2394 later. Allow versions 5-9.
2395 * configure: Regenerated.
2396 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2397 required minimum version and 4.6 as recommended version. Do not
2398 mention bugs in GCC 2.7 and 2.8.
2399 * INSTALL: Regenerated.
2400
2401 2012-02-27 David S. Miller <davem@davemloft.net>
2402
2403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2407 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2408 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2409 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2410 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2411
2412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2413 manipulate bits before adding and subtracting TWO112[sx].
2414 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2415
2416 2012-02-27 Roland McGrath <roland@hack.frob.com>
2417
2418 [BZ #13775]
2419 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2420 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2421 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2422 being in POSIX, because they are in 1003.1-2008.
2423
2424 * rt/tst-aio.c: Include <fcntl.h>.
2425 * rt/tst-aio7.c: Likewise.
2426 * rt/tst-aio64.c: Likewise.
2427
2428 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2429
2430 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2431
2432 * manual/install.texi (--with-headers): Describe headers as
2433 interface headers, not private headers.
2434 (Specific advice for GNU/Linux systems): Describe use of headers
2435 from "make headers_install", not private headers from older
2436 kernels.
2437 * INSTALL: Regenerated.
2438 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2439 Change to 2.6.19.
2440 * sysdeps/unix/sysv/linux/configure: Regenerated.
2441
2442 * manual/llio.texi (fclean): Remove documentation.
2443
2444 * manual/Makefile (libc-texi-generated): New variable. Include
2445 version.texi.
2446 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2447 $(libc-texi-generated), not duplicated list of files.
2448 (version.texi, stamp-version): New rules.
2449 (realclean): Remove $(libc-texi-generated), not individual files
2450 from that list. Do not remove dir-add.texinfo.
2451 * manual/libc.texinfo: Comment out uses of edition numbers and
2452 references to printed manual. Remove last-updated dates.
2453 (EDITION): Comment out.
2454 (ISBN): Likewise.
2455 (VERSION, UPDATED): Remove.
2456 (version.texi): Include.
2457
2458 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2459
2460 * sysdeps/posix/spawni.c: Include <signal.h>.
2461 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2462 * sysdeps/pthread/aio_fsync.c: Likewise.
2463
2464 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2465
2466 * conform/Makefile (tests): Run only when not cross-compiling and
2467 when fast-check is not defined.
2468
2469 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2470 * conform/data/limits.h-data: Fixes for POSIX2008.
2471 * conform/run-conformtest.sh: Run all tests.
2472 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2473 headers.
2474 * include/bits/dlfcn.h: Likewise.
2475 * include/langinfo.h: Likewise.
2476 * include/monetary.h: Likewise.
2477 * include/sys/poll.h: Likewise.
2478
2479 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2480 for __USE_GNU.
2481 * posix/spawn.h: Define __need_sigset_t.
2482 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2483 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2484 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2485 to get sigevent_t only.
2486 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2487 only for __USE_GNU.
2488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2489 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2490 process_vm_writev only for __USE_GNU.
2491 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2492
2493 * conform/Makefile: For now ignore errors from run-conformtest.
2494 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2495 POSIX to avoid namespace pollution. Don't prepend headers.
2496 * conform/data/aio.h-data: Fixes for POSIX testing.
2497 * conform/data/fcntl.h-data: Likewise.
2498 * conform/data/glob.h-data: Likewise.
2499 * conform/data/grp.h-data: Likewise.
2500 * conform/data/pthread.h-data: Likewise.
2501 * conform/data/pwd.h-data: Likewise.
2502 * conform/data/signal.h-data: Likewise.
2503 * conform/data/spawn.h-data: Likewise.
2504 * conform/data/stdio.h-data: Likewise.
2505 * conform/data/stdlib.h-data: Likewise.
2506 * conform/data/stropts.h-data: Likewise.
2507 * conform/data/sys/mman.h-data: Likewise.
2508 * conform/data/sys/stat.h-data: Likewise.
2509 * conform/data/sys/types.h-data: Likewise.
2510 * conform/data/sys/wait.h-data: Likewise.
2511 * conform/data/time.h-data: Likewise.
2512 * conform/data/unistd.h-data: Likewise.
2513 * conform/data/utime.h-data: Likewise.
2514
2515 * io/sys/stat.h: fchmod was always in POSIX.
2516 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2517 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2518 * rt/aio.h: Define __need_timespec before including <time.h>.
2519 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2520 struct. Add forward declaration of pthread_attr_t and use it in
2521 sigevent.
2522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2524 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2525 always remove CLK_TCK definition.
2526
2527 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2528
2529 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2530
2531 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2532
2533 * conform/run-conformtest.sh: New file.
2534 * conform/Makefile: Run run-conformtest for tests.
2535 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2536 support.
2537
2538 * conform/data/uchar.h-data: New file.
2539 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2540 * conform/data/arpa/inet.h-data: Likewise.
2541 * conform/data/assert.h-data: Likewise.
2542 * conform/data/complex.h-data: Likewise.
2543 * conform/data/cpio.h-data: Likewise.
2544 * conform/data/ctype.h-data: Likewise.
2545 * conform/data/dirent.h-data: Likewise.
2546 * conform/data/dlfcn.h-data: Likewise.
2547 * conform/data/errno.h-data: Likewise.
2548 * conform/data/fcntl.h-data: Likewise.
2549 * conform/data/float.h-data: Likewise.
2550 * conform/data/fmtmsg.h-data: Likewise.
2551 * conform/data/fnmatch.h-data: Likewise.
2552 * conform/data/ftw.h-data: Likewise.
2553 * conform/data/glob.h-data: Likewise.
2554 * conform/data/grp.h-data: Likewise.
2555 * conform/data/iconv.h-data: Likewise.
2556 * conform/data/inttypes.h-data: Likewise.
2557 * conform/data/langinfo.h-data: Likewise.
2558 * conform/data/libgen.h-data: Likewise.
2559 * conform/data/limits.h-data: Likewise.
2560 * conform/data/locale.h-data: Likewise.
2561 * conform/data/math.h-data: Likewise.
2562 * conform/data/monetary.h-data: Likewise.
2563 * conform/data/mqueue.h-data: Likewise.
2564 * conform/data/ndbm.h-data: Likewise.
2565 * conform/data/net/if.h-data: Likewise.
2566 * conform/data/netdb.h-data: Likewise.
2567 * conform/data/netinet/in.h-data: Likewise.
2568 * conform/data/nl_types.h-data: Likewise.
2569 * conform/data/poll.h-data: Likewise.
2570 * conform/data/pthread.h-data: Likewise.
2571 * conform/data/pwd.h-data: Likewise.
2572 * conform/data/regex.h-data: Likewise.
2573 * conform/data/sched.h-data: Likewise.
2574 * conform/data/search.h-data: Likewise.
2575 * conform/data/semaphore.h-data: Likewise.
2576 * conform/data/setjmp.h-data: Likewise.
2577 * conform/data/signal.h-data: Likewise.
2578 * conform/data/spawn.h-data: Likewise.
2579 * conform/data/stdarg.h-data: Likewise.
2580 * conform/data/stdio.h-data: Likewise.
2581 * conform/data/stdlib.h-data: Likewise.
2582 * conform/data/string.h-data: Likewise.
2583 * conform/data/strings.h-data: Likewise.
2584 * conform/data/stropts.h-data: Likewise.
2585 * conform/data/sys/ipc.h-data: Likewise.
2586 * conform/data/sys/mman.h-data: Likewise.
2587 * conform/data/sys/msg.h-data: Likewise.
2588 * conform/data/sys/resource.h-data: Likewise.
2589 * conform/data/sys/select.h-data: Likewise.
2590 * conform/data/sys/sem.h-data: Likewise.
2591 * conform/data/sys/shm.h-data: Likewise.
2592 * conform/data/sys/socket.h-data: Likewise.
2593 * conform/data/sys/stat.h-data: Likewise.
2594 * conform/data/sys/statvfs.h-data: Likewise.
2595 * conform/data/sys/time.h-data: Likewise.
2596 * conform/data/sys/timeb.h-data: Likewise.
2597 * conform/data/sys/times.h-data: Likewise.
2598 * conform/data/sys/types.h-data: Likewise.
2599 * conform/data/sys/uio.h-data: Likewise.
2600 * conform/data/sys/un.h-data: Likewise.
2601 * conform/data/sys/utsname.h-data: Likewise.
2602 * conform/data/sys/wait.h-data: Likewise.
2603 * conform/data/syslog.h-data: Likewise.
2604 * conform/data/tar.h-data: Likewise.
2605 * conform/data/termios.h-data: Likewise.
2606 * conform/data/utime.h-data: Likewise.
2607 * conform/data/utmpx.h-data: Likewise.
2608 * conform/data/varargs.h-data: Likewise.
2609 * conform/data/wchar.h-data: Likewise.
2610 * conform/data/wctype.h-data: Likewise.
2611 * conform/data/wordexp.h-data: Likewise.
2612
2613 * include/stropts.h: New file.
2614 * include/uchar.h: New file.
2615 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2616 * include/assert.h: Likewise.
2617 * include/ctype.h: Likewise.
2618 * include/dirent.h: Likewise.
2619 * include/dlfcn.h: Likewise.
2620 * include/fcntl.h: Likewise.
2621 * include/fnmatch.h: Likewise.
2622 * include/glob.h: Likewise.
2623 * include/grp.h: Likewise.
2624 * include/libio.h: Likewise.
2625 * include/locale.h: Likewise.
2626 * include/math.h: Likewise.
2627 * include/net/if.h: Likewise.
2628 * include/netdb.h: Likewise.
2629 * include/netinet/in.h: Likewise.
2630 * include/pthread.h: Likewise.
2631 * include/pwd.h: Likewise.
2632 * include/regex.h: Likewise.
2633 * include/sched.h: Likewise.
2634 * include/search.h: Likewise.
2635 * include/setjmp.h: Likewise.
2636 * include/signal.h: Likewise.
2637 * include/stdio.h: Likewise.
2638 * include/stdlib.h: Likewise.
2639 * include/string.h: Likewise.
2640 * include/sys/cdefs.h: Likewise.
2641 * include/sys/mman.h: Likewise.
2642 * include/sys/msg.h: Likewise.
2643 * include/sys/resource.h: Likewise.
2644 * include/sys/select.h: Likewise.
2645 * include/sys/socket.h: Likewise.
2646 * include/sys/stat.h: Likewise.
2647 * include/sys/statvfs.h: Likewise.
2648 * include/sys/time.h: Likewise.
2649 * include/sys/times.h: Likewise.
2650 * include/sys/uio.h: Likewise.
2651 * include/sys/utsname.h: Likewise.
2652 * include/sys/wait.h: Likewise.
2653 * include/termios.h: Likewise.
2654 * include/time.h: Likewise.
2655 * include/ulimit.h: Likewise.
2656 * include/unistd.h: Likewise.
2657 * include/utime.h: Likewise.
2658 * include/wchar.h: Likewise.
2659 * include/wctype.h: Likewise.
2660 * include/wordexp.h: Likewise.
2661
2662 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2663
2664 * time/time.h: TIME_UTC must be a macro.
2665 Make timespec_get available for ISO C11 only as well.
2666
2667 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2668
2669 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2670 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2671
2672 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2673
2674 * configure.in: Use -o not -a in test for unsupported multi-arch.
2675
2676 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2677
2678 * manual/texinfo.tex: Update to version 2012-01-19.16.
2679
2680 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2681
2682 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2683
2684 2012-02-24 Roland McGrath <roland@hack.frob.com>
2685
2686 [BZ #13738]
2687 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2688 * manual/fdl-1.3.texi: New file.
2689 * manual/fdl-1.1.texi: File removed.
2690
2691 [BZ #13738]
2692 * manual/libc.texinfo (FDL_VERSION): New @set.
2693 Use it for mention of FDL in cover text.
2694 (Documentation License): Use it in @include file name.
2695
2696 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2697 Roland McGrath <roland@hack.frob.com>
2698
2699 [BZ #5461]
2700 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2701 not LONG_LONG_MAX and LONG_LONG_MIN.
2702 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2703 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2704 name.
2705 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2706
2707 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2708
2709 [BZ #2547]
2710 [BZ #11365]
2711 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2712 manipulate bits before adding and subtracting TWO23[sx].
2713 * math/libm-test.inc (nearbyint_test): Add more tests.
2714
2715 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2716
2717 [BZ #2548]
2718 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2719 bits before adding and subtracting TWO23[sx].
2720 * math/libm-test.inc (rint_test): Add more tests.
2721 (rint_test_tonearest): Likewise.
2722 (rint_test_towardzero): Likewise.
2723 (rint_test_downward): Likewise.
2724 (rint_test_upward: Likewise.
2725
2726 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2727
2728 [BZ #10110]
2729 * include/stdc-predef.h: New file. Extracted from features.h.
2730 * include/features.h: Include stdc-predef.h.
2731 * Makefile (headers): Add stdc-predef.h.
2732 * CONFORMANCE (Compiler limitations): Update.
2733
2734 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2735
2736 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2737
2738 2012-02-21 David S. Miller <davem@davemloft.net>
2739
2740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2742
2743 2012-02-20 David S. Miller <davem@davemloft.net>
2744
2745 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2746 using a normal save/restore sequence, rather than allocating a
2747 dummy stack frame just to store a frame pointer and restore.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2749
2750 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2751
2752 * manual/install.texi: Fix stray word in line-wrapped comment.
2753
2754 2012-02-20 David S. Miller <davem@davemloft.net>
2755
2756 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2757 both binutils and gcc support GOTDATA.
2758
2759 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2760 "rd %pc" in the PIC register setup sequences.
2761
2762 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2763 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2765 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2766 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2771 (SYSCALL_ERROR_HANDLER): Likewise.
2772 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2775 (SYSCALL_ERROR_HANDLER): Likewise.
2776
2777 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2778 (HAVE_GCC_GOTDATA): New.
2779 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2780 relocation support in both binutils and gcc.
2781 * sysdeps/sparc/elf/configure: Regenerate.
2782
2783 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2784 * sysdeps/sparc/sparc32/elf/configure: Delete.
2785 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2786 * sysdeps/sparc/sparc64/elf/configure: Delete.
2787 * sysdeps/sparc/elf/configure.in: New file.
2788 * sysdeps/sparc/elf/configure: Generate.
2789
2790 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2791 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2792 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2793 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2794 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2795
2796 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2797
2798 * manual/install.texi: Do not mention specific glibc version
2799 numbers.
2800 * manual/libc.texinfo (VERSION, UPDATED): Update.
2801 (@copying): Use @copyright{} and range of years.
2802
2803 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2804
2805 [BZ #13695]
2806 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2807 [crti.S not in sysdirs] (generated): Do not append.
2808 [crti.S not in sysdirs] (omit-deps): Likewise.
2809 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2810 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2811 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2812 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2813 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2814 Likewise.
2815 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2816 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2817 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2818 * csu/defs.awk: Remove file.
2819 * sysdeps/generic/initfini.c: Likewise.
2820 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2821 variable.
2822 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2823 Likewise.
2824
2825 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2826
2827 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2828 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2829 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2832 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2833 <bits/epoll.h>.
2834 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2835 (__EPOLL_PACKED): Define to empty if not defined by
2836 <bits/epoll.h>.
2837 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2839 bits/epoll.h.
2840
2841 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2842
2843 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2844 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2845 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2846 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2847 <bits/timerfd.h>.
2848 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2850 bits/timerfd.h.
2851
2852 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2853
2854 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2855 in C locale.
2856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2857 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2860
2861 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2862
2863 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2864 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2865
2866 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2867
2868 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2869 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2870 defined.
2871 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2872 Likewise.
2873 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2874 entry for 2.16.
2875
2876 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2877
2878 * math/w_acos.c: Use non-signaling floating-point comparisons.
2879 * math/w_acosf.c: Likewise.
2880 * math/w_acosh.c: Likewise.
2881 * math/w_acoshf.c: Likewise.
2882 * math/w_acoshl.c: Likewise.
2883 * math/w_acosl.c: Likewise.
2884 * math/w_asin.c: Likewise.
2885 * math/w_asinf.c: Likewise.
2886 * math/w_asinl.c: Likewise.
2887 * math/w_atanh.c: Likewise.
2888 * math/w_atanhf.c: Likewise.
2889 * math/w_atanhl.c: Likewise.
2890 * math/w_exp2.c: Likewise.
2891 * math/w_exp2f.c: Likewise.
2892 * math/w_exp2l.c: Likewise.
2893 * math/w_j0.c: Likewise.
2894 * math/w_j0f.c: Likewise.
2895 * math/w_j0l.c: Likewise.
2896 * math/w_j1.c: Likewise.
2897 * math/w_j1f.c: Likewise.
2898 * math/w_j1l.c: Likewise.
2899 * math/w_jn.c: Likewise.
2900 * math/w_jnf.c: Likewise.
2901 * math/w_log.c: Likewise.
2902 * math/w_log10.c: Likewise.
2903 * math/w_log10f.c: Likewise.
2904 * math/w_log10l.c: Likewise.
2905 * math/w_log2.c: Likewise.
2906 * math/w_log2f.c: Likewise.
2907 * math/w_log2l.c: Likewise.
2908 * math/w_logf.c: Likewise.
2909 * math/w_logl.c: Likewise.
2910 * math/w_sqrt.c: Likewise.
2911 * math/w_sqrtf.c: Likewise.
2912 * math/w_sqrtl.c: Likewise.
2913 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2914 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2916 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2917 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2918
2919 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #9739]
2922 * manual/string.texi (strnlen): Use correct parameter name in
2923 equivalent expression.
2924
2925 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2926
2927 [BZ #11174]
2928 * manual/users.texi (seteuid): Consistently use neweuid for
2929 argument name.
2930
2931 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #13704]
2934 * manual/nss.texi (Services in the NSS configuration): Correct
2935 list of services in example configuration file.
2936
2937 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2938
2939 [BZ #11322]
2940 * manual/arith.texi: Remove statements about negative zero
2941 behaving identically to zero.
2942
2943 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2944
2945 [BZ #5993]
2946 * manual/install.texi: Do not document upgrading from libc5.
2947
2948 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2949
2950 [BZ #4596]
2951 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2952
2953 2012-02-18 David S. Miller <davem@davemloft.net>
2954
2955 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2956 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2957 %o7 across the call.
2958 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2959 instead.
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2961 SETUP_PIC_REG_LEAF.
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2963 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2964 * sysdeps/sparc/crtn.S: Likewise.
2965
2966 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2967
2968 * aout/Makefile: Remove.
2969
2970 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2971
2972 [BZ #13058]
2973 * manual/examples/argp-ex1.c (main): Format definition in GNU
2974 style.
2975 * manual/examples/argp-ex2.c (main): Likewise.
2976 * manual/examples/argp-ex3.c (main): Likewise.
2977 * manual/examples/argp-ex4.c (main): Likewise.
2978 * manual/examples/longopt.c (main): Use new-style prototype
2979 definition.
2980 * manual/examples/strncat.c (main): Specify return type and use
2981 (void) for arguments.
2982 * manual/examples/subopt.c (main): Use char **argv argument.
2983
2984 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2985
2986 [BZ #5077]
2987 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2988 rounding modes.
2989
2990 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2991
2992 [BZ #6907]
2993 * manual/string.texi (strchr): Change when strchrnul is
2994 recommended.
2995
2996 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2997
2998 [BZ #174]
2999 * manual/locale.texi (setlocale): Document LOCPATH.
3000
3001 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3002
3003 [BZ #10210]
3004 * manual/process.texi (execle): Move @dots{} before last argument.
3005
3006 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3007
3008 [BZ #12047]
3009 * manual/charset.texi (Generic Charset Conversion): Fix typo
3010 (LC_TYPE -> LC_CTYPE).
3011
3012 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3013
3014 [BZ #5805]
3015 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3016 (scalbnf): Likewise.
3017 (scalbnl): Likewise.
3018 (scalbln): Likewise.
3019 (scalblnf): Likewise.
3020 (scalblnl): Likewise.
3021 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3022 (vwarnx): Likewise.
3023 (verr): Likewise.
3024 (verrx): Likewise.
3025 * manual/filesys.texi (telldir): Use braces around return type.
3026 * manual/llio.texi (mmap): Add space after comma.
3027 (mmap64): Likewise.
3028 * manual/math.texi (jn): Use @var{} on parameter names.
3029 (jnf): Likewise.
3030 (jnl): Likewise.
3031 (yn): Likewise.
3032 (ynf): Likewise.
3033 (ynl): Likewise.
3034 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3035 line.
3036 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3037 "...".
3038 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3039 (sched_get_priority_max): Likewise.
3040 * manual/signal.texi (sigvec): Add space after comma.
3041 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3042 names.
3043 (if_indextoname): Likewise.
3044 (if_freenameindex): Likewise.
3045 (sendto): Use ',' instead of '.' in prototype.
3046 * manual/startup.texi (syscall): Use @dots{} instead of literal
3047 "...".
3048 * manual/stdio.texi (__fpending): Separate initial words of
3049 paragraph from @deftypefun line.
3050 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3051 "...".
3052 (vsyslog): Use @var{} on parameter names.
3053 * manual/terminal.texi (stty): Use @var{} on parameter names.
3054 * manual/users.texi (getutmp): Use @var{} on parameter names.
3055 (getutmpx): Likewise.
3056
3057 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3058
3059 [BZ #6884]
3060 * manual/stdio.texi (fopen): Fix typos in description of
3061 ",ccs=STRING".
3062
3063 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3064
3065 [BZ #4026]
3066 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3067 get clock_id definition.
3068
3069 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3070
3071 [BZ #4822]
3072 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3073 (madvise): Cast every argument to void on its own.
3074
3075 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3076
3077 [BZ #9902]
3078 * manual/startup.texi (Exit Status): Fix typo.
3079
3080 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3081
3082 [BZ #10140]
3083 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3084 * manual/examples/argp-ex2.c: Likewise.
3085 * manual/examples/argp-ex3.c: Likewise.
3086
3087 2012-02-16 Richard Henderson <rth@redhat.com>
3088
3089 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3090 * sysdeps/s390/s390-32/initfini.c: Remove.
3091 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3092 * sysdeps/s390/s390-64/initfini.c: Remove.
3093
3094 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3095
3096 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3097 compiler output for sysdeps/generic/initfini.c.
3098 * sysdeps/sh/elf/initfini.c: Remove file.
3099
3100 2012-02-16 David S. Miller <davem@davemloft.net>
3101
3102 [BZ #11494]
3103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3104
3105 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3106 * sysdeps/sparc/crti.S: New file.
3107 * sysdeps/sparc/crtn.S: New file.
3108 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3109 * sysdeps/sparc/sparc64/Makefile: Likewise.
3110
3111 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3112
3113 [BZ #3335]
3114 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3115
3116 2012-02-15 Roland McGrath <roland@hack.frob.com>
3117
3118 [BZ #4822]
3119 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3120
3121 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3122 (write, read, close): Likewise.
3123 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3124
3125 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3126
3127 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3128 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3129 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3130 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3131 <bits/signalfd.h>.
3132 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3134 bits/signalfd.h.
3135
3136 2012-02-14 Marek Polacek <polacek@redhat.com>
3137
3138 * sysdeps/x86_64/crti.S: New file.
3139 * sysdeps/x86_64/crtn.S: New file.
3140 * sysdeps/x86_64/elf/initfini.c: Remove file.
3141
3142 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3143
3144 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3145 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3146 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3147 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3148 <bits/inotify.h>.
3149 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3151 bits/inotify.h.
3152
3153 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3154
3155 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3156 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3157 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3158 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3159 <bits/eventfd.h>.
3160 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3162 bits/eventfd.h.
3163
3164 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3165
3166 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3167 __feraiseexcept instead of feraiseexcept.
3168
3169 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3170 nanosleep invocations.
3171 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3172 strings, and add error checking for a nanosleep invocations.
3173
3174 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3175
3176 Replace FSF snail mail address with URLs, as per GNU coding standards.
3177 Most of the snail mail addresses were wrong anyway, and omitting
3178 them makes the source code easier to maintain. Almost all of the
3179 changes are to license notices and to locale LC_IDENTIFICATION
3180 addresses, except for this one:
3181 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3182 not its snail mail address.
3183
3184 2012-02-09 Richard Henderson <rth@twiddle.net>
3185
3186 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3187 of kernel-features.h.
3188
3189 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3190
3191 2012-02-08 Marek Polacek <polacek@redhat.com>
3192
3193 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3194 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3195 * sysdeps/gnu/_G_config.h: Likewise.
3196 * sysdeps/generic/_G_config.h: Likewise.
3197
3198 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3199
3200 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3201 tests.
3202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3203
3204 * sysdeps/powerpc/powerpc32/crti.S: New file.
3205 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3206 * sysdeps/powerpc/powerpc64/crti.S: New file.
3207 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3208
3209 * Makeconfig (have-initfini): Don't set.
3210 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3211 * configure.in (nopic_initfini): Don't substitute.
3212 * config.h.in (HAVE_INITFINI): Don't #undef.
3213 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3214 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3215
3216 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3217
3218 Support crti.S and crtn.S provided directly by architectures.
3219 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3220 [crti.S in sysdirs] (omit-deps): Likewise.
3221 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3222 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3223 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3224 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3225 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3226 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3227 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3228 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3229 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3230 compiler output for sysdeps/generic/initfini.c.
3231 * sysdeps/i386/elf/Makefile: Remove file.
3232 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3233
3234 2012-02-07 Marek Polacek <polacek@redhat.com>
3235
3236 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3237 * sysdeps/gnu/_G_config.h: Likewise.
3238 * sysdeps/mach/hurd/_G_config.h: Likewise.
3239
3240 2012-02-07 Marek Polacek <polacek@redhat.com>
3241
3242 * math/Makefile (tests): Add tst-CMPLX2.
3243 * math/tst-CMPLX2.c: New file.
3244
3245 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3246
3247 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3248
3249 * math/libm-test.inc (jn_test): Add missing L suffix.
3250
3251 2012-02-06 Marek Polacek <polacek@redhat.com>
3252
3253 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3254 * sysdeps/i386/fpu/e_powf.S: Likewise.
3255 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3256 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3257 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3258 * sysdeps/i386/fpu/e_pow.S: Likewise.
3259 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3261 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3262 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3263 * sysdeps/i386/fpu/e_log2.S: Likewise.
3264 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3265 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3266 * sysdeps/i386/fpu/e_powl.S: Likewise.
3267 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3268 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3269 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3270 * sysdeps/i386/fpu/e_logl.S: Likewise.
3271 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3272 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3273 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3274 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3275 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3276 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3277 * sysdeps/i386/fpu/e_log.S: Likewise.
3278 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3279 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3280 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3281 * sysdeps/i386/fpu/e_logf.S: Likewise.
3282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3283 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3284 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3285 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3286 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3287 * sysdeps/i386/fpu/e_log10.S: Likewise.
3288 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3289 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3290 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3291 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3292 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3293 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3294 * sysdeps/i386/asm-syntax.h: Likewise.
3295 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3296 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3297 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3298 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3299 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3300 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3301 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3302 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3303 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3304 * sysdeps/powerpc/sysdep.h: Likewise.
3305 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3306 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3307
3308 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3309
3310 [BZ #411]
3311 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3312
3313 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3314
3315 * sysdeps/i386/sysdep.h: Include <features.h>.
3316 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3317 version.
3318
3319 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3320
3321 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3322 Define.
3323 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3324 LOAD_PIC_REG_STR.
3325
3326 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3327
3328 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3329 (SETUP_PIC_REG): Use GET_PC_THUNK.
3330 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3331 macro.
3332
3333 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3334
3335 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3336 for non-PIC compilation.
3337 (SETUP_PIC_REG): Add .p2align directive.
3338 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3339 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3340 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3341 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3342 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3343 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3346 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3347 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3348 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3349 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3350 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3351 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3352 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3353 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3354 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3360 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3361 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3365 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3370 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3371 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3372 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3373 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3374 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3375 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3378 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3379
3380 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3381
3382 * math/tst-CMPLX.c: Include <stdio.h>.
3383
3384 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3385
3386 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3387 float.
3388 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3389 * sysdeps/sparc/bits/mathdef.h: Likewise.
3390
3391 2012-01-31 Marek Polacek <polacek@redhat.com>
3392
3393 * libio/libio.h: Don't define _PARAMS.
3394 * locale/programs/config.h: Don't define PARAMS.
3395 * stdlib/strtol_l.c: Likewise.
3396 (__strtol_l): Remove PARAMS from the prototype.
3397
3398 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3399
3400 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3401 names. Just use the correct names. Remove unnecessary wrapper
3402 functions.
3403 * malloc/arena.c: Likewise.
3404 * malloc/hooks.c: Likewise.
3405
3406 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3407 ARENA_TEST says not to. Simplify test for creation of a new arena.
3408 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3409
3410 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3411
3412 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3413 into tail calls.
3414 (update_get_addr): New function.
3415 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3416 GET_ADDR_MODULE parameter.
3417
3418 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3419
3420 * crypt/cert.c: Remove __STDC__ conditionals.
3421 * crypt/crypt-entry.c: Likewise.
3422 * crypt/crypt_util.c: Likewise.
3423 * libio/filedoalloc.c: Likewise.
3424 * libio/fileops.c: Likewise.
3425 * libio/genops.c: Likewise.
3426 * libio/iofclose.c: Likewise.
3427 * libio/iofdopen.c: Likewise.
3428 * libio/iofopen.c: Likewise.
3429 * libio/iofopen64.c: Likewise.
3430 * libio/iogetdelim.c: Likewise.
3431 * libio/iopopen.c: Likewise.
3432 * libio/obprintf.c: Likewise.
3433 * libio/oldfileops.c: Likewise.
3434 * libio/oldiofclose.c: Likewise.
3435 * libio/oldiofdopen.c: Likewise.
3436 * libio/oldiofopen.c: Likewise.
3437 * libio/oldiopopen.c: Likewise.
3438 * libio/wfiledoalloc.c: Likewise.
3439 * libio/wgenops.c: Likewise.
3440 * locale/programs/xmalloc.c: Likewise.
3441 * misc/syslog.c: Likewise.
3442 * stdio-common/xbug.c: Likewise.
3443 * string/memchr.c: Likewise.
3444 * string/memcmp.c: Likewise.
3445 * string/memrchr.c: Likewise.
3446 * string/rawmemchr.c: Likewise.
3447 * sysdeps/posix/getcwd.c: Likewise.
3448 * time/strftime_l.c: Likewise.
3449
3450 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3451
3452 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3453 * config.make.in (config-cflags-sse2avx): Define.
3454 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3455 Fix typo.
3456
3457 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3458
3459 * scripts/config.guess: Update from upstream config git repository.
3460 * scripts/config.sub: Likewise.
3461
3462 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3463
3464 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3465 (EM_NUM): Update.
3466 (R_TILEPRO_*, R_TILEGX_*): New macros.
3467
3468 * scripts/firstversions.awk: Fix bug in version range handling.
3469
3470 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3471
3472 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3473
3474 * include/sys/epoll.h: New file.
3475 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3476 libc_hidden_def.
3477
3478 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3479
3480 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3481 Avoid unnecessary __WORDSIZE == 64 test.
3482 (fmaxf): Use VEX format if possible.
3483 (fmax): Likewise.
3484 (fminf): Likewise.
3485 (fmin): Likewise.
3486
3487 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3488 * math/math_private.h: Remove libc_fegetround* and
3489 libc_fesetround*.
3490 * sysdeps/i386/configure.in: Check for -msse2avx.
3491 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3492 also if SSE2AVX is defined.
3493 Remove libc_fegetround* and libc_fesetround*.
3494 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3495 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3496 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3497 of HAS_YMM_USABLE.
3498 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3499 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3501 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3502 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3503
3504 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3505
3506 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3507
3508 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3509 size is not set.
3510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3511
3512 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3513
3514 [BZ #13618]
3515 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3516 relocation.
3517 * Makeconfig (libm): Define.
3518 * elf/Makefile: Add rules to build and run tst-relsort1.
3519 * elf/tst-relsort1.c: New file.
3520 * elf/tst-relsort1mod1.c: New file.
3521 * elf/tst-relsort1mod2.c: New file.
3522
3523 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3524
3525 * math/s_ldexp.c: Remove __STDC__ conditionals.
3526 * math/s_ldexpf.c: Likewise.
3527 * math/s_ldexpl.c: Likewise.
3528 * math/s_nextafter.c: Likewise.
3529 * math/s_nexttowardf.c: Likewise.
3530 * math/s_significand.c: Likewise.
3531 * math/s_significandf.c: Likewise.
3532 * math/s_significandl.c: Likewise.
3533 * math/w_jnl.c: Likewise.
3534 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3535 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3536 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3537 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3538 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3540 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3541 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3542 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3543 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3553 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3554 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3556 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3558 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3559 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3560 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3561 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3562 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3563 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3564 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3565 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3566 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3567 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3568 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3569 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3570 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3571 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3572 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3573 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3574 * sysdeps/ieee754/k_standard.c: Likewise.
3575 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3577 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3579 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3591 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3594 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3595 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3596 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3597 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3598 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3600 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3605 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3607 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3608 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3610 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3611 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3613 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3614 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3618 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3620 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3621 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3636 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3641 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3650 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3654 * sysdeps/ieee754/s_matherr.c: Likewise.
3655 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3656 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3659
3660 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3661
3662 * crypt/md5.h: Remove __STDC__ conditionals.
3663 * libio/libioP.h: Likewise.
3664 * locale/programs/config.h: Likewise.
3665 * sysdeps/generic/sysdep.h: Likewise.
3666 * sysdeps/i386/asm-syntax.h: Likewise.
3667 * sysdeps/s390/asm-syntax.h: Likewise.
3668 * sysdeps/unix/sysdep.h: Likewise.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3671
3672 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3673
3674 * libio/libio.h: Remove __STDC__ conditionals.
3675 * malloc/obstack.h: Likewise.
3676 * math/complex.h: Likewise.
3677 * math/math.h: Likewise.
3678 * sysdeps/generic/_G_config.h: Likewise.
3679 * sysdeps/gnu/_G_config.h: Likewise.
3680 * sysdeps/mach/hurd/_G_config.h: Likewise.
3681 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3682 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3683 * sysdeps/sparc/bits/mathdef.h: Likewise.
3684
3685 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3686
3687 [BZ #13583]
3688 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3689 Clean up HAS_* macros.
3690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3691 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3692 possible.
3693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3694 HAS_AVX.
3695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3700
3701 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3702
3703 * elf/tst-unique3.cc (gets): Remove declaration.
3704 * elf/tst-unique3lib.cc (gets): Likewise.
3705 * elf/tst-unique3lib2.cc (gets): Likewise.
3706 * elf/tst-unique4.cc (gets): Likewise.
3707
3708 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3709
3710 * include/stdio.h: Add C++ protection. Add gets declarations and
3711 definitions.
3712 * debug/tst-chk1.c: Don't declare gets here.
3713 * stdio-common/tst-gets.c: Likewise.
3714
3715 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3716
3717 * posix/glob: Remove directory.
3718
3719 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3720
3721 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3722
3723 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3724
3725 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3726 of the non-standard EPFNOSUPPORT.
3727
3728 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3729
3730 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3731 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3732 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3733
3734 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3735
3736 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3737
3738 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3739
3740 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3741 transient errors.
3742 * nscd/grpcache.c (cache_addgr): Likewise.
3743 * nscd/hstcache.c (cache_addhst): Likewise.
3744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3745 * nscd/pwdcache.c (cache_addpw): Likewise.
3746 * nscd/servicescache.c (cache_addserv): Likewise.
3747
3748 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3749
3750 * malloc/malloc.c: Various cleanups.
3751 * malloc/hooks.c: Likewise.
3752
3753 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3754 * stdlib/bug-fmtmsg1.c: New file.
3755
3756 * stdlib/fmtmsg.c (init): Add missing unlock.
3757 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3758
3759 2012-01-12 Marek Polacek <polacek@redhat.com>
3760
3761 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3762 and _GNU_SOURCE.
3763
3764 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3765
3766 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3767 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3768 macro to ensure uniqueness of label name.
3769 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3770 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3771
3772 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3773
3774 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3775
3776 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3777 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3778 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3780
3781 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3782
3783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3784
3785 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3787 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3788
3789 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3790
3791 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3792 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3795
3796 * math/bits/math-finite.h: Add ldexp support.
3797
3798 2012-01-10 Marek Polacek <polacek@redhat.com>
3799
3800 * locale/programs/localedef.h (show_archive_content): Add noreturn
3801 attribute.
3802
3803 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3804
3805 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3806
3807 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3808
3809 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3810
3811 * io/Makefile (headers): Add bits/poll2.h.
3812
3813 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3814
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3816 typo #include statement.
3817
3818 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3819
3820 * include/sys/cdefs.h: Define __attribute_alloc_size.
3821 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3822 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3823 * elf/pldd.c: Likewise.
3824 * iconv/iconv_charmap.c: Likewise.
3825 * iconv/iconvconfig.c: Likewise.
3826 * iconv/strtab.c: Likewise.
3827 * locale/programs/locale.c: Likewise.
3828 * locale/programs/localedef.h: Likewise.
3829 * locale/programs/simple-hash.c: Likewise.
3830 * nscd/nscd.h: Likewise.
3831 * nss/makedb.c: Likewise.
3832 * sysdeps/generic/ldconfig.h: Likewise.
3833 * locale/programs/localedef.c: Remove xmalloc prototype.
3834 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3835
3836 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3837
3838 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3839 appropriate.
3840
3841 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3842
3843 * math/Makefile (tests): Add tst-CMPLX.
3844 * math/tst-CMPLX.c: New file.
3845
3846 * math/complex.h (CMPLXL): Fix typo.
3847
3848 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3849 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3850 GLIBC_2.16.
3851 * debug/tst-chk1.c: Add poll and ppoll tests.
3852 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3853 * include/sys/poll.h: Add hidden proto for ppoll.
3854 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3855 * sysdeps/mach/hurd/ppoll.c: Likewise.
3856 * io/ppoll.c: Likewise.
3857 * debug/poll_chk.c: New file.
3858 * debug/ppoll_chk.c: New file.
3859 * include/bits/poll2.h: New file.
3860 * io/bits/poll2.h: New file.
3861
3862 [BZ #1350]
3863 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3864
3865 * configure.in: static is always set to yes. Remove.
3866 * config.make.in: Don't set build-static.
3867 * Makeconfig: Remove use of build-static.
3868 * dlfcn/Makefile: Likewise.
3869 * elf/Makefile: Likewise.
3870 * math/Makefile: Likewise.
3871 * misc/Makefile: Likewise.
3872 * nptl/Makefile: Likewise.
3873 * sysdeps/mach/hurd/Makefile: Likewise.
3874
3875 * configure.in: PWD_P is not used anymore.
3876 * config.make.in: Remove PWD_P entry.
3877
3878 * configure.in: Remove last remnants of RANLIB.
3879 No need to check for signed size_t anymore.
3880 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3881 and IA-64.
3882 Remove __builtin_expect test because we require at least gcc 3.4.
3883 * aclocal.m4: Likewise.
3884
3885 * wcsmbs/mbrtoc16.c: Implement using towc function.
3886 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3887 * wcsmbs/wcsmbsload.c: Likewise.
3888 * iconv/gconv_simple.c: Likewise.
3889 * iconv/gconv_int.h: Likewise.
3890 * iconv/gconv_builtin.h: Likewise.
3891 * iconv/iconv_prog.c: Remove CHAR16 handling.
3892
3893 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3894
3895 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3896
3897 * configure.in: Remove --with-elf and --enable-bounded options.
3898 Dont set base_machine for ia64. More non-ELF conditions removed.
3899 Remove testing and setting of leading underscore information.
3900 * config.make.in (build-bounded): Set to no.
3901 * config.h.in: Remove NO_UNDERSCORES entry.
3902 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3903 them.
3904 * csu/start.c: Remove !NO_UNDERSCORE code.
3905 * locale/localeinfo.h: Likewise.
3906 * sysdeps/generic/machine-gmon.h: Likewise.
3907 * sysdeps/generic/sysdep.h: Likewise.
3908 * sysdeps/i386/sysdep.h: Likewise.
3909 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3910 * sysdeps/mach/sysdep.h: Likewise.
3911 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3912 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3913 * sysdeps/sh/sysdep.h: Likewise.
3914 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3915 * sysdeps/unix/i386/sysdep.S: Likewise.
3916 * sysdeps/unix/sparc/start.c: Likewise.
3917 * sysdeps/unix/sparc/sysdep.S: Likewise.
3918 * sysdeps/unix/sparc/sysdep.h: Likewise.
3919 * sysdeps/unix/start.c: Likewise.
3920 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3921 * sysdeps/x86_64/sysdep.h: Likewise.
3922
3923 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3924
3925 [BZ #13553]
3926 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3927 for non-gcc.
3928 * argp/argp-fmtstream.h: Use const instead __const.
3929 * argp/argp.h: Likewise.
3930 * assert/assert.h: Likewise.
3931 * bits/fenv.h: Likewise.
3932 * bits/sched.h: Likewise.
3933 * bits/sigset.h: Likewise.
3934 * bits/sigthread.h: Likewise.
3935 * catgets/nl_types.h: Likewise.
3936 * conform/data/pthread.h-data: Likewise.
3937 * crypt/crypt-private.h: Likewise.
3938 * crypt/crypt.h: Likewise.
3939 * crypt/crypt_util.c: Likewise.
3940 * ctype/ctype.h: Likewise.
3941 * debug/execinfo.h: Likewise.
3942 * debug/mbsnrtowcs_chk.c: Likewise.
3943 * debug/mbsrtowcs_chk.c: Likewise.
3944 * debug/wcsnrtombs_chk.c: Likewise.
3945 * debug/wcsrtombs_chk.c: Likewise.
3946 * debug/wcstombs_chk.c: Likewise.
3947 * dirent/dirent.h: Likewise.
3948 * dlfcn/dlfcn.h: Likewise.
3949 * elf/neededtest4.c: Likewise.
3950 * grp/grp.h: Likewise.
3951 * gshadow/gshadow.h: Likewise.
3952 * iconv/gconv.h: Likewise.
3953 * iconv/gconv_int.h: Likewise.
3954 * iconv/gconv_simple.c: Likewise.
3955 * iconv/iconv.h: Likewise.
3956 * iconv/loop.c: Likewise.
3957 * iconv/skeleton.c: Likewise.
3958 * include/aio.h: Likewise.
3959 * include/aliases.h: Likewise.
3960 * include/argz.h: Likewise.
3961 * include/arpa/inet.h: Likewise.
3962 * include/assert.h: Likewise.
3963 * include/dirent.h: Likewise.
3964 * include/dlfcn.h: Likewise.
3965 * include/execinfo.h: Likewise.
3966 * include/fcntl.h: Likewise.
3967 * include/fenv.h: Likewise.
3968 * include/glob.h: Likewise.
3969 * include/grp.h: Likewise.
3970 * include/libintl.h: Likewise.
3971 * include/mntent.h: Likewise.
3972 * include/netdb.h: Likewise.
3973 * include/pwd.h: Likewise.
3974 * include/rpc/netdb.h: Likewise.
3975 * include/sched.h: Likewise.
3976 * include/search.h: Likewise.
3977 * include/shadow.h: Likewise.
3978 * include/signal.h: Likewise.
3979 * include/stdio.h: Likewise.
3980 * include/stdlib.h: Likewise.
3981 * include/string.h: Likewise.
3982 * include/sys/socket.h: Likewise.
3983 * include/sys/stat.h: Likewise.
3984 * include/sys/statfs.h: Likewise.
3985 * include/sys/statvfs.h: Likewise.
3986 * include/sys/syslog.h: Likewise.
3987 * include/sys/time.h: Likewise.
3988 * include/sys/uio.h: Likewise.
3989 * include/time.h: Likewise.
3990 * include/unistd.h: Likewise.
3991 * include/utmp.h: Likewise.
3992 * include/wchar.h: Likewise.
3993 * include/wctype.h: Likewise.
3994 * inet/aliases.h: Likewise.
3995 * inet/arpa/inet.h: Likewise.
3996 * inet/netinet/ether.h: Likewise.
3997 * inet/netinet/in.h: Likewise.
3998 * intl/libintl.h: Likewise.
3999 * io/bits/fcntl2.h: Likewise.
4000 * io/fcntl.h: Likewise.
4001 * io/ftw.h: Likewise.
4002 * io/sys/poll.h: Likewise.
4003 * io/sys/stat.h: Likewise.
4004 * io/sys/statfs.h: Likewise.
4005 * io/sys/statvfs.h: Likewise.
4006 * io/utime.h: Likewise.
4007 * libio/bits/stdio.h: Likewise.
4008 * libio/bits/stdio2.h: Likewise.
4009 * libio/libio.h: Likewise.
4010 * libio/libioP.h: Likewise.
4011 * libio/stdio.h: Likewise.
4012 * locale/lc-ctype.c: Likewise.
4013 * locale/locale.h: Likewise.
4014 * login/utmp.h: Likewise.
4015 * malloc/arena.c: Likewise.
4016 * malloc/malloc.c: Likewise.
4017 * malloc/malloc.h: Likewise.
4018 * malloc/mcheck.c: Likewise.
4019 * malloc/mtrace.c: Likewise.
4020 * math/bits/mathcalls.h: Likewise.
4021 * math/fenv.h: Likewise.
4022 * math/math_private.h: Likewise.
4023 * misc/bits/error.h: Likewise.
4024 * misc/bits/syslog.h: Likewise.
4025 * misc/err.h: Likewise.
4026 * misc/error.h: Likewise.
4027 * misc/fstab.h: Likewise.
4028 * misc/mntent.h: Likewise.
4029 * misc/regexp.h: Likewise.
4030 * misc/search.h: Likewise.
4031 * misc/sgtty.h: Likewise.
4032 * misc/sys/mman.h: Likewise.
4033 * misc/sys/syslog.h: Likewise.
4034 * misc/sys/uio.h: Likewise.
4035 * misc/sys/xattr.h: Likewise.
4036 * misc/ttyent.h: Likewise.
4037 * nis/rpcsvc/ypclnt.h: Likewise.
4038 * nss/nss.h: Likewise.
4039 * posix/bits/unistd.h: Likewise.
4040 * posix/fnmatch.h: Likewise.
4041 * posix/glob.h: Likewise.
4042 * posix/sched.h: Likewise.
4043 * posix/spawn.h: Likewise.
4044 * posix/sys/wait.h: Likewise.
4045 * posix/unistd.h: Likewise.
4046 * posix/wordexp.h: Likewise.
4047 * pwd/pwd.h: Likewise.
4048 * resolv/netdb.h: Likewise.
4049 * resource/sys/resource.h: Likewise.
4050 * rt/aio.h: Likewise.
4051 * rt/bits/mqueue2.h: Likewise.
4052 * rt/mqueue.h: Likewise.
4053 * shadow/shadow.h: Likewise.
4054 * signal/signal.h: Likewise.
4055 * socket/send.c: Likewise.
4056 * socket/sendto.c: Likewise.
4057 * socket/sys/socket.h: Likewise.
4058 * stdio-common/printf.h: Likewise.
4059 * stdlib/bits/stdlib.h: Likewise.
4060 * stdlib/fmtmsg.h: Likewise.
4061 * stdlib/monetary.h: Likewise.
4062 * stdlib/stdlib.h: Likewise.
4063 * stdlib/ucontext.h: Likewise.
4064 * streams/stropts.h: Likewise.
4065 * string/argz.h: Likewise.
4066 * string/bits/string2.h: Likewise.
4067 * string/string.h: Likewise.
4068 * string/strings.h: Likewise.
4069 * sunrpc/rpc/auth.h: Likewise.
4070 * sunrpc/rpc/auth_des.h: Likewise.
4071 * sunrpc/rpc/clnt.h: Likewise.
4072 * sunrpc/rpc/netdb.h: Likewise.
4073 * sunrpc/rpc/pmap_clnt.h: Likewise.
4074 * sunrpc/rpc/xdr.h: Likewise.
4075 * sysdeps/generic/inttypes.h: Likewise.
4076 * sysdeps/generic/net/if.h: Likewise.
4077 * sysdeps/generic/sys/swap.h: Likewise.
4078 * sysdeps/gnu/net/if.h: Likewise.
4079 * sysdeps/gnu/utmpx.h: Likewise.
4080 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4081 * sysdeps/i386/i486/bits/string.h: Likewise.
4082 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4083 * sysdeps/s390/bits/string.h: Likewise.
4084 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4085 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4086 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4087 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4088 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4089 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4090 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4091 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4092 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4093 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4094 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4095 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4096 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4097 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4098 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4099 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4100 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4105 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4106 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4107 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4108 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4109 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4110 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4112 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4114 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4115 * sysvipc/sys/ipc.h: Likewise.
4116 * sysvipc/sys/msg.h: Likewise.
4117 * sysvipc/sys/sem.h: Likewise.
4118 * sysvipc/sys/shm.h: Likewise.
4119 * termios/termios.h: Likewise.
4120 * time/sys/time.h: Likewise.
4121 * time/time.h: Likewise.
4122 * wcsmbs/bits/wchar2.h: Likewise.
4123 * wcsmbs/uchar.h: Likewise.
4124 * wcsmbs/wchar.h: Likewise.
4125 * wctype/wctype.h: Likewise.
4126
4127 [BZ #13551]
4128 * Makeconfig: Remove all but ELF support including AIX support.
4129 * Makerules: Likewise.
4130 * config.h.in: Likewise.
4131 * config.make.in: Likewise.
4132 * configure: Likewise.
4133 * configure.in: Likewise.
4134 * csu/Makefile: Likewise.
4135 * csu/version.c: Likewise.
4136 * debug/Makefile: Likewise.
4137 * dlfcn/Makefile: Likewise.
4138 * elf/Makefile: Likewise.
4139 * extra-lib.mk: Likewise.
4140 * iconv/Makefile: Likewise.
4141 * include/libc-symbols.h: Likewise.
4142 * include/shlib-compat.h: Likewise.
4143 * resolv/Makefile: Likewise.
4144 * resolv/res_libc.c: Likewise.
4145 * rt/Makefile: Likewise.
4146 * sysdeps/i386/asm-syntax.h: Likewise.
4147 * sysdeps/i386/sysdep.h: Likewise.
4148 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4149 * sysdeps/mach/sysdep.h: Likewise.
4150 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4151 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4152 * sysdeps/s390/asm-syntax.h: Likewise.
4153 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4155 * sysdeps/sh/sysdep.h: Likewise.
4156 * sysdeps/unix/sparc/sysdep.h: Likewise.
4157 * sysdeps/wordsize-32/divdi3.c: Likewise.
4158 * sysdeps/x86_64/sysdep.h: Likewise.
4159
4160 * argp/Versions: Remove _argp_unlock_xxx.
4161
4162 [BZ #13559]
4163 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4164 * abilist/libBrokenLocale.abilist: Likewise.
4165 * abilist/libanl.abilist: Likewise.
4166 * abilist/libc.abilist: Likewise.
4167 * abilist/libcrypt.abilist: Likewise.
4168 * abilist/libdl.abilist: Likewise.
4169 * abilist/libm.abilist: Likewise.
4170 * abilist/libnsl.abilist: Likewise.
4171 * abilist/libpthread.abilist: Likewise.
4172 * abilist/libresolv.abilist: Likewise.
4173 * abilist/librt.abilist: Likewise.
4174 * abilist/libthread_db.abilist: Likewise.
4175 * abilist/libutil.abilist: Likewise.
4176 * abilist/libnss_db.abilist: New file.
4177
4178 * scripts/abilist.awk: Add support for indirect functions.
4179
4180 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4181
4182 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4183
4184 * shlib-versions: Remove entries for ports architectures.
4185
4186 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4187 files in ports.
4188 * elf/stackguard-macros.h: Remove support for IA-64.
4189 * elf/tst-auditmod1.c: Likewise.
4190 * sysdeps/generic/ldsodefs.h: Likewise.
4191
4192 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4193 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4194 configure files.
4195
4196 [BZ #13552]
4197 * configure.in: Remove --enable-omitfp support.
4198 * FAQ.in: Adjust.
4199 * config.make.in: Likewise.
4200 * Makeconfig: Likewise.
4201 * manual/install.texi: Likewise.
4202
4203 In case anyone cares, the IA-64 architecture could move to ports.
4204 * sysdeps/ia64/*: Removed.
4205 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4206 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4207
4208 [BZ #13555]
4209 * configure.in: Remove entries for unsupported architectures.
4210
4211 [BZ #13533]
4212 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4213 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4214 routines.
4215 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4216 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4217 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4218 fall back to using wcrtomb.
4219 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4220 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4221 renaming.
4222 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4223 * wcsmbs/tst-c16c32-1.c: New file.
4224
4225 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4226 local variable.
4227
4228 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4229
4230 * elf/tst-unique3.cc: Add explicit declaration of gets.
4231 * elf/tst-unique3lib.cc: Likewise.
4232 * elf/tst-unique3lib2.cc: Likewise.
4233 * elf/tst-unique4.cc: Likewise.
4234
4235 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4236
4237 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4238
4239 [BZ #13566]
4240 * assert/assert.h (static_assert): Don't define for C++.
4241 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4242 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4243
4244 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4245
4246 * iconv/loop.c (single loop): Fix assertion in storing of
4247 remaining bytes.
4248
4249 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4250
4251 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4252
4253 * posix/getconf.c: Update copyright year.
4254 * nss/getent.c: Likewise.
4255 * nss/makedb.c: Likewise.
4256 * iconv/iconvconfig.c: Likewise.
4257 * iconv/iconv_prog.c: Likewise.
4258 * elf/ldconfig.c: Likewise.
4259 * elf/pldd.c: Likewise.
4260 * elf/sotruss.ksh: Likewise.
4261 * catgets/gencat.c: Likewise.
4262 * csu/version.c: Likewise.
4263 * elf/ldd.bash.in: Likewise.
4264 * elf/sprof.c (print_version): Likewise.
4265 * locale/programs/locale.c: Likewise.
4266 * locale/programs/localedef.c: Likewise.
4267 * login/programs/pt_chown.c: Likewise.
4268 * nscd/nscd.c (print_version): Likewise.
4269 * debug/xtrace.sh: Likewise.
4270 * malloc/memusage.sh: Likewise.
4271 * malloc/mtrace.pl: Likewise.
4272 * debug/catchsegv.sh: Likewise.
4273
4274 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4275
4276 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4277 pure attribute.
4278
4279 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4280
4281 [BZ #13533]
4282 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4283 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4284 transformations.
4285 * iconv/gconv_int.h: Likewise.
4286 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4287 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4288 from libc for GLIBC_2.16.
4289 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4290 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4291 * wcsmbs/uchar.h: Really define mbstate_t.
4292 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4293 * wcsmbs/c16rtomb.c: New file.
4294 * wcsmbs/mbrtoc16.c: New file.
4295 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4296 for C/POSIX locale.
4297 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4298 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4299
4300 * wcsmbs/wchar.h: Add missing __restrict.
4301
4302 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4303
4304 [BZ #13532]
4305 * time/Makefile (routines): Add timespec_get.
4306 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4307 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4308 timespec for ISO C11.
4309 * time/timespec_get.c: New file.
4310 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4311 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4312
4313 [BZ #13531]
4314 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4315 * stdlib/stdlib.h: Declare aligned_alloc.
4316 * Versions.def: Add GLIBC_2.16 for libc.
4317 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4318
4319 [BZ 13527]
4320 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4321 ISO C11.
4322
4323 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4324 code.
4325
4326 [BZ #13528]
4327 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4328
4329 [BZ #13529]
4330 * assert/assert.h (static_assert): Define.
4331
4332 * version.h: Update for 2.16 development version.
4333
4334 [BZ #13526]
4335 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4336 _ISOC11_SOURCE.
4337
4338 * version.h (RELEASE): Bump for 2.15 release.
4339 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4340
4341 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4342 Patch by Marek Polacek <mpolacek@redhat.com>.
4343
4344 * bits/byteswap.h: Protect long long constants with __extension__.
4345 * sysdeps/i386/bits/byteswap.h: Likewise.
4346 * sysdeps/ia64/bits/byteswap.h: Likewise.
4347 * sysdeps/s390/bits/byteswap.h: Likewise.
4348 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4349
4350 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4351
4352 [BZ #13540]
4353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4354 destination buffer.
4355 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4356
4357 2011-12-23 Marek Polacek <polacek@redhat.com>
4358
4359 * elf/dl-addr.c (determine_info): Add inline keyword.
4360 * elf/tst-auditmod4b.c (check_avx): Likewise.
4361 * elf/tst-auditmod6b.c (check_avx): Likewise.
4362 * elf/tst-auditmod6c.c (check_avx): Likewise.
4363 * elf/tst-auditmod7b.c (check_avx): Likewise.
4364
4365 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4366
4367 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4368 !__SSE_MATH__.
4369
4370 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4371
4372 [BZ #13540]
4373 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4374 processing for last bytes.
4375
4376 2011-08-06 Bruno Haible <bruno@clisp.org>
4377
4378 [BZ #13061]
4379 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4380 U+0385, not to U+1FEE.
4381
4382 [BZ #13062]
4383 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4384 entry for U+00A5 U+0301.
4385
4386 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4387
4388 [BZ #13166]
4389 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4390 buffer for the output is too small.
4391
4392 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4393 optimization.
4394
4395 [BZ #13185]
4396 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4397 SSE flags if possible.
4398
4399 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4400
4401 [BZ #13540]
4402 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4403 processing for last bytes.
4404
4405 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4406
4407 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4408 (syscall-list-default-options, syscall-list-default-condition)
4409 (syscall-list-includes): Define.
4410 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4411 list of ABIs and options and #if conditions for each ABI. Do not
4412 handle common syscalls between ABIs specially.
4413 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4414 Remove.
4415 (syscall-list-variants, syscall-list-32bit-options)
4416 (syscall-list-32bit-condition, syscall-list-64bit-options)
4417 (syscall-list-64bit-condition): Define.
4418 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4419 (syscall-list-variants, syscall-list-32bit-options)
4420 (syscall-list-32bit-condition, syscall-list-64bit-options)
4421 (syscall-list-64bit-condition): Define.
4422 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4423 Remove.
4424 (syscall-list-variants, syscall-list-32bit-options)
4425 (syscall-list-32bit-condition, syscall-list-64bit-options)
4426 (syscall-list-64bit-condition): Define.
4427 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4428 Remove.
4429 (syscall-list-variants, syscall-list-32bit-options)
4430 (syscall-list-32bit-condition, syscall-list-64bit-options)
4431 (syscall-list-64bit-condition): Define.
4432
4433 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4434
4435 * locale/iso-639.def: Add brx entry.
4436
4437 [BZ #13328]
4438 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4439 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4440
4441 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4442 __feraiseexcept_renamed.
4443
4444 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4445
4446 [BZ #13538]
4447 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4448 EPOLLET with unsigned values.
4449 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4450 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4451
4452 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4453 to large cancellation.
4454 * math/s_cacoshf.c: Likewise.
4455 * math/s_cacoshl.c: Likewise.
4456
4457 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4458
4459 [BZ #13305]
4460 [BZ #12786]
4461 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4462 * math/s_cacoshf.c: Likewise.
4463 * math/s_cacoshl.c: Likewise.
4464
4465 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4466
4467 [BZ #13439]
4468 * iconv/gconv.h: Define __GCONV_SWAP.
4469 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4470 * iconvdata/utf-16.c: Likewise.
4471 * iconvdata/utf-32.c: Likewise.
4472
4473 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4474
4475 [BZ #13524]
4476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4477 numerator after shifting it by one limb.
4478
4479 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4480
4481 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4482 under [__USE_EXTERN_INLINES].
4483
4484 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4485
4486 [BZ #13446]
4487 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4488
4489 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490
4491 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4492 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4493 optimized code.
4494 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4495 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4496 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4497 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4498 for strncasecmp/strncasecmp_l compilation.
4499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4500 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4501
4502 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4503
4504 [BZ #13484]
4505 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4506 of __asm__.
4507
4508 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4509
4510 [BZ #13506]
4511 * time/tzfile.c (__tzfile_read): Check values from file header.
4512
4513 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4514
4515 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4516 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4517 * powerpc/powerpc32/dl-start.S: Likewise.
4518 * powerpc/powerpc32/elf/start.S: Likewise.
4519 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4520 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4521 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4522 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4523 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4524 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4525 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4526 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4527 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4528 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4529 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4530 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4531 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4532 * powerpc/powerpc32/memset.S: Likewise.
4533 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4534 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4535 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4536 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4537 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4538 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4539 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4540 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4541 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4542 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4543 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4544 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4545 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4546
4547 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4548
4549 * math/libm-test.inc: Added more nearbyint tests.
4550 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4554
4555 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4556
4557 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4558 FD_CLOEXEC.
4559
4560 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4561
4562 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4563 Add wcscpy-ssse3 wcscpy-c.
4564 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4565 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4566 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4567 * sysdeps/x86_64/wcschr.S: New file.
4568 * sysdeps/x86_64/wcsrchr.S: New file.
4569 * string/test-strcmp.c: Remove checking of wcscmp function for
4570 wrong alignments.
4571 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4572 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4573 wcsrchr-sse2 wcsrchr-c.
4574 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4575 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4576 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4577 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4578 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4579 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4580 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4581 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4582 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4583 * wcsmbc/wcschr.c (WCSCHR): New macro.
4584
4585 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4586
4587 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4588 * wcsmbs/test-wcsrchr.c: New file.
4589 * string/test-strrchr.c: Add wcsrchr support.
4590 (WIDE): New macro.
4591 * wcsmbs/test-wcscpy.c: New file.
4592 * string/test-strcpy.c: Add wcscpy support.
4593 (WIDE): New macro.
4594
4595 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4596
4597 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4598 the inner loop.
4599
4600 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4601
4602 [BZ #13472]
4603 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4604
4605 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4606
4607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4608 Minor optimizations.
4609
4610 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4611 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4612 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4613
4614 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4615
4616 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4617 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4618 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4619 for gcc to avoid warnings.
4620 * inet/Makefile (tests): Add tst-checks.
4621 * inet/tst-checks.c: New file.
4622
4623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4624 warning.
4625
4626 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4627 __wmemcmp_sse2.
4628
4629 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4630 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4631
4632 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4633
4634 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4635
4636 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4637 problem.
4638
4639 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4640
4641 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4642
4643 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4644 conditional on GCC version.
4645 (__arch_compare_and_exchange_val_8_acq)
4646 (__arch_compare_and_exchange_val_16_acq)
4647 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4648 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4649 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4650
4651 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4652
4653 * sysdeps/sh/backtrace.c: New file.
4654
4655 2011-12-02 Andreas Schwab <schwab@redhat.com>
4656
4657 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4658 parenthesis.
4659
4660 2011-12-01 Andreas Schwab <schwab@redhat.com>
4661
4662 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4663 falling back to utime.
4664
4665 2011-11-30 Andreas Schwab <schwab@redhat.com>
4666
4667 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4668 expectations for float.
4669
4670 2011-11-29 Andreas Schwab <schwab@redhat.com>
4671
4672 * locale/weight.h (findidx): Add parameter len.
4673 * locale/weightwc.h (findidx): Likewise.
4674 * posix/fnmatch_loop.c (FCT): Adjust caller.
4675 * posix/regcomp.c (build_equiv_class): Likewise.
4676 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4677 * posix/regexec.c (check_node_accept_bytes): Likewise.
4678 * string/strcoll_l.c (STRCOLL): Likewise.
4679 * string/strxfrm_l.c (STRXFRM): Likewise.
4680
4681 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4682
4683 * Makefile.in: Remove CVSOPT handling.
4684 * configure.in: Remove use of AC_REVISION.
4685 * iconvdata/Makefile (distribute): No need to filter out CVS.
4686 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4687 handling.
4688
4689 2011-11-16 Andreas Schwab <schwab@redhat.com>
4690
4691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4692 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4693 [USE_AS_STRNCASECMP_L]: Likewise.
4694 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4695 NO_TLS_DIRECT_SEG_REFS.
4696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4697 Fix argument offsets for non-PIC.
4698 [USE_AS_STRNCASECMP_L]: Likewise.
4699 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4700 NO_TLS_DIRECT_SEG_REFS.
4701
4702 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4703
4704 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4705 O_CLOEXEC.
4706 * locale/loadlocale.c (_nl_load_locale): Likewise.
4707
4708 2011-11-15 Andreas Schwab <schwab@redhat.com>
4709
4710 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4711 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4713 (SYSCALL_GETTIME): Set errno on error.
4714
4715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4716 count references to noai6ai_cached.
4717
4718 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4719
4720 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4721
4722 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4723 FD_CLOEXEC for /proc/self/maps.
4724
4725 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4726 FD_CLOEXEC for /proc/meminfo.
4727
4728 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4729 gai.conf.
4730
4731 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4732 FD_CLOEXEC for given file.
4733
4734 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4735
4736 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4737 FD_CLOEXEC for /etc/hosts.
4738 (_gethtent): Likewise.
4739
4740 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4741
4742 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4743 cancellation and set FD_CLOEXEC for /etc/netgroup.
4744
4745 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4746 reading /etc/publickey.
4747
4748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4749 allow cancellation when reading /etc/group.
4750
4751 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4752 cancellation.
4753 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4754
4755 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4756 when using data file.
4757
4758 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4759
4760 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4761 (write_nis_obj): Use "c" and "e" in fopen.
4762
4763 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4764
4765 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4766
4767 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4768
4769 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4770
4771 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4772 locale.alias.
4773
4774 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4775
4776 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4777
4778 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4779
4780 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4781 file parsing and set FD_CLOEXEC.
4782
4783 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4784
4785 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4786
4787 2011-11-14 Andreas Schwab <schwab@redhat.com>
4788
4789 * malloc/arena.c (arena_get2): Don't call reused_arena when
4790 _int_new_arena failed.
4791
4792 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4793
4794 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4795 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4796 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4797 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4798 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4799 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4800 to compile strcasecmp and strncasecmp.
4801 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4802 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4803
4804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4805
4806 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4807
4808 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4809 locale-defines.sym to gen-as-const-headers.
4810 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4811 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4813 to compile strcasecmp and strncasecmp.
4814 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4815 strcasecmp_l and strncasecmp_l.
4816 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4817 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4818 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4819 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4820 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4821 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4822 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4823 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4824 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4825 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4826 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4827
4828 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4829
4830 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4831 result of SYSDEP_GETTIME_CPU to retval.
4832 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4833 parameter list to macro. Remove trailing semicolon. Adjust users.
4834
4835 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4836 variable.
4837
4838 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4839 mantissa words.
4840 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4841
4842 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4843 from unused variable.
4844
4845 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4846 DWARF definitions.
4847 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4848 for assembling.
4849
4850 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4851 over namespaces.
4852
4853 * sunrpc/rpc_prot.c (rejected): Fix case value.
4854
4855 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4856 unsigned long long int to avoid warnings in shift.
4857
4858 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4859 of use of trans.
4860 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4861 variable tmp.
4862
4863 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4864 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4865 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4866
4867 * nis/nis_table.c (nis_list): Use variable of correct type for
4868 result of __follow_path call.
4869
4870 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4871
4872 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4873 of math functions ceil, trunc, floor, round, and sqrt, when
4874 avaliable on the platform.
4875 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4876 name clash.
4877 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4878 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4879 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4880
4881 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4882
4883 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4884 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4885
4886 2011-11-11 Roland McGrath <roland@hack.frob.com>
4887
4888 * include/unistd.h: Fix __readlink return type.
4889 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4890
4891 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4892
4893 * stdlib/ucontext.h: Undo last change for makecontext.
4894
4895 2011-11-11 Andreas Schwab <schwab@redhat.com>
4896
4897 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4898
4899 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4900 * setjmp/setjmp.h: Mark functions as non-leaf.
4901 * setjmp/bits/setjmp2.h: Likewise.
4902 * stdlib/ucontext.h: Likewise.
4903
4904 2011-11-10 Andreas Schwab <schwab@redhat.com>
4905
4906 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4907 (reused_arena): Don't check arena limit.
4908 (arena_get2): Atomically check arena limit.
4909
4910 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4911
4912 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4913 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4914
4915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4916 instructions.
4917
4918 2011-11-07 Andreas Schwab <schwab@redhat.com>
4919
4920 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4921 handler when locking.
4922
4923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4924 Fix size of allocated buffer.
4925
4926 2011-11-04 Andreas Schwab <schwab@redhat.com>
4927
4928 [BZ #10103]
4929 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4930 declarations for long double functions.
4931 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4932
4933 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4934
4935 2011-11-03 Andreas Schwab <schwab@redhat.com>
4936
4937 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4938 installed.
4939
4940 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4941 is disabled.
4942
4943 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4944
4945 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4946
4947 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4948
4949 * include/alloca.h (stackinfo_alloca_round): Define.
4950 (extend_alloca): Use it.
4951 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4952 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4953 here.
4954
4955 * scripts/check-local-headers.sh: Ignore libaudit.h.
4956
4957 * nscd/Makefile (extra-objs): Make recursively expanded.
4958
4959 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4960
4961 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4962 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4963
4964 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4965 * posix/tst-rfc3484-2.c: Likewise.
4966 * posix/tst-rfc3484-3.c: Likewise.
4967
4968 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4969 process_vm_writev.
4970 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4971 process_vm_writev.
4972 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4973 process_vm_writev from libc using GLIBC_2.15 version.
4974
4975 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4976
4977 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4978
4979 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4980 stack usage.
4981
4982 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4983
4984 [BZ #13367]
4985 * nss/getent.c (initgroups_keys): Show error message in case no group
4986 names are given.
4987
4988 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4989 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4990 __bump_nl_timestamp.
4991 * nscd/connections (nscd_init): When host database is served open
4992 netlink socket and request notification about configuration changes.
4993 (main_loop_poll): Track netlink file descriptor and bump timestamp
4994 in case data becomes available.
4995 (main_loop_epoll): Likewise.
4996 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4997 (database_pers_head): Add extra_data fileds.
4998 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4999 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5000 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5001 Adjust caller.
5002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5003 in6ai data, call __free_in6ai.
5004 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5005 Add -DHAVE_NETLINK.
5006 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5007 interface information. Reuse previous data if netlink timestamp
5008 is not changed.
5009 (__bump_nl_timestamp): New function.
5010 (__free_in6ai): New function.
5011
5012 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5013
5014 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5015 close_not_cancel_no_status here.
5016 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5017
5018 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5019
5020 [BZ #13276]
5021 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5022 return value.
5023
5024 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5025 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5026 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5027
5028 2011-07-03 Andreas Jaeger <aj@suse.de>
5029
5030 [BZ #10709]
5031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5032 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5033 * math/libm-test.inc (sin_test): Add test case.
5034
5035 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5036
5037 [BZ #13337]
5038 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5039 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5040
5041 * elf/chroot_canon.c (chroot_canon): Cleanups.
5042
5043 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5044
5045 [BZ #13335]
5046 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5047 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5048
5049 * string/test-strchr.c: Make usable for strchrnul testing.
5050 * string/test-strchrnul.c: New file.
5051 * string/Makefile (strop-tests): Add strchrnul.
5052
5053 * po/it.po: Update from translation team.
5054 * po/es.po: Likewise.
5055
5056 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5057
5058 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5059 the three constants needed as parameters. Drop the others.
5060 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5061 __m128i_strloadu_tolower.
5062 Create and initialize variable zero and use it in all the places
5063 where _mm_setzero_si128 was used.
5064
5065 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5066 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5067 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5069 anymore.
5070 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5071 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5072 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5073 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5074 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5075 __mpranred, __mptan.
5076 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5077 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5078 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5079 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5080 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5081 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5083 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5084 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5085
5086 2011-10-28 Andreas Schwab <schwab@redhat.com>
5087
5088 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5089 redefine if SHARED.
5090 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5091
5092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5093 wide char related routines to wcsmbs subdir.
5094
5095 2011-10-27 Andreas Schwab <schwab@redhat.com>
5096
5097 [BZ #13344]
5098 * misc/sys/cdefs.h (__THROWNL): Define.
5099 * posix/unistd.h: Use __THREADNL instead of __THREAD
5100 for memory synchronization functions.
5101
5102 2011-10-26 Roland McGrath <roland@hack.frob.com>
5103
5104 [BZ #13349]
5105 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5106 doesn't exist.
5107 * manual/stdio.texi (Obstack Streams): Node removed.
5108
5109 2011-10-26 Andreas Schwab <schwab@redhat.com>
5110
5111 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5112 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5113 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5114
5115 * math/math_private.h (math_force_eval): Allow non-addressable
5116 arguments.
5117 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5118
5119 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5120
5121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5122 file is not needed.
5123
5124 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5125 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5131 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5132 Add AVX variants.
5133 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5134 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5135 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5136 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5137 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5138 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5139 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5140 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5141 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5142 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5143 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5144 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5146 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5147 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5148 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5149 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5150 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5151 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5152
5153 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5154 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5155
5156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5157 place. Use VEX encoding when compiling for AVX.
5158
5159 2011-10-25 Andreas Schwab <schwab@redhat.com>
5160
5161 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5162 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5163
5164 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5165
5166 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5167
5168 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5169 useless if() expression.
5170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5171 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5172 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5174 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5179 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5180 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5181 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5182 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5183 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5185 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5188 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5189
5190 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5191
5192 2011-10-25 Andreas Schwab <schwab@redhat.com>
5193
5194 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5195 condition.
5196 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5197
5198 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5199
5200 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5201 .text section. Avoid duplicate constants.
5202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5212 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5214 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5219 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5225 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5226 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5227 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5228 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5229 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5231 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5232 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5233 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5234 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5235 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5236 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5237 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5238 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5239 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5240 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5241 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5242 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5244 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5246 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5247
5248 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5249
5250 * sysdeps/x86_64/dla.h: Move to ...
5251 * sysdeps/x86_64/fpu/dla.h: ...here.
5252 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5253 situations. Use __builtin_fma only for gcc 4.6 and up.
5254
5255 * config.make.in: Add have-mfma4 entry.
5256 * configure.in: Substitute libc_cv_cc_fma4.
5257 * math/Makefile (dbl-only-routines): Add sincostab.
5258 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5259 Use __sincostab not sincos.
5260 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5261 name is a macro.
5262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5266 using __copysign.
5267 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5268 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5269 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5270 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5271 and __inv.
5272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5273 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5274 __copysign.
5275 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5276 define aliases when function name is a macro.
5277 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5278 sysdeps/ieee754/dbl-64/sincos.tbl.
5279 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5280 fma4-enabled routines.
5281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5282 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5283 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5284 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5286 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5287 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5288 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5289 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5290 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5291 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5293 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5294 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5295 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5296 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5297 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5298 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5299 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5300 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5301 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5302 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5304 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5308 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5309 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5310 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5311
5312 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5313 rename.
5314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5322
5323 2011-10-24 Andreas Schwab <schwab@redhat.com>
5324
5325 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5326
5327 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5328
5329 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5330
5331 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5332 prediction.
5333 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5334
5335 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5336 Remove unused variable magic_bits.
5337 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5338
5339 * string/strnlen.c: Define and use STRNLEN macro.
5340 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5341 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5343 * wcsmbs/wcslen.c: Define and use WCSLEN.
5344 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5345 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5346 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5347 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5348 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5349 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5350 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5351
5352 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5353
5354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5355 strnlen-sse2-no-bsf.
5356 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5357 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5358 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5359 Add strnlen support.
5360 (USE_AS_STRNLEN): New macro.
5361 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5362 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5363 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5364 * sysdeps/x86_64/wcslen.S: New file.
5365
5366 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5367
5368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5369 XMM-moves are used for copying on small sizes.
5370
5371 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5372
5373 * wcsmbs/Makefile (strop-tests): Add wcschr.
5374 * wcsmbs/test-wcschr.c: New file.
5375 * string/test-strchr.c: Update.
5376 Add wcschr support.
5377 (WIDE): New macro.
5378
5379 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5380
5381 * wcsmbs/Makefile (strop-tests): Add wcslen.
5382 * wcsmbs/test-wcslen.c: New file.
5383 * string/test-strlen.c: Update.
5384 Add wcslen support.
5385 (WIDE): New macro.
5386
5387 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5388
5389 * po/it.po: Update from translation team.
5390
5391 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5392
5393 * sysdeps/x86_64/wcscmp.S: Update.
5394 Fix wrong comparison semantics.
5395 wcscmp shall use signed comparison not unsigned.
5396 Don't use substraction to avoid overflow bug.
5397 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5398 * wcsmbc/wcscmp.c: Likewise.
5399 * string/test-strcmp.c: Likewise.
5400 Add new tests to check cases with negative values.
5401
5402 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5403
5404 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5405 * sysdeps/x86_64/dla.h: ...here. New file.
5406 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5415
5416 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5417
5418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5419 __ynl_finite aliases.
5420
5421 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5422
5423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5424
5425 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5426 define DLA_FMA.
5427 [DLA_FMA] (EMULV): Use DLA_FMA.
5428 [DLA_FMA] (MUL12): Use EMULV.
5429 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5430 that are not needed.
5431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5438
5439 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5440
5441 * math/s_nan.c: Undef __nan.
5442 * math/s_nanf.c: Undef __nanf.
5443 * math/s_nanl.c: Undef __nanl.
5444 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5445 "math_private.h".
5446
5447 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5448
5449 * math/s_catan.c: Add branch predictions.
5450 * math/s_catanf.c: Likewise.
5451 * math/s_catanh.c: Likewise.
5452 * math/s_catanhf.c: Likewise.
5453 * math/s_catanhl.c: Likewise.
5454 * math/s_catanl.c: Likewise.
5455 * math/s_cexp.c: Likewise.
5456 * math/s_cexpf.c: Likewise.
5457 * math/s_cexpl.c: Likewise.
5458 * math/s_clog.c: Likewise.
5459 * math/s_clog10.c: Likewise.
5460 * math/s_clog10f.c: Likewise.
5461 * math/s_clog10l.c: Likewise.
5462 * math/s_clogf.c: Likewise.
5463 * math/s_clogl.c: Likewise.
5464 * math/s_csqrt.c: Likewise.
5465 * math/s_csqrtf.c: Likewise.
5466 * math/s_csqrtl.c: Likewise.
5467 * math/s_ctanf.c: Likewise.
5468 * math/s_ctanh.c: Likewise.
5469 * math/s_ctanhf.c: Likewise.
5470 * math/s_ctanhl.c: Likewise.
5471 * math/s_ctanl.c: Likewise.
5472
5473 * math/math_private.h: Define __nan, __nanf, __nanl.
5474 * math/s_cacosh.c: Include <math_private.h>.
5475 * math/s_cacoshl.c: Likewise.
5476 * math/s_casinh.c: Likewise.
5477 * math/s_casinhf.c: Likewise.
5478 * math/s_casinhl.c: Likewise.
5479 * math/s_ccos.c: Rely entire on ccosh.
5480 * math/s_ccosf.c: Rely entire on ccoshf.
5481 * math/s_ccosl.c: Rely entirely on ccoshl.
5482 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5483 Remove tests for FE_INVALID.
5484 * math/s_ccoshf.c: Likewise.
5485 * math/s_ccoshl.c: Likewise.
5486 * math/s_csin.c: Likewise.
5487 * math/s_csinf.c: Likewise.
5488 * math/s_csinh.c Likewise.
5489 * math/s_csinhf.c: Likewise.
5490 * math/s_csinhl.c: Likewise.
5491 * math/s_csinl.c: Likewise.
5492 * math/s_ctan.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5494 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5495 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5496
5497 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5498
5499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5500 compilation problems.
5501
5502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5503 __builtin_expect.
5504
5505 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5506
5507 * sysdeps/i386/configure.in: Test for -mfma4 option.
5508 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5509 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5510 COMMON_CPUID_INDEX_80000001.
5511 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5512 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5513 use it if FMA3 is not supported.
5514 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5515
5516 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5517 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5518
5519 2011-10-20 Andreas Schwab <schwab@redhat.com>
5520
5521 [BZ #12892]
5522 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5523 it would create a cycle with a link time dependency.
5524
5525 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5526
5527 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5528 instruction.
5529 * string/Makefile (strop-tests): Add rawmemchr.
5530 * string/test-rawmemchr.c: New file.
5531
5532 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5533 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5534 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5535 when compiling str{,n}casecmp and when AVX is available. Hook up
5536 new optimized code in initializers.
5537
5538 2011-10-19 Andreas Schwab <schwab@redhat.com>
5539
5540 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5541 __feraiseexcept instead of feraiseexcept.
5542
5543 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5544
5545 * math/math_private.h: Define defaults for libc_fetestexcept and
5546 libc_feupdateenv.
5547 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5548 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5549 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5550 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5551 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5552 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5553 libc_fetestexcept and libc_feupdateenv.
5554
5555 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5556 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5557 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5558 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5559 libc_feholdexcept_setround.
5560
5561 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5562 Add s_nearbyint-c and s_nearbyintf-c.
5563 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5564 nearbyintf inlines.
5565 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5566 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5567 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5568 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5569
5570 * math/math_private.h: Define defaults for libc_fegetround,
5571 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5572 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5573 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5574 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5575 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5576 standard functions.
5577 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5578 Remove comments and hacks for old compiler versions.
5579 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5580 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5581 libc_feholdexceptl.
5582
5583 2011-10-18 Andreas Schwab <schwab@redhat.com>
5584
5585 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5586 (__feraiseexcept_renamed): Add __NTH.
5587 (feraiseexcept): Add __NTH. Rename local variables to fix
5588 namespace violations.
5589
5590 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5591
5592 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5593
5594 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5595
5596 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5597 recently added interfaces.
5598 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5599
5600 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5601 about macro parameter expansion.
5602
5603 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5604 __NO_MATH_INLINES is defined. Cleanups.
5605
5606 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5607 and __floorf is target has SSE4.1.
5608 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5610 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5611 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5612
5613 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5614 name.
5615 (floorf): Likewise.
5616
5617 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5618
5619 2011-10-17 Andreas Schwab <schwab@redhat.com>
5620
5621 * misc/sys/cdefs.h: Fix last change.
5622
5623 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5624 database lookup.
5625
5626 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5627
5628 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5629
5630 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5636 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5637 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5638 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5639 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5640 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5641 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5642 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5644 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5645 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5646 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5647 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5648 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5649 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5650 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5651 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5652
5653 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5654 ceil, ceilf, floor, floorf.
5655
5656 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5657 Perform IRELATIVE relocations last.
5658
5659 * elf/do-rel.h: Add another parameter nrelative, replacing the
5660 local variable with the same name. Change name of the function
5661 to end in Rel or Rela (uppercase).
5662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5663 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5664 elf_dynamic_do_##reloc function.
5665
5666 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5667
5668 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5669 is sufficient, at least on modern CPUs.
5670
5671 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5672
5673 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5674 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5675
5676 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5677 __expl_finite.
5678 * math/bits/math-finite.h: Add entries for exp.
5679 * math/e_expl.c: Add __*_finite alias.
5680 * sysdeps/i386/fpu/e_exp.S: Likewise.
5681 * sysdeps/i386/fpu/e_expf.S: Likewise.
5682 * sysdeps/i386/fpu/e_expl.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5684 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5688 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5689 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5690
5691 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5692 is sufficient, at least on modern CPUs.
5693
5694 * ctype/ctype-info.c (__ctype_init): Define.
5695 * include/ctype.h (__ctype_init): Declare.
5696 (__ctype_b_loc): The variable is always initialized.
5697 (__ctype_toupper_loc): Likewise.
5698 (__ctype_tolower_loc): Likewise.
5699 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5700 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5701
5702 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5703
5704 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5705
5706 * configure.in: Also look in $cxxmachine/include for C++ system
5707 headers.
5708
5709 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5710
5711 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5712 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5713 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5714 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5715 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5716 (USE_AS_WMEMCMP): New macro.
5717 Fixing indents.
5718 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5719 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5720 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5721 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5723 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5724 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5725 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5726 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5727 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5728 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5729 (USE_AS_WMEMCMP): New macro.
5730 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5731 * sysdeps/string/test-memcmp.c: Update.
5732 Fix simple_wmemcmp.
5733 Add new tests.
5734 * wcsmbs/wmemcmp.c: Update.
5735 (WMEMCMP): New macro.
5736 Fix overflow bug.
5737
5738 2011-10-12 Andreas Jaeger <aj@suse.de>
5739
5740 [BZ #13268]
5741 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5742
5743 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5744
5745 * libio/iofwide.c (do_length): Avoid warning.
5746
5747 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5748
5749 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5750
5751 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5752
5753 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5754 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5755 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5756 * sysdeps/i386/i686/fpu/e_log.S: New file.
5757 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5758 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5759
5760 * ctype/ctype.h: Add support for inlined isXXX functions when
5761 compiling C++ code.
5762
5763 2011-10-14 Andreas Schwab <schwab@redhat.com>
5764
5765 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5766
5767 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5768
5769 2011-10-13 Roland McGrath <roland@hack.frob.com>
5770
5771 [BZ #13291]
5772 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5773
5774 2011-10-13 Andreas Schwab <schwab@redhat.com>
5775
5776 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5777 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5778 feraiseexcept.
5779
5780 * sysdeps/x86_64/memrchr.S: Check for zero size.
5781
5782 * string/stratcliff.c: Add memrchr tests.
5783
5784 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5785
5786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5787 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5788 rawmemchr-sse2 rawmemchr-sse2-bsf.
5789 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5790 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5791 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5792 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5793 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5794 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5795 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5796 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5797 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5798 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5799 * string/memrchr.c (MEMRCHR): New macro.
5800
5801 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5802
5803 Add integration with gcc's -ffinite-math-only and optimize wrapper
5804 functions in libm.
5805 * Versions.def: Define GLIBC_2.15 version for libm.
5806 * math/Makefile (headers): Add bits/math-finite.h.
5807 * math/bits/math-finite.h: New file.
5808 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5809 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5810 * math/e_acoshl.c: Add __*_finite alias.
5811 * math/e_acosl.c: Likewise.
5812 * math/e_asinl.c: Likewise.
5813 * math/e_atan2l.c: Likewise.
5814 * math/e_atanhl.c: Likewise.
5815 * math/e_coshl.c: Likewise.
5816 * math/e_exp10.c: Likewise.
5817 * math/e_exp10f.c: Likewise.
5818 * math/e_exp10l.c: Likewise.
5819 * math/e_exp2l.c: Likewise.
5820 * math/e_fmodl.c: Likewise.
5821 * math/e_gammal_r.c: Likewise.
5822 * math/e_hypotl.c: Likewise.
5823 * math/e_j0l.c: Likewise.
5824 * math/e_j1l.c: Likewise.
5825 * math/e_jnl.c: Likewise.
5826 * math/e_lgammal_r.c: Likewise.
5827 * math/e_log10l.c: Likewise.
5828 * math/e_log2l.c: Likewise.
5829 * math/e_logl.c: Likewise.
5830 * math/e_powl.c: Likewise.
5831 * math/e_sinhl.c: Likewise.
5832 * math/e_sqrtl.c: Likewise.
5833 * math/e_scalb.c: Completely rewritten and optimized.
5834 * math/e_scalbf.c: Likewise.
5835 * math/e_scalbl.c: Likewise.
5836 * math/w_acos.c: Likewise.
5837 * math/w_acosf.c: Likewise.
5838 * math/w_acosl.c: Likewise.
5839 * math/w_acosh.c: Likewise.
5840 * math/w_acoshf.c: Likewise.
5841 * math/w_acoshl.c: Likewise.
5842 * math/w_asin.c: Likewise.
5843 * math/w_asinf.c: Likewise.
5844 * math/w_asinl.c: Likewise.
5845 * math/w_atan2.c: Likewise.
5846 * math/w_atan2f.c: Likewise.
5847 * math/w_atan2l.c: Likewise.
5848 * math/w_atanh.c: Likewise.
5849 * math/w_atanhf.c: Likewise.
5850 * math/w_atanhl.c: Likewise.
5851 * math/w_exp10.c: Likewise.
5852 * math/w_exp10f.c: Likewise.
5853 * math/w_exp10l.c: Likewise.
5854 * math/w_fmod.c: Likewise.
5855 * math/w_fmodf.c: Likewise.
5856 * math/w_fmodl.c: Likewise.
5857 * math/w_j0.c: Likewise.
5858 * math/w_j0f.c: Likewise.
5859 * math/w_j0l.c: Likewise.
5860 * math/w_j1.c: Likewise.
5861 * math/w_j1f.c: Likewise.
5862 * math/w_j1l.c: Likewise.
5863 * math/w_jn.c: Likewise.
5864 * math/w_jnf.c: Likewise.
5865 * math/w_log.c: Likewise.
5866 * math/w_logf.c: Likewise.
5867 * math/w_logl.c: Likewise.
5868 * math/w_log10.c: Likewise.
5869 * math/w_log10f.c: Likewise.
5870 * math/w_log10l.c: Likewise.
5871 * math/w_log2.c: Likewise.
5872 * math/w_log2f.c: Likewise.
5873 * math/w_log2l.c: Likewise.
5874 * math/w_pow.c: Likewise.
5875 * math/w_powf.c: Likewise.
5876 * math/w_powl.c: Likewise.
5877 * math/w_remainder.c: Likewise.
5878 * math/w_remainderf.c: Likewise.
5879 * math/w_remainderl.c: Likewise.
5880 * math/w_scalb.c: Likewise.
5881 * math/w_scalbf.c: Likewise.
5882 * math/w_scalbl.c: Likewise.
5883 * math/w_sqrt.c: Likewise.
5884 * math/w_sqrtf.c: Likewise.
5885 * math/w_sqrtl.c: Likewise.
5886 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5887 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5888 used.
5889 * math/math_private.h: Declare __kernel_standard_f.
5890 * math/w_cosh.c: Remove cruft and optimize a bit.
5891 * math/w_coshf.c: Likewise.
5892 * math/w_coshl.c: Likewise.
5893 * math/w_exp2.c: Likewise.
5894 * math/w_exp2f.c: Likewise.
5895 * math/w_exp2l.c: Likewise.
5896 * math/w_hypot.c: Likewise.
5897 * math/w_hypotf.c: Likewise.
5898 * math/w_hypotl.c: Likewise.
5899 * math/w_lgamma.c: Likewise.
5900 * math/w_lgamma_r.c: Likewise.
5901 * math/w_lgammaf.c: Likewise.
5902 * math/w_lgammaf_r.c: Likewise.
5903 * math/w_lgammal.c: Likewise.
5904 * math/w_lgammal_r.c: Likewise.
5905 * math/w_sinh.c: Likewise.
5906 * math/w_sinhf.c: Likewise.
5907 * math/w_sinhl.c: Likewise.
5908 * math/w_tgamma.c: Likewise.
5909 * math/w_tgammaf.c: Likewise.
5910 * math/w_tgammal.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5913 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5914 Minor optimizations. Pretty printing. Remove cruft.
5915 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5916 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5917 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5918 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5919 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5920 * sysdeps/i386/fpu/e_asin.S: Likewise.
5921 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5922 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5923 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5924 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5925 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5927 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5928 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5929 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5930 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5931 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5932 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5933 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5934 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5935 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5936 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5937 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5938 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5939 * sysdeps/i386/fpu/e_log.S: Likewise.
5940 * sysdeps/i386/fpu/e_log10.S: Likewise.
5941 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5942 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5943 * sysdeps/i386/fpu/e_log2.S: Likewise.
5944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5946 * sysdeps/i386/fpu/e_logf.S: Likewise.
5947 * sysdeps/i386/fpu/e_logl.S: Likewise.
5948 * sysdeps/i386/fpu/e_pow.S: Likewise.
5949 * sysdeps/i386/fpu/e_powf.S: Likewise.
5950 * sysdeps/i386/fpu/e_powl.S: Likewise.
5951 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5952 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5953 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5954 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5955 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5956 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5957 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5958 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5959 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5980 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5981 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5982 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5983 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5984 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5985 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5986 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5987 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5988 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5989 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5990 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5991 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5992 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5993 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5994 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5995 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5996 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5997 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5998 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5999 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6000 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6001 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6013 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6017 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6040 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6043 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6044 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6045 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6046 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6048 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6051 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6052 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6053 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6054 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6055 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6056 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6057 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6058 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6059 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6060 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6061 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6062 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6063 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6065 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6066 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6068 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6069 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6070 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6071 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6072 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6073 (__isnanf): Likewise.
6074 (__isinf_ns): Likewise.
6075 (__isinf_nsf): Likewise.
6076 (__finite): Likewise.
6077 (__finitef): Likewise.
6078 (__ieee754_sqrt): Define as macro.
6079 (__ieee754_sqrtf): Define as macro.
6080 (__ieee754_sqrtl): Define as macro.
6081 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6082 inlined copy.
6083 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6084 __FINITE_MATH_ONLY__ consistent.
6085 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6086
6087 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6088
6089 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6090 of rawmemchr.
6091
6092 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6093
6094 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6095
6096 * po/ja.po: Update from translation team.
6097
6098 2011-10-08 Roland McGrath <roland@hack.frob.com>
6099
6100 * locale/programs/locarchive.c (prepare_address_space): New function.
6101 (create_archive, enlarge_archive, open_archive): Use it.
6102
6103 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6104 inside [SHARED], where it is used.
6105
6106 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6107
6108 * nss/getent.c (netgroup_keys): Remove unused variable.
6109 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6110
6111 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6112
6113 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6114 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6116 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6117 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6118 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6119 * math/Makefile (libm-calls): Add s_isinf_ns.
6120 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6121 * math/multc3.c: Likewise.
6122 * math/s_casin.c: Likewise.
6123 * math/s_casinf.c: Likewise.
6124 * math/s_casinl.c: Likewise.
6125 * math/s_ccos.c: Likewise.
6126 * math/s_ccosf.c: Likewise.
6127 * math/s_ccosl.c: Likewise.
6128 * math/s_ctan.c: Likewise.
6129 * math/s_ctanf.c: Likewise.
6130 * math/s_ctanh.c: Likewise.
6131 * math/s_ctanhf.c: Likewise.
6132 * math/s_ctanhl.c: Likewise.
6133 * math/s_ctanl.c: Likewise.
6134 * math/w_fmod.c: Likewise.
6135 * math/w_fmodf.c: Likewise.
6136 * math/w_fmodl.c: Likewise.
6137 * math/w_remainder.c: Likewise.
6138 * math/w_remainderf.c: Likewise.
6139 * math/w_remainderl.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6141 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6144 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6145 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6146 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6147 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6148
6149 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6150 of the number.
6151 * stdio-common/printf_fphex.c: Likewise.
6152 * stdio-common/printf_size.c: Likewise.
6153
6154 * math/e_exp10.c: Include math_private.h using <...> not "...".
6155 * math/e_exp10f.c: Likewise.
6156 * math/e_exp10l.c: Likewise.
6157 * math/e_exp2l.c: Likewise.
6158 * math/e_j0l.c: Likewise.
6159 * math/e_j1l.c: Likewise.
6160 * math/e_jnl.c: Likewise.
6161 * math/e_lgammal_r.c: Likewise.
6162 * math/e_rem_pio2l.c: Likewise.
6163 * math/e_scalb.c: Likewise.
6164 * math/e_scalbf.c: Likewise.
6165 * math/e_scalbl.c: Likewise.
6166 * math/k_cosl.c: Likewise.
6167 * math/k_sinl.c: Likewise.
6168 * math/k_tanl.c: Likewise.
6169 * math/s_cacoshf.c: Likewise.
6170 * math/s_catan.c: Likewise.
6171 * math/s_catanf.c: Likewise.
6172 * math/s_catanh.c: Likewise.
6173 * math/s_catanhf.c: Likewise.
6174 * math/s_catanhl.c: Likewise.
6175 * math/s_catanl.c: Likewise.
6176 * math/s_ccosh.c: Likewise.
6177 * math/s_ccoshf.c: Likewise.
6178 * math/s_ccoshl.c: Likewise.
6179 * math/s_cexp.c: Likewise.
6180 * math/s_cexpf.c: Likewise.
6181 * math/s_cexpl.c: Likewise.
6182 * math/s_clog.c: Likewise.
6183 * math/s_clog10.c: Likewise.
6184 * math/s_clog10f.c: Likewise.
6185 * math/s_clog10l.c: Likewise.
6186 * math/s_clogf.c: Likewise.
6187 * math/s_clogl.c: Likewise.
6188 * math/s_csin.c: Likewise.
6189 * math/s_csinf.c: Likewise.
6190 * math/s_csinh.c: Likewise.
6191 * math/s_csinhf.c: Likewise.
6192 * math/s_csinhl.c: Likewise.
6193 * math/s_csinl.c: Likewise.
6194 * math/s_csqrt.c: Likewise.
6195 * math/s_csqrtf.c: Likewise.
6196 * math/s_csqrtl.c: Likewise.
6197 * math/s_ctan.c: Likewise.
6198 * math/s_ctanf.c: Likewise.
6199 * math/s_ctanh.c: Likewise.
6200 * math/s_ctanhf.c: Likewise.
6201 * math/s_ctanhl.c: Likewise.
6202 * math/s_ctanl.c: Likewise.
6203 * math/s_ldexp.c: Likewise.
6204 * math/s_ldexpf.c: Likewise.
6205 * math/s_ldexpl.c: Likewise.
6206 * math/s_significand.c: Likewise.
6207 * math/s_significandf.c: Likewise.
6208 * math/s_significandl.c: Likewise.
6209 * math/w_acos.c: Likewise.
6210 * math/w_acosf.c: Likewise.
6211 * math/w_acosh.c: Likewise.
6212 * math/w_acoshf.c: Likewise.
6213 * math/w_acoshl.c: Likewise.
6214 * math/w_acosl.c: Likewise.
6215 * math/w_asin.c: Likewise.
6216 * math/w_asinf.c: Likewise.
6217 * math/w_asinl.c: Likewise.
6218 * math/w_atan2.c: Likewise.
6219 * math/w_atan2f.c: Likewise.
6220 * math/w_atan2l.c: Likewise.
6221 * math/w_atanh.c: Likewise.
6222 * math/w_atanhf.c: Likewise.
6223 * math/w_atanhl.c: Likewise.
6224 * math/w_cosh.c: Likewise.
6225 * math/w_coshf.c: Likewise.
6226 * math/w_coshl.c: Likewise.
6227 * math/w_dremf.c: Likewise.
6228 * math/w_exp10.c: Likewise.
6229 * math/w_exp10f.c: Likewise.
6230 * math/w_exp10l.c: Likewise.
6231 * math/w_exp2.c: Likewise.
6232 * math/w_exp2f.c: Likewise.
6233 * math/w_fmod.c: Likewise.
6234 * math/w_fmodf.c: Likewise.
6235 * math/w_fmodl.c: Likewise.
6236 * math/w_hypot.c: Likewise.
6237 * math/w_hypotf.c: Likewise.
6238 * math/w_hypotl.c: Likewise.
6239 * math/w_j0.c: Likewise.
6240 * math/w_j0f.c: Likewise.
6241 * math/w_j0l.c: Likewise.
6242 * math/w_j1.c: Likewise.
6243 * math/w_j1f.c: Likewise.
6244 * math/w_j1l.c: Likewise.
6245 * math/w_jn.c: Likewise.
6246 * math/w_jnf.c: Likewise.
6247 * math/w_jnl.c: Likewise.
6248 * math/w_lgamma.c: Likewise.
6249 * math/w_lgamma_r.c: Likewise.
6250 * math/w_lgammaf.c: Likewise.
6251 * math/w_lgammaf_r.c: Likewise.
6252 * math/w_lgammal.c: Likewise.
6253 * math/w_lgammal_r.c: Likewise.
6254 * math/w_log.c: Likewise.
6255 * math/w_log10.c: Likewise.
6256 * math/w_log10f.c: Likewise.
6257 * math/w_log10l.c: Likewise.
6258 * math/w_log2.c: Likewise.
6259 * math/w_log2f.c: Likewise.
6260 * math/w_log2l.c: Likewise.
6261 * math/w_logf.c: Likewise.
6262 * math/w_logl.c: Likewise.
6263 * math/w_pow.c: Likewise.
6264 * math/w_powf.c: Likewise.
6265 * math/w_powl.c: Likewise.
6266 * math/w_remainder.c: Likewise.
6267 * math/w_remainderf.c: Likewise.
6268 * math/w_remainderl.c: Likewise.
6269 * math/w_scalb.c: Likewise.
6270 * math/w_scalbf.c: Likewise.
6271 * math/w_scalbl.c: Likewise.
6272 * math/w_sinh.c: Likewise.
6273 * math/w_sinhf.c: Likewise.
6274 * math/w_sinhl.c: Likewise.
6275 * math/w_sqrt.c: Likewise.
6276 * math/w_sqrtf.c: Likewise.
6277 * math/w_sqrtl.c: Likewise.
6278 * math/w_tgamma.c: Likewise.
6279 * math/w_tgammaf.c: Likewise.
6280 * math/w_tgammal.c: Likewise.
6281
6282 * po/ja.po: Update from translation team.
6283
6284 2011-09-29 Andreas Jaeger <aj@suse.de>
6285
6286 [BZ #13179]
6287 * sunrpc/netname.c (netname2host): Fix logic.
6288
6289 [BZ #6779]
6290 [BZ #6783]
6291 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6292 correctly.
6293 * math/w_remainder.c (__remainder): Likewise.
6294 * math/w_remainderf.c (__remainderf): Likewise.
6295 * math/libm-test.inc (remainder_test): Add test cases.
6296
6297 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6298
6299 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6300 sdiv_qrnnd.
6301
6302 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6303
6304 * string/test-memcmp.c: Avoid unncessary #defines.
6305 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6306
6307 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6308
6309 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6310 Use new sse2 version for core i3 - i7 as it's faster
6311 than sse42 version.
6312 (bit_Prefer_PMINUB_for_stringop): New.
6313 * sysdeps/x86_64/rawmemchr.S: Update.
6314 Replace with faster SSE2 version.
6315 * sysdeps/x86_64/memrchr.S: New file.
6316 * sysdeps/x86_64/memchr.S: Update.
6317 Replace with faster SSE2 version.
6318
6319 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6320
6321 * elf/dl-load.c (lose): Add cast to avoid warning.
6322
6323 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6324
6325 * po/ca.po: Update from translation team.
6326
6327 * inet/getnetgrent_r.c: Hook up nscd.
6328 * nscd/Makefile (routines): Add nscd_netgroup.
6329 (nscd-modules): Add netgroupcache.
6330 (CFLAGS-netgroupcache.c): Define.
6331 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6332 (cache_search): Add const to second parameter.
6333 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6334 INNETGR.
6335 (dbs): Add netgrdb entry.
6336 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6337 (verify_persistent_db): Handle netgrdb.
6338 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6339 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6340 GETFDNETGR.
6341 (netgroup_response_header): Define.
6342 (innetgroup_response_header): Define.
6343 (datahead): Add netgroup_response_header and innetgroup_response_header
6344 elements.
6345 * nscd/nscd.conf: Add entries for netgroup cache.
6346 * nscd/nscd.h (dbtype): Add netgrdb.
6347 (_PATH_NSCD_NETGROUP_DB): Define.
6348 (netgroup_iov_disabled): Declare.
6349 (xmalloc, xcalloc, xrealloc): Move declarations here.
6350 (cache_search): Adjust prototype.
6351 Add netgroup-related prototypes.
6352 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6353 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6354 (__nscd_innetgr): Declare.
6355 * nscd/selinux.c (perms): Use access_vector_t as element type and
6356 add netgroup-related initializers.
6357 * nscd/netgroupcache.c: New file.
6358 * nscd/nscd_netgroup.c: New file.
6359 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6360 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6361 For four parameters use innetgr.
6362 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6363 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6364 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6365 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6366
6367 * nscd/connections.c (register_traced_file): Don't register file
6368 for disabled databases.
6369
6370 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6371
6372 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6373
6374 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6375 from tree and freeing node.
6376
6377 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6378
6379 * nss/nsswitch.c (__nss_database_lookup): Handle
6380 nss_parse_service_list out of memory case.
6381
6382 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6383
6384 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6385 out of memory case.
6386
6387 2011-10-04 Andreas Schwab <schwab@redhat.com>
6388
6389 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6390 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6391 pass it down.
6392 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6393 elf_machine_rela, elf_machine_lazy_rel.
6394 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6395 (ELF_DYNAMIC_DO_REL): Likewise.
6396 (ELF_DYNAMIC_DO_RELA): Likewise.
6397 (ELF_DYNAMIC_RELOCATE): Likewise.
6398 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6399 to ELF_DYNAMIC_DO_REL.
6400 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6401 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6402 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6403 elf_machine_rela.
6404 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6405 skip_ifunc, don't call ifunc function if non-zero.
6406 (elf_machine_rela): Likewise.
6407 (elf_machine_lazy_rel): Likewise.
6408 (elf_machine_lazy_rela): Likewise.
6409 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6410 (elf_machine_lazy_rel): Likewise.
6411 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6412 Likewise.
6413 (elf_machine_lazy_rel): Likewise.
6414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6415 Likewise.
6416 (elf_machine_lazy_rel): Likewise.
6417 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6418 (elf_machine_lazy_rel): Likewise.
6419 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6420 (elf_machine_lazy_rel): Likewise.
6421 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6422 (elf_machine_lazy_rel): Likewise.
6423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6424 (elf_machine_lazy_rel): Likewise.
6425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6426 (elf_machine_lazy_rel): Likewise.
6427 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6428 (elf_machine_lazy_rel): Likewise.
6429
6430 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6431
6432 * nss/nss_files/files-init.c (_nss_files_init): Use static
6433 initialization for all the *_traced_file variables.
6434
6435 2011-09-28 Andreas Schwab <schwab@redhat.com>
6436
6437 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6438
6439 2011-09-27 Roland McGrath <roland@hack.frob.com>
6440
6441 [BZ #13226]
6442 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6443
6444 2011-09-27 Andreas Schwab <schwab@redhat.com>
6445
6446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6447 Reread the line before reparsing it.
6448
6449 2011-09-26 Andreas Schwab <schwab@redhat.com>
6450
6451 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6452
6453 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6454 Maxim Kuvyrkov <maxim@codesourcery.com>
6455 Joseph Myers <joseph@codesourcery.com>
6456
6457 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6458 if needed for __stack_chk_guard.
6459
6460 2011-09-19 Roland McGrath <roland@hack.frob.com>
6461
6462 * sysdeps/posix/spawni.c (script_execute): Always define it.
6463 It will be optimized away if unused.
6464 (maybe_script_execute): New function.
6465 (__spawni): Call it.
6466
6467 * Makerules: Don't include tls.make.
6468 (config-tls): Always set to thread.
6469 * tls.make.c: File removed.
6470
6471 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6472
6473 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6474 * config.make.in (CPPFLAGS-config): New substituted variable.
6475
6476 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6477
6478 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6479
6480 [BZ #13192]
6481 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6482 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6483
6484 2011-09-15 Roland McGrath <roland@hack.frob.com>
6485
6486 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6487 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6489 (CALL_FAIL): Likewise.
6490 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6491 (CALL_FAIL): Macro removed.
6492 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6493
6494 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6495
6496 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6497 for __FINITE_MATH_ONLY__ == 1.
6498
6499 2011-09-15 Andreas Schwab <schwab@redhat.com>
6500
6501 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6502 __ieee754_sqrt instead of sqrt.
6503 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6504 __ieee754_sqrtf instead of sqrtf.
6505 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6506 __floorf instead of floorf.
6507 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6508 __floorf, __truncf instead of floorf, truncf.
6509
6510 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6511
6512 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6513
6514 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6515 __extern_always_inline.
6516 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6517 32-bit.
6518
6519 2011-09-14 Andreas Schwab <schwab@redhat.com>
6520
6521 * elf/rtld.c (dl_main): Also relocate in dependency order when
6522 doing symbol dependency testing.
6523
6524 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6525
6526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6527 Always define `refsym'.
6528
6529 2011-09-13 Andreas Schwab <schwab@redhat.com>
6530
6531 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6532 (__FD_ELT): Renamed from __FDELT.
6533 * misc/bits/select2.h (__FD_ELT): Likewise.
6534 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6535 __FD_MASK instead of __FDELT, __FDMASK.
6536 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6537 Likewise.
6538 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6539 Likewise.
6540
6541 * elf/Makefile (gen-ldd): Fix pattern.
6542
6543 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6544 (init_tls): Likewise.
6545
6546 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6547
6548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6549
6550 2011-09-12 Andreas Schwab <schwab@redhat.com>
6551
6552 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6553 `struct cmsghdr *' instead of `void *'.
6554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6555 Likewise.
6556
6557 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6558
6559 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6560 if non-absolute.
6561 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6562 ldd_rewrite_script.
6563
6564 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6565
6566 * configure.in: Remove --with-tls option.
6567 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6568 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6569 out in case it is missing.
6570 * sysdeps/ia64/elf/configure.in: Likewise.
6571 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6572 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6573 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6574 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6575 * sysdeps/sh/elf/configure.in: Likewise.
6576 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6577 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6578 * sysdeps/x86_64/elf/configure.in: Likewise.
6579 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6580 * sysdeps/mach/hurd/tls.h: Likewise.
6581
6582 [BZ #13067]
6583 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6584
6585 [BZ #13090]
6586 * configure.in: Fix use of AC_INIT.
6587
6588 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6589
6590 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6591
6592 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6593 __set_errno.
6594 * malloc/hooks.c: Likewise.
6595
6596 [BZ #11929]
6597 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6598 variables statically.
6599 (narenas): Initialize.
6600 (list_lock): Initialize.
6601 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6602 initializtion of main_arena and list_lock. Small cleanups.
6603 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6604 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6605 Add initializers to main_arena and mp_.
6606 (malloc_state): Remove pagesize member. Change all users to use
6607 GLRO(dl_pagesize).
6608
6609 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6610 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6611 is always initialized.
6612
6613 * malloc/malloc.c: Removed unused configurations and dead code.
6614 * malloc/arena.c: Likewise.
6615 * malloc/hooks.c: Likewise.
6616 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6617
6618 * include/tls.h: Removed. USE___THREAD must always be defined.
6619 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6620 * elf/dl-libc.c: Likewise.
6621 * elf/dl-tsd.c: Likewise.
6622 * include/errno.h: Likewise.
6623 * include/netdb.h: Likewise.
6624 * include/resolv.h: Likewise.
6625 * inet/herrno-loc.c: Likewise.
6626 * inet/herrno.c: Likewise.
6627 * malloc/arena.c: Likewise.
6628 * malloc/hooks.c: Likewise.
6629 * malloc/malloc.c: Likewise.
6630 * resolv/res-state.c: Likewise.
6631 * resolv/res_libc.c: Likewise.
6632 * sysdeps/i386/dl-machine.h: Likewise.
6633 * sysdeps/ia64/dl-machine.h: Likewise.
6634 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6635 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6636 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6637 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6638 * sysdeps/sh/dl-machine.h: Likewise.
6639 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6640 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6641 * sysdeps/unix/i386/sysdep.S: Likewise.
6642 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6643 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6648 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6653 * sysdeps/x86_64/dl-machine.h: Likewise.
6654 * tls.make.c: Likewise.
6655
6656 * configure.in: Remove --with-__thread option. Make tests for
6657 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6658 tls_model attribute fail if no support is available. Remove
6659 USE_IN_LIBIO.
6660 * Makeconfig: Adjust for dropped configure option. All features are
6661 now mandatory.
6662 * Makerules: Likewise.
6663 * Versions.def: Likewise.
6664 * argp/argp-fmtstream.c: Likewise.
6665 * argp/argp-fmtstream.h: Likewise.
6666 * argp/argp-help.c: Likewise.
6667 * assert/assert.c: Likewise.
6668 * config.h.in: Likewise.
6669 * config.make.in: Likewise.
6670 * configure: Likewise.
6671 * configure.in: Likewise.
6672 * csu/Versions: Likewise.
6673 * csu/init.c: Likewise.
6674 * elf/tst-audit2.c: Likewise.
6675 * elf/tst-tls10.c: Likewise.
6676 * elf/tst-tls10.h: Likewise.
6677 * elf/tst-tls11.c: Likewise.
6678 * elf/tst-tls12.c: Likewise.
6679 * elf/tst-tls14.c: Likewise.
6680 * elf/tst-tlsmod11.c: Likewise.
6681 * elf/tst-tlsmod12.c: Likewise.
6682 * elf/tst-tlsmod13.c: Likewise.
6683 * elf/tst-tlsmod13a.c: Likewise.
6684 * elf/tst-tlsmod14a.c: Likewise.
6685 * elf/tst-tlsmod15b.c: Likewise.
6686 * elf/tst-tlsmod16a.c: Likewise.
6687 * elf/tst-tlsmod16b.c: Likewise.
6688 * elf/tst-tlsmod7.c: Likewise.
6689 * elf/tst-tlsmod8.c: Likewise.
6690 * elf/tst-tlsmod9.c: Likewise.
6691 * gmon/gmon.c: Likewise.
6692 * grp/fgetgrent_r.c: Likewise.
6693 * grp/putgrent.c: Likewise.
6694 * hurd/fopenport.c: Likewise.
6695 * include/libc-symbols.h: Likewise.
6696 * include/tls.h: Likewise.
6697 * intl/gettextP.h: Likewise.
6698 * intl/loadinfo.h: Likewise.
6699 * locale/global-locale.c: Likewise.
6700 * locale/localeinfo.h: Likewise.
6701 * mach/devstream.c: Likewise.
6702 * malloc/arena.c: Likewise.
6703 * malloc/set-freeres.c: Likewise.
6704 * misc/err.c: Likewise.
6705 * misc/getttyent.c: Likewise.
6706 * misc/mntent_r.c: Likewise.
6707 * posix/getopt.c: Likewise.
6708 * posix/wordexp.c: Likewise.
6709 * pwd/fgetpwent_r.c: Likewise.
6710 * resolv/Versions: Likewise.
6711 * resolv/res_hconf.c: Likewise.
6712 * shadow/fgetspent_r.c: Likewise.
6713 * shadow/putspent.c: Likewise.
6714 * stdio-common/printf_fphex.c: Likewise.
6715 * stdio-common/tmpfile.c: Likewise.
6716 * stdlib/abort.c: Likewise.
6717 * stdlib/fmtmsg.c: Likewise.
6718 * sunrpc/auth_unix.c: Likewise.
6719 * sunrpc/clnt_perr.c: Likewise.
6720 * sunrpc/clnt_tcp.c: Likewise.
6721 * sunrpc/clnt_udp.c: Likewise.
6722 * sunrpc/clnt_unix.c: Likewise.
6723 * sunrpc/openchild.c: Likewise.
6724 * sunrpc/svc_simple.c: Likewise.
6725 * sunrpc/svc_tcp.c: Likewise.
6726 * sunrpc/svc_udp.c: Likewise.
6727 * sunrpc/svc_unix.c: Likewise.
6728 * sunrpc/xdr.c: Likewise.
6729 * sunrpc/xdr_array.c: Likewise.
6730 * sunrpc/xdr_rec.c: Likewise.
6731 * sunrpc/xdr_ref.c: Likewise.
6732 * sunrpc/xdr_stdio.c: Likewise.
6733
6734 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6735
6736 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6737
6738 2011-07-03 Andreas Jaeger <aj@suse.de>
6739
6740 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6741 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6742 regenerate with gen-libm-tests.pl.
6743
6744 2010-05-12 Petr Baudis <pasky@suse.cz>
6745
6746 [BZ #11589]
6747 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6748 around j0() zero points by switching to j1().
6749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6753
6754 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6755
6756 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6757 instead of 0.
6758 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6759 instead of 0. .
6760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6761 Patch in part by Pavel Roskin <proski@gnu.org>.
6762
6763 [BZ #13138]
6764 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6765 realloc.
6766 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6767 Free memory block if necessary.
6768
6769 [BZ #12847]
6770 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6771 be NULL. Don't lock in this case.
6772
6773 2011-09-09 Roland McGrath <roland@hack.frob.com>
6774
6775 * elf/elf.h (ELFOSABI_GNU): New macro.
6776 (ELFOSABI_LINUX): Define to that.
6777
6778 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6779
6780 * string/strncat.c (strncat): Undef the symbol in case it has been
6781 defined in bits/string.h.
6782
6783 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6784
6785 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6786
6787 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6788 link map.
6789
6790 2011-08-17 Andreas Jaeger <aj@suse.de>
6791
6792 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6793
6794 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6795 Ian Lance Taylor <iant@google.com>
6796
6797 * math/libm-test.inc (lround_test): New testcase.
6798 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6799
6800 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6801
6802 * Makefile: Remove support for automatic cvs check-ins.
6803 * Makerules: Likewise.
6804 * config.make.in: Likewise.
6805 * configure.in: Likewise.
6806 * intl/Makefile: Likewise.
6807 * locale/Makefile: Likewise.
6808 * po/Makefile: Likewise.
6809 * posix/Makefile: Likewise.
6810 * sysdeps/gnu/Makefile: Likewise.
6811 * sysdeps/mach/hurd/Makefile: Likewise.
6812 * sysdeps/sparc/sparc32/Makefile: Likewise.
6813
6814 [BZ #13118]
6815 * posix/Makefile (bug-regex32-ENV): Define.
6816 Patch by John Stanley <jpsinthemix@verizon.net>.
6817
6818 * misc/Makefile (headers): Add bits/select2.h.
6819 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6820 * misc/bits/select2.h: New file.
6821 * include/bits/select2.h: New file.
6822 * debug/Makefile (routines): Add fdelt_chk.
6823 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6824 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6825 FD_ISSET.
6826 * debug/fdelt_chk.c: New file.
6827
6828 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6829 * wcsmbs/test-wmemcmp.c: Likewise.
6830 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6831 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6832
6833 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6834
6835 * string/Makefile (strop-tests): Add memcmp.
6836 * string/test-wmemcmp.c: New file.
6837 * string/test-memcmp.c: Add wmemcmp support.
6838
6839 2011-09-08 Roland McGrath <roland@hack.frob.com>
6840
6841 [BZ #13153]
6842 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6843 2011-07-19 change.
6844
6845 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6846 garbage value in a __mach_port_mod_refs call in the cases of the
6847 task-self and thread-self ports.
6848
6849 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6850
6851 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6852
6853 2011-09-08 Andreas Schwab <schwab@redhat.com>
6854
6855 * elf/dl-load.c (lose): Check for non-null L.
6856
6857 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6858
6859 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6860
6861 * elf/dl-libc.c (dlerror_run): Pass back error code from
6862 dl_catch_error.
6863
6864 [BZ #13123]
6865 * elf/dl-load.c (lose): Free l_origin if it is valid.
6866
6867 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6868 names.
6869 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6874 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6875
6876 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877
6878 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6879 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6881 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6882 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6883 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6884 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6885 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6886 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6887 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6888
6889 2011-08-15 Alan Modra <amodra@gmail.com>
6890
6891 [BZ #13092]
6892 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6893 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6894 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6895 ppc_mcount to static-only-routines.
6896 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6897 __mcount_internal.
6898 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6899 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6900
6901 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6902
6903 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6904 for finite and infinity parameters.
6905
6906 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6907
6908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6909 and add nop instructions for throughput optimization.
6910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6911
6912 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6913
6914 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6915 aligned copy for power7 with vector-scalar instructions.
6916 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6917
6918 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6919
6920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6921 AVX check.
6922
6923 2011-09-07 Andreas Schwab <schwab@redhat.com>
6924
6925 [BZ #13144]
6926 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6927 last change.
6928
6929 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6930
6931 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6932 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6933 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6934 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6935 clock_gettime.
6936
6937 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6938
6939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6940 Forgot to demangle the pointer.
6941
6942 * sysdeps/i386/sysdep.h: Define atom_text_section.
6943 * sysdeps/x86_64/sysdep.h: Likewise.
6944 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6945 section with atom_text_section.
6946 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6947 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6948 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6951
6952 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6953 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6954 already be defined. Change to take two parameters and don't assign
6955 result to variable. Adjust all users.
6956 Define INTERNAL_GETTIME if not already defined.
6957 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6958 call.
6959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6960 HAVE_CLOCK_GETTIME_VSYSCALL.
6961 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6962
6963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6964 gettimeofday vsyscall, just use time.
6965
6966 2011-09-06 Andreas Schwab <schwab@redhat.com>
6967
6968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6969 <errno.h>.
6970
6971 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6972
6973 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6974 syscall on x86-64.
6975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6976 syscall.
6977 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6979 syscall if possible.
6980
6981 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6982
6983 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6984 e_ident. Don't pass to find_mapsXX.
6985 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6986
6987 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6988
6989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6990 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6991 * sysdeps/x86_64/multiarch/strchr.S: Update.
6992 Check bit_slow_BSF bit.
6993 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6994 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6995 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6996
6997 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6998
6999 [BZ #13134]
7000 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7001 before glibc 2.15.
7002 (tryshell): Define.
7003 (__spawni): Change last parameter to be flag. Test
7004 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7005 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7006 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7007 * posix/spawni.c: Likewise.
7008 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7009 * posix/spawnp.c: Likewise. Change normal version to use
7010 SPAWN_XFLAGS_USE_PATH.
7011 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7012 SPAWN_XFLAGS_TRY_SHELL.
7013
7014 [BZ #13150]
7015 * posix/glob.h: Remove gcc 1.x support.
7016
7017 [BZ #13068]
7018 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7019
7020 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7021
7022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7023 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7024 strrchr-sse2-bsf
7025 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7026 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7027 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7028 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7029 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7030 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7031
7032 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7033
7034 * sysdeps/x86_64/wcscmp.S: New file.
7035
7036 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7037 wcscmp-c wcscmp-sse2
7038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7039 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7040 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7041 * wcsmbs/wcscmp.c: Allow renaming.
7042
7043 2011-09-05 David S. Miller <davem@davemloft.net>
7044
7045 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7046 stack slot, rather than the struct return pointer slot.
7047 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7048 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7050 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7051
7052 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7053
7054 * po/ja.po: Update from translation team.
7055
7056 [BZ #13144]
7057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7058 kernel in 64-bit binaries.
7059
7060 2011-09-01 David S. Miller <davem@davemloft.net>
7061
7062 * elf/elf.h (HWCAP_SPARC_*): Move to..
7063 * sysdeps/sparc/sysdep.h: this new file and add new values.
7064 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7065 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7066 _DL_HWCAP_COUNT to 24.
7067 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7068 entries.
7069 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7070 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7071 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7073 instead of magic constants.
7074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7075
7076 2011-08-31 David S. Miller <davem@davemloft.net>
7077
7078 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7080 Reimplement to do errno handling inline.
7081 (SYSCALL_ERROR_HANDLER): New macro.
7082 (__SYSCALL_STRING): Do not do errno handling in asm.
7083 (__CLONE_SYSCALL_STRING): Delete.
7084 (__INTERNAL_SYSCALL_STRING): Delete.
7085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7086 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7087 (PSEUDO): Reimplement to do errno handling inline.
7088 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7089 (SYSCALL_ERROR_HANDLER): New macro.
7090 (__SYSCALL_STRING): Do not do errno handling in asm.
7091 (__CLONE_SYSCALL_STRING): Delete.
7092 (__INTERNAL_SYSCALL_STRING): Delete.
7093 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7094 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7095 i386.
7096 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7097 (inline_syscall*): Add 'err' argument.
7098 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7099 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7100 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7101 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7102
7103 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7104 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7105
7106 2011-08-30 Andreas Schwab <schwab@redhat.com>
7107
7108 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7109
7110 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7111
7112 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7113 directive.
7114
7115 2011-08-24 David S. Miller <davem@davemloft.net>
7116
7117 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7118
7119 2011-08-24 Andreas Schwab <schwab@redhat.com>
7120
7121 * elf/Makefile: Add rules to build and run unload8 test.
7122 * elf/unload8.c: New file.
7123 * elf/unload8mod1.c: New file.
7124 * elf/unload8mod1x.c: New file.
7125 * elf/unload8mod2.c: New file.
7126 * elf/unload8mod3.c: New file.
7127
7128 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7129 it wasn't used.
7130
7131 2011-08-23 David S. Miller <davem@davemloft.net>
7132
7133 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7134 subtract stack bias.
7135 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7136 %sp not %fp in calculations.
7137 (_JMPBUF_UNWINDS_ADJ): Likewise.
7138
7139 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7140 (aio_suspend): Call it to force an exception region around the
7141 AIO_MISC_WAIT() invocation.
7142
7143 2011-08-23 Andreas Schwab <schwab@redhat.com>
7144
7145 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7146 backslash.
7147
7148 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7149
7150 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7151 protection macro.
7152 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7153 and <dl-machine.h>.
7154 (Elf64_FuncDesc): Remove.
7155
7156 2011-08-22 David S. Miller <davem@davemloft.net>
7157
7158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7159 sigaltstack check, add missing cfi directives.
7160 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7161 missing cfi directives, and sigaltstack handling.
7162
7163 2011-08-16 Andreas Schwab <schwab@redhat.com>
7164
7165 [BZ #11724]
7166 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7167 object is seen twice.
7168 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7169
7170 * elf/Makefile (distribute): Add tst-initorder2.c.
7171 (tests): Add tst-initorder2.
7172 (modules-names): Add tst-initorder2a tst-initorder2b
7173 tst-initorder2c tst-initorder2d. Add rules to build them.
7174 ($(objpfx)tst-initorder2.out): New rule.
7175 * elf/tst-initorder2.c: New file.
7176 * elf/tst-initorder2.exp: New file.
7177
7178 2011-08-22 Andreas Schwab <schwab@redhat.com>
7179
7180 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7181
7182 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7183 dependencies back to end of function.
7184
7185 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7186 $(elfobjdir)/ld.so.
7187
7188 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7189
7190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7191 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7193 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7194 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7195 of __vdso_gettimeofday.
7196 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7197 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7198 attribute_hidden.
7199 (_libc_vdso_platform_setup): Remove initialization of
7200 __vdso_gettimeofday and __vdso_time.
7201
7202 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7203
7204 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7205 and fgetc_unlocked.
7206 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7207 getc_unlocked.
7208
7209 * elf/dl-open.c (add_to_global): Report additions to the global scope
7210 for LD_DEBUG=scopes.
7211 (dl_open_worker): Also print scope of newly loaded dependencies.
7212 (_dl_show_scope): Indicate if there is no scope.
7213
7214 [BZ #13114]
7215 * stdio-common/Makefile (tests): Add bug24.
7216 * stdio-common/bug24.c: New file.
7217
7218 2011-08-19 Andreas Jaeger <aj@suse.de>
7219
7220 [BZ #13114]
7221 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7222 non-existant file when using close-on-exec mode.
7223
7224 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7225
7226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7227 the very first instruction.
7228
7229 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7230 the CFI state in the end.
7231 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7232 inclusion of dl-trampoline.h.
7233 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7234
7235 2011-08-19 Andreas Schwab <schwab@redhat.com>
7236
7237 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7238 expectations for long double.
7239
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7241 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7242
7243 2011-08-14 David S. Miller <davem@davemloft.net>
7244
7245 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7246 artificual limit depends upon the system page size.
7247
7248 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7249
7250 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7251 * resolv/Makefile: Define CFLAGS-libresolv.
7252
7253 2011-08-17 Andreas Schwab <schwab@redhat.com>
7254
7255 * nss/makedb.c (compute_tables): Make variables used in nested
7256 function static.
7257
7258 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7259
7260 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7261 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7262 if buffer was too small.
7263
7264 * elf/pldd.c (main): Attach to all threads in the process.
7265 Rewrite /proc handling to use *at functions.
7266
7267 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7268
7269 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7270 specifies first scope to show.
7271 (dl_open_worker): Update callers. Move printing scope of new
7272 object to before the relocation.
7273 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7274 * sysdeps/generic/ldsodefs.h: Update declaration.
7275
7276 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7277 string for the scope number.
7278
7279 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7280
7281 * nscd/servicescache.c (cache_addserv): Make sure written is always
7282 initialized.
7283
7284 2011-08-14 Roland McGrath <roland@hack.frob.com>
7285
7286 * sysdeps/i386/i486/bits/atomic.h
7287 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7288 statement expression, so as to suppress "set but not used" warning.
7289 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7290
7291 * string/strncat.c (STRNCAT): Use prototype definition.
7292
7293 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7294 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7295 -Iprograms here.
7296 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7297 (localedef-modules): Add localedef.
7298 (locale-modules): Add locale.
7299
7300 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7301 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7302 to avoid a warning.
7303
7304 2011-08-14 David S. Miller <davem@davemloft.net>
7305
7306 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7307 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7308
7309 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7310
7311 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7312 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7313 * elf/rtld.c (dl_main): Set l_name of vDSO.
7314 Call _dl_show_scope when DL_DEBUG_SCOPES.
7315 (process_dl_debug): Recognize scopes flag and also set it for all.
7316 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7317 Declare _dl_show_scope.
7318
7319 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7320 (do_dlopen): Pass caller_dlopen to dl_open.
7321 (__libc_dlopen_mode): Initialize caller_dlopen.
7322
7323 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7324 of libc. Make tolower call locale-independent. Optimize a bit by
7325 using isdigit instead of isalnum.
7326 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7327
7328 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7329
7330 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7331 was a dependency or dynamically loaded.
7332
7333 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7334
7335 * intl/l10nflist.c: Allow architecture-specific pop function.
7336 * sysdeps/x86_64/l10nflist.c: New file.
7337
7338 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7339 classification.
7340
7341 2011-08-10 Andreas Schwab <schwab@redhat.com>
7342
7343 * include/dirent.h: Add libc_hidden_proto for scandirat and
7344 scandirat64. Don't declare __scandirat64.
7345 * dirent/scandirat.c: Add libc_hidden_def.
7346 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7347 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7348
7349 2011-08-10 David S. Miller <davem@davemloft.net>
7350
7351 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7352 enum.
7353 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7356
7357 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7358
7359 * Versions.def [libc]: Add GLIBC_2.15.
7360 * dirent/Makefile (routines): Add scandirat and scandirat64.
7361 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7362 GLIBC_2.15.
7363 * dirent/dirent.h: Declare scandirat and scandirat64.
7364 * dirent/scandirat.c: New file.
7365 * dirent/scandirat64.c: New file.
7366 * sysdeps/wordsize-64/scandirat.c: New file.
7367 * sysdeps/wordsize-64/scandirat64.c: New file.
7368 * dirent/opendir.c: Define opendirat.
7369 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7370 using scandirat.
7371 * dirent/scandir64.c: Adjust for scandir.c change.
7372 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7373 __scandirat64, and __scandir_cancel_handler.
7374 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7375 additional parameter and use openat instead of open (outside of ld.so).
7376 Add new __opendir as wrapper around __opendirat.
7377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7378 here without requiring old scandirat implementation.
7379
7380 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7381
7382 * dirent/scandir.c (cancel_handler): Renamed to
7383 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7384 defined. Adjust users.
7385 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7386 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7387
7388 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7389
7390 * string/test-string.h (IMPL): Use __STRING to expand name and then
7391 stringify it.
7392
7393 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7394 of cleanups.
7395
7396 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7397
7398 * string/Makefile: Update.
7399 (strop-tests): Append strncat.
7400 * string/test-wcscmp.c: New file.
7401 New comprehensive test for wcscmp.
7402 * string/test-strcmp.c: Update.
7403 (WIDE): New define.
7404
7405 2011-07-22 Andreas Schwab <schwab@redhat.com>
7406
7407 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7408 line.
7409
7410 2011-07-26 Andreas Schwab <schwab@redhat.com>
7411
7412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7413 encoding to ACE if AI_IDN.
7414
7415 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7416
7417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7418 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7419
7420 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7421
7422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7423 Fix overflow bug in strncat.
7424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7425
7426 * string/test-strncat.c: Update.
7427 Add new tests for checking overflow bugs.
7428
7429 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7430
7431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7432 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7433 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7434 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7435 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7436 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7437 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7438 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7439 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7440
7441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7442 (USE_AS_STRCAT): Define.
7443 Add strcat and strncat support.
7444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7445
7446 2011-07-25 Andreas Schwab <schwab@redhat.com>
7447
7448 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7449 __n bigger than INT_MAX+1.
7450 (__strncmp_g): Likewise.
7451
7452 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7453
7454 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7455 * libio/stido.h: Likewise.
7456
7457 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7458 (AF_NFC): Define.
7459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7460 (AF_NFC): Define.
7461
7462 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7465 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7467
7468 [BZ #13021]
7469 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7470 installed.
7471
7472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7473 typo.
7474 (_dl_x86_64_save_sse): Likewise.
7475
7476 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7477
7478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7479 OSXSAVE.
7480 (_dl_x86_64_save_sse): Likewise.
7481
7482 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7483
7484 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7485
7486 2011-07-21 Andreas Schwab <schwab@redhat.com>
7487
7488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7489 change.
7490 (_dl_x86_64_save_sse): Use correct AVX check.
7491
7492 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7493
7494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7495 bug in strncpy/strncat.
7496 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7497
7498 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7499
7500 * string/tester.c (test_strcat): Add tests for different alignments
7501 of source and destination.
7502 (test_strncat): Likewise.
7503
7504 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7505
7506 [BZ #12852]
7507 * posix/glob.c (glob): Check passed in values before using them in
7508 expressions to avoid some overflows.
7509 (glob_in_dir): Likewise.
7510
7511 [BZ #13007]
7512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7513 check for AVX enablement so that we don't crash with old kernels and
7514 new hardware.
7515 * elf/tst-audit4.c: Add same checks here.
7516 * elf/tst-audit6.c: Likewise.
7517
7518 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7519
7520 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7521
7522 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7523
7524 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7525
7526 * po/cs.po: Update from translation team.
7527 * po/bg.po: Likewise.
7528
7529 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7530
7531 * misc/sys/cdefs.h: Add support for const attribute.
7532 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7533 to gnu_dev_{major,minor,makedev} functions.
7534
7535 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7536
7537 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7538
7539 2011-07-20 Andreas Schwab <schwab@redhat.com>
7540
7541 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7542 strlen results.
7543
7544 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7545
7546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7547 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7548 register in order to avoid conflicts with the soft frame pointer
7549 being held in r11 when necessary.
7550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7551 (INTERNAL_VSYSCALL_NCS): Likewise.
7552
7553 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7554
7555 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7556 * elf/dl-fini.c (_dl_fini): Adjust caller.
7557 * elf/dl-close.c (_dl_close_worker): Likewise.
7558 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7559
7560 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7561
7562 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7563 "aux_cache->nlibs < 0".
7564
7565 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7566 in the reload-count case.
7567
7568 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7569
7570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7571 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7572 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7573 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7574 * sysdeps/x86_64/multiarch/strcat.S: New file.
7575 * sysdeps/x86_64/multiarch/strncat.S: New file.
7576 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7577 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7578 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7579 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7581 (USE_AS_STRCAT): Define.
7582 Add strcat and strncat support.
7583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7585 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7586 * string/strncat.c: Update.
7587 (USE_AS_STRNCAT): Define.
7588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7589 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7590 and i7.
7591 * sysdeps/x86_64/multiarch/init-arch.h
7592 (bit_Prefer_PMINUB_for_stringop): New.
7593 (index_Prefer_PMINUB_for_stringop): Likewise.
7594 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7595 bit_Prefer_PMINUB_for_stringop.
7596
7597 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7598
7599 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7600 buffer64.
7601 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7602 of casting of buffer.
7603 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7604 buffer32 and buffer64.
7605 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7606 writes instead of casting of buffer.
7607 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7608 buffer32.
7609 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7610 casting of buffer.
7611
7612 2011-07-19 Andreas Schwab <schwab@redhat.com>
7613
7614 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7615
7616 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7617
7618 * nscd/nscd.c (termination_handler): Don't do anything for a database
7619 if it has not yet been initialized.
7620
7621 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7622
7623 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7624
7625 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7626
7627 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7628
7629 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7630
7631 * po/nl.po: Update from translation team.
7632 * po/sv.po: Likewise.
7633
7634 2011-07-16 Roland McGrath <roland@hack.frob.com>
7635
7636 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7637 now disallowed by GCC.
7638
7639 * configure.in (use-default-link): Default to yes if a test -shared
7640 link meets our qualifications.
7641 * configure: Regenerated.
7642
7643 * config.make.in (output-format): New variable.
7644 * configure.in: Check for ld --print-output-format support.
7645 * configure: Regenerated.
7646 * Makerules ($(common-objpfx)format.lds)
7647 [$(output-format) != unknown]: Just use $(output-format),
7648 instead of the linker-script munging.
7649
7650 2011-07-14 Roland McGrath <roland@hack.frob.com>
7651
7652 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7653 of $(common-objpfx)shlib.lds.
7654 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7655
7656 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7657 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7658
7659 * configure.in (-z relro check): Adjust test code to add a large
7660 writable data section after it.
7661 * configure: Regenerated.
7662
7663 2011-07-11 Roland McGrath <roland@hack.frob.com>
7664
7665 * configure.in (-z relro check): Fix test code to make the variable
7666 truly const.
7667 * configure: Regenerated.
7668
7669 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7670
7671 * nscd/nscd.h (struct traced_file): Define.
7672 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7673 elements. Add traced_files.
7674 (inotify_fd): Declare.
7675 (register_traced_file): Declare.
7676 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7677 (inotify_fd): Export.
7678 (resolv_conf_descr): Remove.
7679 (nscd_init): Move inotify descriptor creation to main.
7680 Don't register files for notification here.
7681 (register_traced_file): New function.
7682 (invalidate_cache): Don't use reset_res to determine whether to call
7683 res_init, go through the list of registered files.
7684 (main_loop_poll): The inotify descriptors are now stored in the
7685 structures for the traced files.
7686 (main_loop_epoll): Likewise
7687 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7688 to __nss_disable_nscd.
7689 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7690 for a database anymore. Check the records for all the registered
7691 files instead.
7692 * nss/Makefile (libnss_files-routines): Add files-init.
7693 (libnss_db-routines): Add db-init.
7694 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7695 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7696 * nss/nss_db/db-init.c: New file.
7697 * nss/nss_files/files-init.c: New file.
7698 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7699 __nss_lookup_function.
7700 (__nss_lookup_function): Call nss_load_library.
7701 (nss_load_all_libraries): New function.
7702 (__nss_disable_nscd): Take parameter with callback function for files
7703 to register. Set is_nscd. Load all the DSOs for the NSS modules
7704 used for the cached services.
7705 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7706 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7707 options for features to all the files in nscd.
7708
7709 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7710
7711 2011-07-10 Roland McGrath <roland@hack.frob.com>
7712
7713 * csu/elf-init.c (__libc_csu_init): Comment typo.
7714
7715 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7716
7717 * po/pl.po: Update from translation team.
7718 * po/ja.po: Likewise.
7719 * po/ru.po: Likewise.
7720 * po/ko.po: Likewise.
7721 * po/fr.po: Likewise.
7722
7723 2011-07-09 Roland McGrath <roland@hack.frob.com>
7724
7725 * configure.in (.ctors/.dtors header and trailer check):
7726 Use an empirical test on a built program.
7727 * configure: Regenerated.
7728
7729 * configure.in (-z relro check): Use an empirical test on a built DSO.
7730 Detect, but do not require, on ia64.
7731 * configure: Regenerated.
7732
7733 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7734 Update tests that use readelf to use $READELF instead.
7735 * configure: Regenerated.
7736
7737 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7738
7739 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7740 if the result is not used.
7741
7742 2011-07-05 Andreas Jaeger <aj@suse.de>
7743
7744 [BZ#9696]
7745 * stdlib/tst-strtod.c: Add testcase.
7746
7747 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7748
7749 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7750 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7751 The latter has a higher limit. Take additional parameter to pass to
7752 the new function.
7753 (__pathconf): Pass file to __statfs_link_max.
7754 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7755 __statfs_link_max.
7756 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7757 __statfs_link_max.
7758
7759 [BZ #12868]
7760 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7762 Handle Lustre.
7763 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7764 (__statfs_filesize_max): Likewise.
7765 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7766
7767 2011-07-05 Andreas Jaeger <aj@suse.de>
7768
7769 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7770
7771 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7772
7773 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7774 `status' variable.
7775 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7776 Likewise.
7777
7778 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7779
7780 * Makefile (strop-tests): Add strncat.
7781 * string/test-strncat.c: New file.
7782
7783 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7784
7785 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7786
7787 2011-06-21 Andreas Jaeger <aj@suse.de>
7788
7789 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7790 Copy rule from iconvdata/Makefile.
7791
7792 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7793
7794 [BZ #12922]
7795 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7796 but no long options are defined, just return 'W'.
7797
7798 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7799
7800 [BZ #9696]
7801 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7802
7803 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7804
7805 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7806 netgroups to read.
7807 (innetgr): Likewise.
7808
7809 2011-07-05 Roland McGrath <roland@hack.frob.com>
7810
7811 * config.make.in (install_root): Default to $(DESTDIR).
7812
7813 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7814
7815 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7816
7817 2011-07-02 Roland McGrath <roland@hack.frob.com>
7818
7819 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7820
7821 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7822 containing directory rather than embedding absolute directory names.
7823
7824 * scripts/check-local-headers.sh: Rewritten using awk.
7825 Match by word, not by line. Print error messages for matches.
7826 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7827
7828 * Makerules [shlib-lds-flags empty]:
7829 ($(common-objpfx)libc_pic.opts): New target.
7830 ($(common-objpfx)libc_pic.os.clean): New target.
7831 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7832
7833 * config.make.in (OBJCOPY): New variable.
7834 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7835 * configure: Regenerated.
7836
7837 * config.make.in (use-default-link): New variable.
7838 * configure.in (use_default_link): Grok --with-default-link to set it.
7839 * configure: Regenerated.
7840 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7841 (shlib-lds, shlib-lds-flags): Define to empty.
7842
7843 * Makerules (shlib-lds): New variable.
7844 (shlib-lds-flags): New variable.
7845 (build-shlib, build-moduile, build-module-asneeded): Use it.
7846 ($(common-objpfx)libc.so): Use $(shlib-lds).
7847 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7848 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7849
7850 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7851 DT_FLAGS/DT_FLAGS_1 with zero flags.
7852
7853 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7854 linker script munging.
7855
7856 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7857
7858 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7859 as 128-bit value.
7860 * crypt/sha512.c (sha512_process_block): Perform total addition using
7861 128-bit if possible.
7862 (__sha512_finish_ctx): Likewise.
7863 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7864 as 64-bit value.
7865 * crypt/sha256.c (SWAP64): Define.
7866 (sha256_process_block): Perform total addition using 64-bit if
7867 possible.
7868 (__sha256_finish_ctx): Likewise.
7869
7870 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7871
7872 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7874 * nscd/hstcache.c (cache_addhst): Likewise.
7875 * nscd/grpcache.c (cache_addgr): Likewise.
7876 * nscd/aicache.c (addhstaiX): Likewise
7877 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7878
7879 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7880
7881 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7883 * nscd/hstcache.c (cache_addhst): Likewise.
7884 * nscd/grpcache.c (cache_addgr): Likewise.
7885 * nscd/aicache.c (addhstaiX): Likewise
7886
7887 2011-07-01 Andreas Schwab <schwab@redhat.com>
7888
7889 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7890 domain only when needed.
7891
7892 2011-06-30 Andreas Schwab <schwab@redhat.com>
7893
7894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7895 is always restored.
7896
7897 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7898
7899 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7900 are re-adding the entry.
7901 * nscd/servicescache.c (cache_addserv): Likewise.
7902
7903 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7904
7905 * sysdeps/generic/dl-irel.h: fix protection against multiple
7906 inclusions.
7907 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7908
7909 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7910
7911 [BZ #12935]
7912 * malloc/memusage.sh: Fix quoting in message.
7913 * debug/xtrace.sh: Likewise.
7914
7915 * configure.in: Remove support for --experimental-malloc option, make
7916 it the default.
7917 * config.make.in: Likewise.
7918 * malloc/Makefile: Likewise.
7919
7920 2011-06-27 Andreas Schwab <schwab@redhat.com>
7921
7922 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7923 two-byte characters.
7924
7925 2011-06-27 Roland McGrath <roland@hack.frob.com>
7926
7927 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7928 AC_CACHE_CHECK invocation.
7929 * configure: Regenerated.
7930
7931 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7932
7933 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7934
7935 [BZ #12350]
7936 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7937 bit from old_res_options.
7938
7939 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7940
7941 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7942 value type for setfct.
7943
7944 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7945
7946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7947 __gettimeofday instead of gettimeofday.
7948
7949 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7950
7951 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7952
7953 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7954
7955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7956
7957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7958 info.
7959
7960 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7961
7962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7963 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7964 strcpy-sse2-unaligned strncpy-sse2-unaligned
7965 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7966 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7967 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7968 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7969 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7971 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7972 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7973 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7974 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7975 (STRCPY): Support SSE2 and SSSE3 versions.
7976
7977 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7978
7979 [BZ #12874]
7980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7981 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7982 kernels which artificially limit size of requests.
7983
7984 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7985
7986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7987 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7988 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7989 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7990 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7991 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7992 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7993 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7996 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7997 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7998 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7999 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8000 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8002 Enable unaligned load optimization for Intel Core i3, i5 and i7
8003 processors.
8004 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8005 Define.
8006 (index_Fast_Unaligned_Load): Define.
8007 (HAS_FAST_UNALIGNED_LOAD): Define.
8008
8009 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8010
8011 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8012
8013 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8014
8015 [BZ #12907]
8016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8017 until it is clear that the information is realy needed.
8018 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8019
8020 2011-06-22 Andreas Schwab <schwab@redhat.com>
8021
8022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8023
8024 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8025
8026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8027 /sys/devices/system/cpu/online if it is usable.
8028
8029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8030 reading the information from the /proc filesystem to once a second.
8031
8032 2011-06-21 Andreas Jaeger <aj@suse.de>
8033
8034 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8035 NULL after inclusion of kernel headers.
8036
8037 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8038
8039 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8040 calls to internal_setent.
8041
8042 [BZ #12885]
8043 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8044 addresses using gethostbyname4_r ignore IPv4 addresses.
8045
8046 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8047 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8048
8049 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8050
8051 2011-06-20 David S. Miller <davem@davemloft.net>
8052
8053 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8054 inclusions.
8055 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8056
8057 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8058 (elf_irel): Use it.
8059 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8060 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8061 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8062 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8063 * sysdeps/x86_64/dl-irel.h: Likewise.
8064
8065 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8066 * elf/dl-sym.c: Likewise.
8067
8068 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8069
8070 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8071 need to dereference resplen2.
8072
8073 2011-06-14 Andreas Schwab <schwab@redhat.com>
8074
8075 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8076
8077 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8078
8079 * Makeconfig: Define vardbdir and inst_vardbdir.
8080 * nss/Makefile: Add rules to install db-Makefile.
8081
8082 * nss/nss_db/db-XXX.c: Cleanup.
8083
8084 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8085 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8086 GLIBC_PRIVATE.
8087 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8088 * nss/makedb.c: Implement -g option to specify that value strings
8089 are generated and should not be added to table iterated over for
8090 get*ent calls.
8091 * nss/nss_db/db-initgroups.c: New file.
8092
8093 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8094 interface.
8095
8096 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8097 (internal_getgrouplist): Adjust to name change.
8098 Update use_initgroups_entry if this is not the first call.
8099 * nss/databases.def: Add initgroups entry.
8100
8101 * nss/makedb.c (compute_tables): Check result of multiple hash table
8102 sizes to minimize maximum chain length.
8103
8104 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8105
8106 * Versions.def: Add entry for libnss_db.
8107 * shlib-versions: Likewise.
8108 * nss/Makefile: Add rules to build libnss_db.
8109 * nss/Versions: Add libnss_db information. Organize libnss_files
8110 entries better.
8111 * nss/db-Makefile: Add gshadow support. Change rules for the new
8112 makedb progra. Some minor improvements to generate smaller files.
8113 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8114 here from...
8115 * nss/makedb.c: ...here.
8116 Improve database format to be smaller and require less memory at
8117 runtime.
8118 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8119 db anymore.
8120 * nss/nss_db/db-netgrp.c: Likewise.
8121 * nss/nss_db/db-open.c: Likewise.
8122 * nss/nss_files/flies-XXX.x: Adjust comments.
8123 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8124 * nss/nss_files/files-grp.c: Likewise.
8125 * nss/nss_files/files-hosts.c: Likewise.
8126 * nss/nss_files/files-network.c: Likewise.
8127 * nss/nss_files/files-proto.c: Likewise.
8128 * nss/nss_files/files-pwd.c: Likewise.
8129 * nss/nss_files/files-rpc.c: Likewise.
8130 * nss/nss_files/files-service.c: Likewise.
8131 * nss/nss_files/files-sgrp.c: Likewise.
8132 * nss/nss_files/files-spwd.c: Likewise.
8133 * nss/nss_db/db-alias.c: Removed.
8134 * nss/nss_db/dummy-db.h: Removed.
8135
8136 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8137
8138 * nss/makedb.c: Rewritten to not use database library.
8139 * nss/Makefile: Update to build new makedb program.
8140
8141 2011-06-14 Andreas Jaeger <aj@suse.de>
8142
8143 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8144 memset declaration.
8145
8146 2011-06-10 Andreas Schwab <schwab@redhat.com>
8147
8148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8149 tmpbuf.
8150
8151 2011-06-10 Roland McGrath <roland@hack.frob.com>
8152
8153 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8154 * elf/Makefile ($(objpfx)ld.so): Likewise.
8155
8156 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8157 Don't list ld.so twice in dependencies.
8158
8159 * posix/bug-regex31.c: Include <stdlib.h>.
8160
8161 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8162
8163 * nis/nss_compat/compat-spwd.c
8164 (getspent_next_nss_netgr): Remove unused variable.
8165 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8166
8167 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8168 nonmembers" output to use the right array.
8169
8170 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8171
8172 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8173
8174 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8175 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8176 * catgets/gencat.c (read_input_file): Likewise.
8177 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8178
8179 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8180 variable definition inside #if's controlling its use.
8181
8182 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8183
8184 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8185
8186 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8187
8188 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8189 unreachable code.
8190
8191 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8192
8193 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8194 * configure: Regenerated.
8195
8196 * Makerules: Revert last change.
8197 * elf/Makefile: Likewise.
8198
8199 2011-06-09 Roland McGrath <roland@hack.frob.com>
8200
8201 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8202 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8203 (reloc-link): Likewise.
8204
8205 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8206
8207 * elf/Makefile: Add rules to build pldd.
8208 * elf/pldd.c: New file.
8209 * elf/pldd-xx.c: New file.
8210
8211 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8212
8213 * version.h: Update for 2.15 development version.
8214
8215 2011-06-07 David S. Miller <davem@davemloft.net>
8216
8217 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8218 ifuncs.
8219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8220 elf_machine_lazy_rel): Likewise.
8221 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8223 elf_machine_lazy_rel): Likewise.
8224 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8225 dl_hwcap via passed in argument.
8226 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8227 Likewise.
8228
8229 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8230
8231 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8232
8233 2011-06-06 Roland McGrath <roland@hack.frob.com>
8234
8235 [BZ #12849]
8236 * manual/fdl-1.1.texi: New file, verbatim from:
8237 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8238 * manual/lgpl-2.1.texi: New file, verbatim from:
8239 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8240 * manual/Makefile (licenses): New variable, list those new file names.
8241 (texis): Use it.
8242 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8243
8244 * manual/fdl.texi: File removed.
8245 * manual/lesser.texi: File removed.
8246 * manual/libc.texinfo (Copying, Documentation License):
8247 Use new @include file names, put @appendix directive before @include.
8248
8249 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8250
8251 [BZ #12841]
8252 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8253 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8254 (mq_open): Add __NTH.
8255
8256 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8259 Assume Intel Core i3/i5/i7 processor if AVX is available.
8260
8261 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8262
8263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8264 typo.
8265
8266 2011-05-31 Andreas Schwab <schwab@redhat.com>
8267
8268 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8269 memory. Use alloca_account. Fix memory leak when retrying.
8270
8271 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8272
8273 * version.h (RELEASE): Bump for 2.14 release.
8274 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8275
8276 * config.make.in (RANLIB): Remove entry.
8277
8278 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8279
8280 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8281 (libc.pot): Work around missing support for .ksh extension in xgettext.
8282
8283 [BZ #12684]
8284 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8285 if both request failed.
8286 (send_dg): In case of server errors clear resplen or *resplen2.
8287
8288 [BZ #12454]
8289 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8290 when there are multiple maps.
8291 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8292 (_dl_fini): Remove test here.
8293
8294 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8295
8296 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8297
8298 [BZ #12350]
8299 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8300 bit from old_res_options.
8301 (gaih_inet): Likewise.
8302
8303 [BZ #11099]
8304 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8305 as signed.
8306
8307 * resolv/res_init.c (res_setoptions): Make the code more compact.
8308
8309 [BZ #11558]
8310 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8311 set RES_USEVC.
8312
8313 [BZ #11634]
8314 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8315
8316 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8317
8318 [BZ #11781]
8319 * malloc/malloc.h: Declare malloc hook variables as volatile.
8320
8321 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8322 in last patch.
8323
8324 [BZ #11799]
8325 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8326 raise in the comment.
8327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8329 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8330
8331 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8332
8333 [BZ #12811]
8334 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8335 grow the buffers more if it already has to be sufficient.
8336 (build_wcs_upper_buffer): Likewise.
8337 * posix/regexec.c (check_matching): Likewise.
8338 (clean_state_log_if_needed): Likewise.
8339 (extend_buffers): Don't enlarge buffers beyond size of the input
8340 buffer.
8341 Patches mostly by Emil Wojak <emil@wojak.eu>.
8342 * posix/bug-regex32.c: New file.
8343 * posix/Makefile (tests): Add bug-regex32.
8344
8345 * locale/findlocale.c (_nl_find_locale): Return right away if
8346 _nl_explode_name failed.
8347 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8348
8349 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8350
8351 * debug/xtrace.sh: Unify messages.
8352 * malloc/memusage.sh: Likewise.
8353
8354 [BZ #12813]
8355 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8356 time symbol from vDSO. Substitute with vsyscall if not available.
8357 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8358 __vdso_time.
8359
8360 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8361 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8362 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8363 Add sendmmsg and internal_sendmmsg.
8364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8365 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8366 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8367
8368 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8369 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8371
8372 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8373
8374 [BZ #12813]
8375 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8376 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8377 available.
8378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8379 __vdso_getcpu.
8380
8381 [BZ #12814]
8382 * iconvdata/Makefile (tests): Add bug-iconv9.
8383 * iconvdata/bug-iconv9.c: New file.
8384
8385 2011-05-27 Andreas Schwab <schwab@redhat.com>
8386
8387 [BZ #12814]
8388 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8389
8390 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8391
8392 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8393 (struct user_regs_struct): Change intcs field back to cs.
8394
8395 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8396
8397 * po/ja.po: Update from translation team.
8398
8399 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8400
8401 [BZ #12795]
8402 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8404
8405 2011-05-20 Andreas Schwab <schwab@redhat.com>
8406
8407 * stdlib/longlong.h: Update from GCC.
8408
8409 2011-05-23 Andreas Schwab <schwab@redhat.com>
8410
8411 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8412 parameter name.
8413 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8414 Add parameter name.
8415 (__sysconf): Pass it down.
8416
8417 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8418
8419 [BZ #12671]
8420 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8421 some situations.
8422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8423 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8424 add in in __libc_use_alloca calls. Adjust callers.
8425 (glob): Use malloc in some situations.
8426
8427 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8428 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8429 pltexit.
8430
8431 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8432
8433 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8434 and CLOCK_BOOTTIME_ALARM.
8435
8436 [BZ #12782]
8437 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8438 is returned.
8439
8440 * string/_strerror.c (__strerror_r): Print negative errors as signed
8441 numbers.
8442
8443 [BZ #12777]
8444 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8445 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8446 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8447
8448 * configure.in: Fix typo in redirection and correct removal of test
8449 files in two cases.
8450
8451 [BZ #12788]
8452 * locale/setlocale.c (new_composite_name): Fix test to check for
8453 identical name of all categories.
8454
8455 [BZ #12792]
8456 * libio/filedoalloc.c (local_isatty): New function.
8457 (_IO_file_doallocate): Use local_isatty.
8458 * stdio-common/perror.c (perror): In case a new stream is used
8459 forward the stream error.
8460 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8461 error flag.
8462
8463 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8464
8465 [BZ #11869]
8466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8467 alloca.
8468 * include/alloca.h (extend_alloca_account): Define.
8469
8470 [BZ #11857]
8471 * posix/regex.h: Fix comments with documentation of user-accessible
8472 fields after compilation and describe correct free'ing of pattern
8473 after re_compile_pattern.
8474 Patch by Reuben Thomas <rrt@sc3d.org>.
8475
8476 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8477
8478 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8479 and -mno-altivec to prevent the compiler from using Altivec and/or
8480 VSX instructions when the corresponding registers are not available.
8481
8482 2011-05-19 Andreas Schwab <schwab@redhat.com>
8483
8484 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8485
8486 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8487
8488 * libio/freopen.c (freopen): Use __dup2, not dup2.
8489 * libio/freopen64.c (freopen64): Likewise.
8490
8491 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8492
8493 [BZ #12775]
8494 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8495 * math/Makefile (tests): Add test-powl.
8496 (CFLAGS-test-powl.c): Define.
8497 * math/test-powl.c: New file.
8498
8499 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8502
8503 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8504
8505 [BZ #11837]
8506 * iconvdata/gb18030.c: Update to GB18020-2005.
8507
8508 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8509
8510 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8511 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8512 Patch by Aharon Robbins <arnold@skeeve.com>.
8513
8514 [BZ #11892]
8515 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8516 on the stack.
8517
8518 [BZ #11895]
8519 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8520 through underflows.
8521
8522 [BZ #12766]
8523 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8524 point to strings before performing equality test for error_one_per_line
8525 mode.
8526
8527 [BZ #11697]
8528 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8529
8530 [BZ #11820]
8531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8532 (struct user_fpregs_struct): Avoid __uint*_t types.
8533
8534 [BZ #6420]
8535 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8536 symbol info. Use it instead of calling _dl_addr locally.
8537 (lock_and_info): New function.
8538 (tr_freehook): Call lock_and_info and pass symbol info as additional
8539 parameter to tr_where.
8540 (tr_mallochook): Likewise.
8541 (tr_reallochook): Likewise.
8542 (tr_memalignhook): Likewise.
8543
8544 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8545 used and couldn't be at all thread-safe.
8546
8547 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8548
8549 * libio/freopen.c (freopen): Don't close old file descriptor
8550 before the new one is opened. Instead dup the new file descriptor
8551 to the old one after the new stream is created.
8552 * libio/freopen64.c (freopen64): Likewise.
8553 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8554 * libio/fileops.c (_IO_new_file_close_it): Handle new
8555 _IO_FLAGS2_NOCLOSE flag.
8556 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8557 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8558 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8559 _IO_FLAGS2_NOCLOSE flag.
8560 * include/unistd.h: Add hidden_proto for dup3.
8561 Define __have_dup3.
8562 * io/dup3.c: Define hidden symbol.
8563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8564
8565 [BZ #7101]
8566 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8567 when an incomplete long option is used.
8568 * posix/tst-getopt_long1.c: New file.
8569 * posix/Makefile (tests): Add tst-getopt_long1.
8570
8571 [BZ #10138]
8572 * scripts/config.guess: Update from autoconf-2.68.
8573 * scripts/config.sub: Likewise.
8574
8575 [BZ #10157]
8576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8577 tests into ...
8578 (has_cpuclock): ...this. New function.
8579 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8580 macro here based on has_cpuclock code.
8581
8582 [BZ #10149]
8583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8584 First byte (not low byte) is now always NUL.
8585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8586
8587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8588 Use non-cancelable interfaces.
8589
8590 [BZ #9809]
8591 * locale/iso-639.def: Add entry for Sorani.
8592
8593 [BZ #11901]
8594 * include/stdlib.h: Move include protection to the right place.
8595 Define abort_msg_s. Declare __abort_msg with it.
8596 * stdlib/abort.c (__abort_msg): Adjust type.
8597 * assert/assert.c (__assert_fail_base): New function. Majority
8598 of code from __assert_fail. Allocate memory for __abort_msg with
8599 mmap.
8600 (__assert_fail): Now call __assert_fail_base.
8601 * assert/assert-perr.c: Remove bulk of implementation. Use
8602 __assert_fail_base.
8603 * include/assert.hL Declare __assert_fail_base.
8604 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8605 mmap.
8606 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8607
8608 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8609
8610 [BZ #11952]
8611 [BZ #12453]
8612 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8613 until all modules are registered in the DTV.
8614 * elf/Makefile: Add rules to build and run tst-tls19.
8615 * elf/tst-tls19.c: New file.
8616 * elf/tst-tls19mod1.c: New file.
8617 * elf/tst-tls19mod2.c: New file.
8618 * elf/tst-tls19mod3.c: New file.
8619 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8620
8621 [BZ #12083]
8622 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8623 correctly.
8624
8625 [BZ #12601]
8626 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8627 two-byte sequence errors.
8628 * iconvdata/Makefile (tests): Add bug-iconv8.
8629 * iconvdata/bug-iconv8.c: New file.
8630
8631 [BZ #12626]
8632 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8633 buf2 definition.
8634
8635 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8636
8637 [BZ #12432]
8638 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8639 (dummy_getcfa): New function.
8640 (init): Get _Unwind_GetCFA address, use dummy if not found.
8641 (backtrace_helper): In recursion check, also check whether CFA changes.
8642 (__backtrace): Completely initialize arg.
8643
8644 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8645 storing incomplete byte sequence in state object. Avoid testing for
8646 guaranteed too small input if we know there is enough data available.
8647
8648 2011-05-11 Andreas Schwab <schwab@redhat.com>
8649
8650 * Makeconfig (+link-pie): Indent.
8651 * Rules (binaries-pie): Define if $(have-fpie) and
8652 $(build-shared).
8653 (binaries-shared): Also filter out $(binaries-pie).
8654 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8655 * nscd/Makefile (others-pie): Add nscd.
8656 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8657 ($(objpfx)nscd): Remove command override.
8658 * login/Makefile (others-pie): Add pt_chown.
8659 ($(objpfx)pt_chown): Remove command override.
8660 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8661 remove command overrides.
8662
8663 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8664
8665 * libio/tst_putwc.c: Fix error messages.
8666
8667 [BZ #12724]
8668 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8669 currently writing and seek to current position when not.
8670 * libio/Makefile (tests): Add bug-fclose1.
8671 * libio/bug-fclose1.c: New file.
8672
8673 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8674
8675 [BZ #12511]
8676 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8677 don't set DF_1_NODELETE here.
8678 (do_lookup_x): When entering new entry test for copy relocation
8679 and if necessary set DF_1_NODELETE flag.
8680 * elf/tst-unique4.cc: New file.
8681 * elf/tst-unique4.h: New file.
8682 * elf/tst-unique4lib.cc: New file.
8683 * elf/Makefile: Add rules to build and run tst-unique4.
8684 Patch by Piotr Bury <pbury@goahead.com>.
8685
8686 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8687
8688 [BZ #12052]
8689 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8690
8691 [BZ #12625]
8692 * misc/mntent_r.c (addmntent): Flush the stream after the output
8693
8694 [BZ #12393]
8695 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8696 (is_trusted_path_normalize): Skip initial colon. Append slash
8697 to empty buffer. Duplicate is_trusted_path code but allow
8698 constructed patch to be prefix.
8699 (is_dst): Allow $ORIGIN followed by /.
8700 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8701 Correct testing of result of is_trusted_path_normalize
8702 (decompose_rpath): Fix warning.
8703
8704 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8705
8706 [BZ #11257]
8707 * grp/initgroups.c (internal_getgrouplist): When we found the service
8708 list through the initgroups entry in nsswitch.conf do not always
8709 continue on a successful lookup. Don't always use the
8710 __nss_group_database value if it is set.
8711 * nss/nsswitch.conf (initgroups): Change action for successful db
8712 lookup to continue for compatibility.
8713
8714 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8715
8716 [BZ #11532]
8717 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8718 and CP774 modules.
8719 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8720 and CP774 modules.
8721 * iconvdata/tst-tables.sh: Likewise.
8722 * iconvdata/cp770.c: New file.
8723 * iconvdata/cp771.c: New file.
8724 * iconvdata/cp772.c: New file.
8725 * iconvdata/cp773.c: New file.
8726 * iconvdata/cp774.c: New file.
8727 * iconvdata/testdata/CP770: New file.
8728 * iconvdata/testdata/CP770..UTF8: New file.
8729 * iconvdata/testdata/CP771: New file.
8730 * iconvdata/testdata/CP771..UTF8: New file.
8731 * iconvdata/testdata/CP772: New file.
8732 * iconvdata/testdata/CP772..UTF8: New file.
8733 * iconvdata/testdata/CP773: New file.
8734 * iconvdata/testdata/CP773..UTF8: New file.
8735 * iconvdata/testdata/CP774: New file.
8736 * iconvdata/testdata/CP774..UTF8: New file.
8737
8738 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8739 END CHARMAP line.
8740 * iconvdata/gen-8bit-gap.sh: Likewise.
8741 * iconvdata/gen-8bit.sh: Likewise.
8742
8743 * locale/iso-639.def: Add ary entry.
8744
8745 [BZ #11258]
8746 * locale/C-translit.h.in: Add U20A1 transliteration.
8747
8748 [BZ #12178]
8749 * locale/iso-639.def: Add wae entry.
8750 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8751
8752 [BZ #12545]
8753 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8754 for n.
8755
8756 [BZ #12711]
8757 * locale/C-translit.h.in: Add entry for U20B9.
8758 Patch by pravin.d.s@gmail.com.
8759
8760 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8761
8762 [BZ #12713]
8763 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8764 ENAMETOOLONG use generic getcwd.
8765 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8766 in rtld. Use *stat64.
8767 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8768 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8769 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8770 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8771 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8772 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8773 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8774 __fstatat64 macros.
8775 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8776 * dirent/rewinddir.c: Add libc_hidden_def.
8777 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8778 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8779
8780 * include/dirent.h (__alloc_dir): Add flags parameter.
8781 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8782 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8783 __alloc_dir.
8784 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8785 from fdopendir if O_CLOEXEC is already set.
8786
8787 2011-03-15 Alan Modra <amodra@gmail.com>
8788
8789 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8790 l_tls_firstbyte_offset non-zero. Save padding offset in
8791 l_tls_firstbyte_offset for later use.
8792 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8793 freeing static tls block.
8794
8795 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8796
8797 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8798 where #ifdef was intended. The intent is to prevent ARG_MAX from
8799 being defined by the kernel headers.
8800
8801 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8802
8803 [BZ #12734]
8804 * resolv/resolv.h: Define RES_NOTLDQUERY.
8805 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8806 no-tld-query and set RES_NOTLDQUERY.
8807 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8808 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8809 modern BIND to search name as TLD unless forbidden.
8810
8811 2011-05-07 Petr Baudis <pasky@suse.cz>
8812 Ulrich Drepper <drepper@gmail.com>
8813
8814 [BZ #12393]
8815 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8816 (is_trusted_path): ...to here.
8817 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8818 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8819 using is_trusted_path_normalize() in setuid scripts.
8820
8821 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8822
8823 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8824 __BEGIN/__END_DECLS.
8825
8826 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8827
8828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8829 NSS_STATUS_NOTFOUND if no record was found.
8830
8831 2011-05-05 Andreas Schwab <schwab@redhat.com>
8832
8833 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8834 (headers-not-in-tirpc): Remove rpc/netdb.h
8835 * resolv/netdb.h: Revert last change.
8836
8837 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8838
8839 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8840 circular dependency between libgcc.a and libc.a.
8841
8842 2011-05-05 Andreas Schwab <schwab@redhat.com>
8843
8844 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8845 * nis/Makefile: Don't install rpcsvc/*.
8846 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8847 instead of <rpc/types.h>.
8848 (MAXHOSTNAMELEN): Define.
8849
8850 2011-05-03 Andreas Schwab <schwab@redhat.com>
8851
8852 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8853
8854 2011-04-28 Maciej Babinski <mbabinski@google.com>
8855
8856 [BZ #12714]
8857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8858 gethostbyname4_r when IPv6 results are possible.
8859
8860 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8861
8862 [BZ #12723]
8863 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8864 _PC_PIPE_BUF handling.
8865
8866 2011-04-30 Bruno Haible <bruno@clisp.org>
8867
8868 [BZ #12717]
8869 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8870 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8871 to 'int'.
8872 * inet/getnameinfo.c (getnameinfo): Likewise.
8873
8874 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8875
8876 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8877 to groups setting in database lookup.
8878 * nss/nsswitch.conf: Add initgroups entry.
8879
8880 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8881
8882 [BZ #12685]
8883 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8884 mode string.
8885 Patch by Eric Blake <eblake@redhat.com>.
8886
8887 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * sunrpc/Makefile (need-export-routines): Add svc_run.
8890 (routines): Remove svc_run.
8891 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8892 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8893 * sunrpc/svc_run.c (svc_run): Likewise.
8894 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8895
8896 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8897
8898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8899 problem in reallocation in last patch.
8900
8901 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8902
8903 * sunrpc/Makefile: Move inclusion of Rules.
8904
8905 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8906
8907 * nss/nss_files/files-initgroups.c: New file.
8908 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8909 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8910 _nss_files_initgroups_dyn.
8911
8912 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8913
8914 * elf/elf.h (R_ARM_IRELATIVE): Define.
8915
8916 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8917
8918 * po/ru.po: Update from translation team.
8919
8920 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8921
8922 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8923 dependencies.
8924
8925 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8926
8927 [BZ #12653]
8928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8929 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8932 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8933
8934 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8935
8936 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8937 differing bytes.
8938 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8940 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8941
8942 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8943
8944 [BZ #12420]
8945 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8946 storing it.
8947 * stdlib/bug-getcontext.c: New file.
8948 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8949
8950 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8951
8952 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8953 instructions into .machine "z9-109".
8954 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8955 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8956
8957 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8958
8959 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8960 between environment variables and auxiliary vector.
8961
8962 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8963
8964 * Makefile: Add rules to build linkobj/libc.so.
8965 * include/libc-symbols.h: Define libc_hidden_nolink.
8966 * include/rpc/auth.h: Mark functions which are to be hidden.
8967 * include/rpc/auth_des.h: Likewise.
8968 * include/rpc/auth_unix.h: Likewise.
8969 * include/rpc/clnt.h: Likewise.
8970 * include/rpc/des_crypt.h: Likewise.
8971 * include/rpc/key_prot.h: Likewise.
8972 * include/rpc/pmap_clnt.h: Likewise.
8973 * include/rpc/pmap_prot.h: Likewise.
8974 * include/rpc/pmap_rmt.h: Likewise.
8975 * include/rpc/rpc_msg.h: Likewise.
8976 * include/rpc/svc.h: Likewise.
8977 * include/rpc/svc_auth.h: Likewise.
8978 * include/rpc/xdr.h: Likewise.
8979 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8980 * nss/Makefile: Likewise.
8981 * sunrpc/Makefile: Don't install headers. Build library with normal
8982 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8983 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8984 for the compat linking library. Remove use of INTDEF/INTUSE.
8985 * sunrpc/auth_none.c: Likewise.
8986 * sunrpc/auth_unix.c: Likewise.
8987 * sunrpc/authdes_prot.c: Likewise.
8988 * sunrpc/authuxprot.c: Likewise.
8989 * sunrpc/clnt_gen.c: Likewise.
8990 * sunrpc/clnt_perr.c: Likewise.
8991 * sunrpc/clnt_raw.c: Likewise.
8992 * sunrpc/clnt_simp.c: Likewise.
8993 * sunrpc/clnt_tcp.c: Likewise.
8994 * sunrpc/clnt_udp.c: Likewise.
8995 * sunrpc/clnt_unix.c: Likewise.
8996 * sunrpc/des_crypt.c: Likewise.
8997 * sunrpc/des_soft.c: Likewise.
8998 * sunrpc/get_myaddr.c: Likewise.
8999 * sunrpc/key_call.c: Likewise.
9000 * sunrpc/key_prot.c: Likewise.
9001 * sunrpc/netname.c: Likewise.
9002 * sunrpc/pm_getmaps.c: Likewise.
9003 * sunrpc/pm_getport.c: Likewise.
9004 * sunrpc/pmap_clnt.c: Likewise.
9005 * sunrpc/pmap_prot.c: Likewise.
9006 * sunrpc/pmap_prot2.c: Likewise.
9007 * sunrpc/pmap_rmt.c: Likewise.
9008 * sunrpc/publickey.c: Likewise.
9009 * sunrpc/rpc_cmsg.c: Likewise.
9010 * sunrpc/rpc_common.c: Likewise.
9011 * sunrpc/rpc_dtable.c: Likewise.
9012 * sunrpc/rpc_prot.c: Likewise.
9013 * sunrpc/rpc_thread.c: Likewise.
9014 * sunrpc/rtime.c: Likewise.
9015 * sunrpc/svc.c: Likewise.
9016 * sunrpc/svc_auth.c: Likewise.
9017 * sunrpc/svc_authux.c: Likewise.
9018 * sunrpc/svc_raw.c: Likewise.
9019 * sunrpc/svc_run.c: Likewise.
9020 * sunrpc/svc_simple.c: Likewise.
9021 * sunrpc/svc_tcp.c: Likewise.
9022 * sunrpc/svc_udp.c: Likewise.
9023 * sunrpc/svc_unix.c: Likewise.
9024 * sunrpc/svcauth_des.c: Likewise.
9025 * sunrpc/xcrypt.c: Likewise.
9026 * sunrpc/xdr.c: Likewise.
9027 * sunrpc/xdr_array.c: Likewise.
9028 * sunrpc/xdr_float.c: Likewise.
9029 * sunrpc/xdr_intXX_t.c: Likewise.
9030 * sunrpc/xdr_mem.c: Likewise.
9031 * sunrpc/xdr_rec.c: Likewise.
9032 * sunrpc/xdr_ref.c: Likewise.
9033 * sunrpc/xdr_sizeof.c: Likewise.
9034 * sunrpc/xdr_stdio.c: Likewise.
9035
9036 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9037
9038 [BZ #12650]
9039 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9040 * sysdeps/ia64/dl-tls.h: Likewise.
9041 * sysdeps/powerpc/dl-tls.h: Likewise.
9042 * sysdeps/s390/dl-tls.h: Likewise.
9043 * sysdeps/sh/dl-tls.h: Likewise.
9044 * sysdeps/sparc/dl-tls.h: Likewise.
9045 * sysdeps/x86_64/dl-tls.h: Likewise.
9046 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9047
9048 2011-03-14 Andreas Schwab <schwab@redhat.com>
9049
9050 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9051 rpath element also skip the following colon.
9052 (expand_dynamic_string_token): Add is_path parameter and pass
9053 down to DL_DST_REQUIRED and _dl_dst_substitute.
9054 (decompose_rpath): Call expand_dynamic_string_token with
9055 non-zero is_path. Ignore empty rpaths.
9056 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9057 with zero is_path.
9058
9059 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9060
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9062 Make cancelable.
9063
9064 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9065
9066 [BZ #12655]
9067 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9068 Patch by Filipe David Manana <fdmanana@apache.org>.
9069
9070 2011-04-07 Andreas Schwab <schwab@redhat.com>
9071
9072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9073 Maintain aligned stack.
9074 (CHECK_RSP): Remove unused macro.
9075
9076 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9077
9078 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9079 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9080
9081 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9082
9083 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9084
9085 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9086
9087 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9088
9089 [BZ #12518]
9090 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9091 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9092 * sysdeps/x86_64/memmove.c: New file.
9093 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9094 (memcpy): Renamed to ...
9095 (__new_memcpy): This.
9096 (memcpy): Provide GLIBC_2_14 memcpy.
9097 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9098 (memcpy): Provide GLIBC_2_2_5 memcpy.
9099
9100 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9101
9102 [BZ #12631]
9103 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9104
9105 2011-03-30 Andreas Schwab <schwab@redhat.com>
9106
9107 * misc/syncfs.c: New file.
9108 * misc/Makefile (routines): Add syncfs.
9109 * posix/unistd.h: Declare syncfs.
9110 * sysdeps/unix/syscalls.list: Add syncfs.
9111
9112 2011-04-01 Andreas Schwab <schwab@redhat.com>
9113
9114 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9115 open_by_handle_at.
9116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9121 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9123
9124 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9125
9126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9133
9134 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9135 sync_file_range.c with -fexceptions.
9136 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9137 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9138 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9139 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9140 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9141 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9143 sync_file_range as cancellation point
9144 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9145 now a wrapper around __call_sync_file_range with cancellation handling.
9146 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9147 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9148 function name to __call_sync_file_range.
9149 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9150 Add call_sync_file_range.
9151
9152 2011-04-01 Andreas Schwab <schwab@redhat.com>
9153
9154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9155 bits/timex.h.
9156
9157 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9158
9159 * iconv/iconv.h: Fix typo in comment.
9160 * io/fcntl.h: Likewise.
9161 * libio/stdio.h: Likewise.
9162 * posix/spawn.h: Likewise.
9163 * posix/unistd.h: Likewise.
9164 * stdlib/stdlib.h: Likewise.
9165 * time/time.h: Likewise.
9166 * wcsmbs/wchar.h: Likewise.
9167
9168 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9169 open_by_handle): Add.
9170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9171 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9172 Augment a few comments.
9173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9178 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9179 open_by_handle.
9180
9181 * io/fcntl.h (AT_EMPTY_PATH): Define.
9182
9183 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9184
9185 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9186 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9187 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9188 to...
9189 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9190 * Versions.def: Add GLIBC_2.14.
9191 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9192 Export.
9193
9194 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9195
9196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9197 round counter.
9198 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9199
9200 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9201
9202 [BZ #12597]
9203 * string/test-strncmp.c (do_page_test): New function.
9204 (check2): Likewise.
9205 (test_main): Call check2.
9206 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9207
9208 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9209
9210 [BZ #12587]
9211 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9212 Handle cache information in CPU leaf 4.
9213 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9214
9215 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9216
9217 [BZ #12583]
9218 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9219 character representation.
9220 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9221
9222 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9223
9224 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9225 END(__isnan) to END(__isnanf) to match function entry point/label
9226 EALIGN(__isnanf,...).
9227
9228 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9229
9230 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9231
9232 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9233
9234 [BZ #12510]
9235 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9236 copy from the symbol referenced in the relocation to initialize the
9237 used variable.
9238 Patch by Piotr Bury <pbury@goahead.com>.
9239 * elf/Makefile: Add rules to build and tst-unique3.
9240 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9241 * elf/tst-unique3.cc: New file.
9242 * elf/tst-unique3.h: New file.
9243 * elf/tst-unique3lib.cc: New file.
9244 * elf/tst-unique3lib2.cc: New file.
9245
9246 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9247
9248 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9249
9250 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9251 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9252 to _start.
9253
9254 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9255
9256 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9257 to-be-loaded object along a path to loader is ld.so.
9258
9259 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9260 Ulrich Drepper <drepper@gmail.com>
9261
9262 * sysdeps/x86_64/memset.S: After aligning destination, code
9263 branches to different locations depending on the value of
9264 misalignment, when multiarch is enabled. Fix this.
9265
9266 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9267
9268 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9269 Set _x86_64_preferred_memory_instruction for AMD processsors.
9270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9271 Set bit_Prefer_SSE_for_memop for AMD processors.
9272
9273 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9274
9275 * libio/fmemopen.c (fmemopen): Optimize a bit.
9276
9277 2011-03-03 Andreas Schwab <schwab@redhat.com>
9278
9279 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9280
9281 2011-03-03 Roland McGrath <roland@redhat.com>
9282
9283 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9284
9285 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9286
9287 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9288 __bzero_ultra1 instead of __memset_ultra1.
9289
9290 2011-02-23 Andreas Schwab <schwab@redhat.com>
9291 Ulrich Drepper <drepper@gmail.com>
9292
9293 [BZ #12509]
9294 * include/link.h (struct link_map): Add l_orig_initfini.
9295 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9296 returning unsuccessfully.
9297 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9298 close of a file loaded at startup, restore the original l_initfini
9299 list.
9300 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9301 list, store the pointer.
9302 * elf/Makefile ($(objpfx)noload-mem): New rule.
9303 (noload-ENV): Define.
9304 (tests): Add $(objpfx)noload-mem.
9305 * elf/noload.c: Include <memcheck.h>.
9306 (main): Call mtrace. Close all opened handles.
9307
9308 2011-02-17 Andreas Schwab <schwab@redhat.com>
9309
9310 [BZ #12454]
9311 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9312 dependencies are missing.
9313
9314 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9315
9316 Fix __if_freereq crash: Unlike the generic version which uses free,
9317 Hurd needs munmap.
9318 * sysdeps/mach/hurd/ifreq.h: New file.
9319
9320 2011-01-27 Petr Baudis <pasky@suse.cz>
9321 Ulrich Drepper <drepper@gmail.com>
9322
9323 [BZ 12445]#
9324 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9325 to extend_alloca().
9326 * stdio-common/bug23.c: New file.
9327 * stdio-common/Makefile (tests): Add bug23.
9328
9329 2010-09-28 Andreas Schwab <schwab@redhat.com>
9330 Ulrich Drepper <drepper@gmail.com>
9331
9332 [BZ #12489]
9333 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9334 before performing relro protection. At old place add assertion
9335 to make sure nothing changed.
9336
9337 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9338 Glauber de Oliveira Costa <glommer@gmail.com>
9339
9340 * elf/elf.h: Add new ARM TLS relocs.
9341
9342 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9343
9344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9345 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9346 cast from r3.
9347 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9348 'tests' variable.
9349 * sysdeps/wordsize-64/tst-writev.c: New file.
9350
9351 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9352
9353 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9354 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9355 insns in _dl_start to prevent a TOC reference before relocs are
9356 resolved.
9357
9358 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9359
9360 [BZ #12469]
9361 * Makeconfig: Remove RANLIB definition.
9362 * Makerules: Don't use RANLIB.
9363 * aclocal.m4: Remove ranlib test.
9364 * configure.in: No need to check for ranlib.
9365 * elf/rtld-Rules: Don't use RANLIB.
9366
9367 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9368
9369 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9370 protection macro.
9371 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9372 inclusion protection macro.
9373
9374 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9375 SIGRTMIN and SIGRTMAX and print information in that case only when
9376 SIGRTMIN is defined.
9377
9378 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9379
9380 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9381 arginfo fn returning -1.
9382
9383 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9384 and thousands string is zero terminated.
9385
9386 2011-02-03 Andreas Schwab <schwab@redhat.com>
9387
9388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9389 sysdeps/unix/sysv/linux/bits/socket.h.
9390
9391 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9392
9393 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9394 (__CPU_COUNT): Remove old macros.
9395 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9396 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9397 (__CPU_ALLOC, __CPU_FREE): Add macros.
9398 (__sched_cpualloc, __sched_cpufree): Add declarations.
9399
9400 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9401
9402 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9403 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9404 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9405 (readdhstai): Return value of addhstaiX call.
9406 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9407 (addgrbyX): Return value returned by cache_addgr.
9408 (readdgrbyname): Return value returned by addgrbyX.
9409 (readdgrbygid): Likewise.
9410 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9411 (addpwbyX): Return value returned by cache_addpw.
9412 (readdpwbyname): Return value returned by addhstbyX.
9413 (readdpwbyuid): Likewise.
9414 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9415 (addservbyX): Return value returned by cache_addserv.
9416 (readdservbyname): Return value returned by addservbyX:
9417 (readdservbyport): Likewise.
9418 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9419 (addhstbyX): Return value returned by cache_addhst.
9420 (readdhstbyname): Return value returned by addhstbyX.
9421 (readdhstbyaddr): Likewise.
9422 (readdhstbynamev6): Likewise.
9423 (readdhstbyaddrv6): Likewise.
9424 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9425 (readdinitgroups): Return value returned by addinitgroupsX.
9426 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9427 (prune_cache): Keep track of timeout value of re-added entries.
9428 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9429 * nscd/nscd.h: Adjust prototypes of readd* functions.
9430
9431 2011-02-04 Roland McGrath <roland@redhat.com>
9432
9433 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9434 (nis_stats): Likewise.
9435 * nis/nis_modify.c (nis_modify): Likewise.
9436 * nis/nis_remove.c (nis_remove): Likewise.
9437 * nis/nis_add.c (nis_add): Likewise.
9438
9439 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9440
9441 * posix/fnmatch_loop.c: Add some consts.
9442
9443 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9444
9445 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9446
9447 [BZ #12460]
9448 * config.make.in (config-cflags-novzeroupper): Define.
9449 * configure.in: Substitute libc_cv_cc_novzeroupper.
9450 * elf/Makefile (AVX-CFLAGS): Define.
9451 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9452 (CFLAGS-tst-auditmod4a.c): Likewise.
9453 (CFLAGS-tst-auditmod4b.c): Likewise.
9454 (CFLAGS-tst-auditmod6b.c): Likewise.
9455 (CFLAGS-tst-auditmod6c.c): Likewise.
9456 (CFLAGS-tst-auditmod7b.c): Likewise.
9457 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9458
9459 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9460
9461 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9462 function to the callback.
9463 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9464
9465 2011-02-02 Andreas Schwab <schwab@redhat.com>
9466
9467 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9468 of errno.
9469
9470 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9471
9472 [BZ #11724]
9473 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9474 of constructors.
9475 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9476 of destructors.
9477 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9478
9479 [BZ #11724]
9480 * elf/Makefile: Add rules to build and run new test.
9481 * elf/tst-initorder.c: New file.
9482 * elf/tst-initorder.exp: New file.
9483 * elf/tst-initordera1.c: New file.
9484 * elf/tst-initordera2.c: New file.
9485 * elf/tst-initordera3.c: New file.
9486 * elf/tst-initordera4.c: New file.
9487 * elf/tst-initorderb1.c: New file.
9488 * elf/tst-initorderb2.c: New file.
9489 * elf/tst-order-a1.c: New file.
9490 * elf/tst-order-a2.c: New file.
9491 * elf/tst-order-a3.c: New file.
9492 * elf/tst-order-a4.c: New file.
9493 * elf/tst-order-b1.c: New file.
9494 * elf/tst-order-b2.c: New file.
9495 * elf/tst-order-main.c: New file.
9496 New test case by George Gensure <werkt0@gmail.com>.
9497
9498 2010-10-01 Andreas Schwab <schwab@redhat.com>
9499
9500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9501 decoding ACE if AI_CANONIDN.
9502
9503 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9504
9505 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9506
9507 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9508
9509 * version.h (RELEASE): Bump for 2.13 release.
9510 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9511
9512 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9513
9514 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9515 MADV_NOHUGEPAGE.
9516 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9518 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9519 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9520 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9522
9523 * posix/getconf.c: Update copyright year.
9524 * catgets/gencat.c: Likewise.
9525 * csu/version.c: Likewise.
9526 * debug/catchsegv.sh: Likewise.
9527 * debug/xtrace.sh: Likewise.
9528 * elf/ldconfig.c: Likewise.
9529 * elf/ldd.bash.in: Likewise.
9530 * elf/sprof.c (print_version): Likewise.
9531 * iconv/iconv_prog.c: Likewise.
9532 * iconv/iconvconfig.c: Likewise.
9533 * locale/programs/locale.c: Likewise.
9534 * locale/programs/localedef.c: Likewise.
9535 * malloc/memusage.sh: Likewise.
9536 * malloc/mtrace.pl: Likewise.
9537 * nscd/nscd.c (print_version): Likewise.
9538 * nss/getent.c: Likewise.
9539
9540 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9541 PF_CAIF, and PF_ALG.
9542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9543
9544 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9545
9546 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9547 (modules-names): Use them.
9548 (ifunc-test-modules, ifunc-pie-tests): Define.
9549 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9550 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9551 (test-extras): Likewise.
9552 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9553 $(compile-command.c).
9554 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9555 (all-built-dso): Define.
9556 (check-textrel.out, check-execstack.out): Depend on it.
9557
9558 * configure.in: Don't override --enable-multi-arch.
9559
9560 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9561
9562 [BZ #6812]
9563 * nscd/hstcache.c (tryagain): Define.
9564 (cache_addhst): Return tryagain not notfound for temporary errors.
9565 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9566 failed.
9567
9568 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9569
9570 [BZ #10563]
9571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9572 to make the syscall.
9573 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9574
9575 [BZ #12378]
9576 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9577 and fall back to matching as normal character if the string ends before
9578 the matching ']' is found. This is what POSIX requires.
9579 * posix/testfnm.c: Adjust test result.
9580 * posix/globtest.sh: Adjust test result. Add new test.
9581 * posix/tst-fnmatch.input: Likewise.
9582 * posix/tst-fnmatch2.c: Add new test.
9583
9584 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9585
9586 * elf/Makefile (check-execstack): Revert last change. Depend on
9587 check-execstack.h.
9588 (check-execstack.h): New target.
9589 (generated): Add check-execstack.h.
9590 * elf/check-execstack.c: Include "check-execstack.h".
9591 (main): Revert last change.
9592 (handle_file): Return zero if GNU_STACK is absent and
9593 DEFAULT_STACK_PERMS doesn't include PF_X.
9594
9595 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9596
9597 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9598 in child fails because the descriptor is already closed.
9599 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9600 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9601 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9602
9603 [BZ #12397]
9604 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9605 syscall.
9606
9607 [BZ #10484]
9608 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9609 temporary buffer used to handle multi lookups locally.
9610 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9611
9612 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9613
9614 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9615 loader is ld.so.
9616
9617 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9618
9619 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9620 alignment for SSE2.
9621
9622 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9623
9624 [BZ #12394]
9625 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9626 characters. When rounding increased number of integer digits recompute
9627 number of groups.
9628 * stdio-common/tst-grouping.c: New file.
9629 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9630
9631 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9632
9633 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9634 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9635
9636 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9637 void.
9638 * bits/select.h: Likewise.
9639
9640 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9641
9642 * po/ja.po: Update from translation team.
9643
9644 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9645
9646 [BZ #11155]
9647 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9648 implementation just like for lxstat, fxstatat, et al.
9649
9650 2010-12-27 Jim Meyering <meyering@redhat.com>
9651
9652 [BZ #12348]
9653 * posix/regexec.c (build_trtable): Return failure indication upon
9654 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9655
9656 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9657
9658 [BZ #12201]
9659 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9660 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9661 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9662 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9663
9664 [BZ #12207]
9665 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9666
9667 [BZ #12204]
9668 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9669 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9670
9671 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9672
9673 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9674 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9675 script has SORT_BY_INIT_PRIORITY.
9676 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9677 NO_CTORS_DTORS_SECTIONS is defined.
9678 * elf/soinit.c: Likewise.
9679 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9680 NO_CTORS_DTORS_SECTIONS is defined.
9681 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9682 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9683 * sysdeps/sh/init-first.c: Likewise.
9684 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9685
9686 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9687
9688 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9689 always use the slow path.
9690
9691 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9692
9693 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9694 similar rule which adds the sysdep directories to the header search in
9695 order to pick up the correct platform stackinfo.h.
9696 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9697 perform test if it is, otherwise return successfully without testing.
9698 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9699 DEFAULT_STACK_PERMS define in stackinfo.h.
9700 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9701 defined in stackinfo.h.
9702 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9703 DEFAULT_STACK_PERMS defined in stackinfo.h.
9704 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9705 * sysdeps/ia64/stackinfo.h: Likewise.
9706 * sysdeps/s390/stackinfo.h: Likewise.
9707 * sysdeps/sh/stackinfo.h: Likewise.
9708 * sysdeps/sparc/stackinfo.h: Likewise.
9709 * sysdeps/x86_64/stackinfo.h: Likewise.
9710 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9711 PF_X for powerpc64. Retain PF_X for powerpc32.
9712
9713 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9714
9715 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9716 accurately.
9717 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9718 GETDENTS_64BIT_ALIGNED.
9719
9720 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9721
9722 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9723
9724 2010-12-10 Andreas Schwab <schwab@redhat.com>
9725
9726 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9727 _GNU_SOURCE.
9728
9729 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9730 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9731 Remove __restrict.
9732 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9733 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9734
9735 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9736
9737 [BZ #11655]
9738 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9739 are initialized.
9740
9741 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9742
9743 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9744
9745 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9746
9747 * po/it.po: Update from translation team.
9748
9749 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9752 unused codes.
9753
9754 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9755
9756 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9757
9758 2010-11-24 Andreas Schwab <schwab@redhat.com>
9759
9760 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9761 specially.
9762 (gaih_getanswer_slice): Likewise.
9763
9764 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9765
9766 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9767
9768 2010-05-31 Petr Baudis <pasky@suse.cz>
9769
9770 [BZ #11149]
9771 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9772 silently even in the chroot mode.
9773
9774 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9775
9776 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9777 last patch a bit. Pretty printing
9778
9779 2010-05-31 Petr Baudis <pasky@suse.cz>
9780
9781 [BZ #10085]
9782 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9783 initialization of skip_initgroups_dyn.
9784
9785 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9786
9787 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9788 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9789
9790 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9791
9792 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9793
9794 2010-11-11 Andreas Schwab <schwab@redhat.com>
9795
9796 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9797 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9798 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9799 ($(objpfx)tst-fnmatch-mem): New rule.
9800 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9801 * posix/tst-fnmatch.c (main): Call mtrace.
9802
9803 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9806 Support Intel processor model 6 and model 0x2c.
9807
9808 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9809
9810 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9811 signed comparison.
9812
9813 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 [BZ #12205]
9816 * string/test-strncasecmp.c (check_result): New function.
9817 (do_one_test): Use it.
9818 (check1): New function.
9819 (test_main): Use it.
9820 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9821 Support strcasecmp and strncasecmp.
9822
9823 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9824
9825 [BZ #12194]
9826 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9828
9829 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9830
9831 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9832 IFUNC support.
9833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9834 memset-x86-64.
9835 * sysdeps/x86_64/multiarch/bzero.S: New file.
9836 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9837 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9838 * sysdeps/x86_64/multiarch/memset.S: New file.
9839 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9841 Set bit_Prefer_SSE_for_memop for Intel processors.
9842 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9843 Define.
9844 (index_Prefer_SSE_for_memop): Define.
9845 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9846
9847 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9848
9849 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9850 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9851
9852 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9853
9854 [BZ #12191]
9855 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9856 (__x86_64_raw_data_cache_size_half): Likewise.
9857 (__x86_64_raw_shared_cache_size): Likewise.
9858 (__x86_64_raw_shared_cache_size_half): Likewise.
9859
9860 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9861 (__x86_64_raw_data_cache_size_half): Likewise.
9862 (__x86_64_raw_shared_cache_size): Likewise.
9863 (__x86_64_raw_shared_cache_size_half): Likewise.
9864 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9865 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9866 and __x86_64_raw_shared_cache_size_half. Round
9867 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9868 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9869 to multiple of 256 bytes.
9870
9871 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9872
9873 [BZ #12167]
9874 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9875 of inacessible symlinks. Verify result of symlink before returning it.
9876 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9877 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9878
9879 2010-10-28 Erich Ritz <erichritz@gmail.com>
9880
9881 * math/math.h (isinf): Fix typo in comment.
9882
9883 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9884
9885 * po/da.po: Update from translation team.
9886
9887 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9888
9889 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9890 is added to the list.
9891
9892 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9893 Ulrich Drepper <drepper@gmail.com>
9894
9895 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9896 the global list here. Move code to...
9897 (_dl_add_to_namespace_list): ...here. New function.
9898 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9899 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9900 * elf/dl-load.c (lose): Don't remove the element from the list.
9901 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9902 (_dl_map_object): Likewise.
9903
9904 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9905
9906 [BZ #12159]
9907 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9908 into all bytes of SSE register.
9909 Patch by Richard Li <richardpku@gmail.com>.
9910
9911 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9912
9913 [BZ #12140]
9914 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9915 perturbing.
9916
9917 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9918
9919 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9920 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9921 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9922 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9924 submachine.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9926
9927 2010-10-22 Andreas Schwab <schwab@redhat.com>
9928
9929 * include/dlfcn.h (__RTLD_SECURE): Define.
9930 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9931 mode & __RTLD_SECURE instead.
9932 (open_path): Rename preloaded parameter to secure.
9933 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9934 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9935 * elf/dl-deps.c (openaux): Likewise.
9936 * elf/rtld.c (struct map_args): Remove is_preloaded.
9937 (map_doit): Don't use it.
9938 (dl_main): Likewise.
9939 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9940 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9941
9942 2010-09-09 Andreas Schwab <schwab@redhat.com>
9943
9944 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9945 (sysd-rules-targets): Remove duplicates.
9946 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9947 rtld-%.$o dependency.
9948
9949 2010-10-18 Andreas Schwab <schwab@redhat.com>
9950
9951 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9952 _dl_map_object do it.
9953
9954 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9955
9956 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9957 fast fma builtins, define the macros in the C99 standard.
9958 (FP_FAST_FMAF): Likewise.
9959 (FP_FAST_FMAL): Likewise.
9960 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9961
9962 * bits/mathdef.h: Update copyright year.
9963 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9964
9965 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9966
9967 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9968 builtins, define the macros in the C99 standard.
9969 (FP_FAST_FMAF): Likewise.
9970 (FP_FAST_FMAL): Likewise.
9971 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9972 multiply/add.
9973 (FP_FAST_FMAF): Likewise.
9974
9975 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9976
9977 [BZ #3268]
9978 * math/libm-test.inc (fma_test): Some new testcases.
9979 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9981 y and infinite z. Do multiplication by C already in long double.
9982 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9984 y and infinite z. Do bitwise or of inexact bit into u.d.
9985 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9986 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9987 * sysdeps/i386/fpu/s_fma.S: Removed.
9988 * sysdeps/i386/fpu/s_fmal.S: Removed.
9989
9990 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9991
9992 [BZ #3268]
9993 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9995 computation is not scheduled after fetestexcept. Fix value
9996 of minimum denormal long double.
9997
9998 2010-10-14 Jakub Jelinek <jakub@redhat.com>
9999
10000 [BZ #3268]
10001 * math/libm-test.inc (fma_test): Add some more tests.
10002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10003 correctly.
10004
10005 2010-10-15 Andreas Schwab <schwab@redhat.com>
10006
10007 * scripts/data/localplt-s390-linux-gnu.data: New file.
10008 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10009
10010 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10011
10012 [BZ #3268]
10013 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10014 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10015 instead of dbl-64.
10016 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10017 inlines.
10018 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10020 if one of x and y is very large and the other is subnormal.
10021 * sysdeps/s390/fpu/s_fmaf.c: New file.
10022 * sysdeps/s390/fpu/s_fma.c: New file.
10023 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10024 * sysdeps/powerpc/fpu/s_fma.S: New file.
10025 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10026 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10027 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10028
10029 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10030
10031 [BZ #3268]
10032 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10033 fma tests.
10034 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10035 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10036 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10037 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10038 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10039 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10040 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10041
10042 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10043
10044 [BZ #12078]
10045 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10046 * posix/bug-regex31.input: Add test case.
10047
10048 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10049
10050 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10051 * posix/bug-regex31.input: New file.
10052
10053 [BZ #12078]
10054 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10055 (parse_sub_exp): Fix last change, use postorder.
10056
10057 * posix/bug-regex31.c: New file.
10058 * posix/Makefile: Add rules to build and run bug-regex31.
10059
10060 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10061
10062 [BZ #12078]
10063 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10064
10065 [BZ #12108]
10066 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10067 to have entries in sys_siglist.
10068
10069 [BZ #12093]
10070 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10071 be NULL.
10072
10073 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10074
10075 [BZ #3268]
10076 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10077 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10078 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10079 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10080 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10081 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10082 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10083 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10084 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10085 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10086 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10087 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10088 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10089 * math/ftestexcept.c (fetestexcept): Likewise.
10090 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10091 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10092 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10093 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10094 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10095 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10096 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10097
10098 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10099
10100 [BZ #12107]
10101 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10102 newline.
10103
10104 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10105
10106 * string/bug-strstr1.c: New file.
10107 * string/Makefile: Add rules to build and run bug-strstr1.
10108
10109 2010-10-05 Eric Blake <eblake@redhat.com>
10110
10111 [BZ #12092]
10112 * string/str-two-way.h (two_way_long_needle): Always clear memory
10113 when skipping input due to the shift table.
10114
10115 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10116
10117 [BZ #12005]
10118 * malloc/mcheck.c: Handle large requests.
10119
10120 [BZ #12077]
10121 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10122 for strncmp and strncasecmp.
10123 * string/stratcliff.c: Add tests for strcmp and strncmp.
10124 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10125
10126 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10127
10128 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10129 __set_fpscr.
10130
10131 2010-09-30 Andreas Jaeger <aj@suse.de>
10132
10133 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10134 (CGROUP_SUPER_MAGIC): Define.
10135 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10136 Handle btrfs and cgroup file systems.
10137 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10138 Likewise.
10139
10140 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10141
10142 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10143 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10144
10145 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10146
10147 [BZ #12067]
10148 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10149 trying to locate the ELF header.
10150
10151 2010-09-27 Andreas Schwab <schwab@redhat.com>
10152
10153 [BZ #11611]
10154 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10155 Mask out sign-bit copies when constructing f_fsid.
10156
10157 2010-09-24 Petr Baudis <pasky@suse.cz>
10158
10159 * debug/stack_chk_fail_local.c: Add missing licence exception.
10160 * debug/warning-nop.c: Likewise.
10161
10162 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10163
10164 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10165 implementing getdents64 using getdents syscall, set d_type if
10166 __ASSUME_GETDENTS32_D_TYPE.
10167
10168 2010-09-16 Andreas Schwab <schwab@redhat.com>
10169
10170 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10171 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10172
10173 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10174
10175 [BZ #12037]
10176 * posix/unistd.h: Undo change of feature selection for ftruncate from
10177 2010-01-11.
10178
10179 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10180
10181 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10182 detection.
10183
10184 2010-09-20 Andreas Schwab <schwab@redhat.com>
10185
10186 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10187 fanotify_mark.
10188 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10189
10190 2010-09-14 Andreas Schwab <schwab@redhat.com>
10191
10192 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10193 variables after CHECK_SP call.
10194 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10195
10196 2010-09-13 Andreas Schwab <schwab@redhat.com>
10197 Ulrich Drepper <drepper@redhat.com>
10198
10199 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10200 re-relocationg ld.so.
10201 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10202 _dl_init_paths call.
10203 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10204 here anymore.
10205
10206 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10207
10208 * resolv/res_init.c (__res_vinit): Count the default server we added.
10209
10210 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10211 Ulrich Drepper <drepper@redhat.com>
10212
10213 [BZ #11968]
10214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10215 (____longjmp_chk): Use %ebx for saving value across system call.
10216 Add unwind info.
10217
10218 2010-09-06 Andreas Schwab <schwab@redhat.com>
10219
10220 * manual/Makefile: Don't mix pattern rules with normal rules.
10221
10222 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10223
10224 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10225 operation.
10226 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10227 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10228 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10229 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10231 Likewise.
10232
10233 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10234
10235 [BZ #11979]
10236 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10237 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10238
10239 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10240
10241 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10242 * sysdeps/x86_64/addmul_1.S: Likewise.
10243 * sysdeps/x86_64/lshift.S: Likewise.
10244 * sysdeps/x86_64/mul_1.S: Likewise.
10245 * sysdeps/x86_64/rshift.S: Likewise.
10246 * sysdeps/x86_64/sub_n.S: Likewise.
10247 * sysdeps/x86_64/submul_1.S: Likewise.
10248
10249 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10250
10251 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10252 Define __sched_param instead of SCHED_* and sched_param when
10253 <bits/sched.h> is included with __need_schedparam defined.
10254 * bits/sched.h [__need_schedparam]
10255 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10256 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10257 (__defined_schedparam): Define to 1.
10258 (__sched_param): New structure, identical to sched_param.
10259 (__need_schedparam): Undefine.
10260
10261 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10262
10263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10264 (epoll_create1): Declare.
10265
10266 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10267
10268 2010-08-31 Andreas Schwab <schwab@redhat.com>
10269
10270 [BZ #7066]
10271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10272 shifting retval into place.
10273
10274 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10275
10276 * nis/rpcsvc/nis.h: Update copyright notice.
10277 * nis/rpcsvc/nis.x: Likewise.
10278 * nis/rpcsvc/nis_callback.h: Likewise.
10279 * nis/rpcsvc/nis_callback.x: Likewise.
10280 * nis/rpcsvc/nis_object.x: Likewise.
10281 * nis/rpcsvc/nis_tags.h: Likewise.
10282 * nis/rpcsvc/yp.h: Likewise.
10283 * nis/rpcsvc/yp.x: Likewise.
10284 * nis/rpcsvc/ypupd.h: Likewise.
10285 * nis/yp_xdr.c: Likewise.
10286 * nis/ypupdate_xdr.c: Likewise.
10287
10288 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10289 mainly the body of pmap_getport. Add parameters to specify timeouts.
10290 (pmap_getport): Use __libc_rpc_getport.
10291 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10292 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10293 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10294
10295 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10296
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10298 fanotify_mark.
10299
10300 2010-08-27 Roland McGrath <roland@redhat.com>
10301
10302 * sysdeps/i386/i686/multiarch/Makefile
10303 (CFLAGS-varshift.c): New variable.
10304
10305 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10306
10307 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10308 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10309
10310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10311
10312 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10313
10314 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * sysdeps/x86_64/strlen.S: Unroll the loop.
10317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10318 strlen-sse2 strlen-sse2-bsf.
10319 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10320 __strlen_no_bsf if bit_Slow_BSF is set.
10321 (__strlen_sse42): Removed.
10322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10323 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10324
10325 2010-08-25 Roland McGrath <roland@redhat.com>
10326
10327 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10328 * sysdeps/x86_64/multiarch/varshift.c: New file.
10329 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10330 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10331 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10332 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10333
10334 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10335
10336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10337 strlen-sse2 strlen-sse2-bsf.
10338 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10339 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10340 (__strlen_sse2): Removed.
10341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10344 bit_Slow_BSF for Atom.
10345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10346 (index_Slow_BSF): Define.
10347 (HAS_SLOW_BSF): Define.
10348
10349 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10350
10351 [BZ #10851]
10352 * resolv/res_init.c (__res_vinit): When no server address at all
10353 is given default to loopback.
10354
10355 2010-08-24 Roland McGrath <roland@redhat.com>
10356
10357 * configure.in: Remove config-name.h generation.
10358 * configure: Regenerated.
10359 * config-name.in: File removed.
10360 * scripts/config-uname.sh: New file.
10361 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10362 ($(objdir)config-name.h): New target.
10363
10364 * sunrpc/rpc_parse.h: Avoid nested comment.
10365
10366 2010-08-24 Richard Henderson <rth@redhat.com>
10367 Ulrich Drepper <drepper@redhat.com>
10368 H.J. Lu <hongjiu.lu@intel.com>
10369
10370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10372 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10373 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10374 _mm_alignr_epi8 with _mm_loadu_si128.
10375 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10376 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10377 (__m128i_shift_right): Removed.
10378 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10379 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10380 * sysdeps/x86_64/multiarch/varshift.h: New file.
10381 * sysdeps/x86_64/multiarch/varshift.S: New file.
10382
10383 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10384
10385 * configure.in: Move assembler checks to before sysdep dir checking.
10386
10387 2010-08-20 Petr Baudis <pasky@suse.cz>
10388
10389 * LICENSES: Sync the sunrpc license.
10390
10391 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10392
10393 * sunrpc/auth_des.c: Update copyright notice once again.
10394 * sunrpc/auth_none.c: Likewise.
10395 * sunrpc/auth_unix.c: Likewise.
10396 * sunrpc/authdes_prot.c: Likewise.
10397 * sunrpc/authuxprot.c: Likewise.
10398 * sunrpc/bindrsvprt.c: Likewise.
10399 * sunrpc/clnt_gen.c: Likewise.
10400 * sunrpc/clnt_perr.c: Likewise.
10401 * sunrpc/clnt_raw.c: Likewise.
10402 * sunrpc/clnt_simp.c: Likewise.
10403 * sunrpc/clnt_tcp.c: Likewise.
10404 * sunrpc/clnt_udp.c: Likewise.
10405 * sunrpc/clnt_unix.c: Likewise.
10406 * sunrpc/des_crypt.c: Likewise.
10407 * sunrpc/des_soft.c: Likewise.
10408 * sunrpc/get_myaddr.c: Likewise.
10409 * sunrpc/getrpcport.c: Likewise.
10410 * sunrpc/key_call.c: Likewise.
10411 * sunrpc/key_prot.c: Likewise.
10412 * sunrpc/openchild.c: Likewise.
10413 * sunrpc/pm_getmaps.c: Likewise.
10414 * sunrpc/pm_getport.c: Likewise.
10415 * sunrpc/pmap_clnt.c: Likewise.
10416 * sunrpc/pmap_prot.c: Likewise.
10417 * sunrpc/pmap_prot2.c: Likewise.
10418 * sunrpc/pmap_rmt.c: Likewise.
10419 * sunrpc/rpc/auth.h: Likewise.
10420 * sunrpc/rpc/auth_unix.h: Likewise.
10421 * sunrpc/rpc/clnt.h: Likewise.
10422 * sunrpc/rpc/des_crypt.h: Likewise.
10423 * sunrpc/rpc/key_prot.h: Likewise.
10424 * sunrpc/rpc/netdb.h: Likewise.
10425 * sunrpc/rpc/pmap_clnt.h: Likewise.
10426 * sunrpc/rpc/pmap_prot.h: Likewise.
10427 * sunrpc/rpc/pmap_rmt.h: Likewise.
10428 * sunrpc/rpc/rpc.h: Likewise.
10429 * sunrpc/rpc/rpc_des.h: Likewise.
10430 * sunrpc/rpc/rpc_msg.h: Likewise.
10431 * sunrpc/rpc/svc.h: Likewise.
10432 * sunrpc/rpc/svc_auth.h: Likewise.
10433 * sunrpc/rpc/types.h: Likewise.
10434 * sunrpc/rpc/xdr.h: Likewise.
10435 * sunrpc/rpc_clntout.c: Likewise.
10436 * sunrpc/rpc_cmsg.c: Likewise.
10437 * sunrpc/rpc_common.c: Likewise.
10438 * sunrpc/rpc_cout.c: Likewise.
10439 * sunrpc/rpc_dtable.c: Likewise.
10440 * sunrpc/rpc_hout.c: Likewise.
10441 * sunrpc/rpc_main.c: Likewise.
10442 * sunrpc/rpc_parse.c: Likewise.
10443 * sunrpc/rpc_parse.h: Likewise.
10444 * sunrpc/rpc_prot.c: Likewise.
10445 * sunrpc/rpc_sample.c: Likewise.
10446 * sunrpc/rpc_scan.c: Likewise.
10447 * sunrpc/rpc_scan.h: Likewise.
10448 * sunrpc/rpc_svcout.c: Likewise.
10449 * sunrpc/rpc_tblout.c: Likewise.
10450 * sunrpc/rpc_util.c: Likewise.
10451 * sunrpc/rpc_util.h: Likewise.
10452 * sunrpc/rpcinfo.c: Likewise.
10453 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10454 * sunrpc/rpcsvc/key_prot.x: Likewise.
10455 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10456 * sunrpc/rpcsvc/mount.x: Likewise.
10457 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10458 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10459 * sunrpc/rpcsvc/rex.x: Likewise.
10460 * sunrpc/rpcsvc/rstat.x: Likewise.
10461 * sunrpc/rpcsvc/rusers.x: Likewise.
10462 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10463 * sunrpc/rpcsvc/spray.x: Likewise.
10464 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10465 * sunrpc/rtime.c: Likewise.
10466 * sunrpc/svc.c: Likewise.
10467 * sunrpc/svc_auth.c: Likewise.
10468 * sunrpc/svc_authux.c: Likewise.
10469 * sunrpc/svc_raw.c: Likewise.
10470 * sunrpc/svc_run.c: Likewise.
10471 * sunrpc/svc_simple.c: Likewise.
10472 * sunrpc/svc_tcp.c: Likewise.
10473 * sunrpc/svc_udp.c: Likewise.
10474 * sunrpc/svc_unix.c: Likewise.
10475 * sunrpc/svcauth_des.c: Likewise.
10476 * sunrpc/xcrypt.c: Likewise.
10477 * sunrpc/xdr.c: Likewise.
10478 * sunrpc/xdr_array.c: Likewise.
10479 * sunrpc/xdr_float.c: Likewise.
10480 * sunrpc/xdr_mem.c: Likewise.
10481 * sunrpc/xdr_rec.c: Likewise.
10482 * sunrpc/xdr_ref.c: Likewise.
10483 * sunrpc/xdr_sizeof.c: Likewise.
10484 * sunrpc/xdr_stdio.c: Likewise.
10485
10486 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10487 handling.
10488
10489 2010-08-19 Andreas Schwab <schwab@redhat.com>
10490
10491 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10492
10493 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10494
10495 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10496 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10497 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10498 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10499 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10500 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10501 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10502 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10504 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10505 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10507 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10508 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10509
10510 2010-07-26 Anton Blanchard <anton@samba.org>
10511
10512 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10513 * malloc/arena.c (heap_trim): Likewise.
10514
10515 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10516
10517 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10518 here. Not...
10519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10520 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10521
10522 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10523
10524 * sysdeps/i386/elf/Makefile: New file.
10525
10526 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10527
10528 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10529 from fanotify_init.
10530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10532
10533 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10534
10535 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10536 of strncasecmp_l.
10537 * sysdeps/multiarch/strcmp.S: Likewise.
10538
10539 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10540
10541 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10542 strncase_l-nonascii.
10543 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10544 Add strncase_l-ssse3.
10545 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10546 * sysdeps/x86_64/strcmp.S: Likewise.
10547 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10548 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10549 * sysdeps/x86_64/strncase.S: New file.
10550 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10551 * sysdeps/x86_64/strncase_l.S: New file.
10552 * string/Makefile (strop-tests): Add strncasecmp.
10553 * string/test-strncasecmp.c: New file.
10554
10555 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10556 warning.
10557
10558 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10559 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10560
10561 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10562
10563 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10564
10565 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10566
10567 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10568 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10569 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10570
10571 2010-05-01 Alan Modra <amodra@gmail.com>
10572
10573 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10574 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10575 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10576 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10577 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10578 tidying. Don't tail-call __sigjmp_save for static lib.
10579 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10580 save location.
10581 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10582 (CALL_MCOUNT): Add eh info, and nop after bl.
10583 (TAIL_CALL_SYSCALL_ERROR): New macro.
10584 (PSEUDO_RET): Use it.
10585 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10586 Correct save location of integer regs and cr.
10587 (_dl_profile_resolve): Correct cr save location. Delete nops
10588 after bl when SHARED. Reduce cfi size a little by better
10589 placement of cfi directives.
10590 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10591 make a stack frame. Instead use parm save area as a temp.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10593 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10595 Don't make a stack frame for parent, use parm save area.
10596 Increase child stack frame to 112 bytes. Don't save unused reg,
10597 and adjust reg usage. Set up cfi on error recovery and
10598 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10600 (__makecontext): Add dummy nop after jump to exit.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10602 Use correct parm save area and cr save, reduce stack frame.
10603 Correct cfi for possible PSEUDO_RET frame setup.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10605 Branch to local label emitted by PSEUDO_RET rather than
10606 __syscall_error.
10607
10608 2010-08-12 Andreas Schwab <schwab@redhat.com>
10609
10610 [BZ #11904]
10611 * locale/programs/locale.c (print_assignment): New function.
10612 (show_locale_vars): Use it.
10613
10614 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10615
10616 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10617 field.
10618 (struct statfs64): Likewise.
10619 (_STATFS_F_FLAGS): Define.
10620 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10622 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10623 (ST_VALID): Define locally.
10624 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10625 __statvfs_getflags, use the provided value.
10626 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10627 __ASSUME_STATFS_F_FLAGS.
10628
10629 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10630
10631 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10632 Add sys/fanotify.h.
10633 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10634 fanotify_mask for GLIBC_2.13.
10635 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10636 fanotify_init and fanotify_mark.
10637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10638 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10639
10640 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10641 Add prlimit.
10642 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10643 prlimit64 for GLIBC_2.13.
10644 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10645 prlimit64.
10646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10647 syscall.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10649 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10650 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10651 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10653 add prlimit alias.
10654 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10655
10656 [BZ #11903]
10657 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10658 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10659
10660 * nss/Makefile: Add rules to build and run tst-nss-test1.
10661 * shlib-versions: Add entry for libnss_test1.
10662 * nss/nss_test1.c: New file.
10663 * nss/tst-nss-test1.c: New file.
10664
10665 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10666 (__nss_configure_lookup): Set appropriate entry in
10667 __nss_configure_lookup to true.
10668 * nss/nsswitch.h: Define enum with indeces of databases in
10669 databases and __nss_database_custom arrays. Declare
10670 __nss_database_custom.
10671 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10672 to avoid using nscd when custom rules are installed.
10673 * nss/getXXbyYY_r.c: Likewise.
10674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10675
10676 * nss/nss_files/files-parse.c: Whitespace fixes.
10677
10678 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10679
10680 [BZ #11883]
10681 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10682 * posix/fnmatch_loop.c: Likewise.
10683
10684 2010-07-17 Andi Kleen <ak@linux.intel.com>
10685
10686 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10687 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10688 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10689 * Versions.def [GLIBC_2.13]: Add.
10690
10691 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10692
10693 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10694 Also fail if tpwd after pwuid call is NULL.
10695
10696 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10697
10698 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10699 when converting to ms.
10700
10701 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10702
10703 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10704 EOPNOTSUPP errors with ENOTTY.
10705 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10706 EOPNOTSUPP errors with ENOTTY.
10707
10708 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10709
10710 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10711 Add strcasecmp_l-ssse3.
10712 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10713 strcasecmp.
10714 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10715 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10716 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10717
10718 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10719
10720 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10721
10722 * string/Makefile (strop-tests): Add strcasecmp.
10723 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10724 strcasecmp_l-nonascii.
10725 (gen-as-const-headers): Add locale-defines.sym.
10726 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10727 * sysdeps/x86_64/strcasecmp.S: New file.
10728 * sysdeps/x86_64/strcasecmp_l.S: New file.
10729 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10730 * sysdeps/x86_64/locale-defines.sym: New file.
10731 * string/test-strcasecmp.c: New file.
10732
10733 * string/test-strcasestr.c: Test both ends of the range of characters.
10734 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10735
10736 2010-07-29 Roland McGrath <roland@redhat.com>
10737
10738 [BZ #11856]
10739 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10740
10741 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10742
10743 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10744 for ld.so.
10745
10746 2010-07-27 Andreas Schwab <schwab@redhat.com>
10747
10748 * manual/memory.texi (Malloc Tunable Parameters): Document
10749 M_PERTURB.
10750
10751 2010-07-26 Roland McGrath <roland@redhat.com>
10752
10753 [BZ #11840]
10754 * configure.in (-fgnu89-inline check): Set and substitute
10755 gnu89_inline, not libc_cv_gnu89_inline.
10756 * configure: Regenerated.
10757 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10758
10759 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10760
10761 * string/test-strnlen.c: New file.
10762 * string/Makefile (strop-tests): Add strnlen.
10763 * string/tester.c (test_strnlen): Add a few more test cases.
10764 * string/tst-strlen.c: Better error reporting.
10765
10766 * sysdeps/x86_64/strnlen.S: New file.
10767
10768 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10769
10770 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10771 lower-latency instructions.
10772
10773 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10774
10775 * string/test-strcasestr.c: New file.
10776 * string/test-strstr.c: New file.
10777 * string/Makefile (strop-tests): Add strstr and strcasestr.
10778 * string/str-two-way.h: Don't undefine MAX.
10779 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10780
10781 2010-07-21 Andreas Schwab <schwab@redhat.com>
10782
10783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10784 strcasestr-nonascii.
10785 (CFLAGS-strcasestr-nonascii.c): Define.
10786 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10787 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10788 Remove unused attribute.
10789
10790 2010-07-20 Roland McGrath <roland@redhat.com>
10791
10792 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10793 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10794 ld.so.cache was broken. With it, there is no way to disable dsocaps
10795 like LD_HWCAP_MASK can disable hwcaps.
10796
10797 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10798
10799 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10800
10801 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10802
10803 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10804 call in strcasestr.
10805 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10806 __strcasestr_sse42_nonascii.
10807 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10808 strcasestr-nonascii.c.
10809 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10810
10811 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10812
10813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10814 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10816 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10817
10818 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10819
10820 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10821 fcntl.
10822
10823 2010-07-06 Andreas Schwab <schwab@redhat.com>
10824
10825 [BZ #11577]
10826 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10827 dl_signal_cerror.
10828
10829 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10830
10831 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10832 _PC_PIPE_BUF using F_GETPIPE_SZ.
10833
10834 2010-07-05 Roland McGrath <roland@redhat.com>
10835
10836 * manual/arith.texi (Rounding Functions): Fix rint description
10837 implicit in round description.
10838
10839 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10840
10841 * elf/Makefile: Fix linking for a few tests to make recent linker
10842 happy.
10843
10844 2010-06-30 Andreas Schwab <schwab@redhat.com>
10845
10846 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10847 $(common-objpfx)libc_nonshared.a.
10848
10849 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10850
10851 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10852 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10853 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10854 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10855 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10856 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10857 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10858 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10873 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10874 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10875 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10876 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10877 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10878 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10879 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10880 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10881 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10882 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10883 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10884 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10899
10900 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10901
10902 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10903 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10904 * string/memmove.c (memmove): Renamed to ...
10905 (MEMMOVE): ...this. Default to memmove.
10906 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10907 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10908 (END_CHK): Define.
10909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10910 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10911 mempcpy-ssse3-back memmove-ssse3-back.
10912 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10913 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10915 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10916 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10917 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10918 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10919 * sysdeps/x86_64/multiarch/memmove.c: New file.
10920 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10921 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10922 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10923 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10924 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10926 Define.
10927 (index_Fast_Copy_Backward): Define.
10928 (HAS_ARCH_FEATURE): Define.
10929 (HAS_FAST_REP_STRING): Define.
10930 (HAS_FAST_COPY_BACKWARD): Define.
10931
10932 2010-06-21 Andreas Schwab <schwab@redhat.com>
10933
10934 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10935 Restore proper fallback handling.
10936
10937 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10938
10939 [BZ #11701]
10940 * posix/group_member.c (__group_member): Correct checking loop.
10941
10942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10943 OOM in getpwuid_r correctly. Return error number when the caller
10944 should return, otherwise -1.
10945 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10946 call returning > 0 value.
10947 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10948
10949 2010-06-07 Andreas Schwab <schwab@redhat.com>
10950
10951 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10952 libc_nonshared.a from targets in modules-names.
10953
10954 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10955
10956 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10957 requires it.
10958
10959 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10960
10961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10962 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10965
10966 2010-06-02 Andreas Schwab <schwab@redhat.com>
10967
10968 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10969
10970 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10971
10972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10973 and F_GETPIPE_SZ.
10974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10980
10981 2010-06-14 Roland McGrath <roland@redhat.com>
10982
10983 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10984
10985 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10986
10987 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10988 __REDIRECT followed by __THROW.
10989 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10990 * posix/getopt.h (getopt): Likewise.
10991
10992 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10993
10994 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10995 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10996 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10997 in AT_FLAGS.
10998 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10999 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11000
11001 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11002
11003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11004
11005 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11006
11007 [BZ #11640]
11008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11009 Properly check family and model.
11010
11011 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11012
11013 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11014
11015 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11016
11017 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11018
11019 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11020
11021 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11022 symbol reference.
11023
11024 2010-05-19 Andreas Schwab <schwab@redhat.com>
11025
11026 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11027 symbol reference.
11028
11029 2010-05-21 Andreas Schwab <schwab@redhat.com>
11030
11031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11032 and internal_recvmmsg.
11033 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11034 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11035 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11036 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11037
11038 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11039 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11040 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11041
11042 2010-05-20 Andreas Schwab <schwab@redhat.com>
11043
11044 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11045
11046 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11047
11048 POWER7 optimizations.
11049 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11050 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11051
11052 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11053
11054 * version.h: Update for 2.13 development version.
11055
11056 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11057
11058 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11059 exceptions. Return 0.
11060
11061 2010-05-07 Roland McGrath <roland@redhat.com>
11062
11063 * elf/ldconfig.c (main): Add a const.
11064
11065 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11066
11067 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11068 (args_options): Add no-idn option.
11069 (ahosts_keys_int): Add idn_flags to ai_flags.
11070 (parse_option): Handle 'i' option to clear idn_flags.
11071
11072 * malloc/malloc.c (_int_free): Possible race in the most recently
11073 added check. Only act on the data if no current modification
11074 happened.
11075
11076 See ChangeLog.17 for earlier changes.
This page took 0.494841 seconds and 6 git commands to generate.