]> sourceware.org Git - glibc.git/blob - ChangeLog
Remove xsputn small copy optimization.
[glibc.git] / ChangeLog
1 2012-03-29 David S. Miller <davem@davemloft.net>
2
3 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4 small copies by hand.
5
6 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 [BZ #13761]
9 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10 _nss_compat_initgroups_dyn): Fall back to malloc/free
11 for large group memberships.
12
13 2012-03-28 David S. Miller <davem@davemloft.net>
14
15 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16 that branches into memcpy.
17 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22 bits.
23 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24 implementation too.
25 * sysdeps/sparc/mempcpy.S: New file.
26
27 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28 the IFUNC routine in the libc case.
29 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30
31 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39
40 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41 loop to 256 bytes instead of 64 bytes and fix test signedness.
42
43 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44 * sysdeps/sparc/sparc32/Makefile: rather than here...
45 * sysdeps/sparc/sparc64/Makefile: and here.
46
47 2012-03-28 Ulrich Drepper <drepper@gmail.com>
48
49 * malloc/mallocbug.c: Avoid warnings about unused variables.
50
51 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52
53 [BZ #13760]
54 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55 in the right place. Discard and retry query if response is
56 larger than input buffer size.
57
58 2012-03-28 Joseph Myers <joseph@codesourcery.com>
59
60 [BZ #369]
61 [BZ #2678]
62 [BZ #3866]
63 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64 x for large integer exponent.
65 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
67 sign of result as needed afterwards.
68 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70 result for underflowing pow the same as for overflow.
71 (__kernel_standard_l): Handle powl overflow and underflow here
72 rather than calling __kernel_standard.
73 * math/libm-test.inc (pow_test): Add more tests.
74
75 [BZ #3868]
76 [BZ #13879]
77 [BZ #13910]
78 [BZ #13911]
79 [BZ #13912]
80 [BZ #13913]
81 [BZ #13915]
82 [BZ #13916]
83 [BZ #13917]
84 [BZ #13918]
85 [BZ #13919]
86 [BZ #13920]
87 [BZ #13921]
88 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
89 * sysdeps/ieee754/k_standard.c: Include <float.h>.
90 (__kernel_standard_l): New function.
91 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
92 __kernel_standard.
93 * math/w_acosl.c (__acosl): Likewise.
94 * math/w_asinl.c (__asinl): Likewise.
95 * math/w_atan2l.c (__atan2l): Likewise.
96 * math/w_atanhl.c (__atanhl): Likewise.
97 * math/w_coshl.c (__coshl): Likewise.
98 * math/w_exp10l.c (__exp10l): Likewise.
99 * math/w_exp2l.c (__exp2l): Likewise.
100 * math/w_fmodl.c (__fmodl): Likewise.
101 * math/w_hypotl.c (__hypotl): Likewise.
102 * math/w_j0l.c (__j0l, __y0l): Likewise.
103 * math/w_j1l.c (__j1l, __y1l): Likewise.
104 * math/w_jnl.c (__jnl, __ynl): Likewise.
105 * math/w_lgammal.c (__lgammal): Likewise.
106 * math/w_log10l.c (__log10l): Likewise.
107 * math/w_log2l.c (__log2l): Likewise.
108 * math/w_logl.c (__logl): Likewise.
109 * math/w_powl.c (__powl): Likewise.
110 * math/w_remainderl.c (__remainderl): Likewise.
111 * math/w_scalbl.c (sysv_scalbl): Likewise.
112 * math/w_sinhl.c (__sinhl): Likewise.
113 * math/w_sqrtl.c (__sqrtl): Likewise.
114 * math/w_tgammal.c (__tgammal): Likewise.
115 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
116 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
117 * math/libm-test.inc (acos_test): Add more tests.
118 (acosh_test): Likewise.
119 (asin_test): Likewise.
120 (atanh_test): Likewise.
121 (exp_test): Likewise.
122 (exp10_test): Likewise.
123 (exp2_test): Likewise.
124 (expm1_test): Likewise.
125 (lgamma_test): Likewise.
126 (log_test): Likewise.
127 (log10_test): Likewise.
128 (log1p_test): Likewise.
129 (log2_test): Likewise.
130 (pow_test): Do not allow some spurious overflow exceptions.
131 (sqrt_test): Add more tests.
132 (tgamma_test): Likewise.
133 (y0_test): Likewise.
134 (y1_test): Likewise.
135 (yn_test): Likewise.
136
137 2012-03-27 Anton Blanchard <anton@samba.org>
138
139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
140 MAP_HUGETLB.
141 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
142 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
144
145 2012-03-27 David S. Miller <davem@davemloft.net>
146
147 * conform/Makefile: Run run-conformtest.sh using $(BASH).
148
149 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
150 have-as-vis3 check.
151
152 2012-03-27 Andreas Jaeger <aj@suse.de>
153
154 * sysdeps/x86_64/elf/configure.in: Moved to ...
155 * sysdeps/x86_64/configure.in: ... here.
156 * sysdeps/x86_64/elf/start.S: Moved to ...
157 * sysdeps/x86_64/start.S: ... here.
158 * sysdeps/x86_64/elf/configure: Delete.
159
160 * sysdeps/x86_64/configure.in: Merge contents from
161 sysdeps/i386/configure.in (without i686 check).
162
163 * sysdeps/i386/elf/Versions: Merge into ...
164 * sysdeps/i386/Versions: ... this.
165 * sysdeps/i386/elf/Versions: Delete file.
166 * sysdeps/i386/elf/start.S: Moved to ...
167 * sysdeps/i386/start.S: ...here.
168 * sysdeps/i386/elf/configure.in: Merge into...
169 * sysdeps/i386/configure.in: ...here.
170 * sysdeps/i386/elf/configure.in: Delete file.
171 * sysdeps/i386/elf/configure: Delete file.
172
173 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
174 * debug/backtracesyms.c: ... here.
175 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
176 * debug/backtracesymsfd.c: ... here.
177 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
178 * sysdeps/generic/ifunc-sel.h: ... here.
179
180 * sysdeps/unix/i386/start.c: Delete file.
181 * sysdeps/unix/sparc/start.c: Delete file.
182 * sysdeps/unix/start.c: Delete file.
183
184 * sysdeps/sh/elf/configure.in: Moved to ...
185 * sysdeps/sh/configure.in: ... here.
186 * sysdeps/sh/elf/start.S: Moved to ...
187 * sysdeps/sh/start.S: ... here.
188 * sysdeps/sh/elf/configure: Delete file.
189
190 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
191 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
192 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
193 * sysdeps/powerpc/powerpc64/entry.h: ... here.
194 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
195 * sysdeps/powerpc/powerpc64/start.S: here.
196 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
197 * sysdeps/powerpc/powerpc64/Makefile: ... this.
198 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
199 * sysdeps/powerpc/powerpc64/configure.in: ... this.
200 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
201
202 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
203 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
204 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
205 * sysdeps/powerpc/powerpc32/start.S: ... here.
206 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
207 * sysdeps/powerpc/powerpc32/configure.in: ... this.
208 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
209
210 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
211 * sysdeps/powerpc/ifunc-sel.h: ... here.
212 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
213 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
214
215 * sysdeps/sparc/elf/configure.in: Moved to ...
216 * sysdeps/sparc/configure.in: ... here.
217 * sysdeps/sparc/elf/configure: Delete file.
218 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
219 * sysdeps/sparc/sparc32/start.S: ... here.
220 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
221 * sysdeps/sparc/sparc64/start.S: ... here.
222 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
223 * sysdeps/sparc/sparc32/Makefile: ... this.
224 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
225 * sysdeps/sparc/sparc64/Makefile: ... this.
226
227 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
228 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
229 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
230 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
231 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
232 * sysdeps/s390/s390-32/setjmp.S: ... here.
233 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
234 * sysdeps/s390/s390-32/configure.in: ... here.
235 * sysdeps/s390/s390-32/elf/configure: Delete file.
236 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
237 * sysdeps/s390/s390-32/start.S: ... here.
238
239 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
240 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
241 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
242 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
243 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
244 * sysdeps/s390/s390-64/setjmp.S: ... here.
245 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
246 * sysdeps/s390/s390-64/configure.in: ... here
247 * sysdeps/s390/s390-64/elf/configure: Delete file.
248 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
249 * sysdeps/s390/s390-64/start.S: ... here.
250 * sysdeps/s390/s390-64/elf/configure: Delete.
251
252 * configure.in: Remove support for elf directories in sysdeps.
253
254 * configure: Regenerated.
255 * sysdeps/i386/configure: Regenerated.
256 * sysdeps/powerpc/powerpc32/configure: Regenerated.
257 * sysdeps/powerpc/powerpc64/configure: Regenerated.
258 * sysdeps/s390/s390-32/configure: Regenerated.
259 * sysdeps/s390/s390-64/configure: Regenerated.
260 * sysdeps/sh/configure: Regenerated.
261 * sysdeps/sparc/configure: Regenerated.
262 * sysdeps/x86_64/configure: Regenerated.
263
264 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
265
266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
267
268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
269 denormal result into account.
270
271 2012-03-25 Roland McGrath <roland@hack.frob.com>
272
273 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
274 Reported by Allan McRae <allan@archlinux.org>.
275
276 2012-03-23 Jeff Law <law@redhat.com>
277
278 * nss/getnssent.c (__nss_getent): Fix typo.
279
280 2012-03-23 David S. Miller <davem@davemloft.net>
281
282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
283
284 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
285
286 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
287 to pad to uint64_t for each field.
288 (dl_tls_index): Replace unsigned long with uint64_t.
289
290 2012-03-23 Daniel Jacobowitz <dmj@google.com>
291 Paul Pluzhnikov <ppluzhnikov@google.com>
292
293 [BZ #6528]
294 * grp/Makefile (otherlibs): Don't set it.
295 * inet/Makefile (otherlibs): Likewise.
296 * login/Makefile (otherlibs): Likewise.
297 * nscd/Makefile (otherlibs): Likewise.
298 * posix/Makefile (otherlibs): Likewise.
299 * pwd/Makefile (otherlibs): Likewise.
300 * rt/Makefile (otherlibs): Likewise.
301 * sunrpc/Makefile (otherlibs): Likewise.
302 * nss/Makefile (otherlibs): Likewise.
303 Add libnss_files to routines and static-only-routines.
304 ($(objpfx)getent): Remove rule.
305 * resolv/Makefile: Add libnss_dns and libresolv to routines and
306 static-only-routines.
307
308 2012-03-22 Joseph Myers <joseph@codesourcery.com>
309
310 [BZ #13892]
311 * math/s_cexp.c: Include <float.h>.
312 (__cexp): Handle exp result overflowing not necessarily
313 overflowing both real and imaginary parts of result.
314 * math/s_cexpf.c: Likewise.
315 * math/s_cexpl.c: Likewise.
316 * math/libm-test.inc (cexp_test): Add more tests.
317 * sysdeps/i386/fpu/libm-test-ulps: Update.
318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
319
320 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
321
322 * include/link.h (ELFW): New macro.
323 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
324 Replace ELF64_R_TYPE with ELFW(R_TYPE).
325
326 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
327
328 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
329 with uint64_t.
330
331 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
332
333 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
334 declaration.
335 (struct La_x32_retval): Likewise.
336
337 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
338
339 * sysdeps/x86_64/preconfigure.in: New file.
340 * sysdeps/x86_64/preconfigure: New generated file.
341
342 2012-03-22 Joseph Myers <joseph@codesourcery.com>
343
344 [BZ #13824]
345 * math/e_exp2l.c: Include <float.h>.
346 (__ieee754_exp2l): Handle overflow and underflow cases
347 separately. Only pass fractional part of argument to
348 __ieee754_expl.
349 * math/libm-test.inc (exp2_test): Add more tests.
350
351 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
352 negating x to take absolute value.
353 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
354 Likewise.
355 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
356 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
357 Likewise.
358 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
359 computing low part if x was negated.
360 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
361
362 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
363
364 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
365 la_x32_gnu_pltexit.
366 (pltexit): Cast int_retval to ptrdiff_t.
367 * elf/tst-auditmod3b.c: Likewise.
368 * elf/tst-auditmod4b.c: Likewise.
369 * elf/tst-auditmod5b.c: Likewise.
370 * elf/tst-auditmod6b.c: Likewise.
371 * elf/tst-auditmod6c.c: Likewise.
372 * elf/tst-auditmod7b.c: Likewise.
373
374 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
375 and x32_gnu_pltexit.
376
377 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
378 __ELF_NATIVE_CLASS.
379 (La_x32_regs): New macro.
380 (La_x32_retval): Likewise.
381 (la_x32_gnu_pltenter): New function prototype.
382 (la_x32_gnu_pltexit): Likewise.
383
384 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
385
386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
387 exponent.
388
389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
390
391 * configure.in (libc_cv_cc_nofma): Check for option to disable
392 generation of FMA instructions.
393 * configure: Regenerate.
394 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
395 * sysdeps/ieee754/dbl-64/Makefile: New file.
396 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
397 Remove brandred-fma4.
398 (CFLAGS-brandred-fma4.c): Remove.
399 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
400 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
401 define.
402 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
403 define.
404
405 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
406
407 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
408 LLONG_MAX != LONG_MAX.
409 (_itoa_word): Use _ITOA_WORD_TYPE on value.
410 (_fitoa_word): Likewise.
411 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
412 LLONG_MAX != LONG_MAX.
413 * stdio-common/_itowa.h: Include <_itoa.h>.
414 (_itowa_word): Use _ITOA_WORD_TYPE on value.
415 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
416 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
417 only if not defined.
418 (_ITOA_WORD_TYPE): Likewise.
419 (_itoa_word): Use _ITOA_WORD_TYPE on value.
420 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
421
422 2012-03-21 David S. Miller <davem@davemloft.net>
423
424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
425
426 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
427
428 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
429 of x86_64 when setting libc_cv_slibdir, libdir and
430 libc_cv_localedir.
431 * sysdeps/unix/sysv/linux/configure: Regenerated.
432
433 2012-03-21 Joseph Myers <joseph@codesourcery.com>
434
435 * manual/lang.texi (Old Varargs): Remove section.
436 (How Variadic): Update menu.
437 (va_start): Do not mention varargs.h.
438
439 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
440 Joseph Myers <joseph@codesourcery.com>
441
442 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
443 link test.
444 * configure: Regenerated.
445
446 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
447
448 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
449 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
450 conformtest.pl
451
452 2012-03-21 Joseph Myers <joseph@codesourcery.com>
453
454 * NOTES: Remove.
455 * Makefile (files-for-dist): Remove NOTES.
456 (NOTES): Remove rule.
457 * README: Don't refer to NOTES.
458 * manual/creature.texi: Don't include macros.texi.
459 * manual/intro.texi (creature.texi): Remove comment referring to
460 NOTES.
461
462 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
463 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
464 * configure: Regenerated.
465 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
466 LIBC_TRY_CC_OPTION.
467 (libc_cv_as_i686): Likewise.
468 (libc_cv_cc_avx): Likewise.
469 (libc_cv_cc_sse2avx): Likewise.
470 (libc_cv_cc_fma4): Likewise.
471 (libc_cv_cc_novzeroupper): Likewise.
472 * sysdeps/i386/configure: Regenerated.
473
474 [BZ #13883]
475 * sysdeps/i386/fpu/s_cexp.S: Remove.
476 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
477 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
478 * math/libm-test.inc (cexp_test): Add more tests.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
481
482 2012-03-21 Allan McRae <allan@archlinux.org>
483
484 * timezone/Makefile: Do not install iso3166.tab and zone.tab
485
486 2012-03-21 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #13871]
489 * math/w_exp2.c: Do not include <float.h>.
490 (o_threshold, u_threshold): Remove.
491 (__exp2): Calculate result before checking finiteness and calling
492 __kernel_standard.
493 * math/w_exp2f.c: Likewise.
494 * math/w_exp2l.c: Likewise.
495 * math/libm-test.inc (exp2_test): Require overflow exception for
496 1e6 input.
497
498 [BZ #3866]
499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
500 range of signed 64-bit integers before using fistpll. Remove
501 checks for whether integers fit in mantissa bits.
502 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
503 the range of signed 32-bit integers before using fistpl. Remove
504 checks for whether integers fit in mantissa bits.
505 * sysdeps/i386/fpu/e_powl.S (p64): New object.
506 (__ieee754_powl): Test for y outside the range of signed 64-bit
507 integers before using fistpll. Reduce 64-bit values to 63-bit
508 ones as needed.
509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
510 divide-by-zero is raised for zero to large negative powers.
511 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
512 (__ieee754_powl): Test for y outside the range of signed 64-bit
513 integers before using fistpll. Reduce 64-bit values to 63-bit
514 ones as needed.
515 * math/libm-test.inc (pow_test): Add more tests.
516
517 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
518
519 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
520 <stdio-common/_itoa.h>.
521 * debug/segfault.c: Likewise.
522 * elf/dl-cache.c: Likewise.
523 * elf/dl-minimal.c: Likewise.
524 * elf/dl-misc.c: Likewise.
525 * elf/dl-sysdep.c: Likewise.
526 * elf/dl-version.c: Likewise.
527 * elf/rtld.c: Likewise.
528 * hurd/hurdsock.c: Likewise.
529 * hurd/lookup-retry.c: Likewise.
530 * malloc/malloc.c: Likewise.
531 * malloc/mtrace.c: Likewise.
532 * nscd/nscd_getgr_r.c: Likewise.
533 * nscd/nscd_getpw_r.c: Likewise.
534 * nscd/nscd_getserv_r.c: Likewise.
535 * posix/getopt_init.c: Likewise.
536 * posix/wordexp.c: Likewise.
537 * stdio-common/_itoa.c: Likewise.
538 * stdio-common/printf_fphex.c: Likewise.
539 * stdio-common/vfprintf.c: Likewise.
540 * string/_strerror.c: Likewise.
541 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
542 * sysdeps/i386/i686/hp-timing.h: Likewise.
543 * sysdeps/mach/_strerror.c: Likewise.
544 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
545 * sysdeps/mach/hurd/sethostid.c: Likewise.
546 * sysdeps/mach/hurd/xmknodat.c: Likewise.
547 * sysdeps/mach/xpg-strerror.c: Likewise.
548 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
550 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
551 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
552 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
553 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
554 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
555 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
556 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
557 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
558 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
559 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
560 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
561 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
562 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
563 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
564 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
565 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
566 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
567 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
569
570 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
571
572 * stdio-common/_itoa.h: Moved to ...
573 * sysdeps/generic/_itoa.h: Here.
574
575 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
576
577 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
578 instead of "_itoa.h" and "_itowa.h".
579 * stdio-common/vfprintf.: Likewise.
580
581 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
582
583 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
584 <bits/wordsize.h>.
585 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
586 (__signbit): Likwise.
587 (llrintf): Likwise.
588 (llrint): Likwise.
589
590 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
591
592 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
593 __WORDSIZE != 64.
594
595 2012-03-20 Joseph Myers <joseph@codesourcery.com>
596
597 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
598 OVERFLOW_EXCEPTION_OK.
599 * math/libm-test.inc ("Philosophy"): Update comment about
600 exception testing.
601 (OVERFLOW_EXCEPTION): Define.
602 (OVERFLOW_EXCEPTION_OK): Likewise.
603 (INVALID_EXCEPTION_OK): Renumber.
604 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
605 (IGNORE_ZERO_INF_SIGN): Likewise.
606 (test_exceptions): Handle FE_OVERFLOW.
607 (exp10_test): Expect overflow exceptions.
608 (exp2_test): Likewise.
609 (expm1_test): Likewise.
610 (nextafter_test): Likewise.
611 (pow_test): Likewise.
612 (scalbn_test): Likewise.
613 (scalbln_test): Likewise.
614
615 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
616
617 * sysdeps/x86_64/bits/atomic.h
618 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
619 64bit integer.
620 (atomic_exchange_acq): Likewise.
621 (__arch_exchange_and_add_body): Likewise.
622 (__arch_add_body): Likewise.
623 (atomic_add_negative): Likewise.
624 (atomic_add_zero): Likewise.
625
626 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
627
628 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
629 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
630
631 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
632
633 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
634 Check __x86_64__ instead of __WORDSIZE.
635
636 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
637
638 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
639
640 2012-03-19 David S. Miller <davem@davemloft.net>
641
642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
643
644 * sysdeps/sparc/fpu/fenv_private.h: New file.
645 * sysdeps/sparc/fpu/math_private.h: Use it.
646 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
647 Remove.
648 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
649 (libc_feholdexcept_setroundl): Remove.
650 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
651 Remove.
652 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
653 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
654
655 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
656
657 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
658 int64_t instead of long int.
659 (INSERT_WORDS64): Likwise.
660
661 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
662
663 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
664 _Unwind_GetCFA return to _Unwind_Ptr first.
665
666 2012-03-19 Joseph Myers <joseph@codesourcery.com>
667
668 [BZ #13629]
669 * math/s_clog.c: Include <float.h>.
670 (__clog): Scale large or subnormal inputs.
671 * math/s_clogf.c: Likewise.
672 * math/s_clogl.c: Likewise.
673 * math/s_clog10.c: Include <float.h>.
674 (M_LOG10_2): Define.
675 (__clog10): Scale large or subnormal inputs.
676 * math/s_clog10f.c: Likewise.
677 * math/s_clog10l.c: Likewise.
678 * math/libm-test.inc (clog_test): Add more tests.
679 (clog10_test): Likewise.
680 * sysdeps/i386/fpu/libm-test-ulps: Update.
681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
682
683 [BZ #11451]
684 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
685 x and y.
686 * math/libm-test.inc (atan2_test): Add another test.
687
688 * Makerules (common-objdir-compile): Remove.
689 * sysdeps/unix/Makefile (config-generated): Do not add
690 $(unix-generated) to variable.
691 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
692 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
693 Remove rule.
694 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
695 Likewise.
696 [generic bits/local_lim.h] (before-compile): Do not append to
697 variable.
698 [generic bits/local_lim.h] (common-generated): Likewise.
699 [generic sys/param.h] (before-compile): Do not append to variable.
700 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
701 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
702 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
703 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
704 include.
705 [generic sys/param.h] (sys/param.h-includes): Remove variable.
706 [generic sys/param.h] (sys/param.h-includes): Remove rule.
707 [generic sys/param.h] ($(addprefix
708 $(common-objpfx),$(sys/param.h-includes))): Likewise.
709 [generic sys/param.h] (common-generated): Do not append to
710 variable.
711 [generic sys/param.h] (sysdep_headers): Likewise.
712 [generic bits/errno.h] (before-compile): Do not append to
713 variable.
714 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
715 rule.
716 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
717 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
718 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
719 [generic bits/errno.h] (common-generated): Do not append to
720 variable.
721 [generic bits/ioctls.h] (before-compile): Do not append to
722 variable.
723 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
724 rule.
725 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
726 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
727 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
728 rule.
729 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
730 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
731 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
732 [generic bits/ioctls.h] (common-generated): Do not append to
733 variable.
734 [generic sys/syscall.h] (syscall.h): Remove variable.
735 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
736 rule.
737 [generic sys/syscall.h] (before-compile): Do not append to
738 variable.
739 [generic sys/syscall.h] (common-generated): Likewise.
740 * sysdeps/unix/errnos-tmpl.c: Remove file.
741 * sysdeps/unix/errnos.awk: Likewise.
742 * sysdeps/unix/ioctls-tmpl.c: Likewise.
743 * sysdeps/unix/ioctls.awk: Likewise.
744 * sysdeps/unix/mk-local_lim.c: Likewise.
745 * sysdeps/unix/snarf-ioctls: Likewise.
746
747 2012-03-19 Richard Henderson <rth@twiddle.net>
748
749 * sysdeps/i386/fpu/fenv_private.h: New file.
750 * sysdeps/i386/fpu/math_private.h: Use it.
751 (math_opt_barrier, math_force_eval): Remove.
752 (libc_feholdexcept_setround_53bit): Remove.
753 (libc_feupdateenv_53bit): Remove.
754 * sysdeps/x86_64/fpu/math_private.h: Likewise.
755 (math_opt_barrier, math_force_eval): Remove.
756 (libc_feholdexcept): Remove.
757 (libc_feholdexcept_setround): Remove.
758 (libc_fetestexcept, libc_fesetenv): Remove.
759 (libc_feupdateenv_test): Remove.
760 (libc_feupdateenv, libc_feholdsetround): Remove.
761 (libc_feresetround): Remove.
762
763 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
764 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
765
766 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
767 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
768 (libc_feupdateenv_testl): New.
769 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
770 (libc_feupdateenv_testf): New.
771 (libc_feupdateenv): Use libc_feupdateenv_test.
772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
774
775 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
776 (libc_feholdsetroundf, libc_feholdsetroundl): New.
777 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
778 (libc_feresetround_noex): New.
779 (libc_feresetround_noexf): New.
780 (libc_feresetround_noexl): New.
781 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
782 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
783 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
784 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
785 SET_RESTORE_ROUND.
786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
788 (__cos): Likewise.
789 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
790 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
791 SET_RESTORE_ROUND_NOEX.
792 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
793 SET_RESTORE_ROUND_NOEXF.
794 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
795 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
796 (libc_feholdsetroundf): New.
797 (libc_feresetround, libc_feresetroundf): New.
798
799 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
800 (libc_feholdexcept_setround_53bit): Convert from macro to function.
801 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
802
803 * sysdeps/generic/math_private.h: Include <fenv.h>.
804 (default_libc_feholdexcept): New.
805 (default_libc_feholdexcept_setround): New.
806 (default_libc_fesetenv, default_libc_feupdateenv): New.
807 (libc_feholdexcept): Only define if undefined.
808 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
809 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
810 (libc_feholdexcept_setroundl): Likewise.
811 (libc_feholdexcept_setround_53bit): Likewise.
812 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
813 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
814 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
815 (libc_feupdateenv_53bit): Likewise.
816 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
817 (libc_feholdexcept): Convert from macro to inline function.
818 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
819 (libc_fesetenv, libc_feupdateenv): Likewise.
820
821 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
822 not previously defined.
823 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
824 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
825 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
826 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
827 * sysdeps/ieee754/flt-32/math_private.h: New file.
828 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
829 math_private.h below SET_FLOAT_WORD.
830 (__isnan, __isinf_ns, __finite): Remove.
831 (__isnanf, __isinf_nsf, __finitef): Remove.
832
833 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
834
835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
836
837 2012-03-17 David S. Miller <davem@davemloft.net>
838
839 [BZ #6471]
840 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
841 for 2.16.
842
843 2012-03-16 David S. Miller <davem@davemloft.net>
844
845 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
846 warnings.
847
848 [BZ #6471]
849 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
850 properly.
851 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
852 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
853 sysdep_routines when subdir is sysvipc.
854 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
855 __getshmlba helper.
856
857 * sysdeps/sparc/fpu/libm-test/ulps: Update.
858
859 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
860
861 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
862 [__LP64__].
863
864 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
865
866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
867 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
868 (__lround): Renamed to ...
869 (__llround): This. Replace long int with long long int.
870 Define lround functions as aliases of llround functions.
871 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
872
873 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
874
875 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
876 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
877 adresses to uintptr_t. Replace "long int" and "unsigned long
878 int" with "greg_t" on va_arg.
879
880 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
881
882 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
883 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
884
885 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
886 Move e_machine check before EI_CLASS check. Handle x32
887 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
888 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
889 SKIP_EM_IA_64 and include
890 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
891
892 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
893 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
894 (add_system_dir): New macro.
895
896 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
897 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
898
899 2012-03-16 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #2551]
902 [BZ #2552]
903 [BZ #2553]
904 [BZ #2554]
905 [BZ #2562]
906 [BZ #2563]
907 [BZ #2565]
908 [BZ #2566]
909 [BZ #2576]
910 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
911 (y0): Likewise.
912 * math/w_j0f.c (j0f): Likewise.
913 (y0f): Likewise.
914 * math/w_j0l.c (__j0l): Likewise.
915 (__y0l): Likewise.
916 * math/w_j1.c (j1): Likewise.
917 (y1): Likewise.
918 * math/w_j1f.c (j1f): Likewise.
919 (y1f): Likewise.
920 * math/w_j1l.c (__j1l): Likewise.
921 (__y1l): Likewise.
922 * math/w_jn.c (jn): Likewise.
923 (yn): Likewise.
924 * math/w_jnf.c (jnf): Likewise.
925 (ynf): Likewise.
926 * math/w_jnl.c (__jnl): Likewise.
927 (__ynl): Likewise.
928 * math/libm-test.inc (j0_test): Add more tests.
929 (j1_test): Likewise.
930 (jn_test): Likewise. Add trailing semicolon to existing test.
931 (y0_test): Likewise.
932 (y1_test): Likewise.
933 * sysdeps/i386/fpu/libm-test-ulps: Update.
934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935
936 [BZ #13851]
937 [BZ #13854]
938 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
939 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
940 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
941 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
942 (__tanl): Set errno for infinite argument.
943 * sysdeps/i386/fpu/mptan.c: Remove.
944 * sysdeps/i386/fpu/s_tan.S: Likewise.
945 * sysdeps/i386/fpu/s_tanl.S: Likewise.
946 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
947 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
948 * math/libm-test.inc (tan_test): Add more tests and enable more
949 tests for double and long double.
950 * sysdeps/i386/fpu/libm-test-ulps: Update.
951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
952
953 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
954
955 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
956 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
957
958 2012-03-16 Roland McGrath <roland@hack.frob.com>
959
960 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
961 * configure.in: Use it for both main tree and add-ons.
962 * configure: Regenerated.
963
964 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
965
966 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
967
968 2012-03-16 Joseph Myers <joseph@codesourcery.com>
969
970 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
971 in comment.
972
973 [BZ #13851]
974 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
975 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
976 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
977 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
978 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
979 infinite argument.
980 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
982 != 0 for prec == 2.
983 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
984 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
985 * sysdeps/i386/fpu/s_cosl.S: Likewise.
986 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
987 * sysdeps/i386/fpu/s_sinl.S: Likewise.
988 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
989 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
990 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
991 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
992 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
993 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
994 * math/libm-test.inc (cos_test): Add more tests and enable more
995 tests for long double.
996 (sin_test): Likewise.
997 (sincos_test): Likewise.
998 * sysdeps/i386/fpu/libm-test-ulps: Update.
999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1000
1001 2012-03-16 David S. Miller <davem@davemloft.net>
1002
1003 * sysdeps/sparc/fpu/math_private.h: New file.
1004
1005 2012-03-15 David S. Miller <davem@davemloft.net>
1006
1007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1008 file.
1009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1011 file.
1012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1018 sysdep routines.
1019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1020
1021 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1022 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1023
1024 * sysdeps/sparc/sparc-ifunc.h: New file.
1025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1026 sparc-ifunc.h
1027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1029 Likewise.
1030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1031 Likewise.
1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1036 Likewise.
1037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1042 Likewise.
1043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1044 Likewise.
1045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1068 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1069
1070 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1071
1072 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1073 scaling.
1074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1075
1076 2012-03-15 Andreas Jaeger <aj@suse.de>
1077
1078 [BZ #13852]
1079 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1080 ieee754/flt-32 implementation for sin, cos and sincos.
1081 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1082 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1083 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1084 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1085 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1086 ieee754/flt-32 implementation for tan.
1087
1088 * math/libm-test.inc (cos_test): Enable some large input tests for
1089 float as well
1090 (sin_test): Likewise.
1091 (sincos_test): Likewise.
1092 (tan_test): Add tests for large input.
1093
1094 * sysdeps/i386/fpu/libm-test-ulps: Update.
1095
1096 2012-03-15 Andreas Jaeger <aj@suse.de>
1097
1098 [BZ #13658]
1099 * math/libm-test.inc (cos_test): Add more test cases.
1100 (sin_test): Likewise.
1101 (sincos_test): Likewise.
1102
1103 2012-03-15 Andreas Jaeger <aj@suse.de>
1104
1105 [BZ #13837]
1106 * math/libm-test.inc (cos_test): Add a test case for large input
1107 value.
1108 (sin_test): Likewise.
1109 (sincos_test): Likewise.
1110
1111 2012-03-15 Andreas Jaeger <aj@suse.de>,
1112 Joseph Myers <joseph@codesourcery.com>
1113
1114 [BZ #13658]
1115 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1116 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1117 * sysdeps/i386/fpu/branred.c: Likewise.
1118 * sysdeps/i386/fpu/dosincos.c: Likewise.
1119 * sysdeps/i386/fpu/mpa.c: Likewise.
1120 * sysdeps/i386/fpu/s_cos.S: Likewise.
1121 * sysdeps/i386/fpu/s_sin.S: Likewise.
1122 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1123 * sysdeps/i386/fpu/sincos32.c: Likewise.
1124
1125 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1126 Define.
1127 (libc_feupdateenv_53bit): Define.
1128 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1129 Define.
1130 (libc_feupdateenv_53bit): Define.
1131
1132 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1133 53 bit (without extend i386 double precision).
1134
1135 * math/libm-test.inc (sincos_test): Add tests for large input.
1136 (sin): Likewise.
1137 (cos): Likewise.
1138
1139 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1140
1141 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1142
1143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1144
1145 2012-03-15 David S. Miller <davem@davemloft.net>
1146
1147 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1148 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1149 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1150 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1163 file.
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1166 file.
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1169 file.
1170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1172 file.
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1175 fmin/fmax sysdep routines.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1177
1178 2012-03-14 David S. Miller <davem@davemloft.net>
1179
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1209 routines.
1210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1211 file.
1212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1214 file.
1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1217 file.
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1220 file.
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1223 file.
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1226 file.
1227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1228 file.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1230 file.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1232 file.
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1234 New file.
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1236 file.
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1238 file.
1239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1241 file.
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1244 file.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1247 file.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1250 VIS3 routines.
1251
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1253 New file.
1254
1255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1256
1257 * sysdeps/sparc/configure.in: New file.
1258 * sysdeps/sparc/configure: Generate.
1259 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1260 * configure: Regenerate.
1261 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1262 * config.make.in (have-as-vis3): New.
1263 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1264 available use -Av9d instead of -Av9a.
1265 * sysdeps/sparc/sparc64/Makefile: Likewise.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1268 New file.
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1270 file.
1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1272 New file.
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1274 file.
1275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1277 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1279 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1280
1281 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1282 fzeros/fnegs to load 0x80000000 into a float register instead of
1283 using the stack.
1284 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1285
1286 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1287
1288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1289 bits/syscall.h.
1290 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1291 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1292 ($(inst_includedir)/bits/syscall.h): Remove rule.
1293 ($(objpfx)bits/syscall.d): Include instead of
1294 $(objpfx)syscall-list.d.
1295 (generated): Change syscall-list.h and syscall-list.d to
1296 bits/syscall.h and bits/syscall.d.
1297
1298 2012-03-14 Roland McGrath <roland@hack.frob.com>
1299
1300 [BZ #13846]
1301 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1302
1303 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1304
1305 [BZ #13841]
1306 * math/s_csqrt.c: Include <float.h>.
1307 (__csqrt): Scale large or subnormal inputs.
1308 * math/s_csqrtf.c: Likewise.
1309 * math/s_csqrtl.c: Likewise.
1310 * math/libm-test.inc (csqrt_test): Add more tests.
1311 * sysdeps/i386/fpu/libm-test-ulps: Update.
1312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1313
1314 [BZ #13840]
1315 * math/libm-test.inc (hypot_test): Add more tests.
1316
1317 2012-03-13 David S. Miller <davem@davemloft.net>
1318
1319 [BZ #13840]
1320 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1321 double-precision for the calculation instead of scaling.
1322
1323 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1324
1325 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1326 manipulate bits before adding and subtracting TWO52[sx].
1327 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1328 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1329 Likewise.
1330 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1331
1332 2012-03-13 David S. Miller <davem@davemloft.net>
1333
1334 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1335 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1337 rtld-global-offsets.h
1338 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1339
1340 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1341 large parameters.
1342
1343 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1344
1345 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1346 'err' in the ifdef scope in which it is actually used.
1347
1348 * nss/nss_db/db-init.c: Include string.h
1349
1350 2012-03-12 David S. Miller <davem@davemloft.net>
1351
1352 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1353 masking out of the most significant byte of random value used.
1354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1355 Fix coding style in previous change.
1356
1357 * sysdeps/unix/sysv/linux/kernel-features.h
1358 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1359 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1360 expression.
1361 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1362 later.
1363
1364 2012-03-11 David S. Miller <davem@davemloft.net>
1365
1366 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1367 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1369 for 'resultvar' otherwise things get truncated on 64-bit.
1370
1371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1372 Fix masking out of the most significant byte of random value used.
1373
1374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1375
1376 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1377
1378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1379
1380 2012-03-09 David S. Miller <davem@davemloft.net>
1381
1382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1383 variables with appropriate CPP guards.
1384 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1385 frame pointer, not the stack pointer. Correct layout comments. Fix test
1386 on resulting framesize and the management of the outregs buffer for pltexit.
1387 Preserve floating point return values across _dl_call_pltexit call.
1388 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1389 framesize and the management of the outregs buffer for pltexit.
1390 Preserve floating point return values across _dl_call_pltexit
1391 call.
1392 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1393 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1394 (print_exit): Fix format string for return register value.
1395
1396 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1397
1398 * sunrpc/Makefile (others): Add rpcgen.
1399 ($(objpfx)rpcgen): Remove special build rule and dependency on
1400 libc.
1401 * sunrpc/rpcgen.c: New file.
1402
1403 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1404
1405 [BZ #13673]
1406 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1407 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1408 * sysdeps/i386/crti.S: Likewise.
1409 * sysdeps/i386/crtn.S: Likewise.
1410 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1411 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1412 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1413 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1414 * sysdeps/sh/crti.S: Likewise.
1415 * sysdeps/sh/crtn.S: Likewise.
1416 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1417
1418 [BZ #13673]
1419 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1420 with URL.
1421 * locale/programs/locfile-kw.gperf: Likewise.
1422 * locale/programs/charmap-kw.h: Regenerated.
1423 * locale/programs/locfile-kw.h: Likewise.
1424
1425 [BZ #13673]
1426 * intl/plural.y: Replace FSF snail mail address with URL.
1427 * intl/plural.c: Regenerated.
1428
1429 2012-03-09 Richard Henderson <rth@twiddle.net>
1430
1431 * include/math_private.h: Remove file.
1432 * math/math_private.h: Move file ...
1433 * sysdeps/generic/math_private.h: ... here.
1434
1435 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1436 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1437 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1438
1439 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1440 and <math_private.h>.
1441 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1442 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1443 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1444 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1445 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1446 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1449 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1450 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1452 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1456 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1457 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1458 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1465 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1466 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1467 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1529 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1530 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1531 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1532 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1533 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1534 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1535 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1536 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1537 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1538 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1539 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1540 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1541 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1542 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1543 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1544 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1545 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1546 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1547 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1548 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1549 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1551 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1552 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1553 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1554 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1555 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1556 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1560 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1561 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1563 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1564 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1565 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1566 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1567 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1568 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1569 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1572 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1574 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1575 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1576 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1580 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1581 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1582 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1584 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1585 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1586 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1588 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1589 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1590 * sysdeps/ieee754/k_standard.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1706 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1710 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1711 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1713 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1718 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1723 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1751 * sysdeps/ieee754/s_lib_version.c: Likewise.
1752 * sysdeps/ieee754/s_matherr.c: Likewise.
1753 * sysdeps/ieee754/s_signgam.c: Likewise.
1754 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1755 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1756 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1757 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1758 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1759 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1760 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1761 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1762 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1763 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1764 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1765 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1766 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1767 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1768 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1769 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1770 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1771 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1772 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1774 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1775
1776 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1777
1778 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1779 * sunrpc/rpc_main.c: Likewise.
1780 * sunrpc/rpc_svcout.c: Likewise.
1781
1782 2012-03-09 David S. Miller <davem@davemloft.net>
1783
1784 * include/math_private.h: New file.
1785
1786 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1787
1788 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1789 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1790 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1791 from <bits/socket_type.h>.
1792 (enum __socket_type): Don't define here.
1793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1795 bits/socket_type.h.
1796
1797 [BZ #13566]
1798 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1799 checking __USE_GNU.
1800
1801 * Makerules ($(inst_includedir)/%.h): New rule.
1802 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1803 (install-others): Remove variable setting.
1804 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1805
1806 2012-03-08 Richard Henderson <rth@twiddle.net>
1807
1808 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1809 from macro to inline function; merge with the
1810 !__LIBC_INTERNAL_MATH_INLINES version.
1811 (__ieee754_sqrtf): Likewise.
1812
1813 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1814 to inline function.
1815 (__rintf, __floor, __floorf): Likewise.
1816
1817 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1818 macro to inline function.
1819 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1820
1821 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1822 not <math/math_private.h>.
1823
1824 2012-03-08 David S. Miller <davem@davemloft.net>
1825
1826 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1827 copyright year.
1828 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1829
1830 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1831
1832 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1833 normalization.
1834 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1835 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1836
1837 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1838
1839 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1840 be defined individually, they must be defined as a block. Define
1841 S for printing a string instead of hidint the different by using a
1842 macro for adding the 'l'.
1843 * stdio-common/tst-fphex-wide.c: Adjust.
1844
1845 2012-03-07 Marek Polacek <polacek@redhat.com>
1846
1847 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1848
1849 2012-03-08 Marek Polacek <polacek@redhat.com>
1850
1851 [BZ #13806]
1852 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1853 * stdio-common/tst-fphex.c: Define a few macros to make the
1854 test reusable. Use them.
1855 * stdio-common/tst-fphex-wide.c: New file.
1856
1857 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1858
1859 [BZ #6911]
1860 * manual/macros.texi (gnusystems): New macro.
1861 (nongnusystems): Likewise.
1862 (gnulinuxhurdsystems): Likewise.
1863 (gnuhurdsystems): Likewise..
1864 (gnulinuxsystems): Likewise.
1865 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1866 variants of the GNU system, not "GNU system".
1867 * manual/conf.texi: Likewise.
1868 * manual/errno.texi: Likewise. Update example of errno macro
1869 expansion.
1870 * manual/filesys.texi: Likewise.
1871 (getumask): Document as specific to GNU/Hurd.
1872 * manual/install.texi: Likewise. Reword some references to
1873 GNU/Linux.
1874 * manual/intro.texi: Likewise.
1875 * manual/io.texi: Likewise.
1876 (File Name Portability): Detail which constraints are inapplicable
1877 to all GNU systems and which are only inapplicable to GNU/Hurd.
1878 * manual/job.texi: Likewise.
1879 * manual/llio.texi: Likewise.
1880 (O_NOCTTY): Document as present on GNU/Linux.
1881 * manual/maint.texi: Likewise.
1882 * manual/memory.texi: Likewise.
1883 * manual/pattern.texi: Likewise.
1884 * manual/pipe.texi: Likewise.
1885 * manual/process.texi: Likewise.
1886 * manual/resource.texi: Likewise.
1887 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1888 child on GNU/Hurd.
1889 * manual/setjmp.texi: Likewise.
1890 * manual/signal.texi: Likewise.
1891 * manual/startup.texi: Likewise.
1892 * manual/stdio.texi: Likewise.
1893 * manual/terminal.texi: Likewise.
1894 (ONLCR): Document as POSIX.
1895 (OXTABS): Document availability on GNU/Linux as XTABS.
1896 (ONOEOT): Document availability separately from other bits.
1897 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1898 * manual/time.texi: Likewise.
1899 * manual/users.texi: Likewise.
1900 * INSTALL: Regenerated.
1901 * sysdeps/gnu/errlist.c: Regenerated.
1902
1903 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1904 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1905 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1906 puts.
1907 * configure: Regenerated.
1908
1909 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1910
1911 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1912 default includes instead of AC_HEADER_CHECK.
1913 * sysdeps/i386/configure: Regenerated.
1914
1915 [BZ #10716]
1916 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1917 * math/s_cacoshf.c (__cacoshf): Likewise.
1918 * math/s_cacoshl.c (__cacoshl): Likewise.
1919 * math/s_casinh.c (__casinh): Set signs of result from argument.
1920 * math/s_casinhf.c (__casinhf): Likewise.
1921 * math/s_casinhl.c (__casinhl): Likewise.
1922 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1923 (casinh_test): Add more tests.
1924 * sysdeps/i386/fpu/libm-test-ulps: Update.
1925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1926
1927 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1928
1929 * po/zh_TW.po: Update from translation team.
1930
1931 * login/Makefile (distribute): Remove variable.
1932 * catgets/Makefile: Likewise.
1933 * mach/Makefile: Likewise.
1934 * malloc/Makefile: Likewise.
1935 * misc/Makefile: Likewise.
1936 * iconv/Makefile: Likewise.
1937 * nscd/Makefile: Likewise.
1938 * hurd/Makefile: Likewise.
1939 * manual/Makefile: Likewise.
1940 * locale/Makefile: Likewise.
1941 * intl/Makefile: Likewise.
1942 * conform/Makefile: Likewise.
1943 * nss/Makefile: Likewise.
1944 * time/Makefile: Likewise.
1945 * soft-fp/Makefile: Likewise.
1946 * dirent/Makefile: Likewise.
1947 * gmon/Makefile: Likewise.
1948 * po/Makefile: Likewise.
1949 * rt/Makefile: Likewise.
1950 * socket/Makefile: Likewise.
1951 * math/Makefile: Likewise.
1952 * signal/Makefile: Likewise.
1953 * debug/Makefile: Likewise.
1954 * elf/Makefile: Likewise.
1955 * timezone/Makefile: Likewise.
1956 * stdlib/Makefile: Likewise.
1957 * iconvdata/Makefile: Likewise.
1958 * sunrpc/Makefile: Likewise.
1959 * io/Makefile: Likewise.
1960 * argp/Makefile: Likewise.
1961 * inet/Makefile: Likewise.
1962 * hesiod/Makefile: Likewise.
1963 * grp/Makefile: Likewise.
1964 * csu/Makefile: Likewise.
1965 * wctype/Makefile: Likewise.
1966 * crypt/Makefile: Likewise.
1967 * libio/Makefile: Likewise.
1968 * string/Makefile: Likewise.
1969 * nis/Makefile: Likewise.
1970 * resolv/Makefile: Likewise.
1971 * stdio-common/Makefile: Likewise.
1972 * wcsmbs/Makefile: Likewise.
1973 * dlfcn/Makefile: Likewise.
1974 * posix/Makefile: Likewise.
1975
1976 * timezone/Makefile: Don't install timezone files, just the programs
1977 and scripts.
1978
1979 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1980
1981 * nss/databases.def: Add missing gshadow entry.
1982
1983 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1984
1985 2012-03-06 Marek Polacek <polacek@redhat.com>
1986
1987 [BZ #13726]
1988 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1989 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1990 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1991 * stdio-common/tst-long-dbl-fphex.c: New file.
1992
1993 2012-03-06 David S. Miller <davem@davemloft.net>
1994
1995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1996 (set_obp_int): New function.
1997 (get_obp_int): New function.
1998 (__get_clockfreq_via_dev_openprom): Likewise.
1999 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2000 Avoid unused variable warnings on 'val' and use builtin_expect.
2001 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2002 __builtin_expect.
2003 (INLINE_CLONE_SYSCALL): Likewise.
2004
2005 2012-03-05 David S. Miller <davem@davemloft.net>
2006
2007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2008
2009 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2010
2011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012
2013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2014 only for |x| >= 40.
2015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2016
2017 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2020 Replace gettimeofday with __vdso_gettimeofday.
2021
2022 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2023 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2024 __vdso_clock_gettime and __vdso_getcpu.
2025
2026 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2027 time with __vdso_time.
2028
2029 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2030
2031 * manual/lang.texi (size_t): Note types to which size_t may be
2032 equivalent with the GNU C Library, but do not describe when
2033 differences between them are significant.
2034
2035 2012-03-05 Andreas Jaeger <aj@suse.de>
2036
2037 * sysdeps/i386/fpu/libm-test-ulps: Update.
2038
2039 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2040
2041 [BZ #3976]
2042 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2043 (__ieee754_pow): Save and restore rounding mode and use
2044 round-to-nearest for main computations.
2045 * math/libm-test.inc (pow_test_tonearest): New function.
2046 (pow_test_towardzero): Likewise.
2047 (pow_test_downward): Likewise.
2048 (pow_test_upward): Likewise.
2049 (main): Call the new functions.
2050 * sysdeps/i386/fpu/libm-test-ulps: Update.
2051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2052
2053 [BZ #3976]
2054 * math/libm-test.inc (cosh_test_tonearest): New function.
2055 (cosh_test_towardzero): Likewise.
2056 (cosh_test_downward): Likewise.
2057 (cosh_test_upward): Likewise.
2058 (sinh_test_tonearest): Likewise.
2059 (sinh_test_towardzero): Likewise.
2060 (sinh_test_downward): Likewise.
2061 (sinh_test_upward): Likewise.
2062 (main): Call the new functions.
2063 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2065
2066 2012-03-05 Tom de Vries <tom@codesourcery.com>
2067
2068 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2069 default stack guard is set in last bytes.
2070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2071
2072 2012-03-05 Kees Cook <keescook@chromium.org>
2073
2074 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2075
2076 [BZ #13656]
2077 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2078 possibly allocate from heap instead of stack.
2079 * stdio-common/bug-vfprintf-nargs.c: New file.
2080 * stdio-common/Makefile (tests): Add nargs overflow test.
2081
2082 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2083
2084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2085
2086 2012-03-03 Marek Polacek <polacek@redhat.com>
2087
2088 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2089 * math/math_private.h: Likewise.
2090 * stdlib/tst-strtod.c: Likewise.
2091 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2092 * sysdeps/x86_64/bits/atomic.h: Likewise.
2093
2094 2012-03-02 David S. Miller <davem@davemloft.net>
2095
2096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2100 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2101 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2102 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2103 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2104
2105 2012-03-02 Roland McGrath <roland@hack.frob.com>
2106
2107 [BZ #13792]
2108 * manual/examples/README: New file, says the example source files
2109 can be used under GPL>=2.
2110 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2111 line containing just "*/".
2112 * manual/examples/add.c: Add copyright header (GPL>=2).
2113 * manual/examples/argp-ex1.c: Likewise.
2114 * manual/examples/argp-ex2.c: Likewise.
2115 * manual/examples/argp-ex3.c: Likewise.
2116 * manual/examples/argp-ex4.c: Likewise.
2117 * manual/examples/atexit.c: Likewise.
2118 * manual/examples/db.c: Likewise.
2119 * manual/examples/dir.c: Likewise.
2120 * manual/examples/dir2.c: Likewise.
2121 * manual/examples/execinfo.c: Likewise.
2122 * manual/examples/filecli.c: Likewise.
2123 * manual/examples/filesrv.c: Likewise.
2124 * manual/examples/fmtmsgexpl.c: Likewise.
2125 * manual/examples/genpass.c: Likewise.
2126 * manual/examples/inetcli.c: Likewise.
2127 * manual/examples/inetsrv.c: Likewise.
2128 * manual/examples/isockad.c: Likewise.
2129 * manual/examples/longopt.c: Likewise.
2130 * manual/examples/memopen.c: Likewise.
2131 * manual/examples/memstrm.c: Likewise.
2132 * manual/examples/mkfsock.c: Likewise.
2133 * manual/examples/mkisock.c: Likewise.
2134 * manual/examples/mygetpass.c: Likewise.
2135 * manual/examples/pipe.c: Likewise.
2136 * manual/examples/popen.c: Likewise.
2137 * manual/examples/rprintf.c: Likewise.
2138 * manual/examples/search.c: Likewise.
2139 * manual/examples/select.c: Likewise.
2140 * manual/examples/setjmp.c: Likewise.
2141 * manual/examples/sigh1.c: Likewise.
2142 * manual/examples/sigusr.c: Likewise.
2143 * manual/examples/stpcpy.c: Likewise.
2144 * manual/examples/strdupa.c: Likewise.
2145 * manual/examples/strftim.c: Likewise.
2146 * manual/examples/strncat.c: Likewise.
2147 * manual/examples/subopt.c: Likewise.
2148 * manual/examples/swapcontext.c: Likewise.
2149 * manual/examples/termios.c: Likewise.
2150 * manual/examples/testopt.c: Likewise.
2151 * manual/examples/testpass.c: Likewise.
2152 * manual/examples/timeval_subtract.c: Likewise.
2153
2154 [BZ #13792]
2155 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2156 function to ...
2157 * manual/timeval_subtract.c.texi: ... here, new file.
2158
2159 2012-03-02 David S. Miller <davem@davemloft.net>
2160
2161 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2162
2163 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2164
2165 [BZ #3976]
2166 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2167 (__sin): Save and restore rounding mode and use round-to-nearest
2168 for all computations.
2169 (__cos): Save and restore rounding mode and use round-to-nearest
2170 for all computations.
2171 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2172 <fenv.h>.
2173 (tan): Save and restore rounding mode and use round-to-nearest for
2174 all computations.
2175 * math/libm-test.inc (cos_test_tonearest): New function.
2176 (cos_test_towardzero): Likewise.
2177 (cos_test_downward): Likewise.
2178 (cos_test_upward): Likewise.
2179 (sin_test_tonearest): Likewise.
2180 (sin_test_towardzero): Likewise.
2181 (sin_test_downward): Likewise.
2182 (sin_test_upward): Likewise.
2183 (tan_test_tonearest): Likewise.
2184 (tan_test_towardzero): Likewise.
2185 (tan_test_downward): Likewise.
2186 (tan_test_upward): Likewise.
2187 (main): Call the new functions.
2188 * sysdeps/i386/fpu/libm-test-ulps: Update.
2189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2190
2191 [BZ #10135]
2192 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2193 small n, then large n, before computing and testing k+n.
2194 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2196 Likewise.
2197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2198 Likewise.
2199 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2200 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2201 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2202 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2203 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2204 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2205 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2206 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2207 * math/libm-test.inc (scalbn_test): Add more tests.
2208 (scalbln_test): Likewise.
2209
2210 * manual/filesys.texi (mode_t): Describe constraints on size and
2211 signedness, not exact equivalence to a particular type.
2212 (ino_t): Likewise.
2213 (ino64_t): Likewise.
2214 (dev_t): Likewise.
2215 (nlink_t): Likewise.
2216 (blkcnt_t): Likewise.
2217 (blkcnt64_t): Likewise.
2218 * manual/llio.texi (off_t): Likewise.
2219
2220 [BZ #3976]
2221 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2222 (__ieee754_exp): Save and restore rounding mode and use
2223 round-to-nearest for all computations.
2224 * math/libm-test.inc (exp_test_tonearest): New function.
2225 (exp_test_towardzero): Likewise.
2226 (exp_test_downward): Likewise.
2227 (exp_test_upward): Likewise.
2228 (main): Call the new functions.
2229 * sysdeps/i386/fpu/libm-test-ulps: Update.
2230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2231
2232 2012-03-01 Chris Demetriou <cgd@google.com>
2233
2234 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2235 have predictable order.
2236
2237 2012-03-01 David S. Miller <davem@davemloft.net>
2238
2239 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2240
2241 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2242 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2243 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2244 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2245
2246 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2247 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2248 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2250 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2251 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2252 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2253 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2254 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2255
2256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2257
2258 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2259 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2260 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2261
2262 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2263 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2264 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2265 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2266 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2269 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2270 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2271 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2272 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2275 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2278 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2279 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2280 * sysdeps/sparc/elf/configure: Regenerated.
2281
2282 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2283
2284 * configure.in (AS, LD): Require binutils 2.20 or later.
2285 * configure: Regenerated.
2286 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2287 as required minimum version.
2288 * INSTALL: Regenerated.
2289
2290 [BZ #2541]
2291 [BZ #4108]
2292 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2293 before squaring exponent.
2294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2295 bottom long double and 27 bits of top long double before squaring
2296 exponent.
2297 * math/libm-test.inc (erfc_test): Add more tests.
2298 * sysdeps/i386/fpu/libm-test-ulps: Update.
2299 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2301
2302 2012-03-01 Kai Tietz <ktietz@redhat.com>
2303
2304 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2305 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2306 containing bit-fields.
2307 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2308 * soft-fp/single.h (_FP_UNION_S): Likewise.
2309 * soft-fp/double.h (_FP_UNION_D): Likewise.
2310
2311 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #13786]
2314 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2315 not include ../strcmp.S.
2316 [USE_AS_STRNCASECMP_L]: Likewise.
2317 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2318 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2319 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2320 (__strncasecmp_l_ia32): Define as alias to
2321 __strncasecmp_l_nonascii.
2322
2323 [BZ #5794]
2324 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2325 * sysdeps/i386/fpu/libm-test-ulps: Update.
2326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2327
2328 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2330
2331 2012-02-29 Jeff Law <law@redhat.com>
2332
2333 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2334 out of bounds read.
2335
2336 2012-02-29 Marek Polacek <polacek@redhat.com>
2337
2338 [BZ #13706]
2339 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2340 * elf/Makefile: Add rules to run tst-unused-dep.out.
2341
2342 2012-02-28 David S. Miller <davem@davemloft.net>
2343
2344 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2345 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2347 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2348 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2349 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2350
2351 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2352
2353 * math/libm-test.inc (llround_test): Move one test from
2354 lround_test. Use TEST_f_L in moved test.
2355 (lround_test): Move misplaced test to llround_test. Add testcase
2356 from bug 2561.
2357
2358 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2359
2360 * sysdeps/x86_64/fpu/e_expf.S: New file.
2361 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2362
2363 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2364
2365 [BZ #13637]
2366 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2367 of remain_len that may cause incomplete multi-byte character and
2368 false match.
2369 * posix/bug-regex33.c: New file.
2370 * posix/Makefile (tests): Add bug-regex33.
2371
2372 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2373
2374 * manual/macros.texi: New file.
2375 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2376 * manual/libc.texinfo: Include macros.texi.
2377 * manual/creatute.texi: Likewise.
2378 * manual/install.texi: Likewise.
2379 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2380 @glibcadj{} in references to the GNU C Library.
2381 * manual/charset.texi: Likewise.
2382 * manual/conf.texi: Likewise.
2383 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2384 when not using those macros.
2385 * manual/creature.texi: Likewise.
2386 * manual/crypt.texi: Likewise.
2387 * manual/errno.texi: Likewise.
2388 * manual/filesys.texi: Likewise.
2389 * manual/header.texi: Likewise.
2390 * manual/install.texi: Likewise.
2391 * manual/intro.texi: Likewise.
2392 * manual/io.texi: Likewise.
2393 * manual/job.texi: Likewise.
2394 * manual/lang.texi: Likewise.
2395 * manual/libc.texiinfo: Likewise.
2396 * manual/llio.texi: Likewise.
2397 * manual/locale.texi: Likewise.
2398 * manual/maint.texi: Likewise.
2399 * manual/math.texi: Likewise.
2400 * manual/memory.texi: Likewise.
2401 * manual/message.texi: Likewise.
2402 * manual/nss.texi: Likewise.
2403 * manual/pattern.texi: Likewise.
2404 * manual/process.texi: Likewise.
2405 * manual/resource.texi: Likewise.
2406 * manual/search.texi: Likewise.
2407 * manual/setjmp.texi: Likewise.
2408 * manual/signal.texi: Likewise.
2409 * manual/socket.texi: Likewise.
2410 * manual/startup.texi: Likewise.
2411 * manual/stdio.texi: Likewise.
2412 * manual/string.texi: Likewise.
2413 * manual/sysinfo.texi: Likewise.
2414 * manual/syslog.texi: Likewise.
2415 * manual/terminal.texi: Likewise.
2416 * manual/time.texi: Likewise.
2417 * manual/users.texi: Likewise.
2418 * INSTALL: Regenerated.
2419 * NOTES: Regenerated.
2420 * sysdeps/gnu/errlist.c: Regenerated.
2421
2422 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2423
2424 * include/dirent.h: Include <dirstream.h> before
2425 <dirent/dirent.h>.
2426
2427 2012-02-28 David S. Miller <davem@davemloft.net>
2428
2429 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2430 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2431 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2432 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2433
2434 2012-02-27 David S. Miller <davem@davemloft.net>
2435
2436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2438 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2439 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2440
2441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2442 frame pointer instead of stack pointer relative arg slot.
2443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2444 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2445 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2446
2447 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2448
2449 [BZ #3992]
2450 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2451
2452 2012-02-27 David S. Miller <davem@davemloft.net>
2453
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2460 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2461 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2462
2463 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2464
2465 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2466 later. Allow versions 5-9.
2467 * configure: Regenerated.
2468 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2469 required minimum version and 4.6 as recommended version. Do not
2470 mention bugs in GCC 2.7 and 2.8.
2471 * INSTALL: Regenerated.
2472
2473 2012-02-27 David S. Miller <davem@davemloft.net>
2474
2475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2481 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2482 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2483
2484 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2485 manipulate bits before adding and subtracting TWO112[sx].
2486 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2487
2488 2012-02-27 Roland McGrath <roland@hack.frob.com>
2489
2490 [BZ #13775]
2491 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2492 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2493 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2494 being in POSIX, because they are in 1003.1-2008.
2495
2496 * rt/tst-aio.c: Include <fcntl.h>.
2497 * rt/tst-aio7.c: Likewise.
2498 * rt/tst-aio64.c: Likewise.
2499
2500 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2501
2502 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2503
2504 * manual/install.texi (--with-headers): Describe headers as
2505 interface headers, not private headers.
2506 (Specific advice for GNU/Linux systems): Describe use of headers
2507 from "make headers_install", not private headers from older
2508 kernels.
2509 * INSTALL: Regenerated.
2510 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2511 Change to 2.6.19.
2512 * sysdeps/unix/sysv/linux/configure: Regenerated.
2513
2514 * manual/llio.texi (fclean): Remove documentation.
2515
2516 * manual/Makefile (libc-texi-generated): New variable. Include
2517 version.texi.
2518 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2519 $(libc-texi-generated), not duplicated list of files.
2520 (version.texi, stamp-version): New rules.
2521 (realclean): Remove $(libc-texi-generated), not individual files
2522 from that list. Do not remove dir-add.texinfo.
2523 * manual/libc.texinfo: Comment out uses of edition numbers and
2524 references to printed manual. Remove last-updated dates.
2525 (EDITION): Comment out.
2526 (ISBN): Likewise.
2527 (VERSION, UPDATED): Remove.
2528 (version.texi): Include.
2529
2530 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2531
2532 * sysdeps/posix/spawni.c: Include <signal.h>.
2533 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2534 * sysdeps/pthread/aio_fsync.c: Likewise.
2535
2536 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2537
2538 * conform/Makefile (tests): Run only when not cross-compiling and
2539 when fast-check is not defined.
2540
2541 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2542 * conform/data/limits.h-data: Fixes for POSIX2008.
2543 * conform/run-conformtest.sh: Run all tests.
2544 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2545 headers.
2546 * include/bits/dlfcn.h: Likewise.
2547 * include/langinfo.h: Likewise.
2548 * include/monetary.h: Likewise.
2549 * include/sys/poll.h: Likewise.
2550
2551 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2552 for __USE_GNU.
2553 * posix/spawn.h: Define __need_sigset_t.
2554 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2555 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2556 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2557 to get sigevent_t only.
2558 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2559 only for __USE_GNU.
2560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2561 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2562 process_vm_writev only for __USE_GNU.
2563 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2564
2565 * conform/Makefile: For now ignore errors from run-conformtest.
2566 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2567 POSIX to avoid namespace pollution. Don't prepend headers.
2568 * conform/data/aio.h-data: Fixes for POSIX testing.
2569 * conform/data/fcntl.h-data: Likewise.
2570 * conform/data/glob.h-data: Likewise.
2571 * conform/data/grp.h-data: Likewise.
2572 * conform/data/pthread.h-data: Likewise.
2573 * conform/data/pwd.h-data: Likewise.
2574 * conform/data/signal.h-data: Likewise.
2575 * conform/data/spawn.h-data: Likewise.
2576 * conform/data/stdio.h-data: Likewise.
2577 * conform/data/stdlib.h-data: Likewise.
2578 * conform/data/stropts.h-data: Likewise.
2579 * conform/data/sys/mman.h-data: Likewise.
2580 * conform/data/sys/stat.h-data: Likewise.
2581 * conform/data/sys/types.h-data: Likewise.
2582 * conform/data/sys/wait.h-data: Likewise.
2583 * conform/data/time.h-data: Likewise.
2584 * conform/data/unistd.h-data: Likewise.
2585 * conform/data/utime.h-data: Likewise.
2586
2587 * io/sys/stat.h: fchmod was always in POSIX.
2588 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2589 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2590 * rt/aio.h: Define __need_timespec before including <time.h>.
2591 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2592 struct. Add forward declaration of pthread_attr_t and use it in
2593 sigevent.
2594 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2595 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2596 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2597 always remove CLK_TCK definition.
2598
2599 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2600
2601 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2602
2603 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2604
2605 * conform/run-conformtest.sh: New file.
2606 * conform/Makefile: Run run-conformtest for tests.
2607 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2608 support.
2609
2610 * conform/data/uchar.h-data: New file.
2611 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2612 * conform/data/arpa/inet.h-data: Likewise.
2613 * conform/data/assert.h-data: Likewise.
2614 * conform/data/complex.h-data: Likewise.
2615 * conform/data/cpio.h-data: Likewise.
2616 * conform/data/ctype.h-data: Likewise.
2617 * conform/data/dirent.h-data: Likewise.
2618 * conform/data/dlfcn.h-data: Likewise.
2619 * conform/data/errno.h-data: Likewise.
2620 * conform/data/fcntl.h-data: Likewise.
2621 * conform/data/float.h-data: Likewise.
2622 * conform/data/fmtmsg.h-data: Likewise.
2623 * conform/data/fnmatch.h-data: Likewise.
2624 * conform/data/ftw.h-data: Likewise.
2625 * conform/data/glob.h-data: Likewise.
2626 * conform/data/grp.h-data: Likewise.
2627 * conform/data/iconv.h-data: Likewise.
2628 * conform/data/inttypes.h-data: Likewise.
2629 * conform/data/langinfo.h-data: Likewise.
2630 * conform/data/libgen.h-data: Likewise.
2631 * conform/data/limits.h-data: Likewise.
2632 * conform/data/locale.h-data: Likewise.
2633 * conform/data/math.h-data: Likewise.
2634 * conform/data/monetary.h-data: Likewise.
2635 * conform/data/mqueue.h-data: Likewise.
2636 * conform/data/ndbm.h-data: Likewise.
2637 * conform/data/net/if.h-data: Likewise.
2638 * conform/data/netdb.h-data: Likewise.
2639 * conform/data/netinet/in.h-data: Likewise.
2640 * conform/data/nl_types.h-data: Likewise.
2641 * conform/data/poll.h-data: Likewise.
2642 * conform/data/pthread.h-data: Likewise.
2643 * conform/data/pwd.h-data: Likewise.
2644 * conform/data/regex.h-data: Likewise.
2645 * conform/data/sched.h-data: Likewise.
2646 * conform/data/search.h-data: Likewise.
2647 * conform/data/semaphore.h-data: Likewise.
2648 * conform/data/setjmp.h-data: Likewise.
2649 * conform/data/signal.h-data: Likewise.
2650 * conform/data/spawn.h-data: Likewise.
2651 * conform/data/stdarg.h-data: Likewise.
2652 * conform/data/stdio.h-data: Likewise.
2653 * conform/data/stdlib.h-data: Likewise.
2654 * conform/data/string.h-data: Likewise.
2655 * conform/data/strings.h-data: Likewise.
2656 * conform/data/stropts.h-data: Likewise.
2657 * conform/data/sys/ipc.h-data: Likewise.
2658 * conform/data/sys/mman.h-data: Likewise.
2659 * conform/data/sys/msg.h-data: Likewise.
2660 * conform/data/sys/resource.h-data: Likewise.
2661 * conform/data/sys/select.h-data: Likewise.
2662 * conform/data/sys/sem.h-data: Likewise.
2663 * conform/data/sys/shm.h-data: Likewise.
2664 * conform/data/sys/socket.h-data: Likewise.
2665 * conform/data/sys/stat.h-data: Likewise.
2666 * conform/data/sys/statvfs.h-data: Likewise.
2667 * conform/data/sys/time.h-data: Likewise.
2668 * conform/data/sys/timeb.h-data: Likewise.
2669 * conform/data/sys/times.h-data: Likewise.
2670 * conform/data/sys/types.h-data: Likewise.
2671 * conform/data/sys/uio.h-data: Likewise.
2672 * conform/data/sys/un.h-data: Likewise.
2673 * conform/data/sys/utsname.h-data: Likewise.
2674 * conform/data/sys/wait.h-data: Likewise.
2675 * conform/data/syslog.h-data: Likewise.
2676 * conform/data/tar.h-data: Likewise.
2677 * conform/data/termios.h-data: Likewise.
2678 * conform/data/utime.h-data: Likewise.
2679 * conform/data/utmpx.h-data: Likewise.
2680 * conform/data/varargs.h-data: Likewise.
2681 * conform/data/wchar.h-data: Likewise.
2682 * conform/data/wctype.h-data: Likewise.
2683 * conform/data/wordexp.h-data: Likewise.
2684
2685 * include/stropts.h: New file.
2686 * include/uchar.h: New file.
2687 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2688 * include/assert.h: Likewise.
2689 * include/ctype.h: Likewise.
2690 * include/dirent.h: Likewise.
2691 * include/dlfcn.h: Likewise.
2692 * include/fcntl.h: Likewise.
2693 * include/fnmatch.h: Likewise.
2694 * include/glob.h: Likewise.
2695 * include/grp.h: Likewise.
2696 * include/libio.h: Likewise.
2697 * include/locale.h: Likewise.
2698 * include/math.h: Likewise.
2699 * include/net/if.h: Likewise.
2700 * include/netdb.h: Likewise.
2701 * include/netinet/in.h: Likewise.
2702 * include/pthread.h: Likewise.
2703 * include/pwd.h: Likewise.
2704 * include/regex.h: Likewise.
2705 * include/sched.h: Likewise.
2706 * include/search.h: Likewise.
2707 * include/setjmp.h: Likewise.
2708 * include/signal.h: Likewise.
2709 * include/stdio.h: Likewise.
2710 * include/stdlib.h: Likewise.
2711 * include/string.h: Likewise.
2712 * include/sys/cdefs.h: Likewise.
2713 * include/sys/mman.h: Likewise.
2714 * include/sys/msg.h: Likewise.
2715 * include/sys/resource.h: Likewise.
2716 * include/sys/select.h: Likewise.
2717 * include/sys/socket.h: Likewise.
2718 * include/sys/stat.h: Likewise.
2719 * include/sys/statvfs.h: Likewise.
2720 * include/sys/time.h: Likewise.
2721 * include/sys/times.h: Likewise.
2722 * include/sys/uio.h: Likewise.
2723 * include/sys/utsname.h: Likewise.
2724 * include/sys/wait.h: Likewise.
2725 * include/termios.h: Likewise.
2726 * include/time.h: Likewise.
2727 * include/ulimit.h: Likewise.
2728 * include/unistd.h: Likewise.
2729 * include/utime.h: Likewise.
2730 * include/wchar.h: Likewise.
2731 * include/wctype.h: Likewise.
2732 * include/wordexp.h: Likewise.
2733
2734 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2735
2736 * time/time.h: TIME_UTC must be a macro.
2737 Make timespec_get available for ISO C11 only as well.
2738
2739 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2740
2741 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2742 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2743
2744 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2745
2746 * configure.in: Use -o not -a in test for unsupported multi-arch.
2747
2748 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2749
2750 * manual/texinfo.tex: Update to version 2012-01-19.16.
2751
2752 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2753
2754 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2755
2756 2012-02-24 Roland McGrath <roland@hack.frob.com>
2757
2758 [BZ #13738]
2759 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2760 * manual/fdl-1.3.texi: New file.
2761 * manual/fdl-1.1.texi: File removed.
2762
2763 [BZ #13738]
2764 * manual/libc.texinfo (FDL_VERSION): New @set.
2765 Use it for mention of FDL in cover text.
2766 (Documentation License): Use it in @include file name.
2767
2768 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2769 Roland McGrath <roland@hack.frob.com>
2770
2771 [BZ #5461]
2772 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2773 not LONG_LONG_MAX and LONG_LONG_MIN.
2774 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2775 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2776 name.
2777 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2778
2779 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2780
2781 [BZ #2547]
2782 [BZ #11365]
2783 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2784 manipulate bits before adding and subtracting TWO23[sx].
2785 * math/libm-test.inc (nearbyint_test): Add more tests.
2786
2787 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2788
2789 [BZ #2548]
2790 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2791 bits before adding and subtracting TWO23[sx].
2792 * math/libm-test.inc (rint_test): Add more tests.
2793 (rint_test_tonearest): Likewise.
2794 (rint_test_towardzero): Likewise.
2795 (rint_test_downward): Likewise.
2796 (rint_test_upward: Likewise.
2797
2798 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2799
2800 [BZ #10110]
2801 * include/stdc-predef.h: New file. Extracted from features.h.
2802 * include/features.h: Include stdc-predef.h.
2803 * Makefile (headers): Add stdc-predef.h.
2804 * CONFORMANCE (Compiler limitations): Update.
2805
2806 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2807
2808 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2809
2810 2012-02-21 David S. Miller <davem@davemloft.net>
2811
2812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2813 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2814
2815 2012-02-20 David S. Miller <davem@davemloft.net>
2816
2817 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2818 using a normal save/restore sequence, rather than allocating a
2819 dummy stack frame just to store a frame pointer and restore.
2820 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2821
2822 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2823
2824 * manual/install.texi: Fix stray word in line-wrapped comment.
2825
2826 2012-02-20 David S. Miller <davem@davemloft.net>
2827
2828 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2829 both binutils and gcc support GOTDATA.
2830
2831 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2832 "rd %pc" in the PIC register setup sequences.
2833
2834 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2835 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2836 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2837 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2838 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2840 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2843 (SYSCALL_ERROR_HANDLER): Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2847 (SYSCALL_ERROR_HANDLER): Likewise.
2848
2849 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2850 (HAVE_GCC_GOTDATA): New.
2851 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2852 relocation support in both binutils and gcc.
2853 * sysdeps/sparc/elf/configure: Regenerate.
2854
2855 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2856 * sysdeps/sparc/sparc32/elf/configure: Delete.
2857 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2858 * sysdeps/sparc/sparc64/elf/configure: Delete.
2859 * sysdeps/sparc/elf/configure.in: New file.
2860 * sysdeps/sparc/elf/configure: Generate.
2861
2862 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2863 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2864 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2865 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2866 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2867
2868 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2869
2870 * manual/install.texi: Do not mention specific glibc version
2871 numbers.
2872 * manual/libc.texinfo (VERSION, UPDATED): Update.
2873 (@copying): Use @copyright{} and range of years.
2874
2875 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2876
2877 [BZ #13695]
2878 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2879 [crti.S not in sysdirs] (generated): Do not append.
2880 [crti.S not in sysdirs] (omit-deps): Likewise.
2881 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2882 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2883 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2884 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2885 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2886 Likewise.
2887 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2888 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2889 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2890 * csu/defs.awk: Remove file.
2891 * sysdeps/generic/initfini.c: Likewise.
2892 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2893 variable.
2894 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2895 Likewise.
2896
2897 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2898
2899 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2900 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2901 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2902 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2904 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2905 <bits/epoll.h>.
2906 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2907 (__EPOLL_PACKED): Define to empty if not defined by
2908 <bits/epoll.h>.
2909 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2911 bits/epoll.h.
2912
2913 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2914
2915 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2916 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2917 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2918 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2919 <bits/timerfd.h>.
2920 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2922 bits/timerfd.h.
2923
2924 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2925
2926 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2927 in C locale.
2928 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2929 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2930 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2932
2933 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2934
2935 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2936 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2937
2938 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2939
2940 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2941 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2942 defined.
2943 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2944 Likewise.
2945 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2946 entry for 2.16.
2947
2948 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2949
2950 * math/w_acos.c: Use non-signaling floating-point comparisons.
2951 * math/w_acosf.c: Likewise.
2952 * math/w_acosh.c: Likewise.
2953 * math/w_acoshf.c: Likewise.
2954 * math/w_acoshl.c: Likewise.
2955 * math/w_acosl.c: Likewise.
2956 * math/w_asin.c: Likewise.
2957 * math/w_asinf.c: Likewise.
2958 * math/w_asinl.c: Likewise.
2959 * math/w_atanh.c: Likewise.
2960 * math/w_atanhf.c: Likewise.
2961 * math/w_atanhl.c: Likewise.
2962 * math/w_exp2.c: Likewise.
2963 * math/w_exp2f.c: Likewise.
2964 * math/w_exp2l.c: Likewise.
2965 * math/w_j0.c: Likewise.
2966 * math/w_j0f.c: Likewise.
2967 * math/w_j0l.c: Likewise.
2968 * math/w_j1.c: Likewise.
2969 * math/w_j1f.c: Likewise.
2970 * math/w_j1l.c: Likewise.
2971 * math/w_jn.c: Likewise.
2972 * math/w_jnf.c: Likewise.
2973 * math/w_log.c: Likewise.
2974 * math/w_log10.c: Likewise.
2975 * math/w_log10f.c: Likewise.
2976 * math/w_log10l.c: Likewise.
2977 * math/w_log2.c: Likewise.
2978 * math/w_log2f.c: Likewise.
2979 * math/w_log2l.c: Likewise.
2980 * math/w_logf.c: Likewise.
2981 * math/w_logl.c: Likewise.
2982 * math/w_sqrt.c: Likewise.
2983 * math/w_sqrtf.c: Likewise.
2984 * math/w_sqrtl.c: Likewise.
2985 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2987 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2988 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2989 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2990
2991 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2992
2993 [BZ #9739]
2994 * manual/string.texi (strnlen): Use correct parameter name in
2995 equivalent expression.
2996
2997 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2998
2999 [BZ #11174]
3000 * manual/users.texi (seteuid): Consistently use neweuid for
3001 argument name.
3002
3003 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3004
3005 [BZ #13704]
3006 * manual/nss.texi (Services in the NSS configuration): Correct
3007 list of services in example configuration file.
3008
3009 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3010
3011 [BZ #11322]
3012 * manual/arith.texi: Remove statements about negative zero
3013 behaving identically to zero.
3014
3015 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3016
3017 [BZ #5993]
3018 * manual/install.texi: Do not document upgrading from libc5.
3019
3020 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #4596]
3023 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3024
3025 2012-02-18 David S. Miller <davem@davemloft.net>
3026
3027 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3028 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3029 %o7 across the call.
3030 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3031 instead.
3032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3033 SETUP_PIC_REG_LEAF.
3034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3035 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3036 * sysdeps/sparc/crtn.S: Likewise.
3037
3038 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3039
3040 * aout/Makefile: Remove.
3041
3042 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3043
3044 [BZ #13058]
3045 * manual/examples/argp-ex1.c (main): Format definition in GNU
3046 style.
3047 * manual/examples/argp-ex2.c (main): Likewise.
3048 * manual/examples/argp-ex3.c (main): Likewise.
3049 * manual/examples/argp-ex4.c (main): Likewise.
3050 * manual/examples/longopt.c (main): Use new-style prototype
3051 definition.
3052 * manual/examples/strncat.c (main): Specify return type and use
3053 (void) for arguments.
3054 * manual/examples/subopt.c (main): Use char **argv argument.
3055
3056 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3057
3058 [BZ #5077]
3059 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3060 rounding modes.
3061
3062 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3063
3064 [BZ #6907]
3065 * manual/string.texi (strchr): Change when strchrnul is
3066 recommended.
3067
3068 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3069
3070 [BZ #174]
3071 * manual/locale.texi (setlocale): Document LOCPATH.
3072
3073 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3074
3075 [BZ #10210]
3076 * manual/process.texi (execle): Move @dots{} before last argument.
3077
3078 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3079
3080 [BZ #12047]
3081 * manual/charset.texi (Generic Charset Conversion): Fix typo
3082 (LC_TYPE -> LC_CTYPE).
3083
3084 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3085
3086 [BZ #5805]
3087 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3088 (scalbnf): Likewise.
3089 (scalbnl): Likewise.
3090 (scalbln): Likewise.
3091 (scalblnf): Likewise.
3092 (scalblnl): Likewise.
3093 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3094 (vwarnx): Likewise.
3095 (verr): Likewise.
3096 (verrx): Likewise.
3097 * manual/filesys.texi (telldir): Use braces around return type.
3098 * manual/llio.texi (mmap): Add space after comma.
3099 (mmap64): Likewise.
3100 * manual/math.texi (jn): Use @var{} on parameter names.
3101 (jnf): Likewise.
3102 (jnl): Likewise.
3103 (yn): Likewise.
3104 (ynf): Likewise.
3105 (ynl): Likewise.
3106 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3107 line.
3108 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3109 "...".
3110 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3111 (sched_get_priority_max): Likewise.
3112 * manual/signal.texi (sigvec): Add space after comma.
3113 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3114 names.
3115 (if_indextoname): Likewise.
3116 (if_freenameindex): Likewise.
3117 (sendto): Use ',' instead of '.' in prototype.
3118 * manual/startup.texi (syscall): Use @dots{} instead of literal
3119 "...".
3120 * manual/stdio.texi (__fpending): Separate initial words of
3121 paragraph from @deftypefun line.
3122 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3123 "...".
3124 (vsyslog): Use @var{} on parameter names.
3125 * manual/terminal.texi (stty): Use @var{} on parameter names.
3126 * manual/users.texi (getutmp): Use @var{} on parameter names.
3127 (getutmpx): Likewise.
3128
3129 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3130
3131 [BZ #6884]
3132 * manual/stdio.texi (fopen): Fix typos in description of
3133 ",ccs=STRING".
3134
3135 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3136
3137 [BZ #4026]
3138 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3139 get clock_id definition.
3140
3141 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3142
3143 [BZ #4822]
3144 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3145 (madvise): Cast every argument to void on its own.
3146
3147 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3148
3149 [BZ #9902]
3150 * manual/startup.texi (Exit Status): Fix typo.
3151
3152 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3153
3154 [BZ #10140]
3155 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3156 * manual/examples/argp-ex2.c: Likewise.
3157 * manual/examples/argp-ex3.c: Likewise.
3158
3159 2012-02-16 Richard Henderson <rth@redhat.com>
3160
3161 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3162 * sysdeps/s390/s390-32/initfini.c: Remove.
3163 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3164 * sysdeps/s390/s390-64/initfini.c: Remove.
3165
3166 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3167
3168 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3169 compiler output for sysdeps/generic/initfini.c.
3170 * sysdeps/sh/elf/initfini.c: Remove file.
3171
3172 2012-02-16 David S. Miller <davem@davemloft.net>
3173
3174 [BZ #11494]
3175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3176
3177 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3178 * sysdeps/sparc/crti.S: New file.
3179 * sysdeps/sparc/crtn.S: New file.
3180 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3181 * sysdeps/sparc/sparc64/Makefile: Likewise.
3182
3183 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3184
3185 [BZ #3335]
3186 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3187
3188 2012-02-15 Roland McGrath <roland@hack.frob.com>
3189
3190 [BZ #4822]
3191 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3192
3193 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3194 (write, read, close): Likewise.
3195 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3196
3197 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3198
3199 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3200 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3201 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3202 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3203 <bits/signalfd.h>.
3204 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3206 bits/signalfd.h.
3207
3208 2012-02-14 Marek Polacek <polacek@redhat.com>
3209
3210 * sysdeps/x86_64/crti.S: New file.
3211 * sysdeps/x86_64/crtn.S: New file.
3212 * sysdeps/x86_64/elf/initfini.c: Remove file.
3213
3214 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3215
3216 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3217 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3218 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3219 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3220 <bits/inotify.h>.
3221 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3223 bits/inotify.h.
3224
3225 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3226
3227 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3228 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3229 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3230 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3231 <bits/eventfd.h>.
3232 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3234 bits/eventfd.h.
3235
3236 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3237
3238 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3239 __feraiseexcept instead of feraiseexcept.
3240
3241 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3242 nanosleep invocations.
3243 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3244 strings, and add error checking for a nanosleep invocations.
3245
3246 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3247
3248 Replace FSF snail mail address with URLs, as per GNU coding standards.
3249 Most of the snail mail addresses were wrong anyway, and omitting
3250 them makes the source code easier to maintain. Almost all of the
3251 changes are to license notices and to locale LC_IDENTIFICATION
3252 addresses, except for this one:
3253 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3254 not its snail mail address.
3255
3256 2012-02-09 Richard Henderson <rth@twiddle.net>
3257
3258 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3259 of kernel-features.h.
3260
3261 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3262
3263 2012-02-08 Marek Polacek <polacek@redhat.com>
3264
3265 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3266 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3267 * sysdeps/gnu/_G_config.h: Likewise.
3268 * sysdeps/generic/_G_config.h: Likewise.
3269
3270 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3271
3272 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3273 tests.
3274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3275
3276 * sysdeps/powerpc/powerpc32/crti.S: New file.
3277 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3278 * sysdeps/powerpc/powerpc64/crti.S: New file.
3279 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3280
3281 * Makeconfig (have-initfini): Don't set.
3282 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3283 * configure.in (nopic_initfini): Don't substitute.
3284 * config.h.in (HAVE_INITFINI): Don't #undef.
3285 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3286 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3287
3288 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3289
3290 Support crti.S and crtn.S provided directly by architectures.
3291 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3292 [crti.S in sysdirs] (omit-deps): Likewise.
3293 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3294 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3295 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3296 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3297 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3298 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3299 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3300 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3301 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3302 compiler output for sysdeps/generic/initfini.c.
3303 * sysdeps/i386/elf/Makefile: Remove file.
3304 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3305
3306 2012-02-07 Marek Polacek <polacek@redhat.com>
3307
3308 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3309 * sysdeps/gnu/_G_config.h: Likewise.
3310 * sysdeps/mach/hurd/_G_config.h: Likewise.
3311
3312 2012-02-07 Marek Polacek <polacek@redhat.com>
3313
3314 * math/Makefile (tests): Add tst-CMPLX2.
3315 * math/tst-CMPLX2.c: New file.
3316
3317 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3318
3319 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3320
3321 * math/libm-test.inc (jn_test): Add missing L suffix.
3322
3323 2012-02-06 Marek Polacek <polacek@redhat.com>
3324
3325 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3326 * sysdeps/i386/fpu/e_powf.S: Likewise.
3327 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3328 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3329 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3330 * sysdeps/i386/fpu/e_pow.S: Likewise.
3331 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3332 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3333 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3334 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3335 * sysdeps/i386/fpu/e_log2.S: Likewise.
3336 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3337 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3338 * sysdeps/i386/fpu/e_powl.S: Likewise.
3339 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3340 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3341 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3342 * sysdeps/i386/fpu/e_logl.S: Likewise.
3343 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3344 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3345 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3346 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3347 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3349 * sysdeps/i386/fpu/e_log.S: Likewise.
3350 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3351 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3352 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3353 * sysdeps/i386/fpu/e_logf.S: Likewise.
3354 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3355 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3356 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3357 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3358 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3359 * sysdeps/i386/fpu/e_log10.S: Likewise.
3360 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3361 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3362 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3363 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3364 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3365 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3366 * sysdeps/i386/asm-syntax.h: Likewise.
3367 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3368 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3369 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3370 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3371 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3372 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3373 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3374 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3375 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3376 * sysdeps/powerpc/sysdep.h: Likewise.
3377 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3378 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3379
3380 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3381
3382 [BZ #411]
3383 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3384
3385 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3386
3387 * sysdeps/i386/sysdep.h: Include <features.h>.
3388 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3389 version.
3390
3391 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3392
3393 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3394 Define.
3395 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3396 LOAD_PIC_REG_STR.
3397
3398 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3399
3400 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3401 (SETUP_PIC_REG): Use GET_PC_THUNK.
3402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3403 macro.
3404
3405 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3406
3407 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3408 for non-PIC compilation.
3409 (SETUP_PIC_REG): Add .p2align directive.
3410 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3411 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3412 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3413 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3414 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3415 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3416 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3417 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3418 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3419 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3420 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3428 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3429 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3431 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3432 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3433 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3438 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3451
3452 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3453
3454 * math/tst-CMPLX.c: Include <stdio.h>.
3455
3456 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3457
3458 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3459 float.
3460 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3461 * sysdeps/sparc/bits/mathdef.h: Likewise.
3462
3463 2012-01-31 Marek Polacek <polacek@redhat.com>
3464
3465 * libio/libio.h: Don't define _PARAMS.
3466 * locale/programs/config.h: Don't define PARAMS.
3467 * stdlib/strtol_l.c: Likewise.
3468 (__strtol_l): Remove PARAMS from the prototype.
3469
3470 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3471
3472 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3473 names. Just use the correct names. Remove unnecessary wrapper
3474 functions.
3475 * malloc/arena.c: Likewise.
3476 * malloc/hooks.c: Likewise.
3477
3478 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3479 ARENA_TEST says not to. Simplify test for creation of a new arena.
3480 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3481
3482 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3483
3484 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3485 into tail calls.
3486 (update_get_addr): New function.
3487 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3488 GET_ADDR_MODULE parameter.
3489
3490 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3491
3492 * crypt/cert.c: Remove __STDC__ conditionals.
3493 * crypt/crypt-entry.c: Likewise.
3494 * crypt/crypt_util.c: Likewise.
3495 * libio/filedoalloc.c: Likewise.
3496 * libio/fileops.c: Likewise.
3497 * libio/genops.c: Likewise.
3498 * libio/iofclose.c: Likewise.
3499 * libio/iofdopen.c: Likewise.
3500 * libio/iofopen.c: Likewise.
3501 * libio/iofopen64.c: Likewise.
3502 * libio/iogetdelim.c: Likewise.
3503 * libio/iopopen.c: Likewise.
3504 * libio/obprintf.c: Likewise.
3505 * libio/oldfileops.c: Likewise.
3506 * libio/oldiofclose.c: Likewise.
3507 * libio/oldiofdopen.c: Likewise.
3508 * libio/oldiofopen.c: Likewise.
3509 * libio/oldiopopen.c: Likewise.
3510 * libio/wfiledoalloc.c: Likewise.
3511 * libio/wgenops.c: Likewise.
3512 * locale/programs/xmalloc.c: Likewise.
3513 * misc/syslog.c: Likewise.
3514 * stdio-common/xbug.c: Likewise.
3515 * string/memchr.c: Likewise.
3516 * string/memcmp.c: Likewise.
3517 * string/memrchr.c: Likewise.
3518 * string/rawmemchr.c: Likewise.
3519 * sysdeps/posix/getcwd.c: Likewise.
3520 * time/strftime_l.c: Likewise.
3521
3522 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3523
3524 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3525 * config.make.in (config-cflags-sse2avx): Define.
3526 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3527 Fix typo.
3528
3529 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3530
3531 * scripts/config.guess: Update from upstream config git repository.
3532 * scripts/config.sub: Likewise.
3533
3534 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3535
3536 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3537 (EM_NUM): Update.
3538 (R_TILEPRO_*, R_TILEGX_*): New macros.
3539
3540 * scripts/firstversions.awk: Fix bug in version range handling.
3541
3542 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3543
3544 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3545
3546 * include/sys/epoll.h: New file.
3547 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3548 libc_hidden_def.
3549
3550 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3551
3552 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3553 Avoid unnecessary __WORDSIZE == 64 test.
3554 (fmaxf): Use VEX format if possible.
3555 (fmax): Likewise.
3556 (fminf): Likewise.
3557 (fmin): Likewise.
3558
3559 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3560 * math/math_private.h: Remove libc_fegetround* and
3561 libc_fesetround*.
3562 * sysdeps/i386/configure.in: Check for -msse2avx.
3563 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3564 also if SSE2AVX is defined.
3565 Remove libc_fegetround* and libc_fesetround*.
3566 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3567 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3569 of HAS_YMM_USABLE.
3570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3575
3576 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3577
3578 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3579
3580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3581 size is not set.
3582 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3583
3584 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3585
3586 [BZ #13618]
3587 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3588 relocation.
3589 * Makeconfig (libm): Define.
3590 * elf/Makefile: Add rules to build and run tst-relsort1.
3591 * elf/tst-relsort1.c: New file.
3592 * elf/tst-relsort1mod1.c: New file.
3593 * elf/tst-relsort1mod2.c: New file.
3594
3595 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3596
3597 * math/s_ldexp.c: Remove __STDC__ conditionals.
3598 * math/s_ldexpf.c: Likewise.
3599 * math/s_ldexpl.c: Likewise.
3600 * math/s_nextafter.c: Likewise.
3601 * math/s_nexttowardf.c: Likewise.
3602 * math/s_significand.c: Likewise.
3603 * math/s_significandf.c: Likewise.
3604 * math/s_significandl.c: Likewise.
3605 * math/w_jnl.c: Likewise.
3606 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3607 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3608 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3609 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3610 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3625 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3626 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3627 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3628 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3629 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3630 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3631 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3632 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3633 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3634 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3635 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3636 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3637 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3638 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3641 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3642 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3643 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3644 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3645 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3646 * sysdeps/ieee754/k_standard.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3708 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3713 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3721 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3722 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3726 * sysdeps/ieee754/s_matherr.c: Likewise.
3727 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3728 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3731
3732 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3733
3734 * crypt/md5.h: Remove __STDC__ conditionals.
3735 * libio/libioP.h: Likewise.
3736 * locale/programs/config.h: Likewise.
3737 * sysdeps/generic/sysdep.h: Likewise.
3738 * sysdeps/i386/asm-syntax.h: Likewise.
3739 * sysdeps/s390/asm-syntax.h: Likewise.
3740 * sysdeps/unix/sysdep.h: Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3743
3744 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3745
3746 * libio/libio.h: Remove __STDC__ conditionals.
3747 * malloc/obstack.h: Likewise.
3748 * math/complex.h: Likewise.
3749 * math/math.h: Likewise.
3750 * sysdeps/generic/_G_config.h: Likewise.
3751 * sysdeps/gnu/_G_config.h: Likewise.
3752 * sysdeps/mach/hurd/_G_config.h: Likewise.
3753 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3755 * sysdeps/sparc/bits/mathdef.h: Likewise.
3756
3757 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3758
3759 [BZ #13583]
3760 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3761 Clean up HAS_* macros.
3762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3763 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3764 possible.
3765 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3766 HAS_AVX.
3767 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3768 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3772
3773 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3774
3775 * elf/tst-unique3.cc (gets): Remove declaration.
3776 * elf/tst-unique3lib.cc (gets): Likewise.
3777 * elf/tst-unique3lib2.cc (gets): Likewise.
3778 * elf/tst-unique4.cc (gets): Likewise.
3779
3780 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3781
3782 * include/stdio.h: Add C++ protection. Add gets declarations and
3783 definitions.
3784 * debug/tst-chk1.c: Don't declare gets here.
3785 * stdio-common/tst-gets.c: Likewise.
3786
3787 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3788
3789 * posix/glob: Remove directory.
3790
3791 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3792
3793 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3794
3795 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3796
3797 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3798 of the non-standard EPFNOSUPPORT.
3799
3800 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3801
3802 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3803 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3804 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3805
3806 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3807
3808 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3809
3810 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3811
3812 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3813 transient errors.
3814 * nscd/grpcache.c (cache_addgr): Likewise.
3815 * nscd/hstcache.c (cache_addhst): Likewise.
3816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3817 * nscd/pwdcache.c (cache_addpw): Likewise.
3818 * nscd/servicescache.c (cache_addserv): Likewise.
3819
3820 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3821
3822 * malloc/malloc.c: Various cleanups.
3823 * malloc/hooks.c: Likewise.
3824
3825 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3826 * stdlib/bug-fmtmsg1.c: New file.
3827
3828 * stdlib/fmtmsg.c (init): Add missing unlock.
3829 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3830
3831 2012-01-12 Marek Polacek <polacek@redhat.com>
3832
3833 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3834 and _GNU_SOURCE.
3835
3836 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3837
3838 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3839 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3840 macro to ensure uniqueness of label name.
3841 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3842 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3843
3844 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3845
3846 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3847
3848 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3849 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3852
3853 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3854
3855 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3856
3857 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3858 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3859 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3860
3861 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3862
3863 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3864 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3867
3868 * math/bits/math-finite.h: Add ldexp support.
3869
3870 2012-01-10 Marek Polacek <polacek@redhat.com>
3871
3872 * locale/programs/localedef.h (show_archive_content): Add noreturn
3873 attribute.
3874
3875 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3876
3877 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3878
3879 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3880
3881 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3882
3883 * io/Makefile (headers): Add bits/poll2.h.
3884
3885 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3886
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3888 typo #include statement.
3889
3890 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3891
3892 * include/sys/cdefs.h: Define __attribute_alloc_size.
3893 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3894 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3895 * elf/pldd.c: Likewise.
3896 * iconv/iconv_charmap.c: Likewise.
3897 * iconv/iconvconfig.c: Likewise.
3898 * iconv/strtab.c: Likewise.
3899 * locale/programs/locale.c: Likewise.
3900 * locale/programs/localedef.h: Likewise.
3901 * locale/programs/simple-hash.c: Likewise.
3902 * nscd/nscd.h: Likewise.
3903 * nss/makedb.c: Likewise.
3904 * sysdeps/generic/ldconfig.h: Likewise.
3905 * locale/programs/localedef.c: Remove xmalloc prototype.
3906 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3907
3908 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3909
3910 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3911 appropriate.
3912
3913 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3914
3915 * math/Makefile (tests): Add tst-CMPLX.
3916 * math/tst-CMPLX.c: New file.
3917
3918 * math/complex.h (CMPLXL): Fix typo.
3919
3920 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3921 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3922 GLIBC_2.16.
3923 * debug/tst-chk1.c: Add poll and ppoll tests.
3924 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3925 * include/sys/poll.h: Add hidden proto for ppoll.
3926 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3927 * sysdeps/mach/hurd/ppoll.c: Likewise.
3928 * io/ppoll.c: Likewise.
3929 * debug/poll_chk.c: New file.
3930 * debug/ppoll_chk.c: New file.
3931 * include/bits/poll2.h: New file.
3932 * io/bits/poll2.h: New file.
3933
3934 [BZ #1350]
3935 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3936
3937 * configure.in: static is always set to yes. Remove.
3938 * config.make.in: Don't set build-static.
3939 * Makeconfig: Remove use of build-static.
3940 * dlfcn/Makefile: Likewise.
3941 * elf/Makefile: Likewise.
3942 * math/Makefile: Likewise.
3943 * misc/Makefile: Likewise.
3944 * nptl/Makefile: Likewise.
3945 * sysdeps/mach/hurd/Makefile: Likewise.
3946
3947 * configure.in: PWD_P is not used anymore.
3948 * config.make.in: Remove PWD_P entry.
3949
3950 * configure.in: Remove last remnants of RANLIB.
3951 No need to check for signed size_t anymore.
3952 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3953 and IA-64.
3954 Remove __builtin_expect test because we require at least gcc 3.4.
3955 * aclocal.m4: Likewise.
3956
3957 * wcsmbs/mbrtoc16.c: Implement using towc function.
3958 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3959 * wcsmbs/wcsmbsload.c: Likewise.
3960 * iconv/gconv_simple.c: Likewise.
3961 * iconv/gconv_int.h: Likewise.
3962 * iconv/gconv_builtin.h: Likewise.
3963 * iconv/iconv_prog.c: Remove CHAR16 handling.
3964
3965 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3966
3967 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3968
3969 * configure.in: Remove --with-elf and --enable-bounded options.
3970 Dont set base_machine for ia64. More non-ELF conditions removed.
3971 Remove testing and setting of leading underscore information.
3972 * config.make.in (build-bounded): Set to no.
3973 * config.h.in: Remove NO_UNDERSCORES entry.
3974 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3975 them.
3976 * csu/start.c: Remove !NO_UNDERSCORE code.
3977 * locale/localeinfo.h: Likewise.
3978 * sysdeps/generic/machine-gmon.h: Likewise.
3979 * sysdeps/generic/sysdep.h: Likewise.
3980 * sysdeps/i386/sysdep.h: Likewise.
3981 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3982 * sysdeps/mach/sysdep.h: Likewise.
3983 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3985 * sysdeps/sh/sysdep.h: Likewise.
3986 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3987 * sysdeps/unix/i386/sysdep.S: Likewise.
3988 * sysdeps/unix/sparc/start.c: Likewise.
3989 * sysdeps/unix/sparc/sysdep.S: Likewise.
3990 * sysdeps/unix/sparc/sysdep.h: Likewise.
3991 * sysdeps/unix/start.c: Likewise.
3992 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3993 * sysdeps/x86_64/sysdep.h: Likewise.
3994
3995 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3996
3997 [BZ #13553]
3998 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3999 for non-gcc.
4000 * argp/argp-fmtstream.h: Use const instead __const.
4001 * argp/argp.h: Likewise.
4002 * assert/assert.h: Likewise.
4003 * bits/fenv.h: Likewise.
4004 * bits/sched.h: Likewise.
4005 * bits/sigset.h: Likewise.
4006 * bits/sigthread.h: Likewise.
4007 * catgets/nl_types.h: Likewise.
4008 * conform/data/pthread.h-data: Likewise.
4009 * crypt/crypt-private.h: Likewise.
4010 * crypt/crypt.h: Likewise.
4011 * crypt/crypt_util.c: Likewise.
4012 * ctype/ctype.h: Likewise.
4013 * debug/execinfo.h: Likewise.
4014 * debug/mbsnrtowcs_chk.c: Likewise.
4015 * debug/mbsrtowcs_chk.c: Likewise.
4016 * debug/wcsnrtombs_chk.c: Likewise.
4017 * debug/wcsrtombs_chk.c: Likewise.
4018 * debug/wcstombs_chk.c: Likewise.
4019 * dirent/dirent.h: Likewise.
4020 * dlfcn/dlfcn.h: Likewise.
4021 * elf/neededtest4.c: Likewise.
4022 * grp/grp.h: Likewise.
4023 * gshadow/gshadow.h: Likewise.
4024 * iconv/gconv.h: Likewise.
4025 * iconv/gconv_int.h: Likewise.
4026 * iconv/gconv_simple.c: Likewise.
4027 * iconv/iconv.h: Likewise.
4028 * iconv/loop.c: Likewise.
4029 * iconv/skeleton.c: Likewise.
4030 * include/aio.h: Likewise.
4031 * include/aliases.h: Likewise.
4032 * include/argz.h: Likewise.
4033 * include/arpa/inet.h: Likewise.
4034 * include/assert.h: Likewise.
4035 * include/dirent.h: Likewise.
4036 * include/dlfcn.h: Likewise.
4037 * include/execinfo.h: Likewise.
4038 * include/fcntl.h: Likewise.
4039 * include/fenv.h: Likewise.
4040 * include/glob.h: Likewise.
4041 * include/grp.h: Likewise.
4042 * include/libintl.h: Likewise.
4043 * include/mntent.h: Likewise.
4044 * include/netdb.h: Likewise.
4045 * include/pwd.h: Likewise.
4046 * include/rpc/netdb.h: Likewise.
4047 * include/sched.h: Likewise.
4048 * include/search.h: Likewise.
4049 * include/shadow.h: Likewise.
4050 * include/signal.h: Likewise.
4051 * include/stdio.h: Likewise.
4052 * include/stdlib.h: Likewise.
4053 * include/string.h: Likewise.
4054 * include/sys/socket.h: Likewise.
4055 * include/sys/stat.h: Likewise.
4056 * include/sys/statfs.h: Likewise.
4057 * include/sys/statvfs.h: Likewise.
4058 * include/sys/syslog.h: Likewise.
4059 * include/sys/time.h: Likewise.
4060 * include/sys/uio.h: Likewise.
4061 * include/time.h: Likewise.
4062 * include/unistd.h: Likewise.
4063 * include/utmp.h: Likewise.
4064 * include/wchar.h: Likewise.
4065 * include/wctype.h: Likewise.
4066 * inet/aliases.h: Likewise.
4067 * inet/arpa/inet.h: Likewise.
4068 * inet/netinet/ether.h: Likewise.
4069 * inet/netinet/in.h: Likewise.
4070 * intl/libintl.h: Likewise.
4071 * io/bits/fcntl2.h: Likewise.
4072 * io/fcntl.h: Likewise.
4073 * io/ftw.h: Likewise.
4074 * io/sys/poll.h: Likewise.
4075 * io/sys/stat.h: Likewise.
4076 * io/sys/statfs.h: Likewise.
4077 * io/sys/statvfs.h: Likewise.
4078 * io/utime.h: Likewise.
4079 * libio/bits/stdio.h: Likewise.
4080 * libio/bits/stdio2.h: Likewise.
4081 * libio/libio.h: Likewise.
4082 * libio/libioP.h: Likewise.
4083 * libio/stdio.h: Likewise.
4084 * locale/lc-ctype.c: Likewise.
4085 * locale/locale.h: Likewise.
4086 * login/utmp.h: Likewise.
4087 * malloc/arena.c: Likewise.
4088 * malloc/malloc.c: Likewise.
4089 * malloc/malloc.h: Likewise.
4090 * malloc/mcheck.c: Likewise.
4091 * malloc/mtrace.c: Likewise.
4092 * math/bits/mathcalls.h: Likewise.
4093 * math/fenv.h: Likewise.
4094 * math/math_private.h: Likewise.
4095 * misc/bits/error.h: Likewise.
4096 * misc/bits/syslog.h: Likewise.
4097 * misc/err.h: Likewise.
4098 * misc/error.h: Likewise.
4099 * misc/fstab.h: Likewise.
4100 * misc/mntent.h: Likewise.
4101 * misc/regexp.h: Likewise.
4102 * misc/search.h: Likewise.
4103 * misc/sgtty.h: Likewise.
4104 * misc/sys/mman.h: Likewise.
4105 * misc/sys/syslog.h: Likewise.
4106 * misc/sys/uio.h: Likewise.
4107 * misc/sys/xattr.h: Likewise.
4108 * misc/ttyent.h: Likewise.
4109 * nis/rpcsvc/ypclnt.h: Likewise.
4110 * nss/nss.h: Likewise.
4111 * posix/bits/unistd.h: Likewise.
4112 * posix/fnmatch.h: Likewise.
4113 * posix/glob.h: Likewise.
4114 * posix/sched.h: Likewise.
4115 * posix/spawn.h: Likewise.
4116 * posix/sys/wait.h: Likewise.
4117 * posix/unistd.h: Likewise.
4118 * posix/wordexp.h: Likewise.
4119 * pwd/pwd.h: Likewise.
4120 * resolv/netdb.h: Likewise.
4121 * resource/sys/resource.h: Likewise.
4122 * rt/aio.h: Likewise.
4123 * rt/bits/mqueue2.h: Likewise.
4124 * rt/mqueue.h: Likewise.
4125 * shadow/shadow.h: Likewise.
4126 * signal/signal.h: Likewise.
4127 * socket/send.c: Likewise.
4128 * socket/sendto.c: Likewise.
4129 * socket/sys/socket.h: Likewise.
4130 * stdio-common/printf.h: Likewise.
4131 * stdlib/bits/stdlib.h: Likewise.
4132 * stdlib/fmtmsg.h: Likewise.
4133 * stdlib/monetary.h: Likewise.
4134 * stdlib/stdlib.h: Likewise.
4135 * stdlib/ucontext.h: Likewise.
4136 * streams/stropts.h: Likewise.
4137 * string/argz.h: Likewise.
4138 * string/bits/string2.h: Likewise.
4139 * string/string.h: Likewise.
4140 * string/strings.h: Likewise.
4141 * sunrpc/rpc/auth.h: Likewise.
4142 * sunrpc/rpc/auth_des.h: Likewise.
4143 * sunrpc/rpc/clnt.h: Likewise.
4144 * sunrpc/rpc/netdb.h: Likewise.
4145 * sunrpc/rpc/pmap_clnt.h: Likewise.
4146 * sunrpc/rpc/xdr.h: Likewise.
4147 * sysdeps/generic/inttypes.h: Likewise.
4148 * sysdeps/generic/net/if.h: Likewise.
4149 * sysdeps/generic/sys/swap.h: Likewise.
4150 * sysdeps/gnu/net/if.h: Likewise.
4151 * sysdeps/gnu/utmpx.h: Likewise.
4152 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4153 * sysdeps/i386/i486/bits/string.h: Likewise.
4154 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4155 * sysdeps/s390/bits/string.h: Likewise.
4156 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4157 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4158 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4159 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4160 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4161 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4162 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4163 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4164 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4165 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4167 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4168 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4169 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4170 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4171 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4172 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4174 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4177 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4178 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4179 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4180 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4181 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4182 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4183 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4184 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4185 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4186 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4187 * sysvipc/sys/ipc.h: Likewise.
4188 * sysvipc/sys/msg.h: Likewise.
4189 * sysvipc/sys/sem.h: Likewise.
4190 * sysvipc/sys/shm.h: Likewise.
4191 * termios/termios.h: Likewise.
4192 * time/sys/time.h: Likewise.
4193 * time/time.h: Likewise.
4194 * wcsmbs/bits/wchar2.h: Likewise.
4195 * wcsmbs/uchar.h: Likewise.
4196 * wcsmbs/wchar.h: Likewise.
4197 * wctype/wctype.h: Likewise.
4198
4199 [BZ #13551]
4200 * Makeconfig: Remove all but ELF support including AIX support.
4201 * Makerules: Likewise.
4202 * config.h.in: Likewise.
4203 * config.make.in: Likewise.
4204 * configure: Likewise.
4205 * configure.in: Likewise.
4206 * csu/Makefile: Likewise.
4207 * csu/version.c: Likewise.
4208 * debug/Makefile: Likewise.
4209 * dlfcn/Makefile: Likewise.
4210 * elf/Makefile: Likewise.
4211 * extra-lib.mk: Likewise.
4212 * iconv/Makefile: Likewise.
4213 * include/libc-symbols.h: Likewise.
4214 * include/shlib-compat.h: Likewise.
4215 * resolv/Makefile: Likewise.
4216 * resolv/res_libc.c: Likewise.
4217 * rt/Makefile: Likewise.
4218 * sysdeps/i386/asm-syntax.h: Likewise.
4219 * sysdeps/i386/sysdep.h: Likewise.
4220 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4221 * sysdeps/mach/sysdep.h: Likewise.
4222 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4223 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4224 * sysdeps/s390/asm-syntax.h: Likewise.
4225 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4226 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4227 * sysdeps/sh/sysdep.h: Likewise.
4228 * sysdeps/unix/sparc/sysdep.h: Likewise.
4229 * sysdeps/wordsize-32/divdi3.c: Likewise.
4230 * sysdeps/x86_64/sysdep.h: Likewise.
4231
4232 * argp/Versions: Remove _argp_unlock_xxx.
4233
4234 [BZ #13559]
4235 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4236 * abilist/libBrokenLocale.abilist: Likewise.
4237 * abilist/libanl.abilist: Likewise.
4238 * abilist/libc.abilist: Likewise.
4239 * abilist/libcrypt.abilist: Likewise.
4240 * abilist/libdl.abilist: Likewise.
4241 * abilist/libm.abilist: Likewise.
4242 * abilist/libnsl.abilist: Likewise.
4243 * abilist/libpthread.abilist: Likewise.
4244 * abilist/libresolv.abilist: Likewise.
4245 * abilist/librt.abilist: Likewise.
4246 * abilist/libthread_db.abilist: Likewise.
4247 * abilist/libutil.abilist: Likewise.
4248 * abilist/libnss_db.abilist: New file.
4249
4250 * scripts/abilist.awk: Add support for indirect functions.
4251
4252 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4253
4254 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4255
4256 * shlib-versions: Remove entries for ports architectures.
4257
4258 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4259 files in ports.
4260 * elf/stackguard-macros.h: Remove support for IA-64.
4261 * elf/tst-auditmod1.c: Likewise.
4262 * sysdeps/generic/ldsodefs.h: Likewise.
4263
4264 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4265 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4266 configure files.
4267
4268 [BZ #13552]
4269 * configure.in: Remove --enable-omitfp support.
4270 * FAQ.in: Adjust.
4271 * config.make.in: Likewise.
4272 * Makeconfig: Likewise.
4273 * manual/install.texi: Likewise.
4274
4275 In case anyone cares, the IA-64 architecture could move to ports.
4276 * sysdeps/ia64/*: Removed.
4277 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4278 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4279
4280 [BZ #13555]
4281 * configure.in: Remove entries for unsupported architectures.
4282
4283 [BZ #13533]
4284 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4285 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4286 routines.
4287 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4288 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4289 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4290 fall back to using wcrtomb.
4291 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4292 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4293 renaming.
4294 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4295 * wcsmbs/tst-c16c32-1.c: New file.
4296
4297 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4298 local variable.
4299
4300 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4301
4302 * elf/tst-unique3.cc: Add explicit declaration of gets.
4303 * elf/tst-unique3lib.cc: Likewise.
4304 * elf/tst-unique3lib2.cc: Likewise.
4305 * elf/tst-unique4.cc: Likewise.
4306
4307 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4308
4309 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4310
4311 [BZ #13566]
4312 * assert/assert.h (static_assert): Don't define for C++.
4313 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4314 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4315
4316 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4317
4318 * iconv/loop.c (single loop): Fix assertion in storing of
4319 remaining bytes.
4320
4321 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4322
4323 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4324
4325 * posix/getconf.c: Update copyright year.
4326 * nss/getent.c: Likewise.
4327 * nss/makedb.c: Likewise.
4328 * iconv/iconvconfig.c: Likewise.
4329 * iconv/iconv_prog.c: Likewise.
4330 * elf/ldconfig.c: Likewise.
4331 * elf/pldd.c: Likewise.
4332 * elf/sotruss.ksh: Likewise.
4333 * catgets/gencat.c: Likewise.
4334 * csu/version.c: Likewise.
4335 * elf/ldd.bash.in: Likewise.
4336 * elf/sprof.c (print_version): Likewise.
4337 * locale/programs/locale.c: Likewise.
4338 * locale/programs/localedef.c: Likewise.
4339 * login/programs/pt_chown.c: Likewise.
4340 * nscd/nscd.c (print_version): Likewise.
4341 * debug/xtrace.sh: Likewise.
4342 * malloc/memusage.sh: Likewise.
4343 * malloc/mtrace.pl: Likewise.
4344 * debug/catchsegv.sh: Likewise.
4345
4346 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4347
4348 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4349 pure attribute.
4350
4351 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4352
4353 [BZ #13533]
4354 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4355 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4356 transformations.
4357 * iconv/gconv_int.h: Likewise.
4358 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4359 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4360 from libc for GLIBC_2.16.
4361 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4362 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4363 * wcsmbs/uchar.h: Really define mbstate_t.
4364 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4365 * wcsmbs/c16rtomb.c: New file.
4366 * wcsmbs/mbrtoc16.c: New file.
4367 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4368 for C/POSIX locale.
4369 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4370 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4371
4372 * wcsmbs/wchar.h: Add missing __restrict.
4373
4374 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4375
4376 [BZ #13532]
4377 * time/Makefile (routines): Add timespec_get.
4378 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4379 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4380 timespec for ISO C11.
4381 * time/timespec_get.c: New file.
4382 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4383 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4384
4385 [BZ #13531]
4386 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4387 * stdlib/stdlib.h: Declare aligned_alloc.
4388 * Versions.def: Add GLIBC_2.16 for libc.
4389 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4390
4391 [BZ 13527]
4392 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4393 ISO C11.
4394
4395 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4396 code.
4397
4398 [BZ #13528]
4399 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4400
4401 [BZ #13529]
4402 * assert/assert.h (static_assert): Define.
4403
4404 * version.h: Update for 2.16 development version.
4405
4406 [BZ #13526]
4407 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4408 _ISOC11_SOURCE.
4409
4410 * version.h (RELEASE): Bump for 2.15 release.
4411 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4412
4413 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4414 Patch by Marek Polacek <mpolacek@redhat.com>.
4415
4416 * bits/byteswap.h: Protect long long constants with __extension__.
4417 * sysdeps/i386/bits/byteswap.h: Likewise.
4418 * sysdeps/ia64/bits/byteswap.h: Likewise.
4419 * sysdeps/s390/bits/byteswap.h: Likewise.
4420 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4421
4422 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4423
4424 [BZ #13540]
4425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4426 destination buffer.
4427 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4428
4429 2011-12-23 Marek Polacek <polacek@redhat.com>
4430
4431 * elf/dl-addr.c (determine_info): Add inline keyword.
4432 * elf/tst-auditmod4b.c (check_avx): Likewise.
4433 * elf/tst-auditmod6b.c (check_avx): Likewise.
4434 * elf/tst-auditmod6c.c (check_avx): Likewise.
4435 * elf/tst-auditmod7b.c (check_avx): Likewise.
4436
4437 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4438
4439 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4440 !__SSE_MATH__.
4441
4442 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4443
4444 [BZ #13540]
4445 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4446 processing for last bytes.
4447
4448 2011-08-06 Bruno Haible <bruno@clisp.org>
4449
4450 [BZ #13061]
4451 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4452 U+0385, not to U+1FEE.
4453
4454 [BZ #13062]
4455 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4456 entry for U+00A5 U+0301.
4457
4458 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4459
4460 [BZ #13166]
4461 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4462 buffer for the output is too small.
4463
4464 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4465 optimization.
4466
4467 [BZ #13185]
4468 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4469 SSE flags if possible.
4470
4471 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4472
4473 [BZ #13540]
4474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4475 processing for last bytes.
4476
4477 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4478
4479 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4480 (syscall-list-default-options, syscall-list-default-condition)
4481 (syscall-list-includes): Define.
4482 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4483 list of ABIs and options and #if conditions for each ABI. Do not
4484 handle common syscalls between ABIs specially.
4485 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4486 Remove.
4487 (syscall-list-variants, syscall-list-32bit-options)
4488 (syscall-list-32bit-condition, syscall-list-64bit-options)
4489 (syscall-list-64bit-condition): Define.
4490 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4491 (syscall-list-variants, syscall-list-32bit-options)
4492 (syscall-list-32bit-condition, syscall-list-64bit-options)
4493 (syscall-list-64bit-condition): Define.
4494 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4495 Remove.
4496 (syscall-list-variants, syscall-list-32bit-options)
4497 (syscall-list-32bit-condition, syscall-list-64bit-options)
4498 (syscall-list-64bit-condition): Define.
4499 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4500 Remove.
4501 (syscall-list-variants, syscall-list-32bit-options)
4502 (syscall-list-32bit-condition, syscall-list-64bit-options)
4503 (syscall-list-64bit-condition): Define.
4504
4505 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4506
4507 * locale/iso-639.def: Add brx entry.
4508
4509 [BZ #13328]
4510 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4511 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4512
4513 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4514 __feraiseexcept_renamed.
4515
4516 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4517
4518 [BZ #13538]
4519 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4520 EPOLLET with unsigned values.
4521 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4522 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4523
4524 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4525 to large cancellation.
4526 * math/s_cacoshf.c: Likewise.
4527 * math/s_cacoshl.c: Likewise.
4528
4529 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4530
4531 [BZ #13305]
4532 [BZ #12786]
4533 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4534 * math/s_cacoshf.c: Likewise.
4535 * math/s_cacoshl.c: Likewise.
4536
4537 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4538
4539 [BZ #13439]
4540 * iconv/gconv.h: Define __GCONV_SWAP.
4541 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4542 * iconvdata/utf-16.c: Likewise.
4543 * iconvdata/utf-32.c: Likewise.
4544
4545 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4546
4547 [BZ #13524]
4548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4549 numerator after shifting it by one limb.
4550
4551 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4552
4553 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4554 under [__USE_EXTERN_INLINES].
4555
4556 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4557
4558 [BZ #13446]
4559 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4560
4561 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4562
4563 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4564 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4565 optimized code.
4566 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4567 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4568 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4569 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4570 for strncasecmp/strncasecmp_l compilation.
4571 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4572 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4573
4574 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4575
4576 [BZ #13484]
4577 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4578 of __asm__.
4579
4580 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4581
4582 [BZ #13506]
4583 * time/tzfile.c (__tzfile_read): Check values from file header.
4584
4585 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4586
4587 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4588 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4589 * powerpc/powerpc32/dl-start.S: Likewise.
4590 * powerpc/powerpc32/elf/start.S: Likewise.
4591 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4592 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4593 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4594 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4595 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4596 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4597 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4598 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4599 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4600 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4601 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4602 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4603 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4604 * powerpc/powerpc32/memset.S: Likewise.
4605 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4606 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4607 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4608 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4609 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4610 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4611 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4612 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4613 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4614 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4615 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4616 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4617 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4618
4619 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4620
4621 * math/libm-test.inc: Added more nearbyint tests.
4622 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4623 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4624 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4625 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4626
4627 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4628
4629 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4630 FD_CLOEXEC.
4631
4632 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4633
4634 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4635 Add wcscpy-ssse3 wcscpy-c.
4636 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4637 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4638 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4639 * sysdeps/x86_64/wcschr.S: New file.
4640 * sysdeps/x86_64/wcsrchr.S: New file.
4641 * string/test-strcmp.c: Remove checking of wcscmp function for
4642 wrong alignments.
4643 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4644 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4645 wcsrchr-sse2 wcsrchr-c.
4646 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4647 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4648 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4649 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4650 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4651 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4652 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4653 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4654 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4655 * wcsmbc/wcschr.c (WCSCHR): New macro.
4656
4657 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4658
4659 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4660 * wcsmbs/test-wcsrchr.c: New file.
4661 * string/test-strrchr.c: Add wcsrchr support.
4662 (WIDE): New macro.
4663 * wcsmbs/test-wcscpy.c: New file.
4664 * string/test-strcpy.c: Add wcscpy support.
4665 (WIDE): New macro.
4666
4667 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4668
4669 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4670 the inner loop.
4671
4672 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4673
4674 [BZ #13472]
4675 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4676
4677 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4678
4679 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4680 Minor optimizations.
4681
4682 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4683 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4684 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4685
4686 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4687
4688 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4689 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4690 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4691 for gcc to avoid warnings.
4692 * inet/Makefile (tests): Add tst-checks.
4693 * inet/tst-checks.c: New file.
4694
4695 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4696 warning.
4697
4698 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4699 __wmemcmp_sse2.
4700
4701 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4702 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4703
4704 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4705
4706 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4707
4708 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4709 problem.
4710
4711 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4712
4713 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4714
4715 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4716 conditional on GCC version.
4717 (__arch_compare_and_exchange_val_8_acq)
4718 (__arch_compare_and_exchange_val_16_acq)
4719 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4720 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4721 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4722
4723 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4724
4725 * sysdeps/sh/backtrace.c: New file.
4726
4727 2011-12-02 Andreas Schwab <schwab@redhat.com>
4728
4729 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4730 parenthesis.
4731
4732 2011-12-01 Andreas Schwab <schwab@redhat.com>
4733
4734 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4735 falling back to utime.
4736
4737 2011-11-30 Andreas Schwab <schwab@redhat.com>
4738
4739 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4740 expectations for float.
4741
4742 2011-11-29 Andreas Schwab <schwab@redhat.com>
4743
4744 * locale/weight.h (findidx): Add parameter len.
4745 * locale/weightwc.h (findidx): Likewise.
4746 * posix/fnmatch_loop.c (FCT): Adjust caller.
4747 * posix/regcomp.c (build_equiv_class): Likewise.
4748 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4749 * posix/regexec.c (check_node_accept_bytes): Likewise.
4750 * string/strcoll_l.c (STRCOLL): Likewise.
4751 * string/strxfrm_l.c (STRXFRM): Likewise.
4752
4753 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4754
4755 * Makefile.in: Remove CVSOPT handling.
4756 * configure.in: Remove use of AC_REVISION.
4757 * iconvdata/Makefile (distribute): No need to filter out CVS.
4758 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4759 handling.
4760
4761 2011-11-16 Andreas Schwab <schwab@redhat.com>
4762
4763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4764 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4765 [USE_AS_STRNCASECMP_L]: Likewise.
4766 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4767 NO_TLS_DIRECT_SEG_REFS.
4768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4769 Fix argument offsets for non-PIC.
4770 [USE_AS_STRNCASECMP_L]: Likewise.
4771 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4772 NO_TLS_DIRECT_SEG_REFS.
4773
4774 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4775
4776 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4777 O_CLOEXEC.
4778 * locale/loadlocale.c (_nl_load_locale): Likewise.
4779
4780 2011-11-15 Andreas Schwab <schwab@redhat.com>
4781
4782 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4783 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4784 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4785 (SYSCALL_GETTIME): Set errno on error.
4786
4787 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4788 count references to noai6ai_cached.
4789
4790 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4791
4792 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4793
4794 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4795 FD_CLOEXEC for /proc/self/maps.
4796
4797 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4798 FD_CLOEXEC for /proc/meminfo.
4799
4800 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4801 gai.conf.
4802
4803 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4804 FD_CLOEXEC for given file.
4805
4806 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4807
4808 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4809 FD_CLOEXEC for /etc/hosts.
4810 (_gethtent): Likewise.
4811
4812 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4813
4814 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4815 cancellation and set FD_CLOEXEC for /etc/netgroup.
4816
4817 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4818 reading /etc/publickey.
4819
4820 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4821 allow cancellation when reading /etc/group.
4822
4823 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4824 cancellation.
4825 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4826
4827 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4828 when using data file.
4829
4830 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4831
4832 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4833 (write_nis_obj): Use "c" and "e" in fopen.
4834
4835 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4836
4837 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4838
4839 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4840
4841 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4842
4843 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4844 locale.alias.
4845
4846 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4847
4848 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4849
4850 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4851
4852 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4853 file parsing and set FD_CLOEXEC.
4854
4855 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4856
4857 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4858
4859 2011-11-14 Andreas Schwab <schwab@redhat.com>
4860
4861 * malloc/arena.c (arena_get2): Don't call reused_arena when
4862 _int_new_arena failed.
4863
4864 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4865
4866 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4867 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4868 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4869 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4872 to compile strcasecmp and strncasecmp.
4873 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4874 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4875
4876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4877
4878 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4879
4880 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4881 locale-defines.sym to gen-as-const-headers.
4882 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4883 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4885 to compile strcasecmp and strncasecmp.
4886 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4887 strcasecmp_l and strncasecmp_l.
4888 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4889 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4890 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4891 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4892 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4893 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4894 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4895 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4896 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4897 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4898 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4899
4900 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4901
4902 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4903 result of SYSDEP_GETTIME_CPU to retval.
4904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4905 parameter list to macro. Remove trailing semicolon. Adjust users.
4906
4907 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4908 variable.
4909
4910 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4911 mantissa words.
4912 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4913
4914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4915 from unused variable.
4916
4917 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4918 DWARF definitions.
4919 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4920 for assembling.
4921
4922 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4923 over namespaces.
4924
4925 * sunrpc/rpc_prot.c (rejected): Fix case value.
4926
4927 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4928 unsigned long long int to avoid warnings in shift.
4929
4930 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4931 of use of trans.
4932 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4933 variable tmp.
4934
4935 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4936 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4937 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4938
4939 * nis/nis_table.c (nis_list): Use variable of correct type for
4940 result of __follow_path call.
4941
4942 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943
4944 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4945 of math functions ceil, trunc, floor, round, and sqrt, when
4946 avaliable on the platform.
4947 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4948 name clash.
4949 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4950 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4951 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4952
4953 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4954
4955 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4957
4958 2011-11-11 Roland McGrath <roland@hack.frob.com>
4959
4960 * include/unistd.h: Fix __readlink return type.
4961 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4962
4963 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4964
4965 * stdlib/ucontext.h: Undo last change for makecontext.
4966
4967 2011-11-11 Andreas Schwab <schwab@redhat.com>
4968
4969 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4970
4971 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4972 * setjmp/setjmp.h: Mark functions as non-leaf.
4973 * setjmp/bits/setjmp2.h: Likewise.
4974 * stdlib/ucontext.h: Likewise.
4975
4976 2011-11-10 Andreas Schwab <schwab@redhat.com>
4977
4978 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4979 (reused_arena): Don't check arena limit.
4980 (arena_get2): Atomically check arena limit.
4981
4982 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4983
4984 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4985 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4986
4987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4988 instructions.
4989
4990 2011-11-07 Andreas Schwab <schwab@redhat.com>
4991
4992 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4993 handler when locking.
4994
4995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4996 Fix size of allocated buffer.
4997
4998 2011-11-04 Andreas Schwab <schwab@redhat.com>
4999
5000 [BZ #10103]
5001 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5002 declarations for long double functions.
5003 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5004
5005 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5006
5007 2011-11-03 Andreas Schwab <schwab@redhat.com>
5008
5009 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5010 installed.
5011
5012 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5013 is disabled.
5014
5015 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5016
5017 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5018
5019 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5020
5021 * include/alloca.h (stackinfo_alloca_round): Define.
5022 (extend_alloca): Use it.
5023 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5024 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5025 here.
5026
5027 * scripts/check-local-headers.sh: Ignore libaudit.h.
5028
5029 * nscd/Makefile (extra-objs): Make recursively expanded.
5030
5031 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5032
5033 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5034 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5035
5036 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5037 * posix/tst-rfc3484-2.c: Likewise.
5038 * posix/tst-rfc3484-3.c: Likewise.
5039
5040 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5041 process_vm_writev.
5042 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5043 process_vm_writev.
5044 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5045 process_vm_writev from libc using GLIBC_2.15 version.
5046
5047 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5048
5049 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5050
5051 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5052 stack usage.
5053
5054 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5055
5056 [BZ #13367]
5057 * nss/getent.c (initgroups_keys): Show error message in case no group
5058 names are given.
5059
5060 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5061 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5062 __bump_nl_timestamp.
5063 * nscd/connections (nscd_init): When host database is served open
5064 netlink socket and request notification about configuration changes.
5065 (main_loop_poll): Track netlink file descriptor and bump timestamp
5066 in case data becomes available.
5067 (main_loop_epoll): Likewise.
5068 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5069 (database_pers_head): Add extra_data fileds.
5070 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5071 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5072 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5073 Adjust caller.
5074 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5075 in6ai data, call __free_in6ai.
5076 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5077 Add -DHAVE_NETLINK.
5078 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5079 interface information. Reuse previous data if netlink timestamp
5080 is not changed.
5081 (__bump_nl_timestamp): New function.
5082 (__free_in6ai): New function.
5083
5084 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5085
5086 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5087 close_not_cancel_no_status here.
5088 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5089
5090 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5091
5092 [BZ #13276]
5093 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5094 return value.
5095
5096 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5097 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5098 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5099
5100 2011-07-03 Andreas Jaeger <aj@suse.de>
5101
5102 [BZ #10709]
5103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5104 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5105 * math/libm-test.inc (sin_test): Add test case.
5106
5107 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5108
5109 [BZ #13337]
5110 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5111 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5112
5113 * elf/chroot_canon.c (chroot_canon): Cleanups.
5114
5115 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5116
5117 [BZ #13335]
5118 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5119 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5120
5121 * string/test-strchr.c: Make usable for strchrnul testing.
5122 * string/test-strchrnul.c: New file.
5123 * string/Makefile (strop-tests): Add strchrnul.
5124
5125 * po/it.po: Update from translation team.
5126 * po/es.po: Likewise.
5127
5128 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5129
5130 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5131 the three constants needed as parameters. Drop the others.
5132 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5133 __m128i_strloadu_tolower.
5134 Create and initialize variable zero and use it in all the places
5135 where _mm_setzero_si128 was used.
5136
5137 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5138 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5139 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5140 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5141 anymore.
5142 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5143 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5144 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5145 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5146 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5147 __mpranred, __mptan.
5148 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5149 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5150 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5151 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5152 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5153 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5154 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5155 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5156 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5157
5158 2011-10-28 Andreas Schwab <schwab@redhat.com>
5159
5160 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5161 redefine if SHARED.
5162 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5163
5164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5165 wide char related routines to wcsmbs subdir.
5166
5167 2011-10-27 Andreas Schwab <schwab@redhat.com>
5168
5169 [BZ #13344]
5170 * misc/sys/cdefs.h (__THROWNL): Define.
5171 * posix/unistd.h: Use __THREADNL instead of __THREAD
5172 for memory synchronization functions.
5173
5174 2011-10-26 Roland McGrath <roland@hack.frob.com>
5175
5176 [BZ #13349]
5177 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5178 doesn't exist.
5179 * manual/stdio.texi (Obstack Streams): Node removed.
5180
5181 2011-10-26 Andreas Schwab <schwab@redhat.com>
5182
5183 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5184 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5185 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5186
5187 * math/math_private.h (math_force_eval): Allow non-addressable
5188 arguments.
5189 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5190
5191 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5192
5193 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5194 file is not needed.
5195
5196 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5198 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5199 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5200 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5201 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5202 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5203 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5204 Add AVX variants.
5205 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5206 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5207 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5208 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5209 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5210 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5211 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5212 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5213 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5214 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5215 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5216 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5217 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5218 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5219 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5220 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5221 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5222 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5223 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5224
5225 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5226 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5227
5228 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5229 place. Use VEX encoding when compiling for AVX.
5230
5231 2011-10-25 Andreas Schwab <schwab@redhat.com>
5232
5233 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5234 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5235
5236 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5237
5238 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5239
5240 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5241 useless if() expression.
5242 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5251 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5253 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5254 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5255 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5256 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5258 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5260 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5261
5262 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5263
5264 2011-10-25 Andreas Schwab <schwab@redhat.com>
5265
5266 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5267 condition.
5268 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5269
5270 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5271
5272 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5273 .text section. Avoid duplicate constants.
5274 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5284 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5286 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5289 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5291 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5297 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5298 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5299 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5300 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5301 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5302 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5303 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5304 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5305 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5306 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5307 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5308 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5309 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5310 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5311 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5312 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5313 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5315 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5316 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5317 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5318 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5319
5320 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5321
5322 * sysdeps/x86_64/dla.h: Move to ...
5323 * sysdeps/x86_64/fpu/dla.h: ...here.
5324 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5325 situations. Use __builtin_fma only for gcc 4.6 and up.
5326
5327 * config.make.in: Add have-mfma4 entry.
5328 * configure.in: Substitute libc_cv_cc_fma4.
5329 * math/Makefile (dbl-only-routines): Add sincostab.
5330 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5331 Use __sincostab not sincos.
5332 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5333 name is a macro.
5334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5338 using __copysign.
5339 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5340 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5341 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5342 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5343 and __inv.
5344 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5345 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5346 __copysign.
5347 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5348 define aliases when function name is a macro.
5349 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5350 sysdeps/ieee754/dbl-64/sincos.tbl.
5351 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5352 fma4-enabled routines.
5353 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5355 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5356 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5357 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5358 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5359 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5360 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5362 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5363 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5364 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5365 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5366 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5368 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5369 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5370 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5371 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5373 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5374 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5376 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5377 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5380 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5381 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5382 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5383
5384 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5385 rename.
5386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5394
5395 2011-10-24 Andreas Schwab <schwab@redhat.com>
5396
5397 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5398
5399 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5400
5401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5402
5403 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5404 prediction.
5405 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5406
5407 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5408 Remove unused variable magic_bits.
5409 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5410
5411 * string/strnlen.c: Define and use STRNLEN macro.
5412 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5413 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5414 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5415 * wcsmbs/wcslen.c: Define and use WCSLEN.
5416 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5417 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5418 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5419 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5420 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5421 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5422 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5423
5424 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5425
5426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5427 strnlen-sse2-no-bsf.
5428 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5430 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5431 Add strnlen support.
5432 (USE_AS_STRNLEN): New macro.
5433 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5434 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5435 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5436 * sysdeps/x86_64/wcslen.S: New file.
5437
5438 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5439
5440 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5441 XMM-moves are used for copying on small sizes.
5442
5443 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5444
5445 * wcsmbs/Makefile (strop-tests): Add wcschr.
5446 * wcsmbs/test-wcschr.c: New file.
5447 * string/test-strchr.c: Update.
5448 Add wcschr support.
5449 (WIDE): New macro.
5450
5451 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5452
5453 * wcsmbs/Makefile (strop-tests): Add wcslen.
5454 * wcsmbs/test-wcslen.c: New file.
5455 * string/test-strlen.c: Update.
5456 Add wcslen support.
5457 (WIDE): New macro.
5458
5459 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5460
5461 * po/it.po: Update from translation team.
5462
5463 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5464
5465 * sysdeps/x86_64/wcscmp.S: Update.
5466 Fix wrong comparison semantics.
5467 wcscmp shall use signed comparison not unsigned.
5468 Don't use substraction to avoid overflow bug.
5469 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5470 * wcsmbc/wcscmp.c: Likewise.
5471 * string/test-strcmp.c: Likewise.
5472 Add new tests to check cases with negative values.
5473
5474 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5475
5476 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5477 * sysdeps/x86_64/dla.h: ...here. New file.
5478 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5487
5488 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5489
5490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5491 __ynl_finite aliases.
5492
5493 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5494
5495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5496
5497 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5498 define DLA_FMA.
5499 [DLA_FMA] (EMULV): Use DLA_FMA.
5500 [DLA_FMA] (MUL12): Use EMULV.
5501 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5502 that are not needed.
5503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5510
5511 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5512
5513 * math/s_nan.c: Undef __nan.
5514 * math/s_nanf.c: Undef __nanf.
5515 * math/s_nanl.c: Undef __nanl.
5516 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5517 "math_private.h".
5518
5519 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5520
5521 * math/s_catan.c: Add branch predictions.
5522 * math/s_catanf.c: Likewise.
5523 * math/s_catanh.c: Likewise.
5524 * math/s_catanhf.c: Likewise.
5525 * math/s_catanhl.c: Likewise.
5526 * math/s_catanl.c: Likewise.
5527 * math/s_cexp.c: Likewise.
5528 * math/s_cexpf.c: Likewise.
5529 * math/s_cexpl.c: Likewise.
5530 * math/s_clog.c: Likewise.
5531 * math/s_clog10.c: Likewise.
5532 * math/s_clog10f.c: Likewise.
5533 * math/s_clog10l.c: Likewise.
5534 * math/s_clogf.c: Likewise.
5535 * math/s_clogl.c: Likewise.
5536 * math/s_csqrt.c: Likewise.
5537 * math/s_csqrtf.c: Likewise.
5538 * math/s_csqrtl.c: Likewise.
5539 * math/s_ctanf.c: Likewise.
5540 * math/s_ctanh.c: Likewise.
5541 * math/s_ctanhf.c: Likewise.
5542 * math/s_ctanhl.c: Likewise.
5543 * math/s_ctanl.c: Likewise.
5544
5545 * math/math_private.h: Define __nan, __nanf, __nanl.
5546 * math/s_cacosh.c: Include <math_private.h>.
5547 * math/s_cacoshl.c: Likewise.
5548 * math/s_casinh.c: Likewise.
5549 * math/s_casinhf.c: Likewise.
5550 * math/s_casinhl.c: Likewise.
5551 * math/s_ccos.c: Rely entire on ccosh.
5552 * math/s_ccosf.c: Rely entire on ccoshf.
5553 * math/s_ccosl.c: Rely entirely on ccoshl.
5554 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5555 Remove tests for FE_INVALID.
5556 * math/s_ccoshf.c: Likewise.
5557 * math/s_ccoshl.c: Likewise.
5558 * math/s_csin.c: Likewise.
5559 * math/s_csinf.c: Likewise.
5560 * math/s_csinh.c Likewise.
5561 * math/s_csinhf.c: Likewise.
5562 * math/s_csinhl.c: Likewise.
5563 * math/s_csinl.c: Likewise.
5564 * math/s_ctan.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5566 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5567 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5568
5569 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5570
5571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5572 compilation problems.
5573
5574 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5575 __builtin_expect.
5576
5577 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5578
5579 * sysdeps/i386/configure.in: Test for -mfma4 option.
5580 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5581 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5582 COMMON_CPUID_INDEX_80000001.
5583 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5584 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5585 use it if FMA3 is not supported.
5586 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5587
5588 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5589 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5590
5591 2011-10-20 Andreas Schwab <schwab@redhat.com>
5592
5593 [BZ #12892]
5594 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5595 it would create a cycle with a link time dependency.
5596
5597 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5598
5599 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5600 instruction.
5601 * string/Makefile (strop-tests): Add rawmemchr.
5602 * string/test-rawmemchr.c: New file.
5603
5604 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5605 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5606 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5607 when compiling str{,n}casecmp and when AVX is available. Hook up
5608 new optimized code in initializers.
5609
5610 2011-10-19 Andreas Schwab <schwab@redhat.com>
5611
5612 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5613 __feraiseexcept instead of feraiseexcept.
5614
5615 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5616
5617 * math/math_private.h: Define defaults for libc_fetestexcept and
5618 libc_feupdateenv.
5619 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5620 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5621 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5622 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5623 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5624 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5625 libc_fetestexcept and libc_feupdateenv.
5626
5627 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5628 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5629 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5630 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5631 libc_feholdexcept_setround.
5632
5633 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5634 Add s_nearbyint-c and s_nearbyintf-c.
5635 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5636 nearbyintf inlines.
5637 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5638 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5639 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5640 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5641
5642 * math/math_private.h: Define defaults for libc_fegetround,
5643 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5644 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5645 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5647 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5648 standard functions.
5649 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5650 Remove comments and hacks for old compiler versions.
5651 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5652 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5653 libc_feholdexceptl.
5654
5655 2011-10-18 Andreas Schwab <schwab@redhat.com>
5656
5657 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5658 (__feraiseexcept_renamed): Add __NTH.
5659 (feraiseexcept): Add __NTH. Rename local variables to fix
5660 namespace violations.
5661
5662 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5663
5664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5665
5666 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5667
5668 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5669 recently added interfaces.
5670 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5671
5672 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5673 about macro parameter expansion.
5674
5675 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5676 __NO_MATH_INLINES is defined. Cleanups.
5677
5678 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5679 and __floorf is target has SSE4.1.
5680 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5681 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5682 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5683 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5684
5685 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5686 name.
5687 (floorf): Likewise.
5688
5689 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5690
5691 2011-10-17 Andreas Schwab <schwab@redhat.com>
5692
5693 * misc/sys/cdefs.h: Fix last change.
5694
5695 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5696 database lookup.
5697
5698 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5699
5700 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5701
5702 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5703 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5708 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5709 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5710 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5711 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5712 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5713 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5714 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5715 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5716 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5717 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5718 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5719 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5720 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5721 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5722 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5723 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5724
5725 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5726 ceil, ceilf, floor, floorf.
5727
5728 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5729 Perform IRELATIVE relocations last.
5730
5731 * elf/do-rel.h: Add another parameter nrelative, replacing the
5732 local variable with the same name. Change name of the function
5733 to end in Rel or Rela (uppercase).
5734 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5735 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5736 elf_dynamic_do_##reloc function.
5737
5738 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5739
5740 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5741 is sufficient, at least on modern CPUs.
5742
5743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5744
5745 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5746 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5747
5748 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5749 __expl_finite.
5750 * math/bits/math-finite.h: Add entries for exp.
5751 * math/e_expl.c: Add __*_finite alias.
5752 * sysdeps/i386/fpu/e_exp.S: Likewise.
5753 * sysdeps/i386/fpu/e_expf.S: Likewise.
5754 * sysdeps/i386/fpu/e_expl.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5756 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5760 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5762
5763 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5764 is sufficient, at least on modern CPUs.
5765
5766 * ctype/ctype-info.c (__ctype_init): Define.
5767 * include/ctype.h (__ctype_init): Declare.
5768 (__ctype_b_loc): The variable is always initialized.
5769 (__ctype_toupper_loc): Likewise.
5770 (__ctype_tolower_loc): Likewise.
5771 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5772 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5773
5774 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5775
5776 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5777
5778 * configure.in: Also look in $cxxmachine/include for C++ system
5779 headers.
5780
5781 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5782
5783 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5784 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5785 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5786 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5787 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5788 (USE_AS_WMEMCMP): New macro.
5789 Fixing indents.
5790 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5791 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5792 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5793 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5795 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5796 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5797 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5798 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5799 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5800 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5801 (USE_AS_WMEMCMP): New macro.
5802 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5803 * sysdeps/string/test-memcmp.c: Update.
5804 Fix simple_wmemcmp.
5805 Add new tests.
5806 * wcsmbs/wmemcmp.c: Update.
5807 (WMEMCMP): New macro.
5808 Fix overflow bug.
5809
5810 2011-10-12 Andreas Jaeger <aj@suse.de>
5811
5812 [BZ #13268]
5813 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5814
5815 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5816
5817 * libio/iofwide.c (do_length): Avoid warning.
5818
5819 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5820
5821 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5822
5823 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5824
5825 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5826 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5827 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5828 * sysdeps/i386/i686/fpu/e_log.S: New file.
5829 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5830 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5831
5832 * ctype/ctype.h: Add support for inlined isXXX functions when
5833 compiling C++ code.
5834
5835 2011-10-14 Andreas Schwab <schwab@redhat.com>
5836
5837 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5838
5839 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5840
5841 2011-10-13 Roland McGrath <roland@hack.frob.com>
5842
5843 [BZ #13291]
5844 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5845
5846 2011-10-13 Andreas Schwab <schwab@redhat.com>
5847
5848 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5849 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5850 feraiseexcept.
5851
5852 * sysdeps/x86_64/memrchr.S: Check for zero size.
5853
5854 * string/stratcliff.c: Add memrchr tests.
5855
5856 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5857
5858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5859 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5860 rawmemchr-sse2 rawmemchr-sse2-bsf.
5861 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5862 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5863 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5864 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5865 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5866 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5867 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5868 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5869 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5870 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5871 * string/memrchr.c (MEMRCHR): New macro.
5872
5873 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5874
5875 Add integration with gcc's -ffinite-math-only and optimize wrapper
5876 functions in libm.
5877 * Versions.def: Define GLIBC_2.15 version for libm.
5878 * math/Makefile (headers): Add bits/math-finite.h.
5879 * math/bits/math-finite.h: New file.
5880 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5881 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5882 * math/e_acoshl.c: Add __*_finite alias.
5883 * math/e_acosl.c: Likewise.
5884 * math/e_asinl.c: Likewise.
5885 * math/e_atan2l.c: Likewise.
5886 * math/e_atanhl.c: Likewise.
5887 * math/e_coshl.c: Likewise.
5888 * math/e_exp10.c: Likewise.
5889 * math/e_exp10f.c: Likewise.
5890 * math/e_exp10l.c: Likewise.
5891 * math/e_exp2l.c: Likewise.
5892 * math/e_fmodl.c: Likewise.
5893 * math/e_gammal_r.c: Likewise.
5894 * math/e_hypotl.c: Likewise.
5895 * math/e_j0l.c: Likewise.
5896 * math/e_j1l.c: Likewise.
5897 * math/e_jnl.c: Likewise.
5898 * math/e_lgammal_r.c: Likewise.
5899 * math/e_log10l.c: Likewise.
5900 * math/e_log2l.c: Likewise.
5901 * math/e_logl.c: Likewise.
5902 * math/e_powl.c: Likewise.
5903 * math/e_sinhl.c: Likewise.
5904 * math/e_sqrtl.c: Likewise.
5905 * math/e_scalb.c: Completely rewritten and optimized.
5906 * math/e_scalbf.c: Likewise.
5907 * math/e_scalbl.c: Likewise.
5908 * math/w_acos.c: Likewise.
5909 * math/w_acosf.c: Likewise.
5910 * math/w_acosl.c: Likewise.
5911 * math/w_acosh.c: Likewise.
5912 * math/w_acoshf.c: Likewise.
5913 * math/w_acoshl.c: Likewise.
5914 * math/w_asin.c: Likewise.
5915 * math/w_asinf.c: Likewise.
5916 * math/w_asinl.c: Likewise.
5917 * math/w_atan2.c: Likewise.
5918 * math/w_atan2f.c: Likewise.
5919 * math/w_atan2l.c: Likewise.
5920 * math/w_atanh.c: Likewise.
5921 * math/w_atanhf.c: Likewise.
5922 * math/w_atanhl.c: Likewise.
5923 * math/w_exp10.c: Likewise.
5924 * math/w_exp10f.c: Likewise.
5925 * math/w_exp10l.c: Likewise.
5926 * math/w_fmod.c: Likewise.
5927 * math/w_fmodf.c: Likewise.
5928 * math/w_fmodl.c: Likewise.
5929 * math/w_j0.c: Likewise.
5930 * math/w_j0f.c: Likewise.
5931 * math/w_j0l.c: Likewise.
5932 * math/w_j1.c: Likewise.
5933 * math/w_j1f.c: Likewise.
5934 * math/w_j1l.c: Likewise.
5935 * math/w_jn.c: Likewise.
5936 * math/w_jnf.c: Likewise.
5937 * math/w_log.c: Likewise.
5938 * math/w_logf.c: Likewise.
5939 * math/w_logl.c: Likewise.
5940 * math/w_log10.c: Likewise.
5941 * math/w_log10f.c: Likewise.
5942 * math/w_log10l.c: Likewise.
5943 * math/w_log2.c: Likewise.
5944 * math/w_log2f.c: Likewise.
5945 * math/w_log2l.c: Likewise.
5946 * math/w_pow.c: Likewise.
5947 * math/w_powf.c: Likewise.
5948 * math/w_powl.c: Likewise.
5949 * math/w_remainder.c: Likewise.
5950 * math/w_remainderf.c: Likewise.
5951 * math/w_remainderl.c: Likewise.
5952 * math/w_scalb.c: Likewise.
5953 * math/w_scalbf.c: Likewise.
5954 * math/w_scalbl.c: Likewise.
5955 * math/w_sqrt.c: Likewise.
5956 * math/w_sqrtf.c: Likewise.
5957 * math/w_sqrtl.c: Likewise.
5958 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5959 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5960 used.
5961 * math/math_private.h: Declare __kernel_standard_f.
5962 * math/w_cosh.c: Remove cruft and optimize a bit.
5963 * math/w_coshf.c: Likewise.
5964 * math/w_coshl.c: Likewise.
5965 * math/w_exp2.c: Likewise.
5966 * math/w_exp2f.c: Likewise.
5967 * math/w_exp2l.c: Likewise.
5968 * math/w_hypot.c: Likewise.
5969 * math/w_hypotf.c: Likewise.
5970 * math/w_hypotl.c: Likewise.
5971 * math/w_lgamma.c: Likewise.
5972 * math/w_lgamma_r.c: Likewise.
5973 * math/w_lgammaf.c: Likewise.
5974 * math/w_lgammaf_r.c: Likewise.
5975 * math/w_lgammal.c: Likewise.
5976 * math/w_lgammal_r.c: Likewise.
5977 * math/w_sinh.c: Likewise.
5978 * math/w_sinhf.c: Likewise.
5979 * math/w_sinhl.c: Likewise.
5980 * math/w_tgamma.c: Likewise.
5981 * math/w_tgammaf.c: Likewise.
5982 * math/w_tgammal.c: Likewise.
5983 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5985 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5986 Minor optimizations. Pretty printing. Remove cruft.
5987 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5989 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5990 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5991 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5992 * sysdeps/i386/fpu/e_asin.S: Likewise.
5993 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5994 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5995 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5996 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5997 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5999 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6000 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6001 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6002 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6003 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6004 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6005 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6006 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6007 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6008 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6009 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6010 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6011 * sysdeps/i386/fpu/e_log.S: Likewise.
6012 * sysdeps/i386/fpu/e_log10.S: Likewise.
6013 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6014 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6015 * sysdeps/i386/fpu/e_log2.S: Likewise.
6016 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6017 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6018 * sysdeps/i386/fpu/e_logf.S: Likewise.
6019 * sysdeps/i386/fpu/e_logl.S: Likewise.
6020 * sysdeps/i386/fpu/e_pow.S: Likewise.
6021 * sysdeps/i386/fpu/e_powf.S: Likewise.
6022 * sysdeps/i386/fpu/e_powl.S: Likewise.
6023 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6024 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6025 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6026 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6027 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6029 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6030 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6031 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6053 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6054 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6055 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6056 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6057 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6058 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6059 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6060 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6070 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6071 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6072 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6073 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6110 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6112 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6115 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6120 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6123 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6124 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6125 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6126 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6128 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6129 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6130 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6131 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6132 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6133 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6134 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6135 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6136 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6137 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6138 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6139 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6140 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6141 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6142 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6143 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6144 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6145 (__isnanf): Likewise.
6146 (__isinf_ns): Likewise.
6147 (__isinf_nsf): Likewise.
6148 (__finite): Likewise.
6149 (__finitef): Likewise.
6150 (__ieee754_sqrt): Define as macro.
6151 (__ieee754_sqrtf): Define as macro.
6152 (__ieee754_sqrtl): Define as macro.
6153 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6154 inlined copy.
6155 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6156 __FINITE_MATH_ONLY__ consistent.
6157 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6158
6159 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6160
6161 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6162 of rawmemchr.
6163
6164 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6165
6166 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6167
6168 * po/ja.po: Update from translation team.
6169
6170 2011-10-08 Roland McGrath <roland@hack.frob.com>
6171
6172 * locale/programs/locarchive.c (prepare_address_space): New function.
6173 (create_archive, enlarge_archive, open_archive): Use it.
6174
6175 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6176 inside [SHARED], where it is used.
6177
6178 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6179
6180 * nss/getent.c (netgroup_keys): Remove unused variable.
6181 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6182
6183 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6184
6185 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6186 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6188 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6189 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6190 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6191 * math/Makefile (libm-calls): Add s_isinf_ns.
6192 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6193 * math/multc3.c: Likewise.
6194 * math/s_casin.c: Likewise.
6195 * math/s_casinf.c: Likewise.
6196 * math/s_casinl.c: Likewise.
6197 * math/s_ccos.c: Likewise.
6198 * math/s_ccosf.c: Likewise.
6199 * math/s_ccosl.c: Likewise.
6200 * math/s_ctan.c: Likewise.
6201 * math/s_ctanf.c: Likewise.
6202 * math/s_ctanh.c: Likewise.
6203 * math/s_ctanhf.c: Likewise.
6204 * math/s_ctanhl.c: Likewise.
6205 * math/s_ctanl.c: Likewise.
6206 * math/w_fmod.c: Likewise.
6207 * math/w_fmodf.c: Likewise.
6208 * math/w_fmodl.c: Likewise.
6209 * math/w_remainder.c: Likewise.
6210 * math/w_remainderf.c: Likewise.
6211 * math/w_remainderl.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6213 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6214 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6216 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6217 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6218 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6219 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6220
6221 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6222 of the number.
6223 * stdio-common/printf_fphex.c: Likewise.
6224 * stdio-common/printf_size.c: Likewise.
6225
6226 * math/e_exp10.c: Include math_private.h using <...> not "...".
6227 * math/e_exp10f.c: Likewise.
6228 * math/e_exp10l.c: Likewise.
6229 * math/e_exp2l.c: Likewise.
6230 * math/e_j0l.c: Likewise.
6231 * math/e_j1l.c: Likewise.
6232 * math/e_jnl.c: Likewise.
6233 * math/e_lgammal_r.c: Likewise.
6234 * math/e_rem_pio2l.c: Likewise.
6235 * math/e_scalb.c: Likewise.
6236 * math/e_scalbf.c: Likewise.
6237 * math/e_scalbl.c: Likewise.
6238 * math/k_cosl.c: Likewise.
6239 * math/k_sinl.c: Likewise.
6240 * math/k_tanl.c: Likewise.
6241 * math/s_cacoshf.c: Likewise.
6242 * math/s_catan.c: Likewise.
6243 * math/s_catanf.c: Likewise.
6244 * math/s_catanh.c: Likewise.
6245 * math/s_catanhf.c: Likewise.
6246 * math/s_catanhl.c: Likewise.
6247 * math/s_catanl.c: Likewise.
6248 * math/s_ccosh.c: Likewise.
6249 * math/s_ccoshf.c: Likewise.
6250 * math/s_ccoshl.c: Likewise.
6251 * math/s_cexp.c: Likewise.
6252 * math/s_cexpf.c: Likewise.
6253 * math/s_cexpl.c: Likewise.
6254 * math/s_clog.c: Likewise.
6255 * math/s_clog10.c: Likewise.
6256 * math/s_clog10f.c: Likewise.
6257 * math/s_clog10l.c: Likewise.
6258 * math/s_clogf.c: Likewise.
6259 * math/s_clogl.c: Likewise.
6260 * math/s_csin.c: Likewise.
6261 * math/s_csinf.c: Likewise.
6262 * math/s_csinh.c: Likewise.
6263 * math/s_csinhf.c: Likewise.
6264 * math/s_csinhl.c: Likewise.
6265 * math/s_csinl.c: Likewise.
6266 * math/s_csqrt.c: Likewise.
6267 * math/s_csqrtf.c: Likewise.
6268 * math/s_csqrtl.c: Likewise.
6269 * math/s_ctan.c: Likewise.
6270 * math/s_ctanf.c: Likewise.
6271 * math/s_ctanh.c: Likewise.
6272 * math/s_ctanhf.c: Likewise.
6273 * math/s_ctanhl.c: Likewise.
6274 * math/s_ctanl.c: Likewise.
6275 * math/s_ldexp.c: Likewise.
6276 * math/s_ldexpf.c: Likewise.
6277 * math/s_ldexpl.c: Likewise.
6278 * math/s_significand.c: Likewise.
6279 * math/s_significandf.c: Likewise.
6280 * math/s_significandl.c: Likewise.
6281 * math/w_acos.c: Likewise.
6282 * math/w_acosf.c: Likewise.
6283 * math/w_acosh.c: Likewise.
6284 * math/w_acoshf.c: Likewise.
6285 * math/w_acoshl.c: Likewise.
6286 * math/w_acosl.c: Likewise.
6287 * math/w_asin.c: Likewise.
6288 * math/w_asinf.c: Likewise.
6289 * math/w_asinl.c: Likewise.
6290 * math/w_atan2.c: Likewise.
6291 * math/w_atan2f.c: Likewise.
6292 * math/w_atan2l.c: Likewise.
6293 * math/w_atanh.c: Likewise.
6294 * math/w_atanhf.c: Likewise.
6295 * math/w_atanhl.c: Likewise.
6296 * math/w_cosh.c: Likewise.
6297 * math/w_coshf.c: Likewise.
6298 * math/w_coshl.c: Likewise.
6299 * math/w_dremf.c: Likewise.
6300 * math/w_exp10.c: Likewise.
6301 * math/w_exp10f.c: Likewise.
6302 * math/w_exp10l.c: Likewise.
6303 * math/w_exp2.c: Likewise.
6304 * math/w_exp2f.c: Likewise.
6305 * math/w_fmod.c: Likewise.
6306 * math/w_fmodf.c: Likewise.
6307 * math/w_fmodl.c: Likewise.
6308 * math/w_hypot.c: Likewise.
6309 * math/w_hypotf.c: Likewise.
6310 * math/w_hypotl.c: Likewise.
6311 * math/w_j0.c: Likewise.
6312 * math/w_j0f.c: Likewise.
6313 * math/w_j0l.c: Likewise.
6314 * math/w_j1.c: Likewise.
6315 * math/w_j1f.c: Likewise.
6316 * math/w_j1l.c: Likewise.
6317 * math/w_jn.c: Likewise.
6318 * math/w_jnf.c: Likewise.
6319 * math/w_jnl.c: Likewise.
6320 * math/w_lgamma.c: Likewise.
6321 * math/w_lgamma_r.c: Likewise.
6322 * math/w_lgammaf.c: Likewise.
6323 * math/w_lgammaf_r.c: Likewise.
6324 * math/w_lgammal.c: Likewise.
6325 * math/w_lgammal_r.c: Likewise.
6326 * math/w_log.c: Likewise.
6327 * math/w_log10.c: Likewise.
6328 * math/w_log10f.c: Likewise.
6329 * math/w_log10l.c: Likewise.
6330 * math/w_log2.c: Likewise.
6331 * math/w_log2f.c: Likewise.
6332 * math/w_log2l.c: Likewise.
6333 * math/w_logf.c: Likewise.
6334 * math/w_logl.c: Likewise.
6335 * math/w_pow.c: Likewise.
6336 * math/w_powf.c: Likewise.
6337 * math/w_powl.c: Likewise.
6338 * math/w_remainder.c: Likewise.
6339 * math/w_remainderf.c: Likewise.
6340 * math/w_remainderl.c: Likewise.
6341 * math/w_scalb.c: Likewise.
6342 * math/w_scalbf.c: Likewise.
6343 * math/w_scalbl.c: Likewise.
6344 * math/w_sinh.c: Likewise.
6345 * math/w_sinhf.c: Likewise.
6346 * math/w_sinhl.c: Likewise.
6347 * math/w_sqrt.c: Likewise.
6348 * math/w_sqrtf.c: Likewise.
6349 * math/w_sqrtl.c: Likewise.
6350 * math/w_tgamma.c: Likewise.
6351 * math/w_tgammaf.c: Likewise.
6352 * math/w_tgammal.c: Likewise.
6353
6354 * po/ja.po: Update from translation team.
6355
6356 2011-09-29 Andreas Jaeger <aj@suse.de>
6357
6358 [BZ #13179]
6359 * sunrpc/netname.c (netname2host): Fix logic.
6360
6361 [BZ #6779]
6362 [BZ #6783]
6363 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6364 correctly.
6365 * math/w_remainder.c (__remainder): Likewise.
6366 * math/w_remainderf.c (__remainderf): Likewise.
6367 * math/libm-test.inc (remainder_test): Add test cases.
6368
6369 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6370
6371 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6372 sdiv_qrnnd.
6373
6374 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6375
6376 * string/test-memcmp.c: Avoid unncessary #defines.
6377 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6378
6379 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6380
6381 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6382 Use new sse2 version for core i3 - i7 as it's faster
6383 than sse42 version.
6384 (bit_Prefer_PMINUB_for_stringop): New.
6385 * sysdeps/x86_64/rawmemchr.S: Update.
6386 Replace with faster SSE2 version.
6387 * sysdeps/x86_64/memrchr.S: New file.
6388 * sysdeps/x86_64/memchr.S: Update.
6389 Replace with faster SSE2 version.
6390
6391 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6392
6393 * elf/dl-load.c (lose): Add cast to avoid warning.
6394
6395 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6396
6397 * po/ca.po: Update from translation team.
6398
6399 * inet/getnetgrent_r.c: Hook up nscd.
6400 * nscd/Makefile (routines): Add nscd_netgroup.
6401 (nscd-modules): Add netgroupcache.
6402 (CFLAGS-netgroupcache.c): Define.
6403 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6404 (cache_search): Add const to second parameter.
6405 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6406 INNETGR.
6407 (dbs): Add netgrdb entry.
6408 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6409 (verify_persistent_db): Handle netgrdb.
6410 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6411 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6412 GETFDNETGR.
6413 (netgroup_response_header): Define.
6414 (innetgroup_response_header): Define.
6415 (datahead): Add netgroup_response_header and innetgroup_response_header
6416 elements.
6417 * nscd/nscd.conf: Add entries for netgroup cache.
6418 * nscd/nscd.h (dbtype): Add netgrdb.
6419 (_PATH_NSCD_NETGROUP_DB): Define.
6420 (netgroup_iov_disabled): Declare.
6421 (xmalloc, xcalloc, xrealloc): Move declarations here.
6422 (cache_search): Adjust prototype.
6423 Add netgroup-related prototypes.
6424 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6425 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6426 (__nscd_innetgr): Declare.
6427 * nscd/selinux.c (perms): Use access_vector_t as element type and
6428 add netgroup-related initializers.
6429 * nscd/netgroupcache.c: New file.
6430 * nscd/nscd_netgroup.c: New file.
6431 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6432 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6433 For four parameters use innetgr.
6434 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6435 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6436 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6437 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6438
6439 * nscd/connections.c (register_traced_file): Don't register file
6440 for disabled databases.
6441
6442 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6443
6444 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6445
6446 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6447 from tree and freeing node.
6448
6449 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6450
6451 * nss/nsswitch.c (__nss_database_lookup): Handle
6452 nss_parse_service_list out of memory case.
6453
6454 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6455
6456 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6457 out of memory case.
6458
6459 2011-10-04 Andreas Schwab <schwab@redhat.com>
6460
6461 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6462 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6463 pass it down.
6464 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6465 elf_machine_rela, elf_machine_lazy_rel.
6466 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6467 (ELF_DYNAMIC_DO_REL): Likewise.
6468 (ELF_DYNAMIC_DO_RELA): Likewise.
6469 (ELF_DYNAMIC_RELOCATE): Likewise.
6470 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6471 to ELF_DYNAMIC_DO_REL.
6472 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6473 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6474 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6475 elf_machine_rela.
6476 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6477 skip_ifunc, don't call ifunc function if non-zero.
6478 (elf_machine_rela): Likewise.
6479 (elf_machine_lazy_rel): Likewise.
6480 (elf_machine_lazy_rela): Likewise.
6481 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6482 (elf_machine_lazy_rel): Likewise.
6483 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6484 Likewise.
6485 (elf_machine_lazy_rel): Likewise.
6486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6487 Likewise.
6488 (elf_machine_lazy_rel): Likewise.
6489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6490 (elf_machine_lazy_rel): Likewise.
6491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6492 (elf_machine_lazy_rel): Likewise.
6493 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6494 (elf_machine_lazy_rel): Likewise.
6495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6496 (elf_machine_lazy_rel): Likewise.
6497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6498 (elf_machine_lazy_rel): Likewise.
6499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6500 (elf_machine_lazy_rel): Likewise.
6501
6502 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6503
6504 * nss/nss_files/files-init.c (_nss_files_init): Use static
6505 initialization for all the *_traced_file variables.
6506
6507 2011-09-28 Andreas Schwab <schwab@redhat.com>
6508
6509 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6510
6511 2011-09-27 Roland McGrath <roland@hack.frob.com>
6512
6513 [BZ #13226]
6514 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6515
6516 2011-09-27 Andreas Schwab <schwab@redhat.com>
6517
6518 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6519 Reread the line before reparsing it.
6520
6521 2011-09-26 Andreas Schwab <schwab@redhat.com>
6522
6523 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6524
6525 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6526 Maxim Kuvyrkov <maxim@codesourcery.com>
6527 Joseph Myers <joseph@codesourcery.com>
6528
6529 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6530 if needed for __stack_chk_guard.
6531
6532 2011-09-19 Roland McGrath <roland@hack.frob.com>
6533
6534 * sysdeps/posix/spawni.c (script_execute): Always define it.
6535 It will be optimized away if unused.
6536 (maybe_script_execute): New function.
6537 (__spawni): Call it.
6538
6539 * Makerules: Don't include tls.make.
6540 (config-tls): Always set to thread.
6541 * tls.make.c: File removed.
6542
6543 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6544
6545 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6546 * config.make.in (CPPFLAGS-config): New substituted variable.
6547
6548 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6549
6550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6551
6552 [BZ #13192]
6553 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6554 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6555
6556 2011-09-15 Roland McGrath <roland@hack.frob.com>
6557
6558 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6559 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6561 (CALL_FAIL): Likewise.
6562 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6563 (CALL_FAIL): Macro removed.
6564 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6565
6566 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6567
6568 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6569 for __FINITE_MATH_ONLY__ == 1.
6570
6571 2011-09-15 Andreas Schwab <schwab@redhat.com>
6572
6573 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6574 __ieee754_sqrt instead of sqrt.
6575 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6576 __ieee754_sqrtf instead of sqrtf.
6577 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6578 __floorf instead of floorf.
6579 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6580 __floorf, __truncf instead of floorf, truncf.
6581
6582 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6583
6584 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6585
6586 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6587 __extern_always_inline.
6588 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6589 32-bit.
6590
6591 2011-09-14 Andreas Schwab <schwab@redhat.com>
6592
6593 * elf/rtld.c (dl_main): Also relocate in dependency order when
6594 doing symbol dependency testing.
6595
6596 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6597
6598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6599 Always define `refsym'.
6600
6601 2011-09-13 Andreas Schwab <schwab@redhat.com>
6602
6603 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6604 (__FD_ELT): Renamed from __FDELT.
6605 * misc/bits/select2.h (__FD_ELT): Likewise.
6606 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6607 __FD_MASK instead of __FDELT, __FDMASK.
6608 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6609 Likewise.
6610 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6611 Likewise.
6612
6613 * elf/Makefile (gen-ldd): Fix pattern.
6614
6615 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6616 (init_tls): Likewise.
6617
6618 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6619
6620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6621
6622 2011-09-12 Andreas Schwab <schwab@redhat.com>
6623
6624 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6625 `struct cmsghdr *' instead of `void *'.
6626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6627 Likewise.
6628
6629 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6630
6631 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6632 if non-absolute.
6633 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6634 ldd_rewrite_script.
6635
6636 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6637
6638 * configure.in: Remove --with-tls option.
6639 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6640 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6641 out in case it is missing.
6642 * sysdeps/ia64/elf/configure.in: Likewise.
6643 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6644 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6645 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6646 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6647 * sysdeps/sh/elf/configure.in: Likewise.
6648 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6649 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6650 * sysdeps/x86_64/elf/configure.in: Likewise.
6651 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6652 * sysdeps/mach/hurd/tls.h: Likewise.
6653
6654 [BZ #13067]
6655 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6656
6657 [BZ #13090]
6658 * configure.in: Fix use of AC_INIT.
6659
6660 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6661
6662 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6663
6664 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6665 __set_errno.
6666 * malloc/hooks.c: Likewise.
6667
6668 [BZ #11929]
6669 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6670 variables statically.
6671 (narenas): Initialize.
6672 (list_lock): Initialize.
6673 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6674 initializtion of main_arena and list_lock. Small cleanups.
6675 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6676 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6677 Add initializers to main_arena and mp_.
6678 (malloc_state): Remove pagesize member. Change all users to use
6679 GLRO(dl_pagesize).
6680
6681 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6682 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6683 is always initialized.
6684
6685 * malloc/malloc.c: Removed unused configurations and dead code.
6686 * malloc/arena.c: Likewise.
6687 * malloc/hooks.c: Likewise.
6688 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6689
6690 * include/tls.h: Removed. USE___THREAD must always be defined.
6691 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6692 * elf/dl-libc.c: Likewise.
6693 * elf/dl-tsd.c: Likewise.
6694 * include/errno.h: Likewise.
6695 * include/netdb.h: Likewise.
6696 * include/resolv.h: Likewise.
6697 * inet/herrno-loc.c: Likewise.
6698 * inet/herrno.c: Likewise.
6699 * malloc/arena.c: Likewise.
6700 * malloc/hooks.c: Likewise.
6701 * malloc/malloc.c: Likewise.
6702 * resolv/res-state.c: Likewise.
6703 * resolv/res_libc.c: Likewise.
6704 * sysdeps/i386/dl-machine.h: Likewise.
6705 * sysdeps/ia64/dl-machine.h: Likewise.
6706 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6707 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6708 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6709 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6710 * sysdeps/sh/dl-machine.h: Likewise.
6711 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6712 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6713 * sysdeps/unix/i386/sysdep.S: Likewise.
6714 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6715 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6720 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6724 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6725 * sysdeps/x86_64/dl-machine.h: Likewise.
6726 * tls.make.c: Likewise.
6727
6728 * configure.in: Remove --with-__thread option. Make tests for
6729 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6730 tls_model attribute fail if no support is available. Remove
6731 USE_IN_LIBIO.
6732 * Makeconfig: Adjust for dropped configure option. All features are
6733 now mandatory.
6734 * Makerules: Likewise.
6735 * Versions.def: Likewise.
6736 * argp/argp-fmtstream.c: Likewise.
6737 * argp/argp-fmtstream.h: Likewise.
6738 * argp/argp-help.c: Likewise.
6739 * assert/assert.c: Likewise.
6740 * config.h.in: Likewise.
6741 * config.make.in: Likewise.
6742 * configure: Likewise.
6743 * configure.in: Likewise.
6744 * csu/Versions: Likewise.
6745 * csu/init.c: Likewise.
6746 * elf/tst-audit2.c: Likewise.
6747 * elf/tst-tls10.c: Likewise.
6748 * elf/tst-tls10.h: Likewise.
6749 * elf/tst-tls11.c: Likewise.
6750 * elf/tst-tls12.c: Likewise.
6751 * elf/tst-tls14.c: Likewise.
6752 * elf/tst-tlsmod11.c: Likewise.
6753 * elf/tst-tlsmod12.c: Likewise.
6754 * elf/tst-tlsmod13.c: Likewise.
6755 * elf/tst-tlsmod13a.c: Likewise.
6756 * elf/tst-tlsmod14a.c: Likewise.
6757 * elf/tst-tlsmod15b.c: Likewise.
6758 * elf/tst-tlsmod16a.c: Likewise.
6759 * elf/tst-tlsmod16b.c: Likewise.
6760 * elf/tst-tlsmod7.c: Likewise.
6761 * elf/tst-tlsmod8.c: Likewise.
6762 * elf/tst-tlsmod9.c: Likewise.
6763 * gmon/gmon.c: Likewise.
6764 * grp/fgetgrent_r.c: Likewise.
6765 * grp/putgrent.c: Likewise.
6766 * hurd/fopenport.c: Likewise.
6767 * include/libc-symbols.h: Likewise.
6768 * include/tls.h: Likewise.
6769 * intl/gettextP.h: Likewise.
6770 * intl/loadinfo.h: Likewise.
6771 * locale/global-locale.c: Likewise.
6772 * locale/localeinfo.h: Likewise.
6773 * mach/devstream.c: Likewise.
6774 * malloc/arena.c: Likewise.
6775 * malloc/set-freeres.c: Likewise.
6776 * misc/err.c: Likewise.
6777 * misc/getttyent.c: Likewise.
6778 * misc/mntent_r.c: Likewise.
6779 * posix/getopt.c: Likewise.
6780 * posix/wordexp.c: Likewise.
6781 * pwd/fgetpwent_r.c: Likewise.
6782 * resolv/Versions: Likewise.
6783 * resolv/res_hconf.c: Likewise.
6784 * shadow/fgetspent_r.c: Likewise.
6785 * shadow/putspent.c: Likewise.
6786 * stdio-common/printf_fphex.c: Likewise.
6787 * stdio-common/tmpfile.c: Likewise.
6788 * stdlib/abort.c: Likewise.
6789 * stdlib/fmtmsg.c: Likewise.
6790 * sunrpc/auth_unix.c: Likewise.
6791 * sunrpc/clnt_perr.c: Likewise.
6792 * sunrpc/clnt_tcp.c: Likewise.
6793 * sunrpc/clnt_udp.c: Likewise.
6794 * sunrpc/clnt_unix.c: Likewise.
6795 * sunrpc/openchild.c: Likewise.
6796 * sunrpc/svc_simple.c: Likewise.
6797 * sunrpc/svc_tcp.c: Likewise.
6798 * sunrpc/svc_udp.c: Likewise.
6799 * sunrpc/svc_unix.c: Likewise.
6800 * sunrpc/xdr.c: Likewise.
6801 * sunrpc/xdr_array.c: Likewise.
6802 * sunrpc/xdr_rec.c: Likewise.
6803 * sunrpc/xdr_ref.c: Likewise.
6804 * sunrpc/xdr_stdio.c: Likewise.
6805
6806 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6807
6808 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6809
6810 2011-07-03 Andreas Jaeger <aj@suse.de>
6811
6812 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6814 regenerate with gen-libm-tests.pl.
6815
6816 2010-05-12 Petr Baudis <pasky@suse.cz>
6817
6818 [BZ #11589]
6819 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6820 around j0() zero points by switching to j1().
6821 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6825
6826 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6827
6828 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6829 instead of 0.
6830 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6831 instead of 0. .
6832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6833 Patch in part by Pavel Roskin <proski@gnu.org>.
6834
6835 [BZ #13138]
6836 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6837 realloc.
6838 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6839 Free memory block if necessary.
6840
6841 [BZ #12847]
6842 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6843 be NULL. Don't lock in this case.
6844
6845 2011-09-09 Roland McGrath <roland@hack.frob.com>
6846
6847 * elf/elf.h (ELFOSABI_GNU): New macro.
6848 (ELFOSABI_LINUX): Define to that.
6849
6850 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6851
6852 * string/strncat.c (strncat): Undef the symbol in case it has been
6853 defined in bits/string.h.
6854
6855 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6856
6857 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6858
6859 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6860 link map.
6861
6862 2011-08-17 Andreas Jaeger <aj@suse.de>
6863
6864 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6865
6866 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6867 Ian Lance Taylor <iant@google.com>
6868
6869 * math/libm-test.inc (lround_test): New testcase.
6870 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6871
6872 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6873
6874 * Makefile: Remove support for automatic cvs check-ins.
6875 * Makerules: Likewise.
6876 * config.make.in: Likewise.
6877 * configure.in: Likewise.
6878 * intl/Makefile: Likewise.
6879 * locale/Makefile: Likewise.
6880 * po/Makefile: Likewise.
6881 * posix/Makefile: Likewise.
6882 * sysdeps/gnu/Makefile: Likewise.
6883 * sysdeps/mach/hurd/Makefile: Likewise.
6884 * sysdeps/sparc/sparc32/Makefile: Likewise.
6885
6886 [BZ #13118]
6887 * posix/Makefile (bug-regex32-ENV): Define.
6888 Patch by John Stanley <jpsinthemix@verizon.net>.
6889
6890 * misc/Makefile (headers): Add bits/select2.h.
6891 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6892 * misc/bits/select2.h: New file.
6893 * include/bits/select2.h: New file.
6894 * debug/Makefile (routines): Add fdelt_chk.
6895 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6896 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6897 FD_ISSET.
6898 * debug/fdelt_chk.c: New file.
6899
6900 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6901 * wcsmbs/test-wmemcmp.c: Likewise.
6902 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6903 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6904
6905 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6906
6907 * string/Makefile (strop-tests): Add memcmp.
6908 * string/test-wmemcmp.c: New file.
6909 * string/test-memcmp.c: Add wmemcmp support.
6910
6911 2011-09-08 Roland McGrath <roland@hack.frob.com>
6912
6913 [BZ #13153]
6914 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6915 2011-07-19 change.
6916
6917 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6918 garbage value in a __mach_port_mod_refs call in the cases of the
6919 task-self and thread-self ports.
6920
6921 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6922
6923 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6924
6925 2011-09-08 Andreas Schwab <schwab@redhat.com>
6926
6927 * elf/dl-load.c (lose): Check for non-null L.
6928
6929 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6930
6931 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6932
6933 * elf/dl-libc.c (dlerror_run): Pass back error code from
6934 dl_catch_error.
6935
6936 [BZ #13123]
6937 * elf/dl-load.c (lose): Free l_origin if it is valid.
6938
6939 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6940 names.
6941 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6942 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6943 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6944 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6945 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6946 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6947
6948 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949
6950 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6951 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6952 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6953 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6954 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6955 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6956 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6957 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6958 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6959 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6960
6961 2011-08-15 Alan Modra <amodra@gmail.com>
6962
6963 [BZ #13092]
6964 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6965 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6966 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6967 ppc_mcount to static-only-routines.
6968 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6969 __mcount_internal.
6970 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6971 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6972
6973 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6974
6975 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6976 for finite and infinity parameters.
6977
6978 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6979
6980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6981 and add nop instructions for throughput optimization.
6982 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6983
6984 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6985
6986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6987 aligned copy for power7 with vector-scalar instructions.
6988 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6989
6990 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6991
6992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6993 AVX check.
6994
6995 2011-09-07 Andreas Schwab <schwab@redhat.com>
6996
6997 [BZ #13144]
6998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6999 last change.
7000
7001 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7002
7003 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7004 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7005 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7006 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7007 clock_gettime.
7008
7009 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7010
7011 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7012 Forgot to demangle the pointer.
7013
7014 * sysdeps/i386/sysdep.h: Define atom_text_section.
7015 * sysdeps/x86_64/sysdep.h: Likewise.
7016 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7017 section with atom_text_section.
7018 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7019 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7020 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7022 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7023
7024 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7025 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7026 already be defined. Change to take two parameters and don't assign
7027 result to variable. Adjust all users.
7028 Define INTERNAL_GETTIME if not already defined.
7029 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7030 call.
7031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7032 HAVE_CLOCK_GETTIME_VSYSCALL.
7033 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7034
7035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7036 gettimeofday vsyscall, just use time.
7037
7038 2011-09-06 Andreas Schwab <schwab@redhat.com>
7039
7040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7041 <errno.h>.
7042
7043 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7044
7045 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7046 syscall on x86-64.
7047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7048 syscall.
7049 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7050 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7051 syscall if possible.
7052
7053 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7054
7055 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7056 e_ident. Don't pass to find_mapsXX.
7057 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7058
7059 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7060
7061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7062 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7063 * sysdeps/x86_64/multiarch/strchr.S: Update.
7064 Check bit_slow_BSF bit.
7065 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7066 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7067 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7068
7069 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7070
7071 [BZ #13134]
7072 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7073 before glibc 2.15.
7074 (tryshell): Define.
7075 (__spawni): Change last parameter to be flag. Test
7076 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7077 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7078 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7079 * posix/spawni.c: Likewise.
7080 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7081 * posix/spawnp.c: Likewise. Change normal version to use
7082 SPAWN_XFLAGS_USE_PATH.
7083 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7084 SPAWN_XFLAGS_TRY_SHELL.
7085
7086 [BZ #13150]
7087 * posix/glob.h: Remove gcc 1.x support.
7088
7089 [BZ #13068]
7090 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7091
7092 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7093
7094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7095 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7096 strrchr-sse2-bsf
7097 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7098 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7099 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7100 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7101 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7102 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7103
7104 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7105
7106 * sysdeps/x86_64/wcscmp.S: New file.
7107
7108 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7109 wcscmp-c wcscmp-sse2
7110 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7111 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7112 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7113 * wcsmbs/wcscmp.c: Allow renaming.
7114
7115 2011-09-05 David S. Miller <davem@davemloft.net>
7116
7117 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7118 stack slot, rather than the struct return pointer slot.
7119 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7120 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7122 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7123
7124 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7125
7126 * po/ja.po: Update from translation team.
7127
7128 [BZ #13144]
7129 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7130 kernel in 64-bit binaries.
7131
7132 2011-09-01 David S. Miller <davem@davemloft.net>
7133
7134 * elf/elf.h (HWCAP_SPARC_*): Move to..
7135 * sysdeps/sparc/sysdep.h: this new file and add new values.
7136 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7137 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7138 _DL_HWCAP_COUNT to 24.
7139 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7140 entries.
7141 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7142 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7143 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7145 instead of magic constants.
7146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7147
7148 2011-08-31 David S. Miller <davem@davemloft.net>
7149
7150 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7152 Reimplement to do errno handling inline.
7153 (SYSCALL_ERROR_HANDLER): New macro.
7154 (__SYSCALL_STRING): Do not do errno handling in asm.
7155 (__CLONE_SYSCALL_STRING): Delete.
7156 (__INTERNAL_SYSCALL_STRING): Delete.
7157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7158 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7159 (PSEUDO): Reimplement to do errno handling inline.
7160 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7161 (SYSCALL_ERROR_HANDLER): New macro.
7162 (__SYSCALL_STRING): Do not do errno handling in asm.
7163 (__CLONE_SYSCALL_STRING): Delete.
7164 (__INTERNAL_SYSCALL_STRING): Delete.
7165 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7166 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7167 i386.
7168 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7169 (inline_syscall*): Add 'err' argument.
7170 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7171 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7172 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7173 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7174
7175 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7176 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7177
7178 2011-08-30 Andreas Schwab <schwab@redhat.com>
7179
7180 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7181
7182 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7183
7184 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7185 directive.
7186
7187 2011-08-24 David S. Miller <davem@davemloft.net>
7188
7189 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7190
7191 2011-08-24 Andreas Schwab <schwab@redhat.com>
7192
7193 * elf/Makefile: Add rules to build and run unload8 test.
7194 * elf/unload8.c: New file.
7195 * elf/unload8mod1.c: New file.
7196 * elf/unload8mod1x.c: New file.
7197 * elf/unload8mod2.c: New file.
7198 * elf/unload8mod3.c: New file.
7199
7200 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7201 it wasn't used.
7202
7203 2011-08-23 David S. Miller <davem@davemloft.net>
7204
7205 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7206 subtract stack bias.
7207 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7208 %sp not %fp in calculations.
7209 (_JMPBUF_UNWINDS_ADJ): Likewise.
7210
7211 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7212 (aio_suspend): Call it to force an exception region around the
7213 AIO_MISC_WAIT() invocation.
7214
7215 2011-08-23 Andreas Schwab <schwab@redhat.com>
7216
7217 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7218 backslash.
7219
7220 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7221
7222 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7223 protection macro.
7224 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7225 and <dl-machine.h>.
7226 (Elf64_FuncDesc): Remove.
7227
7228 2011-08-22 David S. Miller <davem@davemloft.net>
7229
7230 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7231 sigaltstack check, add missing cfi directives.
7232 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7233 missing cfi directives, and sigaltstack handling.
7234
7235 2011-08-16 Andreas Schwab <schwab@redhat.com>
7236
7237 [BZ #11724]
7238 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7239 object is seen twice.
7240 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7241
7242 * elf/Makefile (distribute): Add tst-initorder2.c.
7243 (tests): Add tst-initorder2.
7244 (modules-names): Add tst-initorder2a tst-initorder2b
7245 tst-initorder2c tst-initorder2d. Add rules to build them.
7246 ($(objpfx)tst-initorder2.out): New rule.
7247 * elf/tst-initorder2.c: New file.
7248 * elf/tst-initorder2.exp: New file.
7249
7250 2011-08-22 Andreas Schwab <schwab@redhat.com>
7251
7252 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7253
7254 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7255 dependencies back to end of function.
7256
7257 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7258 $(elfobjdir)/ld.so.
7259
7260 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7261
7262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7263 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7265 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7266 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7267 of __vdso_gettimeofday.
7268 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7269 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7270 attribute_hidden.
7271 (_libc_vdso_platform_setup): Remove initialization of
7272 __vdso_gettimeofday and __vdso_time.
7273
7274 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7275
7276 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7277 and fgetc_unlocked.
7278 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7279 getc_unlocked.
7280
7281 * elf/dl-open.c (add_to_global): Report additions to the global scope
7282 for LD_DEBUG=scopes.
7283 (dl_open_worker): Also print scope of newly loaded dependencies.
7284 (_dl_show_scope): Indicate if there is no scope.
7285
7286 [BZ #13114]
7287 * stdio-common/Makefile (tests): Add bug24.
7288 * stdio-common/bug24.c: New file.
7289
7290 2011-08-19 Andreas Jaeger <aj@suse.de>
7291
7292 [BZ #13114]
7293 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7294 non-existant file when using close-on-exec mode.
7295
7296 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7297
7298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7299 the very first instruction.
7300
7301 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7302 the CFI state in the end.
7303 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7304 inclusion of dl-trampoline.h.
7305 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7306
7307 2011-08-19 Andreas Schwab <schwab@redhat.com>
7308
7309 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7310 expectations for long double.
7311
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7313 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7314
7315 2011-08-14 David S. Miller <davem@davemloft.net>
7316
7317 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7318 artificual limit depends upon the system page size.
7319
7320 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7321
7322 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7323 * resolv/Makefile: Define CFLAGS-libresolv.
7324
7325 2011-08-17 Andreas Schwab <schwab@redhat.com>
7326
7327 * nss/makedb.c (compute_tables): Make variables used in nested
7328 function static.
7329
7330 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7331
7332 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7333 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7334 if buffer was too small.
7335
7336 * elf/pldd.c (main): Attach to all threads in the process.
7337 Rewrite /proc handling to use *at functions.
7338
7339 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7340
7341 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7342 specifies first scope to show.
7343 (dl_open_worker): Update callers. Move printing scope of new
7344 object to before the relocation.
7345 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7346 * sysdeps/generic/ldsodefs.h: Update declaration.
7347
7348 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7349 string for the scope number.
7350
7351 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7352
7353 * nscd/servicescache.c (cache_addserv): Make sure written is always
7354 initialized.
7355
7356 2011-08-14 Roland McGrath <roland@hack.frob.com>
7357
7358 * sysdeps/i386/i486/bits/atomic.h
7359 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7360 statement expression, so as to suppress "set but not used" warning.
7361 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7362
7363 * string/strncat.c (STRNCAT): Use prototype definition.
7364
7365 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7366 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7367 -Iprograms here.
7368 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7369 (localedef-modules): Add localedef.
7370 (locale-modules): Add locale.
7371
7372 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7373 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7374 to avoid a warning.
7375
7376 2011-08-14 David S. Miller <davem@davemloft.net>
7377
7378 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7379 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7380
7381 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7382
7383 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7384 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7385 * elf/rtld.c (dl_main): Set l_name of vDSO.
7386 Call _dl_show_scope when DL_DEBUG_SCOPES.
7387 (process_dl_debug): Recognize scopes flag and also set it for all.
7388 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7389 Declare _dl_show_scope.
7390
7391 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7392 (do_dlopen): Pass caller_dlopen to dl_open.
7393 (__libc_dlopen_mode): Initialize caller_dlopen.
7394
7395 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7396 of libc. Make tolower call locale-independent. Optimize a bit by
7397 using isdigit instead of isalnum.
7398 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7399
7400 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7401
7402 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7403 was a dependency or dynamically loaded.
7404
7405 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7406
7407 * intl/l10nflist.c: Allow architecture-specific pop function.
7408 * sysdeps/x86_64/l10nflist.c: New file.
7409
7410 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7411 classification.
7412
7413 2011-08-10 Andreas Schwab <schwab@redhat.com>
7414
7415 * include/dirent.h: Add libc_hidden_proto for scandirat and
7416 scandirat64. Don't declare __scandirat64.
7417 * dirent/scandirat.c: Add libc_hidden_def.
7418 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7419 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7420
7421 2011-08-10 David S. Miller <davem@davemloft.net>
7422
7423 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7424 enum.
7425 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7426 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7427 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7428
7429 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7430
7431 * Versions.def [libc]: Add GLIBC_2.15.
7432 * dirent/Makefile (routines): Add scandirat and scandirat64.
7433 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7434 GLIBC_2.15.
7435 * dirent/dirent.h: Declare scandirat and scandirat64.
7436 * dirent/scandirat.c: New file.
7437 * dirent/scandirat64.c: New file.
7438 * sysdeps/wordsize-64/scandirat.c: New file.
7439 * sysdeps/wordsize-64/scandirat64.c: New file.
7440 * dirent/opendir.c: Define opendirat.
7441 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7442 using scandirat.
7443 * dirent/scandir64.c: Adjust for scandir.c change.
7444 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7445 __scandirat64, and __scandir_cancel_handler.
7446 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7447 additional parameter and use openat instead of open (outside of ld.so).
7448 Add new __opendir as wrapper around __opendirat.
7449 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7450 here without requiring old scandirat implementation.
7451
7452 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7453
7454 * dirent/scandir.c (cancel_handler): Renamed to
7455 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7456 defined. Adjust users.
7457 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7458 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7459
7460 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7461
7462 * string/test-string.h (IMPL): Use __STRING to expand name and then
7463 stringify it.
7464
7465 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7466 of cleanups.
7467
7468 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7469
7470 * string/Makefile: Update.
7471 (strop-tests): Append strncat.
7472 * string/test-wcscmp.c: New file.
7473 New comprehensive test for wcscmp.
7474 * string/test-strcmp.c: Update.
7475 (WIDE): New define.
7476
7477 2011-07-22 Andreas Schwab <schwab@redhat.com>
7478
7479 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7480 line.
7481
7482 2011-07-26 Andreas Schwab <schwab@redhat.com>
7483
7484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7485 encoding to ACE if AI_IDN.
7486
7487 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7488
7489 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7490 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7491
7492 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7493
7494 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7495 Fix overflow bug in strncat.
7496 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7497
7498 * string/test-strncat.c: Update.
7499 Add new tests for checking overflow bugs.
7500
7501 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7502
7503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7504 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7505 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7506 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7507 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7508 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7509 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7510 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7511 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7512
7513 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7514 (USE_AS_STRCAT): Define.
7515 Add strcat and strncat support.
7516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7517
7518 2011-07-25 Andreas Schwab <schwab@redhat.com>
7519
7520 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7521 __n bigger than INT_MAX+1.
7522 (__strncmp_g): Likewise.
7523
7524 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7525
7526 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7527 * libio/stido.h: Likewise.
7528
7529 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7530 (AF_NFC): Define.
7531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7532 (AF_NFC): Define.
7533
7534 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7536 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7537 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7538 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7539
7540 [BZ #13021]
7541 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7542 installed.
7543
7544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7545 typo.
7546 (_dl_x86_64_save_sse): Likewise.
7547
7548 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7549
7550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7551 OSXSAVE.
7552 (_dl_x86_64_save_sse): Likewise.
7553
7554 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7555
7556 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7557
7558 2011-07-21 Andreas Schwab <schwab@redhat.com>
7559
7560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7561 change.
7562 (_dl_x86_64_save_sse): Use correct AVX check.
7563
7564 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7565
7566 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7567 bug in strncpy/strncat.
7568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7569
7570 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7571
7572 * string/tester.c (test_strcat): Add tests for different alignments
7573 of source and destination.
7574 (test_strncat): Likewise.
7575
7576 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7577
7578 [BZ #12852]
7579 * posix/glob.c (glob): Check passed in values before using them in
7580 expressions to avoid some overflows.
7581 (glob_in_dir): Likewise.
7582
7583 [BZ #13007]
7584 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7585 check for AVX enablement so that we don't crash with old kernels and
7586 new hardware.
7587 * elf/tst-audit4.c: Add same checks here.
7588 * elf/tst-audit6.c: Likewise.
7589
7590 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7591
7592 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7593
7594 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7595
7596 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7597
7598 * po/cs.po: Update from translation team.
7599 * po/bg.po: Likewise.
7600
7601 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7602
7603 * misc/sys/cdefs.h: Add support for const attribute.
7604 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7605 to gnu_dev_{major,minor,makedev} functions.
7606
7607 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7608
7609 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7610
7611 2011-07-20 Andreas Schwab <schwab@redhat.com>
7612
7613 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7614 strlen results.
7615
7616 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7617
7618 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7619 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7620 register in order to avoid conflicts with the soft frame pointer
7621 being held in r11 when necessary.
7622 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7623 (INTERNAL_VSYSCALL_NCS): Likewise.
7624
7625 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7626
7627 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7628 * elf/dl-fini.c (_dl_fini): Adjust caller.
7629 * elf/dl-close.c (_dl_close_worker): Likewise.
7630 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7631
7632 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7633
7634 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7635 "aux_cache->nlibs < 0".
7636
7637 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7638 in the reload-count case.
7639
7640 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7641
7642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7643 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7644 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7645 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7646 * sysdeps/x86_64/multiarch/strcat.S: New file.
7647 * sysdeps/x86_64/multiarch/strncat.S: New file.
7648 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7649 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7650 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7651 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7653 (USE_AS_STRCAT): Define.
7654 Add strcat and strncat support.
7655 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7656 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7657 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7658 * string/strncat.c: Update.
7659 (USE_AS_STRNCAT): Define.
7660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7661 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7662 and i7.
7663 * sysdeps/x86_64/multiarch/init-arch.h
7664 (bit_Prefer_PMINUB_for_stringop): New.
7665 (index_Prefer_PMINUB_for_stringop): Likewise.
7666 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7667 bit_Prefer_PMINUB_for_stringop.
7668
7669 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7670
7671 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7672 buffer64.
7673 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7674 of casting of buffer.
7675 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7676 buffer32 and buffer64.
7677 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7678 writes instead of casting of buffer.
7679 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7680 buffer32.
7681 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7682 casting of buffer.
7683
7684 2011-07-19 Andreas Schwab <schwab@redhat.com>
7685
7686 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7687
7688 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7689
7690 * nscd/nscd.c (termination_handler): Don't do anything for a database
7691 if it has not yet been initialized.
7692
7693 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7694
7695 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7696
7697 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7698
7699 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7700
7701 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7702
7703 * po/nl.po: Update from translation team.
7704 * po/sv.po: Likewise.
7705
7706 2011-07-16 Roland McGrath <roland@hack.frob.com>
7707
7708 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7709 now disallowed by GCC.
7710
7711 * configure.in (use-default-link): Default to yes if a test -shared
7712 link meets our qualifications.
7713 * configure: Regenerated.
7714
7715 * config.make.in (output-format): New variable.
7716 * configure.in: Check for ld --print-output-format support.
7717 * configure: Regenerated.
7718 * Makerules ($(common-objpfx)format.lds)
7719 [$(output-format) != unknown]: Just use $(output-format),
7720 instead of the linker-script munging.
7721
7722 2011-07-14 Roland McGrath <roland@hack.frob.com>
7723
7724 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7725 of $(common-objpfx)shlib.lds.
7726 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7727
7728 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7729 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7730
7731 * configure.in (-z relro check): Adjust test code to add a large
7732 writable data section after it.
7733 * configure: Regenerated.
7734
7735 2011-07-11 Roland McGrath <roland@hack.frob.com>
7736
7737 * configure.in (-z relro check): Fix test code to make the variable
7738 truly const.
7739 * configure: Regenerated.
7740
7741 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7742
7743 * nscd/nscd.h (struct traced_file): Define.
7744 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7745 elements. Add traced_files.
7746 (inotify_fd): Declare.
7747 (register_traced_file): Declare.
7748 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7749 (inotify_fd): Export.
7750 (resolv_conf_descr): Remove.
7751 (nscd_init): Move inotify descriptor creation to main.
7752 Don't register files for notification here.
7753 (register_traced_file): New function.
7754 (invalidate_cache): Don't use reset_res to determine whether to call
7755 res_init, go through the list of registered files.
7756 (main_loop_poll): The inotify descriptors are now stored in the
7757 structures for the traced files.
7758 (main_loop_epoll): Likewise
7759 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7760 to __nss_disable_nscd.
7761 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7762 for a database anymore. Check the records for all the registered
7763 files instead.
7764 * nss/Makefile (libnss_files-routines): Add files-init.
7765 (libnss_db-routines): Add db-init.
7766 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7767 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7768 * nss/nss_db/db-init.c: New file.
7769 * nss/nss_files/files-init.c: New file.
7770 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7771 __nss_lookup_function.
7772 (__nss_lookup_function): Call nss_load_library.
7773 (nss_load_all_libraries): New function.
7774 (__nss_disable_nscd): Take parameter with callback function for files
7775 to register. Set is_nscd. Load all the DSOs for the NSS modules
7776 used for the cached services.
7777 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7778 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7779 options for features to all the files in nscd.
7780
7781 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7782
7783 2011-07-10 Roland McGrath <roland@hack.frob.com>
7784
7785 * csu/elf-init.c (__libc_csu_init): Comment typo.
7786
7787 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7788
7789 * po/pl.po: Update from translation team.
7790 * po/ja.po: Likewise.
7791 * po/ru.po: Likewise.
7792 * po/ko.po: Likewise.
7793 * po/fr.po: Likewise.
7794
7795 2011-07-09 Roland McGrath <roland@hack.frob.com>
7796
7797 * configure.in (.ctors/.dtors header and trailer check):
7798 Use an empirical test on a built program.
7799 * configure: Regenerated.
7800
7801 * configure.in (-z relro check): Use an empirical test on a built DSO.
7802 Detect, but do not require, on ia64.
7803 * configure: Regenerated.
7804
7805 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7806 Update tests that use readelf to use $READELF instead.
7807 * configure: Regenerated.
7808
7809 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7810
7811 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7812 if the result is not used.
7813
7814 2011-07-05 Andreas Jaeger <aj@suse.de>
7815
7816 [BZ#9696]
7817 * stdlib/tst-strtod.c: Add testcase.
7818
7819 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7820
7821 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7822 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7823 The latter has a higher limit. Take additional parameter to pass to
7824 the new function.
7825 (__pathconf): Pass file to __statfs_link_max.
7826 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7827 __statfs_link_max.
7828 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7829 __statfs_link_max.
7830
7831 [BZ #12868]
7832 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7834 Handle Lustre.
7835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7836 (__statfs_filesize_max): Likewise.
7837 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7838
7839 2011-07-05 Andreas Jaeger <aj@suse.de>
7840
7841 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7842
7843 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7844
7845 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7846 `status' variable.
7847 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7848 Likewise.
7849
7850 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7851
7852 * Makefile (strop-tests): Add strncat.
7853 * string/test-strncat.c: New file.
7854
7855 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7856
7857 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7858
7859 2011-06-21 Andreas Jaeger <aj@suse.de>
7860
7861 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7862 Copy rule from iconvdata/Makefile.
7863
7864 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7865
7866 [BZ #12922]
7867 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7868 but no long options are defined, just return 'W'.
7869
7870 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7871
7872 [BZ #9696]
7873 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7874
7875 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7876
7877 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7878 netgroups to read.
7879 (innetgr): Likewise.
7880
7881 2011-07-05 Roland McGrath <roland@hack.frob.com>
7882
7883 * config.make.in (install_root): Default to $(DESTDIR).
7884
7885 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7886
7887 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7888
7889 2011-07-02 Roland McGrath <roland@hack.frob.com>
7890
7891 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7892
7893 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7894 containing directory rather than embedding absolute directory names.
7895
7896 * scripts/check-local-headers.sh: Rewritten using awk.
7897 Match by word, not by line. Print error messages for matches.
7898 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7899
7900 * Makerules [shlib-lds-flags empty]:
7901 ($(common-objpfx)libc_pic.opts): New target.
7902 ($(common-objpfx)libc_pic.os.clean): New target.
7903 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7904
7905 * config.make.in (OBJCOPY): New variable.
7906 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7907 * configure: Regenerated.
7908
7909 * config.make.in (use-default-link): New variable.
7910 * configure.in (use_default_link): Grok --with-default-link to set it.
7911 * configure: Regenerated.
7912 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7913 (shlib-lds, shlib-lds-flags): Define to empty.
7914
7915 * Makerules (shlib-lds): New variable.
7916 (shlib-lds-flags): New variable.
7917 (build-shlib, build-moduile, build-module-asneeded): Use it.
7918 ($(common-objpfx)libc.so): Use $(shlib-lds).
7919 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7920 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7921
7922 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7923 DT_FLAGS/DT_FLAGS_1 with zero flags.
7924
7925 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7926 linker script munging.
7927
7928 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7929
7930 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7931 as 128-bit value.
7932 * crypt/sha512.c (sha512_process_block): Perform total addition using
7933 128-bit if possible.
7934 (__sha512_finish_ctx): Likewise.
7935 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7936 as 64-bit value.
7937 * crypt/sha256.c (SWAP64): Define.
7938 (sha256_process_block): Perform total addition using 64-bit if
7939 possible.
7940 (__sha256_finish_ctx): Likewise.
7941
7942 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7943
7944 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7945 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7946 * nscd/hstcache.c (cache_addhst): Likewise.
7947 * nscd/grpcache.c (cache_addgr): Likewise.
7948 * nscd/aicache.c (addhstaiX): Likewise
7949 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7950
7951 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7952
7953 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7954 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7955 * nscd/hstcache.c (cache_addhst): Likewise.
7956 * nscd/grpcache.c (cache_addgr): Likewise.
7957 * nscd/aicache.c (addhstaiX): Likewise
7958
7959 2011-07-01 Andreas Schwab <schwab@redhat.com>
7960
7961 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7962 domain only when needed.
7963
7964 2011-06-30 Andreas Schwab <schwab@redhat.com>
7965
7966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7967 is always restored.
7968
7969 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7970
7971 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7972 are re-adding the entry.
7973 * nscd/servicescache.c (cache_addserv): Likewise.
7974
7975 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7976
7977 * sysdeps/generic/dl-irel.h: fix protection against multiple
7978 inclusions.
7979 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7980
7981 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7982
7983 [BZ #12935]
7984 * malloc/memusage.sh: Fix quoting in message.
7985 * debug/xtrace.sh: Likewise.
7986
7987 * configure.in: Remove support for --experimental-malloc option, make
7988 it the default.
7989 * config.make.in: Likewise.
7990 * malloc/Makefile: Likewise.
7991
7992 2011-06-27 Andreas Schwab <schwab@redhat.com>
7993
7994 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7995 two-byte characters.
7996
7997 2011-06-27 Roland McGrath <roland@hack.frob.com>
7998
7999 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8000 AC_CACHE_CHECK invocation.
8001 * configure: Regenerated.
8002
8003 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8004
8005 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8006
8007 [BZ #12350]
8008 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8009 bit from old_res_options.
8010
8011 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8012
8013 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8014 value type for setfct.
8015
8016 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8017
8018 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8019 __gettimeofday instead of gettimeofday.
8020
8021 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8022
8023 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8024
8025 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8026
8027 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8028
8029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8030 info.
8031
8032 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8033
8034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8035 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8036 strcpy-sse2-unaligned strncpy-sse2-unaligned
8037 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8038 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8039 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8040 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8041 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8042 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8043 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8044 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8045 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8046 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8047 (STRCPY): Support SSE2 and SSSE3 versions.
8048
8049 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8050
8051 [BZ #12874]
8052 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8053 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8054 kernels which artificially limit size of requests.
8055
8056 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8057
8058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8059 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8060 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8061 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8062 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8063 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8064 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8065 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8068 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8069 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8070 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8071 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8072 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8074 Enable unaligned load optimization for Intel Core i3, i5 and i7
8075 processors.
8076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8077 Define.
8078 (index_Fast_Unaligned_Load): Define.
8079 (HAS_FAST_UNALIGNED_LOAD): Define.
8080
8081 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8082
8083 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8084
8085 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8086
8087 [BZ #12907]
8088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8089 until it is clear that the information is realy needed.
8090 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8091
8092 2011-06-22 Andreas Schwab <schwab@redhat.com>
8093
8094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8095
8096 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8097
8098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8099 /sys/devices/system/cpu/online if it is usable.
8100
8101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8102 reading the information from the /proc filesystem to once a second.
8103
8104 2011-06-21 Andreas Jaeger <aj@suse.de>
8105
8106 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8107 NULL after inclusion of kernel headers.
8108
8109 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8110
8111 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8112 calls to internal_setent.
8113
8114 [BZ #12885]
8115 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8116 addresses using gethostbyname4_r ignore IPv4 addresses.
8117
8118 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8119 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8120
8121 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8122
8123 2011-06-20 David S. Miller <davem@davemloft.net>
8124
8125 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8126 inclusions.
8127 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8128
8129 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8130 (elf_irel): Use it.
8131 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8132 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8133 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8134 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8135 * sysdeps/x86_64/dl-irel.h: Likewise.
8136
8137 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8138 * elf/dl-sym.c: Likewise.
8139
8140 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8141
8142 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8143 need to dereference resplen2.
8144
8145 2011-06-14 Andreas Schwab <schwab@redhat.com>
8146
8147 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8148
8149 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8150
8151 * Makeconfig: Define vardbdir and inst_vardbdir.
8152 * nss/Makefile: Add rules to install db-Makefile.
8153
8154 * nss/nss_db/db-XXX.c: Cleanup.
8155
8156 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8157 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8158 GLIBC_PRIVATE.
8159 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8160 * nss/makedb.c: Implement -g option to specify that value strings
8161 are generated and should not be added to table iterated over for
8162 get*ent calls.
8163 * nss/nss_db/db-initgroups.c: New file.
8164
8165 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8166 interface.
8167
8168 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8169 (internal_getgrouplist): Adjust to name change.
8170 Update use_initgroups_entry if this is not the first call.
8171 * nss/databases.def: Add initgroups entry.
8172
8173 * nss/makedb.c (compute_tables): Check result of multiple hash table
8174 sizes to minimize maximum chain length.
8175
8176 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8177
8178 * Versions.def: Add entry for libnss_db.
8179 * shlib-versions: Likewise.
8180 * nss/Makefile: Add rules to build libnss_db.
8181 * nss/Versions: Add libnss_db information. Organize libnss_files
8182 entries better.
8183 * nss/db-Makefile: Add gshadow support. Change rules for the new
8184 makedb progra. Some minor improvements to generate smaller files.
8185 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8186 here from...
8187 * nss/makedb.c: ...here.
8188 Improve database format to be smaller and require less memory at
8189 runtime.
8190 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8191 db anymore.
8192 * nss/nss_db/db-netgrp.c: Likewise.
8193 * nss/nss_db/db-open.c: Likewise.
8194 * nss/nss_files/flies-XXX.x: Adjust comments.
8195 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8196 * nss/nss_files/files-grp.c: Likewise.
8197 * nss/nss_files/files-hosts.c: Likewise.
8198 * nss/nss_files/files-network.c: Likewise.
8199 * nss/nss_files/files-proto.c: Likewise.
8200 * nss/nss_files/files-pwd.c: Likewise.
8201 * nss/nss_files/files-rpc.c: Likewise.
8202 * nss/nss_files/files-service.c: Likewise.
8203 * nss/nss_files/files-sgrp.c: Likewise.
8204 * nss/nss_files/files-spwd.c: Likewise.
8205 * nss/nss_db/db-alias.c: Removed.
8206 * nss/nss_db/dummy-db.h: Removed.
8207
8208 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8209
8210 * nss/makedb.c: Rewritten to not use database library.
8211 * nss/Makefile: Update to build new makedb program.
8212
8213 2011-06-14 Andreas Jaeger <aj@suse.de>
8214
8215 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8216 memset declaration.
8217
8218 2011-06-10 Andreas Schwab <schwab@redhat.com>
8219
8220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8221 tmpbuf.
8222
8223 2011-06-10 Roland McGrath <roland@hack.frob.com>
8224
8225 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8226 * elf/Makefile ($(objpfx)ld.so): Likewise.
8227
8228 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8229 Don't list ld.so twice in dependencies.
8230
8231 * posix/bug-regex31.c: Include <stdlib.h>.
8232
8233 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8234
8235 * nis/nss_compat/compat-spwd.c
8236 (getspent_next_nss_netgr): Remove unused variable.
8237 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8238
8239 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8240 nonmembers" output to use the right array.
8241
8242 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8243
8244 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8245
8246 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8247 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8248 * catgets/gencat.c (read_input_file): Likewise.
8249 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8250
8251 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8252 variable definition inside #if's controlling its use.
8253
8254 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8255
8256 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8257
8258 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8259
8260 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8261 unreachable code.
8262
8263 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8264
8265 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8266 * configure: Regenerated.
8267
8268 * Makerules: Revert last change.
8269 * elf/Makefile: Likewise.
8270
8271 2011-06-09 Roland McGrath <roland@hack.frob.com>
8272
8273 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8274 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8275 (reloc-link): Likewise.
8276
8277 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8278
8279 * elf/Makefile: Add rules to build pldd.
8280 * elf/pldd.c: New file.
8281 * elf/pldd-xx.c: New file.
8282
8283 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8284
8285 * version.h: Update for 2.15 development version.
8286
8287 2011-06-07 David S. Miller <davem@davemloft.net>
8288
8289 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8290 ifuncs.
8291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8292 elf_machine_lazy_rel): Likewise.
8293 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8295 elf_machine_lazy_rel): Likewise.
8296 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8297 dl_hwcap via passed in argument.
8298 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8299 Likewise.
8300
8301 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8302
8303 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8304
8305 2011-06-06 Roland McGrath <roland@hack.frob.com>
8306
8307 [BZ #12849]
8308 * manual/fdl-1.1.texi: New file, verbatim from:
8309 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8310 * manual/lgpl-2.1.texi: New file, verbatim from:
8311 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8312 * manual/Makefile (licenses): New variable, list those new file names.
8313 (texis): Use it.
8314 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8315
8316 * manual/fdl.texi: File removed.
8317 * manual/lesser.texi: File removed.
8318 * manual/libc.texinfo (Copying, Documentation License):
8319 Use new @include file names, put @appendix directive before @include.
8320
8321 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8322
8323 [BZ #12841]
8324 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8325 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8326 (mq_open): Add __NTH.
8327
8328 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8329
8330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8331 Assume Intel Core i3/i5/i7 processor if AVX is available.
8332
8333 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8334
8335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8336 typo.
8337
8338 2011-05-31 Andreas Schwab <schwab@redhat.com>
8339
8340 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8341 memory. Use alloca_account. Fix memory leak when retrying.
8342
8343 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8344
8345 * version.h (RELEASE): Bump for 2.14 release.
8346 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8347
8348 * config.make.in (RANLIB): Remove entry.
8349
8350 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8351
8352 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8353 (libc.pot): Work around missing support for .ksh extension in xgettext.
8354
8355 [BZ #12684]
8356 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8357 if both request failed.
8358 (send_dg): In case of server errors clear resplen or *resplen2.
8359
8360 [BZ #12454]
8361 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8362 when there are multiple maps.
8363 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8364 (_dl_fini): Remove test here.
8365
8366 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8367
8368 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8369
8370 [BZ #12350]
8371 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8372 bit from old_res_options.
8373 (gaih_inet): Likewise.
8374
8375 [BZ #11099]
8376 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8377 as signed.
8378
8379 * resolv/res_init.c (res_setoptions): Make the code more compact.
8380
8381 [BZ #11558]
8382 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8383 set RES_USEVC.
8384
8385 [BZ #11634]
8386 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8387
8388 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8389
8390 [BZ #11781]
8391 * malloc/malloc.h: Declare malloc hook variables as volatile.
8392
8393 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8394 in last patch.
8395
8396 [BZ #11799]
8397 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8398 raise in the comment.
8399 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8400 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8401 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8402
8403 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8404
8405 [BZ #12811]
8406 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8407 grow the buffers more if it already has to be sufficient.
8408 (build_wcs_upper_buffer): Likewise.
8409 * posix/regexec.c (check_matching): Likewise.
8410 (clean_state_log_if_needed): Likewise.
8411 (extend_buffers): Don't enlarge buffers beyond size of the input
8412 buffer.
8413 Patches mostly by Emil Wojak <emil@wojak.eu>.
8414 * posix/bug-regex32.c: New file.
8415 * posix/Makefile (tests): Add bug-regex32.
8416
8417 * locale/findlocale.c (_nl_find_locale): Return right away if
8418 _nl_explode_name failed.
8419 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8420
8421 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8422
8423 * debug/xtrace.sh: Unify messages.
8424 * malloc/memusage.sh: Likewise.
8425
8426 [BZ #12813]
8427 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8428 time symbol from vDSO. Substitute with vsyscall if not available.
8429 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8430 __vdso_time.
8431
8432 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8433 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8434 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8435 Add sendmmsg and internal_sendmmsg.
8436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8437 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8439
8440 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8441 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8443
8444 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8445
8446 [BZ #12813]
8447 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8448 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8449 available.
8450 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8451 __vdso_getcpu.
8452
8453 [BZ #12814]
8454 * iconvdata/Makefile (tests): Add bug-iconv9.
8455 * iconvdata/bug-iconv9.c: New file.
8456
8457 2011-05-27 Andreas Schwab <schwab@redhat.com>
8458
8459 [BZ #12814]
8460 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8461
8462 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8463
8464 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8465 (struct user_regs_struct): Change intcs field back to cs.
8466
8467 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8468
8469 * po/ja.po: Update from translation team.
8470
8471 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8472
8473 [BZ #12795]
8474 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8475 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8476
8477 2011-05-20 Andreas Schwab <schwab@redhat.com>
8478
8479 * stdlib/longlong.h: Update from GCC.
8480
8481 2011-05-23 Andreas Schwab <schwab@redhat.com>
8482
8483 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8484 parameter name.
8485 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8486 Add parameter name.
8487 (__sysconf): Pass it down.
8488
8489 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8490
8491 [BZ #12671]
8492 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8493 some situations.
8494 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8495 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8496 add in in __libc_use_alloca calls. Adjust callers.
8497 (glob): Use malloc in some situations.
8498
8499 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8500 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8501 pltexit.
8502
8503 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8504
8505 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8506 and CLOCK_BOOTTIME_ALARM.
8507
8508 [BZ #12782]
8509 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8510 is returned.
8511
8512 * string/_strerror.c (__strerror_r): Print negative errors as signed
8513 numbers.
8514
8515 [BZ #12777]
8516 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8517 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8518 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8519
8520 * configure.in: Fix typo in redirection and correct removal of test
8521 files in two cases.
8522
8523 [BZ #12788]
8524 * locale/setlocale.c (new_composite_name): Fix test to check for
8525 identical name of all categories.
8526
8527 [BZ #12792]
8528 * libio/filedoalloc.c (local_isatty): New function.
8529 (_IO_file_doallocate): Use local_isatty.
8530 * stdio-common/perror.c (perror): In case a new stream is used
8531 forward the stream error.
8532 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8533 error flag.
8534
8535 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8536
8537 [BZ #11869]
8538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8539 alloca.
8540 * include/alloca.h (extend_alloca_account): Define.
8541
8542 [BZ #11857]
8543 * posix/regex.h: Fix comments with documentation of user-accessible
8544 fields after compilation and describe correct free'ing of pattern
8545 after re_compile_pattern.
8546 Patch by Reuben Thomas <rrt@sc3d.org>.
8547
8548 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8549
8550 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8551 and -mno-altivec to prevent the compiler from using Altivec and/or
8552 VSX instructions when the corresponding registers are not available.
8553
8554 2011-05-19 Andreas Schwab <schwab@redhat.com>
8555
8556 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8557
8558 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8559
8560 * libio/freopen.c (freopen): Use __dup2, not dup2.
8561 * libio/freopen64.c (freopen64): Likewise.
8562
8563 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 [BZ #12775]
8566 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8567 * math/Makefile (tests): Add test-powl.
8568 (CFLAGS-test-powl.c): Define.
8569 * math/test-powl.c: New file.
8570
8571 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8572
8573 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8574
8575 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8576
8577 [BZ #11837]
8578 * iconvdata/gb18030.c: Update to GB18020-2005.
8579
8580 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8581
8582 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8583 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8584 Patch by Aharon Robbins <arnold@skeeve.com>.
8585
8586 [BZ #11892]
8587 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8588 on the stack.
8589
8590 [BZ #11895]
8591 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8592 through underflows.
8593
8594 [BZ #12766]
8595 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8596 point to strings before performing equality test for error_one_per_line
8597 mode.
8598
8599 [BZ #11697]
8600 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8601
8602 [BZ #11820]
8603 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8604 (struct user_fpregs_struct): Avoid __uint*_t types.
8605
8606 [BZ #6420]
8607 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8608 symbol info. Use it instead of calling _dl_addr locally.
8609 (lock_and_info): New function.
8610 (tr_freehook): Call lock_and_info and pass symbol info as additional
8611 parameter to tr_where.
8612 (tr_mallochook): Likewise.
8613 (tr_reallochook): Likewise.
8614 (tr_memalignhook): Likewise.
8615
8616 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8617 used and couldn't be at all thread-safe.
8618
8619 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8620
8621 * libio/freopen.c (freopen): Don't close old file descriptor
8622 before the new one is opened. Instead dup the new file descriptor
8623 to the old one after the new stream is created.
8624 * libio/freopen64.c (freopen64): Likewise.
8625 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8626 * libio/fileops.c (_IO_new_file_close_it): Handle new
8627 _IO_FLAGS2_NOCLOSE flag.
8628 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8629 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8630 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8631 _IO_FLAGS2_NOCLOSE flag.
8632 * include/unistd.h: Add hidden_proto for dup3.
8633 Define __have_dup3.
8634 * io/dup3.c: Define hidden symbol.
8635 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8636
8637 [BZ #7101]
8638 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8639 when an incomplete long option is used.
8640 * posix/tst-getopt_long1.c: New file.
8641 * posix/Makefile (tests): Add tst-getopt_long1.
8642
8643 [BZ #10138]
8644 * scripts/config.guess: Update from autoconf-2.68.
8645 * scripts/config.sub: Likewise.
8646
8647 [BZ #10157]
8648 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8649 tests into ...
8650 (has_cpuclock): ...this. New function.
8651 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8652 macro here based on has_cpuclock code.
8653
8654 [BZ #10149]
8655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8656 First byte (not low byte) is now always NUL.
8657 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8658
8659 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8660 Use non-cancelable interfaces.
8661
8662 [BZ #9809]
8663 * locale/iso-639.def: Add entry for Sorani.
8664
8665 [BZ #11901]
8666 * include/stdlib.h: Move include protection to the right place.
8667 Define abort_msg_s. Declare __abort_msg with it.
8668 * stdlib/abort.c (__abort_msg): Adjust type.
8669 * assert/assert.c (__assert_fail_base): New function. Majority
8670 of code from __assert_fail. Allocate memory for __abort_msg with
8671 mmap.
8672 (__assert_fail): Now call __assert_fail_base.
8673 * assert/assert-perr.c: Remove bulk of implementation. Use
8674 __assert_fail_base.
8675 * include/assert.hL Declare __assert_fail_base.
8676 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8677 mmap.
8678 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8679
8680 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8681
8682 [BZ #11952]
8683 [BZ #12453]
8684 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8685 until all modules are registered in the DTV.
8686 * elf/Makefile: Add rules to build and run tst-tls19.
8687 * elf/tst-tls19.c: New file.
8688 * elf/tst-tls19mod1.c: New file.
8689 * elf/tst-tls19mod2.c: New file.
8690 * elf/tst-tls19mod3.c: New file.
8691 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8692
8693 [BZ #12083]
8694 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8695 correctly.
8696
8697 [BZ #12601]
8698 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8699 two-byte sequence errors.
8700 * iconvdata/Makefile (tests): Add bug-iconv8.
8701 * iconvdata/bug-iconv8.c: New file.
8702
8703 [BZ #12626]
8704 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8705 buf2 definition.
8706
8707 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8708
8709 [BZ #12432]
8710 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8711 (dummy_getcfa): New function.
8712 (init): Get _Unwind_GetCFA address, use dummy if not found.
8713 (backtrace_helper): In recursion check, also check whether CFA changes.
8714 (__backtrace): Completely initialize arg.
8715
8716 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8717 storing incomplete byte sequence in state object. Avoid testing for
8718 guaranteed too small input if we know there is enough data available.
8719
8720 2011-05-11 Andreas Schwab <schwab@redhat.com>
8721
8722 * Makeconfig (+link-pie): Indent.
8723 * Rules (binaries-pie): Define if $(have-fpie) and
8724 $(build-shared).
8725 (binaries-shared): Also filter out $(binaries-pie).
8726 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8727 * nscd/Makefile (others-pie): Add nscd.
8728 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8729 ($(objpfx)nscd): Remove command override.
8730 * login/Makefile (others-pie): Add pt_chown.
8731 ($(objpfx)pt_chown): Remove command override.
8732 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8733 remove command overrides.
8734
8735 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8736
8737 * libio/tst_putwc.c: Fix error messages.
8738
8739 [BZ #12724]
8740 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8741 currently writing and seek to current position when not.
8742 * libio/Makefile (tests): Add bug-fclose1.
8743 * libio/bug-fclose1.c: New file.
8744
8745 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8746
8747 [BZ #12511]
8748 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8749 don't set DF_1_NODELETE here.
8750 (do_lookup_x): When entering new entry test for copy relocation
8751 and if necessary set DF_1_NODELETE flag.
8752 * elf/tst-unique4.cc: New file.
8753 * elf/tst-unique4.h: New file.
8754 * elf/tst-unique4lib.cc: New file.
8755 * elf/Makefile: Add rules to build and run tst-unique4.
8756 Patch by Piotr Bury <pbury@goahead.com>.
8757
8758 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8759
8760 [BZ #12052]
8761 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8762
8763 [BZ #12625]
8764 * misc/mntent_r.c (addmntent): Flush the stream after the output
8765
8766 [BZ #12393]
8767 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8768 (is_trusted_path_normalize): Skip initial colon. Append slash
8769 to empty buffer. Duplicate is_trusted_path code but allow
8770 constructed patch to be prefix.
8771 (is_dst): Allow $ORIGIN followed by /.
8772 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8773 Correct testing of result of is_trusted_path_normalize
8774 (decompose_rpath): Fix warning.
8775
8776 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8777
8778 [BZ #11257]
8779 * grp/initgroups.c (internal_getgrouplist): When we found the service
8780 list through the initgroups entry in nsswitch.conf do not always
8781 continue on a successful lookup. Don't always use the
8782 __nss_group_database value if it is set.
8783 * nss/nsswitch.conf (initgroups): Change action for successful db
8784 lookup to continue for compatibility.
8785
8786 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8787
8788 [BZ #11532]
8789 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8790 and CP774 modules.
8791 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8792 and CP774 modules.
8793 * iconvdata/tst-tables.sh: Likewise.
8794 * iconvdata/cp770.c: New file.
8795 * iconvdata/cp771.c: New file.
8796 * iconvdata/cp772.c: New file.
8797 * iconvdata/cp773.c: New file.
8798 * iconvdata/cp774.c: New file.
8799 * iconvdata/testdata/CP770: New file.
8800 * iconvdata/testdata/CP770..UTF8: New file.
8801 * iconvdata/testdata/CP771: New file.
8802 * iconvdata/testdata/CP771..UTF8: New file.
8803 * iconvdata/testdata/CP772: New file.
8804 * iconvdata/testdata/CP772..UTF8: New file.
8805 * iconvdata/testdata/CP773: New file.
8806 * iconvdata/testdata/CP773..UTF8: New file.
8807 * iconvdata/testdata/CP774: New file.
8808 * iconvdata/testdata/CP774..UTF8: New file.
8809
8810 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8811 END CHARMAP line.
8812 * iconvdata/gen-8bit-gap.sh: Likewise.
8813 * iconvdata/gen-8bit.sh: Likewise.
8814
8815 * locale/iso-639.def: Add ary entry.
8816
8817 [BZ #11258]
8818 * locale/C-translit.h.in: Add U20A1 transliteration.
8819
8820 [BZ #12178]
8821 * locale/iso-639.def: Add wae entry.
8822 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8823
8824 [BZ #12545]
8825 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8826 for n.
8827
8828 [BZ #12711]
8829 * locale/C-translit.h.in: Add entry for U20B9.
8830 Patch by pravin.d.s@gmail.com.
8831
8832 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8833
8834 [BZ #12713]
8835 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8836 ENAMETOOLONG use generic getcwd.
8837 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8838 in rtld. Use *stat64.
8839 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8840 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8841 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8842 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8843 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8844 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8845 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8846 __fstatat64 macros.
8847 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8848 * dirent/rewinddir.c: Add libc_hidden_def.
8849 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8850 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8851
8852 * include/dirent.h (__alloc_dir): Add flags parameter.
8853 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8854 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8855 __alloc_dir.
8856 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8857 from fdopendir if O_CLOEXEC is already set.
8858
8859 2011-03-15 Alan Modra <amodra@gmail.com>
8860
8861 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8862 l_tls_firstbyte_offset non-zero. Save padding offset in
8863 l_tls_firstbyte_offset for later use.
8864 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8865 freeing static tls block.
8866
8867 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8868
8869 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8870 where #ifdef was intended. The intent is to prevent ARG_MAX from
8871 being defined by the kernel headers.
8872
8873 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8874
8875 [BZ #12734]
8876 * resolv/resolv.h: Define RES_NOTLDQUERY.
8877 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8878 no-tld-query and set RES_NOTLDQUERY.
8879 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8880 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8881 modern BIND to search name as TLD unless forbidden.
8882
8883 2011-05-07 Petr Baudis <pasky@suse.cz>
8884 Ulrich Drepper <drepper@gmail.com>
8885
8886 [BZ #12393]
8887 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8888 (is_trusted_path): ...to here.
8889 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8890 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8891 using is_trusted_path_normalize() in setuid scripts.
8892
8893 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8894
8895 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8896 __BEGIN/__END_DECLS.
8897
8898 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8899
8900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8901 NSS_STATUS_NOTFOUND if no record was found.
8902
8903 2011-05-05 Andreas Schwab <schwab@redhat.com>
8904
8905 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8906 (headers-not-in-tirpc): Remove rpc/netdb.h
8907 * resolv/netdb.h: Revert last change.
8908
8909 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8910
8911 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8912 circular dependency between libgcc.a and libc.a.
8913
8914 2011-05-05 Andreas Schwab <schwab@redhat.com>
8915
8916 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8917 * nis/Makefile: Don't install rpcsvc/*.
8918 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8919 instead of <rpc/types.h>.
8920 (MAXHOSTNAMELEN): Define.
8921
8922 2011-05-03 Andreas Schwab <schwab@redhat.com>
8923
8924 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8925
8926 2011-04-28 Maciej Babinski <mbabinski@google.com>
8927
8928 [BZ #12714]
8929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8930 gethostbyname4_r when IPv6 results are possible.
8931
8932 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8933
8934 [BZ #12723]
8935 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8936 _PC_PIPE_BUF handling.
8937
8938 2011-04-30 Bruno Haible <bruno@clisp.org>
8939
8940 [BZ #12717]
8941 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8942 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8943 to 'int'.
8944 * inet/getnameinfo.c (getnameinfo): Likewise.
8945
8946 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8947
8948 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8949 to groups setting in database lookup.
8950 * nss/nsswitch.conf: Add initgroups entry.
8951
8952 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8953
8954 [BZ #12685]
8955 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8956 mode string.
8957 Patch by Eric Blake <eblake@redhat.com>.
8958
8959 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 * sunrpc/Makefile (need-export-routines): Add svc_run.
8962 (routines): Remove svc_run.
8963 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8964 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8965 * sunrpc/svc_run.c (svc_run): Likewise.
8966 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8967
8968 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8969
8970 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8971 problem in reallocation in last patch.
8972
8973 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8974
8975 * sunrpc/Makefile: Move inclusion of Rules.
8976
8977 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8978
8979 * nss/nss_files/files-initgroups.c: New file.
8980 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8981 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8982 _nss_files_initgroups_dyn.
8983
8984 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8985
8986 * elf/elf.h (R_ARM_IRELATIVE): Define.
8987
8988 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8989
8990 * po/ru.po: Update from translation team.
8991
8992 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8993
8994 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8995 dependencies.
8996
8997 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8998
8999 [BZ #12653]
9000 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9001 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9005
9006 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9007
9008 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9009 differing bytes.
9010 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9013
9014 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9015
9016 [BZ #12420]
9017 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9018 storing it.
9019 * stdlib/bug-getcontext.c: New file.
9020 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9021
9022 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9023
9024 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9025 instructions into .machine "z9-109".
9026 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9027 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9028
9029 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9030
9031 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9032 between environment variables and auxiliary vector.
9033
9034 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9035
9036 * Makefile: Add rules to build linkobj/libc.so.
9037 * include/libc-symbols.h: Define libc_hidden_nolink.
9038 * include/rpc/auth.h: Mark functions which are to be hidden.
9039 * include/rpc/auth_des.h: Likewise.
9040 * include/rpc/auth_unix.h: Likewise.
9041 * include/rpc/clnt.h: Likewise.
9042 * include/rpc/des_crypt.h: Likewise.
9043 * include/rpc/key_prot.h: Likewise.
9044 * include/rpc/pmap_clnt.h: Likewise.
9045 * include/rpc/pmap_prot.h: Likewise.
9046 * include/rpc/pmap_rmt.h: Likewise.
9047 * include/rpc/rpc_msg.h: Likewise.
9048 * include/rpc/svc.h: Likewise.
9049 * include/rpc/svc_auth.h: Likewise.
9050 * include/rpc/xdr.h: Likewise.
9051 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9052 * nss/Makefile: Likewise.
9053 * sunrpc/Makefile: Don't install headers. Build library with normal
9054 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9055 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9056 for the compat linking library. Remove use of INTDEF/INTUSE.
9057 * sunrpc/auth_none.c: Likewise.
9058 * sunrpc/auth_unix.c: Likewise.
9059 * sunrpc/authdes_prot.c: Likewise.
9060 * sunrpc/authuxprot.c: Likewise.
9061 * sunrpc/clnt_gen.c: Likewise.
9062 * sunrpc/clnt_perr.c: Likewise.
9063 * sunrpc/clnt_raw.c: Likewise.
9064 * sunrpc/clnt_simp.c: Likewise.
9065 * sunrpc/clnt_tcp.c: Likewise.
9066 * sunrpc/clnt_udp.c: Likewise.
9067 * sunrpc/clnt_unix.c: Likewise.
9068 * sunrpc/des_crypt.c: Likewise.
9069 * sunrpc/des_soft.c: Likewise.
9070 * sunrpc/get_myaddr.c: Likewise.
9071 * sunrpc/key_call.c: Likewise.
9072 * sunrpc/key_prot.c: Likewise.
9073 * sunrpc/netname.c: Likewise.
9074 * sunrpc/pm_getmaps.c: Likewise.
9075 * sunrpc/pm_getport.c: Likewise.
9076 * sunrpc/pmap_clnt.c: Likewise.
9077 * sunrpc/pmap_prot.c: Likewise.
9078 * sunrpc/pmap_prot2.c: Likewise.
9079 * sunrpc/pmap_rmt.c: Likewise.
9080 * sunrpc/publickey.c: Likewise.
9081 * sunrpc/rpc_cmsg.c: Likewise.
9082 * sunrpc/rpc_common.c: Likewise.
9083 * sunrpc/rpc_dtable.c: Likewise.
9084 * sunrpc/rpc_prot.c: Likewise.
9085 * sunrpc/rpc_thread.c: Likewise.
9086 * sunrpc/rtime.c: Likewise.
9087 * sunrpc/svc.c: Likewise.
9088 * sunrpc/svc_auth.c: Likewise.
9089 * sunrpc/svc_authux.c: Likewise.
9090 * sunrpc/svc_raw.c: Likewise.
9091 * sunrpc/svc_run.c: Likewise.
9092 * sunrpc/svc_simple.c: Likewise.
9093 * sunrpc/svc_tcp.c: Likewise.
9094 * sunrpc/svc_udp.c: Likewise.
9095 * sunrpc/svc_unix.c: Likewise.
9096 * sunrpc/svcauth_des.c: Likewise.
9097 * sunrpc/xcrypt.c: Likewise.
9098 * sunrpc/xdr.c: Likewise.
9099 * sunrpc/xdr_array.c: Likewise.
9100 * sunrpc/xdr_float.c: Likewise.
9101 * sunrpc/xdr_intXX_t.c: Likewise.
9102 * sunrpc/xdr_mem.c: Likewise.
9103 * sunrpc/xdr_rec.c: Likewise.
9104 * sunrpc/xdr_ref.c: Likewise.
9105 * sunrpc/xdr_sizeof.c: Likewise.
9106 * sunrpc/xdr_stdio.c: Likewise.
9107
9108 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9109
9110 [BZ #12650]
9111 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9112 * sysdeps/ia64/dl-tls.h: Likewise.
9113 * sysdeps/powerpc/dl-tls.h: Likewise.
9114 * sysdeps/s390/dl-tls.h: Likewise.
9115 * sysdeps/sh/dl-tls.h: Likewise.
9116 * sysdeps/sparc/dl-tls.h: Likewise.
9117 * sysdeps/x86_64/dl-tls.h: Likewise.
9118 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9119
9120 2011-03-14 Andreas Schwab <schwab@redhat.com>
9121
9122 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9123 rpath element also skip the following colon.
9124 (expand_dynamic_string_token): Add is_path parameter and pass
9125 down to DL_DST_REQUIRED and _dl_dst_substitute.
9126 (decompose_rpath): Call expand_dynamic_string_token with
9127 non-zero is_path. Ignore empty rpaths.
9128 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9129 with zero is_path.
9130
9131 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9132
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9134 Make cancelable.
9135
9136 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9137
9138 [BZ #12655]
9139 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9140 Patch by Filipe David Manana <fdmanana@apache.org>.
9141
9142 2011-04-07 Andreas Schwab <schwab@redhat.com>
9143
9144 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9145 Maintain aligned stack.
9146 (CHECK_RSP): Remove unused macro.
9147
9148 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9149
9150 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9152
9153 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9154
9155 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9156
9157 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9158
9159 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9160
9161 [BZ #12518]
9162 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9163 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9164 * sysdeps/x86_64/memmove.c: New file.
9165 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9166 (memcpy): Renamed to ...
9167 (__new_memcpy): This.
9168 (memcpy): Provide GLIBC_2_14 memcpy.
9169 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9170 (memcpy): Provide GLIBC_2_2_5 memcpy.
9171
9172 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9173
9174 [BZ #12631]
9175 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9176
9177 2011-03-30 Andreas Schwab <schwab@redhat.com>
9178
9179 * misc/syncfs.c: New file.
9180 * misc/Makefile (routines): Add syncfs.
9181 * posix/unistd.h: Declare syncfs.
9182 * sysdeps/unix/syscalls.list: Add syncfs.
9183
9184 2011-04-01 Andreas Schwab <schwab@redhat.com>
9185
9186 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9187 open_by_handle_at.
9188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9189 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9191 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9193 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9195
9196 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9197
9198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9200 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9205
9206 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9207 sync_file_range.c with -fexceptions.
9208 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9209 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9210 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9211 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9212 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9213 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9214 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9215 sync_file_range as cancellation point
9216 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9217 now a wrapper around __call_sync_file_range with cancellation handling.
9218 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9219 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9220 function name to __call_sync_file_range.
9221 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9222 Add call_sync_file_range.
9223
9224 2011-04-01 Andreas Schwab <schwab@redhat.com>
9225
9226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9227 bits/timex.h.
9228
9229 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9230
9231 * iconv/iconv.h: Fix typo in comment.
9232 * io/fcntl.h: Likewise.
9233 * libio/stdio.h: Likewise.
9234 * posix/spawn.h: Likewise.
9235 * posix/unistd.h: Likewise.
9236 * stdlib/stdlib.h: Likewise.
9237 * time/time.h: Likewise.
9238 * wcsmbs/wchar.h: Likewise.
9239
9240 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9241 open_by_handle): Add.
9242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9243 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9244 Augment a few comments.
9245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9250 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9251 open_by_handle.
9252
9253 * io/fcntl.h (AT_EMPTY_PATH): Define.
9254
9255 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9256
9257 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9258 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9259 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9260 to...
9261 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9262 * Versions.def: Add GLIBC_2.14.
9263 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9264 Export.
9265
9266 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9267
9268 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9269 round counter.
9270 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9271
9272 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9273
9274 [BZ #12597]
9275 * string/test-strncmp.c (do_page_test): New function.
9276 (check2): Likewise.
9277 (test_main): Call check2.
9278 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9279
9280 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9281
9282 [BZ #12587]
9283 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9284 Handle cache information in CPU leaf 4.
9285 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9286
9287 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9288
9289 [BZ #12583]
9290 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9291 character representation.
9292 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9293
9294 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9295
9296 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9297 END(__isnan) to END(__isnanf) to match function entry point/label
9298 EALIGN(__isnanf,...).
9299
9300 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9301
9302 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9303
9304 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9305
9306 [BZ #12510]
9307 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9308 copy from the symbol referenced in the relocation to initialize the
9309 used variable.
9310 Patch by Piotr Bury <pbury@goahead.com>.
9311 * elf/Makefile: Add rules to build and tst-unique3.
9312 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9313 * elf/tst-unique3.cc: New file.
9314 * elf/tst-unique3.h: New file.
9315 * elf/tst-unique3lib.cc: New file.
9316 * elf/tst-unique3lib2.cc: New file.
9317
9318 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9319
9320 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9321
9322 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9323 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9324 to _start.
9325
9326 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9327
9328 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9329 to-be-loaded object along a path to loader is ld.so.
9330
9331 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9332 Ulrich Drepper <drepper@gmail.com>
9333
9334 * sysdeps/x86_64/memset.S: After aligning destination, code
9335 branches to different locations depending on the value of
9336 misalignment, when multiarch is enabled. Fix this.
9337
9338 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9339
9340 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9341 Set _x86_64_preferred_memory_instruction for AMD processsors.
9342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9343 Set bit_Prefer_SSE_for_memop for AMD processors.
9344
9345 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9346
9347 * libio/fmemopen.c (fmemopen): Optimize a bit.
9348
9349 2011-03-03 Andreas Schwab <schwab@redhat.com>
9350
9351 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9352
9353 2011-03-03 Roland McGrath <roland@redhat.com>
9354
9355 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9356
9357 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9358
9359 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9360 __bzero_ultra1 instead of __memset_ultra1.
9361
9362 2011-02-23 Andreas Schwab <schwab@redhat.com>
9363 Ulrich Drepper <drepper@gmail.com>
9364
9365 [BZ #12509]
9366 * include/link.h (struct link_map): Add l_orig_initfini.
9367 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9368 returning unsuccessfully.
9369 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9370 close of a file loaded at startup, restore the original l_initfini
9371 list.
9372 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9373 list, store the pointer.
9374 * elf/Makefile ($(objpfx)noload-mem): New rule.
9375 (noload-ENV): Define.
9376 (tests): Add $(objpfx)noload-mem.
9377 * elf/noload.c: Include <memcheck.h>.
9378 (main): Call mtrace. Close all opened handles.
9379
9380 2011-02-17 Andreas Schwab <schwab@redhat.com>
9381
9382 [BZ #12454]
9383 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9384 dependencies are missing.
9385
9386 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9387
9388 Fix __if_freereq crash: Unlike the generic version which uses free,
9389 Hurd needs munmap.
9390 * sysdeps/mach/hurd/ifreq.h: New file.
9391
9392 2011-01-27 Petr Baudis <pasky@suse.cz>
9393 Ulrich Drepper <drepper@gmail.com>
9394
9395 [BZ 12445]#
9396 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9397 to extend_alloca().
9398 * stdio-common/bug23.c: New file.
9399 * stdio-common/Makefile (tests): Add bug23.
9400
9401 2010-09-28 Andreas Schwab <schwab@redhat.com>
9402 Ulrich Drepper <drepper@gmail.com>
9403
9404 [BZ #12489]
9405 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9406 before performing relro protection. At old place add assertion
9407 to make sure nothing changed.
9408
9409 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9410 Glauber de Oliveira Costa <glommer@gmail.com>
9411
9412 * elf/elf.h: Add new ARM TLS relocs.
9413
9414 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9415
9416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9417 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9418 cast from r3.
9419 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9420 'tests' variable.
9421 * sysdeps/wordsize-64/tst-writev.c: New file.
9422
9423 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9424
9425 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9426 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9427 insns in _dl_start to prevent a TOC reference before relocs are
9428 resolved.
9429
9430 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9431
9432 [BZ #12469]
9433 * Makeconfig: Remove RANLIB definition.
9434 * Makerules: Don't use RANLIB.
9435 * aclocal.m4: Remove ranlib test.
9436 * configure.in: No need to check for ranlib.
9437 * elf/rtld-Rules: Don't use RANLIB.
9438
9439 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9440
9441 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9442 protection macro.
9443 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9444 inclusion protection macro.
9445
9446 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9447 SIGRTMIN and SIGRTMAX and print information in that case only when
9448 SIGRTMIN is defined.
9449
9450 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9451
9452 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9453 arginfo fn returning -1.
9454
9455 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9456 and thousands string is zero terminated.
9457
9458 2011-02-03 Andreas Schwab <schwab@redhat.com>
9459
9460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9461 sysdeps/unix/sysv/linux/bits/socket.h.
9462
9463 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9464
9465 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9466 (__CPU_COUNT): Remove old macros.
9467 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9468 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9469 (__CPU_ALLOC, __CPU_FREE): Add macros.
9470 (__sched_cpualloc, __sched_cpufree): Add declarations.
9471
9472 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9473
9474 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9475 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9476 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9477 (readdhstai): Return value of addhstaiX call.
9478 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9479 (addgrbyX): Return value returned by cache_addgr.
9480 (readdgrbyname): Return value returned by addgrbyX.
9481 (readdgrbygid): Likewise.
9482 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9483 (addpwbyX): Return value returned by cache_addpw.
9484 (readdpwbyname): Return value returned by addhstbyX.
9485 (readdpwbyuid): Likewise.
9486 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9487 (addservbyX): Return value returned by cache_addserv.
9488 (readdservbyname): Return value returned by addservbyX:
9489 (readdservbyport): Likewise.
9490 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9491 (addhstbyX): Return value returned by cache_addhst.
9492 (readdhstbyname): Return value returned by addhstbyX.
9493 (readdhstbyaddr): Likewise.
9494 (readdhstbynamev6): Likewise.
9495 (readdhstbyaddrv6): Likewise.
9496 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9497 (readdinitgroups): Return value returned by addinitgroupsX.
9498 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9499 (prune_cache): Keep track of timeout value of re-added entries.
9500 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9501 * nscd/nscd.h: Adjust prototypes of readd* functions.
9502
9503 2011-02-04 Roland McGrath <roland@redhat.com>
9504
9505 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9506 (nis_stats): Likewise.
9507 * nis/nis_modify.c (nis_modify): Likewise.
9508 * nis/nis_remove.c (nis_remove): Likewise.
9509 * nis/nis_add.c (nis_add): Likewise.
9510
9511 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9512
9513 * posix/fnmatch_loop.c: Add some consts.
9514
9515 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9516
9517 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9518
9519 [BZ #12460]
9520 * config.make.in (config-cflags-novzeroupper): Define.
9521 * configure.in: Substitute libc_cv_cc_novzeroupper.
9522 * elf/Makefile (AVX-CFLAGS): Define.
9523 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9524 (CFLAGS-tst-auditmod4a.c): Likewise.
9525 (CFLAGS-tst-auditmod4b.c): Likewise.
9526 (CFLAGS-tst-auditmod6b.c): Likewise.
9527 (CFLAGS-tst-auditmod6c.c): Likewise.
9528 (CFLAGS-tst-auditmod7b.c): Likewise.
9529 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9530
9531 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9532
9533 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9534 function to the callback.
9535 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9536
9537 2011-02-02 Andreas Schwab <schwab@redhat.com>
9538
9539 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9540 of errno.
9541
9542 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9543
9544 [BZ #11724]
9545 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9546 of constructors.
9547 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9548 of destructors.
9549 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9550
9551 [BZ #11724]
9552 * elf/Makefile: Add rules to build and run new test.
9553 * elf/tst-initorder.c: New file.
9554 * elf/tst-initorder.exp: New file.
9555 * elf/tst-initordera1.c: New file.
9556 * elf/tst-initordera2.c: New file.
9557 * elf/tst-initordera3.c: New file.
9558 * elf/tst-initordera4.c: New file.
9559 * elf/tst-initorderb1.c: New file.
9560 * elf/tst-initorderb2.c: New file.
9561 * elf/tst-order-a1.c: New file.
9562 * elf/tst-order-a2.c: New file.
9563 * elf/tst-order-a3.c: New file.
9564 * elf/tst-order-a4.c: New file.
9565 * elf/tst-order-b1.c: New file.
9566 * elf/tst-order-b2.c: New file.
9567 * elf/tst-order-main.c: New file.
9568 New test case by George Gensure <werkt0@gmail.com>.
9569
9570 2010-10-01 Andreas Schwab <schwab@redhat.com>
9571
9572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9573 decoding ACE if AI_CANONIDN.
9574
9575 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9576
9577 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9578
9579 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9580
9581 * version.h (RELEASE): Bump for 2.13 release.
9582 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9583
9584 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9585
9586 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9587 MADV_NOHUGEPAGE.
9588 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9591 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9593 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9594
9595 * posix/getconf.c: Update copyright year.
9596 * catgets/gencat.c: Likewise.
9597 * csu/version.c: Likewise.
9598 * debug/catchsegv.sh: Likewise.
9599 * debug/xtrace.sh: Likewise.
9600 * elf/ldconfig.c: Likewise.
9601 * elf/ldd.bash.in: Likewise.
9602 * elf/sprof.c (print_version): Likewise.
9603 * iconv/iconv_prog.c: Likewise.
9604 * iconv/iconvconfig.c: Likewise.
9605 * locale/programs/locale.c: Likewise.
9606 * locale/programs/localedef.c: Likewise.
9607 * malloc/memusage.sh: Likewise.
9608 * malloc/mtrace.pl: Likewise.
9609 * nscd/nscd.c (print_version): Likewise.
9610 * nss/getent.c: Likewise.
9611
9612 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9613 PF_CAIF, and PF_ALG.
9614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9615
9616 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9617
9618 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9619 (modules-names): Use them.
9620 (ifunc-test-modules, ifunc-pie-tests): Define.
9621 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9622 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9623 (test-extras): Likewise.
9624 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9625 $(compile-command.c).
9626 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9627 (all-built-dso): Define.
9628 (check-textrel.out, check-execstack.out): Depend on it.
9629
9630 * configure.in: Don't override --enable-multi-arch.
9631
9632 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9633
9634 [BZ #6812]
9635 * nscd/hstcache.c (tryagain): Define.
9636 (cache_addhst): Return tryagain not notfound for temporary errors.
9637 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9638 failed.
9639
9640 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9641
9642 [BZ #10563]
9643 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9644 to make the syscall.
9645 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9646
9647 [BZ #12378]
9648 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9649 and fall back to matching as normal character if the string ends before
9650 the matching ']' is found. This is what POSIX requires.
9651 * posix/testfnm.c: Adjust test result.
9652 * posix/globtest.sh: Adjust test result. Add new test.
9653 * posix/tst-fnmatch.input: Likewise.
9654 * posix/tst-fnmatch2.c: Add new test.
9655
9656 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9657
9658 * elf/Makefile (check-execstack): Revert last change. Depend on
9659 check-execstack.h.
9660 (check-execstack.h): New target.
9661 (generated): Add check-execstack.h.
9662 * elf/check-execstack.c: Include "check-execstack.h".
9663 (main): Revert last change.
9664 (handle_file): Return zero if GNU_STACK is absent and
9665 DEFAULT_STACK_PERMS doesn't include PF_X.
9666
9667 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9668
9669 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9670 in child fails because the descriptor is already closed.
9671 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9672 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9673 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9674
9675 [BZ #12397]
9676 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9677 syscall.
9678
9679 [BZ #10484]
9680 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9681 temporary buffer used to handle multi lookups locally.
9682 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9683
9684 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9685
9686 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9687 loader is ld.so.
9688
9689 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9690
9691 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9692 alignment for SSE2.
9693
9694 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9695
9696 [BZ #12394]
9697 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9698 characters. When rounding increased number of integer digits recompute
9699 number of groups.
9700 * stdio-common/tst-grouping.c: New file.
9701 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9702
9703 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9704
9705 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9706 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9707
9708 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9709 void.
9710 * bits/select.h: Likewise.
9711
9712 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9713
9714 * po/ja.po: Update from translation team.
9715
9716 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9717
9718 [BZ #11155]
9719 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9720 implementation just like for lxstat, fxstatat, et al.
9721
9722 2010-12-27 Jim Meyering <meyering@redhat.com>
9723
9724 [BZ #12348]
9725 * posix/regexec.c (build_trtable): Return failure indication upon
9726 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9727
9728 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9729
9730 [BZ #12201]
9731 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9732 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9733 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9734 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9735
9736 [BZ #12207]
9737 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9738
9739 [BZ #12204]
9740 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9741 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9742
9743 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9744
9745 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9746 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9747 script has SORT_BY_INIT_PRIORITY.
9748 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9749 NO_CTORS_DTORS_SECTIONS is defined.
9750 * elf/soinit.c: Likewise.
9751 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9752 NO_CTORS_DTORS_SECTIONS is defined.
9753 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9754 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9755 * sysdeps/sh/init-first.c: Likewise.
9756 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9757
9758 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9759
9760 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9761 always use the slow path.
9762
9763 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9764
9765 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9766 similar rule which adds the sysdep directories to the header search in
9767 order to pick up the correct platform stackinfo.h.
9768 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9769 perform test if it is, otherwise return successfully without testing.
9770 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9771 DEFAULT_STACK_PERMS define in stackinfo.h.
9772 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9773 defined in stackinfo.h.
9774 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9775 DEFAULT_STACK_PERMS defined in stackinfo.h.
9776 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9777 * sysdeps/ia64/stackinfo.h: Likewise.
9778 * sysdeps/s390/stackinfo.h: Likewise.
9779 * sysdeps/sh/stackinfo.h: Likewise.
9780 * sysdeps/sparc/stackinfo.h: Likewise.
9781 * sysdeps/x86_64/stackinfo.h: Likewise.
9782 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9783 PF_X for powerpc64. Retain PF_X for powerpc32.
9784
9785 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9786
9787 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9788 accurately.
9789 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9790 GETDENTS_64BIT_ALIGNED.
9791
9792 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9793
9794 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9795
9796 2010-12-10 Andreas Schwab <schwab@redhat.com>
9797
9798 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9799 _GNU_SOURCE.
9800
9801 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9802 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9803 Remove __restrict.
9804 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9805 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9806
9807 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9808
9809 [BZ #11655]
9810 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9811 are initialized.
9812
9813 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9814
9815 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9816
9817 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9818
9819 * po/it.po: Update from translation team.
9820
9821 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9822
9823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9824 unused codes.
9825
9826 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9827
9828 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9829
9830 2010-11-24 Andreas Schwab <schwab@redhat.com>
9831
9832 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9833 specially.
9834 (gaih_getanswer_slice): Likewise.
9835
9836 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9837
9838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9839
9840 2010-05-31 Petr Baudis <pasky@suse.cz>
9841
9842 [BZ #11149]
9843 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9844 silently even in the chroot mode.
9845
9846 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9847
9848 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9849 last patch a bit. Pretty printing
9850
9851 2010-05-31 Petr Baudis <pasky@suse.cz>
9852
9853 [BZ #10085]
9854 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9855 initialization of skip_initgroups_dyn.
9856
9857 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9858
9859 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9860 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9861
9862 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9863
9864 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9865
9866 2010-11-11 Andreas Schwab <schwab@redhat.com>
9867
9868 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9869 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9870 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9871 ($(objpfx)tst-fnmatch-mem): New rule.
9872 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9873 * posix/tst-fnmatch.c (main): Call mtrace.
9874
9875 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9876
9877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9878 Support Intel processor model 6 and model 0x2c.
9879
9880 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9881
9882 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9883 signed comparison.
9884
9885 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9886
9887 [BZ #12205]
9888 * string/test-strncasecmp.c (check_result): New function.
9889 (do_one_test): Use it.
9890 (check1): New function.
9891 (test_main): Use it.
9892 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9893 Support strcasecmp and strncasecmp.
9894
9895 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9896
9897 [BZ #12194]
9898 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9900
9901 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9902
9903 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9904 IFUNC support.
9905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9906 memset-x86-64.
9907 * sysdeps/x86_64/multiarch/bzero.S: New file.
9908 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9909 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9910 * sysdeps/x86_64/multiarch/memset.S: New file.
9911 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9913 Set bit_Prefer_SSE_for_memop for Intel processors.
9914 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9915 Define.
9916 (index_Prefer_SSE_for_memop): Define.
9917 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9918
9919 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9920
9921 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9922 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9923
9924 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 [BZ #12191]
9927 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9928 (__x86_64_raw_data_cache_size_half): Likewise.
9929 (__x86_64_raw_shared_cache_size): Likewise.
9930 (__x86_64_raw_shared_cache_size_half): Likewise.
9931
9932 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9933 (__x86_64_raw_data_cache_size_half): Likewise.
9934 (__x86_64_raw_shared_cache_size): Likewise.
9935 (__x86_64_raw_shared_cache_size_half): Likewise.
9936 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9937 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9938 and __x86_64_raw_shared_cache_size_half. Round
9939 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9940 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9941 to multiple of 256 bytes.
9942
9943 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9944
9945 [BZ #12167]
9946 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9947 of inacessible symlinks. Verify result of symlink before returning it.
9948 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9949 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9950
9951 2010-10-28 Erich Ritz <erichritz@gmail.com>
9952
9953 * math/math.h (isinf): Fix typo in comment.
9954
9955 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9956
9957 * po/da.po: Update from translation team.
9958
9959 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9960
9961 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9962 is added to the list.
9963
9964 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9965 Ulrich Drepper <drepper@gmail.com>
9966
9967 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9968 the global list here. Move code to...
9969 (_dl_add_to_namespace_list): ...here. New function.
9970 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9971 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9972 * elf/dl-load.c (lose): Don't remove the element from the list.
9973 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9974 (_dl_map_object): Likewise.
9975
9976 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9977
9978 [BZ #12159]
9979 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9980 into all bytes of SSE register.
9981 Patch by Richard Li <richardpku@gmail.com>.
9982
9983 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9984
9985 [BZ #12140]
9986 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9987 perturbing.
9988
9989 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9990
9991 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9992 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9993 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9994 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9996 submachine.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9998
9999 2010-10-22 Andreas Schwab <schwab@redhat.com>
10000
10001 * include/dlfcn.h (__RTLD_SECURE): Define.
10002 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10003 mode & __RTLD_SECURE instead.
10004 (open_path): Rename preloaded parameter to secure.
10005 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10006 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10007 * elf/dl-deps.c (openaux): Likewise.
10008 * elf/rtld.c (struct map_args): Remove is_preloaded.
10009 (map_doit): Don't use it.
10010 (dl_main): Likewise.
10011 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10012 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10013
10014 2010-09-09 Andreas Schwab <schwab@redhat.com>
10015
10016 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10017 (sysd-rules-targets): Remove duplicates.
10018 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10019 rtld-%.$o dependency.
10020
10021 2010-10-18 Andreas Schwab <schwab@redhat.com>
10022
10023 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10024 _dl_map_object do it.
10025
10026 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10027
10028 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10029 fast fma builtins, define the macros in the C99 standard.
10030 (FP_FAST_FMAF): Likewise.
10031 (FP_FAST_FMAL): Likewise.
10032 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10033
10034 * bits/mathdef.h: Update copyright year.
10035 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10036
10037 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10038
10039 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10040 builtins, define the macros in the C99 standard.
10041 (FP_FAST_FMAF): Likewise.
10042 (FP_FAST_FMAL): Likewise.
10043 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10044 multiply/add.
10045 (FP_FAST_FMAF): Likewise.
10046
10047 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10048
10049 [BZ #3268]
10050 * math/libm-test.inc (fma_test): Some new testcases.
10051 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10052 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10053 y and infinite z. Do multiplication by C already in long double.
10054 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10056 y and infinite z. Do bitwise or of inexact bit into u.d.
10057 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10058 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10059 * sysdeps/i386/fpu/s_fma.S: Removed.
10060 * sysdeps/i386/fpu/s_fmal.S: Removed.
10061
10062 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10063
10064 [BZ #3268]
10065 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10067 computation is not scheduled after fetestexcept. Fix value
10068 of minimum denormal long double.
10069
10070 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10071
10072 [BZ #3268]
10073 * math/libm-test.inc (fma_test): Add some more tests.
10074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10075 correctly.
10076
10077 2010-10-15 Andreas Schwab <schwab@redhat.com>
10078
10079 * scripts/data/localplt-s390-linux-gnu.data: New file.
10080 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10081
10082 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10083
10084 [BZ #3268]
10085 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10086 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10087 instead of dbl-64.
10088 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10089 inlines.
10090 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10092 if one of x and y is very large and the other is subnormal.
10093 * sysdeps/s390/fpu/s_fmaf.c: New file.
10094 * sysdeps/s390/fpu/s_fma.c: New file.
10095 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10096 * sysdeps/powerpc/fpu/s_fma.S: New file.
10097 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10098 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10099 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10100
10101 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10102
10103 [BZ #3268]
10104 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10105 fma tests.
10106 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10107 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10108 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10109 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10110 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10111 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10113
10114 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10115
10116 [BZ #12078]
10117 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10118 * posix/bug-regex31.input: Add test case.
10119
10120 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10121
10122 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10123 * posix/bug-regex31.input: New file.
10124
10125 [BZ #12078]
10126 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10127 (parse_sub_exp): Fix last change, use postorder.
10128
10129 * posix/bug-regex31.c: New file.
10130 * posix/Makefile: Add rules to build and run bug-regex31.
10131
10132 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10133
10134 [BZ #12078]
10135 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10136
10137 [BZ #12108]
10138 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10139 to have entries in sys_siglist.
10140
10141 [BZ #12093]
10142 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10143 be NULL.
10144
10145 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10146
10147 [BZ #3268]
10148 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10149 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10150 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10151 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10152 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10153 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10154 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10155 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10156 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10157 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10158 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10159 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10160 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10161 * math/ftestexcept.c (fetestexcept): Likewise.
10162 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10163 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10164 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10165 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10166 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10167 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10168 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10169
10170 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10171
10172 [BZ #12107]
10173 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10174 newline.
10175
10176 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10177
10178 * string/bug-strstr1.c: New file.
10179 * string/Makefile: Add rules to build and run bug-strstr1.
10180
10181 2010-10-05 Eric Blake <eblake@redhat.com>
10182
10183 [BZ #12092]
10184 * string/str-two-way.h (two_way_long_needle): Always clear memory
10185 when skipping input due to the shift table.
10186
10187 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10188
10189 [BZ #12005]
10190 * malloc/mcheck.c: Handle large requests.
10191
10192 [BZ #12077]
10193 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10194 for strncmp and strncasecmp.
10195 * string/stratcliff.c: Add tests for strcmp and strncmp.
10196 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10197
10198 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10199
10200 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10201 __set_fpscr.
10202
10203 2010-09-30 Andreas Jaeger <aj@suse.de>
10204
10205 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10206 (CGROUP_SUPER_MAGIC): Define.
10207 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10208 Handle btrfs and cgroup file systems.
10209 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10210 Likewise.
10211
10212 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10213
10214 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10215 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10216
10217 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10218
10219 [BZ #12067]
10220 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10221 trying to locate the ELF header.
10222
10223 2010-09-27 Andreas Schwab <schwab@redhat.com>
10224
10225 [BZ #11611]
10226 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10227 Mask out sign-bit copies when constructing f_fsid.
10228
10229 2010-09-24 Petr Baudis <pasky@suse.cz>
10230
10231 * debug/stack_chk_fail_local.c: Add missing licence exception.
10232 * debug/warning-nop.c: Likewise.
10233
10234 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10235
10236 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10237 implementing getdents64 using getdents syscall, set d_type if
10238 __ASSUME_GETDENTS32_D_TYPE.
10239
10240 2010-09-16 Andreas Schwab <schwab@redhat.com>
10241
10242 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10243 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10244
10245 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10246
10247 [BZ #12037]
10248 * posix/unistd.h: Undo change of feature selection for ftruncate from
10249 2010-01-11.
10250
10251 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10252
10253 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10254 detection.
10255
10256 2010-09-20 Andreas Schwab <schwab@redhat.com>
10257
10258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10259 fanotify_mark.
10260 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10261
10262 2010-09-14 Andreas Schwab <schwab@redhat.com>
10263
10264 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10265 variables after CHECK_SP call.
10266 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10267
10268 2010-09-13 Andreas Schwab <schwab@redhat.com>
10269 Ulrich Drepper <drepper@redhat.com>
10270
10271 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10272 re-relocationg ld.so.
10273 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10274 _dl_init_paths call.
10275 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10276 here anymore.
10277
10278 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10279
10280 * resolv/res_init.c (__res_vinit): Count the default server we added.
10281
10282 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10283 Ulrich Drepper <drepper@redhat.com>
10284
10285 [BZ #11968]
10286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10287 (____longjmp_chk): Use %ebx for saving value across system call.
10288 Add unwind info.
10289
10290 2010-09-06 Andreas Schwab <schwab@redhat.com>
10291
10292 * manual/Makefile: Don't mix pattern rules with normal rules.
10293
10294 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10295
10296 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10297 operation.
10298 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10299 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10300 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10301 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10303 Likewise.
10304
10305 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10306
10307 [BZ #11979]
10308 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10309 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10310
10311 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10312
10313 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10314 * sysdeps/x86_64/addmul_1.S: Likewise.
10315 * sysdeps/x86_64/lshift.S: Likewise.
10316 * sysdeps/x86_64/mul_1.S: Likewise.
10317 * sysdeps/x86_64/rshift.S: Likewise.
10318 * sysdeps/x86_64/sub_n.S: Likewise.
10319 * sysdeps/x86_64/submul_1.S: Likewise.
10320
10321 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10322
10323 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10324 Define __sched_param instead of SCHED_* and sched_param when
10325 <bits/sched.h> is included with __need_schedparam defined.
10326 * bits/sched.h [__need_schedparam]
10327 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10328 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10329 (__defined_schedparam): Define to 1.
10330 (__sched_param): New structure, identical to sched_param.
10331 (__need_schedparam): Undefine.
10332
10333 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10334
10335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10336 (epoll_create1): Declare.
10337
10338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10339
10340 2010-08-31 Andreas Schwab <schwab@redhat.com>
10341
10342 [BZ #7066]
10343 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10344 shifting retval into place.
10345
10346 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10347
10348 * nis/rpcsvc/nis.h: Update copyright notice.
10349 * nis/rpcsvc/nis.x: Likewise.
10350 * nis/rpcsvc/nis_callback.h: Likewise.
10351 * nis/rpcsvc/nis_callback.x: Likewise.
10352 * nis/rpcsvc/nis_object.x: Likewise.
10353 * nis/rpcsvc/nis_tags.h: Likewise.
10354 * nis/rpcsvc/yp.h: Likewise.
10355 * nis/rpcsvc/yp.x: Likewise.
10356 * nis/rpcsvc/ypupd.h: Likewise.
10357 * nis/yp_xdr.c: Likewise.
10358 * nis/ypupdate_xdr.c: Likewise.
10359
10360 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10361 mainly the body of pmap_getport. Add parameters to specify timeouts.
10362 (pmap_getport): Use __libc_rpc_getport.
10363 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10364 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10365 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10366
10367 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10368
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10370 fanotify_mark.
10371
10372 2010-08-27 Roland McGrath <roland@redhat.com>
10373
10374 * sysdeps/i386/i686/multiarch/Makefile
10375 (CFLAGS-varshift.c): New variable.
10376
10377 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10378
10379 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10380 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10381
10382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10383
10384 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10385
10386 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10387
10388 * sysdeps/x86_64/strlen.S: Unroll the loop.
10389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10390 strlen-sse2 strlen-sse2-bsf.
10391 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10392 __strlen_no_bsf if bit_Slow_BSF is set.
10393 (__strlen_sse42): Removed.
10394 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10395 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10396
10397 2010-08-25 Roland McGrath <roland@redhat.com>
10398
10399 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10400 * sysdeps/x86_64/multiarch/varshift.c: New file.
10401 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10402 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10403 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10404 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10405
10406 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10407
10408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10409 strlen-sse2 strlen-sse2-bsf.
10410 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10411 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10412 (__strlen_sse2): Removed.
10413 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10414 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10416 bit_Slow_BSF for Atom.
10417 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10418 (index_Slow_BSF): Define.
10419 (HAS_SLOW_BSF): Define.
10420
10421 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10422
10423 [BZ #10851]
10424 * resolv/res_init.c (__res_vinit): When no server address at all
10425 is given default to loopback.
10426
10427 2010-08-24 Roland McGrath <roland@redhat.com>
10428
10429 * configure.in: Remove config-name.h generation.
10430 * configure: Regenerated.
10431 * config-name.in: File removed.
10432 * scripts/config-uname.sh: New file.
10433 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10434 ($(objdir)config-name.h): New target.
10435
10436 * sunrpc/rpc_parse.h: Avoid nested comment.
10437
10438 2010-08-24 Richard Henderson <rth@redhat.com>
10439 Ulrich Drepper <drepper@redhat.com>
10440 H.J. Lu <hongjiu.lu@intel.com>
10441
10442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10444 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10445 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10446 _mm_alignr_epi8 with _mm_loadu_si128.
10447 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10448 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10449 (__m128i_shift_right): Removed.
10450 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10451 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10452 * sysdeps/x86_64/multiarch/varshift.h: New file.
10453 * sysdeps/x86_64/multiarch/varshift.S: New file.
10454
10455 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10456
10457 * configure.in: Move assembler checks to before sysdep dir checking.
10458
10459 2010-08-20 Petr Baudis <pasky@suse.cz>
10460
10461 * LICENSES: Sync the sunrpc license.
10462
10463 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10464
10465 * sunrpc/auth_des.c: Update copyright notice once again.
10466 * sunrpc/auth_none.c: Likewise.
10467 * sunrpc/auth_unix.c: Likewise.
10468 * sunrpc/authdes_prot.c: Likewise.
10469 * sunrpc/authuxprot.c: Likewise.
10470 * sunrpc/bindrsvprt.c: Likewise.
10471 * sunrpc/clnt_gen.c: Likewise.
10472 * sunrpc/clnt_perr.c: Likewise.
10473 * sunrpc/clnt_raw.c: Likewise.
10474 * sunrpc/clnt_simp.c: Likewise.
10475 * sunrpc/clnt_tcp.c: Likewise.
10476 * sunrpc/clnt_udp.c: Likewise.
10477 * sunrpc/clnt_unix.c: Likewise.
10478 * sunrpc/des_crypt.c: Likewise.
10479 * sunrpc/des_soft.c: Likewise.
10480 * sunrpc/get_myaddr.c: Likewise.
10481 * sunrpc/getrpcport.c: Likewise.
10482 * sunrpc/key_call.c: Likewise.
10483 * sunrpc/key_prot.c: Likewise.
10484 * sunrpc/openchild.c: Likewise.
10485 * sunrpc/pm_getmaps.c: Likewise.
10486 * sunrpc/pm_getport.c: Likewise.
10487 * sunrpc/pmap_clnt.c: Likewise.
10488 * sunrpc/pmap_prot.c: Likewise.
10489 * sunrpc/pmap_prot2.c: Likewise.
10490 * sunrpc/pmap_rmt.c: Likewise.
10491 * sunrpc/rpc/auth.h: Likewise.
10492 * sunrpc/rpc/auth_unix.h: Likewise.
10493 * sunrpc/rpc/clnt.h: Likewise.
10494 * sunrpc/rpc/des_crypt.h: Likewise.
10495 * sunrpc/rpc/key_prot.h: Likewise.
10496 * sunrpc/rpc/netdb.h: Likewise.
10497 * sunrpc/rpc/pmap_clnt.h: Likewise.
10498 * sunrpc/rpc/pmap_prot.h: Likewise.
10499 * sunrpc/rpc/pmap_rmt.h: Likewise.
10500 * sunrpc/rpc/rpc.h: Likewise.
10501 * sunrpc/rpc/rpc_des.h: Likewise.
10502 * sunrpc/rpc/rpc_msg.h: Likewise.
10503 * sunrpc/rpc/svc.h: Likewise.
10504 * sunrpc/rpc/svc_auth.h: Likewise.
10505 * sunrpc/rpc/types.h: Likewise.
10506 * sunrpc/rpc/xdr.h: Likewise.
10507 * sunrpc/rpc_clntout.c: Likewise.
10508 * sunrpc/rpc_cmsg.c: Likewise.
10509 * sunrpc/rpc_common.c: Likewise.
10510 * sunrpc/rpc_cout.c: Likewise.
10511 * sunrpc/rpc_dtable.c: Likewise.
10512 * sunrpc/rpc_hout.c: Likewise.
10513 * sunrpc/rpc_main.c: Likewise.
10514 * sunrpc/rpc_parse.c: Likewise.
10515 * sunrpc/rpc_parse.h: Likewise.
10516 * sunrpc/rpc_prot.c: Likewise.
10517 * sunrpc/rpc_sample.c: Likewise.
10518 * sunrpc/rpc_scan.c: Likewise.
10519 * sunrpc/rpc_scan.h: Likewise.
10520 * sunrpc/rpc_svcout.c: Likewise.
10521 * sunrpc/rpc_tblout.c: Likewise.
10522 * sunrpc/rpc_util.c: Likewise.
10523 * sunrpc/rpc_util.h: Likewise.
10524 * sunrpc/rpcinfo.c: Likewise.
10525 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10526 * sunrpc/rpcsvc/key_prot.x: Likewise.
10527 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10528 * sunrpc/rpcsvc/mount.x: Likewise.
10529 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10530 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10531 * sunrpc/rpcsvc/rex.x: Likewise.
10532 * sunrpc/rpcsvc/rstat.x: Likewise.
10533 * sunrpc/rpcsvc/rusers.x: Likewise.
10534 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10535 * sunrpc/rpcsvc/spray.x: Likewise.
10536 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10537 * sunrpc/rtime.c: Likewise.
10538 * sunrpc/svc.c: Likewise.
10539 * sunrpc/svc_auth.c: Likewise.
10540 * sunrpc/svc_authux.c: Likewise.
10541 * sunrpc/svc_raw.c: Likewise.
10542 * sunrpc/svc_run.c: Likewise.
10543 * sunrpc/svc_simple.c: Likewise.
10544 * sunrpc/svc_tcp.c: Likewise.
10545 * sunrpc/svc_udp.c: Likewise.
10546 * sunrpc/svc_unix.c: Likewise.
10547 * sunrpc/svcauth_des.c: Likewise.
10548 * sunrpc/xcrypt.c: Likewise.
10549 * sunrpc/xdr.c: Likewise.
10550 * sunrpc/xdr_array.c: Likewise.
10551 * sunrpc/xdr_float.c: Likewise.
10552 * sunrpc/xdr_mem.c: Likewise.
10553 * sunrpc/xdr_rec.c: Likewise.
10554 * sunrpc/xdr_ref.c: Likewise.
10555 * sunrpc/xdr_sizeof.c: Likewise.
10556 * sunrpc/xdr_stdio.c: Likewise.
10557
10558 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10559 handling.
10560
10561 2010-08-19 Andreas Schwab <schwab@redhat.com>
10562
10563 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10564
10565 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10566
10567 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10568 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10569 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10570 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10571 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10572 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10573 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10574 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10576 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10577 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10578 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10579 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10580 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10581
10582 2010-07-26 Anton Blanchard <anton@samba.org>
10583
10584 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10585 * malloc/arena.c (heap_trim): Likewise.
10586
10587 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10588
10589 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10590 here. Not...
10591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10592 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10593
10594 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10595
10596 * sysdeps/i386/elf/Makefile: New file.
10597
10598 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10599
10600 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10601 from fanotify_init.
10602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10604
10605 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10606
10607 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10608 of strncasecmp_l.
10609 * sysdeps/multiarch/strcmp.S: Likewise.
10610
10611 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10612
10613 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10614 strncase_l-nonascii.
10615 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10616 Add strncase_l-ssse3.
10617 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10618 * sysdeps/x86_64/strcmp.S: Likewise.
10619 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10620 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10621 * sysdeps/x86_64/strncase.S: New file.
10622 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10623 * sysdeps/x86_64/strncase_l.S: New file.
10624 * string/Makefile (strop-tests): Add strncasecmp.
10625 * string/test-strncasecmp.c: New file.
10626
10627 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10628 warning.
10629
10630 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10631 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10632
10633 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10634
10635 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10636
10637 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10638
10639 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10640 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10641 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10642
10643 2010-05-01 Alan Modra <amodra@gmail.com>
10644
10645 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10646 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10647 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10648 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10649 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10650 tidying. Don't tail-call __sigjmp_save for static lib.
10651 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10652 save location.
10653 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10654 (CALL_MCOUNT): Add eh info, and nop after bl.
10655 (TAIL_CALL_SYSCALL_ERROR): New macro.
10656 (PSEUDO_RET): Use it.
10657 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10658 Correct save location of integer regs and cr.
10659 (_dl_profile_resolve): Correct cr save location. Delete nops
10660 after bl when SHARED. Reduce cfi size a little by better
10661 placement of cfi directives.
10662 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10663 make a stack frame. Instead use parm save area as a temp.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10665 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10667 Don't make a stack frame for parent, use parm save area.
10668 Increase child stack frame to 112 bytes. Don't save unused reg,
10669 and adjust reg usage. Set up cfi on error recovery and
10670 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10672 (__makecontext): Add dummy nop after jump to exit.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10674 Use correct parm save area and cr save, reduce stack frame.
10675 Correct cfi for possible PSEUDO_RET frame setup.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10677 Branch to local label emitted by PSEUDO_RET rather than
10678 __syscall_error.
10679
10680 2010-08-12 Andreas Schwab <schwab@redhat.com>
10681
10682 [BZ #11904]
10683 * locale/programs/locale.c (print_assignment): New function.
10684 (show_locale_vars): Use it.
10685
10686 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10687
10688 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10689 field.
10690 (struct statfs64): Likewise.
10691 (_STATFS_F_FLAGS): Define.
10692 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10694 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10695 (ST_VALID): Define locally.
10696 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10697 __statvfs_getflags, use the provided value.
10698 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10699 __ASSUME_STATFS_F_FLAGS.
10700
10701 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10702
10703 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10704 Add sys/fanotify.h.
10705 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10706 fanotify_mask for GLIBC_2.13.
10707 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10708 fanotify_init and fanotify_mark.
10709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10710 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10711
10712 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10713 Add prlimit.
10714 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10715 prlimit64 for GLIBC_2.13.
10716 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10717 prlimit64.
10718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10719 syscall.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10721 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10722 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10725 add prlimit alias.
10726 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10727
10728 [BZ #11903]
10729 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10730 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10731
10732 * nss/Makefile: Add rules to build and run tst-nss-test1.
10733 * shlib-versions: Add entry for libnss_test1.
10734 * nss/nss_test1.c: New file.
10735 * nss/tst-nss-test1.c: New file.
10736
10737 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10738 (__nss_configure_lookup): Set appropriate entry in
10739 __nss_configure_lookup to true.
10740 * nss/nsswitch.h: Define enum with indeces of databases in
10741 databases and __nss_database_custom arrays. Declare
10742 __nss_database_custom.
10743 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10744 to avoid using nscd when custom rules are installed.
10745 * nss/getXXbyYY_r.c: Likewise.
10746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10747
10748 * nss/nss_files/files-parse.c: Whitespace fixes.
10749
10750 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10751
10752 [BZ #11883]
10753 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10754 * posix/fnmatch_loop.c: Likewise.
10755
10756 2010-07-17 Andi Kleen <ak@linux.intel.com>
10757
10758 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10759 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10760 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10761 * Versions.def [GLIBC_2.13]: Add.
10762
10763 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10764
10765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10766 Also fail if tpwd after pwuid call is NULL.
10767
10768 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10769
10770 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10771 when converting to ms.
10772
10773 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10774
10775 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10776 EOPNOTSUPP errors with ENOTTY.
10777 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10778 EOPNOTSUPP errors with ENOTTY.
10779
10780 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10781
10782 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10783 Add strcasecmp_l-ssse3.
10784 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10785 strcasecmp.
10786 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10787 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10788 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10789
10790 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10791
10792 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10793
10794 * string/Makefile (strop-tests): Add strcasecmp.
10795 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10796 strcasecmp_l-nonascii.
10797 (gen-as-const-headers): Add locale-defines.sym.
10798 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10799 * sysdeps/x86_64/strcasecmp.S: New file.
10800 * sysdeps/x86_64/strcasecmp_l.S: New file.
10801 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10802 * sysdeps/x86_64/locale-defines.sym: New file.
10803 * string/test-strcasecmp.c: New file.
10804
10805 * string/test-strcasestr.c: Test both ends of the range of characters.
10806 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10807
10808 2010-07-29 Roland McGrath <roland@redhat.com>
10809
10810 [BZ #11856]
10811 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10812
10813 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10814
10815 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10816 for ld.so.
10817
10818 2010-07-27 Andreas Schwab <schwab@redhat.com>
10819
10820 * manual/memory.texi (Malloc Tunable Parameters): Document
10821 M_PERTURB.
10822
10823 2010-07-26 Roland McGrath <roland@redhat.com>
10824
10825 [BZ #11840]
10826 * configure.in (-fgnu89-inline check): Set and substitute
10827 gnu89_inline, not libc_cv_gnu89_inline.
10828 * configure: Regenerated.
10829 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10830
10831 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10832
10833 * string/test-strnlen.c: New file.
10834 * string/Makefile (strop-tests): Add strnlen.
10835 * string/tester.c (test_strnlen): Add a few more test cases.
10836 * string/tst-strlen.c: Better error reporting.
10837
10838 * sysdeps/x86_64/strnlen.S: New file.
10839
10840 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10841
10842 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10843 lower-latency instructions.
10844
10845 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10846
10847 * string/test-strcasestr.c: New file.
10848 * string/test-strstr.c: New file.
10849 * string/Makefile (strop-tests): Add strstr and strcasestr.
10850 * string/str-two-way.h: Don't undefine MAX.
10851 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10852
10853 2010-07-21 Andreas Schwab <schwab@redhat.com>
10854
10855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10856 strcasestr-nonascii.
10857 (CFLAGS-strcasestr-nonascii.c): Define.
10858 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10859 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10860 Remove unused attribute.
10861
10862 2010-07-20 Roland McGrath <roland@redhat.com>
10863
10864 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10865 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10866 ld.so.cache was broken. With it, there is no way to disable dsocaps
10867 like LD_HWCAP_MASK can disable hwcaps.
10868
10869 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10870
10871 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10872
10873 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10874
10875 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10876 call in strcasestr.
10877 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10878 __strcasestr_sse42_nonascii.
10879 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10880 strcasestr-nonascii.c.
10881 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10882
10883 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10884
10885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10886 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10887 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10888 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10889
10890 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10891
10892 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10893 fcntl.
10894
10895 2010-07-06 Andreas Schwab <schwab@redhat.com>
10896
10897 [BZ #11577]
10898 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10899 dl_signal_cerror.
10900
10901 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10902
10903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10904 _PC_PIPE_BUF using F_GETPIPE_SZ.
10905
10906 2010-07-05 Roland McGrath <roland@redhat.com>
10907
10908 * manual/arith.texi (Rounding Functions): Fix rint description
10909 implicit in round description.
10910
10911 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10912
10913 * elf/Makefile: Fix linking for a few tests to make recent linker
10914 happy.
10915
10916 2010-06-30 Andreas Schwab <schwab@redhat.com>
10917
10918 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10919 $(common-objpfx)libc_nonshared.a.
10920
10921 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10922
10923 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10924 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10925 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10926 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10927 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10928 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10929 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10930 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10945 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10946 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10947 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10948 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10949 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10950 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10951 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10952 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10953 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10954 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10955 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10956 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10971
10972 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10973
10974 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10975 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10976 * string/memmove.c (memmove): Renamed to ...
10977 (MEMMOVE): ...this. Default to memmove.
10978 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10979 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10980 (END_CHK): Define.
10981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10982 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10983 mempcpy-ssse3-back memmove-ssse3-back.
10984 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10987 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10988 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10989 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10990 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10991 * sysdeps/x86_64/multiarch/memmove.c: New file.
10992 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10993 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10994 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10995 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10996 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10997 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10998 Define.
10999 (index_Fast_Copy_Backward): Define.
11000 (HAS_ARCH_FEATURE): Define.
11001 (HAS_FAST_REP_STRING): Define.
11002 (HAS_FAST_COPY_BACKWARD): Define.
11003
11004 2010-06-21 Andreas Schwab <schwab@redhat.com>
11005
11006 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11007 Restore proper fallback handling.
11008
11009 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11010
11011 [BZ #11701]
11012 * posix/group_member.c (__group_member): Correct checking loop.
11013
11014 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11015 OOM in getpwuid_r correctly. Return error number when the caller
11016 should return, otherwise -1.
11017 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11018 call returning > 0 value.
11019 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11020
11021 2010-06-07 Andreas Schwab <schwab@redhat.com>
11022
11023 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11024 libc_nonshared.a from targets in modules-names.
11025
11026 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11027
11028 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11029 requires it.
11030
11031 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11032
11033 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11034 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11035 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11037
11038 2010-06-02 Andreas Schwab <schwab@redhat.com>
11039
11040 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11041
11042 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11043
11044 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11045 and F_GETPIPE_SZ.
11046 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11047 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11051 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11052
11053 2010-06-14 Roland McGrath <roland@redhat.com>
11054
11055 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11056
11057 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11058
11059 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11060 __REDIRECT followed by __THROW.
11061 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11062 * posix/getopt.h (getopt): Likewise.
11063
11064 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11065
11066 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11067 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11068 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11069 in AT_FLAGS.
11070 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11071 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11072
11073 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11074
11075 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11076
11077 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11078
11079 [BZ #11640]
11080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11081 Properly check family and model.
11082
11083 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11084
11085 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11086
11087 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11088
11089 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11090
11091 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11092
11093 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11094 symbol reference.
11095
11096 2010-05-19 Andreas Schwab <schwab@redhat.com>
11097
11098 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11099 symbol reference.
11100
11101 2010-05-21 Andreas Schwab <schwab@redhat.com>
11102
11103 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11104 and internal_recvmmsg.
11105 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11106 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11107 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11108 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11109
11110 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11111 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11112 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11113
11114 2010-05-20 Andreas Schwab <schwab@redhat.com>
11115
11116 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11117
11118 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11119
11120 POWER7 optimizations.
11121 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11122 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11123
11124 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11125
11126 * version.h: Update for 2.13 development version.
11127
11128 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11129
11130 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11131 exceptions. Return 0.
11132
11133 2010-05-07 Roland McGrath <roland@redhat.com>
11134
11135 * elf/ldconfig.c (main): Add a const.
11136
11137 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11138
11139 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11140 (args_options): Add no-idn option.
11141 (ahosts_keys_int): Add idn_flags to ai_flags.
11142 (parse_option): Handle 'i' option to clear idn_flags.
11143
11144 * malloc/malloc.c (_int_free): Possible race in the most recently
11145 added check. Only act on the data if no current modification
11146 happened.
11147
11148 See ChangeLog.17 for earlier changes.
This page took 0.467072 seconds and 6 git commands to generate.